mirror of
https://github.com/mashirozx/sakura.git
synced 2024-11-22 23:08:14 +08:00
Modify resource sources
This commit is contained in:
parent
c88fec7b0d
commit
55ad87288f
4
404.php
4
404.php
@ -17,7 +17,7 @@
|
|||||||
bloginfo( 'name' );$site_description = get_bloginfo( 'description', 'display' );
|
bloginfo( 'name' );$site_description = get_bloginfo( 'description', 'display' );
|
||||||
if ( $site_description && ( is_home() || is_front_page() ) ) echo " - $site_description";if ( $paged >= 2 || $page >= 2 ) echo ' - ' . sprintf( __( 'page %s'), max( $paged, $page ) );/*第 %s 页*/?>
|
if ( $site_description && ( is_home() || is_front_page() ) ) echo " - $site_description";if ( $paged >= 2 || $page >= 2 ) echo ' - ' . sprintf( __( 'page %s'), max( $paged, $page ) );/*第 %s 页*/?>
|
||||||
</title>
|
</title>
|
||||||
<link type="text/css" media="all" href="<?php echo(SAKURA_STATIC_ASSETS_HOST);?>gh/MomentQYC/sakura@static/css/lib.css" rel="stylesheet" />
|
<link type="text/css" media="all" href="<?php echo(SAKURA_STATIC_ASSETS_HOST);?>gh/mashirozx/sakura@static/css/lib.css" rel="stylesheet" />
|
||||||
<?php wp_head(); ?>
|
<?php wp_head(); ?>
|
||||||
<script>
|
<script>
|
||||||
var the_url=window.location.href;
|
var the_url=window.location.href;
|
||||||
@ -55,5 +55,5 @@ if (!no_report) httpGet(report_url);
|
|||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
<script src="<?php echo(SAKURA_STATIC_ASSETS_HOST); ?>gh/MomentQYC/sakura@static/js/other/404.min.js" type="text/javascript"></script>
|
<script src="<?php echo(SAKURA_STATIC_ASSETS_HOST); ?>gh/mashirozx/sakura@static/js/other/404.min.js" type="text/javascript"></script>
|
||||||
</body>
|
</body>
|
||||||
|
@ -23,8 +23,8 @@
|
|||||||
<div class="site-info" theme-info="Sakura v<?php echo SAKURA_VERSION; ?>">
|
<div class="site-info" theme-info="Sakura v<?php echo SAKURA_VERSION; ?>">
|
||||||
<div class="footertext">
|
<div class="footertext">
|
||||||
<div class="img-preload">
|
<div class="img-preload">
|
||||||
<img src="<?php echo(SAKURA_STATIC_ASSETS_HOST); ?>gh/MomentQYC/sakura@static/img/Sakura/images/wordpress-rotating-ball-o.svg">
|
<img src="<?php echo(SAKURA_STATIC_ASSETS_HOST); ?>gh/mashirozx/sakura@static/img/Sakura/images/wordpress-rotating-ball-o.svg">
|
||||||
<img src="<?php echo(SAKURA_STATIC_ASSETS_HOST); ?>gh/MomentQYC/sakura@static/img/Sakura/images/disqus-preloader.svg">
|
<img src="<?php echo(SAKURA_STATIC_ASSETS_HOST); ?>gh/mashirozx/sakura@static/img/Sakura/images/disqus-preloader.svg">
|
||||||
</div>
|
</div>
|
||||||
<p style="color: #666666;"><?php echo akina_option('footer_info', ''); ?></p>
|
<p style="color: #666666;"><?php echo akina_option('footer_info', ''); ?></p>
|
||||||
</div>
|
</div>
|
||||||
|
@ -447,7 +447,7 @@ if (!function_exists('akina_comment_format')) {
|
|||||||
<div class="comment-arrow">
|
<div class="comment-arrow">
|
||||||
<div class="main shadow">
|
<div class="main shadow">
|
||||||
<div class="profile">
|
<div class="profile">
|
||||||
<a href="<?php comment_author_url();?>" target="_blank" rel="nofollow"><?php echo str_replace('src=', 'src="'.SAKURA_STATIC_ASSETS_HOST.'gh/MomentQYC/sakura@static/img/svg/loader/trans.ajax-spinner-preloader.svg" onerror="imgError(this,1)" data-src=', get_avatar($comment->comment_author_email, '80', '', get_comment_author(), array('class' => array('lazyload')))); ?></a>
|
<a href="<?php comment_author_url();?>" target="_blank" rel="nofollow"><?php echo str_replace('src=', 'src="'.SAKURA_STATIC_ASSETS_HOST.'gh/mashirozx/sakura@static/img/svg/loader/trans.ajax-spinner-preloader.svg" onerror="imgError(this,1)" data-src=', get_avatar($comment->comment_author_email, '80', '', get_comment_author(), array('class' => array('lazyload')))); ?></a>
|
||||||
</div>
|
</div>
|
||||||
<div class="commentinfo">
|
<div class="commentinfo">
|
||||||
<section class="commeta">
|
<section class="commeta">
|
||||||
@ -496,19 +496,19 @@ function get_author_class($comment_author_email, $user_id)
|
|||||||
"SELECT comment_ID as author_count FROM $wpdb->comments WHERE comment_author_email = '$comment_author_email' "));
|
"SELECT comment_ID as author_count FROM $wpdb->comments WHERE comment_author_email = '$comment_author_email' "));
|
||||||
if ($author_count >= 1 && $author_count < 5) //数字可自行修改,代表评论次数。
|
if ($author_count >= 1 && $author_count < 5) //数字可自行修改,代表评论次数。
|
||||||
{
|
{
|
||||||
echo '<span class="showGrade0" title="Lv0"><img src="'.SAKURA_STATIC_ASSETS_HOST.'gh/MomentQYC/sakura@static/img/Sakura/images/level/level_0.svg" style="height: 1.5em; max-height: 1.5em; display: inline-block;"></span>';
|
echo '<span class="showGrade0" title="Lv0"><img src="'.SAKURA_STATIC_ASSETS_HOST.'gh/mashirozx/sakura@static/img/Sakura/images/level/level_0.svg" style="height: 1.5em; max-height: 1.5em; display: inline-block;"></span>';
|
||||||
} else if ($author_count >= 6 && $author_count < 10) {
|
} else if ($author_count >= 6 && $author_count < 10) {
|
||||||
echo '<span class="showGrade1" title="Lv1"><img src="'.SAKURA_STATIC_ASSETS_HOST.'gh/MomentQYC/sakura@static/img/Sakura/images/level/level_1.svg" style="height: 1.5em; max-height: 1.5em; display: inline-block;"></span>';
|
echo '<span class="showGrade1" title="Lv1"><img src="'.SAKURA_STATIC_ASSETS_HOST.'gh/mashirozx/sakura@static/img/Sakura/images/level/level_1.svg" style="height: 1.5em; max-height: 1.5em; display: inline-block;"></span>';
|
||||||
} else if ($author_count >= 10 && $author_count < 20) {
|
} else if ($author_count >= 10 && $author_count < 20) {
|
||||||
echo '<span class="showGrade2" title="Lv2"><img src="'.SAKURA_STATIC_ASSETS_HOST.'gh/MomentQYC/sakura@static/img/Sakura/images/level/level_2.svg" style="height: 1.5em; max-height: 1.5em; display: inline-block;"></span>';
|
echo '<span class="showGrade2" title="Lv2"><img src="'.SAKURA_STATIC_ASSETS_HOST.'gh/mashirozx/sakura@static/img/Sakura/images/level/level_2.svg" style="height: 1.5em; max-height: 1.5em; display: inline-block;"></span>';
|
||||||
} else if ($author_count >= 20 && $author_count < 40) {
|
} else if ($author_count >= 20 && $author_count < 40) {
|
||||||
echo '<span class="showGrade3" title="Lv3"><img src="'.SAKURA_STATIC_ASSETS_HOST.'gh/MomentQYC/sakura@static/img/Sakura/images/level/level_3.svg" style="height: 1.5em; max-height: 1.5em; display: inline-block;"></span>';
|
echo '<span class="showGrade3" title="Lv3"><img src="'.SAKURA_STATIC_ASSETS_HOST.'gh/mashirozx/sakura@static/img/Sakura/images/level/level_3.svg" style="height: 1.5em; max-height: 1.5em; display: inline-block;"></span>';
|
||||||
} else if ($author_count >= 40 && $author_count < 80) {
|
} else if ($author_count >= 40 && $author_count < 80) {
|
||||||
echo '<span class="showGrade4" title="Lv4"><img src="'.SAKURA_STATIC_ASSETS_HOST.'gh/MomentQYC/sakura@static/img/Sakura/images/level/level_4.svg" style="height: 1.5em; max-height: 1.5em; display: inline-block;"></span>';
|
echo '<span class="showGrade4" title="Lv4"><img src="'.SAKURA_STATIC_ASSETS_HOST.'gh/mashirozx/sakura@static/img/Sakura/images/level/level_4.svg" style="height: 1.5em; max-height: 1.5em; display: inline-block;"></span>';
|
||||||
} else if ($author_count >= 80 && $author_count < 160) {
|
} else if ($author_count >= 80 && $author_count < 160) {
|
||||||
echo '<span class="showGrade5" title="Lv5"><img src="'.SAKURA_STATIC_ASSETS_HOST.'gh/MomentQYC/sakura@static/img/Sakura/images/level/level_5.svg" style="height: 1.5em; max-height: 1.5em; display: inline-block;"></span>';
|
echo '<span class="showGrade5" title="Lv5"><img src="'.SAKURA_STATIC_ASSETS_HOST.'gh/mashirozx/sakura@static/img/Sakura/images/level/level_5.svg" style="height: 1.5em; max-height: 1.5em; display: inline-block;"></span>';
|
||||||
} else if ($author_count >= 160) {
|
} else if ($author_count >= 160) {
|
||||||
echo '<span class="showGrade6" title="Lv6"><img src="'.SAKURA_STATIC_ASSETS_HOST.'gh/MomentQYC/sakura@static/img/Sakura/images/level/level_6.svg" style="height: 1.5em; max-height: 1.5em; display: inline-block;"></span>';
|
echo '<span class="showGrade6" title="Lv6"><img src="'.SAKURA_STATIC_ASSETS_HOST.'gh/mashirozx/sakura@static/img/Sakura/images/level/level_6.svg" style="height: 1.5em; max-height: 1.5em; display: inline-block;"></span>';
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -614,7 +614,7 @@ function get_the_link_items($id = null)
|
|||||||
$bookmark->link_image = 'https://view.moezx.cc/images/2017/12/30/Transparent_Akkarin.th.jpg';
|
$bookmark->link_image = 'https://view.moezx.cc/images/2017/12/30/Transparent_Akkarin.th.jpg';
|
||||||
}
|
}
|
||||||
|
|
||||||
$output .= '<li class="link-item"><a class="link-item-inner effect-apollo" href="' . $bookmark->link_url . '" title="' . $bookmark->link_description . '" target="_blank" rel="friend"><img class="lazyload" onerror="imgError(this,1)" data-src="' . $bookmark->link_image . '" src="'.SAKURA_STATIC_ASSETS_HOST.'gh/MomentQYC/sakura@static/img/svg/loader/trans.ajax-spinner-preloader.svg"><span class="sitename">' . $bookmark->link_name . '</span><div class="linkdes">' . $bookmark->link_description . '</div></a></li>';
|
$output .= '<li class="link-item"><a class="link-item-inner effect-apollo" href="' . $bookmark->link_url . '" title="' . $bookmark->link_description . '" target="_blank" rel="friend"><img class="lazyload" onerror="imgError(this,1)" data-src="' . $bookmark->link_image . '" src="'.SAKURA_STATIC_ASSETS_HOST.'gh/mashirozx/sakura@static/img/svg/loader/trans.ajax-spinner-preloader.svg"><span class="sitename">' . $bookmark->link_name . '</span><div class="linkdes">' . $bookmark->link_description . '</div></a></li>';
|
||||||
}
|
}
|
||||||
$output .= '</ul>';
|
$output .= '</ul>';
|
||||||
}
|
}
|
||||||
@ -863,7 +863,7 @@ function custom_html()
|
|||||||
}
|
}
|
||||||
echo '<script type="text/javascript" src="' . get_template_directory_uri() . '/js/login.js"></script>' . "\n";
|
echo '<script type="text/javascript" src="' . get_template_directory_uri() . '/js/login.js"></script>' . "\n";
|
||||||
echo '<script type="text/javascript">' . "\n";
|
echo '<script type="text/javascript">' . "\n";
|
||||||
echo 'jQuery("body").prepend("<div class=\"loading\"><img src=\"'.SAKURA_STATIC_ASSETS_HOST.'gh/MomentQYC/sakura@static/img/Sakura/images/login_loading.gif\" width=\"58\" height=\"10\"></div><div id=\"bg\"><img /></div>");' . "\n";
|
echo 'jQuery("body").prepend("<div class=\"loading\"><img src=\"'.SAKURA_STATIC_ASSETS_HOST.'gh/mashirozx/sakura@static/img/Sakura/images/login_loading.gif\" width=\"58\" height=\"10\"></div><div id=\"bg\"><img /></div>");' . "\n";
|
||||||
echo 'jQuery(\'#bg\').children(\'img\').attr(\'src\', \'' . $loginbg . '\').load(function(){' . "\n";
|
echo 'jQuery(\'#bg\').children(\'img\').attr(\'src\', \'' . $loginbg . '\').load(function(){' . "\n";
|
||||||
echo ' resizeImage(\'bg\');' . "\n";
|
echo ' resizeImage(\'bg\');' . "\n";
|
||||||
echo ' jQuery(window).bind("resize", function() { resizeImage(\'bg\'); });' . "\n";
|
echo ' jQuery(window).bind("resize", function() { resizeImage(\'bg\'); });' . "\n";
|
||||||
@ -987,7 +987,7 @@ function comment_mail_notify($comment_id)
|
|||||||
-webkit-box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.12);
|
-webkit-box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.12);
|
||||||
box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.18);">
|
box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.18);">
|
||||||
<header style="overflow: hidden;">
|
<header style="overflow: hidden;">
|
||||||
<img style="width:100%;z-index: 666;" src="'.SAKURA_STATIC_ASSETS_HOST.'gh/MomentQYC/sakura@static/img/other/head.jpg">
|
<img style="width:100%;z-index: 666;" src="'.SAKURA_STATIC_ASSETS_HOST.'gh/mashirozx/sakura@static/img/other/head.jpg">
|
||||||
</header>
|
</header>
|
||||||
<div style="padding: 5px 20px;">
|
<div style="padding: 5px 20px;">
|
||||||
<p style="position: relative;
|
<p style="position: relative;
|
||||||
@ -1009,7 +1009,7 @@ function comment_mail_notify($comment_id)
|
|||||||
. trim($comment->comment_content) . '</div>
|
. trim($comment->comment_content) . '</div>
|
||||||
|
|
||||||
<div style="text-align: center;">
|
<div style="text-align: center;">
|
||||||
<img src="'.SAKURA_STATIC_ASSETS_HOST.'gh/MomentQYC/sakura@static/img/other/hr.png" alt="hr" style="width:100%;
|
<img src="'.SAKURA_STATIC_ASSETS_HOST.'gh/mashirozx/sakura@static/img/other/hr.png" alt="hr" style="width:100%;
|
||||||
margin:5px auto 5px auto;
|
margin:5px auto 5px auto;
|
||||||
display: block;">
|
display: block;">
|
||||||
<a style="text-transform: uppercase;
|
<a style="text-transform: uppercase;
|
||||||
@ -1027,7 +1027,7 @@ function comment_mail_notify($comment_id)
|
|||||||
</div>
|
</div>
|
||||||
';
|
';
|
||||||
$message = convert_smilies($message);
|
$message = convert_smilies($message);
|
||||||
$message = str_replace("{{", '<img src="'.SAKURA_STATIC_ASSETS_HOST.'gh/MomentQYC/sakura@static/img/bili/hd/ic_emoji_', $message);
|
$message = str_replace("{{", '<img src="'.SAKURA_STATIC_ASSETS_HOST.'gh/mashirozx/sakura@static/img/bili/hd/ic_emoji_', $message);
|
||||||
$message = str_replace("}}", '.png" alt="emoji" style="height: 2em; max-height: 2em;">', $message);
|
$message = str_replace("}}", '.png" alt="emoji" style="height: 2em; max-height: 2em;">', $message);
|
||||||
|
|
||||||
$message = str_replace('{UPLOAD}', 'https://i.loli.net/', $message);
|
$message = str_replace('{UPLOAD}', 'https://i.loli.net/', $message);
|
||||||
@ -1090,9 +1090,9 @@ function comment_picture_support($content)
|
|||||||
$content = str_replace('http://', 'https://', $content); // 干掉任何可能的 http
|
$content = str_replace('http://', 'https://', $content); // 干掉任何可能的 http
|
||||||
$content = str_replace('{UPLOAD}', 'https://i.loli.net/', $content);
|
$content = str_replace('{UPLOAD}', 'https://i.loli.net/', $content);
|
||||||
$content = str_replace('[/img][img]', '[/img^img]', $content);
|
$content = str_replace('[/img][img]', '[/img^img]', $content);
|
||||||
$content = str_replace('[img]', '<br><img src="'.SAKURA_STATIC_ASSETS_HOST.'gh/MomentQYC/sakura@static/img/svg/loader/trans.ajax-spinner-preloader.svg" data-src="', $content);
|
$content = str_replace('[img]', '<br><img src="'.SAKURA_STATIC_ASSETS_HOST.'gh/mashirozx/sakura@static/img/svg/loader/trans.ajax-spinner-preloader.svg" data-src="', $content);
|
||||||
$content = str_replace('[/img]', '" class="lazyload comment_inline_img" onerror="imgError(this)"><br>', $content);
|
$content = str_replace('[/img]', '" class="lazyload comment_inline_img" onerror="imgError(this)"><br>', $content);
|
||||||
$content = str_replace('[/img^img]', '" class="lazyload comment_inline_img" onerror="imgError(this)"><img src="'.SAKURA_STATIC_ASSETS_HOST.'gh/MomentQYC/sakura@static/img/svg/loader/trans.ajax-spinner-preloader.svg" data-src="', $content);
|
$content = str_replace('[/img^img]', '" class="lazyload comment_inline_img" onerror="imgError(this)"><img src="'.SAKURA_STATIC_ASSETS_HOST.'gh/mashirozx/sakura@static/img/svg/loader/trans.ajax-spinner-preloader.svg" data-src="', $content);
|
||||||
return $content;
|
return $content;
|
||||||
}
|
}
|
||||||
add_filter('comment_text', 'comment_picture_support');
|
add_filter('comment_text', 'comment_picture_support');
|
||||||
@ -1103,7 +1103,7 @@ add_filter('comment_text', 'comment_picture_support');
|
|||||||
add_filter('smilies_src', 'custom_smilies_src', 1, 10);
|
add_filter('smilies_src', 'custom_smilies_src', 1, 10);
|
||||||
function custom_smilies_src($img_src, $img, $siteurl)
|
function custom_smilies_src($img_src, $img, $siteurl)
|
||||||
{
|
{
|
||||||
return SAKURA_STATIC_ASSETS_HOST.'gh/MomentQYC/sakura@static/img/Sakura/images/smilies/' . $img;
|
return SAKURA_STATIC_ASSETS_HOST.'gh/mashirozx/sakura@static/img/Sakura/images/smilies/' . $img;
|
||||||
}
|
}
|
||||||
// 简单遍历系统表情库,今后应考虑标识表情包名——使用增加的扩展名,同时保留原有拓展名
|
// 简单遍历系统表情库,今后应考虑标识表情包名——使用增加的扩展名,同时保留原有拓展名
|
||||||
// 还有一个思路是根据表情调用路径来判定<-- 此法最好!
|
// 还有一个思路是根据表情调用路径来判定<-- 此法最好!
|
||||||
@ -1114,7 +1114,7 @@ function push_smilies()
|
|||||||
foreach ($wpsmiliestrans as $k => $v) {
|
foreach ($wpsmiliestrans as $k => $v) {
|
||||||
$Sname = str_replace(":", "", $k);
|
$Sname = str_replace(":", "", $k);
|
||||||
$Svalue = $v;
|
$Svalue = $v;
|
||||||
$return_smiles = $return_smiles . '<span title="' . $Sname . '" onclick="grin(' . "'" . $Sname . "'" . ')"><img src="'.SAKURA_STATIC_ASSETS_HOST.'gh/MomentQYC/sakura@static/img/Sakura/images/smilies/' . $Svalue . '" /></span>';
|
$return_smiles = $return_smiles . '<span title="' . $Sname . '" onclick="grin(' . "'" . $Sname . "'" . ')"><img src="'.SAKURA_STATIC_ASSETS_HOST.'gh/mashirozx/sakura@static/img/Sakura/images/smilies/' . $Svalue . '" /></span>';
|
||||||
}
|
}
|
||||||
return $return_smiles;
|
return $return_smiles;
|
||||||
}
|
}
|
||||||
@ -1245,14 +1245,14 @@ function push_bili_smilies()
|
|||||||
$img_size = getimagesize($smiles_path . $name[$i] . ".png");
|
$img_size = getimagesize($smiles_path . $name[$i] . ".png");
|
||||||
$img_height = $img_size["1"];
|
$img_height = $img_size["1"];
|
||||||
// 选择面版
|
// 选择面版
|
||||||
$return_smiles = $return_smiles . '<span class="emotion-secter emotion-item emotion-select-parent" onclick="grin(' . "'" . $name[$i] . "'" . ',type = \'Math\')" style="background-image: url('.SAKURA_STATIC_ASSETS_HOST.'gh/MomentQYC/sakura@static/img/bili/hd/ic_emoji_' . $name[$i] . '.png);"><div class="img emotion-select-child" style="background-image: url('.SAKURA_STATIC_ASSETS_HOST.'gh/MomentQYC/sakura@static/img/bili/' . $name[$i] . '.png);
|
$return_smiles = $return_smiles . '<span class="emotion-secter emotion-item emotion-select-parent" onclick="grin(' . "'" . $name[$i] . "'" . ',type = \'Math\')" style="background-image: url('.SAKURA_STATIC_ASSETS_HOST.'gh/mashirozx/sakura@static/img/bili/hd/ic_emoji_' . $name[$i] . '.png);"><div class="img emotion-select-child" style="background-image: url('.SAKURA_STATIC_ASSETS_HOST.'gh/mashirozx/sakura@static/img/bili/' . $name[$i] . '.png);
|
||||||
animation-duration: ' . ($img_height / 32 * 40) . 'ms;
|
animation-duration: ' . ($img_height / 32 * 40) . 'ms;
|
||||||
animation-timing-function: steps(' . ($img_height / 32) . ');
|
animation-timing-function: steps(' . ($img_height / 32) . ');
|
||||||
transform: translateY(-' . ($img_height - 32) . 'px);
|
transform: translateY(-' . ($img_height - 32) . 'px);
|
||||||
height: ' . $img_height . 'px;
|
height: ' . $img_height . 'px;
|
||||||
"></div></span>';
|
"></div></span>';
|
||||||
// 正文转换
|
// 正文转换
|
||||||
$bilismiliestrans['{{' . $name[$i] . '}}'] = '<span class="emotion-inline emotion-item"><img src="'.SAKURA_STATIC_ASSETS_HOST.'gh/MomentQYC/sakura@static/img/bili/' . $name[$i] . '.png" class="img" style="/*background-image: url();*/
|
$bilismiliestrans['{{' . $name[$i] . '}}'] = '<span class="emotion-inline emotion-item"><img src="'.SAKURA_STATIC_ASSETS_HOST.'gh/mashirozx/sakura@static/img/bili/' . $name[$i] . '.png" class="img" style="/*background-image: url();*/
|
||||||
animation-duration: ' . ($img_height / 32 * 40) . 'ms;
|
animation-duration: ' . ($img_height / 32 * 40) . 'ms;
|
||||||
animation-timing-function: steps(' . ($img_height / 32) . ');
|
animation-timing-function: steps(' . ($img_height / 32) . ');
|
||||||
transform: translateY(-' . ($img_height - 32) . 'px);
|
transform: translateY(-' . ($img_height - 32) . 'px);
|
||||||
@ -1286,7 +1286,7 @@ add_filter('the_content_feed', 'featuredtoRSS');
|
|||||||
//
|
//
|
||||||
function bili_smile_filter_rss($content)
|
function bili_smile_filter_rss($content)
|
||||||
{
|
{
|
||||||
$content = str_replace("{{", '<img src="'.SAKURA_STATIC_ASSETS_HOST.'gh/MomentQYC/sakura@static/img/bili/hd/ic_emoji_', $content);
|
$content = str_replace("{{", '<img src="'.SAKURA_STATIC_ASSETS_HOST.'gh/mashirozx/sakura@static/img/bili/hd/ic_emoji_', $content);
|
||||||
$content = str_replace("}}", '.png" alt="emoji" style="height: 2em; max-height: 2em;">', $content);
|
$content = str_replace("}}", '.png" alt="emoji" style="height: 2em; max-height: 2em;">', $content);
|
||||||
$content = str_replace('[img]', '<img src="', $content);
|
$content = str_replace('[img]', '<img src="', $content);
|
||||||
$content = str_replace('[/img]', '" style="display: block;margin-left: auto;margin-right: auto;">', $content);
|
$content = str_replace('[/img]', '" style="display: block;margin-left: auto;margin-right: auto;">', $content);
|
||||||
|
@ -28,13 +28,13 @@ mashiro_option.skin_bg6 = "<?php echo $bg_arry[6] ?>";
|
|||||||
mashiro_option.skin_bg7 = "<?php echo $bg_arry[7] ?>";
|
mashiro_option.skin_bg7 = "<?php echo $bg_arry[7] ?>";
|
||||||
<?php }else {?>
|
<?php }else {?>
|
||||||
mashiro_option.skin_bg0 = "none";
|
mashiro_option.skin_bg0 = "none";
|
||||||
mashiro_option.skin_bg1 = <?php echo (SAKURA_STATIC_ASSETS_HOST);?>"gh/MomentQYC/sakura@static/cdn/img/sakura.png";
|
mashiro_option.skin_bg1 = <?php echo (SAKURA_STATIC_ASSETS_HOST);?>"gh/mashirozx/sakura@static/cdn/img/sakura.png";
|
||||||
mashiro_option.skin_bg2 = <?php echo (SAKURA_STATIC_ASSETS_HOST);?>"gh/MomentQYC/sakura@static/cdn/img/plaid2dbf8.jpg";
|
mashiro_option.skin_bg2 = <?php echo (SAKURA_STATIC_ASSETS_HOST);?>"gh/mashirozx/sakura@static/cdn/img/plaid2dbf8.jpg";
|
||||||
mashiro_option.skin_bg3 = <?php echo (SAKURA_STATIC_ASSETS_HOST);?>"gh/MomentQYC/sakura@static/cdn/img/star02.png";
|
mashiro_option.skin_bg3 = <?php echo (SAKURA_STATIC_ASSETS_HOST);?>"gh/mashirozx/sakura@static/cdn/img/star02.png";
|
||||||
mashiro_option.skin_bg4 = <?php echo (SAKURA_STATIC_ASSETS_HOST);?>"gh/MomentQYC/sakura@static/cdn/img/kyotoanimation.png";
|
mashiro_option.skin_bg4 = <?php echo (SAKURA_STATIC_ASSETS_HOST);?>"gh/mashirozx/sakura@static/cdn/img/kyotoanimation.png";
|
||||||
mashiro_option.skin_bg5 = <?php echo (SAKURA_STATIC_ASSETS_HOST);?>"gh/MomentQYC/sakura@static/cdn/img/dot_orange.gif";
|
mashiro_option.skin_bg5 = <?php echo (SAKURA_STATIC_ASSETS_HOST);?>"gh/mashirozx/sakura@static/cdn/img/dot_orange.gif";
|
||||||
mashiro_option.skin_bg6 = "https://api.mashiro.top/bing/";
|
mashiro_option.skin_bg6 = "https://api.mashiro.top/bing/";
|
||||||
mashiro_option.skin_bg7 = <?php echo (SAKURA_STATIC_ASSETS_HOST);?>"gh/MomentQYC/sakura@static/other-sites/api-index/images/me.png";
|
mashiro_option.skin_bg7 = <?php echo (SAKURA_STATIC_ASSETS_HOST);?>"gh/mashirozx/sakura@static/other-sites/api-index/images/me.png";
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
|
|
||||||
mashiro_option.darkmode = <?php if ( akina_option('darkmode') ){ echo 'true'; } else { echo 'false'; } ?>;
|
mashiro_option.darkmode = <?php if ( akina_option('darkmode') ){ echo 'true'; } else { echo 'false'; } ?>;
|
||||||
|
@ -313,7 +313,7 @@ function the_headPattern(){
|
|||||||
if(!is_home() && $full_image_url) : ?>
|
if(!is_home() && $full_image_url) : ?>
|
||||||
<div class="pattern-center-blank"></div>
|
<div class="pattern-center-blank"></div>
|
||||||
<div class="pattern-center <?php if(is_single()){echo $center;} ?>">
|
<div class="pattern-center <?php if(is_single()){echo $center;} ?>">
|
||||||
<div class="pattern-attachment-img lazyload" style="background-image: url(<?php echo (SAKURA_STATIC_ASSETS_HOST);?>gh/MomentQYC/sakura@static/img/svg/loader/orange.progress-bar-stripe-loader.svg)" data-src="<?php echo $full_image_url; ?>"> </div>
|
<div class="pattern-attachment-img lazyload" style="background-image: url(<?php echo (SAKURA_STATIC_ASSETS_HOST);?>gh/mashirozx/sakura@static/img/svg/loader/orange.progress-bar-stripe-loader.svg)" data-src="<?php echo $full_image_url; ?>"> </div>
|
||||||
<header class="pattern-header <?php if(is_single()){echo $header;} ?>"><?php echo $t; ?></header>
|
<header class="pattern-header <?php if(is_single()){echo $header;} ?>"><?php echo $t; ?></header>
|
||||||
</div>
|
</div>
|
||||||
<?php else :
|
<?php else :
|
||||||
@ -358,13 +358,13 @@ function the_video_headPattern_hls(){
|
|||||||
$t .= the_title( '<h1 class="entry-title">', '</h1>', false);
|
$t .= the_title( '<h1 class="entry-title">', '</h1>', false);
|
||||||
}elseif(is_archive()){
|
}elseif(is_archive()){
|
||||||
$full_image_url = z_taxonomy_image_url();
|
$full_image_url = z_taxonomy_image_url();
|
||||||
$thubm_image_url = SAKURA_STATIC_ASSETS_HOST.'gh/MomentQYC/sakura@static/img/svg/loader/orange.progress-bar-stripe-loader.svg';
|
$thubm_image_url = SAKURA_STATIC_ASSETS_HOST.'gh/mashirozx/sakura@static/img/svg/loader/orange.progress-bar-stripe-loader.svg';
|
||||||
$des = category_description() ? category_description() : ''; // 描述
|
$des = category_description() ? category_description() : ''; // 描述
|
||||||
$t .= '<h1 class="cat-title">'.single_cat_title('', false).'</h1>';
|
$t .= '<h1 class="cat-title">'.single_cat_title('', false).'</h1>';
|
||||||
$t .= ' <span class="cat-des">'.$des.'</span>';
|
$t .= ' <span class="cat-des">'.$des.'</span>';
|
||||||
}elseif(is_search()){
|
}elseif(is_search()){
|
||||||
$full_image_url = get_random_bg_url();
|
$full_image_url = get_random_bg_url();
|
||||||
$thubm_image_url = SAKURA_STATIC_ASSETS_HOST.'gh/MomentQYC/sakura@static/img/svg/loader/orange.progress-bar-stripe-loader.svg';
|
$thubm_image_url = SAKURA_STATIC_ASSETS_HOST.'gh/mashirozx/sakura@static/img/svg/loader/orange.progress-bar-stripe-loader.svg';
|
||||||
$t .= '<h1 class="entry-title search-title"> '.sprintf( __( "Search results for \" %s \"","sakura" ), get_search_query()) ./*关于“ '.get_search_query().' ”的搜索结果*/'</h1>';
|
$t .= '<h1 class="entry-title search-title"> '.sprintf( __( "Search results for \" %s \"","sakura" ), get_search_query()) ./*关于“ '.get_search_query().' ”的搜索结果*/'</h1>';
|
||||||
}
|
}
|
||||||
$thubm_image_url = $thubm_image_url . "#lazyload-blur";
|
$thubm_image_url = $thubm_image_url . "#lazyload-blur";
|
||||||
@ -426,13 +426,13 @@ function the_video_headPattern_normal(){
|
|||||||
$t .= the_title( '<h1 class="entry-title">', '</h1>', false);
|
$t .= the_title( '<h1 class="entry-title">', '</h1>', false);
|
||||||
}elseif(is_archive()){
|
}elseif(is_archive()){
|
||||||
$full_image_url = z_taxonomy_image_url();
|
$full_image_url = z_taxonomy_image_url();
|
||||||
$thubm_image_url = SAKURA_STATIC_ASSETS_HOST.'gh/MomentQYC/sakura@static/img/svg/loader/orange.progress-bar-stripe-loader.svg';
|
$thubm_image_url = SAKURA_STATIC_ASSETS_HOST.'gh/mashirozx/sakura@static/img/svg/loader/orange.progress-bar-stripe-loader.svg';
|
||||||
$des = category_description() ? category_description() : ''; // 描述
|
$des = category_description() ? category_description() : ''; // 描述
|
||||||
$t .= '<h1 class="cat-title">'.single_cat_title('', false).'</h1>';
|
$t .= '<h1 class="cat-title">'.single_cat_title('', false).'</h1>';
|
||||||
$t .= ' <span class="cat-des">'.$des.'</span>';
|
$t .= ' <span class="cat-des">'.$des.'</span>';
|
||||||
}elseif(is_search()){
|
}elseif(is_search()){
|
||||||
$full_image_url = get_random_bg_url();
|
$full_image_url = get_random_bg_url();
|
||||||
$thubm_image_url = SAKURA_STATIC_ASSETS_HOST.'gh/MomentQYC/sakura@static/img/svg/loader/orange.progress-bar-stripe-loader.svg';
|
$thubm_image_url = SAKURA_STATIC_ASSETS_HOST.'gh/mashirozx/sakura@static/img/svg/loader/orange.progress-bar-stripe-loader.svg';
|
||||||
$t .= '<h1 class="entry-title search-title"> '.sprintf( __( "Search results for \" %s \"","sakura" ), get_search_query()) ./*关于“ '.get_search_query().' ”的搜索结果*/'</h1>';
|
$t .= '<h1 class="entry-title search-title"> '.sprintf( __( "Search results for \" %s \"","sakura" ), get_search_query()) ./*关于“ '.get_search_query().' ”的搜索结果*/'</h1>';
|
||||||
}
|
}
|
||||||
$thubm_image_url = $thubm_image_url . "#lazyload-blur";
|
$thubm_image_url = $thubm_image_url . "#lazyload-blur";
|
||||||
@ -485,7 +485,7 @@ function header_user_menu(){
|
|||||||
</div>
|
</div>
|
||||||
<?php
|
<?php
|
||||||
}else{
|
}else{
|
||||||
$ava = SAKURA_STATIC_ASSETS_HOST.'gh/MomentQYC/sakura@static/img/Sakura/images/none.png';
|
$ava = SAKURA_STATIC_ASSETS_HOST.'gh/mashirozx/sakura@static/img/Sakura/images/none.png';
|
||||||
$login_url = akina_option('exlogin_url') ? akina_option('exlogin_url') : get_bloginfo('url').'/wp-login.php';
|
$login_url = akina_option('exlogin_url') ? akina_option('exlogin_url') : get_bloginfo('url').'/wp-login.php';
|
||||||
?>
|
?>
|
||||||
<div class="header-user-avatar">
|
<div class="header-user-avatar">
|
||||||
@ -933,7 +933,7 @@ function siren_get_os($ua){
|
|||||||
function siren_get_useragent($ua){
|
function siren_get_useragent($ua){
|
||||||
if(akina_option('open_useragent')){
|
if(akina_option('open_useragent')){
|
||||||
// $imgurl = get_bloginfo('template_directory') . '/images/ua/';
|
// $imgurl = get_bloginfo('template_directory') . '/images/ua/';
|
||||||
$imgurl = SAKURA_STATIC_ASSETS_HOST.'gh/MomentQYC/sakura@static/img/Sakura/images/ua/svg/';
|
$imgurl = SAKURA_STATIC_ASSETS_HOST.'gh/mashirozx/sakura@static/img/Sakura/images/ua/svg/';
|
||||||
$browser = siren_get_browsers($ua);
|
$browser = siren_get_browsers($ua);
|
||||||
$os = siren_get_os($ua);
|
$os = siren_get_os($ua);
|
||||||
return ' <span class="useragent-info">( <img src="'. $imgurl.$browser[1] .'.svg"> '. $browser[0] .' <img src="'. $imgurl.$os[1] .'.svg"> '. $os[0] .' )</span>';
|
return ' <span class="useragent-info">( <img src="'. $imgurl.$browser[1] .'.svg"> '. $browser[0] .' <img src="'. $imgurl.$os[1] .'.svg"> '. $os[0] .' )</span>';
|
||||||
@ -944,7 +944,7 @@ function siren_get_useragent($ua){
|
|||||||
// UA 显示移动定制
|
// UA 显示移动定制
|
||||||
function mobile_get_useragent_icon($ua){
|
function mobile_get_useragent_icon($ua){
|
||||||
if(akina_option('open_useragent')){
|
if(akina_option('open_useragent')){
|
||||||
$imgurl = SAKURA_STATIC_ASSETS_HOST.'gh/MomentQYC/sakura@static/img/Sakura/images/ua/svg/';
|
$imgurl = SAKURA_STATIC_ASSETS_HOST.'gh/mashirozx/sakura@static/img/Sakura/images/ua/svg/';
|
||||||
$browser = siren_get_browsers($ua);
|
$browser = siren_get_browsers($ua);
|
||||||
$os = siren_get_os($ua);
|
$os = siren_get_os($ua);
|
||||||
return '<span class="useragent-info-m">( <img src="'. $imgurl.$browser[1] .'.svg"> <img src="'. $imgurl.$os[1] .'.svg"> )</span>';
|
return '<span class="useragent-info-m">( <img src="'. $imgurl.$browser[1] .'.svg"> <img src="'. $imgurl.$os[1] .'.svg"> )</span>';
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
<h1 class="fes-title" style="font-family: 'Ubuntu', sans-serif;"><i class="fa fa-anchor" aria-hidden="true"></i> <?php echo akina_option('feature_title', '聚焦'); ?></h1>
|
<h1 class="fes-title" style="font-family: 'Ubuntu', sans-serif;"><i class="fa fa-anchor" aria-hidden="true"></i> <?php echo akina_option('feature_title', '聚焦'); ?></h1>
|
||||||
<div class="feature-content">
|
<div class="feature-content">
|
||||||
<li class="feature-1">
|
<li class="feature-1">
|
||||||
<a href="<?php echo akina_option('feature1_link', '#'); ?>" target="_blank"><div class="feature-title"><span class="foverlay-bg"></span><span class="foverlay"><?php echo akina_option('feature1_title', 'feature1'); ?></span></div><img class="lazyload" src="<?php echo (SAKURA_STATIC_ASSETS_HOST);?>gh/MomentQYC/sakura@static/img/svg/loader/orange.progress-bar-stripe-loader.svg" data-src="<?php echo akina_option('feature1_img', ''); ?>"></a>
|
<a href="<?php echo akina_option('feature1_link', '#'); ?>" target="_blank"><div class="feature-title"><span class="foverlay-bg"></span><span class="foverlay"><?php echo akina_option('feature1_title', 'feature1'); ?></span></div><img class="lazyload" src="<?php echo (SAKURA_STATIC_ASSETS_HOST);?>gh/mashirozx/sakura@static/img/svg/loader/orange.progress-bar-stripe-loader.svg" data-src="<?php echo akina_option('feature1_img', ''); ?>"></a>
|
||||||
</li>
|
</li>
|
||||||
<li class="feature-2">
|
<li class="feature-2">
|
||||||
<a href="<?php echo akina_option('feature2_link', '#'); ?>" target="_blank"><div class="feature-title"><span class="foverlay-bg"></span><span class="foverlay"><?php echo akina_option('feature2_title', 'feature2'); ?></span></div><img src="<?php echo akina_option('feature2_img', ''); ?>"></a>
|
<a href="<?php echo akina_option('feature2_link', '#'); ?>" target="_blank"><div class="feature-title"><span class="foverlay-bg"></span><span class="foverlay"><?php echo akina_option('feature2_title', 'feature2'); ?></span></div><img src="<?php echo akina_option('feature2_img', ''); ?>"></a>
|
||||||
|
@ -17,119 +17,119 @@
|
|||||||
<p><?php echo akina_option('admin_des', 'Hi, Mashiro?'); ?></p>
|
<p><?php echo akina_option('admin_des', 'Hi, Mashiro?'); ?></p>
|
||||||
<?php if (akina_option('social_style')=="v2"): ?>
|
<?php if (akina_option('social_style')=="v2"): ?>
|
||||||
<div class="top-social_v2">
|
<div class="top-social_v2">
|
||||||
<li id="bg-pre"><img class="flipx" src="<?php echo (SAKURA_STATIC_ASSETS_HOST);?>gh/MomentQYC/sakura@static/img/Sakura/images/next-b.svg"/></li>
|
<li id="bg-pre"><img class="flipx" src="<?php echo (SAKURA_STATIC_ASSETS_HOST);?>gh/mashirozx/sakura@static/img/Sakura/images/next-b.svg"/></li>
|
||||||
<?php if (akina_option('github')){ ?>
|
<?php if (akina_option('github')){ ?>
|
||||||
<li><a href="<?php echo akina_option('github', ''); ?>" target="_blank" class="social-github" title="github"><img src="<?php echo (SAKURA_STATIC_ASSETS_HOST);?>gh/MomentQYC/sakura@static/img/Sakura/images/sns/github.png"/></a></li>
|
<li><a href="<?php echo akina_option('github', ''); ?>" target="_blank" class="social-github" title="github"><img src="<?php echo (SAKURA_STATIC_ASSETS_HOST);?>gh/mashirozx/sakura@static/img/Sakura/images/sns/github.png"/></a></li>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
<?php if (akina_option('sina')){ ?>
|
<?php if (akina_option('sina')){ ?>
|
||||||
<li><a href="<?php echo akina_option('sina', ''); ?>" target="_blank" class="social-sina" title="sina"><img src="<?php echo (SAKURA_STATIC_ASSETS_HOST);?>gh/MomentQYC/sakura@static/img/Sakura/images/sns/sina.png"/></a></li>
|
<li><a href="<?php echo akina_option('sina', ''); ?>" target="_blank" class="social-sina" title="sina"><img src="<?php echo (SAKURA_STATIC_ASSETS_HOST);?>gh/mashirozx/sakura@static/img/Sakura/images/sns/sina.png"/></a></li>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
<?php if (akina_option('telegram')){ ?>
|
<?php if (akina_option('telegram')){ ?>
|
||||||
<li><a href="<?php echo akina_option('telegram', ''); ?>" target="_blank" class="social-lofter" title="telegram"><img src="<?php echo (SAKURA_STATIC_ASSETS_HOST);?>gh/MomentQYC/sakura@static/img/Sakura/images/sns/telegram.svg"/></a></li>
|
<li><a href="<?php echo akina_option('telegram', ''); ?>" target="_blank" class="social-lofter" title="telegram"><img src="<?php echo (SAKURA_STATIC_ASSETS_HOST);?>gh/mashirozx/sakura@static/img/Sakura/images/sns/telegram.svg"/></a></li>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
<?php if (akina_option('qq')){ ?>
|
<?php if (akina_option('qq')){ ?>
|
||||||
<li class="qq"><a href="<?php echo akina_option('qq', ''); ?>" title="Initiate chat ?"><img src="<?php echo (SAKURA_STATIC_ASSETS_HOST);?>gh/MomentQYC/sakura@static/img/Sakura/images/sns/qq.png"/></a></li>
|
<li class="qq"><a href="<?php echo akina_option('qq', ''); ?>" title="Initiate chat ?"><img src="<?php echo (SAKURA_STATIC_ASSETS_HOST);?>gh/mashirozx/sakura@static/img/Sakura/images/sns/qq.png"/></a></li>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
<?php if (akina_option('qzone')){ ?>
|
<?php if (akina_option('qzone')){ ?>
|
||||||
<li><a href="<?php echo akina_option('qzone', ''); ?>" target="_blank" class="social-qzone" title="qzone"><img src="<?php echo (SAKURA_STATIC_ASSETS_HOST);?>gh/MomentQYC/sakura@static/img/Sakura/images/sns/qzone.png"/></a></li>
|
<li><a href="<?php echo akina_option('qzone', ''); ?>" target="_blank" class="social-qzone" title="qzone"><img src="<?php echo (SAKURA_STATIC_ASSETS_HOST);?>gh/mashirozx/sakura@static/img/Sakura/images/sns/qzone.png"/></a></li>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
<?php if (akina_option('wechat')){ ?>
|
<?php if (akina_option('wechat')){ ?>
|
||||||
<li class="wechat"><a href="#"><img src="<?php echo (SAKURA_STATIC_ASSETS_HOST);?>gh/MomentQYC/sakura@static/img/Sakura/images/sns/wechat.png"/></a>
|
<li class="wechat"><a href="#"><img src="<?php echo (SAKURA_STATIC_ASSETS_HOST);?>gh/mashirozx/sakura@static/img/Sakura/images/sns/wechat.png"/></a>
|
||||||
<div class="wechatInner">
|
<div class="wechatInner">
|
||||||
<img src="<?php echo akina_option('wechat', ''); ?>" alt="WeChat">
|
<img src="<?php echo akina_option('wechat', ''); ?>" alt="WeChat">
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
<?php if (akina_option('lofter')){ ?>
|
<?php if (akina_option('lofter')){ ?>
|
||||||
<li><a href="<?php echo akina_option('lofter', ''); ?>" target="_blank" class="social-lofter" title="lofter"><img src="<?php echo (SAKURA_STATIC_ASSETS_HOST);?>gh/MomentQYC/sakura@static/img/Sakura/images/sns/lofter.png"/></a></li>
|
<li><a href="<?php echo akina_option('lofter', ''); ?>" target="_blank" class="social-lofter" title="lofter"><img src="<?php echo (SAKURA_STATIC_ASSETS_HOST);?>gh/mashirozx/sakura@static/img/Sakura/images/sns/lofter.png"/></a></li>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
<?php if (akina_option('bili')){ ?>
|
<?php if (akina_option('bili')){ ?>
|
||||||
<li><a href="<?php echo akina_option('bili', ''); ?>" target="_blank" class="social-bili" title="bilibili"><img src="<?php echo (SAKURA_STATIC_ASSETS_HOST);?>gh/MomentQYC/sakura@static/img/Sakura/images/sns/bilibili.png"/></a></li>
|
<li><a href="<?php echo akina_option('bili', ''); ?>" target="_blank" class="social-bili" title="bilibili"><img src="<?php echo (SAKURA_STATIC_ASSETS_HOST);?>gh/mashirozx/sakura@static/img/Sakura/images/sns/bilibili.png"/></a></li>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
<?php if (akina_option('youku')){ ?>
|
<?php if (akina_option('youku')){ ?>
|
||||||
<li><a href="<?php echo akina_option('youku', ''); ?>" target="_blank" class="social-youku" title="youku"><img src="<?php echo (SAKURA_STATIC_ASSETS_HOST);?>gh/MomentQYC/sakura@static/img/Sakura/images/sns/youku.png"/></a></li>
|
<li><a href="<?php echo akina_option('youku', ''); ?>" target="_blank" class="social-youku" title="youku"><img src="<?php echo (SAKURA_STATIC_ASSETS_HOST);?>gh/mashirozx/sakura@static/img/Sakura/images/sns/youku.png"/></a></li>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
<?php if (akina_option('wangyiyun')){ ?>
|
<?php if (akina_option('wangyiyun')){ ?>
|
||||||
<li><a href="<?php echo akina_option('wangyiyun', ''); ?>" target="_blank" class="social-wangyiyun" title="CloudMusic"><img src="<?php echo (SAKURA_STATIC_ASSETS_HOST);?>gh/MomentQYC/sakura@static/img/Sakura/images/sns/wangyiyun.png"/></a></li>
|
<li><a href="<?php echo akina_option('wangyiyun', ''); ?>" target="_blank" class="social-wangyiyun" title="CloudMusic"><img src="<?php echo (SAKURA_STATIC_ASSETS_HOST);?>gh/mashirozx/sakura@static/img/Sakura/images/sns/wangyiyun.png"/></a></li>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
<?php if (akina_option('twitter')){ ?>
|
<?php if (akina_option('twitter')){ ?>
|
||||||
<li><a href="<?php echo akina_option('twitter', ''); ?>" target="_blank" class="social-wangyiyun" title="Twitter"><img src="<?php echo (SAKURA_STATIC_ASSETS_HOST);?>gh/MomentQYC/sakura@static/img/Sakura/images/sns/twitter.png"/></a></li>
|
<li><a href="<?php echo akina_option('twitter', ''); ?>" target="_blank" class="social-wangyiyun" title="Twitter"><img src="<?php echo (SAKURA_STATIC_ASSETS_HOST);?>gh/mashirozx/sakura@static/img/Sakura/images/sns/twitter.png"/></a></li>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
<?php if (akina_option('facebook')){ ?>
|
<?php if (akina_option('facebook')){ ?>
|
||||||
<li><a href="<?php echo akina_option('facebook', ''); ?>" target="_blank" class="social-wangyiyun" title="Facebook"><img src="<?php echo (SAKURA_STATIC_ASSETS_HOST);?>gh/MomentQYC/sakura@static/img/Sakura/images/sns/facebook.png"/></a></li>
|
<li><a href="<?php echo akina_option('facebook', ''); ?>" target="_blank" class="social-wangyiyun" title="Facebook"><img src="<?php echo (SAKURA_STATIC_ASSETS_HOST);?>gh/mashirozx/sakura@static/img/Sakura/images/sns/facebook.png"/></a></li>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
<?php if (akina_option('jianshu')){ ?>
|
<?php if (akina_option('jianshu')){ ?>
|
||||||
<li><a href="<?php echo akina_option('jianshu', ''); ?>" target="_blank" class="social-wangyiyun" title="Jianshu"><img src="<?php echo (SAKURA_STATIC_ASSETS_HOST);?>gh/MomentQYC/sakura@static/img/Sakura/images/sns/jianshu.png"/></a></li>
|
<li><a href="<?php echo akina_option('jianshu', ''); ?>" target="_blank" class="social-wangyiyun" title="Jianshu"><img src="<?php echo (SAKURA_STATIC_ASSETS_HOST);?>gh/mashirozx/sakura@static/img/Sakura/images/sns/jianshu.png"/></a></li>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
<?php if (akina_option('zhihu')){ ?>
|
<?php if (akina_option('zhihu')){ ?>
|
||||||
<li><a href="<?php echo akina_option('zhihu', ''); ?>" target="_blank" class="social-wangyiyun" title="Zhihu"><img src="<?php echo (SAKURA_STATIC_ASSETS_HOST);?>gh/MomentQYC/sakura@static/img/Sakura/images/sns/zhihu.png"/></a></li>
|
<li><a href="<?php echo akina_option('zhihu', ''); ?>" target="_blank" class="social-wangyiyun" title="Zhihu"><img src="<?php echo (SAKURA_STATIC_ASSETS_HOST);?>gh/mashirozx/sakura@static/img/Sakura/images/sns/zhihu.png"/></a></li>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
<?php if (akina_option('csdn')){ ?>
|
<?php if (akina_option('csdn')){ ?>
|
||||||
<li><a href="<?php echo akina_option('csdn', ''); ?>" target="_blank" class="social-wangyiyun" title="CSDN"><img src="<?php echo (SAKURA_STATIC_ASSETS_HOST);?>gh/MomentQYC/sakura@static/img/Sakura/images/sns/csdn.png"/></a></li>
|
<li><a href="<?php echo akina_option('csdn', ''); ?>" target="_blank" class="social-wangyiyun" title="CSDN"><img src="<?php echo (SAKURA_STATIC_ASSETS_HOST);?>gh/mashirozx/sakura@static/img/Sakura/images/sns/csdn.png"/></a></li>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
<?php if (akina_option('email_name') && akina_option('email_domain')){ ?>
|
<?php if (akina_option('email_name') && akina_option('email_domain')){ ?>
|
||||||
<li><a onclick="mail_me()" class="social-wangyiyun" title="E-mail"><img src="<?php echo (SAKURA_STATIC_ASSETS_HOST);?>gh/MomentQYC/sakura@static/img/Sakura/images/sns/email.svg"/></a></li>
|
<li><a onclick="mail_me()" class="social-wangyiyun" title="E-mail"><img src="<?php echo (SAKURA_STATIC_ASSETS_HOST);?>gh/mashirozx/sakura@static/img/Sakura/images/sns/email.svg"/></a></li>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
<li id="bg-next"><img src="<?php echo (SAKURA_STATIC_ASSETS_HOST);?>gh/MomentQYC/sakura@static/img/Sakura/images/next-b.svg"/></li>
|
<li id="bg-next"><img src="<?php echo (SAKURA_STATIC_ASSETS_HOST);?>gh/mashirozx/sakura@static/img/Sakura/images/next-b.svg"/></li>
|
||||||
</div>
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
</div>
|
</div>
|
||||||
<?php if (akina_option('social_style')=="v1"): ?>
|
<?php if (akina_option('social_style')=="v1"): ?>
|
||||||
<div class="top-social">
|
<div class="top-social">
|
||||||
<li id="bg-pre"><img class="flipx" src="<?php echo (SAKURA_STATIC_ASSETS_HOST);?>gh/MomentQYC/sakura@static/img/Sakura/images/next-b.svg"/></li>
|
<li id="bg-pre"><img class="flipx" src="<?php echo (SAKURA_STATIC_ASSETS_HOST);?>gh/mashirozx/sakura@static/img/Sakura/images/next-b.svg"/></li>
|
||||||
<?php if (akina_option('github')){ ?>
|
<?php if (akina_option('github')){ ?>
|
||||||
<li><a href="<?php echo akina_option('github', ''); ?>" target="_blank" class="social-github" title="github"><img src="<?php echo (SAKURA_STATIC_ASSETS_HOST);?>gh/MomentQYC/sakura@static/img/Sakura/images/sns/github.png"/></a></li>
|
<li><a href="<?php echo akina_option('github', ''); ?>" target="_blank" class="social-github" title="github"><img src="<?php echo (SAKURA_STATIC_ASSETS_HOST);?>gh/mashirozx/sakura@static/img/Sakura/images/sns/github.png"/></a></li>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
<?php if (akina_option('sina')){ ?>
|
<?php if (akina_option('sina')){ ?>
|
||||||
<li><a href="<?php echo akina_option('sina', ''); ?>" target="_blank" class="social-sina" title="sina"><img src="<?php echo (SAKURA_STATIC_ASSETS_HOST);?>gh/MomentQYC/sakura@static/img/Sakura/images/sns/sina.png"/></a></li>
|
<li><a href="<?php echo akina_option('sina', ''); ?>" target="_blank" class="social-sina" title="sina"><img src="<?php echo (SAKURA_STATIC_ASSETS_HOST);?>gh/mashirozx/sakura@static/img/Sakura/images/sns/sina.png"/></a></li>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
<?php if (akina_option('telegram')){ ?>
|
<?php if (akina_option('telegram')){ ?>
|
||||||
<li><a href="<?php echo akina_option('telegram', ''); ?>" target="_blank" class="social-lofter" title="telegram"><img src="<?php echo (SAKURA_STATIC_ASSETS_HOST);?>gh/MomentQYC/sakura@static/img/Sakura/images/sns/telegram.svg"/></a></li>
|
<li><a href="<?php echo akina_option('telegram', ''); ?>" target="_blank" class="social-lofter" title="telegram"><img src="<?php echo (SAKURA_STATIC_ASSETS_HOST);?>gh/mashirozx/sakura@static/img/Sakura/images/sns/telegram.svg"/></a></li>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
<?php if (akina_option('qq')){ ?>
|
<?php if (akina_option('qq')){ ?>
|
||||||
<li class="qq"><a href="<?php echo akina_option('qq', ''); ?>" title="Initiate chat ?"><img src="<?php echo (SAKURA_STATIC_ASSETS_HOST);?>gh/MomentQYC/sakura@static/img/Sakura/images/sns/qq.png"/></a></li>
|
<li class="qq"><a href="<?php echo akina_option('qq', ''); ?>" title="Initiate chat ?"><img src="<?php echo (SAKURA_STATIC_ASSETS_HOST);?>gh/mashirozx/sakura@static/img/Sakura/images/sns/qq.png"/></a></li>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
<?php if (akina_option('qzone')){ ?>
|
<?php if (akina_option('qzone')){ ?>
|
||||||
<li><a href="<?php echo akina_option('qzone', ''); ?>" target="_blank" class="social-qzone" title="qzone"><img src="<?php echo (SAKURA_STATIC_ASSETS_HOST);?>gh/MomentQYC/sakura@static/Sakura/images/sns/qzone.png"/></a></li>
|
<li><a href="<?php echo akina_option('qzone', ''); ?>" target="_blank" class="social-qzone" title="qzone"><img src="<?php echo (SAKURA_STATIC_ASSETS_HOST);?>gh/mashirozx/sakura@static/Sakura/images/sns/qzone.png"/></a></li>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
<?php if (akina_option('wechat')){ ?>
|
<?php if (akina_option('wechat')){ ?>
|
||||||
<li class="wechat"><a href="#"><img src="<?php echo (SAKURA_STATIC_ASSETS_HOST);?>gh/MomentQYC/sakura@static/img/Sakura/images/sns/wechat.png"/></a>
|
<li class="wechat"><a href="#"><img src="<?php echo (SAKURA_STATIC_ASSETS_HOST);?>gh/mashirozx/sakura@static/img/Sakura/images/sns/wechat.png"/></a>
|
||||||
<div class="wechatInner">
|
<div class="wechatInner">
|
||||||
<img src="<?php echo akina_option('wechat', ''); ?>" alt="WeChat">
|
<img src="<?php echo akina_option('wechat', ''); ?>" alt="WeChat">
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
<?php if (akina_option('lofter')){ ?>
|
<?php if (akina_option('lofter')){ ?>
|
||||||
<li><a href="<?php echo akina_option('lofter', ''); ?>" target="_blank" class="social-lofter" title="lofter"><img src="<?php echo (SAKURA_STATIC_ASSETS_HOST);?>gh/MomentQYC/sakura@static/img/Sakura/images/sns/lofter.png"/></a></li>
|
<li><a href="<?php echo akina_option('lofter', ''); ?>" target="_blank" class="social-lofter" title="lofter"><img src="<?php echo (SAKURA_STATIC_ASSETS_HOST);?>gh/mashirozx/sakura@static/img/Sakura/images/sns/lofter.png"/></a></li>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
<?php if (akina_option('bili')){ ?>
|
<?php if (akina_option('bili')){ ?>
|
||||||
<li><a href="<?php echo akina_option('bili', ''); ?>" target="_blank" class="social-bili" title="bilibili"><img src="<?php echo (SAKURA_STATIC_ASSETS_HOST);?>gh/MomentQYC/sakura@static/img/Sakura/images/sns/bilibili.png"/></a></li>
|
<li><a href="<?php echo akina_option('bili', ''); ?>" target="_blank" class="social-bili" title="bilibili"><img src="<?php echo (SAKURA_STATIC_ASSETS_HOST);?>gh/mashirozx/sakura@static/img/Sakura/images/sns/bilibili.png"/></a></li>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
<?php if (akina_option('youku')){ ?>
|
<?php if (akina_option('youku')){ ?>
|
||||||
<li><a href="<?php echo akina_option('youku', ''); ?>" target="_blank" class="social-youku" title="youku"><img src="<?php echo (SAKURA_STATIC_ASSETS_HOST);?>gh/MomentQYC/sakura@static/img/Sakura/images/sns/youku.png"/></a></li>
|
<li><a href="<?php echo akina_option('youku', ''); ?>" target="_blank" class="social-youku" title="youku"><img src="<?php echo (SAKURA_STATIC_ASSETS_HOST);?>gh/mashirozx/sakura@static/img/Sakura/images/sns/youku.png"/></a></li>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
<?php if (akina_option('wangyiyun')){ ?>
|
<?php if (akina_option('wangyiyun')){ ?>
|
||||||
<li><a href="<?php echo akina_option('wangyiyun', ''); ?>" target="_blank" class="social-wangyiyun" title="CloudMusic"><img src="<?php echo (SAKURA_STATIC_ASSETS_HOST);?>gh/MomentQYC/sakura@static/img/Sakura/images/sns/wangyiyun.png"/></a></li>
|
<li><a href="<?php echo akina_option('wangyiyun', ''); ?>" target="_blank" class="social-wangyiyun" title="CloudMusic"><img src="<?php echo (SAKURA_STATIC_ASSETS_HOST);?>gh/mashirozx/sakura@static/img/Sakura/images/sns/wangyiyun.png"/></a></li>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
<?php if (akina_option('twitter')){ ?>
|
<?php if (akina_option('twitter')){ ?>
|
||||||
<li><a href="<?php echo akina_option('twitter', ''); ?>" target="_blank" class="social-wangyiyun" title="Twitter"><img src="<?php echo (SAKURA_STATIC_ASSETS_HOST);?>gh/MomentQYC/sakura@static/img/Sakura/images/sns/twitter.png"/></a></li>
|
<li><a href="<?php echo akina_option('twitter', ''); ?>" target="_blank" class="social-wangyiyun" title="Twitter"><img src="<?php echo (SAKURA_STATIC_ASSETS_HOST);?>gh/mashirozx/sakura@static/img/Sakura/images/sns/twitter.png"/></a></li>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
<?php if (akina_option('facebook')){ ?>
|
<?php if (akina_option('facebook')){ ?>
|
||||||
<li><a href="<?php echo akina_option('facebook', ''); ?>" target="_blank" class="social-wangyiyun" title="Facebook"><img src="<?php echo (SAKURA_STATIC_ASSETS_HOST);?>gh/MomentQYC/sakura@static/img/Sakura/images/sns/facebook.png"/></a></li>
|
<li><a href="<?php echo akina_option('facebook', ''); ?>" target="_blank" class="social-wangyiyun" title="Facebook"><img src="<?php echo (SAKURA_STATIC_ASSETS_HOST);?>gh/mashirozx/sakura@static/img/Sakura/images/sns/facebook.png"/></a></li>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
<?php if (akina_option('jianshu')){ ?>
|
<?php if (akina_option('jianshu')){ ?>
|
||||||
<li><a href="<?php echo akina_option('jianshu', ''); ?>" target="_blank" class="social-wangyiyun" title="Jianshu"><img src="<?php echo (SAKURA_STATIC_ASSETS_HOST);?>gh/MomentQYC/sakura@static/img/Sakura/images/sns/jianshu.png"/></a></li>
|
<li><a href="<?php echo akina_option('jianshu', ''); ?>" target="_blank" class="social-wangyiyun" title="Jianshu"><img src="<?php echo (SAKURA_STATIC_ASSETS_HOST);?>gh/mashirozx/sakura@static/img/Sakura/images/sns/jianshu.png"/></a></li>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
<?php if (akina_option('zhihu')){ ?>
|
<?php if (akina_option('zhihu')){ ?>
|
||||||
<li><a href="<?php echo akina_option('zhihu', ''); ?>" target="_blank" class="social-wangyiyun" title="Zhihu"><img src="<?php echo (SAKURA_STATIC_ASSETS_HOST);?>gh/MomentQYC/sakura@static/img/Sakura/images/sns/zhihu.png"/></a></li>
|
<li><a href="<?php echo akina_option('zhihu', ''); ?>" target="_blank" class="social-wangyiyun" title="Zhihu"><img src="<?php echo (SAKURA_STATIC_ASSETS_HOST);?>gh/mashirozx/sakura@static/img/Sakura/images/sns/zhihu.png"/></a></li>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
<?php if (akina_option('csdn')){ ?>
|
<?php if (akina_option('csdn')){ ?>
|
||||||
<li><a href="<?php echo akina_option('csdn', ''); ?>" target="_blank" class="social-wangyiyun" title="CSDN"><img src="<?php echo (SAKURA_STATIC_ASSETS_HOST);?>gh/MomentQYC/sakura@static/img/Sakura/images/sns/csdn.png"/></a></li>
|
<li><a href="<?php echo akina_option('csdn', ''); ?>" target="_blank" class="social-wangyiyun" title="CSDN"><img src="<?php echo (SAKURA_STATIC_ASSETS_HOST);?>gh/mashirozx/sakura@static/img/Sakura/images/sns/csdn.png"/></a></li>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
<?php if (akina_option('email_name') && akina_option('email_domain')){ ?>
|
<?php if (akina_option('email_name') && akina_option('email_domain')){ ?>
|
||||||
<li><a onclick="mail_me()" class="social-wangyiyun" title="E-mail"><img src="<?php echo (SAKURA_STATIC_ASSETS_HOST);?>gh/MomentQYC/sakura@static/img/Sakura/images/sns/email.svg"/></a></li>
|
<li><a onclick="mail_me()" class="social-wangyiyun" title="E-mail"><img src="<?php echo (SAKURA_STATIC_ASSETS_HOST);?>gh/mashirozx/sakura@static/img/Sakura/images/sns/email.svg"/></a></li>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
<li id="bg-next"><img src="<?php echo (SAKURA_STATIC_ASSETS_HOST);?>gh/MomentQYC/sakura@static/img/Sakura/images/next-b.svg"/></li>
|
<li id="bg-next"><img src="<?php echo (SAKURA_STATIC_ASSETS_HOST);?>gh/mashirozx/sakura@static/img/Sakura/images/next-b.svg"/></li>
|
||||||
</div>
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
</div>
|
</div>
|
||||||
|
@ -8,10 +8,10 @@ if ( akina_option('post_nepre') == 'yes') {
|
|||||||
?>
|
?>
|
||||||
<section class="post-squares nextprev">
|
<section class="post-squares nextprev">
|
||||||
<div class="post-nepre <?php if(get_next_post()){echo 'half';}else{echo 'full';} ?> previous">
|
<div class="post-nepre <?php if(get_next_post()){echo 'half';}else{echo 'full';} ?> previous">
|
||||||
<?php previous_post_link('%link','<div class="background lazyload" style="background-image:url('.SAKURA_STATIC_ASSETS_HOST.'/gh/MomentQYC/sakura@static/img/svg/loader/orange.progress-bar-stripe-loader.svg);" data-src="'.get_prev_thumbnail_url().'"></div><span class="label">Previous Post</span><div class="info"><h3>%title</h3><hr></div>') ?>
|
<?php previous_post_link('%link','<div class="background lazyload" style="background-image:url('.SAKURA_STATIC_ASSETS_HOST.'/gh/mashirozx/sakura@static/img/svg/loader/orange.progress-bar-stripe-loader.svg);" data-src="'.get_prev_thumbnail_url().'"></div><span class="label">Previous Post</span><div class="info"><h3>%title</h3><hr></div>') ?>
|
||||||
</div>
|
</div>
|
||||||
<div class="post-nepre <?php if(get_previous_post()){echo 'half';}else{echo 'full';} ?> next">
|
<div class="post-nepre <?php if(get_previous_post()){echo 'half';}else{echo 'full';} ?> next">
|
||||||
<?php next_post_link('%link','<div class="background lazyload" style="background-image:url('.SAKURA_STATIC_ASSETS_HOST.'/gh/MomentQYC/sakura@static/img/svg/loader/orange.progress-bar-stripe-loader.svg);" data-src="'.get_next_thumbnail_url().'"></div><span class="label">Next Post</span><div class="info"><h3>%title</h3><hr></div>') ?>
|
<?php next_post_link('%link','<div class="background lazyload" style="background-image:url('.SAKURA_STATIC_ASSETS_HOST.'/gh/mashirozx/sakura@static/img/svg/loader/orange.progress-bar-stripe-loader.svg);" data-src="'.get_next_thumbnail_url().'"></div><span class="label">Next Post</span><div class="info"><h3>%title</h3><hr></div>') ?>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
<?php } ?>
|
<?php } ?>
|
@ -27,7 +27,7 @@ $the_cat = get_the_category();
|
|||||||
?>
|
?>
|
||||||
<article class="post post-list-thumb <?php echo $class; ?>" itemscope="" itemtype="http://schema.org/BlogPosting">
|
<article class="post post-list-thumb <?php echo $class; ?>" itemscope="" itemtype="http://schema.org/BlogPosting">
|
||||||
<div class="post-thumb">
|
<div class="post-thumb">
|
||||||
<a href="<?php the_permalink(); ?>"><img class="lazyload" src="<?php echo (SAKURA_STATIC_ASSETS_HOST);?>gh/MomentQYC/sakura@static/svg/loader/orange.progress-bar-stripe-loader.svg" data-src="<?php echo $post_img; ?>"></a>
|
<a href="<?php the_permalink(); ?>"><img class="lazyload" src="<?php echo (SAKURA_STATIC_ASSETS_HOST);?>gh/mashirozx/sakura@static/svg/loader/orange.progress-bar-stripe-loader.svg" data-src="<?php echo $post_img; ?>"></a>
|
||||||
</div><!-- thumbnail-->
|
</div><!-- thumbnail-->
|
||||||
<div class="post-content-wrap">
|
<div class="post-content-wrap">
|
||||||
<div class="post-content">
|
<div class="post-content">
|
||||||
|
@ -10,7 +10,7 @@ get_header();
|
|||||||
<?php if(!is_user_logged_in()){ ?>
|
<?php if(!is_user_logged_in()){ ?>
|
||||||
<div class="ex-login">
|
<div class="ex-login">
|
||||||
<div class="ex-login-title">
|
<div class="ex-login-title">
|
||||||
<p><img src="<?php echo (SAKURA_STATIC_ASSETS_HOST);?>gh/MomentQYC/sakura@static/img/Sakura/images/none.png"></p>
|
<p><img src="<?php echo (SAKURA_STATIC_ASSETS_HOST);?>gh/mashirozx/sakura@static/img/Sakura/images/none.png"></p>
|
||||||
</div>
|
</div>
|
||||||
<form action="<?php echo home_url(); ?>/wp-login.php" method="post">
|
<form action="<?php echo home_url(); ?>/wp-login.php" method="post">
|
||||||
<p><input type="text" name="log" id="log" value="<?php echo $_POST['log']; ?>" size="25" placeholder="Name" required /></p>
|
<p><input type="text" name="log" id="log" value="<?php echo $_POST['log']; ?>" size="25" placeholder="Name" required /></p>
|
||||||
|
Loading…
Reference in New Issue
Block a user