改成就像这个样子的代码就可以了。- <!--{eval //主题鉴定图章显示区域}-->
- <!--{if $post['first'] && $_G['forum_threadstamp']}-->
- <div id="threadstamp"><img src="{STATICURL}image/stamp/$_G[forum_threadstamp][url]" title="$_G[forum_threadstamp][text]" /></div>
- <!--{/if}-->
- <!--{if empty($post['deleted'])}-->
- <!--{eval //如果主题未被删除}-->
- <!--{if $post['first']}-->
- <!--{eval //主楼帖子内容}-->
- <div class="LZcont">
- <table id="pid$post[pid]" summary="pid$post[pid]" cellspacing="0" cellpadding="0" width="100%">
- <!--{eval //发表时间等信息}-->
- <tr>
- <td>
- <div class="LZCinfo cl">
- <!--{eval //电梯、警告}-->
- <!--{if !IS_ROBOT}-->
- <!--{eval //楼层电梯}-->
- <!--{if !$postcount && !$_G['forum_thread']['archiveid'] && $post['first'] }-->
- <div id="fj" class="y">
- <label class="z">{lang thread_redirect_postno}</label>
- <input type="text" class="px p_fre z" size="2" onkeyup="$('fj_btn').href='forum.php?mod=redirect&ptid=$_G[tid]&authorid=$_GET[authorid]&postno='+this.value" onkeydown="if(event.keyCode==13) {window.location=$('fj_btn').href;return false;}" title="{lang thread_redirect_postno_tips}" />
- <a href="javascript:;" id="fj_btn" class="z" title="{lang thread_redirect_postno_tips}"><img src="{IMGDIR}/fj_btn.png" alt="{lang thread_redirect_postno_tips}" class="vm" /></a>
- </div>
- <!--{/if}-->
- <!--{eval //警告信息图标}-->
- <!--{if $post['warned']}-->
- <a href="forum.php?mod=misc&action=viewwarning&tid=$_G[tid]&uid=$post[authorid]" title="{lang warn_get}" class="y" onclick="showWindow('viewwarning', this.href)"><img src="{IMGDIR}/warning.gif" alt="{lang warn_get}" /></a>
- <!--{/if}-->
- <!--{/if}-->
- <!--{eval //发表时间、作者、浏览排序等}-->
- <div class="authi">
- <!--{if $post['authorid'] && !$post['anonymous']}-->
- <!--{if !$_G['setting']['authoronleft']}-->
- <a href="home.php?mod=space&uid=$post[authorid]" target="_blank" class="xi2">$post[author]</a>$authorverifys
- <!--{/if}-->
- <em id="authorposton$post[pid]">{lang poston} $post[dateline]</em>
- <!--{if $post['status'] & 8}-->
- <span class="xg1"><!--{if $_G['setting']['mobile']['mobilecomefrom']}-->{$_G['setting']['mobile']['mobilecomefrom']}<!--{else}-->{lang from_mobile}<!--{/if}--></span>
- <!--{/if}-->
- <!--{if $post['invisible'] == 0}-->
- <!--{if !IS_ROBOT && !$_GET['authorid'] && !$_G['forum_thread']['archiveid']}-->
- <span class="pipe">|</span><a href="forum.php?mod=viewthread&tid=$post[tid]&page=$page&authorid=$post[authorid]" rel="nofollow">{lang thread_show_author}</a>
- <!--{elseif !$_G['forum_thread']['archiveid']}-->
- <span class="pipe">|</span><a href="forum.php?mod=viewthread&tid=$post[tid]&page=$page" rel="nofollow">{lang thread_show_all}</a>
- <!--{/if}-->
- <!--{/if}-->
- <!--{elseif getstatus($post['status'], 5)}-->
- <!--{if !$_G['setting']['authoronleft']}-->
- <a href="javascript:;" class="xi2">$post[author]</a>
- <!--{/if}-->
- <em id="authorposton$post[pid]">{lang poston} $post[dateline]</em>
- <!--{elseif $post['authorid'] && $post['username'] && $post['anonymous'] || !$post['authorid'] && !$post['username']}-->
- $_G[setting][anonymoustext]
- <em id="authorposton$post[pid]">{lang poston} $post[dateline]</em>
- <!--{/if}-->
- <!--{if !IS_ROBOT && !$_G['forum_thread']['archiveid'] && $post['first'] }-->
- <!--{if !$rushreply}-->
- <!--{if $ordertype != 1}-->
- <span class="pipe">|</span><a href="forum.php?mod=viewthread&tid=$_G[tid]&extra=$_GET[extra]&ordertype=1">{lang post_descview}</a>
- <!--{else}-->
- <span class="pipe">|</span><a href="forum.php?mod=viewthread&tid=$_G[tid]&extra=$_GET[extra]&ordertype=2">{lang post_ascview}</a>
- <!--{/if}-->
- <!--{/if}-->
- <!--{if $thread['authorid'] == $_G['uid']}-->
- <span class="pipe">|</span>
- <!--{if $replynotice == 1}-->
- <a id="replynotice" href="forum.php?mod=misc&action=replynotice&op=ignore&tid=$_G[tid]" status="1" onclick="ajaxmenu(this, 3000, 0, 0, '43', function () {replyNotice();});return false;">{lang ignore_replynotice}</a>
- <!--{else}-->
- <a id="replynotice" href="forum.php?mod=misc&action=replynotice&op=receive&tid=$_G[tid]" status="0" onclick="ajaxmenu(this, 3000, 0, 0, '43', function () {replyNotice();});return false;">{lang receive_replynotice}</a>
- <!--{/if}-->
- <!--{/if}-->
- <!--{/if}-->
- <!--{eval //插件钩子}-->
- <!--{hook/viewthread_postheader $postcount}-->
- </div>
- </div>
- </td>
- </tr>
- <!--{eval //帖子正式内容}-->
- <tr>
- <td>
- <!--{eval //内容上方广告}-->
- <!--{ad ad_a_pr/thread/a_pr/3/$postcount}-->
- <div class="LZContent">
- <!--{eval //内容包围修饰}-->
- <div class="XSTop"></div>
- <div class="XSBtm"></div>
- <!--{eval //内容区域开始}-->
- <div class="pct">
- <!--{eval //广告嵌入点}-->
- <!--{ad/thread/a_pt/2/$postcount}-->
- <!--{eval //对广告有无样式进行设定}-->
- <!--{if !$_G['inajax']}-->
- <!--{if empty($ad_a_pr_css)}-->
- <style type="text/css">.pcb{margin-right:0}</style>
- <!--{eval $ad_a_pr_css=1;}-->
- <!--{/if}-->
- <!--{/if}-->
-
- <!--{eval //载入内容显示模板}-->
- <!--{subtemplate forum/viewthread_node_body}-->
- </div>
- <!--{eval //内容区域结束}-->
- </div>
-
- <!--{eval //淘贴相关显示}-->
- <!--{if helper_access::check_module('collection') && !$_G['forum']['disablecollect']}-->
- <!--{if $post['relatecollection']}-->
- <!--{eval //淘贴专题推荐}-->
- <div class="cm">
- <h3 class="psth xs1">{lang collection_related}</h3>
- <ul class="mbw xl xl2 cl">
- <!--{loop $post['relatecollection'] $var}-->
- <li>· <a href="forum.php?mod=collection&action=view&ctid=$var[ctid]" title="$var[name]" target="_blank" class="xi2 xw1">$var[name]</a><span class="pipe">|</span><span class="xg1">{lang collection_threadnum}: $var[threadnum], {lang collection_follow}: $var[follownum]</span></li>
- <!--{/loop}-->
- <!--{if $post['releatcollectionmore']}-->
- <li>· <a href="forum.php?mod=collection&tid=$_G[tid]" target="_blank" class="xi2 xw1">{lang more}</a></li>
- <!--{/if}-->
- </ul>
- </div>
- <!--{if $post['sourcecollection']['ctid']}-->
- <!--{eval //通过淘贴访问可对主题打分}-->
- <div>
- {lang collection_fromctid}
- <form action="forum.php?mod=collection&action=comment&ctid={$ctid}&tid={$_G[tid]}" method="POST" class="ptm pbm cl">
- <input type="hidden" name="ratescore" id="ratescore" />
- <span class="clct_ratestar">
- <span class="btn">
- <a href="javascript:;" onmouseover="rateStarHover('clct_ratestar_star',1)" onmouseout="rateStarHover('clct_ratestar_star',0)" onclick="rateStarSet('clct_ratestar_star',1,'ratescore')">1</a>
- <a href="javascript:;" onmouseover="rateStarHover('clct_ratestar_star',2)" onmouseout="rateStarHover('clct_ratestar_star',0)" onclick="rateStarSet('clct_ratestar_star',2,'ratescore')">2</a>
- <a href="javascript:;" onmouseover="rateStarHover('clct_ratestar_star',3)" onmouseout="rateStarHover('clct_ratestar_star',0)" onclick="rateStarSet('clct_ratestar_star',3,'ratescore')">3</a>
- <a href="javascript:;" onmouseover="rateStarHover('clct_ratestar_star',4)" onmouseout="rateStarHover('clct_ratestar_star',0)" onclick="rateStarSet('clct_ratestar_star',4,'ratescore')">4</a>
- <a href="javascript:;" onmouseover="rateStarHover('clct_ratestar_star',5)" onmouseout="rateStarHover('clct_ratestar_star',0)" onclick="rateStarSet('clct_ratestar_star',5,'ratescore')">5</a>
- </span>
- <span id="clct_ratestar_star" class="star star$memberrate"></span>
- </span>
- <button type="submit" value="submit" class="pn"><span>{lang collection_rate}</span></button>
- </form>
- </div>
- <!--{/if}-->
- <!--{/if}-->
- <!--{/if}-->
- <!--{eval //帖子标签}-->
- <!--{if $post['first'] && ($post[tags] || $relatedkeywords)}-->
- <div class="ptg mbm">
- <!--{if $post[tags]}-->
- <!--{eval $tagi = 0;}-->
- <!--{loop $post[tags] $var}-->
- <!--{if $tagi}-->, <!--{/if}--><a title="$var[1]" href="misc.php?mod=tag&id=$var[0]" target="_blank">$var[1]</a>
- <!--{eval $tagi++;}-->
- <!--{/loop}-->
- <!--{/if}-->
- <!--{if $relatedkeywords}--><span>$relatedkeywords</span><!--{/if}-->
- </div>
- <!--{/if}-->
- </td>
- </tr>
- <!--{eval //收藏等功能被去除。如需要则添加在此处}-->
- <!--{eval //回复,管理员编辑推送部分}-->
- <!--{if !$_G['forum_thread']['archiveid']}-->
- <tr>
- <td>
- <div class="po">
- <div class="pob cl">
- <em>
- <!--{if $post['invisible'] == 0}-->
- <!--{if $allowpostreply && $post['allowcomment'] && (!$thread['closed'] || $_G['forum']['ismoderator'])}--><a class="cmmnt" href="forum.php?mod=misc&action=comment&tid=$post[tid]&pid=$post[pid]&extra=$_GET[extra]&page=$page{if $_G['forum_thread']['special'] == 127}&special=$specialextra{/if}" onclick="showWindow('comment', this.href, 'get', 0)">{lang comments}</a><!--{/if}-->
- <!--{if (!$_G['uid'] || $allowpostreply) && !$needhiddenreply}-->
- <!--{if $post['first']}-->
- <a class="fastre" href="forum.php?mod=post&action=reply&fid=$_G[fid]&tid=$_G[tid]&reppost=$post[pid]&extra=$_GET[extra]&page=$page" onclick="showWindow('reply', this.href)">{lang reply}</a>
- <!--{else}-->
- <a class="fastre" href="forum.php?mod=post&action=reply&fid=$_G[fid]&tid=$_G[tid]&repquote=$post[pid]&extra=$_GET[extra]&page=$page" onclick="showWindow('reply', this.href)">{lang reply}</a>
- <!--{/if}-->
- <!--{/if}-->
- <!--{/if}-->
- <!--{if (($_G['forum']['ismoderator'] && $_G['group']['alloweditpost'] && (!in_array($post['adminid'], array(1, 2, 3)) || $_G['adminid'] <= $post['adminid'])) || ($_G['forum']['alloweditpost'] && $_G['uid'] && ($post['authorid'] == $_G['uid'] && $_G['forum_thread']['closed'] == 0) && !(!$alloweditpost_status && $edittimelimit && TIMESTAMP - $post['dbdateline'] > $edittimelimit)))}-->
- <a class="editp" href="forum.php?mod=post&action=edit&fid=$_G[fid]&tid=$_G[tid]&pid=$post[pid]{if !empty($_GET[modthreadkey])}&modthreadkey=$_GET[modthreadkey]{/if}&page=$page"><!--{if $_G['forum_thread']['special'] == 2 && !$post['message']}-->{lang post_add_aboutcounter}<!--{else}-->{lang edit}</a><!--{/if}-->
- <!--{elseif $_G['uid'] && $post['authorid'] == $_G['uid'] && $_G['setting']['postappend']}-->
- <a class="appendp" href="forum.php?mod=misc&action=postappend&tid=$post[tid]&pid=$post[pid]&extra=$_GET[extra]&page=$page" onClick="showWindow('postappend', this.href, 'get', 0)">{lang postappend}</a>
- <!--{/if}-->
- <!--{if $post['first'] && $post['invisible'] == -3}-->
- <a class="psave" href="forum.php?mod=misc&action=pubsave&tid=$_G[tid]">{lang published}</a>
- <!--{/if}-->
- <!--{if $post['invisible'] == -2 && !$post['first']}-->
- <span class="xg1">({lang moderate_need})</span>
- <!--{/if}-->
- <!--{if $post['first'] && $allowblockrecommend}--><a class="push" href="javascript:;" onclick="modaction('recommend', '$_G[forum_firstpid]', 'op=recommend&idtype={if $_G[forum_thread][isgroup]}gtid{else}tid{/if}&id=$_G[tid]&pid=$post[pid]', 'portal.php?mod=portalcp&ac=portalblock')">{lang modmenu_blockrecommend}</a><!--{/if}-->
- <!--{hook/viewthread_postfooter $postcount}-->
- </em>
- <p>
- <!--{if $post['invisible'] == 0}-->
- <!--{if $_G['setting']['magicstatus']}-->
- <a href="javascript:;" id="mgc_post_$post[pid]" onmouseover="showMenu(this.id)" class="showmenu">{lang thread_magic}</a>
- <!--{/if}-->
- <!--{if $_G['forum_thread']['special'] == 3 && ($_G['forum']['ismoderator'] && (!$_G['setting']['rewardexpiration'] || $_G['setting']['rewardexpiration'] > 0 && ($_G[timestamp] - $_G['forum_thread']['dateline']) / 86400 > $_G['setting']['rewardexpiration']) || $_G['forum_thread']['authorid'] == $_G['uid']) && $post['authorid'] != $_G['forum_thread']['authorid'] && $post['first'] == 0 && $_G['uid'] != $post['authorid'] && $_G['forum_thread']['price'] > 0}-->
- <a href="javascript:;" onclick="setanswer($post['pid'], '$_GET[from]')">{lang reward_set_bestanswer}</a>
- <!--{/if}-->
- <!--{if !$post['first'] && $_G['group']['raterange'] && $post['authorid']}-->
- <a href="javascript:;" onclick="showWindow('rate', 'forum.php?mod=misc&action=rate&tid=$_G[tid]&pid=$post[pid]', 'get', -1);return false;">{lang rate}</a>
- <!--{/if}-->
- <!--{if !empty($postlist[$post[pid]]['totalrate']) && $_G['forum']['ismoderator']}-->
- <a href="forum.php?mod=misc&action=removerate&tid=$_G[tid]&pid=$post[pid]&page=$page" onclick="showWindow('rate', this.href, 'get', -1)">{lang removerate}</a>
- <!--{/if}-->
- <!--{if $post['authorid'] != $_G['uid']}-->
- <a href="javascript:;" onclick="showWindow('miscreport$post[pid]', 'misc.php?mod=report&rtype=post&rid=$post[pid]&tid=$_G[tid]&fid=$_G[fid]', 'get', -1);return false;">{lang report}</a>
- <!--{/if}-->
- <!--{/if}-->
- <!--{hook/viewthread_postaction $postcount}-->
- </p>
- <!--{if $_G['setting']['magicstatus']}-->
- <ul id="mgc_post_$post[pid]_menu" class="p_pop mgcmn" style="display: none;">
- <!--{if $post['first']}-->
- <!--{if !empty($_G['setting']['magics']['bump'])}-->
- <li><a href="home.php?mod=magic&mid=bump&idtype=tid&id=$_G[tid]" id="a_bump" onclick="showWindow(this.id, this.href)"><img src="{STATICURL}image/magic/bump.small.gif" />$_G['setting']['magics']['bump']</a></li>
- <!--{/if}-->
- <!--{if !empty($_G['setting']['magics']['stick'])}-->
- <li><a href="home.php?mod=magic&mid=stick&idtype=tid&id=$_G[tid]" id="a_stick" onclick="showWindow(this.id, this.href)"><img src="{STATICURL}image/magic/stick.small.gif" />$_G['setting']['magics']['stick']</a></li>
- <!--{/if}-->
- <!--{if !empty($_G['setting']['magics']['close'])}-->
- <li><a href="home.php?mod=magic&mid=close&idtype=tid&id=$_G[tid]" id="a_stick" onclick="showWindow(this.id, this.href)"><img src="{STATICURL}image/magic/close.small.gif" />$_G['setting']['magics']['close']</a></li>
- <!--{/if}-->
- <!--{if !empty($_G['setting']['magics']['open'])}-->
- <li><a href="home.php?mod=magic&mid=open&idtype=tid&id=$_G[tid]" id="a_stick" onclick="showWindow(this.id, this.href)"><img src="{STATICURL}image/magic/open.small.gif" />$_G['setting']['magics']['open']</a></li>
- <!--{/if}-->
- <!--{if !empty($_G['setting']['magics']['highlight'])}-->
- <li><a href="home.php?mod=magic&mid=highlight&idtype=tid&id=$_G[tid]" id="a_stick" onclick="showWindow(this.id, this.href)"><img src="{STATICURL}image/magic/highlight.small.gif" />$_G['setting']['magics']['highlight']</a></li>
- <!--{/if}-->
- <!--{if !empty($_G['setting']['magics']['sofa'])}-->
- <li><a href="home.php?mod=magic&mid=sofa&idtype=tid&id=$_G[tid]" id="a_stick" onclick="showWindow(this.id, this.href)"><img src="{STATICURL}image/magic/sofa.small.gif" />$_G['setting']['magics']['sofa']</a></li>
- <!--{/if}-->
- <!--{if !empty($_G['setting']['magics']['jack'])}-->
- <li><a href="home.php?mod=magic&mid=jack&idtype=tid&id=$_G[tid]" id="a_jack" onclick="showWindow(this.id, this.href)"><img src="{STATICURL}image/magic/jack.small.gif" />$_G['setting']['magics']['jack']</a></li>
- <!--{/if}-->
- <!--{hook/viewthread_magic_thread}-->
- <!--{/if}-->
- <!--{if !empty($_G['setting']['magics']['repent']) && $post['authorid'] == $_G['uid'] && !$rushreply}-->
- <li><a href="home.php?mod=magic&mid=repent&idtype=pid&id=$post[pid]:$_G[tid]" id="a_repent_$post[pid]" onclick="showWindow(this.id, this.href)"><img src="{STATICURL}image/magic/bump.small.gif" />$_G['setting']['magics']['repent']</a></li>
- <!--{/if}-->
- <!--{if !empty($_G['setting']['magics']['anonymouspost']) && $post['authorid'] == $_G['uid']}-->
- <li><a href="home.php?mod=magic&mid=anonymouspost&idtype=pid&id=$post[pid]:$_G[tid]" id="a_anonymouspost_$post[pid]" onclick="showWindow(this.id, this.href)"><img src="{STATICURL}image/magic/anonymouspost.small.gif" />$_G['setting']['magics']['anonymouspost']</a><li>
- <!--{/if}-->
- <!--{if !empty($_G['setting']['magics']['namepost'])}-->
- <li><a href="home.php?mod=magic&mid=namepost&idtype=pid&id=$post[pid]:$_G[tid]" id="a_namepost_$post[pid]" onclick="showWindow(this.id, this.href)"><img src="{STATICURL}image/magic/namepost.small.gif" />$_G['setting']['magics']['namepost']</a><li>
- <!--{/if}-->
- <!--{hook/viewthread_magic_post $postcount}-->
- </ul>
- <script type="text/javascript" reload="1">checkmgcmn('post_$post[pid]')</script>
- <!--{/if}-->
- </div>
- </div>
- </td>
- </tr>
- <!--{/if}-->
- </table>
- </div>
-
- <!--{eval //回帖窗口}-->
- <!--{if $fastpost}-->
- <!--{subtemplate forum/viewthread_fastpost}-->
- <!--{/if}-->
-
- <!--{eval //回帖分隔}-->
- <div class="HTfg cl">
- <!--{eval //员工回帖}-->
- </div>
- <!--{else}-->
- <!--{eval //如果为普通楼层}-->
- <div class="HTcont">
- <table id="pid$post[pid]" summary="pid$post[pid]" cellspacing="0" cellpadding="0" width="100%">
- <tr>
- <!--{eval //用户头像}-->
- <td style="width:50px; vertical-align:top; padding-top:5px;">
- <div class="minTX"><a href="home.php?mod=space&uid=$post[authorid]" target="_blank">$post[avatar]</a></div>
- </td>
- <!--{eval //其回复内容等等}-->
- <td>
- <div class="LZCinfo cl">
- <!--{eval //电梯、警告}-->
- <!--{if !IS_ROBOT}-->
- <!--{eval //警告信息图标}-->
- <!--{if $post['warned']}-->
- <a href="forum.php?mod=misc&action=viewwarning&tid=$_G[tid]&uid=$post[authorid]" title="{lang warn_get}" class="y" onclick="showWindow('viewwarning', this.href)"><img src="{IMGDIR}/warning.gif" alt="{lang warn_get}" /></a>
- <!--{/if}-->
- <!--{/if}-->
- <!--{eval //发表时间、作者、浏览排序等}-->
- <div class="authi">
- <!--{eval //回复者名字}-->
-
- <!--{if $post['authorid'] && !$post['anonymous']}-->
- <!--{if !$_G['setting']['authoronleft']}-->
- <a href="home.php?mod=space&uid=$post[authorid]" target="_blank" class="xi2">$post[author]</a>$authorverifys
- <!--{/if}-->
- <em id="authorposton$post[pid]">{lang poston} $post[dateline]</em>
- <!--{if $post['status'] & 8}-->
- <span class="xg1"><!--{if $_G['setting']['mobile']['mobilecomefrom']}-->{$_G['setting']['mobile']['mobilecomefrom']}<!--{else}-->{lang from_mobile}<!--{/if}--></span>
- <!--{/if}-->
- <!--{if $post['invisible'] == 0}-->
- <!--{if !IS_ROBOT && !$_GET['authorid'] && !$_G['forum_thread']['archiveid']}-->
- <span class="pipe">|</span><a href="forum.php?mod=viewthread&tid=$post[tid]&page=$page&authorid=$post[authorid]" rel="nofollow">{lang thread_show_author}</a>
- <!--{elseif !$_G['forum_thread']['archiveid']}-->
- <span class="pipe">|</span><a href="forum.php?mod=viewthread&tid=$post[tid]&page=$page" rel="nofollow">{lang thread_show_all}</a>
- <!--{/if}-->
- <!--{/if}-->
- <!--{elseif getstatus($post['status'], 5)}-->
- <!--{if !$_G['setting']['authoronleft']}-->
- <a href="javascript:;" class="xi2">$post[author]</a>
- <!--{/if}-->
- <em id="authorposton$post[pid]">{lang poston} $post[dateline]</em>
- <!--{elseif $post['authorid'] && $post['username'] && $post['anonymous'] || !$post['authorid'] && !$post['username']}-->
- $_G[setting][anonymoustext]
- <em id="authorposton$post[pid]">{lang poston} $post[dateline]</em>
- <!--{/if}-->
- <!--{if !IS_ROBOT && !$_G['forum_thread']['archiveid'] && $post['first'] }-->
- <!--{if !$rushreply}-->
- <!--{if $ordertype != 1}-->
- <span class="pipe">|</span><a href="forum.php?mod=viewthread&tid=$_G[tid]&extra=$_GET[extra]&ordertype=1">{lang post_descview}</a>
- <!--{else}-->
- <span class="pipe">|</span><a href="forum.php?mod=viewthread&tid=$_G[tid]&extra=$_GET[extra]&ordertype=2">{lang post_ascview}</a>
- <!--{/if}-->
- <!--{/if}-->
- <!--{if $thread['authorid'] == $_G['uid']}-->
- <span class="pipe">|</span>
- <!--{if $replynotice == 1}-->
- <a id="replynotice" href="forum.php?mod=misc&action=replynotice&op=ignore&tid=$_G[tid]" status="1" onclick="ajaxmenu(this, 3000, 0, 0, '43', function () {replyNotice();});return false;">{lang ignore_replynotice}</a>
- <!--{else}-->
- <a id="replynotice" href="forum.php?mod=misc&action=replynotice&op=receive&tid=$_G[tid]" status="0" onclick="ajaxmenu(this, 3000, 0, 0, '43', function () {replyNotice();});return false;">{lang receive_replynotice}</a>
- <!--{/if}-->
- <!--{/if}-->
- <!--{/if}-->
- <!--{eval //插件钩子}-->
- <!--{hook/viewthread_postheader $postcount}-->
- </div>
- </div>
-
- <!--{eval //正式回复的内容}-->
- <div class="PTcont brs">
- <!--{eval //对广告有无样式进行设定}-->
- <!--{if !$_G['inajax']}-->
- <!--{if empty($ad_a_pr_css)}-->
- <style type="text/css">.pcb{margin-right:0}</style>
- <!--{eval $ad_a_pr_css=1;}-->
- <!--{/if}-->
- <!--{/if}-->
- <!--{eval //加载内容模板}-->
- <!--{subtemplate forum/viewthread_node_body}-->
- <!--{eval //回帖奖励信息}-->
- <!--{if !$post['first'] && $post['replycredit'] > 0}-->
- <div class="cm">
- <h3 class="psth xs1">
- {lang replycredit} <span class="xw1 xs2 xi1">+{$post['replycredit']}</span> {$_G['setting']['extcredits'][$_G['forum_thread']['replycredit_rule']['extcreditstype']][unit]}{$_G['setting']['extcredits'][$_G['forum_thread']['replycredit_rule']['extcreditstype']][title]}
- </h3>
- </div>
- <!--{/if}-->
- </div>
- </td>
- </tr>
- <!--{eval //收藏等功能被去除。如需要则添加在此处}-->
- <!--{eval //回复,管理员编辑推送部分}-->
- <!--{if !$_G['forum_thread']['archiveid']}-->
- <tr>
- <td></td>
- <td>
- <div class="po">
- <div class="pob cl">
- <em>
- <!--{if $post['invisible'] == 0}-->
- <!--{if $allowpostreply && $post['allowcomment'] && (!$thread['closed'] || $_G['forum']['ismoderator'])}--><a class="cmmnt" href="forum.php?mod=misc&action=comment&tid=$post[tid]&pid=$post[pid]&extra=$_GET[extra]&page=$page{if $_G['forum_thread']['special'] == 127}&special=$specialextra{/if}" onclick="showWindow('comment', this.href, 'get', 0)">{lang comments}</a><!--{/if}-->
- <!--{if (!$_G['uid'] || $allowpostreply) && !$needhiddenreply}-->
- <!--{if $post['first']}-->
- <a class="fastre" href="forum.php?mod=post&action=reply&fid=$_G[fid]&tid=$_G[tid]&reppost=$post[pid]&extra=$_GET[extra]&page=$page" onclick="showWindow('reply', this.href)">{lang reply}</a>
- <!--{else}-->
- <a class="fastre" href="forum.php?mod=post&action=reply&fid=$_G[fid]&tid=$_G[tid]&repquote=$post[pid]&extra=$_GET[extra]&page=$page" onclick="showWindow('reply', this.href)">{lang reply}</a>
- <!--{/if}-->
- <!--{/if}-->
- <!--{/if}-->
- <!--{if (($_G['forum']['ismoderator'] && $_G['group']['alloweditpost'] && (!in_array($post['adminid'], array(1, 2, 3)) || $_G['adminid'] <= $post['adminid'])) || ($_G['forum']['alloweditpost'] && $_G['uid'] && ($post['authorid'] == $_G['uid'] && $_G['forum_thread']['closed'] == 0) && !(!$alloweditpost_status && $edittimelimit && TIMESTAMP - $post['dbdateline'] > $edittimelimit)))}-->
- <a class="editp" href="forum.php?mod=post&action=edit&fid=$_G[fid]&tid=$_G[tid]&pid=$post[pid]{if !empty($_GET[modthreadkey])}&modthreadkey=$_GET[modthreadkey]{/if}&page=$page"><!--{if $_G['forum_thread']['special'] == 2 && !$post['message']}-->{lang post_add_aboutcounter}<!--{else}-->{lang edit}</a><!--{/if}-->
- <!--{elseif $_G['uid'] && $post['authorid'] == $_G['uid'] && $_G['setting']['postappend']}-->
- <a class="appendp" href="forum.php?mod=misc&action=postappend&tid=$post[tid]&pid=$post[pid]&extra=$_GET[extra]&page=$page" onClick="showWindow('postappend', this.href, 'get', 0)">{lang postappend}</a>
- <!--{/if}-->
- <!--{if $post['first'] && $post['invisible'] == -3}-->
- <a class="psave" href="forum.php?mod=misc&action=pubsave&tid=$_G[tid]">{lang published}</a>
- <!--{/if}-->
- <!--{if $post['invisible'] == -2 && !$post['first']}-->
- <span class="xg1">({lang moderate_need})</span>
- <!--{/if}-->
- <!--{if $post['first'] && $allowblockrecommend}--><a class="push" href="javascript:;" onclick="modaction('recommend', '$_G[forum_firstpid]', 'op=recommend&idtype={if $_G[forum_thread][isgroup]}gtid{else}tid{/if}&id=$_G[tid]&pid=$post[pid]', 'portal.php?mod=portalcp&ac=portalblock')">{lang modmenu_blockrecommend}</a><!--{/if}-->
- <!--{hook/viewthread_postfooter $postcount}-->
- </em>
- <p>
- <!--{if $post['invisible'] == 0}-->
- <!--{if $_G['setting']['magicstatus']}-->
- <a href="javascript:;" id="mgc_post_$post[pid]" onmouseover="showMenu(this.id)" class="showmenu">{lang thread_magic}</a>
- <!--{/if}-->
- <!--{if $_G['forum_thread']['special'] == 3 && ($_G['forum']['ismoderator'] && (!$_G['setting']['rewardexpiration'] || $_G['setting']['rewardexpiration'] > 0 && ($_G[timestamp] - $_G['forum_thread']['dateline']) / 86400 > $_G['setting']['rewardexpiration']) || $_G['forum_thread']['authorid'] == $_G['uid']) && $post['authorid'] != $_G['forum_thread']['authorid'] && $post['first'] == 0 && $_G['uid'] != $post['authorid'] && $_G['forum_thread']['price'] > 0}-->
- <a href="javascript:;" onclick="setanswer($post['pid'], '$_GET[from]')">{lang reward_set_bestanswer}</a>
- <!--{/if}-->
- <!--{if !$post['first'] && $_G['group']['raterange'] && $post['authorid']}-->
- <a href="javascript:;" onclick="showWindow('rate', 'forum.php?mod=misc&action=rate&tid=$_G[tid]&pid=$post[pid]', 'get', -1);return false;">{lang rate}</a>
- <!--{/if}-->
- <!--{if !empty($postlist[$post[pid]]['totalrate']) && $_G['forum']['ismoderator']}-->
- <a href="forum.php?mod=misc&action=removerate&tid=$_G[tid]&pid=$post[pid]&page=$page" onclick="showWindow('rate', this.href, 'get', -1)">{lang removerate}</a>
- <!--{/if}-->
- <!--{if $post['authorid'] != $_G['uid']}-->
- <a href="javascript:;" onclick="showWindow('miscreport$post[pid]', 'misc.php?mod=report&rtype=post&rid=$post[pid]&tid=$_G[tid]&fid=$_G[fid]', 'get', -1);return false;">{lang report}</a>
- <!--{/if}-->
- <!--{/if}-->
- <!--{hook/viewthread_postaction $postcount}-->
- </p>
- <!--{if $_G['setting']['magicstatus']}-->
- <ul id="mgc_post_$post[pid]_menu" class="p_pop mgcmn" style="display: none;">
- <!--{if $post['first']}-->
- <!--{if !empty($_G['setting']['magics']['bump'])}-->
- <li><a href="home.php?mod=magic&mid=bump&idtype=tid&id=$_G[tid]" id="a_bump" onclick="showWindow(this.id, this.href)"><img src="{STATICURL}image/magic/bump.small.gif" />$_G['setting']['magics']['bump']</a></li>
- <!--{/if}-->
- <!--{if !empty($_G['setting']['magics']['stick'])}-->
- <li><a href="home.php?mod=magic&mid=stick&idtype=tid&id=$_G[tid]" id="a_stick" onclick="showWindow(this.id, this.href)"><img src="{STATICURL}image/magic/stick.small.gif" />$_G['setting']['magics']['stick']</a></li>
- <!--{/if}-->
- <!--{if !empty($_G['setting']['magics']['close'])}-->
- <li><a href="home.php?mod=magic&mid=close&idtype=tid&id=$_G[tid]" id="a_stick" onclick="showWindow(this.id, this.href)"><img src="{STATICURL}image/magic/close.small.gif" />$_G['setting']['magics']['close']</a></li>
- <!--{/if}-->
- <!--{if !empty($_G['setting']['magics']['open'])}-->
- <li><a href="home.php?mod=magic&mid=open&idtype=tid&id=$_G[tid]" id="a_stick" onclick="showWindow(this.id, this.href)"><img src="{STATICURL}image/magic/open.small.gif" />$_G['setting']['magics']['open']</a></li>
- <!--{/if}-->
- <!--{if !empty($_G['setting']['magics']['highlight'])}-->
- <li><a href="home.php?mod=magic&mid=highlight&idtype=tid&id=$_G[tid]" id="a_stick" onclick="showWindow(this.id, this.href)"><img src="{STATICURL}image/magic/highlight.small.gif" />$_G['setting']['magics']['highlight']</a></li>
- <!--{/if}-->
- <!--{if !empty($_G['setting']['magics']['sofa'])}-->
- <li><a href="home.php?mod=magic&mid=sofa&idtype=tid&id=$_G[tid]" id="a_stick" onclick="showWindow(this.id, this.href)"><img src="{STATICURL}image/magic/sofa.small.gif" />$_G['setting']['magics']['sofa']</a></li>
- <!--{/if}-->
- <!--{if !empty($_G['setting']['magics']['jack'])}-->
- <li><a href="home.php?mod=magic&mid=jack&idtype=tid&id=$_G[tid]" id="a_jack" onclick="showWindow(this.id, this.href)"><img src="{STATICURL}image/magic/jack.small.gif" />$_G['setting']['magics']['jack']</a></li>
- <!--{/if}-->
- <!--{hook/viewthread_magic_thread}-->
- <!--{/if}-->
- <!--{if !empty($_G['setting']['magics']['repent']) && $post['authorid'] == $_G['uid'] && !$rushreply}-->
- <li><a href="home.php?mod=magic&mid=repent&idtype=pid&id=$post[pid]:$_G[tid]" id="a_repent_$post[pid]" onclick="showWindow(this.id, this.href)"><img src="{STATICURL}image/magic/bump.small.gif" />$_G['setting']['magics']['repent']</a></li>
- <!--{/if}-->
- <!--{if !empty($_G['setting']['magics']['anonymouspost']) && $post['authorid'] == $_G['uid']}-->
- <li><a href="home.php?mod=magic&mid=anonymouspost&idtype=pid&id=$post[pid]:$_G[tid]" id="a_anonymouspost_$post[pid]" onclick="showWindow(this.id, this.href)"><img src="{STATICURL}image/magic/anonymouspost.small.gif" />$_G['setting']['magics']['anonymouspost']</a><li>
- <!--{/if}-->
- <!--{if !empty($_G['setting']['magics']['namepost'])}-->
- <li><a href="home.php?mod=magic&mid=namepost&idtype=pid&id=$post[pid]:$_G[tid]" id="a_namepost_$post[pid]" onclick="showWindow(this.id, this.href)"><img src="{STATICURL}image/magic/namepost.small.gif" />$_G['setting']['magics']['namepost']</a><li>
- <!--{/if}-->
- <!--{hook/viewthread_magic_post $postcount}-->
- </ul>
- <script type="text/javascript" reload="1">checkmgcmn('post_$post[pid]')</script>
- <!--{/if}-->
- </div>
- </div>
- </td>
- </tr>
- <!--{/if}-->
- </table>
- </div>
- <!--{/if}-->
- <!--{if !empty($aimgs[$post[pid]])}-->
- <script type="text/javascript" reload="1">
- aimgcount[{$post[pid]}] = [<!--{echo dimplode($aimgs[$post[pid]]);}-->];
- attachimggroup($post['pid']);
- <!--{if empty($_G['setting']['lazyload'])}-->
- <!--{if !$post['imagelistthumb']}-->
- attachimgshow($post[pid]);
- <!--{else}-->
- attachimgshow($post[pid], 1);
- <!--{/if}-->
- <!--{/if}-->
- var aimgfid = 0;
- <!--{if $_G['forum']['picstyle'] && ($_G['forum']['ismoderator'] || $_G['uid'] == $_G['thread']['authorid'])}-->
- aimgfid = $_G[fid];
- <!--{/if}-->
- <!--{if $post['imagelistthumb']}-->
- attachimglstshow($post['pid'], <!--{echo intval($_G['setting']['lazyload'])}-->, aimgfid, '{$_G[setting][showexif]}');
- <!--{/if}-->
- </script>
- <!--{/if}-->
- <!--{else}-->
- <!--{eval //如果主题已经被删除}-->
- <table id="pid$post[pid]" summary="pid$post[pid]" cellspacing="0" cellpadding="0">
- <tbody>
- <tr>
- <td class="plc">
- <div class="pi">
- <strong><a><!--{if !empty($postno[$post[number]])}-->$postno[$post[number]]<!--{else}--><em>{$post[number]}</em>{$postno[0]}<!--{/if}--></a></strong>
- </div>
- <div class="pct">{lang post_deleted}</div>
- </td>
- </tr>
- </tbody>
- </table>
- <!--{/if}-->
复制代码 注释很明白的哦。
|