mirror of
https://github.com/mashirozx/sakura.git
synced 2024-12-12 09:54:35 +08:00
Add a new function
This commit is contained in:
parent
0128ba483b
commit
38087579d2
File diff suppressed because one or more lines are too long
2
cdn/css/src/font-awesome.min.css
vendored
2
cdn/css/src/font-awesome.min.css
vendored
File diff suppressed because one or more lines are too long
@ -1,6 +1,6 @@
|
||||
@font-face {
|
||||
font-family:"socialshare";src:url("https://cdn.jsdelivr.net/gh/moezx/share.js@1.0.3/src/fonts/iconfont.eot");
|
||||
src:url("https://cdn.jsdelivr.net/gh/moezx/share.js@1.0.3/src/fonts/iconfont.eot?#iefix") format("embedded-opentype"),url("https://cdn.jsdelivr.net/gh/moezx/share.js@1.0.3/src/fonts/iconfont.woff") format("woff"),url("https://cdn.jsdelivr.net/gh/moezx/share.js@1.0.3/src/fonts/iconfont.ttf") format("truetype"),url("https://cdn.jsdelivr.net/gh/moezx/share.js@1.0.3/src/fonts/iconfont.svg#iconfont") format("svg")
|
||||
font-family:"socialshare";src:url("https://test1.jsdelivr.net/gh/moezx/share.js@1.0.3/src/fonts/iconfont.eot");
|
||||
src:url("https://test1.jsdelivr.net/gh/moezx/share.js@1.0.3/src/fonts/iconfont.eot?#iefix") format("embedded-opentype"),url("https://test1.jsdelivr.net/gh/moezx/share.js@1.0.3/src/fonts/iconfont.woff") format("woff"),url("https://test1.jsdelivr.net/gh/moezx/share.js@1.0.3/src/fonts/iconfont.ttf") format("truetype"),url("https://test1.jsdelivr.net/gh/moezx/share.js@1.0.3/src/fonts/iconfont.svg#iconfont") format("svg")
|
||||
}
|
||||
|
||||
.social-share {
|
||||
|
@ -738,7 +738,7 @@
|
||||
padding: 2px;
|
||||
text-shadow: none;
|
||||
border-radius: 0 0 5px 5px;
|
||||
cursor: url(https://cdn.jsdelivr.net/gh/moezx/cdn@3.1.9/img/Sakura/cursor/texto.cur), auto
|
||||
cursor: url(https://test1.jsdelivr.net/gh/moezx/cdn@3.1.9/img/Sakura/cursor/texto.cur), auto
|
||||
}
|
||||
|
||||
.entry-content pre.highlight-wrap code[data-rel]:before {
|
||||
|
@ -235,7 +235,7 @@ body.dark .entry-content tr:nth-child(even){background-color: unset}
|
||||
padding: 2px;
|
||||
text-shadow: none;
|
||||
border-radius: 0 0 5px 5px;
|
||||
cursor: url(https://cdn.jsdelivr.net/gh/moezx/cdn@3.1.9/img/Sakura/cursor/texto.cur), auto
|
||||
cursor: url(https://test1.jsdelivr.net/gh/moezx/cdn@3.1.9/img/Sakura/cursor/texto.cur), auto
|
||||
}
|
||||
|
||||
.highlight-wrap code[data-rel]:before {
|
||||
|
@ -28,13 +28,13 @@ mashiro_option.skin_bg6 = "<?php echo $bg_arry[6] ?>";
|
||||
mashiro_option.skin_bg7 = "<?php echo $bg_arry[7] ?>";
|
||||
<?php }else {?>
|
||||
mashiro_option.skin_bg0 = "none";
|
||||
mashiro_option.skin_bg1 = "https://cdn.jsdelivr.net/gh/spirit1431007/cdn@1.6/img/sakura.png";
|
||||
mashiro_option.skin_bg2 = "https://cdn.jsdelivr.net/gh/spirit1431007/cdn@1.6/img/plaid2dbf8.jpg";
|
||||
mashiro_option.skin_bg3 = "https://cdn.jsdelivr.net/gh/spirit1431007/cdn@1.6/img/star02.png";
|
||||
mashiro_option.skin_bg4 = "https://cdn.jsdelivr.net/gh/spirit1431007/cdn@1.6/img/kyotoanimation.png";
|
||||
mashiro_option.skin_bg5 = "https://cdn.jsdelivr.net/gh/spirit1431007/cdn@1.6/img/dot_orange.gif";
|
||||
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/mashirozx/sakura@static/cdn/img/plaid2dbf8.jpg";
|
||||
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/mashirozx/sakura@static/cdn/img/kyotoanimation.png";
|
||||
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_bg7 = "https://cdn.jsdelivr.net/gh/moezx/cdn@3.1.2/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 } ?>
|
||||
|
||||
mashiro_option.darkmode = <?php if ( akina_option('darkmode') ){ echo 'true'; } else { echo 'false'; } ?>;
|
||||
@ -67,7 +67,7 @@ mashiro_option.entry_content_theme = "<?php echo akina_option('entry_content_the
|
||||
<?php if(akina_option('jsdelivr_cdn_test')){ ?>
|
||||
mashiro_option.jsdelivr_css_src = "<?php echo get_template_directory_uri() ?>/cdn/css/lib.css?<?php echo SAKURA_VERSION.akina_option('cookie_version', ''); ?>";
|
||||
<?php } else { ?>
|
||||
mashiro_option.jsdelivr_css_src = "https://cdn.jsdelivr.net/gh/mashirozx/Sakura@<?php echo SAKURA_VERSION; ?>/cdn/css/lib.min.css";
|
||||
mashiro_option.jsdelivr_css_src = "<?php echo (SAKURA_STATIC_ASSETS_HOST);?>gh/mashirozx/Sakura@<?php echo SAKURA_VERSION; ?>/cdn/css/lib.min.css";
|
||||
<?php } ?>
|
||||
<?php if (akina_option('aplayer_server') != 'off'): ?>
|
||||
mashiro_option.float_player_on = true;
|
||||
|
@ -313,7 +313,7 @@ function the_headPattern(){
|
||||
if(!is_home() && $full_image_url) : ?>
|
||||
<div class="pattern-center-blank"></div>
|
||||
<div class="pattern-center <?php if(is_single()){echo $center;} ?>">
|
||||
<div class="pattern-attachment-img lazyload" style="background-image: url(https://cdn.jsdelivr.net/gh/moezx/cdn@3.0.1/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>
|
||||
</div>
|
||||
<?php else :
|
||||
@ -358,13 +358,13 @@ function the_video_headPattern_hls(){
|
||||
$t .= the_title( '<h1 class="entry-title">', '</h1>', false);
|
||||
}elseif(is_archive()){
|
||||
$full_image_url = z_taxonomy_image_url();
|
||||
$thubm_image_url = 'https://cdn.jsdelivr.net/gh/moezx/cdn@3.0.1/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() : ''; // 描述
|
||||
$t .= '<h1 class="cat-title">'.single_cat_title('', false).'</h1>';
|
||||
$t .= ' <span class="cat-des">'.$des.'</span>';
|
||||
}elseif(is_search()){
|
||||
$full_image_url = get_random_bg_url();
|
||||
$thubm_image_url = 'https://cdn.jsdelivr.net/gh/moezx/cdn@3.0.1/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>';
|
||||
}
|
||||
$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);
|
||||
}elseif(is_archive()){
|
||||
$full_image_url = z_taxonomy_image_url();
|
||||
$thubm_image_url = 'https://cdn.jsdelivr.net/gh/moezx/cdn@3.0.1/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() : ''; // 描述
|
||||
$t .= '<h1 class="cat-title">'.single_cat_title('', false).'</h1>';
|
||||
$t .= ' <span class="cat-des">'.$des.'</span>';
|
||||
}elseif(is_search()){
|
||||
$full_image_url = get_random_bg_url();
|
||||
$thubm_image_url = 'https://cdn.jsdelivr.net/gh/moezx/cdn@3.0.1/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>';
|
||||
}
|
||||
$thubm_image_url = $thubm_image_url . "#lazyload-blur";
|
||||
@ -485,7 +485,7 @@ function header_user_menu(){
|
||||
</div>
|
||||
<?php
|
||||
}else{
|
||||
$ava = 'https://cdn.jsdelivr.net/gh/moezx/cdn@3.1.9/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';
|
||||
?>
|
||||
<div class="header-user-avatar">
|
||||
@ -933,7 +933,7 @@ function siren_get_os($ua){
|
||||
function siren_get_useragent($ua){
|
||||
if(akina_option('open_useragent')){
|
||||
// $imgurl = get_bloginfo('template_directory') . '/images/ua/';
|
||||
$imgurl = 'https://cdn.jsdelivr.net/gh/moezx/cdn@3.2.7/img/Sakura/images/ua/svg/';
|
||||
$imgurl = SAKURA_STATIC_ASSETS_HOST.'gh/mashirozx/sakura@static/img/Sakura/images/ua/svg/';
|
||||
$browser = siren_get_browsers($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>';
|
||||
@ -944,7 +944,7 @@ function siren_get_useragent($ua){
|
||||
// UA 显示移动定制
|
||||
function mobile_get_useragent_icon($ua){
|
||||
if(akina_option('open_useragent')){
|
||||
$imgurl = 'https://cdn.jsdelivr.net/gh/moezx/cdn@3.2.7/img/Sakura/images/ua/svg/';
|
||||
$imgurl = SAKURA_STATIC_ASSETS_HOST.'gh/mashirozx/sakura@static/img/Sakura/images/ua/svg/';
|
||||
$browser = siren_get_browsers($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>';
|
||||
|
@ -210,7 +210,7 @@ function attach_image() {
|
||||
}, 1000);
|
||||
if (res.status == 200) {
|
||||
var get_the_url = res.proxy;
|
||||
$('#upload-img-show').append('<img class="lazyload upload-image-preview" src="https://cdn.jsdelivr.net/gh/moezx/cdn@3.0.2/img/svg/loader/trans.ajax-spinner-preloader.svg" data-src="' + get_the_url + '" onclick="window.open(\'' + get_the_url + '\')" onerror="imgError(this)" />');
|
||||
$('#upload-img-show').append('<img class="lazyload upload-image-preview" src="https://test1.jsdelivr.net/gh/moezx/cdn@3.0.2/img/svg/loader/trans.ajax-spinner-preloader.svg" data-src="' + get_the_url + '" onclick="window.open(\'' + get_the_url + '\')" onerror="imgError(this)" />');
|
||||
lazyload();
|
||||
addComment.createButterbar("图片上传成功~<br>Uploaded successfully~");
|
||||
grin(get_the_url, type = 'Img');
|
||||
@ -606,7 +606,7 @@ function coverVideoIni() {
|
||||
if (mashiro_global.variables.has_hls){
|
||||
loadHls();
|
||||
}else{
|
||||
$.getScript("https://cdn.jsdelivr.net/gh/mashirozx/Sakura@3.3.3/cdn/js/src/16.hls.js", function(){
|
||||
$.getScript("https://test1.jsdelivr.net/gh/mashirozx/Sakura@3.3.3/cdn/js/src/16.hls.js", function(){
|
||||
loadHls();
|
||||
mashiro_global.variables.has_hls = true;
|
||||
});
|
||||
@ -1071,7 +1071,7 @@ mashiro_global.ini.normalize();
|
||||
loadCSS(mashiro_option.jsdelivr_css_src);
|
||||
loadCSS(mashiro_option.entry_content_theme_src);
|
||||
loadCSS("https://at.alicdn.com/t/font_679578_qyt5qzzavdo39pb9.css");
|
||||
loadCSS("https://cdn.jsdelivr.net/npm/aplayer@1.10.1/dist/APlayer.min.css");
|
||||
loadCSS("https://test1.jsdelivr.net/npm/aplayer@1.10.1/dist/APlayer.min.css");
|
||||
loadCSS("https://fonts.googleapis.com/css?family=Noto+SerifMerriweather|Merriweather+Sans|Source+Code+Pro|Ubuntu:400,700|Noto+Serif+SC");
|
||||
(function webpackUniversalModuleDefinition(b, a) {
|
||||
if (typeof exports === "object" && typeof module === "object") {
|
||||
|
@ -1959,7 +1959,7 @@ msgstr "暂未开放注册。"
|
||||
#~ msgstr "透明度0.1"
|
||||
|
||||
#~ msgid "Transparency 0.2"
|
||||
#~ msgstr "明度0.2"
|
||||
#~ msgstr "透明度0.2"
|
||||
|
||||
#~ msgid "Transparency 0.3"
|
||||
#~ msgstr "透明度0.3"
|
||||
|
@ -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>
|
||||
<div class="feature-content">
|
||||
<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="https://cdn.jsdelivr.net/gh/moezx/cdn@3.0.1/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 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>
|
||||
|
@ -17,119 +17,119 @@
|
||||
<p><?php echo akina_option('admin_des', 'Hi, Mashiro?'); ?></p>
|
||||
<?php if (akina_option('social_style')=="v2"): ?>
|
||||
<div class="top-social_v2">
|
||||
<li id="bg-pre"><img class="flipx" src="https://cdn.jsdelivr.net/gh/moezx/cdn@3.1.9/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')){ ?>
|
||||
<li><a href="<?php echo akina_option('github', ''); ?>" target="_blank" class="social-github" title="github"><img src="https://cdn.jsdelivr.net/gh/moezx/cdn@3.1.9/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 if (akina_option('sina')){ ?>
|
||||
<li><a href="<?php echo akina_option('sina', ''); ?>" target="_blank" class="social-sina" title="sina"><img src="https://cdn.jsdelivr.net/gh/moezx/cdn@3.1.9/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 if (akina_option('telegram')){ ?>
|
||||
<li><a href="<?php echo akina_option('telegram', ''); ?>" target="_blank" class="social-lofter" title="telegram"><img src="https://cdn.jsdelivr.net/gh/moezx/cdn@3.1.9/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 if (akina_option('qq')){ ?>
|
||||
<li class="qq"><a href="<?php echo akina_option('qq', ''); ?>" title="Initiate chat ?"><img src="https://cdn.jsdelivr.net/gh/moezx/cdn@3.1.9/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 if (akina_option('qzone')){ ?>
|
||||
<li><a href="<?php echo akina_option('qzone', ''); ?>" target="_blank" class="social-qzone" title="qzone"><img src="https://cdn.jsdelivr.net/gh/moezx/cdn@3.1.9/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 if (akina_option('wechat')){ ?>
|
||||
<li class="wechat"><a href="#"><img src="https://cdn.jsdelivr.net/gh/moezx/cdn@3.1.9/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">
|
||||
<img src="<?php echo akina_option('wechat', ''); ?>" alt="WeChat">
|
||||
</div>
|
||||
</li>
|
||||
<?php } ?>
|
||||
<?php if (akina_option('lofter')){ ?>
|
||||
<li><a href="<?php echo akina_option('lofter', ''); ?>" target="_blank" class="social-lofter" title="lofter"><img src="https://cdn.jsdelivr.net/gh/moezx/cdn@3.1.9/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 if (akina_option('bili')){ ?>
|
||||
<li><a href="<?php echo akina_option('bili', ''); ?>" target="_blank" class="social-bili" title="bilibili"><img src="https://cdn.jsdelivr.net/gh/moezx/cdn@3.1.9/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 if (akina_option('youku')){ ?>
|
||||
<li><a href="<?php echo akina_option('youku', ''); ?>" target="_blank" class="social-youku" title="youku"><img src="https://cdn.jsdelivr.net/gh/moezx/cdn@3.1.9/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 if (akina_option('wangyiyun')){ ?>
|
||||
<li><a href="<?php echo akina_option('wangyiyun', ''); ?>" target="_blank" class="social-wangyiyun" title="CloudMusic"><img src="https://cdn.jsdelivr.net/gh/moezx/cdn@3.1.9/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 if (akina_option('twitter')){ ?>
|
||||
<li><a href="<?php echo akina_option('twitter', ''); ?>" target="_blank" class="social-wangyiyun" title="Twitter"><img src="https://cdn.jsdelivr.net/gh/moezx/cdn@3.1.9/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 if (akina_option('facebook')){ ?>
|
||||
<li><a href="<?php echo akina_option('facebook', ''); ?>" target="_blank" class="social-wangyiyun" title="Facebook"><img src="https://cdn.jsdelivr.net/gh/moezx/cdn@3.1.9/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 if (akina_option('jianshu')){ ?>
|
||||
<li><a href="<?php echo akina_option('jianshu', ''); ?>" target="_blank" class="social-wangyiyun" title="Jianshu"><img src="https://cdn.jsdelivr.net/gh/moezx/cdn@3.1.9/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 if (akina_option('zhihu')){ ?>
|
||||
<li><a href="<?php echo akina_option('zhihu', ''); ?>" target="_blank" class="social-wangyiyun" title="Zhihu"><img src="https://cdn.jsdelivr.net/gh/moezx/cdn@3.1.9/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 if (akina_option('csdn')){ ?>
|
||||
<li><a href="<?php echo akina_option('csdn', ''); ?>" target="_blank" class="social-wangyiyun" title="CSDN"><img src="https://cdn.jsdelivr.net/gh/moezx/cdn@3.1.9/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 if (akina_option('email_name') && akina_option('email_domain')){ ?>
|
||||
<li><a onclick="mail_me()" class="social-wangyiyun" title="E-mail"><img src="https://cdn.jsdelivr.net/gh/moezx/cdn@3.1.9/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 } ?>
|
||||
<li id="bg-next"><img src="https://cdn.jsdelivr.net/gh/moezx/cdn@3.1.9/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>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<?php if (akina_option('social_style')=="v1"): ?>
|
||||
<div class="top-social">
|
||||
<li id="bg-pre"><img class="flipx" src="https://cdn.jsdelivr.net/gh/moezx/cdn@3.1.9/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')){ ?>
|
||||
<li><a href="<?php echo akina_option('github', ''); ?>" target="_blank" class="social-github" title="github"><img src="https://cdn.jsdelivr.net/gh/moezx/cdn@3.1.9/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 if (akina_option('sina')){ ?>
|
||||
<li><a href="<?php echo akina_option('sina', ''); ?>" target="_blank" class="social-sina" title="sina"><img src="https://cdn.jsdelivr.net/gh/moezx/cdn@3.1.9/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 if (akina_option('telegram')){ ?>
|
||||
<li><a href="<?php echo akina_option('telegram', ''); ?>" target="_blank" class="social-lofter" title="telegram"><img src="https://cdn.jsdelivr.net/gh/moezx/cdn@3.1.9/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 if (akina_option('qq')){ ?>
|
||||
<li class="qq"><a href="<?php echo akina_option('qq', ''); ?>" title="Initiate chat ?"><img src="https://cdn.jsdelivr.net/gh/moezx/cdn@3.1.9/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 if (akina_option('qzone')){ ?>
|
||||
<li><a href="<?php echo akina_option('qzone', ''); ?>" target="_blank" class="social-qzone" title="qzone"><img src="https://cdn.jsdelivr.net/gh/moezx/cdn@3.1.9/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/Sakura/images/sns/qzone.png"/></a></li>
|
||||
<?php } ?>
|
||||
<?php if (akina_option('wechat')){ ?>
|
||||
<li class="wechat"><a href="#"><img src="https://cdn.jsdelivr.net/gh/moezx/cdn@3.1.9/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">
|
||||
<img src="<?php echo akina_option('wechat', ''); ?>" alt="WeChat">
|
||||
</div>
|
||||
</li>
|
||||
<?php } ?>
|
||||
<?php if (akina_option('lofter')){ ?>
|
||||
<li><a href="<?php echo akina_option('lofter', ''); ?>" target="_blank" class="social-lofter" title="lofter"><img src="https://cdn.jsdelivr.net/gh/moezx/cdn@3.1.9/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 if (akina_option('bili')){ ?>
|
||||
<li><a href="<?php echo akina_option('bili', ''); ?>" target="_blank" class="social-bili" title="bilibili"><img src="https://cdn.jsdelivr.net/gh/moezx/cdn@3.1.9/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 if (akina_option('youku')){ ?>
|
||||
<li><a href="<?php echo akina_option('youku', ''); ?>" target="_blank" class="social-youku" title="youku"><img src="https://cdn.jsdelivr.net/gh/moezx/cdn@3.1.9/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 if (akina_option('wangyiyun')){ ?>
|
||||
<li><a href="<?php echo akina_option('wangyiyun', ''); ?>" target="_blank" class="social-wangyiyun" title="CloudMusic"><img src="https://cdn.jsdelivr.net/gh/moezx/cdn@3.1.9/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 if (akina_option('twitter')){ ?>
|
||||
<li><a href="<?php echo akina_option('twitter', ''); ?>" target="_blank" class="social-wangyiyun" title="Twitter"><img src="https://cdn.jsdelivr.net/gh/moezx/cdn@3.1.9/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 if (akina_option('facebook')){ ?>
|
||||
<li><a href="<?php echo akina_option('facebook', ''); ?>" target="_blank" class="social-wangyiyun" title="Facebook"><img src="https://cdn.jsdelivr.net/gh/moezx/cdn@3.1.9/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 if (akina_option('jianshu')){ ?>
|
||||
<li><a href="<?php echo akina_option('jianshu', ''); ?>" target="_blank" class="social-wangyiyun" title="Jianshu"><img src="https://cdn.jsdelivr.net/gh/moezx/cdn@3.1.9/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 if (akina_option('zhihu')){ ?>
|
||||
<li><a href="<?php echo akina_option('zhihu', ''); ?>" target="_blank" class="social-wangyiyun" title="Zhihu"><img src="https://cdn.jsdelivr.net/gh/moezx/cdn@3.1.9/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 if (akina_option('csdn')){ ?>
|
||||
<li><a href="<?php echo akina_option('csdn', ''); ?>" target="_blank" class="social-wangyiyun" title="CSDN"><img src="https://cdn.jsdelivr.net/gh/moezx/cdn@3.1.9/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 if (akina_option('email_name') && akina_option('email_domain')){ ?>
|
||||
<li><a onclick="mail_me()" class="social-wangyiyun" title="E-mail"><img src="https://cdn.jsdelivr.net/gh/moezx/cdn@3.1.9/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 } ?>
|
||||
<li id="bg-next"><img src="https://cdn.jsdelivr.net/gh/moezx/cdn@3.1.9/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>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
|
@ -8,10 +8,10 @@ if ( akina_option('post_nepre') == 'yes') {
|
||||
?>
|
||||
<section class="post-squares nextprev">
|
||||
<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(https://cdn.jsdelivr.net/gh/moezx/cdn@3.0.1/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 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(https://cdn.jsdelivr.net/gh/moezx/cdn@3.0.1/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>
|
||||
</section>
|
||||
<?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">
|
||||
<div class="post-thumb">
|
||||
<a href="<?php the_permalink(); ?>"><img class="lazyload" src="https://cdn.jsdelivr.net/gh/moezx/cdn@3.0.1/img/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/img/svg/loader/orange.progress-bar-stripe-loader.svg" data-src="<?php echo $post_img; ?>"></a>
|
||||
</div><!-- thumbnail-->
|
||||
<div class="post-content-wrap">
|
||||
<div class="post-content">
|
||||
|
@ -10,7 +10,7 @@ get_header();
|
||||
<?php if(!is_user_logged_in()){ ?>
|
||||
<div class="ex-login">
|
||||
<div class="ex-login-title">
|
||||
<p><img src="https://cdn.jsdelivr.net/gh/moezx/cdn@3.2.9/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>
|
||||
<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>
|
||||
|
Loading…
Reference in New Issue
Block a user