码迷,mamicode.com
首页 > Web开发 > 详细

dzx2.5 template\default\forum\viewthread_node.htm代码调用解放(和我一样的菜鳥版)

时间:2017-09-10 01:04:27      阅读:504      评论:0      收藏:0      [点我收藏+]

标签:stc   tags   let   文字   dmi   isset   wpa   pm2   splay   

  1. <!--{block authorverifys}-->
  2. <!--{if $_G[‘setting‘][‘verify‘][‘enabled‘]}-->
  3.     <!--{loop $_G[‘setting‘][‘verify‘] $vid $verify}-->
  4.         <!--{if $verify[‘available‘] && $verify[‘showicon‘]}-->
  5.             <a href="home.php?mod=spacecp&ac=profile&op=verify&vid=$vid" target="_blank">
  6.             <!--{if $post[‘verify‘.$vid] == 1}-->
  7.                 <!--{if !empty($verify[‘icon‘])}--><img src="$verify[‘icon‘]" class="vm" alt="$verify[title]" title="$verify[title]" /><!--{else}-->$verify[title]<!--{/if}-->
  8.             <!--{elseif !empty($verify[‘unverifyicon‘])}-->
  9.                 <img src="$verify[‘unverifyicon‘]" class="vm" alt="$verify[title]" title="$verify[title]" />
  10.             <!--{/if}--></a> 
  11.         <!--{/if}-->
  12.     <!--{/loop}-->
  13. <!--{/if}-->
  14. <!--{/block}-->

复制代码调用于显示有认证及无认证的图标及认证名

  1. <!--{if $post[‘first‘] &&  $_G[‘forum_threadstamp‘]}-->
  2.     <div id="threadstamp"><img src="{STATICURL}image/stamp/$_G[forum_threadstamp][url]" title="$_G[forum_threadstamp][text]" /></div>
  3. <!--{/if}-->
复制代码

调用设置了有主题大图标即显示

  1.         <!--{if $post[‘authorid‘] && $post[‘username‘] && !$post[‘anonymous‘]}-->
  2.             <!--{if $_G[‘setting‘][‘authoronleft‘]}-->
  3.                 <div class="pi">
  4.                     <div class="authi"><a href="home.php?mod=space&uid=$post[‘authorid‘]" target="_blank" class="xw1">$post[author]</a>$authorverifys</div>
  5.                 </div>
  6.             <!--{/if}-->
复制代码

调用用戶名及认证信息

  1.             <div class="p_pop blk bui" id="userinfo$post[pid]" style="display: none; {if $_G[‘setting‘][‘authoronleft‘]}margin-top: -11px;{/if}">
  2.                 <div class="m z">
  3.                     <div id="userinfo$post[pid]_ma"></div>
  4.                     <!--{hook/viewthread_profileside $postcount}-->
  5.                 </div>
  6.                 <div class="i y">
  7.                     <div>
  8.                         <strong><a href="home.php?mod=space&uid=$post[authorid]" target="_blank" class="xi2">$post[author]</a></strong>
  9.                         <!--{if $_G[‘setting‘][‘vtonlinestatus‘] && $post[‘authorid‘]}-->
  10.                             <!--{if ($_G[‘setting‘][‘vtonlinestatus‘] == 2 && $_G[forum_onlineauthors][$post[authorid]]) || ($_G[‘setting‘][‘vtonlinestatus‘] == 1 && (TIMESTAMP - $post[‘lastactivity‘] <= 10800) && !$post[‘authorinvisible‘])}-->
  11.                                 <em>{lang online}</em>
  12.                             <!--{else}-->
  13.                                 <em>{lang offline}</em>
  14.                             <!--{/if}-->
  15.                         <!--{/if}-->
  16.                     </div>
  17.                     <dl class="cl">{$post[custominfo][menu]}</dl>
  18.                     <div class="imicn">
  19.                         <!--{if $post[‘qq‘] && !$post[‘privacy‘][‘profile‘][‘qq‘]}--><a href="http://wpa.qq.com/msgrd?V=1&Uin=$post[qq]&Site=$_G[‘setting‘][‘bbname‘]&Menu=yes" target="_blank" title="QQ"><img src="{IMGDIR}/qq.gif" alt="QQ" /></a><!--{/if}-->
  20.                         <!--{if $post[‘icq‘] && !$post[‘privacy‘][‘profile‘][‘icq‘]}--><a href="http://wwp.icq.com/scripts/search.dll?to=$post[icq]" target="_blank" title="ICQ"><img src="{IMGDIR}/icq.gif" alt="ICQ" /></a><!--{/if}-->
  21.                         <!--{if $post[‘yahoo‘] && !$post[‘privacy‘][‘profile‘][‘yahoo‘]}--><a href="http://edit.yahoo.com/config/send_webmesg?.target=$post[yahoo]&.src=pg" target="_blank" title="Yahoo"><img src="{IMGDIR}/yahoo.gif" alt="Yahoo!"  /></a><!--{/if}-->
  22.                         <!--{if $post[‘taobao‘] && !$post[‘privacy‘][‘profile‘][‘taobao‘]}--><a href="javascript:;" title="{lang taobao}"><img src="{IMGDIR}/taobao.gif" alt="{lang taobao}" /></a><!--{/if}-->
  23.                         <!--{if $post[‘site‘] && !$post[‘privacy‘][‘profile‘][‘site‘]}--><a href="$post[site]" target="_blank" title="{lang member_homepage}"><img src="{IMGDIR}/forumlink.gif" alt="{lang member_homepage}" /></a><!--{/if}-->
  24.                         <a href="home.php?mod=space&uid=$post[authorid]&do=profile" target="_blank" title="{lang member_viewpro}"><img src="{IMGDIR}/userinfo.gif" alt="{lang member_viewpro}" /></a>
  25.                         <!--{hook/viewthread_imicons $postcount}-->
  26.                         <!--{if $_G[‘setting‘][‘magicstatus‘]}-->
  27.                             <!--{if !empty($_G[‘setting‘][‘magics‘][‘showip‘])}-->
  28.                                 <a href="home.php?mod=magic&mid=showip&idtype=user&id={echo rawurlencode($post[author])}" id="a_showip_li_{$post[pid]}" class="xi2"><img src="{STATICURL}/image/magic/showip.small.gif" /> $_G[‘setting‘][‘magics‘][‘showip‘]</a>
  29.                             <!--{/if}-->
  30.                             <!--{if !empty($_G[‘setting‘][‘magics‘][‘checkonline‘]) && $post[‘authorid‘] != $_G[‘uid‘]}-->
  31.                                 <a href="home.php?mod=magic&mid=checkonline&idtype=user&id={echo rawurlencode($post[author])}" id="a_repent_$post[pid]" class="xi2"><img src="{STATICURL}/image/magic/checkonline.small.gif" /> $_G[‘setting‘][‘magics‘][‘checkonline‘]</a>
  32.                             <!--{/if}-->
  33.                             <!--{hook/viewthread_magic_user $postcount}-->
  34.                         <!--{/if}-->
  35.                     </div>
  36.                     <div id="avatarfeed"><span id="threadsortswait"></span></div>
  37.                 </div>
  38.             </div>
复制代码

调用于头象彈出所显示的用戶名认证信息及QQ ICQ等图标信息

  1.             <!--{if $_G[‘setting‘][‘bannedmessages‘] & 2 && ($post[‘memberstatus‘] == ‘-1‘ || ($post[‘authorid‘] && !$post[‘username‘]) || ($post[‘groupid‘] == 4 || $post[‘groupid‘] == 5) || ($post[‘status‘] & 1))}-->
  2.                 <div class="avatar">{lang member_avatar_banned}</div>
  3.             <!--{elseif $post[‘avatar‘] && $showavatars}-->
  4.                 <!--{if $post[mobiletype]}-->
  5.                 <div class="mobile-type mobile-type-$post[mobiletype]">
  6.                     <a href="misc.php?mod=mobile" tip="{lang post_from_mobile}"></a>
  7.                 </div>
  8.                 <!--{/if}-->
  9.                 <div class="avatar"><a href="home.php?mod=space&uid=$post[authorid]" target="_blank">$post[avatar]</a></div>
  10.             <!--{/if}-->
复制代码

1.IF调用于用戶给BANNED時后台设置了屏头象时所显示的信息
            2.IF调用于用戶是否用手机发有 如是即加上手机图标在头象上
            3.DIY调用于显示帖子的头象

  1.             <div class="tns xg2">
  2.                 <table cellspacing="0" cellpadding="0">
  3.                     <th><p><a href="home.php?mod=space&uid=$post[authorid]&do=thread&view=me&from=space" class="xi2"><!--{echo dnumber($post[threads])}--></a></p>{lang threads}</th>
  4.                     <th>
  5.                         <!--{if helper_access::check_module(‘follow‘)}-->
  6.                         <p><a href="home.php?mod=follow&do=follower&uid=$post[authorid]" class="xi2"><!--{echo dnumber($post[follower])}--></a></p>{lang follower}
  7.                         <!--{else}-->
  8.                         <p><a href="home.php?mod=space&uid=$post[authorid]&do=friend&view=me" class="xi2"><!--{echo dnumber($post[friends])}--></a></p>{lang friends}
  9.                         <!--{/if}-->
  10.                     </th>
  11.                     <td><p><a href="home.php?mod=space&uid=$post[authorid]&do=profile" class="xi2"><!--{echo dnumber($post[credits])}--></a></p>{lang credits}</td>
  12.                 </table>
  13.             </div>
复制代码

调用本头象下的三列
            1.调用主题
            2.调用听众(如有开通廣播功能)
            3.调用好友(沒有开通廣播功能)

  1.             <!--{if $post[groupicon]}--><p><a href="home.php?mod=spacecp&ac=usergroup&gid=$post[groupid]" target="_blank">$post[groupicon]</a></p><!--{/if}-->
  2.             <p><em><a href="home.php?mod=spacecp&ac=usergroup&gid=$post[groupid]" target="_blank">{$post[authortitle]}</a></em></p>
  3.             <!--{if $post[‘customstatus‘]}--><p class="xg1">$post[customstatus]</p><!--{/if}-->
复制代码

调用于如有用戶组ICON即显示用戶组ICON,,如沒有即显示用戶组名及星级数(如有设置)
轉帖请注明轉至:小六子 原帖:http://www.discuz.net/thread-2897431-1-1.htmlhttp://bbs.xiaoyao-heroes.cn/

  1.             <p{if $post[‘upgradecredit‘] !== false} id="g_up$post[pid]"{/if}><!--{eval showstars($post[‘stars‘]);}--></p>
  2.             <!--{if $post[‘upgradecredit‘] !== false}-->
  3.                 <div id="g_up$post[pid]_menu" class="tip tip_4" style="display: none;">
  4.                     <div class="tip_horn"></div>
  5.                     <div class="tip_c">$post[‘authortitle‘], {lang credits} $post[‘credits‘], {lang thread_groupupgrade} $post[‘upgradecredit‘] {lang credits}</div>
  6.                 </div>
  7.             <!--{/if}-->
复制代码

调用于鼠标移动到星级数所提示升到下一级需多少分数

  1.             <!--{if $post[custominfo][left]}--><dl class="pil cl">{$post[custominfo][left]}</dl><!--{/if}-->
复制代码

调用显示后台 界面 帖子內容页 所显示的用戶信息

  1.             <!--{if $post[‘medals‘]}-->
  2.                 <p class="md_ctrl">
  3.                     <a href="home.php?mod=medal">
  4.                         <!--{loop $post[‘medals‘] $medal}-->
  5.                         <img id="md_{$post[pid]}_{$medal[medalid]}" src="{STATICURL}image/common/$medal[image]" alt="$medal[name]" title="" />
  6.                         <!--{/loop}-->
  7.                     </a>
  8.                 </p>
  9.             <!--{/if}-->
复制代码

调用于勋章的显示

  1.             <!--{if $post[authorid] != $_G[uid]}-->
  2.                 <ul class="xl xl2 o cl">
  3.                     <!--{if helper_access::check_module(‘follow‘)}-->
  4.                     <li class="addflw">
  5.                         <a href="home.php?mod=spacecp&ac=follow&op=add&hash={FORMHASH}&fuid=$post[authorid]" id="followmod_$post[authorid]" title="{lang follow}" class="xi2">{lang follow}</a>
  6.                     </li>
  7.                     <!--{/if}-->
  8.                     <li class="pm2"><a href="home.php?mod=spacecp&ac=pm&op=showmsg&handlekey=showmsg_$post[authorid]&touid=$post[authorid]&pmid=0&daterange=2&pid=$post[pid]&tid=$post[tid]" title="{lang viewthread_left_sendpm}" class="xi2">{lang viewthread_left_sendpm}</a></li>
  9.                 </ul>
  10.             <!--{/if}-->
复制代码

调用于勋章上的收听他以及PM他

  1.         <!--{elseif getstatus($post[‘status‘], 5)}-->
  2.             <!--{if $_G[‘setting‘][‘authoronleft‘]}-->
  3.             <div class="pi">
  4.                 <div class="authi"><a href="javascript:;" class="xw1">$post[author]</a></div>
  5.             </div>
  6.             <!--{/if}-->
  7.             <!--{if $showavatars}-->
  8.             <div>
  9.                 <div class="avatar"><a href="javascript:;">$post[avatar]</a></div>
  10.             </div>
  11.             <!--{/if}-->
  12.         <!--{else}-->
  13.             <div class="pi">
  14.             <!--{if !$post[‘authorid‘]}-->
  15.                 <a href="javascript:;">$_G[setting][anonymoustext] <em>$post[useip]</em></a>
  16.             <!--{elseif $post[‘authorid‘] && $post[‘username‘] && $post[‘anonymous‘]}-->
  17.                 <!--{if $_G[‘forum‘][‘ismoderator‘]}--><a href="home.php?mod=space&uid=$post[authorid]" target="_blank">$_G[setting][anonymoustext]</a><!--{else}-->$_G[setting][anonymoustext]<!--{/if}-->
  18.             <!--{else}-->
  19.                 $post[author] <em>{lang member_deleted}</em>
  20.             <!--{/if}-->
  21.             </div>
  22.         <!--{/if}-->
复制代码

调用于用戶已刪除时所显示的信息

  1.         <!--{if ($_G[‘group‘][‘allowedituser‘] || $_G[‘group‘][‘allowbanuser‘] || ($_G[‘forum‘][‘ismoderator‘] && $_G[‘group‘][‘allowviewip‘])) && !getstatus($post[‘status‘], 5)}-->
  2.             <p class="cp_pls cl">
  3.                 <!--{if $_G[‘forum‘][‘ismoderator‘] && $_G[‘group‘][‘allowviewip‘]}-->
  4.                     <a href="forum.php?mod=topicadmin&action=getip&fid=$_G[fid]&tid=$_G[tid]&pid=$post[pid]{if $_G[‘forum_auditstatuson‘]}&modthreadkey=$_GET[modthreadkey]{/if}">IP</a>
  5.                 <!--{/if}-->
  6.                 <!--{if $_G[‘group‘][‘allowedituser‘]}-->
  7.                     <a href="{if $_G[‘adminid‘] == 1}admin.php?frames=yes&action=members&operation=search&uid=$post[authorid]&submit=yes{else}forum.php?mod=modcp&action=member&op=edit&uid=$post[authorid]{/if}" target="_blank">{lang edit}</a>
  8.                 <!--{/if}-->
  9.                 <!--{if $_G[‘group‘][‘allowbanuser‘]}-->
  10.                     <!--{if $_G[‘adminid‘] == 1}-->
  11.                         <a href="admin.php?action=members&operation=ban&username=$post[usernameenc]&frames=yes" target="_blank">{lang ban_member}</a>
  12.                     <!--{else}-->
  13.                         <a href="forum.php?mod=modcp&action=member&op=ban&uid=$post[authorid]" target="_blank">{lang ban_member}</a>
  14.                     <!--{/if}-->
  15.                 <!--{/if}-->
  16.                 <a href="forum.php?mod=modcp&action=thread&op=post&do=search&searchsubmit=1&users=$post[usernameenc]" target="_blank">{lang posts}</a>
  17.                 <!--{if $_G[‘adminid‘] == 1}-->
  18.                     <a href="forum.php?mod=ajax&action=quickclear&uid=$post[authorid]">{lang clear}</a>
  19.                 <!--{/if}-->
  20.             </p>
  21.         <!--{/if}-->
复制代码

调用勋章上的IP,EEDIT,BAN等功能
轉帖请注明轉至:小六子 原帖:http://www.discuz.net/thread-2897431-1-1.htmlhttp://bbs.xiaoyao-heroes.cn/

  1.                 <!--{if !$postcount && !$_G[‘forum_thread‘][‘archiveid‘] && $post[‘first‘] }-->
  2.                     <div id="fj" class="y">
  3.                         <label class="z">{lang thread_redirect_postno}</label>
  4.                         <input type="text" class="px p_fre z" size="2" title="{lang thread_redirect_postno_tips}" />
  5.                         <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>
  6.                     </div>
  7.                 <!--{/if}-->
复制代码

调用于跳楼层的功能

  1.                 <!--{if $post[‘warned‘]}-->
  2.                     <a href="forum.php?mod=misc&action=viewwarning&tid=$_G[tid]&uid=$post[authorid]" title="{lang warn_get}" class="y"><img src="{IMGDIR}/warning.gif" alt="{lang warn_get}" /></a>
  3.                 <!--{/if}-->
复制代码

调用于用戶帖子被警告的图标及文字

  1.                 <strong>
  2.                     <a href="{if $post[first]}forum.php?mod=viewthread&tid=$_G[tid]$fromuid{else}forum.php?mod=redirect&goto=findpost&ptid=$_G[tid]&pid=$post[pid]$fromuid{/if}" title="{lang share_url_copy_comment}" id="postnum$post[pid]"><!--{if !empty($postno[$post[number]])}-->$postno[$post[number]]<!--{else}--><em>{$post[number]}</em>{$postno[0]}<!--{/if}--></a>
  3.                 </strong>
复制代码

调用于复制帖子楼层的显示文件及复制地址

  1.                     <!--{if !$post[‘first‘] && $post[‘rewardfloor‘]}-->
  2.                         <label class="pdbts pdbts_1">
  3.                             <a href="forum.php?mod=viewthread&tid=$post[tid]&checkrush=1" rel="nofollow" title="{lang rushreply_hit_title}" class="v">{lang prosit}</a>
  4.                             <a href="forum.php?mod=viewthread&tid=$post[tid]&checkrush=1" rel="nofollow" title="{lang rushreply_hit_title}" class="b">{lang rushreply_hit}</a>
  5.                         </label>
  6.                     <!--{/if}-->
复制代码

调用于抢楼帖所中楼的显示等

  1.                     <!--{if !$post[first] && $_G[‘forum_thread‘][‘special‘] == 5}-->
  2.                         <label class="pdbts pdbts_{echo intval($post[stand])}">
  3.                             <!--{if $post[stand] == 1}--><a class="v" href="forum.php?mod=viewthread&tid=$_G[tid]&extra=$_GET[extra]&filter=debate&stand=1" title="{lang debate_view_square}">{lang debate_square}</a>
  4.                                 <!--{elseif $post[stand] == 2}--><a class="v" href="forum.php?mod=viewthread&tid=$_G[tid]&extra=$_GET[extra]&filter=debate&stand=2" title="{lang debate_view_opponent}">{lang debate_opponent}</a>
  5.                                 <!--{else}--><a href="forum.php?mod=viewthread&tid=$_G[tid]&extra=$_GET[extra]&filter=debate&stand=0" title="{lang debate_view_neutral}">{lang debate_neutral}</a><!--{/if}-->
  6.                             <!--{if $post[stand]}-->
  7.                                 <a class="b" href="forum.php?mod=misc&action=debatevote&tid=$_G[tid]&pid=$post[pid]" id="voterdebate_$post[pid]">{lang debate_support} $post[voters]</a>
  8.                             <!--{/if}-->
  9.                         </label>
  10.                     <!--{/if}-->
复制代码

调用于辩论的显示 中立 支持 反对等

  1.                 <!--{if !$post[‘anonymous‘] && $_G[‘cache‘][‘groupicon‘][$post[‘groupid‘]]}-->
  2.                     <img class="authicn vm" id="authicon$post[pid]" src="$_G[‘cache‘][‘groupicon‘][$post[‘groupid‘]]" />
  3.                 <!--{else}-->
  4.                     <img class="authicn vm" id="authicon$post[pid]" src="$_G[‘cache‘][‘groupicon‘][0]" />
  5.                 <!--{/if}-->
复制代码

调用于显示在线图标ICON

  1.                 <!--{if $post[‘authorid‘] && !$post[‘anonymous‘]}-->
  2.                     <!--{if !$_G[‘setting‘][‘authoronleft‘]}--><a href="home.php?mod=space&uid=$post[authorid]" target="_blank" class="xi2">$post[author]</a>$authorverifys<!--{/if}-->
  3.                     <em id="authorposton$post[pid]">{lang poston} $post[dateline]</em>
  4.                     <!--{if $post[‘status‘] & 8}-->
  5.                         <span class="xg1"><!--{if $_G[‘setting‘][‘mobile‘][‘mobilecomefrom‘]}-->{$_G[‘setting‘][‘mobile‘][‘mobilecomefrom‘]}<!--{else}-->{lang from_mobile}<!--{/if}--></span>
  6.                     <!--{/if}-->
复制代码

调用用戶名 认证 发表于

  1.                     <!--{if $post[‘invisible‘] == 0}-->
  2.                         <!--{if !IS_ROBOT && !$_GET[‘authorid‘] && !$_G[‘forum_thread‘][‘archiveid‘]}-->
  3.                             <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>
  4.                         <!--{elseif !$_G[‘forum_thread‘][‘archiveid‘]}-->
  5.                             <span class="pipe">|</span><a href="forum.php?mod=viewthread&tid=$post[tid]&page=$page" rel="nofollow">{lang thread_show_all}</a>
  6.                         <!--{/if}-->
  7.                     <!--{/if}-->
复制代码

调用查看所有 及 只查看作者

  1.                 <!--{elseif getstatus($post[‘status‘], 5)}-->
  2.                     <!--{if !$_G[‘setting‘][‘authoronleft‘]}--><a href="javascript:;" class="xi2">$post[author]</a><!--{/if}-->
  3.                      <em id="authorposton$post[pid]">{lang poston} $post[dateline]</em>
  4.                 <!--{elseif $post[‘authorid‘] && $post[‘username‘] && $post[‘anonymous‘] || !$post[‘authorid‘] && !$post[‘username‘]}-->
  5.                     $_G[setting][anonymoustext] 
  6.                     <em id="authorposton$post[pid]">{lang poston} $post[dateline]</em>
  7.                 <!--{/if}-->
复制代码

调用于禁止用戶所显示信息

  1.                 <!--{if !IS_ROBOT && !$_G[‘forum_thread‘][‘archiveid‘] && $post[‘first‘] }-->
  2.                     <!--{if !$rushreply}-->
  3.                         <!--{if $ordertype != 1}-->
  4.                             <span class="pipe">|</span><a href="forum.php?mod=viewthread&tid=$_G[tid]&extra=$_GET[extra]&ordertype=1">{lang post_descview}</a>
  5.                         <!--{else}-->
  6.                             <span class="pipe">|</span><a href="forum.php?mod=viewthread&tid=$_G[tid]&extra=$_GET[extra]&ordertype=2">{lang post_ascview}</a>
  7.                         <!--{/if}-->
  8.                     <!--{/if}-->
复制代码

调用于你是要回帖倒序排列还是倒序VIEW

  1.                     <!--{if $thread[‘authorid‘] == $_G[‘uid‘]}-->
  2.                         <span class="pipe">|</span>
  3.                         <!--{if $replynotice == 1}-->
  4.                             <a id="replynotice" href="forum.php?mod=misc&action=replynotice&op=ignore&tid=$_G[tid]" status="1">{lang ignore_replynotice}</a>
  5.                         <!--{else}-->
  6.                             <a id="replynotice" href="forum.php?mod=misc&action=replynotice&op=receive&tid=$_G[tid]" status="0">{lang receive_replynotice}</a>
  7.                         <!--{/if}-->
  8.                     <!--{/if}-->
复制代码

调用于你是否需要收到回复通知功能

  1.         <!--{ad ad_a_pr/thread/a_pr/3/$postcount}-->
复制代码

调用于AD

  1.             <!--{ad/thread/a_pt/2/$postcount}-->
  2.             <!--{if !$_G[‘inajax‘]}-->
  3.                 <!--{if empty($ad_a_pr_css)}-->
  4.                     <style type="text/css">.pcb{margin-right:0}</style>
  5.                     <!--{eval $ad_a_pr_css=1;}-->
  6.                 <!--{/if}-->
  7.             <!--{/if}-->
复制代码

调用于AD

  1.             <!--{if !$post[‘first‘] && $post[‘replycredit‘] > 0}-->
  2.                 <div class="cm">
  3.                     <h3 class="psth xs1">
  4.                         {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]}
  5.                     </h3>
  6.                 </div>
  7.             <!--{/if}-->
复制代码

调用于显示回帖獎勵的獎金 次数等等
轉帖请注明轉至:小六子 原帖:http://www.discuz.net/thread-2897431-1-1.htmlhttp://bbs.xiaoyao-heroes.cn/

  1.            <!--{subtemplate forum/viewthread_node_body}-->
复制代码

调用BODY的模版

  1.         <!--{if helper_access::check_module(‘collection‘) && !$_G[‘forum‘][‘disablecollect‘]}-->
  2.             <!--{if $post[‘relatecollection‘]}-->
  3.                 <div class="cm">
  4.                     <h3 class="psth xs1">{lang collection_related}</h3>
  5.                     <ul class="mbw xl xl2 cl">
  6.                     <!--{loop $post[‘relatecollection‘] $var}-->
  7.                         <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>
  8.                     <!--{/loop}-->
  9.                     <!--{if $post[‘releatcollectionmore‘]}-->
  10.                         <li>· <a href="forum.php?mod=collection&tid=$_G[tid]" target="_blank" class="xi2 xw1">{lang more}</a></li>
  11.                     <!--{/if}-->
  12.                     </ul>
  13.                 </div>
  14.                 <!--{if $post[‘sourcecollection‘][‘ctid‘]}-->
  15.                 <div>
  16.                     {lang collection_fromctid}
  17.                     <form action="forum.php?mod=collection&action=comment&ctid={$ctid}&tid={$_G[tid]}" method="POST" class="ptm pbm cl">
  18.                         <input type="hidden" name="ratescore" id="ratescore" />
  19.                         <span class="clct_ratestar">
  20.                             <span class="btn">
  21.                                 <a href="javascript:;">1</a>
  22.                                 <a href="javascript:;">2</a>
  23.                                 <a href="javascript:;">3</a>
  24.                                 <a href="javascript:;">4</a>
  25.                                 <a href="javascript:;">5</a>
  26.                             </span>
  27.                             <span id="clct_ratestar_star" class="star star$memberrate"></span>
  28.                         </span>
  29.                          <button type="submit" value="submit" class="pn"><span>{lang collection_rate}</span></button>
  30.                     </form>
  31.                 </div>
  32.                 <!--{/if}-->
  33.             <!--{/if}-->
  34.         <!--{/if}-->
复制代码

调用于显示帖子已被淘帖的显示及以淘帖进入帖子对淘帖评分

  1.         <!--{if $post[‘first‘] && ($post[tags] || $relatedkeywords)}-->
  2.             <div class="ptg mbm">
  3.                 <!--{if $post[tags]}-->
  4.                     <!--{eval $tagi = 0;}-->
  5.                     <!--{loop $post[tags] $var}-->
  6.                         <!--{if $tagi}-->, <!--{/if}--><a title="$var[1]" href="misc.php?mod=tag&id=$var[0]" target="_blank">$var[1]</a>
  7.                         <!--{eval $tagi++;}-->
  8.                     <!--{/loop}-->
  9.                 <!--{/if}-->
  10.                 <!--{if $relatedkeywords}--><span>$relatedkeywords</span><!--{/if}-->
  11.             </div>
  12.         <!--{/if}-->
复制代码

调用于显示关鍵字(TAG)

  1.         <!--{if $locations[$post[pid]]}-->
  2.             <div class="mobile-location">$locations[$post[pid]][location]</div>
  3.         <!--{/if}-->
复制代码

调用于显示手机发帖是來自什么地方

  1.         <!--{if !IS_ROBOT && $post[‘first‘] && !$_G[‘forum_thread‘][‘archiveid‘]}-->
  2.             <!--{if !empty($lastmod[‘modaction‘])}--><div class="modact"><a href="forum.php?mod=misc&action=viewthreadmod&tid=$_G[tid]" title="{lang thread_mod}"><!--{if $lastmod[‘modactiontype‘] == ‘REB‘}-->{lang thread_mod_recommend_by}<!--{else}-->{lang thread_mod_by}<!--{/if}--></a></div><!--{/if}-->
复制代码

调用于显示版主管理提示信息

  1.             <!--{if $post[‘invisible‘] == 0}-->
  2.                 <div id="p_btn" class="mtw mbm cl">
  3.                     <!--{if !empty($_G[‘setting‘][‘pluginhooks‘][‘viewthread_share_method‘])}-->
  4.                         <div class="tshare cl">
  5.                             <strong>{lang viewthread_share_to}:</strong>
  6.                             <!--{hook/viewthread_share_method}-->
  7.                         </div>
  8.                     <!--{/if}-->
复制代码

调用于显示分享到功能

  1.                     <!--{if !$post[‘anonymous‘] && helper_access::check_module(‘follow‘)}-->
  2.                     <a href="home.php?mod=spacecp&ac=follow&op=relay&tid=$_G[tid]&from=forum" id="k_relay"><i><img src="{IMGDIR}/rt.png" alt="{lang thread_realy}" />{lang thread_realy}<span id="relaynumber">{$_G[‘forum_thread‘][‘relay‘]}</span></i></a>
  3.                     <!--{/if}-->
  4.                     <!--{if !$_G[‘forum‘][‘disablecollect‘] && helper_access::check_module(‘collection‘)}-->
  5.                         <a href="forum.php?mod=collection&action=edit&op=addthread&tid=$_G[tid]" id="k_collect"><i><img src="{IMGDIR}/collection.png" alt="{lang thread_share}" />{lang collection}<span id="collectionnumber">{$post[‘releatcollectionnum‘]}</span></i></a>
  6.                     <!--{/if}-->
  7.                     <!--{if helper_access::check_module(‘share‘)}-->
  8.                         <a href="home.php?mod=spacecp&ac=share&type=thread&id=$_G[tid]" id="k_share"><i><img src="{IMGDIR}/oshr.png" alt="{lang thread_share}" />{lang thread_share}<span id="sharenumber">{$_G[‘forum_thread‘][‘sharetimes‘]}</span></i></a>
  9.                     <!--{/if}-->
  10.                     <a href="home.php?mod=spacecp&ac=favorite&type=thread&id=$_G[tid]" id="k_favorite"><i><img src="{IMGDIR}/fav.gif" alt="{lang thread_favorite}" />{lang thread_favorite}<span id="favoritenumber">{$_G[‘forum_thread‘][‘favtimes‘]}</span></i></a>
  11.                     <!--{if ($_G[‘group‘][‘allowrecommend‘] || !$_G[‘uid‘]) && $_G[‘setting‘][‘recommendthread‘][‘status‘]}-->
  12.                         <!--{if !empty($_G[‘setting‘][‘recommendthread‘][‘addtext‘])}-->
  13.                         <a id="recommend_add" href="forum.php?mod=misc&action=recommend&do=add&tid=$_G[tid]" {if $_G[‘uid‘]}onclick="ajaxmenu(this, 3000, 1, 0, ‘43‘, ‘recommendupdate({$_G[‘group‘][‘allowrecommend‘]})‘);return false;"{else}{/if}><i><img src="{IMGDIR}/rec_add.gif" alt="$_G[‘setting‘][‘recommendthread‘][addtext]" />$_G[‘setting‘][‘recommendthread‘][addtext]<span id="recommendv_add">$_G[forum_thread][recommend_add]</span></i></a>
  14.                         <!--{/if}-->
  15.                         <!--{if !empty($_G[‘setting‘][‘recommendthread‘][‘subtracttext‘])}-->
  16.                         <a id="recommend_subtract" href="forum.php?mod=misc&action=recommend&do=subtract&tid=$_G[tid]" {if $_G[‘uid‘]}onclick="ajaxmenu(this, 3000, 1, 0, ‘43‘, ‘recommendupdate(-{$_G[‘group‘][‘allowrecommend‘]})‘);return false;"{else}{/if}><i><img src="{IMGDIR}/rec_subtract.gif" alt="$_G[‘setting‘][‘recommendthread‘][subtracttext]" />$_G[‘setting‘][‘recommendthread‘][subtracttext]<span id="recommendv_subtract">$_G[forum_thread][recommend_sub]</span></i></a>
  17.                         <!--{/if}-->
  18.                     <!--{/if}-->
  19.                     <!--{if $_G[‘group‘][‘raterange‘] && $post[‘authorid‘]}-->
  20.                         <a href="javascript:;" id="ak_rate" title="{echo count($postlist[$post[pid]][totalrate]);} {lang people_score}"><i><img src="{IMGDIR}/agree.gif" alt="{lang rate}" />{lang rate}</i></a>
  21.                     <!--{/if}-->
复制代码

调用于显示 转播 收藏 顶 踩(此兩项需在后台设置) 评分 的快捷功能
轉帖请注明轉至:小六子 原帖:http://www.discuz.net/thread-2897431-1-1.htmlhttp://bbs.xiaoyao-heroes.cn/

  1.         <!--{if $post[‘relateitem‘]}-->
  2.             <div class="mtw mbw">
  3.                 <h3 class="pbm mbm bbda">{lang related_thread}</h3>
  4.                 <ul class="xl xl2 cl">
  5.                     <!--{loop $post[‘relateitem‘] $var}-->
  6.                     <li>? <a href="forum.php?mod=viewthread&tid=$var[tid]" title="$var[subject]" target="_blank">$var[subject]</a></li>
  7.                     <!--{/loop}-->
  8.                 </ul>
  9.             </div>
  10.         <!--{/if}-->
复制代码

调用于显示相关帖子

  1.         <!--{if $post[‘signature‘] && ($_G[‘setting‘][‘bannedmessages‘] & 4 && ($post[‘memberstatus‘] == ‘-1‘ || ($post[‘authorid‘] && !$post[‘username‘]) || ($post[‘groupid‘] == 4 || $post[‘groupid‘] == 5) || ($post[‘status‘] & 1)))}-->
  2.             <div class="sign">{lang member_signature_banned}</div>
  3.         <!--{elseif $post[‘signature‘] && !$post[‘anonymous‘] && $showsignatures}-->
  4.             <div class="sign" style="max-height:{$_G[‘setting‘][‘maxsigrows‘]}px;maxHeightIE:{$_G[‘setting‘][‘maxsigrows‘]}px;">$post[signature]</div>
  5.         <!--{/if}-->
复制代码

调用于显示会员签名 <div class="sign">{lang member_signature_banned}</div>调用显示用戶签名给屏蔽

  1.         <!--{ad/thread/a_pb/1/$postcount}-->
复制代码

调用AD

  1.             <!--{if !$post[‘first‘] && $modmenu[‘post‘]}-->
  2.                 <span class="y">
  3.                 <label for="manage$post[pid]">
  4.                 <input type="checkbox" id="manage$post[pid]" class="pc" {if !empty($modclick)}checked="checked" {/if}onclick="pidchecked(this);modclick(this, $post[pid])" value="$post[pid]" autocomplete="off" />
  5.                 {lang manage}
  6.                 </label>
  7.                 </span>
  8.             <!--{/if}-->
复制代码

调用于显示帖子作者可以管理帖子进行置顶的动作(而管理员则功能全有)

  1.                     <!--{if $post[‘invisible‘] == 0}-->
  2.                         <!--{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}">{lang comments}</a><!--{/if}-->
  3.                         <!--{if (!$_G[‘uid‘] || $allowpostreply) && !$needhiddenreply}-->
  4.                             <!--{if $post[‘first‘]}-->
  5.                                 <a class="fastre" href="forum.php?mod=post&action=reply&fid=$_G[fid]&tid=$_G[tid]&reppost=$post[pid]&extra=$_GET[extra]&page=$page">{lang reply}</a>
  6.                             <!--{else}-->
  7.                                 <a class="fastre" href="forum.php?mod=post&action=reply&fid=$_G[fid]&tid=$_G[tid]&repquote=$post[pid]&extra=$_GET[extra]&page=$page">{lang reply}</a>
  8.                             <!--{/if}-->
  9.                         <!--{/if}-->
  10.                     <!--{/if}-->
复制代码

调用于显示评论內容(需在后台开通相关功能)
轉帖请注明轉至:小六子 原帖:http://www.discuz.net/thread-2897431-1-1.htmlhttp://bbs.xiaoyao-heroes.cn/

  1.                     <!--{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)))}-->
  2.                         <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}-->
复制代码

调用于显示商品时增加介紹

  1.                     <!--{elseif $_G[‘uid‘] && $post[‘authorid‘] == $_G[‘uid‘] && $_G[‘setting‘][‘postappend‘]}-->
  2.                         <a class="appendp" href="forum.php?mod=misc&action=postappend&tid=$post[tid]&pid=$post[pid]&extra=$_GET[extra]&page=$page">{lang postappend}</a>
  3.                     <!--{/if}-->
复制代码

调用于补充(需在后台开通相关功能)

  1.                     <!--{if $post[‘first‘] && $post[‘invisible‘] == -3}-->
  2.                         <a class="psave" href="forum.php?mod=misc&action=pubsave&tid=$_G[tid]">{lang published}</a>
  3.                     <!--{/if}-->
复制代码

调用于帖子是草稿狀態的发表功能

  1.                     <!--{if $post[‘invisible‘] == -2 && !$post[‘first‘]}-->
  2.                         <span class="xg1">({lang moderate_need})</span>
  3.                     <!--{/if}-->
复制代码

调用于帖子在審核中标题所显示"待審核"

  1.                     <!--{if $post[‘first‘] && $allowblockrecommend}--><a class="push" href="javascript:;">{lang modmenu_blockrecommend}</a><!--{/if}-->
复制代码

调用于推送的功能(如有DIY即可推送)

  1.                     <!--{if $post[‘invisible‘] == 0}-->
  2.                         <!--{if $_G[‘setting‘][‘magicstatus‘]}-->
  3.                             <a href="javascript:;" id="mgc_post_$post[pid]" class="showmenu">{lang thread_magic}</a>
  4.                         <!--{/if}-->
复制代码

调用于显示道具功能

  1.                         <!--{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}-->
  2.                             <a href="javascript:;">{lang reward_set_bestanswer}</a>
  3.                         <!--{/if}-->
复制代码

调用于懸賞帖时选擇最好答案功能

  1.                         <!--{if !$post[‘first‘] && $_G[‘group‘][‘raterange‘] && $post[‘authorid‘]}-->
  2.                             <a href="javascript:;">{lang rate}</a>
  3.                         <!--{/if}-->
复制代码

调用于评分

  1.                         <!--{if !empty($postlist[$post[pid]][‘totalrate‘]) && $_G[‘forum‘][‘ismoderator‘]}-->
  2.                             <a href="forum.php?mod=misc&action=removerate&tid=$_G[tid]&pid=$post[pid]&page=$page">{lang removerate}</a>
  3.                         <!--{/if}-->
复制代码

调用于管理撤銷对该帖子的评分

  1.                         <!--{if $post[‘authorid‘] != $_G[‘uid‘]}-->
  2.                             <a href="javascript:;">{lang report}</a>
  3.                         <!--{/if}-->
复制代码

调用于显示舉报的显示

  1.                 <!--{if $_G[‘setting‘][‘magicstatus‘]}-->
  2.                     <ul id="mgc_post_$post[pid]_menu" class="p_pop mgcmn" style="display: none;">
  3.                     <!--{if $post[‘first‘]}-->
  4.                         <!--{if !empty($_G[‘setting‘][‘magics‘][‘bump‘])}-->
  5.                             <li><a href="home.php?mod=magic&mid=bump&idtype=tid&id=$_G[tid]" id="a_bump"><img src="{STATICURL}image/magic/bump.small.gif" />$_G[‘setting‘][‘magics‘][‘bump‘]</a></li>
  6.                         <!--{/if}-->
  7.                         <!--{if !empty($_G[‘setting‘][‘magics‘][‘stick‘])}-->
  8.                             <li><a href="home.php?mod=magic&mid=stick&idtype=tid&id=$_G[tid]" id="a_stick"><img src="{STATICURL}image/magic/stick.small.gif" />$_G[‘setting‘][‘magics‘][‘stick‘]</a></li>
  9.                         <!--{/if}-->
  10.                         <!--{if !empty($_G[‘setting‘][‘magics‘][‘close‘])}-->
  11.                             <li><a href="home.php?mod=magic&mid=close&idtype=tid&id=$_G[tid]" id="a_stick"><img src="{STATICURL}image/magic/close.small.gif" />$_G[‘setting‘][‘magics‘][‘close‘]</a></li>
  12.                         <!--{/if}-->
  13.                         <!--{if !empty($_G[‘setting‘][‘magics‘][‘open‘])}-->
  14.                             <li><a href="home.php?mod=magic&mid=open&idtype=tid&id=$_G[tid]" id="a_stick"><img src="{STATICURL}image/magic/open.small.gif" />$_G[‘setting‘][‘magics‘][‘open‘]</a></li>
  15.                         <!--{/if}-->
  16.                         <!--{if !empty($_G[‘setting‘][‘magics‘][‘highlight‘])}-->
  17.                             <li><a href="home.php?mod=magic&mid=highlight&idtype=tid&id=$_G[tid]" id="a_stick"><img src="{STATICURL}image/magic/highlight.small.gif" />$_G[‘setting‘][‘magics‘][‘highlight‘]</a></li>
  18.                         <!--{/if}-->
  19.                         <!--{if !empty($_G[‘setting‘][‘magics‘][‘sofa‘])}-->
  20.                             <li><a href="home.php?mod=magic&mid=sofa&idtype=tid&id=$_G[tid]" id="a_stick"><img src="{STATICURL}image/magic/sofa.small.gif" />$_G[‘setting‘][‘magics‘][‘sofa‘]</a></li>
  21.                         <!--{/if}-->
  22.                         <!--{if !empty($_G[‘setting‘][‘magics‘][‘jack‘])}-->
  23.                             <li><a href="home.php?mod=magic&mid=jack&idtype=tid&id=$_G[tid]" id="a_jack"><img src="{STATICURL}image/magic/jack.small.gif" />$_G[‘setting‘][‘magics‘][‘jack‘]</a></li>
  24.                         <!--{/if}-->
  25.                         <!--{hook/viewthread_magic_thread}-->
  26.                     <!--{/if}-->
  27.                     <!--{if !empty($_G[‘setting‘][‘magics‘][‘repent‘]) && $post[‘authorid‘] == $_G[‘uid‘] && !$rushreply}-->
  28.                         <li><a href="home.php?mod=magic&mid=repent&idtype=pid&id=$post[pid]:$_G[tid]" id="a_repent_$post[pid]"><img src="{STATICURL}image/magic/bump.small.gif" />$_G[‘setting‘][‘magics‘][‘repent‘]</a></li>
  29.                     <!--{/if}-->
  30.                     <!--{if !empty($_G[‘setting‘][‘magics‘][‘anonymouspost‘]) && $post[‘authorid‘] == $_G[‘uid‘]}-->
  31.                         <li><a href="home.php?mod=magic&mid=anonymouspost&idtype=pid&id=$post[pid]:$_G[tid]" id="a_anonymouspost_$post[pid]"><img src="{STATICURL}image/magic/anonymouspost.small.gif" />$_G[‘setting‘][‘magics‘][‘anonymouspost‘]</a><li>
  32.                     <!--{/if}-->
  33.                     <!--{if !empty($_G[‘setting‘][‘magics‘][‘namepost‘])}-->
  34.                         <li><a href="home.php?mod=magic&mid=namepost&idtype=pid&id=$post[pid]:$_G[tid]" id="a_namepost_$post[pid]"><img src="{STATICURL}image/magic/namepost.small.gif" />$_G[‘setting‘][‘magics‘][‘namepost‘]</a><li>
  35.                     <!--{/if}-->
复制代码

调用于显示所有道具功能

  1.         <!--{if $post[‘first‘] && $_G[forum_thread][special] == 5 && $_G[forum_thread][displayorder] >= 0}-->
  2.             <ul class="ttp cl">
  3.                 <li style="display:inline;margin-left:12px"><strong class="bw0 bg0_all">{lang debate_filter}: </strong></li>
  4.                 <li{if !isset($_GET[‘stand‘])} class="xw1 a"{/if}><a href="forum.php?mod=viewthread&tid=$_G[tid]&extra=$_GET[extra]" hidefocus="true">{lang all}</a></li>
  5.                 <li{if $_GET[‘stand‘] == 1} class="xw1 a"{/if}><a href="forum.php?mod=viewthread&tid=$_G[tid]&extra=$_GET[extra]&stand=1" hidefocus="true">{lang debate_square}</a></li>
  6.                 <li{if $_GET[‘stand‘] == 2} class="xw1 a"{/if}><a href="forum.php?mod=viewthread&tid=$_G[tid]&extra=$_GET[extra]&stand=2" hidefocus="true">{lang debate_opponent}</a></li>
  7.                 <li{if isset($_GET[‘stand‘]) && $_GET[‘stand‘] == 0} class="xw1 a"{/if}><a href="forum.php?mod=viewthread&tid=$_G[tid]&extra=$_GET[extra]&stand=0" hidefocus="true">{lang debate_neutral}</a></li>
  8.             </ul>
  9.         <!--{/if}-->
复制代码

调用于显示辩论时帖子正方 反方 中立

  1. <!--{if !empty($aimgs[$post[pid]])}-->
  2. <script type="text/javascript" reload="1">
  3.     aimgcount[{$post[pid]}] = [<!--{echo dimplode($aimgs[$post[pid]]);}-->];
  4.     attachimggroup($post[‘pid‘]);
  5.     <!--{if empty($_G[‘setting‘][‘lazyload‘])}-->
  6.         <!--{if !$post[‘imagelistthumb‘]}-->
  7.             attachimgshow($post[pid]);
  8.         <!--{else}-->
  9.             attachimgshow($post[pid], 1);
  10.         <!--{/if}-->
  11.     <!--{/if}-->
  12.     var aimgfid = 0;
  13.     <!--{if $_G[‘forum‘][‘picstyle‘] && ($_G[‘forum‘][‘ismoderator‘] || $_G[‘uid‘] == $_G[‘thread‘][‘authorid‘])}-->
  14.         aimgfid = $_G[fid];
  15.     <!--{/if}-->
  16.     <!--{if $post[‘imagelistthumb‘]}-->
  17.         attachimglstshow($post[‘pid‘], <!--{echo intval($_G[‘setting‘][‘lazyload‘])}-->, aimgfid, ‘{$_G[setting][showexif]}‘);
  18.     <!--{/if}-->
  19. </script>
  20. <!--{/if}-->
复制代码

调用于显示图标的JS功能

  1.     <table id="pid$post[pid]" summary="pid$post[pid]" cellspacing="0" cellpadding="0">
  2.     <tbody>
  3.         <tr>
  4.             <td class="pls"></td>
  5.             <td class="plc">
  6.                 <div class="pi">
  7.                     <strong><a><!--{if !empty($postno[$post[number]])}-->$postno[$post[number]]<!--{else}--><em>{$post[number]}</em>{$postno[0]}<!--{/if}--></a></strong>
  8.                 </div>
  9.                 <div class="pct">{lang post_deleted}</div>
  10.             </td>
  11.         </tr>
  12.         <tr class="ad"><td class="pls"></td><td class="plc"></td></tr>
  13.     </tbody>
  14. </table>

dzx2.5 template\default\forum\viewthread_node.htm代码调用解放(和我一样的菜鳥版)

标签:stc   tags   let   文字   dmi   isset   wpa   pm2   splay   

原文地址:http://www.cnblogs.com/alleyonline/p/7499804.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!