viewthread_2.htm.bak 34 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556
  1. <!--{template common/header}-->
  2. <!--{if $wk_leftinfo }-->
  3. <!--{eval $close_leftinfo = 1;}-->
  4. <!--{/if}-->
  5. <!--{if $close_leftinfo}-->
  6. <style>
  7. #postlist .plc {padding:0px;}
  8. #postlist .plc .side_btn .btn_s_open { margin-left:7px; }
  9. .authi .wk_ckhf { float:left; margin-top:0; line-height:24px; }
  10. </style>
  11. <!--{/if}-->
  12. <script type="text/javascript">var fid = parseInt('$_G[fid]'), tid = parseInt('$_G[tid]');</script>
  13. <!--{if $modmenu['thread'] || $modmenu['post']}-->
  14. <script type="text/javascript" src="{$_G['setting']['jspath']}forum_moderate.js?{VERHASH}"></script>
  15. <!--{/if}-->
  16. <script type="text/javascript" src="{$_G['setting']['jspath']}forum_viewthread.js?{VERHASH}"></script>
  17. <script type="text/javascript">zoomstatus = parseInt($_G['setting']['zoomstatus']);var imagemaxwidth = '{$_G['setting']['imagemaxwidth']}';var aimgcount = new Array();</script>
  18. <style id="diy_style" type="text/css">#frameD3JKMO { border:0px !important;margin:0px !important;}#portal_block_23 { border:0px !important;margin:0px !important;}#portal_block_23 .dxb_bc { margin:0px !important;}#frameJHKW79 { border:#000000 0px !important;margin-top:-1px !important;margin-right:0px !important;margin-bottom:0px !important;margin-left:0px !important;}#portal_block_24 { border:#000000 0px !important;margin:0px !important;}#portal_block_24 .dxb_bc { margin:0px !important;}#framefLHHtH { border:0px !important;margin:0px !important;}#portal_block_25 { border:0px !important;margin:0px !important;}#portal_block_25 .dxb_bc { margin:0px !important;}#framesA58eC { border:#000000 0px !important;margin-top:-1px !important;margin-right:0px !important;margin-bottom:0px !important;margin-left:0px !important;}#frametesXuT { border:0px !important;margin:0px !important;}#portal_block_27 { border:0px !important;margin:0px !important;}#portal_block_27 .dxb_bc { margin:0px !important;}</style>
  19. <!--[diy=diynavtop]--><div id="diynavtop" class="area"></div><!--[/diy]-->
  20. <!--{hook/viewthread_top}-->
  21. <!--{ad/text/wp a_t}-->
  22. <style id="diy_style" type="text/css">#frameD3JKMO { border:0px !important;margin:0px !important;}#portal_block_23 { border:0px !important;margin:0px !important;}#portal_block_23 .dxb_bc { margin:0px !important;}#frameJHKW79 { border:#000000 0px !important;margin-top:-1px !important;margin-right:0px !important;margin-bottom:0px !important;margin-left:0px !important;}#portal_block_24 { border:#000000 0px !important;margin:0px !important;}#portal_block_24 .dxb_bc { margin:0px !important;}#framefLHHtH { border:0px !important;margin:0px !important;}#portal_block_25 { border:0px !important;margin:0px !important;}#portal_block_25 .dxb_bc { margin:0px !important;}#framesA58eC { border:#000000 0px !important;margin-top:-1px !important;margin-right:0px !important;margin-bottom:0px !important;margin-left:0px !important;}#frametesXuT { border:0px !important;margin:0px !important;}#portal_block_27 { border:0px !important;margin:0px !important;}#portal_block_27 .dxb_bc { margin:0px !important;}</style>
  23. <div class="wp">
  24. <!--[diy=diy1]--><div id="diy1" class="area"></div><!--[/diy]-->
  25. </div>
  26. <div id="ct" class="wp cl week_ct2">
  27. <div class="wk_f_mn padding15 backfff">
  28. <div id="pt" class="bm cl">
  29. <div class="z">
  30. <a href="./" class="nvhm" title="{lang homepage}">$_G[setting][bbname]</a><em>&raquo;</em><a href="forum.php">{$_G[setting][navs][2][navname]}</a>$navigation <em>&rsaquo;</em> <a href="forum.php?mod=viewthread&tid=$_G[tid]">$_G[forum_thread][short_subject]</a>
  31. </div>
  32. </div>
  33. <!--{hook/viewthread_postbutton_top}-->
  34. <!--{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'])}-->
  35. <ul class="p_pop" id="newspecial_menu" style="display: none">
  36. <!--{if !$_G['forum']['allowspecialonly']}--><li><a href="forum.php?mod=post&action=newthread&fid=$_G[fid]">{lang post_newthread}</a></li><!--{/if}-->
  37. <!--{if $_G['forum']['threadsorts'] && !$_G['forum']['allowspecialonly']}-->
  38. <!--{loop $_G['forum']['threadsorts']['types'] $id $threadsorts}-->
  39. <!--{if $_G['forum']['threadsorts']['show'][$id]}-->
  40. <li class="popupmenu_option"><a href="forum.php?mod=post&action=newthread&fid=$_G[fid]&sortid=$id">$threadsorts</a></li>
  41. <!--{/if}-->
  42. <!--{/loop}-->
  43. <!--{/if}-->
  44. <!--{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}-->
  45. <!--{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}-->
  46. <!--{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}-->
  47. <!--{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}-->
  48. <!--{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}-->
  49. <!--{if $_G['setting']['threadplugins']}-->
  50. <!--{loop $_G['forum']['threadplugin'] $tpid}-->
  51. <!--{if array_key_exists($tpid, $_G['setting']['threadplugins']) && @in_array($tpid, $_G['group']['allowthreadplugin'])}-->
  52. <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>
  53. <!--{/if}-->
  54. <!--{/loop}-->
  55. <!--{/if}-->
  56. </ul>
  57. <!--{/if}-->
  58. <!--[diy=diy_ad_a]--><div id="diy_ad_a" class="area"></div><!--[/diy]-->
  59. <!--{if $modmenu['post']}-->
  60. <div id="mdly" class="fwinmask" style="display:none;z-index:350;">
  61. <table cellspacing="0" cellpadding="0" class="fwin">
  62. <tr>
  63. <td class="t_l"></td>
  64. <td class="t_c"></td>
  65. <td class="t_r"></td>
  66. </tr>
  67. <tr>
  68. <td class="m_l">&nbsp;&nbsp;</td>
  69. <td class="m_c">
  70. <div class="f_c">
  71. <div class="c">
  72. <h3>{lang admin_select}&nbsp;<strong id="mdct" class="xi1"></strong>&nbsp;{lang piece}: </h3>
  73. <!--{if $_G['forum']['ismoderator']}-->
  74. <!--{if $_G['group']['allowwarnpost']}--><a href="javascript:;" onclick="modaction('warn')">{lang modmenu_warn}</a><span class="pipe">|</span><!--{/if}-->
  75. <!--{if $_G['group']['allowbanpost']}--><a href="javascript:;" onclick="modaction('banpost')">{lang modmenu_banpost}</a><span class="pipe">|</span><!--{/if}-->
  76. <!--{if $_G['group']['allowdelpost'] && !$rushreply}--><a href="javascript:;" onclick="modaction('delpost')">{lang modmenu_deletepost}</a><span class="pipe">|</span><!--{/if}-->
  77. <!--{/if}-->
  78. <!--{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}-->
  79. <!--{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}-->
  80. </div>
  81. </div>
  82. </td>
  83. <td class="m_r"></td>
  84. </tr>
  85. <tr>
  86. <td class="b_l"></td>
  87. <td class="b_c"></td>
  88. <td class="b_r"></td>
  89. </tr>
  90. </table>
  91. </div>
  92. <!--{/if}-->
  93. <!--{if $modmenu['thread']}-->
  94. <div id="modmenu" class="xi2 pbm">
  95. <!--{eval $modopt=0;}-->
  96. <!--{if $_G['forum']['ismoderator']}-->
  97. <!--{if $_G['group']['allowdelpost']}--><!--{eval $modopt++}--><a href="javascript:;" onclick="modthreads(3, 'delete')">{lang modmenu_deletethread}</a><span class="pipe">|</span><!--{/if}-->
  98. <!--{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}-->
  99. <!--{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}-->
  100. <!--{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}-->
  101. <!--{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}-->
  102. <!--{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}-->
  103. <!--{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}-->
  104. <!--{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}-->
  105. <!--{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}-->
  106. <!--{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}-->
  107. <!--{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}-->
  108. <!--{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}-->
  109. <!--{if !$_G['forum_thread']['special'] && !$_G['forum_thread']['is_archived']}-->
  110. <!--{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}-->
  111. <!--{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}-->
  112. <!--{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}-->
  113. <!--{/if}-->
  114. <!--{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}-->
  115. <!--{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}-->
  116. <!--{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}-->
  117. <!--{if $_G['forum_firstpid']}-->
  118. <!--{if $_G['group']['allowwarnpost']}--><!--{eval $modopt++}--><a href="javascript:;" onclick="modaction('warn', '$_G[forum_firstpid]')">{lang modmenu_warn}</a><span class="pipe">|</span><!--{/if}-->
  119. <!--{if $_G['group']['allowbanpost']}--><!--{eval $modopt++}--><a href="javascript:;" onclick="modaction('banpost', '$_G[forum_firstpid]')">{lang modmenu_banthread}</a><span class="pipe">|</span><!--{/if}-->
  120. <!--{/if}-->
  121. <!--{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}-->
  122. <!--{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}-->
  123. <!--{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}-->
  124. <!--{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}-->
  125. <!--{/if}-->
  126. <!--{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}-->
  127. <!--{hook/viewthread_modoption}-->
  128. </div>
  129. <!--{/if}-->
  130. <!--{hook/viewthread_beginline}-->
  131. <div id="postlist" class="pl bm wk_bm">
  132. <table cellspacing="0" cellpadding="0">
  133. <tr>
  134. <!--{if !$close_leftinfo}-->
  135. <td class="pls ptn pbn">
  136. <!--{if $_G['page'] > 1}-->
  137. <div id="tath" class="cl">
  138. <!--{if $_G[forum_thread][authorid] && $_G[forum_thread][author]}-->
  139. <a href="home.php?mod=space&uid=$_G[forum_thread][authorid]" title="$_G[forum_thread][author]"><!--{avatar($_G[forum_thread][authorid],small)}--></a>
  140. {lang thread_author}: <a href="home.php?mod=space&uid=$_G[forum_thread][authorid]" title="$_G[forum_thread][author]">$_G[forum_thread][author]</a>
  141. <!--{else}-->
  142. {lang thread_author}:
  143. <!--{if $_G['forum']['ismoderator']}-->
  144. <a href="home.php?mod=space&uid=$_G[forum_thread][authorid]">{lang anonymous}</a>
  145. <!--{else}-->
  146. {lang anonymous}
  147. <!--{/if}-->
  148. <!--{/if}-->
  149. </div>
  150. <!--{else}-->
  151. <div class="hm ptn">
  152. <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>
  153. </div>
  154. <!--{/if}-->
  155. </td>
  156. <!--{/if}-->
  157. <td class="plc ptm pbn vwthd">
  158. <!--{if !IS_ROBOT}-->
  159. <div class="y">
  160. <!--{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>
  161. <!--{/if}-->
  162. <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>
  163. <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>
  164. </div>
  165. <!--{/if}-->
  166. <!--{if $_G['setting']['close_leftinfo_userctrl']}-->
  167. <span class="xg1 side_btn">
  168. <!--{if !$close_leftinfo}-->
  169. <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>
  170. <!--{else}-->
  171. <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>
  172. <!--{/if}-->
  173. </span>
  174. <!--{/if}-->
  175. <h1 class="ts">
  176. <!--{if $_G['forum_thread']['typeid'] && $_G['forum']['threadtypes']['types'][$_G['forum_thread']['typeid']]}-->
  177. <!--{if !IS_ROBOT && ($_G['forum']['threadtypes']['listable'] || $_G['forum']['status'] == 3)}-->
  178. <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>
  179. <!--{else}-->
  180. [{$_G['forum']['threadtypes']['types'][$_G['forum_thread']['typeid']]}]
  181. <!--{/if}-->
  182. <!--{/if}-->
  183. <!--{if $threadsorts && $_G['forum_thread']['sortid']}-->
  184. <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>
  185. <!--{/if}-->
  186. <span id="thread_subject">$_G[forum_thread][subject]</span>
  187. </h1>
  188. <span class="xg1">
  189. <!--{if $_G['forum_thread'][displayorder] == -2}-->({lang moderating})
  190. <!--{elseif $_G['forum_thread'][displayorder] == -3}-->({lang have_ignored})
  191. <!--{elseif $_G['forum_thread'][displayorder] == -4}-->({lang draft})
  192. <!--{if $post['first'] && $post['invisible'] == -3}-->
  193. <a class="psave" href="forum.php?mod=misc&action=pubsave&tid=$_G[tid]">{lang published}</a>
  194. <!--{/if}-->
  195. <!--{/if}-->
  196. <!--{if $_G['setting']['threadhidethreshold'] && $_G['forum_thread']['hidden'] >= $_G['setting']['threadhidethreshold']}-->
  197. <!--{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}-->
  198. &nbsp;
  199. <!--{/if}-->
  200. <!--{if $_G['forum_thread']['recommendlevel']}-->
  201. &nbsp;<img src="{IMGDIR}/recommend_$_G['forum_thread']['recommendlevel'].gif" alt="" title="{lang thread_recommend} $_G['forum_thread'][recommends]" />
  202. <!--{/if}-->
  203. <!--{if $_G['forum_thread'][heatlevel]}-->
  204. &nbsp;<img src="{IMGDIR}/hot_$_G['forum_thread'][heatlevel].gif" alt="" title="{lang heats}: $_G['forum_thread']['heats']" />
  205. <!--{/if}-->
  206. <!--{if $_G['forum_thread']['closed'] == 1}-->
  207. &nbsp;<img src="{IMGDIR}/locked.gif" alt="{lang close}" title="{lang close}" class="vm" />
  208. <!--{/if}-->
  209. <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>
  210. </span>
  211. <!--{hook/viewthread_title_extra}-->
  212. </td>
  213. </tr>
  214. </table>
  215. <!--{if $_G['forum_thread']['replycredit'] > 0 || $rushreply}-->
  216. <div id="pl_top">
  217. <table cellspacing="0" cellpadding="0">
  218. <tr class="ad">
  219. <td class="pls"></td>
  220. <td class="plc"></td>
  221. </tr>
  222. <!--{if $_G['forum_thread']['replycredit'] > 0 }-->
  223. <tr>
  224. <!--{if !$close_leftinfo}-->
  225. <td class="pls vm ptm">
  226. <!--{else}-->
  227. <td class="pls ptm pbm xi1" colspan="2">
  228. <!--{/if}-->
  229. <img src="{IMGDIR}/thread_prize_s.png" class="hm" alt="{lang replycredit}" />
  230. <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>
  231. <!--{if !$close_leftinfo}-->
  232. </td>
  233. <td class="plc ptm pbm xi1">
  234. <!--{else}-->
  235. &nbsp;&nbsp;&nbsp;&nbsp;
  236. <!--{/if}-->
  237. {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}-->
  238. </td>
  239. </tr>
  240. <!--{if $rushreply}-->
  241. <tr class="ad">
  242. <td class="pls"></td>
  243. <td class="plc"></td>
  244. </tr>
  245. <!--{/if}-->
  246. <!--{/if}-->
  247. <!--{if $rushreply}-->
  248. <tr>
  249. <!--{if !$close_leftinfo}-->
  250. <td class="pls vm ptm">
  251. <img src="{IMGDIR}/rushreply_s.png" class="vm" alt="{lang rushreply}" />
  252. <strong>{lang rushreply}</strong>
  253. </td>
  254. <td class="plc ptm pbm xi1">
  255. <!--{else}-->
  256. <td class="plc ptm pbm xi1" colspan="2">
  257. <img src="{IMGDIR}/rushreply_s.png" class="vm" alt="{lang rushreply}" />
  258. <!--{/if}-->
  259. <!--{if $rushresult[rewardfloor]}-->
  260. <span class="y">
  261. <!--{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}-->
  262. <!--{if !$_GET['checkrush']}-->
  263. <a href="forum.php?mod=viewthread&tid=$post[tid]&checkrush=1" rel="nofollow" class="y pn xi2"><span>{lang rushreply_view}</span></a>
  264. <!--{/if}-->
  265. </span>
  266. <!--{/if}-->
  267. <!--{if $rushresult[creditlimit] == ''}-->
  268. {lang thread_rushreply}&nbsp;
  269. <!--{else}-->
  270. {lang thread_rushreply_limit} &nbsp;
  271. <!--{/if}-->
  272. <!--{if $rushresult['timer']}-->
  273. <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>
  274. <!--{/if}-->
  275. <!--{if $rushresult[stopfloor]}-->
  276. {lang thread_rushreply_end}$rushresult[stopfloor]&nbsp;
  277. <!--{/if}-->
  278. <!--{if $rushresult[rewardfloor]}-->
  279. {lang thread_rushreply_floor}: $rushresult[rewardfloor]&nbsp;
  280. <!--{/if}-->
  281. <!--{if $rushresult[rewardfloor] && $_GET['checkrush']}-->
  282. <p class="ptn">
  283. <!--{if $countrushpost}-->[<strong>$countrushpost</strong>]{lang thread_rushreply_rewardnum}<!--{else}--> {lang thread_rushreply_noreward} <!--{/if}-->&nbsp;&nbsp;
  284. <a href="forum.php?mod=viewthread&tid=$_G[tid]" class="xi2">{lang thread_rushreply_check_back}</a>
  285. </p>
  286. <!--{/if}-->
  287. </td>
  288. </tr>
  289. <!--{/if}-->
  290. </table>
  291. </div>
  292. <!--{/if}-->
  293. <!--{hook/viewthread_title_row}-->
  294. <table cellspacing="0" cellpadding="0" class="ad">
  295. <tr>
  296. <td class="pls">
  297. <!--{if !$close_leftinfo}-->
  298. </td>
  299. <td class="plc">
  300. <!--{/if}-->
  301. </td>
  302. </tr>
  303. </table>
  304. <!--{eval $postcount = 0;}-->
  305. <!--{loop $postlist $post}-->
  306. <!--{if $rushreply && $_GET['checkrush'] && $post['rewardfloor'] != 1}-->
  307. <!--{eval continue;}-->
  308. <!--{/if}-->
  309. <div id="post_$post[pid]" {if $_G['blockedpids'] && $post['inblacklist']}style="display:none;"{/if}>
  310. <!--{subtemplate forum/viewthread_node}-->
  311. </div>
  312. <!--{eval $postcount++;}-->
  313. <!--{/loop}-->
  314. <div id="postlistreply" class="pl"><div id="post_new" class="viewthread_table" style="display: none"></div></div>
  315. <!--{if $_G['blockedpids']}-->
  316. <div id='hiddenpoststip'><a href='javascript:display_blocked_post();'>{lang other_reply_hide}</a></div>
  317. <div id="hiddenposts"></div>
  318. <!--{/if}-->
  319. </div>
  320. <!--{if $modmenu['thread']}-->
  321. <div class="xi2 mbm pbm bbs wk_bbsbj">
  322. <script type="text/javascript">
  323. $('modmenu').lastChild.style.visibility = 'hidden';
  324. document.write($('modmenu').innerHTML);
  325. </script>
  326. </div>
  327. <!--{/if}-->
  328. <form method="post" autocomplete="off" name="modactions" id="modactions">
  329. <input type="hidden" name="formhash" value="{FORMHASH}" />
  330. <input type="hidden" name="optgroup" />
  331. <input type="hidden" name="operation" />
  332. <input type="hidden" name="listextra" value="$_GET[extra]" />
  333. <input type="hidden" name="page" value="$page" />
  334. </form>
  335. $_G['forum_tagscript']
  336. <!--{if $multipage && $page < $_G['setting']['threadmaxpages'] && $page < $_G['page_next']}-->
  337. <!--{eval $nxtpage = $page + 1;}-->
  338. <div class="pgbtn wk_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>
  339. <!--{/if}-->
  340. <div class="pgs mtm mbm cl">
  341. <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>
  342. $multipage
  343. </div>
  344. <!--{hook/viewthread_middle}-->
  345. <!--[diy=diyfastposttop]--><div id="diyfastposttop" class="area"></div><!--[/diy]-->
  346. <!--{if $fastpost}-->
  347. <!--{subtemplate forum/viewthread_fastpost}-->
  348. <!--{/if}-->
  349. <!--[diy=diy_ad_b]--><div id="diy_ad_b" class="area"></div><!--[/diy]-->
  350. <!--{hook/viewthread_bottom}-->
  351. <!--{if ($_G['setting']['visitedforums']) && $_G['forum']['status'] != 3}-->
  352. <div id="visitedforums_menu" class="p_pop blk cl" style="display: none;">
  353. <table cellspacing="0" cellpadding="0">
  354. <tr>
  355. <td id="v_forums">
  356. <h3 class="mbn pbn bbda xg1">{lang viewed_forums}</h3>
  357. <ul class="xl xl1">
  358. $_G['setting']['visitedforums']
  359. </ul>
  360. </td>
  361. </tr>
  362. </table>
  363. </div>
  364. <!--{/if}-->
  365. <!--{if $_G['medal_list']}-->
  366. <!--{loop $_G['medal_list'] $medalid $medal}-->
  367. <div id="md_{$medalid}_menu" class="tip tip_4" style="display: none;">
  368. <div class="tip_horn"></div>
  369. <div class="tip_c">
  370. <h4>$medal[name]</h4>
  371. <p>$medal[description]</p>
  372. </div>
  373. </div>
  374. <!--{/loop}-->
  375. <!--{/if}-->
  376. <!--{if !IS_ROBOT && !empty($_G[setting][lazyload])}-->
  377. <script type="text/javascript">
  378. new lazyload();
  379. </script>
  380. <!--{/if}-->
  381. <!--{if !IS_ROBOT && $_G['setting']['threadmaxpages'] > 1}-->
  382. <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>
  383. <!--{/if}-->
  384. </div>
  385. <div class="wk_f_sd">
  386. <div class="wk_kd260 padding15 backfff">
  387. <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}" class="wk_tzpost"><i class="icon wk_tzpost_icon1"></i><span>$forum_lang[27]</span></a>
  388. <a id="post_reply" onclick="showWindow('reply', 'forum.php?mod=post&action=reply&fid=$_G[fid]&tid=$_G[tid]')" href="javascript:;" title="{lang reply}" class="wk_tzpost"><i class="icon wk_tzpost_icon2"></i><span>$forum_lang[28]</span></a>
  389. <div class="clear"></div>
  390. </div>
  391. <div class="clear"></div>
  392. <div class="backfff wk_bk_search">
  393. <!--{template common/forum_pubsearchform}-->
  394. <div class="clear"></div>
  395. </div>
  396. <div class="clear"></div>
  397. <div class="wk_lbbkx backfff">
  398. <div class="wk_rmbk">
  399. <span class="wk_spat">$forum_lang[11]</span>
  400. <div class="clear"></div>
  401. <!--[diy=wk_rmbk_diy]--><div id="wk_rmbk_diy" class="area"><div id="frameD3JKMO" class=" frame move-span cl frame-1"><div id="frameD3JKMO_left" class="column frame-1-c"><div id="frameD3JKMO_left_temp" class="move-span temp"></div><!--{block/23}--></div></div></div><!--[/diy]-->
  402. </div>
  403. </div>
  404. <div class="clear"></div>
  405. <div class="backfff mb10"><!--[diy=wk_bkad_diy1]--><div id="wk_bkad_diy1" class="area"><div id="frameJHKW79" class=" frame move-span cl frame-1"><div id="frameJHKW79_left" class="column frame-1-c"><div id="frameJHKW79_left_temp" class="move-span temp"></div><!--{block/24}--></div></div></div><!--[/diy]--></div>
  406. <div class="clear"></div>
  407. <div class="wk_kd260 padding15 backfff">
  408. <div class="wk_bktjtz">
  409. <span class="wk_spae">$forum_lang[12]</span>
  410. <div class="clear"></div>
  411. <!--[diy=wk_tjtz_diy]--><div id="wk_tjtz_diy" class="area"><div id="framefLHHtH" class=" frame move-span cl frame-1"><div id="framefLHHtH_left" class="column frame-1-c"><div id="framefLHHtH_left_temp" class="move-span temp"></div><!--{block/25}--></div></div></div><!--[/diy]-->
  412. </div>
  413. </div>
  414. <div class="clear"></div>
  415. <div class="wk_kd260 padding15 backfff">
  416. <div class="wk_bktwrt">
  417. <span class="wk_spaf">$forum_lang[13]</span>
  418. <div class="clear"></div>
  419. <!--[diy=wk_twrt_diy]--><div id="wk_twrt_diy" class="area"><div id="frametesXuT" class=" frame move-span cl frame-1"><div id="frametesXuT_left" class="column frame-1-c"><div id="frametesXuT_left_temp" class="move-span temp"></div><!--{block/27}--></div></div></div><!--[/diy]-->
  420. </div>
  421. </div>
  422. <div class="clear"></div>
  423. <div class="backfff mb10"><!--[diy=wk_bkad_diy2]--><div id="wk_bkad_diy2" class="area"><div id="framesA58eC" class=" frame move-span cl frame-1"><div id="framesA58eC_left" class="column frame-1-c"><div id="framesA58eC_left_temp" class="move-span temp"></div></div></div></div><!--[/diy]--></div>
  424. <div class="clear"></div>
  425. <div class="wk_kd260 padding15 backfff">
  426. <div class="wk_opkf">
  427. <span class="wk_spac">$forum_lang[14]</span>
  428. <div class="clear"></div>
  429. <div class="wk_topyb cl">
  430. <p class="wk_font1">$forum_lang[15]</p>
  431. <p class="wk_font2">$forum_lang[16]</p>
  432. </div>
  433. <ul class="cl">
  434. <li><a href="$forum_lang[18]" target="_blank" title="$forum_lang[17]"><i class="wk_ico1"></i>$forum_lang[17]</a></li>
  435. <li class="last"><a target="_blank" href="$forum_lang[20]" title="$forum_lang[19]"><i class="wk_ico2"></i>$forum_lang[19]</a></li>
  436. <li><a target="_blank" href="$forum_lang[22]" title="$forum_lang[21]"><i class="wk_ico3"></i>$forum_lang[21]</a></li>
  437. <li class="last"><a target="_blank" href="$forum_lang[24]" title="$forum_lang[23]"><i class="wk_ico3"></i>$forum_lang[23]</a></li>
  438. </ul>
  439. </div>
  440. </div>
  441. <div class="clear"></div>
  442. <div class="mb10"><!--[diy=wk_bkad_diy3]--><div id="wk_bkad_diy3" class="area"></div><!--[/diy]--></div>
  443. <div class="clear"></div>
  444. </div>
  445. </div>
  446. <div class="wp mtn">
  447. <!--[diy=diy3]--><div id="diy3" class="area"></div><!--[/diy]-->
  448. </div>
  449. <!--{if $_G['relatedlinks'] || $_GET['highlight']}-->
  450. <script type="text/javascript">
  451. var relatedlink = [];
  452. <!--{loop $_G['relatedlinks'] $key $link}-->
  453. relatedlink[$key] = {'sname':'$link[name]', 'surl':'$link[url]'};
  454. <!--{/loop}-->
  455. {eval $highlights = explode(' ', str_replace(array('\'', chr(125)), array('&#039;', '&#125;'), dhtmlspecialchars($_GET['highlight'])));}
  456. <!--{loop $highlights $word}-->
  457. {eval $key++;}
  458. relatedlink[$key] = {'sname':'$word', 'surl':''};
  459. <!--{/loop}-->
  460. relatedlinks('postmessage_$_G[forum_firstpid]');
  461. </script>
  462. <!--{/if}-->
  463. <!--{if !empty($_G['cookie']['clearUserdata']) && $_G['cookie']['clearUserdata'] == 'forum'}-->
  464. <script type="text/javascript">saveUserdata('forum_'+discuz_uid, '')</script>
  465. <!--{/if}-->
  466. <script type="text/javascript">
  467. <!--{if $_G['forum']['picstyle'] && ($_G['forum']['ismoderator'] || $_G['uid'] == $_G['thread']['authorid'])}-->
  468. function showsetcover(obj) {
  469. if(obj.parentNode.id == 'postmessage_$_G[forum_firstpid]') {
  470. var defheight = $_G['setting']['forumpicstyle']['thumbheight'];
  471. var defwidth = $_G['setting']['forumpicstyle']['thumbwidth'];
  472. var newimgid = 'showcoverimg';
  473. var imgsrc = obj.src ? obj.src : obj.file;
  474. if(!imgsrc) return;
  475. var tempimg=new Image();
  476. tempimg.src=imgsrc;
  477. if(tempimg.complete) {
  478. if(tempimg.width < defwidth || tempimg.height < defheight) return;
  479. } else {
  480. return;
  481. }
  482. if($(newimgid) && obj.id != newimgid) {
  483. $(newimgid).id = 'img'+Math.random();
  484. }
  485. if($(newimgid+'_menu')) {
  486. var menudiv = $(newimgid+'_menu');
  487. } else {
  488. var menudiv = document.createElement('div');
  489. menudiv.className = 'tip tip_4 aimg_tip';
  490. menudiv.id = newimgid+'_menu';
  491. menudiv.style.position = 'absolute';
  492. menudiv.style.display = 'none';
  493. obj.parentNode.appendChild(menudiv);
  494. }
  495. menudiv.innerHTML = '<div class="tip_c xs0"><a onclick="showWindow(\'setcover_'+newimgid+'\', this.href)" href="forum.php?mod=ajax&amp;action=setthreadcover&amp;tid=$_G[tid]&amp;pid=$_G[forum_firstpid]&amp;fid=$_G[fid]&imgurl='+imgsrc+'">{lang set_cover}</a></div>';
  496. obj.id = newimgid;
  497. showMenu({'ctrlid':newimgid,'pos':'12'});
  498. }
  499. return;
  500. }
  501. <!--{/if}-->
  502. function succeedhandle_followmod(url, msg, values) {
  503. var fObj = $('followmod_'+values['fuid']);
  504. if(values['type'] == 'add') {
  505. fObj.innerHTML = '{lang nofollow}';
  506. fObj.href = 'home.php?mod=spacecp&ac=follow&op=del&fuid='+values['fuid'];
  507. } else if(values['type'] == 'del') {
  508. fObj.innerHTML = '{lang follow}';
  509. fObj.href = 'home.php?mod=spacecp&ac=follow&op=add&hash={FORMHASH}&fuid='+values['fuid'];
  510. }
  511. }
  512. <!--{if $_G['blockedpids']}-->
  513. var blockedPIDs = [<!--{echo implode(',', $_G['blockedpids'])}-->];
  514. <!--{/if}-->
  515. <!--{if $postlist && empty($_G['setting']['disfixedavatar'])}-->
  516. fixed_avatar([<!--{echo implode(',', array_keys($postlist))}-->], {if empty($_G['setting']['disfixednv_viewthread']) }1{else}0{/if});
  517. <!--{elseif empty($_G['setting']['disfixednv_viewthread'])}-->
  518. fixed_top_nv();
  519. <!--{/if}-->
  520. </script>
  521. <!--{template common/footer}-->