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

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

[已解决] 请问如果在所有贴子内容上方加上一句话?

[复制链接]
索雷 发表于 2014-8-29 22:03:36 | 显示全部楼层 |阅读模式
我想在我论坛所有贴子的内容页上方加一句话,把我的微信公众平台账号发上去,但是找了半天也不知道加在哪里,请高手解决,下面是viewthread.htm文件,谢谢了。很需要这个。
  1. <!--{template common/header}-->

  2. <script type="text/javascript">var fid = parseInt('$_G[fid]'), tid = parseInt('$_G[tid]');</script>
  3. <!--{if $modmenu['thread'] || $modmenu['post']}-->
  4.         <script type="text/javascript" src="{$_G['setting']['jspath']}forum_moderate.js?{VERHASH}"></script>
  5. <!--{/if}-->

  6. <script type="text/javascript" src="{$_G['setting']['jspath']}forum_viewthread.js?{VERHASH}"></script>
  7. <script type="text/javascript">zoomstatus = parseInt($_G['setting']['zoomstatus']);var imagemaxwidth = '{$_G['setting']['imagemaxwidth']}';var aimgcount = new Array();</script>

  8. <style id="diy_style" type="text/css"></style>
  9. <!--[diy=diynavtop]--><div id="diynavtop" class="area"></div><!--[/diy]-->
  10. <div id="pt" class="bm cl">
  11.         <div class="z">
  12.                 <a href="./" class="nvhm" title="{lang homepage}">$_G[setting][bbname]</a><em>&#187;</em><a href="forum.php">{$_G[setting][navs][2][navname]}</a>$navigation <em>&#8250;</em> <a href="forum.php?mod=viewthread&tid=$_G[tid]">$_G[forum_thread][short_subject]</a>
  13.         </div>
  14. </div>

  15. <!--{hook/viewthread_top}-->
  16. <!--{ad/text/wp a_t}-->

  17. <style id="diy_style" type="text/css"></style>
  18. <div class="wp">
  19.         <!--[diy=diy1]--><div id="diy1" class="area"></div><!--[/diy]-->
  20. </div>

  21. <div id="ct" class="wp cl">
  22.         <div id="pgt" class="pgs mbm cl {if $modmenu['thread']}pbm bbs{/if}">
  23.                 <div class="pgt">$multipage</div>
  24.                 <span class="y pgb"{if $_G['setting']['visitedforums']} id="visitedforums" onmouseover="$('visitedforums').id = 'visitedforumstmp';this.id = 'visitedforums';showMenu({'ctrlid':this.id,'pos':'34'})"{/if}><a href="$upnavlink">{lang return_forumdisplay}</a></span>
  25.                 <!--{if $_G['forum']['threadsorts'] && $_G['forum']['threadsorts']['templatelist']}-->
  26.                         <!--{loop $_G['forum']['threadsorts']['types'] $id $name}-->
  27.                                 <button id="newspecial" class="pn pnc" onclick="location.href='forum.php?mod=post&action=newthread&fid=$_G[fid]&extra=$extra&sortid=$id'"><strong>{lang i_want}$name</strong></button>
  28.                         <!--{/loop}-->
  29.                 <!--{else}-->
  30.                         <!--{if !$_G['forum_thread']['is_archived']}--><a id="newspecial" onmouseover="$('newspecial').id = 'newspecialtmp';this.id = 'newspecial';showMenu({'ctrlid':this.id})"{if !$_G['forum']['allowspecialonly'] && empty($_G['forum']['picstyle']) && !$_G['forum']['threadsorts']['required']} onclick="showWindow('newthread', 'forum.php?mod=post&action=newthread&fid=$_G[fid]')"{else} onclick="location.href='forum.php?mod=post&action=newthread&fid=$_G[fid]';return false;"{/if} href="javascript:;" title="{lang send_posts}"><img src="{IMGDIR}/pn_post.png" alt="{lang send_posts}" /></a><!--{/if}-->
  31.                 <!--{/if}-->
  32.                 <!--{if $allowpostreply && !$_G['forum_thread']['archiveid']}-->
  33.                         <a id="post_reply" onclick="showWindow('reply', 'forum.php?mod=post&action=reply&fid=$_G[fid]&tid=$_G[tid]')" href="javascript:;" title="{lang reply}"><img src="{IMGDIR}/pn_reply.png" alt="{lang reply}" /></a>
  34.                 <!--{/if}-->
  35.                 <!--{hook/viewthread_postbutton_top}-->
  36.         </div>

  37. <!--{if $_G['group']['allowpost'] && ($_G['group']['allowposttrade'] || $_G['group']['allowpostpoll'] || $_G['group']['allowpostreward'] || $_G['group']['allowpostactivity'] || $_G['group']['allowpostdebate'] || $_G['setting']['threadplugins'] || $_G['forum']['threadsorts'])}-->
  38.         <ul class="p_pop" id="newspecial_menu" style="display: none">
  39.                 <!--{if !$_G['forum']['allowspecialonly']}--><li><a href="forum.php?mod=post&action=newthread&fid=$_G[fid]">{lang post_newthread}</a></li><!--{/if}-->
  40.                 <!--{if $_G['forum']['threadsorts'] && !$_G['forum']['allowspecialonly']}-->
  41.                         <!--{loop $_G['forum']['threadsorts']['types'] $id $threadsorts}-->
  42.                                 <!--{if $_G['forum']['threadsorts']['show'][$id]}-->
  43.                                         <li class="popupmenu_option"><a href="forum.php?mod=post&action=newthread&fid=$_G[fid]&sortid=$id">$threadsorts</a></li>
  44.                                 <!--{/if}-->
  45.                         <!--{/loop}-->
  46.                 <!--{/if}-->
  47.                 <!--{if $_G['group']['allowpostpoll']}--><li class="poll"><a href="forum.php?mod=post&action=newthread&fid=$_G[fid]&special=1">{lang post_newthreadpoll}</a></li><!--{/if}-->
  48.                 <!--{if $_G['group']['allowpostreward']}--><li class="reward"><a href="forum.php?mod=post&action=newthread&fid=$_G[fid]&special=3">{lang post_newthreadreward}</a></li><!--{/if}-->
  49.                 <!--{if $_G['group']['allowpostdebate']}--><li class="debate"><a href="forum.php?mod=post&action=newthread&fid=$_G[fid]&special=5">{lang post_newthreaddebate}</a></li><!--{/if}-->
  50.                 <!--{if $_G['group']['allowpostactivity']}--><li class="activity"><a href="forum.php?mod=post&action=newthread&fid=$_G[fid]&special=4">{lang post_newthreadactivity}</a></li><!--{/if}-->
  51.                 <!--{if $_G['group']['allowposttrade']}--><li class="trade"><a href="forum.php?mod=post&action=newthread&fid=$_G[fid]&special=2">{lang post_newthreadtrade}</a></li><!--{/if}-->
  52.                 <!--{if $_G['setting']['threadplugins']}-->
  53.                         <!--{loop $_G['forum']['threadplugin'] $tpid}-->
  54.                                 <!--{if array_key_exists($tpid, $_G['setting']['threadplugins']) && @in_array($tpid, $_G['group']['allowthreadplugin'])}-->
  55.                                         <li class="popupmenu_option"{if $_G['setting']['threadplugins'][$tpid][icon]} style="background-image:url(source/plugin/$tpid/$_G['setting']['threadplugins'][$tpid][icon])"{/if}><a href="forum.php?mod=post&action=newthread&fid=$_G[fid]&specialextra=$tpid">{$_G['setting']['threadplugins'][$tpid][name]}</a></li>
  56.                                 <!--{/if}-->
  57.                         <!--{/loop}-->
  58.                 <!--{/if}-->
  59.         </ul>
  60. <!--{/if}-->

  61. <!--{if $modmenu['post']}-->
  62.         <div id="mdly" class="fwinmask" style="display:none;z-index:350;">
  63.                 <table cellspacing="0" cellpadding="0" class="fwin">
  64.                         <tr>
  65.                                 <td class="t_l"></td>
  66.                                 <td class="t_c"></td>
  67.                                 <td class="t_r"></td>
  68.                         </tr>
  69.                         <tr>
  70.                                 <td class="m_l">  </td>
  71.                                 <td class="m_c">
  72.                                         <div class="f_c">
  73.                                                 <div class="c">
  74.                                                         <h3>{lang admin_select} <strong id="mdct" class="xi1"></strong> {lang piece}: </h3>
  75.                                                         <!--{if $_G['forum']['ismoderator']}-->
  76.                                                                 <!--{if $_G['group']['allowwarnpost']}--><a href="javascript:;" onclick="modaction('warn')">{lang modmenu_warn}</a><span class="pipe">|</span><!--{/if}-->
  77.                                                                 <!--{if $_G['group']['allowbanpost']}--><a href="javascript:;" onclick="modaction('banpost')">{lang modmenu_banpost}</a><span class="pipe">|</span><!--{/if}-->
  78.                                                                 <!--{if $_G['group']['allowdelpost'] && !$rushreply}--><a href="javascript:;" onclick="modaction('delpost')">{lang modmenu_deletepost}</a><span class="pipe">|</span><!--{/if}-->
  79.                                                         <!--{/if}-->
  80.                                                         <!--{if $_G['forum']['ismoderator'] && $_G['group']['allowstickreply'] || $_G['forum_thread']['authorid'] == $_G['uid']}--><a href="javascript:;" onclick="modaction('stickreply')">{lang modmenu_stickpost}</a><span class="pipe">|</span><!--{/if}-->
  81.                                                         <!--{if $_G['forum_thread']['pushedaid'] && $allowpostarticle}--><a href="javascript:;" onclick="modaction('pushplus', '', 'aid=$_G[forum_thread][pushedaid]', 'portal.php?mod=portalcp&ac=article&op=pushplus')">{lang modmenu_pushplus}</a><span class="pipe">|</span><!--{/if}-->
  82.                                                 </div>
  83.                                         </div>
  84.                                 </td>
  85.                                 <td class="m_r"></td>
  86.                         </tr>
  87.                         <tr>
  88.                                 <td class="b_l"></td>
  89.                                 <td class="b_c"></td>
  90.                                 <td class="b_r"></td>
  91.                         </tr>
  92.                 </table>
  93.         </div>
  94. <!--{/if}-->

  95. <!--{if $modmenu['thread']}-->
  96.         <div id="modmenu" class="xi2 pbm">
  97.                 <!--{eval $modopt=0;}-->
  98.                 <!--{if $_G['forum']['ismoderator']}-->
  99.                         <!--{if $_G['group']['allowdelpost']}--><!--{eval $modopt++}--><a href="javascript:;" onclick="modthreads(3, 'delete')">{lang modmenu_deletethread}</a><span class="pipe">|</span><!--{/if}-->
  100.                         <!--{if $_G['group']['allowbumpthread'] && !$_G['forum_thread']['is_archived']}--><!--{eval $modopt++}--><a href="javascript:;" onclick="modthreads(3, 'bump')">{lang modmenu_updown}</a><span class="pipe">|</span><!--{/if}-->
  101.                         <!--{if $_G['group']['allowstickthread'] && ($_G['forum_thread']['displayorder'] <= 3 || $_G['adminid'] == 1) && !$_G['forum_thread']['is_archived']}--><!--{eval $modopt++}--><a href="javascript:;" onclick="modthreads(1, 'stick')">{lang modmenu_stickthread}</a><span class="pipe">|</span><!--{/if}-->
  102.                         <!--{if $_G['group']['allowlivethread'] && !$_G['forum_thread']['is_archived']}--><!--{eval $modopt++}--><a href="javascript:;" onclick="modaction('live')">{lang modmenu_live}</a><span class="pipe">|</span><!--{/if}-->
  103.                         <!--{if $_G['group']['allowhighlightthread'] && !$_G['forum_thread']['is_archived']}--><!--{eval $modopt++}--><a href="javascript:;" onclick="modthreads(1, 'highlight')">{lang modmenu_highlight}</a><span class="pipe">|</span><!--{/if}-->
  104.                         <!--{if $_G['group']['allowdigestthread'] && !$_G['forum_thread']['is_archived']}--><!--{eval $modopt++}--><a href="javascript:;" onclick="modthreads(1, 'digest')">{lang modmenu_digestpost}</a><span class="pipe">|</span><!--{/if}-->
  105.                         <!--{if $_G['group']['allowrecommendthread'] && !empty($_G['forum']['modrecommend']['open']) && $_G['forum']['modrecommend']['sort'] != 1 && !$_G['forum_thread']['is_archived']}--><!--{eval $modopt++}--><a href="javascript:;" onclick="modthreads(1, 'recommend')">{lang modmenu_recommend}</a><span class="pipe">|</span><!--{/if}-->
  106.                         <!--{if $_G['group']['allowstampthread'] && !$_G['forum_thread']['is_archived']}--><!--{eval $modopt++}--><a href="javascript:;" onclick="modaction('stamp')">{lang modmenu_stamp}</a><span class="pipe">|</span><!--{/if}-->
  107.                         <!--{if $_G['group']['allowstamplist'] && !$_G['forum_thread']['is_archived']}--><!--{eval $modopt++}--><a href="javascript:;" onclick="modaction('stamplist')">{lang modmenu_icon}</a><span class="pipe">|</span><!--{/if}-->
  108.                         <!--{if $_G['group']['allowclosethread'] && !$_G['forum_thread']['is_archived'] && $_G['forum']['status'] != 3}--><!--{eval $modopt++}--><a href="javascript:;" onclick="modthreads(4)"><!--{if !$_G['forum_thread']['closed']}-->{lang modmenu_switch_off}<!--{else}-->{lang modmenu_switch_on}<!--{/if}--></a><span class="pipe">|</span><!--{/if}-->
  109.                         <!--{if $_G['group']['allowmovethread'] && !$_G['forum_thread']['is_archived'] && $_G['forum']['status'] != 3}--><!--{eval $modopt++}--><a href="javascript:;" onclick="modthreads(2, 'move')">{lang modmenu_move}</a><span class="pipe">|</span><!--{/if}-->
  110.                         <!--{if $_G['group']['allowedittypethread'] && !$_G['forum_thread']['is_archived']}--><!--{eval $modopt++}--><a href="javascript:;" onclick="modthreads(2, 'type')">{lang modmenu_type}</a><span class="pipe">|</span><!--{/if}-->
  111.                         <!--{if !$_G['forum_thread']['special'] && !$_G['forum_thread']['is_archived']}-->
  112.                                 <!--{if $_G['group']['allowcopythread'] && $_G['forum']['status'] != 3}--><!--{eval $modopt++}--><a href="javascript:;" onclick="modaction('copy')">{lang modmenu_copy}</a><span class="pipe">|</span><!--{/if}-->
  113.                                 <!--{if $_G['group']['allowmergethread'] && $_G['forum']['status'] != 3}--><!--{eval $modopt++}--><a href="javascript:;" onclick="modaction('merge')">{lang modmenu_merge}</a><span class="pipe">|</span><!--{/if}-->
  114.                                 <!--{if $_G['group']['allowrefund'] && $_G['forum_thread']['price'] > 0}--><!--{eval $modopt++}--><a href="javascript:;" onclick="modaction('refund')">{lang modmenu_restore}</a><span class="pipe">|</span><!--{/if}-->
  115.                         <!--{/if}-->
  116.                         <!--{if $_G['group']['allowsplitthread'] && !$_G['forum_thread']['is_archived'] && $_G['forum']['status'] != 3}--><!--{eval $modopt++}--><a href="javascript:;" onclick="modaction('split')">{lang modmenu_split}</a><span class="pipe">|</span><!--{/if}-->
  117.                         <!--{if $_G['group']['allowrepairthread'] && !$_G['forum_thread']['is_archived']}--><!--{eval $modopt++}--><a href="javascript:;" onclick="modaction('repair')">{lang modmenu_repair}</a><span class="pipe">|</span><!--{/if}-->
  118.                         <!--{if $_G['forum_thread']['is_archived'] && $_G['adminid'] == 1}--><!--{eval $modopt++}--><a href="javascript:;" onclick="modaction('restore', '', 'archiveid={$_G[forum_thread][archiveid]}')">{lang modmenu_archive}</a><span class="pipe">|</span><!--{/if}-->
  119.                         <!--{if $_G['forum_firstpid']}-->
  120.                                 <!--{if $_G['group']['allowwarnpost']}--><!--{eval $modopt++}--><a href="javascript:;" onclick="modaction('warn', '$_G[forum_firstpid]')">{lang modmenu_warn}</a><span class="pipe">|</span><!--{/if}-->
  121.                                 <!--{if $_G['group']['allowbanpost']}--><!--{eval $modopt++}--><a href="javascript:;" onclick="modaction('banpost', '$_G[forum_firstpid]')">{lang modmenu_banthread}</a><span class="pipe">|</span><!--{/if}-->
  122.                         <!--{/if}-->
  123.                         <!--{if $_G['group']['allowremovereward'] && $_G['forum_thread']['special'] == 3 && !$_G['forum_thread']['is_archived']}--><!--{eval $modopt++}--><a href="javascript:;" onclick="modaction('removereward')">{lang modmenu_removereward}</a><span class="pipe">|</span><!--{/if}-->
  124.                         <!--{if $_G['forum']['status'] == 3 && in_array($_G['adminid'], array('1','2')) && $_G['forum_thread']['closed'] < 1}--><a href="javascript:;" onclick="modthreads(5, 'recommend_group');return false;">{lang modmenu_grouprecommend}</a><span class="pipe">|</span><!--{/if}-->
  125.                         <!--{if $_G['group']['allowmanagetag']}--><a href="javascript:;" onclick="showWindow('mods', 'forum.php?mod=tag&op=manage&tid=$_G[tid]', 'get', 0)">{lang post_tag}</a><span class="pipe">|</span><!--{/if}-->
  126.                         <!--{if $_G['group']['alloweditusertag']}--><a href="javascript:;" onclick="showWindow('usertag', 'forum.php?mod=misc&action=usertag&tid=$_G[tid]', 'get', 0)">{lang usertag}</a><span class="pipe">|</span><!--{/if}-->
  127.                 <!--{/if}-->
  128.                 <!--{if $allowpusharticle && $allowpostarticle}--><!--{eval $modopt++}--><a href="portal.php?mod=portalcp&ac=article&from_idtype=tid&from_id=$_G['tid']">{lang modmenu_pusharticle}</a><span class="pipe">|</span><!--{/if}-->
  129.                 <!--{hook/viewthread_modoption}-->
  130.         </div>
  131. <!--{/if}-->

  132. <!--{hook/viewthread_beginline}-->

  133. <div id="postlist" class="pl bm">
  134.         <table cellspacing="0" cellpadding="0">
  135.                 <tr>
  136.                         <!--{if !$close_leftinfo}-->
  137.                         <td class="pls ptn pbn">
  138.                                 <!--{if $_G['page'] > 1}-->
  139.                                 <div id="tath" class="cl">
  140.                                         <!--{if $_G[forum_thread][authorid] && $_G[forum_thread][author]}-->
  141.                                                 <a href="home.php?mod=space&uid=$_G[forum_thread][authorid]" title="$_G[forum_thread][author]"><!--{avatar($_G[forum_thread][authorid],small)}--></a>
  142.                                                 {lang thread_author}: <a href="home.php?mod=space&uid=$_G[forum_thread][authorid]" title="$_G[forum_thread][author]">$_G[forum_thread][author]</a>
  143.                                         <!--{else}-->
  144.                                                 {lang thread_author}:
  145.                                                 <!--{if $_G['forum']['ismoderator']}-->
  146.                                                         <a href="home.php?mod=space&uid=$_G[forum_thread][authorid]">{lang anonymous}</a>
  147.                                                 <!--{else}-->
  148.                                                         {lang anonymous}
  149.                                                 <!--{/if}-->
  150.                                         <!--{/if}-->
  151.                                 </div>
  152.                                 <!--{else}-->
  153.                                 <div class="hm ptn">
  154.                                         <span class="xg1">{lang show}:</span> <span class="xi1">$_G[forum_thread][views]</span><span class="pipe">|</span><span class="xg1">{lang reply}:</span> <span class="xi1">$_G[forum_thread][allreplies]</span>
  155.                                 </div>
  156.                                 <!--{/if}-->
  157.                         </td>
  158.                         <!--{/if}-->
  159.                         <td class="plc ptm pbn vwthd">
  160.                                 <!--{if !IS_ROBOT}-->
  161.                                         <div class="y">
  162.                                                 <!--{if $post['invisible'] == 0}--><a href="forum.php?mod=viewthread&action=printable&tid=$_G[tid]" title="{lang thread_printable}" target="_blank"><img src="{IMGDIR}/print.png" alt="{lang thread_printable}" class="vm" /></a>
  163.                                                 <!--{/if}-->
  164.                                                 <a href="forum.php?mod=redirect&goto=nextoldset&tid=$_G[tid]" title="{lang last_thread}"><img src="{IMGDIR}/thread-prev.png" alt="{lang last_thread}" class="vm" /></a>
  165.                                                 <a href="forum.php?mod=redirect&goto=nextnewset&tid=$_G[tid]" title="{lang next_thread}"><img src="{IMGDIR}/thread-next.png" alt="{lang next_thread}" class="vm" /></a>
  166.                                         </div>
  167.                                 <!--{/if}-->
  168.                                 <!--{if $_G['setting']['close_leftinfo_userctrl']}-->
  169.                                         <span class="xg1 side_btn">
  170.                                         <!--{if !$close_leftinfo}-->
  171.                                                 <a onclick="setcookie('close_leftinfo', 1);location.reload();" title="{lang collapse_the_left}" class="btn_s_close" href="javascript:;"><img src="{IMGDIR}/control_l.png" alt="{lang collapse_the_left}" class="vm" /></a>
  172.                                         <!--{else}-->
  173.                                                 <a onclick="setcookie('close_leftinfo', 2);location.reload();" title="{lang open_the_left}" class="btn_s_open" href="javascript:;"><img src="{IMGDIR}/control_r.png" alt="{lang open_the_left}" class="vm" /></a>
  174.                                         <!--{/if}-->
  175.                                         </span>
  176.                                 <!--{/if}-->
  177.                                 <h1 class="ts">
  178.                                         <!--{if $_G['forum_thread']['typeid'] && $_G['forum']['threadtypes']['types'][$_G['forum_thread']['typeid']]}-->
  179.                                                 <!--{if !IS_ROBOT && ($_G['forum']['threadtypes']['listable'] || $_G['forum']['status'] == 3)}-->
  180.                                                         <a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=typeid&typeid=$_G[forum_thread][typeid]">[{$_G['forum']['threadtypes']['types'][$_G['forum_thread']['typeid']]}]</a>
  181.                                                 <!--{else}-->
  182.                                                         [{$_G['forum']['threadtypes']['types'][$_G['forum_thread']['typeid']]}]
  183.                                                 <!--{/if}-->
  184.                                         <!--{/if}-->
  185.                                         <!--{if $threadsorts && $_G['forum_thread']['sortid']}-->
  186.                                                 <a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=sortid&sortid=$_G[forum_thread][sortid]">[{$_G['forum']['threadsorts']['types'][$_G['forum_thread']['sortid']]}]</a>
  187.                                         <!--{/if}-->
  188.                                         <span id="thread_subject">$_G[forum_thread][subject]</span>
  189.                                 </h1>
  190.                                 <span class="xg1">
  191.                                         <!--{if $_G['forum_thread'][displayorder] == -2}-->({lang moderating})
  192.                                         <!--{elseif $_G['forum_thread'][displayorder] == -3}-->({lang have_ignored})
  193.                                         <!--{elseif $_G['forum_thread'][displayorder] == -4}-->({lang draft})
  194.                                                 <!--{if $post['first'] && $post['invisible'] == -3}-->
  195.                                                         <a class="psave" href="forum.php?mod=misc&action=pubsave&tid=$_G[tid]">{lang published}</a>
  196.                                                 <!--{/if}-->
  197.                                         <!--{/if}-->
  198.                                         <!--{if $_G['setting']['threadhidethreshold'] && $_G['forum_thread']['hidden'] >= $_G['setting']['threadhidethreshold']}-->                                               
  199.                                                 <!--{if $_G['forum_thread']['authorid'] == $_G['uid']}--><a class="psave" id="hiderecover" title="{lang hiderecover_tips}" href="forum.php?mod=misc&action=hiderecover&tid=$_G[tid]&formhash={FORMHASH}" onclick="showWindow(this.id, this.href, 'get', 0);">{lang hidden}</a><!--{else}-->({lang hidden})<!--{/if}-->
  200.                                                  
  201.                                         <!--{/if}-->
  202.                                         <!--{if $_G['forum_thread']['recommendlevel']}-->
  203.                                                  <img src="{IMGDIR}/recommend_$_G['forum_thread']['recommendlevel'].gif" alt="" title="{lang thread_recommend} $_G['forum_thread'][recommends]" />
  204.                                         <!--{/if}-->
  205.                                         <!--{if $_G['forum_thread'][heatlevel]}-->
  206.                                                  <img src="{IMGDIR}/hot_$_G['forum_thread'][heatlevel].gif" alt="" title="{lang heats}: $_G['forum_thread']['heats']" />
  207.                                         <!--{/if}-->
  208.                                         <!--{if $_G['forum_thread']['closed'] == 1}-->
  209.                                                  <img src="{IMGDIR}/locked.gif" alt="{lang close}" title="{lang close}" class="vm" />
  210.                                         <!--{/if}-->
  211.                                         <a href="forum.php?mod=viewthread&tid=$_G[tid]$fromuid" onclick="return copyThreadUrl(this, '$_G[setting][bbname]')" {if $fromuid}title="{lang share_url_copy_comment}"{/if}>[{lang share_url_copy}]</a>
  212.                                 </span>
  213.                                 <!--{hook/viewthread_title_extra}-->
  214.                         </td>
  215.                 </tr>
  216.         </table>
  217.         <!--{if $_G['forum_thread']['replycredit'] > 0 || $rushreply}-->
  218.         <div id="pl_top">
  219.                 <table cellspacing="0" cellpadding="0">
  220.                         <tr class="ad">
  221.                                 <td class="pls"></td>
  222.                                 <td class="plc"></td>
  223.                         </tr>
  224.                         <!--{if $_G['forum_thread']['replycredit'] > 0 }-->
  225.                                 <tr>
  226.                                         <!--{if !$close_leftinfo}-->
  227.                                         <td class="pls vm ptm">
  228.                                         <!--{else}-->
  229.                                         <td class="pls ptm pbm xi1" colspan="2">
  230.                                         <!--{/if}-->
  231.                                                 <img src="{IMGDIR}/thread_prize_s.png" class="hm" alt="{lang replycredit}" />
  232.                                                         <strong>{$_G['forum_thread']['replycredit']} {$_G['setting']['extcredits'][$_G[forum_thread][replycredit_rule][extcreditstype]][unit]}{$_G['setting']['extcredits'][$_G[forum_thread][replycredit_rule][extcreditstype]][title]}</strong>
  233.                                         <!--{if !$close_leftinfo}-->
  234.                                         </td>
  235.                                         <td class="plc ptm pbm xi1">
  236.                                         <!--{else}-->
  237.                                             
  238.                                         <!--{/if}-->
  239.                                                 {lang thread_replycredit_tips1} {lang thread_replycredit_tips2}<!--{if $_G['forum_thread']['replycredit_rule'][random] > 0}--><span class="xg1">{lang thread_replycredit_tips3}</span><!--{/if}-->
  240.                                         </td>
  241.                                 </tr>
  242.                                 <!--{if $rushreply}-->
  243.                                 <tr class="ad">
  244.                                         <td class="pls"></td>
  245.                                         <td class="plc"></td>
  246.                                 </tr>
  247.                                 <!--{/if}-->
  248.                 <!--{/if}-->

  249.                 <!--{if $rushreply}-->
  250.                         <tr>
  251.                                 <!--{if !$close_leftinfo}-->
  252.                                 <td class="pls vm ptm">
  253.                                         <img src="{IMGDIR}/rushreply_s.png" class="vm" alt="{lang rushreply}" />
  254.                                         <strong>{lang rushreply}</strong>
  255.                                 </td>
  256.                                 <td class="plc ptm pbm xi1">
  257.                                 <!--{else}-->
  258.                                 <td class="plc ptm pbm xi1" colspan="2">
  259.                                         <img src="{IMGDIR}/rushreply_s.png" class="vm" alt="{lang rushreply}" />
  260.                                 <!--{/if}-->
  261.                                         <!--{if $rushresult[rewardfloor]}-->
  262.                                                 <span class="y">
  263.                                                 <!--{if $_G['uid'] == $_G['thread']['authorid'] || $_G['forum']['ismoderator']}--><a href="javascript:;" onclick="showWindow('membernum', 'forum.php?mod=ajax&action=get_rushreply_membernum&tid=$_G[tid]')" class="y pn xi2"><span>{lang thread_rushreply_statnum}</span></a><!--{/if}-->
  264.                                                 <!--{if !$_GET['checkrush']}-->
  265.                                                                 <a href="forum.php?mod=viewthread&tid=$post[tid]&checkrush=1" rel="nofollow" class="y pn xi2"><span>{lang rushreply_view}</span></a>
  266.                                                 <!--{/if}-->
  267.                                                 </span>
  268.                                         <!--{/if}-->
  269.                                         <!--{if $rushresult[creditlimit] == ''}-->
  270.                                                 {lang thread_rushreply}
  271.                                         <!--{else}-->
  272.                                                 {lang thread_rushreply_limit}  
  273.                                         <!--{/if}-->
  274.                                         <!--{if $rushresult['timer']}-->
  275.                                         <span id="rushtimer_$thread[tid]"> {lang havemore_special} <span id="rushtimer_body_$thread[tid]"></span> <script language="javascript">settimer($rushresult['timer'], 'rushtimer_body_$thread[tid]');</script>{if $rushresult['timertype'] == 'start'} {lang header_start} {else} {lang over} {/if} {lang right_special}</span>
  276.                                         <!--{/if}-->
  277.                                         <!--{if $rushresult[stopfloor]}-->
  278.                                                 {lang thread_rushreply_end}$rushresult[stopfloor]
  279.                                         <!--{/if}-->
  280.                                         <!--{if $rushresult[rewardfloor]}-->
  281.                                                 {lang thread_rushreply_floor}: $rushresult[rewardfloor]
  282.                                         <!--{/if}-->
  283.                                         <!--{if $rushresult[rewardfloor] && $_GET['checkrush']}-->
  284.                                                 <p class="ptn">
  285.                                                         <!--{if $countrushpost}-->[<strong>$countrushpost</strong>]{lang thread_rushreply_rewardnum}<!--{else}--> {lang thread_rushreply_noreward} <!--{/if}-->  
  286.                                                         <a href="forum.php?mod=viewthread&tid=$_G[tid]" class="xi2">{lang thread_rushreply_check_back}</a>
  287.                                                 </p>
  288.                                         <!--{/if}-->
  289.                                 </td>
  290.                         </tr>
  291.                 <!--{/if}-->
  292.                 </table>
  293.         </div>
  294.         <!--{/if}-->

  295.         <!--{hook/viewthread_title_row}-->

  296.         <table cellspacing="0" cellpadding="0" class="ad">
  297.                 <tr>
  298.                         <td class="pls">
  299.                         <!--{if !$close_leftinfo}-->
  300.                         </td>
  301.                         <td class="plc">
  302.                         <!--{/if}-->
  303.                         </td>
  304.                 </tr>
  305.         </table>
  306.         <!--{eval $postcount = 0;}-->
  307.         <!--{loop $postlist $post}-->
  308.                 <!--{if $rushreply && $_GET['checkrush'] && $post['rewardfloor'] != 1}-->
  309.                         <!--{eval continue;}-->
  310.                 <!--{/if}-->
  311.                 <div id="post_$post[pid]" {if $_G['blockedpids'] && $post['inblacklist']}style="display:none;"{/if}>
  312.                         <!--{subtemplate forum/viewthread_node}-->
  313.                 </div>
  314.                 <!--{eval $postcount++;}-->
  315.         <!--{/loop}-->
  316.         <div id="postlistreply" class="pl"><div id="post_new" class="viewthread_table" style="display: none"></div></div>
  317.         <!--{if $_G['blockedpids']}-->
  318.                 <div id='hiddenpoststip'><a href='javascript:display_blocked_post();'>{lang other_reply_hide}</a></div>
  319.                 <div id="hiddenposts"></div>
  320.         <!--{/if}-->
  321. </div>

  322. <!--{if $modmenu['thread']}-->
  323.         <div class="xi2 mbm pbm bbs">
  324.         <script type="text/javascript">
  325.                 $('modmenu').lastChild.style.visibility = 'hidden';
  326.                 document.write($('modmenu').innerHTML);
  327.         </script>
  328.         </div>
  329. <!--{/if}-->

  330. <form method="post" autocomplete="off" name="modactions" id="modactions">
  331.         <input type="hidden" name="formhash" value="{FORMHASH}" />
  332.         <input type="hidden" name="optgroup" />
  333.         <input type="hidden" name="operation" />
  334.         <input type="hidden" name="listextra" value="$_GET[extra]" />
  335.         <input type="hidden" name="page" value="$page" />
  336. </form>

  337. $_G['forum_tagscript']

  338. <!--{if $multipage && $page < $_G['setting']['threadmaxpages'] && $page < $_G['page_next']}-->
  339. <!--{eval $nxtpage = $page + 1;}-->
  340.         <div class="pgbtn"><a href="forum.php?mod=viewthread&tid=$_G[tid]{if $_GET[authorid]}&authorid=$_GET[authorid]{/if}&page=$nxtpage" hidefocus="true" class="bm_h">{lang next_page_extra}</a></div>
  341. <!--{/if}-->

  342. <div class="pgs mtm mbm cl">
  343.         $multipage
  344.         <span class="pgb y"{if $_G['setting']['visitedforums']} id="visitedforumstmp" onmouseover="$('visitedforums').id = 'visitedforumstmp';this.id = 'visitedforums';showMenu({'ctrlid':this.id,'pos':'21'})"{/if}><a href="$upnavlink">{lang return_forumdisplay}</a></span>
  345.         <!--{if !$_G['forum_thread']['is_archived']}-->
  346.                 <a id="newspecialtmp" onmouseover="$('newspecial').id = 'newspecialtmp';this.id = 'newspecial';showMenu({'ctrlid':this.id})"{if !$_G['forum']['allowspecialonly'] && empty($_G['forum']['picstyle']) && !$_G['forum']['threadsorts']['required']} onclick="showWindow('newthread', 'forum.php?mod=post&action=newthread&fid=$_G[fid]')"{else} onclick="location.href='forum.php?mod=post&action=newthread&fid=$_G[fid]';return false;"{/if} href="javascript:;" title="{lang send_posts}"><img src="{IMGDIR}/pn_post.png" alt="{lang send_posts}" /></a>
  347.         <!--{/if}-->
  348.         <!--{if $allowpostreply && !$_G['forum_thread']['archiveid']}-->
  349.                 <a id="post_replytmp" onclick="showWindow('reply', 'forum.php?mod=post&action=reply&fid=$_G[fid]&tid=$_G[tid]')" href="javascript:;" title="{lang reply}"><img src="{IMGDIR}/pn_reply.png" alt="{lang reply}" /></a>
  350.         <!--{/if}-->
  351. </div>

  352. <!--{hook/viewthread_middle}-->
  353. <!--[diy=diyfastposttop]--><div id="diyfastposttop" class="area"></div><!--[/diy]-->
  354. <!--{if $fastpost}-->
  355.         <!--{subtemplate forum/viewthread_fastpost}-->
  356. <!--{/if}-->

  357. <!--{hook/viewthread_bottom}-->

  358. <!--{if ($_G['setting']['visitedforums']) && $_G['forum']['status'] != 3}-->
  359.         <div id="visitedforums_menu" class="p_pop blk cl" style="display: none;">
  360.                 <table cellspacing="0" cellpadding="0">
  361.                         <tr>
  362.                                 <td id="v_forums">
  363.                                         <h3 class="mbn pbn bbda xg1">{lang viewed_forums}</h3>
  364.                                         <ul class="xl xl1">
  365.                                                 $_G['setting']['visitedforums']
  366.                                         </ul>
  367.                                 </td>
  368.                         </tr>
  369.                 </table>
  370.         </div>
  371. <!--{/if}-->
  372. <!--{if $_G['medal_list']}-->
  373. <!--{loop $_G['medal_list'] $medalid $medal}-->
  374.         <div id="md_{$medalid}_menu" class="tip tip_4" style="display: none;">
  375.                 <div class="tip_horn"></div>
  376.                 <div class="tip_c">
  377.                         <h4>$medal[name]</h4>
  378.                         <p>$medal[description]</p>
  379.                 </div>
  380.         </div>
  381. <!--{/loop}-->
  382. <!--{/if}-->

  383. <!--{if !IS_ROBOT && !empty($_G[setting][lazyload])}-->
  384.         <script type="text/javascript">
  385.         new lazyload();
  386.         </script>
  387. <!--{/if}-->

  388. <!--{if !IS_ROBOT && $_G['setting']['threadmaxpages'] > 1}-->
  389.         <script type="text/javascript">document.onkeyup = function(e){keyPageScroll(e, <!--{if $page > 1}-->1<!--{else}-->0<!--{/if}-->, <!--{if $page < $_G['setting']['threadmaxpages'] && $page < $_G['page_next']}-->1<!--{else}-->0<!--{/if}-->, 'forum.php?mod=viewthread&tid=$_G[tid]<!--{if $_GET[authorid]}-->&authorid=$_GET[authorid]<!--{/if}-->', $page);}</script>
  390. <!--{/if}-->
  391. </div>

  392. <div class="wp mtn">
  393.         <!--[diy=diy3]--><div id="diy3" class="area"></div><!--[/diy]-->
  394. </div>
  395. <!--{if $_G['relatedlinks'] || $_GET['highlight']}-->
  396.         <script type="text/javascript">
  397.                 var relatedlink = [];
  398.                 <!--{loop $_G['relatedlinks'] $key $link}-->
  399.                 relatedlink[$key] = {'sname':'$link[name]', 'surl':'$link[url]'};
  400.                 <!--{/loop}-->
  401.                 {eval $highlights = explode(' ', str_replace(array('\'', chr(125)), array(''', '}'), dhtmlspecialchars($_GET['highlight'])));}
  402.                 <!--{loop $highlights $word}-->
  403.                 {eval $key++;}
  404.                 relatedlink[$key] = {'sname':'$word', 'surl':''};
  405.                 <!--{/loop}-->
  406.                 relatedlinks('postmessage_$_G[forum_firstpid]');
  407.         </script>
  408. <!--{/if}-->

  409. <!--{if !empty($_G['cookie']['clearUserdata']) && $_G['cookie']['clearUserdata'] == 'forum'}-->
  410.         <script type="text/javascript">saveUserdata('forum_'+discuz_uid, '')</script>
  411. <!--{/if}-->

  412. <script type="text/javascript">
  413. <!--{if $_G['forum']['picstyle'] && ($_G['forum']['ismoderator'] || $_G['uid'] == $_G['thread']['authorid'])}-->
  414. function showsetcover(obj) {
  415.         if(obj.parentNode.id == 'postmessage_$_G[forum_firstpid]') {
  416.                 var defheight = $_G['setting']['forumpicstyle']['thumbheight'];
  417.                 var defwidth = $_G['setting']['forumpicstyle']['thumbwidth'];
  418.                 var newimgid = 'showcoverimg';
  419.                 var imgsrc = obj.src ? obj.src : obj.file;
  420.                 if(!imgsrc) return;

  421.                 var tempimg=new Image();
  422.                 tempimg.src=imgsrc;
  423.                 if(tempimg.complete) {
  424.                         if(tempimg.width < defwidth || tempimg.height < defheight) return;
  425.                 } else {
  426.                         return;
  427.                 }
  428.                 if($(newimgid) && obj.id != newimgid) {
  429.                         $(newimgid).id = 'img'+Math.random();
  430.                 }
  431.                 if($(newimgid+'_menu')) {
  432.                         var menudiv = $(newimgid+'_menu');
  433.                 } else {
  434.                         var menudiv = document.createElement('div');
  435.                         menudiv.className = 'tip tip_4 aimg_tip';
  436.                         menudiv.id = newimgid+'_menu';
  437.                         menudiv.style.position = 'absolute';
  438.                         menudiv.style.display = 'none';
  439.                         obj.parentNode.appendChild(menudiv);
  440.                 }
  441.                 menudiv.innerHTML = '<div class="tip_c xs0"><a onclick="showWindow(\'setcover_'+newimgid+'\', this.href)" href="forum.php?mod=ajax&action=setthreadcover&tid=$_G[tid]&pid=$_G[forum_firstpid]&fid=$_G[fid]&imgurl='+imgsrc+'">{lang set_cover}</a></div>';
  442.                 obj.id = newimgid;
  443.                 showMenu({'ctrlid':newimgid,'pos':'12'});
  444.         }
  445.         return;
  446. }
  447. <!--{/if}-->
  448. function succeedhandle_followmod(url, msg, values) {
  449.         var fObj = $('followmod_'+values['fuid']);
  450.         if(values['type'] == 'add') {
  451.                 fObj.innerHTML = '{lang nofollow}';
  452.                 fObj.href = 'home.php?mod=spacecp&ac=follow&op=del&fuid='+values['fuid'];
  453.         } else if(values['type'] == 'del') {
  454.                 fObj.innerHTML = '{lang follow}';
  455.                 fObj.href = 'home.php?mod=spacecp&ac=follow&op=add&hash={FORMHASH}&fuid='+values['fuid'];
  456.         }
  457. }
  458. <!--{if $_G['blockedpids']}-->
  459. var blockedPIDs = [<!--{echo implode(',', $_G['blockedpids'])}-->];
  460. <!--{/if}-->
  461. <!--{if $postlist && empty($_G['setting']['disfixedavatar'])}-->
  462. fixed_avatar([<!--{echo implode(',', array_keys($postlist))}-->], {if empty($_G['setting']['disfixednv_viewthread']) }1{else}0{/if});
  463. <!--{elseif empty($_G['setting']['disfixednv_viewthread'])}-->
  464. fixed_top_nv();
  465. <!--{/if}-->
  466. </script>
  467. <!--{template common/footer}-->
复制代码


allthebest 发表于 2014-8-29 22:56:32 | 显示全部楼层
本帖最后由 allthebest 于 2014-8-29 23:28 编辑

利用广告位 即可

运营>> 站点广告>>论坛/群组 帖内广告

广告标题(必填):广告标题只为识别辨认不同广告条目之用,并不在广告中显示

广告投放范围(必选):论坛

投放版块:全选

投放位置:帖子上方

广告显示楼层:全部

广告起始时间(选填):留空为不限制起始时间

广告结束时间(选填):留空为不限制起始时间

展现方式:文字

文字内容(必填):

文字链接(必填):
回复

使用道具 举报

 楼主| 索雷 发表于 2014-8-31 22:26:05 | 显示全部楼层
allthebest 发表于 2014-8-29 22:56
利用广告位 即可

运营>> 站点广告>>论坛/群组 帖内广告

不用广告位行吗?
回复

使用道具 举报

allthebest 发表于 2014-8-31 22:28:30 | 显示全部楼层
索雷 发表于 2014-8-31 22:26
不用广告位行吗?

默认只能用广告位



应用中心 找插件
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-5-24 02:23 , Processed in 1.021331 second(s), 17 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

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