修复一些bug和清理无用代码

This commit is contained in:
liyukun 2021-08-15 22:54:41 +08:00
parent 1c8335e9bb
commit 46787a6e75
7 changed files with 464 additions and 879 deletions

View File

@ -10,15 +10,15 @@ if (file_exists(public_path("template/{$theme}"))){
} }
//检查是否切换模板 //检查是否切换模板
if(ismobile() == "wap" && file_exists(public_path("template/{$theme}/mobile"))) { if(ismobile() == "wap" && file_exists(public_path("template/{$theme}/mobile"))) {
$mode = "mobile/"; $mode = "mobile";
} else { } else {
$mode = "pc/"; $mode = "pc";
} }
return [ return [
// 模板路径 // 模板路径
'taglib_pre_load' => 'app\common\taglib\Zz', 'taglib_pre_load' => 'app\common\taglib\Zz',
// 模板路径 // 模板路径
'view_path' => './template/' .$theme.'/'.$mode, 'view_path' => './template/' .$theme.'/'.$mode.'/',
// 视图输出字符串内容替换 // 视图输出字符串内容替换
'tpl_replace_string' => [ 'tpl_replace_string' => [
'__STATIC__' => '/static', '__STATIC__' => '/static',

View File

@ -4,11 +4,7 @@
<title>{$zzField['title']} - {:web_config("title")}</title> <title>{$zzField['title']} - {:web_config("title")}</title>
<meta name="keywords" content="{$zzField['keywords']}" /> <meta name="keywords" content="{$zzField['keywords']}" />
<meta name="description" content="{$zzField['description']}"/> <meta name="description" content="{$zzField['description']}"/>
{include file="public/head" /} {include file="public/head" /}
<link rel="stylesheet" href="__LIB__/nprogress/nprogress.min.css">
<script src="__LIB__/nprogress/nprogress.min.js"></script>
<script src="__JS__/tools.js"></script>
<style> <style>
.post-content-post img { .post-content-post img {
border-radius: 10px; border-radius: 10px;
@ -19,8 +15,6 @@
box-shadow: 0 0 5px 0 rgba(0, 0, 0, .1); box-shadow: 0 0 5px 0 rgba(0, 0, 0, .1);
} }
</style> </style>
<script src="__JS__/qrcode.min.js"></script>
<script src="__JS__/clipboard.min.js"></script>
<link rel="stylesheet" href="__CSS__/comment-module.css"> <link rel="stylesheet" href="__CSS__/comment-module.css">
<link rel="stylesheet" href="__CSS__/post-content.css"> <link rel="stylesheet" href="__CSS__/post-content.css">
<link rel="stylesheet" href="__LIB__/fancybox/jquery.fancybox.min.css"> <link rel="stylesheet" href="__LIB__/fancybox/jquery.fancybox.min.css">
@ -179,27 +173,25 @@
<div class="post-turn-page-plane"> <div class="post-turn-page-plane">
<div class="post-turn-page post-turn-page-previous" style="background-image:url()"> <div class="post-turn-page post-turn-page-previous" style="background-image:url()">
<div class="post-turn-page-main"> <div class="post-turn-page-main">
{zz:prenext get="pre" cid="$zzField['category_id']"}
<div> <div>
<a href="../oracle-ebs-pur-inventory-table/index1.html">oracle-EBS-采购单创建接收检验入库经历主要表(多图)</a> <a href="{:url('/index/article/detail')}?id={$field['id']}">{$field['title']}</a>
</div> </div>
<div class="post-turn-page-link-pre"> <div class="post-turn-page-link-pre">
<a href="../oracle-ebs-pur-inventory-table/index1.html">< <a href="{:url('/index/article/detail')}?id={$field['id']}"><<上一篇></上一篇></a>
<上一篇></上一篇>
</a>
</div> </div>
{/zz:prenext}
</div> </div>
</div> </div>
<div class="post-turn-page post-turn-page-next" <div class="post-turn-page post-turn-page-next" style="background-image:url(../wp-content/uploads/2020/12/oracleAP_Payments_GL_Voucher.png)">
style="background-image:url(../wp-content/uploads/2020/12/oracleAP_Payments_GL_Voucher.png)"> {zz:prenext get="next" cid="$zzField['category_id']"}
<div class="post-turn-page-main"> <div class="post-turn-page-main">
<div> <a href="{:url('/index/article/detail')}?id={$field['id']}">{$field['title']}</a>
<a href="javascript:;">oracle-EBS-PL/sql AP GL总账付款凭证</a>
</div>
<div class="post-turn-page-link-next"> <div class="post-turn-page-link-next">
<a href="javascript:;">下一篇>></a> <a href="javascript:;">下一篇>></a>
</div> </div>
</div> </div>
{/zz:prenext}
</div> </div>
</div> </div>
<script> <script>
@ -311,216 +303,199 @@
<li><a href="">oracle-EBS-AP应付采购单匹配付款经历主要表(多图)</a></li> <li><a href="">oracle-EBS-AP应付采购单匹配付款经历主要表(多图)</a></li>
</ul> </ul>
</div> </div>
</div> </div>
<div id="comments" class="responsesWrapper"> <div id="comments" class="responsesWrapper">
<div class="reply-title"> <div class="reply-title">
发表评论 发表评论
</div> </div>
<div id="respond" class="comment-respond"> <div id="respond" class="comment-respond">
<h3 id="reply-title" class="comment-reply-title"><small><a rel="nofollow" <h3 id="reply-title" class="comment-reply-title">
id="cancel-comment-reply-link" <small>
href="#respond" <a rel="nofollow" id="cancel-comment-reply-link" href="#respond" style="display:none;">
style="display:none;">取消回复</a></small> 取消回复
</a>
</small>
</h3> </h3>
<form action="https://www.zyxpp.com/wp-comments-post.php" method="post" id="form_comment" <form action="https://www.zyxpp.com/wp-comments-post.php" method="post"
class="comment-form"> id="form_comment" class="comment-form">
<div class="comment-user-plane"> <div class="comment-user-plane">
<div class="logged-in-as"><img class="comment-user-avatar" width="48" height="auto" <div class="logged-in-as">
src="../wp-content/plugins/wp-user-avatar/images/wpua-96x96.png" <img class="comment-user-avatar" width="48" height="auto" src="../wp-content/plugins/wp-user-avatar/images/wpua-96x96.png"
alt=""></div> alt="">
<div class="comment_form_textarea_box"><textarea class="comment_form_textarea" </div>
name="comment" id="comment" <div class="comment_form_textarea_box">
placeholder="发表你的看法" <textarea class="comment_form_textarea" name="comment" id="comment" placeholder="发表你的看法" rows="5"></textarea>
rows="5"></textarea>
<div id="comment_addplane"> <div id="comment_addplane">
<button class="popover-btn popover-btn-face" type="button"><i <button class="popover-btn popover-btn-face" type="button">
class="far fa-smile-wink"></i> 添加表情 <i class="far fa-smile-wink">
</i>
添加表情
</button> </button>
<div class="conment-face-plane"> <div class="conment-face-plane">
<img class="img-pace" <img class="img-pace" src="__IMG__/face/yun.gif" width="30"
src="/template/default//img/face/yun.gif" width="30" facename="yun">
facename="yun"><img class="img-pace" <img class="img-pace" src="__IMG__/face/youling.gif" width="30"
src="/template/default//img/face/youling.gif" facename="youling">
width="30" facename="youling"><img class="img-pace" <img class="img-pace" src="__IMG__/face/yiwen.gif" width="30"
src="/template/default//img/face/yiwen.gif" facename="yiwen">
width="30" <img class="img-pace" src="__IMG__/face/yinxian.gif" width="30"
facename="yiwen"><img facename="yinxian">
class="img-pace" <img class="img-pace" src="__IMG__/face/xigua.gif" width="30"
src="/template/default//img/face/yinxian.gif" facename="xigua">
width="30" facename="yinxian"><img class="img-pace" <img class="img-pace" src="__IMG__/face/xieyanxiao.gif"
src="/template/default//img/face/xigua.gif" width="30" facename="xieyanxiao">
width="30" facename="xigua"><img <img class="img-pace" src="__IMG__/face/xiaoku.gif" width="30"
class="img-pace" facename="xiaoku">
src="/template/default//img/face/xieyanxiao.gif" <img class="img-pace" src="__IMG__/face/xiaojiujie.gif"
width="30" facename="xieyanxiao"><img class="img-pace" width="30" facename="xiaojiujie">
src="/template/default//img/face/xiaoku.gif" <img class="img-pace" src="__IMG__/face/wunai.gif" width="30"
width="30" facename="xiaoku"><img facename="wunai">
class="img-pace" <img class="img-pace" src="__IMG__/face/wozuimei.gif" width="30"
src="/template/default//img/face/xiaojiujie.gif" facename="wozuimei">
width="30" facename="xiaojiujie"><img class="img-pace" <img class="img-pace" src="__IMG__/face/woshou.gif" width="30"
src="/template/default//img/face/wunai.gif" facename="woshou">
width="30" facename="wunai"><img <img class="img-pace" src="__IMG__/face/weiqu.gif" width="30"
class="img-pace" facename="weiqu">
src="/template/default//img/face/wozuimei.gif" <img class="img-pace" src="__IMG__/face/tuosai.gif" width="30"
width="30" facename="wozuimei"><img class="img-pace" facename="tuosai">
src="/template/default//img/face/woshou.gif" <img class="img-pace" src="__IMG__/face/touxiao.gif" width="30"
width="30" facename="woshou"><img facename="touxiao">
class="img-pace" <img class="img-pace" src="__IMG__/face/tiaopi.gif" width="30"
src="/template/default//img/face/weiqu.gif" facename="tiaopi">
width="30" facename="weiqu"><img class="img-pace" <img class="img-pace" src="__IMG__/face/shuai.gif" width="30"
src="/template/default//img/face/tuosai.gif" facename="shuai">
width="30" facename="tuosai"><img <img class="img-pace" src="__IMG__/face/shengli.gif" width="30"
class="img-pace" facename="shengli">
src="/template/default//img/face/touxiao.gif" <img class="img-pace" src="__IMG__/face/se.gif" width="30"
width="30" facename="touxiao"><img class="img-pace" facename="se">
src="/template/default//img/face/tiaopi.gif" <img class="img-pace" src="__IMG__/face/quantou.gif" width="30"
width="30" facename="tiaopi"><img facename="quantou">
class="img-pace" <img class="img-pace" src="__IMG__/face/qinqin.gif" width="30"
src="/template/default//img/face/shuai.gif" facename="qinqin">
width="30" facename="shuai"><img class="img-pace" <img class="img-pace" src="__IMG__/face/qiang.gif" width="30"
src="/template/default//img/face/shengli.gif" facename="qiang">
width="30" facename="shengli"><img <img class="img-pace" src="__IMG__/face/piezui.gif" width="30"
class="img-pace" facename="piezui">
src="/template/default//img/face/se.gif" width="30" <img class="img-pace" src="__IMG__/face/penxue.gif" width="30"
facename="se"><img class="img-pace" facename="penxue">
src="/template/default//img/face/quantou.gif" <img class="img-pace" src="__IMG__/face/nanguo.gif" width="30"
width="30" facename="quantou"><img class="img-pace" facename="nanguo">
src="/template/default//img/face/qinqin.gif" <img class="img-pace" src="__IMG__/face/liuhan.gif" width="30"
width="30" facename="liuhan">
facename="qinqin"><img <img class="img-pace" src="__IMG__/face/lenghan.gif" width="30"
class="img-pace" facename="lenghan">
src="/template/default//img/face/qiang.gif" <img class="img-pace" src="__IMG__/face/leiben.gif" width="30"
width="30" facename="qiang"><img class="img-pace" facename="leiben">
src="/template/default//img/face/piezui.gif" <img class="img-pace" src="__IMG__/face/ku.gif" width="30"
width="30" facename="piezui"><img facename="ku">
class="img-pace" <img class="img-pace" src="__IMG__/face/koubi.gif" width="30"
src="/template/default//img/face/penxue.gif" facename="koubi">
width="30" facename="penxue"><img class="img-pace" <img class="img-pace" src="__IMG__/face/keai.gif" width="30"
src="/template/default//img/face/nanguo.gif" facename="keai">
width="30" facename="nanguo"><img <img class="img-pace" src="__IMG__/face/jingkong.gif" width="30"
class="img-pace" facename="jingkong">
src="/template/default//img/face/liuhan.gif" <img class="img-pace" src="__IMG__/face/jie.gif" width="30"
width="30" facename="liuhan"><img class="img-pace" facename="jie">
src="/template/default//img/face/lenghan.gif" <img class="img-pace" src="__IMG__/face/huaixiao.gif" width="30"
width="30" facename="lenghan"><img facename="huaixiao">
class="img-pace" <img class="img-pace" src="__IMG__/face/hanxiao.gif" width="30"
src="/template/default//img/face/leiben.gif" facename="hanxiao">
width="30" facename="leiben"><img class="img-pace" <img class="img-pace" src="__IMG__/face/haixiu.gif" width="30"
src="/template/default//img/face/ku.gif" facename="haixiu">
width="30" facename="ku"><img <img class="img-pace" src="__IMG__/face/guzhang.gif" width="30"
class="img-pace" facename="guzhang">
src="/template/default//img/face/koubi.gif" <img class="img-pace" src="__IMG__/face/ganga.gif" width="30"
width="30" facename="koubi"><img class="img-pace" facename="ganga">
src="/template/default//img/face/keai.gif" <img class="img-pace" src="__IMG__/face/fadai.gif" width="30"
width="30" facename="keai"><img facename="fadai">
class="img-pace" <img class="img-pace" src="__IMG__/face/doge.gif" width="30"
src="/template/default//img/face/jingkong.gif" facename="doge">
width="30" facename="jingkong"><img class="img-pace" <img class="img-pace" src="__IMG__/face/dabing.gif" width="30"
src="/template/default//img/face/jie.gif" facename="dabing">
width="30" facename="jie"><img <img class="img-pace" src="__IMG__/face/ciya.gif" width="30"
class="img-pace" facename="ciya">
src="/template/default//img/face/huaixiao.gif" <img class="img-pace" src="__IMG__/face/caidao.gif" width="30"
width="30" facename="huaixiao"><img class="img-pace" facename="caidao">
src="/template/default//img/face/hanxiao.gif" <img class="img-pace" src="__IMG__/face/cahan.gif" width="30"
width="30" facename="hanxiao"><img facename="cahan">
class="img-pace" <img class="img-pace" src="__IMG__/face/bizui.gif" width="30"
src="/template/default//img/face/haixiu.gif" facename="bizui">
width="30" facename="haixiu"><img class="img-pace" <img class="img-pace" src="__IMG__/face/baoquan.gif" width="30"
src="/template/default//img/face/guzhang.gif" facename="baoquan">
width="30" facename="guzhang"><img <img class="img-pace" src="__IMG__/face/aoman.gif" width="30"
class="img-pace" facename="aoman">
src="/template/default//img/face/ganga.gif" <img class="img-pace" src="__IMG__/face/aixin.gif" width="30"
width="30" facename="ganga"><img class="img-pace" facename="aixin">
src="/template/default//img/face/fadai.gif" <img class="img-pace" src="__IMG__/face/OK.gif" width="30"
width="30" facename="fadai"><img facename="OK">
class="img-pace"
src="/template/default//img/face/doge.gif" width="30"
facename="doge"><img class="img-pace"
src="/template/default//img/face/dabing.gif"
width="30" facename="dabing"><img class="img-pace"
src="/template/default//img/face/ciya.gif"
width="30"
facename="ciya"><img
class="img-pace"
src="/template/default//img/face/caidao.gif"
width="30" facename="caidao"><img class="img-pace"
src="/template/default//img/face/cahan.gif"
width="30" facename="cahan"><img
class="img-pace"
src="/template/default//img/face/bizui.gif"
width="30" facename="bizui"><img class="img-pace"
src="/template/default//img/face/baoquan.gif"
width="30" facename="baoquan"><img
class="img-pace"
src="/template/default//img/face/aoman.gif"
width="30" facename="aoman"><img class="img-pace"
src="/template/default//img/face/aixin.gif"
width="30" facename="aixin"><img
class="img-pace"
src="/template/default//img/face/OK.gif" width="30"
facename="OK">
</div> </div>
</div> </div>
</div> </div>
</div> </div>
<div class="comment_userinput"> <div class="comment_userinput">
<div class="comment-form-author"><input id="author" name="author" placeholder="昵称(*)" <div class="comment-form-author">
type="text" value="" size="30"></div> <input id="author" name="author" placeholder="昵称(*)" type="text" value="" size="30">
<div class="comment-form-email"><input id="email" name="email" type="text" </div>
placeholder="邮箱(*)" value=""></div> <div class="comment-form-email">
<div class="comment-form-url"><input id="url" placeholder="网址" name="url" type="text" <input id="email" name="email" type="text" placeholder="邮箱(*)" value="">
value="" size="30"></div> </div>
<div class="comment-form-url">
<input id="url" placeholder="网址" name="url" type="text" value="" size="30">
</div>
</div> </div>
<div class="comment-form-cookies-consent"><input id="wp-comment-cookies-consent" <div class="comment-form-cookies-consent">
name="wp-comment-cookies-consent" <input id="wp-comment-cookies-consent" name="wp-comment-cookies-consent"
type="checkbox" value="yes"> 记住用户信息 type="checkbox" value="yes">
记住用户信息
</div> </div>
<div class="form-submit"> <div class="form-submit">
<div style="text-align: right"> <div style="text-align: right">
<input name="submit" type="submit" id="submit" class="button primary-btn" <input name="submit" type="submit" id="submit" class="button primary-btn"
value="发表评论"></div> value="发表评论">
</div>
<input type='hidden' name='comment_post_ID' value='322' id='comment_post_ID'> <input type='hidden' name='comment_post_ID' value='322' id='comment_post_ID'>
<input type='hidden' name='comment_parent' id='comment_parent' value='0'> <input type='hidden' name='comment_parent' id='comment_parent' value='0'>
</div> </div>
</form> </form>
</div><!-- #respond -->
<meta content="UserComments:0" itemprop="interactionCount">
<h3 class="comments-title">共有 <span class="commentCount">0</span> 条评论</h3>
<div class="comment-sofa">
<i class="fas fa-couch"></i> 沙发空余
</div> </div>
<!-- #respond -->
<script type='text/javascript' src='../wp-includes/js/comment-reply.min.js'></script> <meta content="UserComments:0" itemprop="interactionCount">
<h3 class="comments-title">共有<span class="commentCount">0</span>条评论</h3>
<div class="comment-sofa">
<i class="fas fa-couch">
</i>
沙发空余
</div>
<script type='text/javascript' src='__JS__/comment-reply.min.js'>
</script>
<script type='text/javascript'> <script type='text/javascript'>
$('body').on('click', '.comment-reply-link',
$('body').on('click', '.comment-reply-link', function (e) { function(e) {
addComment.moveForm("li-comment-" + $(this).attr('data-commentid'), $(this).attr('data-commentid'), "respond", $(this).attr('data-postid')); addComment.moveForm("li-comment-" + $(this).attr('data-commentid'), $(this).attr('data-commentid'), "respond", $(this).attr('data-postid'));
console.log("li-comment-" + $(this).attr('data-commentid'), $(this).attr('data-commentid'), "respond", $(this).attr('data-postid')); console.log("li-comment-" + $(this).attr('data-commentid'), $(this).attr('data-commentid'), "respond", $(this).attr('data-postid'));
e.stopPropagation(); e.stopPropagation();
return false; return false;
}); });
$(document).click(function (e) { $(document).click(function(e) {
$('.conment-face-plane').css("opacity", "0"); $('.conment-face-plane').css("opacity", "0");
$('.conment-face-plane').css("visibility", "hidden"); $('.conment-face-plane').css("visibility", "hidden");
e.stopPropagation(); e.stopPropagation();
}); });
$('body').on('click', '.img-pace', function (e) { $('body').on('click', '.img-pace',
$('.comment_form_textarea').val($('.comment_form_textarea').val() + '[f=' + $(this).attr('facename') + ']') function(e) {
}); $('.comment_form_textarea').val($('.comment_form_textarea').val() + '[f=' + $(this).attr('facename') + ']')
$('body').on('click', '.popover-btn-face', function (e) { });
if ($('.conment-face-plane').css("visibility") == 'visible') { $('body').on('click', '.popover-btn-face',
$('.conment-face-plane').css("opacity", "0"); function(e) {
$('.conment-face-plane').css("visibility", "hidden"); if ($('.conment-face-plane').css("visibility") == 'visible') {
} else { $('.conment-face-plane').css("opacity", "0");
$('.conment-face-plane').css("opacity", "1"); $('.conment-face-plane').css("visibility", "hidden");
$('.conment-face-plane').css("visibility", "visible"); } else {
} $('.conment-face-plane').css("opacity", "1");
e.stopPropagation(); $('.conment-face-plane').css("visibility", "visible");
}); }
e.stopPropagation();
});
</script> </script>
<nav class="comment-navigation pages"> <nav class="comment-navigation pages">
</nav> </nav>

View File

@ -4,11 +4,7 @@
<title>{$zzField['title']} - {:web_config("title")}</title> <title>{$zzField['title']} - {:web_config("title")}</title>
<meta name="keywords" content="{$zzField['keywords']}" /> <meta name="keywords" content="{$zzField['keywords']}" />
<meta name="description" content="{$zzField['description']}"/> <meta name="description" content="{$zzField['description']}"/>
{include file="public/head" /} {include file="public/head" /}
<link rel="stylesheet" href="__LIB__/nprogress/nprogress.min.css">
<script src="__LIB__/nprogress/nprogress.min.js"></script>
<script src="__JS__/tools.js"></script>
<style> <style>
.post-content-post img { .post-content-post img {
border-radius: 10px; border-radius: 10px;
@ -19,8 +15,6 @@
box-shadow: 0 0 5px 0 rgba(0, 0, 0, .1); box-shadow: 0 0 5px 0 rgba(0, 0, 0, .1);
} }
</style> </style>
<script src="__JS__/qrcode.min.js"></script>
<script src="__JS__/clipboard.min.js"></script>
<link rel="stylesheet" href="__CSS__/comment-module.css"> <link rel="stylesheet" href="__CSS__/comment-module.css">
<link rel="stylesheet" href="__CSS__/post-content.css"> <link rel="stylesheet" href="__CSS__/post-content.css">
<link rel="stylesheet" href="__LIB__/fancybox/jquery.fancybox.min.css"> <link rel="stylesheet" href="__LIB__/fancybox/jquery.fancybox.min.css">
@ -315,208 +309,193 @@
发表评论 发表评论
</div> </div>
<div id="respond" class="comment-respond"> <div id="respond" class="comment-respond">
<h3 id="reply-title" class="comment-reply-title"><small><a rel="nofollow" <h3 id="reply-title" class="comment-reply-title">
id="cancel-comment-reply-link" <small>
href="#respond" <a rel="nofollow" id="cancel-comment-reply-link" href="#respond" style="display:none;">
style="display:none;">取消回复</a></small> 取消回复
</a>
</small>
</h3> </h3>
<form action="https://www.zyxpp.com/wp-comments-post.php" method="post" id="form_comment" <form action="https://www.zyxpp.com/wp-comments-post.php" method="post"
class="comment-form"> id="form_comment" class="comment-form">
<div class="comment-user-plane"> <div class="comment-user-plane">
<div class="logged-in-as"><img class="comment-user-avatar" width="48" height="auto" <div class="logged-in-as">
src="../wp-content/plugins/wp-user-avatar/images/wpua-96x96.png" <img class="comment-user-avatar" width="48" height="auto" src="../wp-content/plugins/wp-user-avatar/images/wpua-96x96.png"
alt=""></div> alt="">
<div class="comment_form_textarea_box"><textarea class="comment_form_textarea" </div>
name="comment" id="comment" <div class="comment_form_textarea_box">
placeholder="发表你的看法" <textarea class="comment_form_textarea" name="comment" id="comment" placeholder="发表你的看法" rows="5"></textarea>
rows="5"></textarea>
<div id="comment_addplane"> <div id="comment_addplane">
<button class="popover-btn popover-btn-face" type="button"><i <button class="popover-btn popover-btn-face" type="button">
class="far fa-smile-wink"></i> 添加表情 <i class="far fa-smile-wink">
</i>
添加表情
</button> </button>
<div class="conment-face-plane"> <div class="conment-face-plane">
<img class="img-pace" <img class="img-pace" src="__IMG__/face/yun.gif" width="30"
src="/template/default//img/face/yun.gif" width="30" facename="yun">
facename="yun"><img class="img-pace" <img class="img-pace" src="__IMG__/face/youling.gif" width="30"
src="/template/default//img/face/youling.gif" facename="youling">
width="30" facename="youling"><img class="img-pace" <img class="img-pace" src="__IMG__/face/yiwen.gif" width="30"
src="/template/default//img/face/yiwen.gif" facename="yiwen">
width="30" <img class="img-pace" src="__IMG__/face/yinxian.gif" width="30"
facename="yiwen"><img facename="yinxian">
class="img-pace" <img class="img-pace" src="__IMG__/face/xigua.gif" width="30"
src="/template/default//img/face/yinxian.gif" facename="xigua">
width="30" facename="yinxian"><img class="img-pace" <img class="img-pace" src="__IMG__/face/xieyanxiao.gif"
src="/template/default//img/face/xigua.gif" width="30" facename="xieyanxiao">
width="30" facename="xigua"><img <img class="img-pace" src="__IMG__/face/xiaoku.gif" width="30"
class="img-pace" facename="xiaoku">
src="/template/default//img/face/xieyanxiao.gif" <img class="img-pace" src="__IMG__/face/xiaojiujie.gif"
width="30" facename="xieyanxiao"><img class="img-pace" width="30" facename="xiaojiujie">
src="/template/default//img/face/xiaoku.gif" <img class="img-pace" src="__IMG__/face/wunai.gif" width="30"
width="30" facename="xiaoku"><img facename="wunai">
class="img-pace" <img class="img-pace" src="__IMG__/face/wozuimei.gif" width="30"
src="/template/default//img/face/xiaojiujie.gif" facename="wozuimei">
width="30" facename="xiaojiujie"><img class="img-pace" <img class="img-pace" src="__IMG__/face/woshou.gif" width="30"
src="/template/default//img/face/wunai.gif" facename="woshou">
width="30" facename="wunai"><img <img class="img-pace" src="__IMG__/face/weiqu.gif" width="30"
class="img-pace" facename="weiqu">
src="/template/default//img/face/wozuimei.gif" <img class="img-pace" src="__IMG__/face/tuosai.gif" width="30"
width="30" facename="wozuimei"><img class="img-pace" facename="tuosai">
src="/template/default//img/face/woshou.gif" <img class="img-pace" src="__IMG__/face/touxiao.gif" width="30"
width="30" facename="woshou"><img facename="touxiao">
class="img-pace" <img class="img-pace" src="__IMG__/face/tiaopi.gif" width="30"
src="/template/default//img/face/weiqu.gif" facename="tiaopi">
width="30" facename="weiqu"><img class="img-pace" <img class="img-pace" src="__IMG__/face/shuai.gif" width="30"
src="/template/default//img/face/tuosai.gif" facename="shuai">
width="30" facename="tuosai"><img <img class="img-pace" src="__IMG__/face/shengli.gif" width="30"
class="img-pace" facename="shengli">
src="/template/default//img/face/touxiao.gif" <img class="img-pace" src="__IMG__/face/se.gif" width="30"
width="30" facename="touxiao"><img class="img-pace" facename="se">
src="/template/default//img/face/tiaopi.gif" <img class="img-pace" src="__IMG__/face/quantou.gif" width="30"
width="30" facename="tiaopi"><img facename="quantou">
class="img-pace" <img class="img-pace" src="__IMG__/face/qinqin.gif" width="30"
src="/template/default//img/face/shuai.gif" facename="qinqin">
width="30" facename="shuai"><img class="img-pace" <img class="img-pace" src="__IMG__/face/qiang.gif" width="30"
src="/template/default//img/face/shengli.gif" facename="qiang">
width="30" facename="shengli"><img <img class="img-pace" src="__IMG__/face/piezui.gif" width="30"
class="img-pace" facename="piezui">
src="/template/default//img/face/se.gif" width="30" <img class="img-pace" src="__IMG__/face/penxue.gif" width="30"
facename="se"><img class="img-pace" facename="penxue">
src="/template/default//img/face/quantou.gif" <img class="img-pace" src="__IMG__/face/nanguo.gif" width="30"
width="30" facename="quantou"><img class="img-pace" facename="nanguo">
src="/template/default//img/face/qinqin.gif" <img class="img-pace" src="__IMG__/face/liuhan.gif" width="30"
width="30" facename="liuhan">
facename="qinqin"><img <img class="img-pace" src="__IMG__/face/lenghan.gif" width="30"
class="img-pace" facename="lenghan">
src="/template/default//img/face/qiang.gif" <img class="img-pace" src="__IMG__/face/leiben.gif" width="30"
width="30" facename="qiang"><img class="img-pace" facename="leiben">
src="/template/default//img/face/piezui.gif" <img class="img-pace" src="__IMG__/face/ku.gif" width="30"
width="30" facename="piezui"><img facename="ku">
class="img-pace" <img class="img-pace" src="__IMG__/face/koubi.gif" width="30"
src="/template/default//img/face/penxue.gif" facename="koubi">
width="30" facename="penxue"><img class="img-pace" <img class="img-pace" src="__IMG__/face/keai.gif" width="30"
src="/template/default//img/face/nanguo.gif" facename="keai">
width="30" facename="nanguo"><img <img class="img-pace" src="__IMG__/face/jingkong.gif" width="30"
class="img-pace" facename="jingkong">
src="/template/default//img/face/liuhan.gif" <img class="img-pace" src="__IMG__/face/jie.gif" width="30"
width="30" facename="liuhan"><img class="img-pace" facename="jie">
src="/template/default//img/face/lenghan.gif" <img class="img-pace" src="__IMG__/face/huaixiao.gif" width="30"
width="30" facename="lenghan"><img facename="huaixiao">
class="img-pace" <img class="img-pace" src="__IMG__/face/hanxiao.gif" width="30"
src="/template/default//img/face/leiben.gif" facename="hanxiao">
width="30" facename="leiben"><img class="img-pace" <img class="img-pace" src="__IMG__/face/haixiu.gif" width="30"
src="/template/default//img/face/ku.gif" facename="haixiu">
width="30" facename="ku"><img <img class="img-pace" src="__IMG__/face/guzhang.gif" width="30"
class="img-pace" facename="guzhang">
src="/template/default//img/face/koubi.gif" <img class="img-pace" src="__IMG__/face/ganga.gif" width="30"
width="30" facename="koubi"><img class="img-pace" facename="ganga">
src="/template/default//img/face/keai.gif" <img class="img-pace" src="__IMG__/face/fadai.gif" width="30"
width="30" facename="keai"><img facename="fadai">
class="img-pace" <img class="img-pace" src="__IMG__/face/doge.gif" width="30"
src="/template/default//img/face/jingkong.gif" facename="doge">
width="30" facename="jingkong"><img class="img-pace" <img class="img-pace" src="__IMG__/face/dabing.gif" width="30"
src="/template/default//img/face/jie.gif" facename="dabing">
width="30" facename="jie"><img <img class="img-pace" src="__IMG__/face/ciya.gif" width="30"
class="img-pace" facename="ciya">
src="/template/default//img/face/huaixiao.gif" <img class="img-pace" src="__IMG__/face/caidao.gif" width="30"
width="30" facename="huaixiao"><img class="img-pace" facename="caidao">
src="/template/default//img/face/hanxiao.gif" <img class="img-pace" src="__IMG__/face/cahan.gif" width="30"
width="30" facename="hanxiao"><img facename="cahan">
class="img-pace" <img class="img-pace" src="__IMG__/face/bizui.gif" width="30"
src="/template/default//img/face/haixiu.gif" facename="bizui">
width="30" facename="haixiu"><img class="img-pace" <img class="img-pace" src="__IMG__/face/baoquan.gif" width="30"
src="/template/default//img/face/guzhang.gif" facename="baoquan">
width="30" facename="guzhang"><img <img class="img-pace" src="__IMG__/face/aoman.gif" width="30"
class="img-pace" facename="aoman">
src="/template/default//img/face/ganga.gif" <img class="img-pace" src="__IMG__/face/aixin.gif" width="30"
width="30" facename="ganga"><img class="img-pace" facename="aixin">
src="/template/default//img/face/fadai.gif" <img class="img-pace" src="__IMG__/face/OK.gif" width="30"
width="30" facename="fadai"><img facename="OK">
class="img-pace"
src="/template/default//img/face/doge.gif" width="30"
facename="doge"><img class="img-pace"
src="/template/default//img/face/dabing.gif"
width="30" facename="dabing"><img class="img-pace"
src="/template/default//img/face/ciya.gif"
width="30"
facename="ciya"><img
class="img-pace"
src="/template/default//img/face/caidao.gif"
width="30" facename="caidao"><img class="img-pace"
src="/template/default//img/face/cahan.gif"
width="30" facename="cahan"><img
class="img-pace"
src="/template/default//img/face/bizui.gif"
width="30" facename="bizui"><img class="img-pace"
src="/template/default//img/face/baoquan.gif"
width="30" facename="baoquan"><img
class="img-pace"
src="/template/default//img/face/aoman.gif"
width="30" facename="aoman"><img class="img-pace"
src="/template/default//img/face/aixin.gif"
width="30" facename="aixin"><img
class="img-pace"
src="/template/default//img/face/OK.gif" width="30"
facename="OK">
</div> </div>
</div> </div>
</div> </div>
</div> </div>
<div class="comment_userinput"> <div class="comment_userinput">
<div class="comment-form-author"><input id="author" name="author" placeholder="昵称(*)" <div class="comment-form-author">
type="text" value="" size="30"></div> <input id="author" name="author" placeholder="昵称(*)" type="text" value="" size="30">
<div class="comment-form-email"><input id="email" name="email" type="text" </div>
placeholder="邮箱(*)" value=""></div> <div class="comment-form-email">
<div class="comment-form-url"><input id="url" placeholder="网址" name="url" type="text" <input id="email" name="email" type="text" placeholder="邮箱(*)" value="">
value="" size="30"></div> </div>
<div class="comment-form-url">
<input id="url" placeholder="网址" name="url" type="text" value="" size="30">
</div>
</div> </div>
<div class="comment-form-cookies-consent"><input id="wp-comment-cookies-consent" <div class="comment-form-cookies-consent">
name="wp-comment-cookies-consent" <input id="wp-comment-cookies-consent" name="wp-comment-cookies-consent"
type="checkbox" value="yes"> 记住用户信息 type="checkbox" value="yes">
记住用户信息
</div> </div>
<div class="form-submit"> <div class="form-submit">
<div style="text-align: right"> <div style="text-align: right">
<input name="submit" type="submit" id="submit" class="button primary-btn" <input name="submit" type="submit" id="submit" class="button primary-btn"
value="发表评论"></div> value="发表评论">
</div>
<input type='hidden' name='comment_post_ID' value='322' id='comment_post_ID'> <input type='hidden' name='comment_post_ID' value='322' id='comment_post_ID'>
<input type='hidden' name='comment_parent' id='comment_parent' value='0'> <input type='hidden' name='comment_parent' id='comment_parent' value='0'>
</div> </div>
</form> </form>
</div><!-- #respond -->
<meta content="UserComments:0" itemprop="interactionCount">
<h3 class="comments-title">共有 <span class="commentCount">0</span> 条评论</h3>
<div class="comment-sofa">
<i class="fas fa-couch"></i> 沙发空余
</div> </div>
<!-- #respond -->
<script type='text/javascript' src='../wp-includes/js/comment-reply.min.js'></script> <meta content="UserComments:0" itemprop="interactionCount">
<h3 class="comments-title">共有<span class="commentCount">0</span>条评论</h3>
<div class="comment-sofa">
<i class="fas fa-couch">
</i>
沙发空余
</div>
<script type='text/javascript' src='__JS__/comment-reply.min.js'>
</script>
<script type='text/javascript'> <script type='text/javascript'>
$('body').on('click', '.comment-reply-link',
$('body').on('click', '.comment-reply-link', function (e) { function(e) {
addComment.moveForm("li-comment-" + $(this).attr('data-commentid'), $(this).attr('data-commentid'), "respond", $(this).attr('data-postid')); addComment.moveForm("li-comment-" + $(this).attr('data-commentid'), $(this).attr('data-commentid'), "respond", $(this).attr('data-postid'));
console.log("li-comment-" + $(this).attr('data-commentid'), $(this).attr('data-commentid'), "respond", $(this).attr('data-postid')); console.log("li-comment-" + $(this).attr('data-commentid'), $(this).attr('data-commentid'), "respond", $(this).attr('data-postid'));
e.stopPropagation(); e.stopPropagation();
return false; return false;
}); });
$(document).click(function (e) { $(document).click(function(e) {
$('.conment-face-plane').css("opacity", "0"); $('.conment-face-plane').css("opacity", "0");
$('.conment-face-plane').css("visibility", "hidden"); $('.conment-face-plane').css("visibility", "hidden");
e.stopPropagation(); e.stopPropagation();
}); });
$('body').on('click', '.img-pace', function (e) { $('body').on('click', '.img-pace',
$('.comment_form_textarea').val($('.comment_form_textarea').val() + '[f=' + $(this).attr('facename') + ']') function(e) {
}); $('.comment_form_textarea').val($('.comment_form_textarea').val() + '[f=' + $(this).attr('facename') + ']')
$('body').on('click', '.popover-btn-face', function (e) { });
if ($('.conment-face-plane').css("visibility") == 'visible') { $('body').on('click', '.popover-btn-face',
$('.conment-face-plane').css("opacity", "0"); function(e) {
$('.conment-face-plane').css("visibility", "hidden"); if ($('.conment-face-plane').css("visibility") == 'visible') {
} else { $('.conment-face-plane').css("opacity", "0");
$('.conment-face-plane').css("opacity", "1"); $('.conment-face-plane').css("visibility", "hidden");
$('.conment-face-plane').css("visibility", "visible"); } else {
} $('.conment-face-plane').css("opacity", "1");
e.stopPropagation(); $('.conment-face-plane').css("visibility", "visible");
}); }
e.stopPropagation();
});
</script> </script>
<nav class="comment-navigation pages"> <nav class="comment-navigation pages">
</nav> </nav>
@ -525,7 +504,7 @@
<div class="sidebar"> <div class="sidebar">
<div class="sidebar-box-list"> <div class="sidebar-box-list">
<div class="aside-box"> <div class="aside-box">
<h2 class="widget-title">热门文章</h2> <h2 class="widget-title">热门文章</h2>
{zz:arclist row="8" orderby="view desc" type="where"} {zz:arclist row="8" orderby="view desc" type="where"}
<div class="hot-post-widget-item"> <div class="hot-post-widget-item">
<div> <div>

View File

@ -5,10 +5,6 @@
<meta name="keywords" content="{$zzField['keywords']}" /> <meta name="keywords" content="{$zzField['keywords']}" />
<meta name="description" content="{$zzField['description']}" /> <meta name="description" content="{$zzField['description']}" />
{include file="public/head" /} {include file="public/head" /}
<script type="text/javascript" src="__JS__/qrcode.min.js" id="corepress_jquery_qrcode-js"s></script>
<script src="__JS__/jquery.lazyload.min.js"></script>
</head> </head>
<body> <body>
@ -28,7 +24,7 @@
<li class="post-item"> <li class="post-item">
<div class="post-item-container"> <div class="post-item-container">
<div class="post-item-thumbnail"> <div class="post-item-thumbnail">
<a href="{$field['url']}" target="_blank"> <a href="{$field['url']}">
<img src="__IMG__/loading.gif" data-original="{:file_cdn($field['cover_path'])}"/> <img src="__IMG__/loading.gif" data-original="{:file_cdn($field['cover_path'])}"/>
</a> </a>
</div> </div>
@ -36,13 +32,13 @@
{notempty name="$field['tags']"} {notempty name="$field['tags']"}
<div class="post-item-tags "> <div class="post-item-tags ">
<span class="cat-item"> <span class="cat-item">
<a target="_blank" href="{$field['url']}">{:cn_substr($field['tags'],15)}</a> <a href="{$field['url']}">{:cn_substr($field['tags'],15)}</a>
</span> </span>
</div> </div>
{/notempty} {/notempty}
<div class="post-item-main"> <div class="post-item-main">
<h2> <h2>
<a target="_blank" href="{$field['url']}" style="white-space: nowrap;text-overflow: ellipsis;">{:cn_substr($field['title'],20)}</a> <a href="{$field['url']}" style="white-space: nowrap;text-overflow: ellipsis;">{:cn_substr($field['title'],20)}</a>
</h2> </h2>
<div class="post-item-content"> <div class="post-item-content">
<a target="_blank" href="{$field['url']}" style="white-space: nowrap;text-overflow: ellipsis;">{:cn_substr($field['content'],100)}</a> <a target="_blank" href="{$field['url']}" style="white-space: nowrap;text-overflow: ellipsis;">{:cn_substr($field['content'],100)}</a>
@ -76,50 +72,37 @@
</div> </div>
</div> </div>
<div class="sidebar"> <div class="sidebar">
<div class="aside-box"> <div class="sidebar-box-list">
<form class="search-form" action="{:url('/index/article/search')}" method="get" role="search"> <div class="aside-box">
<div class="search-form-input-plane"> <form class="search-form" action="{:url('/index/article/search')}" method="get" role="search">
<input type="text" class="search-keyword" name="kw" placeholder="搜索内容" value="{$kw}"/> <div class="search-form-input-plane">
<input type="text" class="search-keyword" name="kw" placeholder="搜索内容" value="{$kw}"/>
</div>
<div>
<button type="submit" class="search-submit" value="&#xf002;">搜索</button>
</div>
</form>
</div> </div>
<div> <div class="aside-box">
<button type="submit" class="search-submit" value="&#xf002;">搜索</button> <h2 class="widget-title">热门阅读</h2>
</div> {zz:arclist row="6" type="where" orderby="view desc"}
</form> <div class="hot-post-widget-item">
</div> <div>
<div class="aside-box"> <span class="hot-post-widget-item-num">{$i}</span>
<h2 class="widget-title">句子</h2> <span class="hot-post-widget-item-title">
<div class="widget-sentence-placeholder widget-sentence-placeholder-jzmk"> <a href="{$field['url']}">{:cn_substr($field['title'],15)}</a>
<ul> </span>
<li></li> </div>
<li></li> <div class="hot-post-widget-item-meta">
</ul> <div>{$field['create_time']}</div>
</div> <div>
<script> <a href="#">{:cn_substr($field['category_title'],5)}</a>
$(document).ready(function () { </div>
widget_sentence_load('djt', '.widget-sentence-placeholder-jzmk'); </div>
});
</script>
</div>
<div class="aside-box">
<h2 class="widget-title">热门文章</h2>
{zz:arclist row="6" type="where" orderby="view desc"}
<div class="hot-post-widget-item">
<div>
<span class="hot-post-widget-item-num">{$i}</span>
<span class="hot-post-widget-item-title">
<a href="{$field['url']}">{:cn_substr($field['title'],15)}</a>
</span>
</div>
<div class="hot-post-widget-item-meta">
<div>{$field['create_time']}</div>
<div>
<a href="#">{:cn_substr($field['category_title'],5)}</a>
</div> </div>
{/zz:arclist}
</div> </div>
</div> <div class="aside-box">
{/zz:arclist}
</div>
<div class="aside-box">
<h2 class="widget-title">标签云</h2> <h2 class="widget-title">标签云</h2>
<script src="__JS__/TagCloud.js"></script> <script src="__JS__/TagCloud.js"></script>
<div class="corepress-tag-cloud"> <div class="corepress-tag-cloud">
@ -169,183 +152,16 @@
); );
</script> </script>
</div> </div>
<div class="aside-box"> {zz:advert row="3" type="2"}
<h2 class="widget-title">最新评论</h2> <div class="aside-box">
<li> <h2 class="widget-title">{$field['title']}</h2>
<div class="widger-comment-plane"> <a href="{$field['url']}" target="_blank">
<div class="widger-comment-info"> <img width="300" height="191" src="{$field['image']}"
<div class="widger-comment-user"> class="image wp-image-559 attachment-medium size-medium" alt=""
<div class="widger-avatar"> loading="lazy" style="max-width: 100%; height: auto;">
<img </a>
alt="黯然gg"
src="../avatar/a817af1c94172733c4e559a236053976.jpg"
srcset="
https://sdn.geekzu.org/avatar/a817af1c94172733c4e559a236053976?s=60&d=mm&r=g 2x
"
class="avatar avatar-30 photo"
height="30"
width="30"
loading="lazy"
/>
</div>
<div class="widger-comment-name">黯然gg</div>
</div>
<div class="widger-comment-time">
<span>7月17日</span>
</div>
</div>
<div class="widger-comment-excerpt">
<p>
哈哈我换你这个主题了,现在在友链首页了,大佬来个友链(我是不会告你我从十一点多搞到现在的)
博客名称:阿...
</p>
</div>
<p class="widger-comment-postlink">
评论于
<a href="../applylink.html" target="_blank">申请友情链接</a>
</p>
</div> </div>
</li> {/zz:advert}
<li>
<div class="widger-comment-plane">
<div class="widger-comment-info">
<div class="widger-comment-user">
<div class="widger-avatar">
<img
alt="黑域博客"
src="../avatar/a19c6a43816e575771df29bc689efa17.jpg"
srcset="
https://sdn.geekzu.org/avatar/a19c6a43816e575771df29bc689efa17?s=60&d=mm&r=g 2x
"
class="avatar avatar-30 photo"
height="30"
width="30"
loading="lazy"
/>
</div>
<div class="widger-comment-name">黑域博客</div>
</div>
<div class="widger-comment-time">
<span>7月16日</span>
</div>
</div>
<div class="widger-comment-excerpt">
<p>哈哈,我什么时候能上优秀网站</p>
</div>
<p class="widger-comment-postlink">
评论于
<a href="../corepresswzzs.html" target="_blank"
>CorePress主题优秀网站展示</a
>
</p>
</div>
</li>
<li>
<div class="widger-comment-plane">
<div class="widger-comment-info">
<div class="widger-comment-user">
<div class="widger-avatar">
<img
alt="黯然gg"
src="../avatar/a817af1c94172733c4e559a236053976.jpg"
srcset="
https://sdn.geekzu.org/avatar/a817af1c94172733c4e559a236053976?s=60&d=mm&r=g 2x
"
class="avatar avatar-30 photo"
height="30"
width="30"
loading="lazy"
/>
</div>
<div class="widger-comment-name">黯然gg</div>
</div>
<div class="widger-comment-time">
<span>7月16日</span>
</div>
</div>
<div class="widger-comment-excerpt">
<p>啊 必须要首页的嘛 我用的主题没有首页链接这个模块儿呀</p>
</div>
<p class="widger-comment-postlink">
评论于
<a href="../applylink.html" target="_blank">申请友情链接</a>
</p>
</div>
</li>
<li>
<div class="widger-comment-plane">
<div class="widger-comment-info">
<div class="widger-comment-user">
<div class="widger-avatar">
<img
alt="Xpower"
src="../avatar/a19c6a43816e575771df29bc689efa17.jpg"
srcset="
https://sdn.geekzu.org/avatar/d88fa0e5183fc60bce09df183aa52f13?s=60&d=mm&r=g 2x
"
class="avatar avatar-30 photo"
height="30"
width="30"
loading="lazy"
/>
</div>
<div class="widger-comment-name">Xpower</div>
</div>
<div class="widger-comment-time">
<span>7月16日</span>
</div>
</div>
<div class="widger-comment-excerpt">
<p>这模板可以</p>
</div>
<p class="widger-comment-postlink">
评论于
<a href="../shortcodeshow.html" target="_blank"
>CorePress主题短代码演示</a
>
</p>
</div>
</li>
<li>
<div class="widger-comment-plane">
<div class="widger-comment-info">
<div class="widger-comment-user">
<div class="widger-avatar">
<img
alt="雅魔窝"
src="../avatar/a19c6a43816e575771df29bc689efa17.jpg"
srcset="
https://sdn.geekzu.org/avatar/6836e13db58b6cdca078095a09f95ac3?s=60&d=mm&r=g 2x
"
class="avatar avatar-30 photo"
height="30"
width="30"
loading="lazy"
/>
</div>
<div class="widger-comment-name">雅魔窝</div>
</div>
<div class="widger-comment-time">
<span>7月16日</span>
</div>
</div>
<div class="widger-comment-excerpt">
<p>
适合wp高手使用如果用做新手小白可能还需要写更傻瓜式的教程。
</p>
</div>
<p class="widger-comment-postlink">
评论于
<a href="../wordpresswwznltjzdyzd.html" target="_blank"
>WordPress为文章目录添加自定义字段</a
>
</p>
</div>
</li>
</div> </div>
</div> </div>
</div> </div>

View File

@ -7,8 +7,6 @@
{include file="public/head" /} {include file="public/head" /}
<script type="text/javascript" src="__JS__/qrcode.min.js" id="corepress_jquery_qrcode-js"s></script>
<script src="__JS__/jquery.lazyload.min.js"></script>
</head> </head>
<body> <body>
@ -28,7 +26,7 @@
<li class="post-item"> <li class="post-item">
<div class="post-item-container"> <div class="post-item-container">
<div class="post-item-thumbnail"> <div class="post-item-thumbnail">
<a href="{$field['url']}" target="_blank"> <a href="{$field['url']}">
<img src="__IMG__/loading.gif" data-original="{:file_cdn($field['cover_path'])}" /> <img src="__IMG__/loading.gif" data-original="{:file_cdn($field['cover_path'])}" />
</a> </a>
</div> </div>
@ -36,13 +34,14 @@
{notempty name="$field['tags']"} {notempty name="$field['tags']"}
<div class="post-item-tags "> <div class="post-item-tags ">
<span class="cat-item"> <span class="cat-item">
<a target="_blank" href="{$field['url']}">{:cn_substr($field['tags'],20)}</a> <a href="{$field['url']}">{:cn_substr($field['tags'],20)}</a>
</span> </span>
</div> </div>
{/notempty} {/notempty}
<div class="post-item-main"> <div class="post-item-main">
<h2> <h2>
<a target="_blank" href="{$field['url']}" style="white-space: nowrap;text-overflow: ellipsis;">{:cn_substr($field['title'],20)}</a> {if $field['is_top']==1}<span class="post-item-sticky">置顶</span>{/if}
<a href="{$field['url']}" style="white-space: nowrap;text-overflow: ellipsis;">{:cn_substr($field['title'],20)}</a>
</h2> </h2>
<div class="post-item-content" style="white-space: nowrap;text-overflow: ellipsis;"> <div class="post-item-content" style="white-space: nowrap;text-overflow: ellipsis;">
{:cn_substr($field['content'],100)} {:cn_substr($field['content'],100)}
@ -76,276 +75,96 @@
</div> </div>
</div> </div>
<div class="sidebar"> <div class="sidebar">
<div class="aside-box"> <div class="sidebar-box-list">
<form class="search-form" action="{:url('/index/article/search')}" method="get" role="search"> <div class="aside-box">
<div class="search-form-input-plane"> <form class="search-form" action="{:url('/index/article/search')}" method="get" role="search">
<input type="text" class="search-keyword" name="kw" placeholder="搜索内容" value=""/> <div class="search-form-input-plane">
<input type="text" class="search-keyword" name="kw" placeholder="搜索内容" value=""/>
</div>
<div>
<button type="submit" class="search-submit" value="&#xf002;">搜索</button>
</div>
</form>
</div> </div>
<div> <div class="aside-box">
<button type="submit" class="search-submit" value="&#xf002;">搜索</button> <h2 class="widget-title">热门阅读</h2>
</div> {zz:arclist row="6" typeid="$id" orderby="view desc"}
</form> <div class="hot-post-widget-item">
</div> <div>
<div class="aside-box"> <span class="hot-post-widget-item-num">{$i}</span>
<h2 class="widget-title">句子</h2> <span class="hot-post-widget-item-title">
<div class="widget-sentence-placeholder widget-sentence-placeholder-jzmk"> <a href="{$field['url']}">{:cn_substr($field['title'],15)}</a>
<ul> </span>
<li></li> </div>
<li></li> <div class="hot-post-widget-item-meta">
</ul> <div>{$field['create_time']}</div>
</div> <div>
<script> <a href="#">{:cn_substr($field['category_title'],5)}</a>
$(document).ready(function () {
widget_sentence_load('djt', '.widget-sentence-placeholder-jzmk');
});
</script>
</div>
<div class="aside-box">
<h2 class="widget-title">热门阅读</h2>
{zz:arclist row="6" typeid="$id" orderby="view desc"}
<div class="hot-post-widget-item">
<div>
<span class="hot-post-widget-item-num">{$i}</span>
<span class="hot-post-widget-item-title">
<a href="{$field['url']}">{:cn_substr($field['title'],15)}</a>
</span>
</div>
<div class="hot-post-widget-item-meta">
<div>{$field['create_time']}</div>
<div>
<a href="#">{:cn_substr($field['category_title'],5)}</a>
</div>
</div>
</div>
{/zz:arclist}
</div>
<div class="aside-box">
<h2 class="widget-title">标签云</h2>
<script src="__JS__/TagCloud.js"></script>
<div class="corepress-tag-cloud">
<div class="corepress-tag-container-tag1"></div>
</div>
<style>
.corepress-tagcloud a {
font-size: 12px;
color: #fff;
padding: 0 !important;
}
.corepress-tagcloud a:hover {
color: #fff !important;
}
.tagcloud--item {
color: #fff;
padding: 2px 4px;
border-radius: 3px;
cursor: pointer;
}
.tagcloud--item:hover {
opacity: 1 !important;
z-index: 100 !important;
}
</style>
<script>
var tag = TagCloud(
".corepress-tag-container-tag1",
JSON.parse(
'[{"text":"WordPress","href":"https:\/\/www.lovestu.com\/tag\/wordpress"},{"text":"WordPress\u7248\u672c","href":"https:\/\/www.lovestu.com\/tag\/wordpress%e7%89%88%e6%9c%ac"},{"text":"\u4e3b\u9898","href":"https:\/\/www.lovestu.com\/tag\/%e4%b8%bb%e9%a2%98"},{"text":"\u4ee3\u7801","href":"https:\/\/www.lovestu.com\/tag\/code"},{"text":"\u4f7f\u7528\u6559\u7a0b","href":"https:\/\/www.lovestu.com\/tag\/tutorial"}]'
),
{},
[
"#67C23A",
"#E6A23C",
"#F56C6C",
"#909399",
"#CC9966",
"#FF6666",
"#99CCFF",
"#FF9999",
"#CC6633",
]
);
</script>
</div>
<div class="aside-box">
<h2 class="widget-title">最新评论</h2>
<li>
<div class="widger-comment-plane">
<div class="widger-comment-info">
<div class="widger-comment-user">
<div class="widger-avatar">
<img
alt="黯然gg"
src="../avatar/a817af1c94172733c4e559a236053976.jpg"
srcset="
https://sdn.geekzu.org/avatar/a817af1c94172733c4e559a236053976?s=60&d=mm&r=g 2x
"
class="avatar avatar-30 photo"
height="30"
width="30"
loading="lazy"
/>
</div> </div>
<div class="widger-comment-name">黯然gg</div>
</div>
<div class="widger-comment-time">
<span>7月17日</span>
</div> </div>
</div> </div>
<div class="widger-comment-excerpt"> {/zz:arclist}
<p>
哈哈我换你这个主题了,现在在友链首页了,大佬来个友链(我是不会告你我从十一点多搞到现在的)
博客名称:阿...
</p>
</div>
<p class="widger-comment-postlink">
评论于
<a href="../applylink.html" target="_blank">申请友情链接</a>
</p>
</div> </div>
</li> <div class="aside-box">
<h2 class="widget-title">标签云</h2>
<script src="__JS__/TagCloud.js"></script>
<div class="corepress-tag-cloud">
<div class="corepress-tag-container-tag1"></div>
</div>
<style>
.corepress-tagcloud a {
font-size: 12px;
color: #fff;
padding: 0 !important;
}
<li> .corepress-tagcloud a:hover {
<div class="widger-comment-plane"> color: #fff !important;
<div class="widger-comment-info"> }
<div class="widger-comment-user">
<div class="widger-avatar">
<img
alt="黑域博客"
src="../avatar/a19c6a43816e575771df29bc689efa17.jpg"
srcset="
https://sdn.geekzu.org/avatar/a19c6a43816e575771df29bc689efa17?s=60&d=mm&r=g 2x
"
class="avatar avatar-30 photo"
height="30"
width="30"
loading="lazy"
/>
</div>
<div class="widger-comment-name">黑域博客</div>
</div>
<div class="widger-comment-time">
<span>7月16日</span>
</div>
</div>
<div class="widger-comment-excerpt">
<p>哈哈,我什么时候能上优秀网站</p>
</div>
<p class="widger-comment-postlink">
评论于
<a href="../corepresswzzs.html" target="_blank"
>CorePress主题优秀网站展示</a
>
</p>
</div>
</li>
<li> .tagcloud--item {
<div class="widger-comment-plane"> color: #fff;
<div class="widger-comment-info"> padding: 2px 4px;
<div class="widger-comment-user"> border-radius: 3px;
<div class="widger-avatar"> cursor: pointer;
<img }
alt="黯然gg"
src="../avatar/a817af1c94172733c4e559a236053976.jpg"
srcset="
https://sdn.geekzu.org/avatar/a817af1c94172733c4e559a236053976?s=60&d=mm&r=g 2x
"
class="avatar avatar-30 photo"
height="30"
width="30"
loading="lazy"
/>
</div>
<div class="widger-comment-name">黯然gg</div>
</div>
<div class="widger-comment-time">
<span>7月16日</span>
</div>
</div>
<div class="widger-comment-excerpt">
<p>啊 必须要首页的嘛 我用的主题没有首页链接这个模块儿呀</p>
</div>
<p class="widger-comment-postlink">
评论于
<a href="../applylink.html" target="_blank">申请友情链接</a>
</p>
</div>
</li>
<li> .tagcloud--item:hover {
<div class="widger-comment-plane"> opacity: 1 !important;
<div class="widger-comment-info"> z-index: 100 !important;
<div class="widger-comment-user"> }
<div class="widger-avatar"> </style>
<img <script>
alt="Xpower" var tag = TagCloud(
src="../avatar/a19c6a43816e575771df29bc689efa17.jpg" ".corepress-tag-container-tag1",
srcset=" JSON.parse(
https://sdn.geekzu.org/avatar/d88fa0e5183fc60bce09df183aa52f13?s=60&d=mm&r=g 2x '[{"text":"WordPress","href":"https:\/\/www.lovestu.com\/tag\/wordpress"},{"text":"WordPress\u7248\u672c","href":"https:\/\/www.lovestu.com\/tag\/wordpress%e7%89%88%e6%9c%ac"},{"text":"\u4e3b\u9898","href":"https:\/\/www.lovestu.com\/tag\/%e4%b8%bb%e9%a2%98"},{"text":"\u4ee3\u7801","href":"https:\/\/www.lovestu.com\/tag\/code"},{"text":"\u4f7f\u7528\u6559\u7a0b","href":"https:\/\/www.lovestu.com\/tag\/tutorial"}]'
" ),
class="avatar avatar-30 photo" {},
height="30" [
width="30" "#67C23A",
loading="lazy" "#E6A23C",
/> "#F56C6C",
</div> "#909399",
<div class="widger-comment-name">Xpower</div> "#CC9966",
</div> "#FF6666",
<div class="widger-comment-time"> "#99CCFF",
<span>7月16日</span> "#FF9999",
</div> "#CC6633",
</div> ]
<div class="widger-comment-excerpt"> );
<p>这模板可以</p> </script>
</div>
<p class="widger-comment-postlink">
评论于
<a href="../shortcodeshow.html" target="_blank"
>CorePress主题短代码演示</a
>
</p>
</div> </div>
</li> {zz:advert row="3" type="2"}
<div class="aside-box">
<li> <h2 class="widget-title">{$field['title']}</h2>
<div class="widger-comment-plane"> <a href="{$field['url']}" target="_blank">
<div class="widger-comment-info"> <img width="300" height="191" src="{$field['image']}"
<div class="widger-comment-user"> class="image wp-image-559 attachment-medium size-medium" alt=""
<div class="widger-avatar"> loading="lazy" style="max-width: 100%; height: auto;">
<img </a>
alt="雅魔窝"
src="../avatar/a19c6a43816e575771df29bc689efa17.jpg"
srcset="
https://sdn.geekzu.org/avatar/6836e13db58b6cdca078095a09f95ac3?s=60&d=mm&r=g 2x
"
class="avatar avatar-30 photo"
height="30"
width="30"
loading="lazy"
/>
</div>
<div class="widger-comment-name">雅魔窝</div>
</div>
<div class="widger-comment-time">
<span>7月16日</span>
</div>
</div>
<div class="widger-comment-excerpt">
<p>
适合wp高手使用如果用做新手小白可能还需要写更傻瓜式的教程。
</p>
</div>
<p class="widger-comment-postlink">
评论于
<a href="../wordpresswwznltjzdyzd.html" target="_blank"
>WordPress为文章目录添加自定义字段</a
>
</p>
</div> </div>
</li> {/zz:advert}
</div> </div>
</div> </div>
</div> </div>

View File

@ -110,21 +110,21 @@
<li class="post-item "> <li class="post-item ">
<div class="post-item-container"> <div class="post-item-container">
<div class="post-item-thumbnail"> <div class="post-item-thumbnail">
<a href="{$field['url']}" target="_blank"> <a href="{$field['url']}">
<img src="__IMG__/loading.gif" data-original="{:file_cdn($field['cover_path'])}"/> <img src="__IMG__/loading.gif" data-original="{:file_cdn($field['cover_path'])}"/>
</a> </a>
</div> </div>
{notempty name="$field['tags']"} {notempty name="$field['tags']"}
<div class="post-item-tags"> <div class="post-item-tags">
<span class="cat-item"> <span class="cat-item">
<a target="_blank" href="{$field['url']}">{:cn_substr($field['tags'],20)}</a> <a href="{$field['url']}">{:cn_substr($field['tags'],20)}</a>
</span> </span>
</div> </div>
{/notempty} {/notempty}
<div class="post-item-main"> <div class="post-item-main">
<h2> <h2>
{if $field['is_top']==1}<span class="post-item-sticky">置顶</span>{/if} {if $field['is_top']==1}<span class="post-item-sticky">置顶</span>{/if}
<a target="_blank" href="{$field['url']}" style="white-space: nowrap;text-overflow: ellipsis;">{:cn_substr($field['title'],20)}</a> <a href="{$field['url']}" style="white-space: nowrap;text-overflow: ellipsis;">{:cn_substr($field['title'],20)}</a>
</h2> </h2>
<div class="post-item-content" style="white-space: nowrap;text-overflow: ellipsis;"> <div class="post-item-content" style="white-space: nowrap;text-overflow: ellipsis;">
{:cn_substr($field['content'],100)} {:cn_substr($field['content'],100)}

View File

@ -12,8 +12,4 @@
标签云没修复 标签云没修复
最新评论 文章相关内容没修复
广告没修复
句子没修复