Discuz!官方免费开源建站系统

 找回密码
 立即注册
搜索

[已答复] 版主请进,有事请求帮忙~~

[复制链接]
FCB1899 发表于 2010-11-22 12:44:38 | 显示全部楼层 |阅读模式
如何在图中的所示的地方添加一段代码啊? 知道的朋友也可以说说看,谢谢~~


我把viewthread_node.htm的代码贴在二楼,麻烦各位帮忙看看应该添加在什么地方~~~(最好图中所说的两处都能指出来,谢谢)
回复

使用道具 举报

 楼主| FCB1899 发表于 2010-11-22 12:45:25 | 显示全部楼层
<!--{eval $needhiddenreply = ($hiddenreplies && $_G['uid'] != $post['authorid'] && $_G['uid'] != $_G['forum_thread']['authorid'] && !$post['first'] && !$_G['forum']['ismoderator']);}-->
<!--{block authorverifys}-->
<!--{if $_G['setting']['verify']['enabled']}-->
<!--{loop $_G['setting']['verify'] $vid $verify}-->
  <!--{if $verify['available'] && $post['verify'.$vid] == 1}-->
   <a href="home.php?mod=spacecp&ac=profile&op=verify&vid=$vid" target="_blank"><!--{if $verify[icon]}--><img src="$verify[icon]" class="vm" alt="$verify[title]" title="$verify[title]" /><!--{else}-->$verify[title]<!--{/if}--></a>&nbsp;
  <!--{/if}-->
<!--{/loop}-->
<!--{/if}-->
<!--{/block}-->
<table id="pid$post[pid]" {if $post['first']}class="fo"{/if} summary="pid$post[pid]" cellspacing="0" cellpadding="0">
<tr>
<td class="pls" rowspan="2">
  $post[newpostanchor] $post[lastpostanchor]
  <!--{if $post['authorid'] && $post['username'] && !$post['anonymous']}-->
   <!--{if $_G['setting']['authoronleft']}-->
    <div class="pi">
     <div class="authi"><a href="home.php?mod=space&uid=$post['authorid']" target="_blank" class="xw1">$post[author]</a>$authorverifys</div>
    </div>
   <!--{/if}-->
  <div class="p_pop blk bui" id="userinfo$post[pid]" style="display: none; {if $_G['setting']['authoronleft']}margin-top: -11px;{/if}">
   <div class="m z">
    <div id="userinfo$post[pid]_ma"></div>
    <ul>
     <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]" title="{lang send_pm}">{lang send_pm}</a></li>
     <!--{if $post[authorid] != $_G[uid]}-->
      <li class="buddy"><a href="home.php?mod=spacecp&ac=friend&op=add&uid=$post[authorid]&handlekey=addfriendhk_{$post[authorid]}" id="a_friend_li_{$post[pid]}">{lang add_to_buddylist}</a></li>
     <!--{/if}-->
    </ul>
    <!--{if $_G['setting']['magicstatus']}-->
     <!--{if !empty($_G['setting']['magics']['showip'])}-->
      <img src="{STATICURL}/image/magic/showip.small.gif" class="vm" /> <a href="home.php?mod=magic&mid=showip&idtype=user&id={echo rawurlencode($post[author])}" id="a_showip_li_{$post[pid]}">$_G['setting']['magics']['showip']</a><br />
     <!--{/if}-->
     <!--{if !empty($_G['setting']['magics']['checkonline']) && $post['authorid'] != $_G['uid']}-->
      <img src="{STATICURL}/image/magic/checkonline.small.gif" class="vm" /> <a href="home.php?mod=magic&mid=checkonline&idtype=user&id={echo rawurlencode($post[author])}" id="a_repent_$post[pid]">$_G['setting']['magics']['checkonline']</a><br />
     <!--{/if}-->
     <!--{hook/viewthread_magic_user $postcount}-->
    <!--{/if}-->
    <!--{hook/viewthread_profileside $postcount}-->
   </div>
   <div class="i y">
    <div>
     <strong><a href="home.php?mod=space&uid=$post[authorid]" target="_blank">$post[author]</a></strong>
     <!--{if $_G['setting']['vtonlinestatus'] && $post['authorid']}-->
      <!--{if ($_G['setting']['vtonlinestatus'] == 2 && $_G[forum_onlineauthors][$post[authorid]]) || ($_G['setting']['vtonlinestatus'] == 1 && (TIMESTAMP - $post['lastactivity'] <= 10800) && !$post['authorinvisible'])}-->
       <em>{lang online}
      <!--{else}-->
       <em>{lang offline}
      <!--{/if}-->
      </em>
     <!--{/if}-->
    </div>
    <dl class="cl"><!--{eval @eval('echo "'.$customauthorinfo[2].'";');}--></dl>
    <div class="imicn">
     <!--{if $post['qq']}--><a href="[url=http://wpa.qq.com/msgrd?V=1&Uin=$post[qq]&Site=$_G[]http://wpa.qq.com/msgrd?V=1&Uin=$post[qq]&Site=$_G['setting']['bbname']&Menu=yes[/url]" target="_blank" title="QQ"><img src="{IMGDIR}/qq.gif" alt="QQ" /></a><!--{/if}-->
     <!--{if $post['icq']}--><a href="[url=http://wwp.icq.com/scripts/search.dll?to=$post[icq]http://wwp.icq.com/scripts/search.dll?to=$post[icq[/url]]" target="_blank" title="ICQ"><img src="{IMGDIR}/icq.gif" alt="ICQ" /></a><!--{/if}-->
     <!--{if $post['yahoo']}--><a href="[url=http://edit.yahoo.com/config/send_webmesg?.target=$post[yahoo]&.src=pg]http://edit.yahoo.com/config/send_webmesg?.target=$post[yahoo]&.src=pg[/url]" target="_blank" title="Yahoo"><img src="{IMGDIR}/yahoo.gif" alt="Yahoo!"  /></a><!--{/if}-->
     <!--{if $post['taobao']}--><a href="javascript:;" title="{lang taobao}"><img src="{IMGDIR}/taobao.gif" alt="{lang taobao}" /></a><!--{/if}-->
     <!--{if $post['site']}--><a href="$post[site]" target="_blank" title="{lang member_homepage}"><img src="{IMGDIR}/forumlink.gif" alt="{lang member_homepage}"  /></a><!--{/if}-->
     <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>
     <!--{hook/viewthread_imicons $postcount}-->
    </div>
    <div id="avatarfeed"><span id="threadsortswait"></span></div>
   </div>
  </div>
  <!--{/if}-->
  <!--{if $post['authorid'] && $post['username'] && !$post['anonymous']}-->
   <div>
   <!--{if $_G['setting']['bannedmessages'] & 2 && (($post['authorid'] && !$post['username']) || ($post['groupid'] == 4 || $post['groupid'] == 5) || ($post['status'] & 1))}-->
    <div class="avatar">{lang member_avatar_banned}</div>
   <!--{elseif $post['avatar'] && $showavatars}-->
    <div class="avatar"><a href="home.php?mod=space&uid=$post[authorid]" target="_blank">$post[avatar]</a></div>
   <!--{/if}-->
   <!--{if $post[groupicon]}--><p>$post[groupicon]</p><!--{/if}-->
   <p><em><a href="home.php?mod=spacecp&ac=usergroup&gid=$post[groupid]" target="_blank">{$post[authortitle]}</a></em></p>
   <!--{if $post['customstatus'] && $_G['group']['allowcstatus']}--><p class="xg1">$post[customstatus]</p><!--{/if}-->
   </div>
   <p{if $post['upgradecredit'] !== false} id="g_up$post[pid]"{/if}><!--{eval showstars($post['stars']);}--></p>
   <!--{if $post['upgradecredit'] !== false}-->
    <div id="g_up$post[pid]_menu" class="g_up" style="display:none">
     <div class="crly">
      $post['authortitle'], {lang credits} $post['credits'], {lang thread_groupupgrade} $post['upgradecredit'] {lang credits}
     </div>
     <div class="mncr"></div>
    </div>
   <!--{/if}-->
   <!--{hook/viewthread_sidetop $postcount}-->
   <!--{if $customauthorinfo[1]}--><dl class="pil cl"><!--{eval @eval('echo "'.$customauthorinfo[1].'";');}--></dl><!--{/if}-->
   <!--{if $post['medals']}--><p>
    <!--{loop $post['medals'] $medal}-->
    <img src="{STATICURL}image/common/$medal[image]" alt="$medal[name]" title="$medal[name]" />
    <!--{/loop}--></p>
   <!--{/if}-->
   <!--{hook/viewthread_sidebottom $postcount}-->
  <!--{else}-->
   <div class="pi">
   <!--{if !$post['authorid']}-->
    <a href="javascript:;">{lang guest} <em>$post[useip]</em></a>
   <!--{elseif $post['authorid'] && $post['username'] && $post['anonymous']}-->
    <!--{if $_G['forum']['ismoderator']}--><a href="home.php?mod=space&uid=$post[authorid]" target="_blank">{lang anonymous}</a><!--{else}-->{lang anonymous}<!--{/if}-->
   <!--{else}-->
    $post[author] <em>{lang member_deleted}</em>
   <!--{/if}-->
   </div>
  <!--{/if}-->
  <!--{if $_G['group']['allowedituser'] || $_G['group']['allowbanuser'] || ($_G['forum']['ismoderator'] && $_G['group']['allowviewip'] && !$post['first'])}-->
   <p>
    <!--{if $_G['forum']['ismoderator'] && $_G['group']['allowviewip']}-->
     <a href="forum.php?mod=topicadmin&action=getip&fid=$_G[fid]&tid=$_G[tid]&pid=$post[pid]">IP</a>&nbsp;
    <!--{/if}-->
    <!--{if $_G['group']['allowedituser']}-->
     <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>&nbsp;
    <!--{/if}-->
    <!--{if $_G['group']['allowbanuser']}-->
     <!--{if $_G['adminid'] == 1}-->
      <a href="admin.php?action=members&operation=ban&username=$post[usernameenc]&frames=yes" target="_blank">{lang ban_member}</a>&nbsp;
     <!--{else}-->
      <a href="forum.php?mod=modcp&action=member&op=ban&uid=$post[authorid]" target="_blank">{lang ban_member}</a>&nbsp;
     <!--{/if}-->
    <!--{/if}-->
    <a href="forum.php?mod=modcp&action=thread&op=post&do=search&searchsubmit=1&users=$post[usernameenc]" target="_blank">{lang posts}</a>
   </p>
  <!--{/if}-->
</td>
<td class="plc">
  <!--{if $post['first']}-->
   <div id="threadstamp"><!--{if $_G['forum_threadstamp']}--><img src="{STATICURL}image/stamp/$_G[forum_threadstamp][url]" title="$_G[forum_threadstamp][text]" /><!--{/if}--></div>
  <!--{/if}-->
  <div class="pi">
   <!--{if !IS_ROBOT}-->
    <strong>
     <a href="{$_G[siteurl]}{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}" class="brm" title="{lang share_url_copy}" id="postnum$post[pid]"><!--{if !empty($postno[$post[number]])}-->$postno[$post[number]]<!--{else}--><em>{$post[number]}</em>{$postno[0]}<!--{/if}--></a>
    </strong>
   <!--{/if}-->
   <div class="pti">
    <div class="pdbt">
    <!--{if !$post[first] && $_G['forum_thread']['special'] == 5}-->
      <label class="pdbts pdbts_{echo intval($post[stand])}">
       <!--{if $post[stand] == 1}--><a class="v" href="forum.php?mod=viewthread&tid=$_G[tid]&extra=$_G[gp_extra]&filter=debate&stand=1" title="{lang debate_view_square}">{lang debate_square}</a>
        <!--{elseif $post[stand] == 2}--><a class="v" href="forum.php?mod=viewthread&tid=$_G[tid]&extra=$_G[gp_extra]&filter=debate&stand=2" title="{lang debate_view_opponent}">{lang debate_opponent}</a>
        <!--{else}--><a href="forum.php?mod=viewthread&tid=$_G[tid]&extra=$_G[gp_extra]&filter=debate&stand=0" title="{lang debate_view_neutral}">{lang debate_neutral}</a><!--{/if}-->
       <!--{if $post[stand]}-->
        <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>
       <!--{/if}-->
      </label>
     <!--{/if}-->
    </div>
    <div class="authi">
    <!--{if !$post['anonymous'] && $_G['cache']['groupicon'][$post['groupid']]}-->
     <img class="authicn vm" id="authicon$post[pid]" src="$_G['cache']['groupicon'][$post['groupid']]" />
    <!--{else}-->
     <img class="authicn vm" id="authicon$post[pid]" src="$_G['cache']['groupicon'][0]" />
    <!--{/if}-->
    <!--{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}-->
     <!--{hook/viewthread_postheader $postcount}-->
     <em id="authorposton$post[pid]">{lang poston} $post[dateline]</em>
     <!--{if $post['invisible'] == 0}-->
      <!--{if !IS_ROBOT && !$_G['gp_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 $post['authorid'] && $post['username'] && $post['anonymous']}-->
     {lang anonymous}
     <!--{hook/viewthread_postheader $postcount}-->
     <em id="authorposton$post[pid]">{lang poston} $post[dateline]</em>
    <!--{elseif !$post['authorid'] && !$post['username']}-->
     {lang guest}
     <!--{hook/viewthread_postheader $postcount}-->
     <em id="authorposton$post[pid]">{lang poston} $post[dateline]</em>
    <!--{/if}-->
    <!--{if !IS_ROBOT && $post['first'] && !$_G['forum_thread']['archiveid']}-->
     <!--{if $ordertype != 1}-->
      <span class="pipe">|</span><a href="forum.php?mod=viewthread&tid=$_G[tid]&extra=$_G[gp_extra]&ordertype=1">{lang post_descview}</a>
     <!--{else}-->
      <span class="pipe">|</span><a href="forum.php?mod=viewthread&tid=$_G[tid]&extra=$_G[gp_extra]&ordertype=2">{lang post_ascview}</a>
     <!--{/if}-->
     <!--{if $post['invisible'] == 0}-->
      <span class="pipe">|</span><a href="forum.php?mod=viewthread&action=printable&tid=$_G[tid]" target="_blank">{lang thread_printable}</a>
     <!--{/if}-->
     <!--{if $_G['forum_thread']['readperm']}-->| <em class="xg2">{lang readperm_thread} $_G[forum_thread][readperm]</em><!--{/if}-->     
    <!--{/if}-->
    </div>
   </div>
  </div>
  <!--{ad ad_a_pr/thread/a_pr/3/$postcount}-->
  <div class="pct">
   <!--{ad/thread/a_pt/2/$postcount}-->
   <!--{if !$_G['inajax']}-->
    <!--{if $ad_a_pr}-->
     <!--{if !empty($_G['thread']['contentmr']) && empty($ad_a_pr_css)}-->
     <style type="text/css">.pcb{margin-right:<!--{echo $_G['thread']['contentmr']+10}-->px}</style>
     <!--{eval $ad_a_pr_css=1;}-->
     <!--{/if}-->
     $ad_a_pr
    <!--{elseif empty($ad_a_pr_css)}-->
     <style type="text/css">.pcb{margin-right:0}</style>
     <!--{eval $ad_a_pr_css=1;}-->
    <!--{/if}-->
   <!--{/if}-->
   <!--{if $post['first']}-->
    <!--{if $post[tags] || $relatedkeywords}-->
     <div class="ptg">
      <!--{if $post[tags]}-->$post[tags]<!--{/if}-->
      <!--{if $relatedkeywords}--><span>$relatedkeywords</span><!--{/if}-->
     </div>
    <!--{/if}-->
   <!--{/if}-->
   <!--{subtemplate forum/viewthread_node_body}-->
  </div>
</td></tr>
<tr><td class="plc plm">
  <!--{if !IS_ROBOT && $post['first'] && !$_G['forum_thread']['archiveid']}-->
   <!--{if !empty($lastmod['modaction'])}--><div class="modact"><a href="forum.php?mod=misc&action=viewthreadmod&tid=$_G[tid]" title="{lang thread_mod}">{lang thread_mod_by}</a></div><!--{/if}-->
   <div class="uo{if $_G['group']['allowrecommend'] && $_G['setting']['recommendthread'][status]} nrate{/if}">
    <!--{if $post['invisible'] == 0}-->
     <!--{if $_G['group']['raterange'] && $post['authorid']}-->
      <a id="k_rate" href="javascript:;" title="{echo count($postlist[$post[pid]][totalrate]);} {lang people_score}">{lang rate}&nbsp;</a>
     <!--{/if}-->
     <a href="home.php?mod=spacecp&ac=favorite&type=thread&id=$_G[tid]" id="k_favorite"  title="{$_G['forum_thread']['favtimes']}{lang activity_member_unit}{lang thread_favorite}">{lang thread_favorite}</a>
     <a href="home.php?mod=spacecp&ac=share&type=thread&id=$_G[tid]" id="k_share"  title="{$_G['forum_thread']['sharetimes']}{lang activity_member_unit}{lang thread_share}">{lang thread_share}</a>
     <!--{if $_G['perm']['allowrecommend'] && $_G['setting']['recommendthread']['status']}-->
      <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}title="$_G[forum_thread][recommend_add]{lang activity_member_unit}支持">$_G['setting']['recommendthread'][addtext]</a>
      <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} title="$_G[forum_thread][recommend_sub]{lang activity_member_unit}反对">$_G['setting']['recommendthread'][subtracttext]</a>
     <!--{/if}-->
    <!--{/if}-->
    <!--{hook/viewthread_useraction}-->
   </div>
  <!--{/if}-->
  <!--{if $post['signature'] && ($_G['setting']['bannedmessages'] & 4 && (($post['authorid'] && !$post['username']) || ($post['groupid'] == 4 || $post['groupid'] == 5) || ($post['status'] & 1)))}-->
   <div class="sign">{lang member_signature_banned}</div>
  <!--{elseif $post['signature'] && !$post['anonymous'] && $showsignatures}-->
   <div class="sign" style="max-height:{$_G['setting']['maxsigrows']}px;maxHeightIE:{$_G['setting']['maxsigrows']}px;">$post[signature]</div>
  <!--{/if}-->
  <!--{ad/thread/a_pb/1/$postcount}-->
</td>
</tr>
<!--{if !$_G['forum_thread']['archiveid']}-->
<tr>
<td class="pls"></td>
<td class="plc">
  <div class="po">
   <!--{if !$post['first'] && $modmenu['post']}-->
    <span class="y">
    <label for="manage$post[pid]">
    <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" />
    {lang manage}
    </label>
    </span>
   <!--{/if}-->
   <div class="pob cl">
    <em>
     <!--{if $post['invisible'] == 0}-->
      <!--{if $allowpostreply}-->
       <!--{if $post['allowcomment']}--><a class="cmmnt" href="forum.php?mod=misc&action=comment&tid=$post[tid]&pid=$post[pid]&extra=$_G[gp_extra]&page=$page{if $_G['forum_thread']['special'] == 127}&special=$specialextra{/if}">{lang comments}</a><!--{/if}-->
       <a class="fastre" href="forum.php?mod=post&action=reply&fid=$_G[fid]&tid=$_G[tid]&reppost=$post[pid]&extra=$_G[gp_extra]&page=$page">{lang reply}</a>
      <!--{if !$needhiddenreply}-->
       <a class="req" href="forum.php?mod=post&action=reply&fid=$_G[fid]&tid=$_G[tid]&repquote=$post[pid]&extra=$_G[gp_extra]&page=$page">{lang reply_quote}</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']))}-->
      <a class="editp" href="forum.php?mod=post&action=edit&fid=$_G[fid]&tid=$_G[tid]&pid=$post[pid]{if !empty($_G[gp_modthreadkey])}&modthreadkey=$_G[gp_modthreadkey]{/if}&page=$page"><!--{if $_G['forum_thread']['special'] == 2 && !$post['message']}-->{lang post_add_aboutcounter}<!--{else}-->{lang edit}</a><!--{/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']}--><a class="appendp" href="forum.php?mod=misc&action=postappend&tid=$post[tid]&pid=$post[pid]&extra=$_G[gp_extra]&page=$page">{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}-->
     <!--{hook/viewthread_postfooter $postcount}-->
    </em>
    <p>
     <!--{if $post['invisible'] == 0}-->
      <!--{if $post['first'] && $_G[uid] && $_G[uid] == $post[authorid]}-->
       <a href="misc.php?mod=invite&action=thread&id=$_G[tid]">{lang invite}</a>
      <!--{/if}-->
      <!--{if $_G['setting']['magicstatus']}-->
       <a href="javascript:;" id="mgc_post_$post[pid]" class="mgc">{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:;">{lang reward_set_bestanswer}</a>
      <!--{/if}-->
      <!--{if !$post['first'] && $_G['group']['raterange'] && $post['authorid']}-->
       <a href="javascript:;">{lang rate}</a>
      <!--{/if}-->
      <!--{if $post['rate'] && $_G['forum']['ismoderator']}-->
       <a href="forum.php?mod=misc&action=removerate&tid=$_G[tid]&pid=$post[pid]&page=$page">{lang removerate}</a>
      <!--{/if}-->
      <!--{if $post['authorid'] != $_G['uid']}-->
       <a href="javascript:;">{lang report}</a>
      <!--{/if}-->
     <!--{/if}-->
     <a href="javascript:;">{lang return_top}</a>
    </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"><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"><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"><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"><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"><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"><img src="{STATICURL}image/magic/sofa.small.gif" />$_G['setting']['magics']['sofa']</a></li>
      <!--{/if}-->
      <!--{hook/viewthread_magic_thread}-->
     <!--{/if}-->
     <!--{if !empty($_G['setting']['magics']['repent']) && $post['authorid'] == $_G['uid']}-->
      <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>
     <!--{/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]"><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]"><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}-->
<tr class="ad">
<td class="pls"></td>
<td class="plc">
  <!--{if $post['first'] && $_G['forum_thread']['replies']}--><!--{ad/interthread/a_p}--><!--{/if}-->
  <!--{if $post['first'] && $_G[forum_thread][special] == 5 && $_G[forum_thread][displayorder] >= 0}-->
   <ul class="ttp cl">
    <li style="display:inline;margin-left:12px"><strong class="bw0">{lang debate_filter}: </strong></li>
    <li{if !isset($_G['gp_stand'])} class="xw1 a"{/if}><a href="forum.php?mod=viewthread&tid=$_G[tid]&extra=$_G[gp_extra]" hidefocus="true">{lang all}</a></li>
    <li{if $_G['gp_stand'] == 1} class="xw1 a"{/if}><a href="forum.php?mod=viewthread&tid=$_G[tid]&extra=$_G[gp_extra]&stand=1" hidefocus="true">{lang debate_square}</a></li>
    <li{if $_G['gp_stand'] == 2} class="xw1 a"{/if}><a href="forum.php?mod=viewthread&tid=$_G[tid]&extra=$_G[gp_extra]&stand=2" hidefocus="true">{lang debate_opponent}</a></li>
    <li{if isset($_G['gp_stand']) && $_G['gp_stand'] == 0} class="xw1 a"{/if}><a href="forum.php?mod=viewthread&tid=$_G[tid]&extra=$_G[gp_extra]&stand=0" hidefocus="true">{lang debate_neutral}</a></li>
   </ul>
  <!--{/if}-->
</td>
</tr>
</table>
<!--{if !empty($aimgs[$post[pid]])}-->
<script type="text/javascript" reload="1">aimgcount[{$post[pid]}] = [<!--{echo implode(',', $aimgs[$post[pid]]);}-->];attachimgshow($post[pid]);</script>
<!--{/if}-->
<!--{hook/viewthread_endline $postcount}-->
回复

使用道具 举报

 楼主| FCB1899 发表于 2010-11-22 14:10:16 | 显示全部楼层
麻烦知道的告知一下哈,谢谢
回复

使用道具 举报

毛小病 发表于 2010-11-23 17:58:00 | 显示全部楼层
回复

使用道具 举报

cr180 发表于 2010-11-23 18:54:56 | 显示全部楼层
FCB1899 发表于 2010-11-22 12:45
评分、收藏、分享处的代码:




  1. <td class="plc plm">
  2.   <!--{if !IS_ROBOT && $post['first'] && !$_G['forum_thread']['archiveid']}-->
  3.    <!--{if !empty($lastmod['modaction'])}--><div class="modact"><a href="forum.php?mod=misc&action=viewthreadmod&tid=$_G[tid]" title="{lang thread_mod}" onclick="showWindow('viewthreadmod', this.href)">{lang thread_mod_by}</a></div><!--{/if}-->
  4.    <div class="uo{if $_G['group']['allowrecommend'] && $_G['setting']['recommendthread'][status]} nrate{/if}">
  5.     <!--{if $post['invisible'] == 0}-->
  6.      <!--{if $_G['group']['raterange'] && $post['authorid']}-->
  7.       <a id="k_rate" href="javascript:;" onclick="showWindow('rate', 'forum.php?mod=misc&action=rate&tid=$_G[tid]&pid=$post[pid]', 'get', -1);return false;" title="{echo count($postlist[$post[pid]][totalrate]);} {lang people_score}">{lang rate}&nbsp;</a>
  8.      <!--{/if}-->
  9.      <a href="home.php?mod=spacecp&ac=favorite&type=thread&id=$_G[tid]" id="k_favorite" onclick="showWindow(this.id, this.href, 'get', 0);" onmouseover="this.title = $('favoritenumber').innerHTML + ' {lang activity_member_unit}{lang thread_favorite}'">{lang thread_favorite}<span id="favoritenumber">{$_G['forum_thread']['favtimes']}</span></a>
  10.      <a href="home.php?mod=spacecp&ac=share&type=thread&id=$_G[tid]" id="k_share" onclick="showWindow(this.id, this.href, 'get', 0);" onmouseover="this.title = $('sharenumber').innerHTML + ' {lang activity_member_unit}{lang thread_share}'">{lang thread_share}<span id="sharenumber">{$_G['forum_thread']['sharetimes']}</span></a>
  11.      <!--{if $_G['perm']['allowrecommend'] && $_G['setting']['recommendthread']['status']}-->
  12.       <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} onclick="showWindow('login', this.href)"{/if} onmouseover="this.title = $('recommendv_add').innerHTML + ' {lang activity_member_unit}$_G[setting][recommendthread][addtext]'">$_G['setting']['recommendthread'][addtext]<span id="recommendv_add">$_G[forum_thread][recommend_add]</span></a>
  13.       <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} onclick="showWindow('login', this.href)"{/if} onmouseover="this.title = $('recommendv_subtract').innerHTML + ' {lang activity_member_unit}$_G[setting][recommendthread][subtracttext]'">$_G['setting']['recommendthread'][subtracttext]<span id="recommendv_subtract">$_G[forum_thread][recommend_sub]</span></a>
  14.      <!--{/if}-->
  15.     <!--{/if}-->
  16.     <!--{hook/viewthread_useraction}-->
  17.    </div>
  18.   <!--{/if}-->
  19.   <!--{if $post['signature'] && ($_G['setting']['bannedmessages'] & 4 && (($post['authorid'] && !$post['username']) || ($post['groupid'] == 4 || $post['groupid'] == 5) || ($post['status'] & 1)))}-->
  20.    <div class="sign">{lang member_signature_banned}</div>
  21.   <!--{elseif $post['signature'] && !$post['anonymous'] && $showsignatures}-->
  22.    <div class="sign" style="max-height:{$_G['setting']['maxsigrows']}px;maxHeightIE:{$_G['setting']['maxsigrows']}px;">$post[signature]</div>
  23.   <!--{/if}-->
  24.   <!--{ad/thread/a_pb/1/$postcount}-->
  25. </td>
复制代码

回复

使用道具 举报

cr180 发表于 2010-11-23 18:57:07 | 显示全部楼层
发表于 昨天 12:44 |只看该作者 |倒序浏览 |打印
此处代码:
<div class="authi">
    <!--{if !$post['anonymous'] && $_G['cache']['groupicon'][$post['groupid']]}-->
     <img class="authicn vm" id="authicon$post[pid]" src="$_G['cache']['groupicon'][$post['groupid']]" />
    <!--{else}-->
     <img class="authicn vm" id="authicon$post[pid]" src="$_G['cache']['groupicon'][0]" />
    <!--{/if}-->
    <!--{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}-->
     <!--{hook/viewthread_postheader $postcount}-->
     <em id="authorposton$post[pid]">{lang poston} $post[dateline]</em>
     <!--{if $post['invisible'] == 0}-->
      <!--{if !IS_ROBOT && !$_G['gp_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 $post['authorid'] && $post['username'] && $post['anonymous']}-->
     {lang anonymous}
     <!--{hook/viewthread_postheader $postcount}-->
     <em id="authorposton$post[pid]">{lang poston} $post[dateline]</em>
    <!--{elseif !$post['authorid'] && !$post['username']}-->
     {lang guest}
     <!--{hook/viewthread_postheader $postcount}-->
     <em id="authorposton$post[pid]">{lang poston} $post[dateline]</em>
    <!--{/if}-->
    <!--{if !IS_ROBOT && $post['first'] && !$_G['forum_thread']['archiveid']}-->
     <!--{if $ordertype != 1}-->
      <span class="pipe">|</span><a href="forum.php?mod=viewthread&tid=$_G[tid]&extra=$_G[gp_extra]&ordertype=1">{lang post_descview}</a>
     <!--{else}-->
      <span class="pipe">|</span><a href="forum.php?mod=viewthread&tid=$_G[tid]&extra=$_G[gp_extra]&ordertype=2">{lang post_ascview}</a>
     <!--{/if}-->
     <!--{if $post['invisible'] == 0}-->
      <span class="pipe">|</span><a href="forum.php?mod=viewthread&action=printable&tid=$_G[tid]" target="_blank">{lang thread_printable}</a>
     <!--{/if}-->
     <!--{if $_G['forum_thread']['readperm']}-->| <em class="xg2">{lang readperm_thread} $_G[forum_thread][readperm]</em><!--{/if}-->     
    <!--{/if}-->
    </div>

回复

使用道具 举报

cr180 发表于 2010-11-23 18:57:48 | 显示全部楼层
回复 FCB1899 的帖子

这两个地方的代码给你贴出来  希望能帮到你
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2025-9-6 10:48 , Processed in 0.127644 second(s), 14 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表