viewthread_node.php 38 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556
  1. <?php echo 'Theme by Jeaviking http://www.jeavi.name';exit;?>
  2. <!--{eval
  3. $needhiddenreply = ($hiddenreplies && $_G['uid'] != $post['authorid'] && $_G['uid'] != $_G['forum_thread']['authorid'] && !$post['first'] && !$_G['forum']['ismoderator']);
  4. $postshowavatars = !($_G['setting']['bannedmessages'] & 2 && ($post['memberstatus'] == '-1' || ($post['authorid'] && !$post['username']) || ($post['groupid'] == 4 || $post['groupid'] == 5) || ($post['status'] & 1)));
  5. }-->
  6. <!--{block authorverifys}-->
  7. <!--{loop $post['verifyicon'] $vid}-->
  8. <a href="home.php?mod=spacecp&ac=profile&op=verify&vid=$vid" target="_blank"><!--{if $_G['setting']['verify'][$vid]['icon']}--><img src="$_G['setting']['verify'][$vid]['icon']" class="vm" alt="$_G['setting']['verify'][$vid][title]" title="$_G['setting']['verify'][$vid][title]" /><!--{else}-->$_G['setting']['verify'][$vid]['title']<!--{/if}--></a>
  9. <!--{/loop}-->
  10. <!--{loop $post['unverifyicon'] $vid}-->
  11. <a href="home.php?mod=spacecp&ac=profile&op=verify&vid=$vid" target="_blank"><img src="$_G['setting']['verify'][$vid]['unverifyicon']" class="vm" alt="$_G['setting']['verify'][$vid][title]" title="$_G['setting']['verify'][$vid][title]" /></a>
  12. <!--{/loop}-->
  13. <!--{/block}-->
  14. <!--{if $post['first'] && $_G['forum_threadstamp']}-->
  15. <div id="threadstamp"><img src="{STATICURL}image/stamp/$_G[forum_threadstamp][url]" title="$_G[forum_threadstamp][text]" /></div>
  16. <!--{/if}-->
  17. <!--{if empty($post['deleted'])}-->
  18. <table id="pid$post[pid]" class="plhin" summary="pid$post[pid]" cellspacing="0" cellpadding="0">
  19. <tr>
  20. <!--{if !$close_leftinfo}-->
  21. <td class="pls" rowspan="2">
  22. <div id="favatar$post[pid]" class="pls favatar">
  23. $post[newpostanchor] $post[lastpostanchor]
  24. <!--{if $post['authorid'] && $post['username'] && !$post['anonymous']}-->
  25. <!--{if $_G['setting']['authoronleft']}-->
  26. <i class="arr"></i>
  27. <div class="pi">
  28. <div class="authi"><a href="home.php?mod=space&uid=$post['authorid']" target="_blank" class="xw1"{if $post[groupcolor]} style="color: $post[groupcolor]"{/if}>$post[author]</a>$authorverifys</div>
  29. </div>
  30. <!--{/if}-->
  31. <div class="p_pop blk bui card_gender_$post['gender']" id="userinfo$post[pid]" style="display: none; {if $_G['setting']['authoronleft']}margin-top: -11px;{/if}">
  32. <div class="m z">
  33. <div id="userinfo$post[pid]_ma"></div>
  34. <!--{hook/viewthread_profileside $postcount}-->
  35. </div>
  36. <div class="i y">
  37. <div>
  38. <strong><a href="home.php?mod=space&uid=$post[authorid]" target="_blank" class="xi2"{if $post[groupcolor]} style="color: $post[groupcolor]"{/if}>$post[author]</a></strong>
  39. <!--{if $_G['setting']['vtonlinestatus'] && $post['authorid']}-->
  40. <!--{if ($_G['setting']['vtonlinestatus'] == 2 && $_G[forum_onlineauthors][$post[authorid]]) || ($_G['setting']['vtonlinestatus'] == 1 && (TIMESTAMP - $post['lastactivity'] <= 10800) && !$post['authorinvisible'])}-->
  41. <em>{lang online}</em>
  42. <!--{else}-->
  43. <em>{lang offline}</em>
  44. <!--{/if}-->
  45. <!--{/if}-->
  46. </div>
  47. {eval viewthread_profile_node('top', $post);}
  48. <div class="imicn">
  49. <!--{if $post['qq'] && !$post['privacy']['profile']['qq']}--><a href="http://wpa.qq.com/msgrd?V=3&Uin=$post[qq]&Site=$_G['setting']['bbname']&Menu=yes&from=discuz" target="_blank" title="QQ"><img src="{IMGDIR}/qq.gif" alt="QQ" /></a><!--{/if}-->
  50. <!--{if $post['icq'] && !$post['privacy']['profile']['icq']}--><a href="http://wwp.icq.com/scripts/search.dll?to=$post[icq]" target="_blank" title="ICQ"><img src="{IMGDIR}/icq.gif" alt="ICQ" /></a><!--{/if}-->
  51. <!--{if $post['yahoo'] && !$post['privacy']['profile']['yahoo']}--><a href="http://edit.yahoo.com/config/send_webmesg?.target=$post[yahoo]&.src=pg" target="_blank" title="Yahoo"><img src="{IMGDIR}/yahoo.gif" alt="Yahoo!" /></a><!--{/if}-->
  52. <!--{if $post['taobao'] && !$post['privacy']['profile']['taobao']}--><a href="javascript:;" onclick="window.open('http://amos.im.alisoft.com/msg.aw?v=2&uid='+encodeURIComponent('$post[taobaoas]')+'&site=cntaobao&s=2&charset=utf-8')" title="{lang taobao}"><img src="{IMGDIR}/taobao.gif" alt="{lang taobao}" /></a><!--{/if}-->
  53. <!--{if $post['site'] && !$post['privacy']['profile']['site']}--><a href="$post[site]" target="_blank" title="{lang member_homepage}"><img src="{IMGDIR}/forumlink.gif" alt="{lang member_homepage}" /></a><!--{/if}-->
  54. <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>
  55. <!--{hook/viewthread_imicons $postcount}-->
  56. <!--{if $_G['setting']['magicstatus']}-->
  57. <!--{if !empty($_G['setting']['magics']['showip'])}-->
  58. <a href="home.php?mod=magic&mid=showip&idtype=user&id={echo rawurlencode($post[author])}" id="a_showip_li_{$post[pid]}" class="xi2" onclick="showWindow(this.id, this.href)"><img src="{STATICURL}/image/magic/showip.small.gif" alt="" /> $_G['setting']['magics']['showip']</a>
  59. <!--{/if}-->
  60. <!--{if !empty($_G['setting']['magics']['checkonline']) && $post['authorid'] != $_G['uid']}-->
  61. <a href="home.php?mod=magic&mid=checkonline&idtype=user&id={echo rawurlencode($post[author])}" id="a_repent_$post[pid]" class="xi2" onclick="showWindow(this.id, this.href)"><img src="{STATICURL}/image/magic/checkonline.small.gif" alt="" /> $_G['setting']['magics']['checkonline']</a>
  62. <!--{/if}-->
  63. <!--{hook/viewthread_magic_user $postcount}-->
  64. <!--{/if}-->
  65. </div>
  66. <div id="avatarfeed"><span id="threadsortswait"></span></div>
  67. </div>
  68. </div>
  69. <!--{/if}-->
  70. <!--{if $post['authorid'] && $post['username'] && !$post['anonymous']}-->
  71. <div>
  72. <!--{if !$postshowavatars}-->
  73. <div class="avatar">{lang member_avatar_banned}</div>
  74. <!--{elseif $post['avatar'] && $showavatars}-->
  75. <!--{if $post[mobiletype]}-->
  76. <div class="mobile-type mobile-type-$post[mobiletype]">
  77. <a href="misc.php?mod=mobile" tip="{lang post_from_mobile}" onmouseover="showTip(this)"></a>
  78. </div>
  79. <!--{/if}-->
  80. <div class="avatar"{if !($_G['setting']['threadguestlite'] && !$_G['uid'])} onmouseover="showauthor(this, 'userinfo$post[pid]')"{/If}><a href="home.php?mod=space&uid=$post[authorid]" class="avtm" target="_blank">$post[avatar]</a></div>
  81. <!--{/if}-->
  82. <!--{hook/viewthread_avatar $postcount}-->
  83. </div>
  84. <!--{hook/viewthread_sidetop $postcount}-->
  85. <!--{if !($_G['setting']['threadguestlite'] && !$_G['uid'])}-->
  86. {eval viewthread_profile_node('left', $post);}
  87. <!--{if $post[authorid] != $_G[uid]}-->
  88. <ul class="xl xl2 o cl">
  89. <!--{if helper_access::check_module('follow')}-->
  90. <li class="addflw">
  91. <a href="home.php?mod=spacecp&ac=follow&op=add&hash={FORMHASH}&fuid=$post[authorid]" id="followmod_$post[authorid]" title="{lang follow}" class="xi2" onclick="showWindow('followmod', this.href, 'get', 0);">{lang follow}</a>
  92. </li>
  93. <!--{/if}-->
  94. <li class="pm2"><a href="home.php?mod=spacecp&ac=pm&op=showmsg&handlekey=showmsg_$post[authorid]&touid=$post[authorid]&pmid=0&daterange=2&pid=$post[pid]&tid=$post[tid]" onclick="showWindow('sendpm', this.href);" title="{lang viewthread_left_sendpm}" class="xi2">{lang viewthread_left_sendpm}</a></li>
  95. </ul>
  96. <!--{/if}-->
  97. <!--{/if}-->
  98. <!--{hook/viewthread_sidebottom $postcount}-->
  99. <!--{elseif getstatus($post['status'], 5)}-->
  100. <i class="arr"></i>
  101. <!--{if $_G['setting']['authoronleft']}-->
  102. <div class="pi">
  103. <div class="authi"><a href="javascript:;" class="xw1">$post[author]</a></div>
  104. </div>
  105. <!--{/if}-->
  106. <!--{if $showavatars}-->
  107. <div>
  108. <div class="avatar avtm"><a href="javascript:;">$post[avatar]</a></div>
  109. </div>
  110. <!--{/if}-->
  111. <!--{else}-->
  112. <div class="pi">
  113. <!--{if !$post['authorid']}-->
  114. <a href="javascript:;">$_G[setting][anonymoustext] <em>$post[useip]</em></a>
  115. <!--{elseif $post['authorid'] && $post['username'] && $post['anonymous']}-->
  116. <!--{if $_G['forum']['ismoderator']}--><a href="home.php?mod=space&uid=$post[authorid]" target="_blank">$_G[setting][anonymoustext]</a><!--{else}-->$_G[setting][anonymoustext]<!--{/if}-->
  117. <!--{else}-->
  118. $post[author] <em>{lang member_deleted}</em>
  119. <!--{/if}-->
  120. </div>
  121. <!--{/if}-->
  122. <!--{if ($_G['group']['allowedituser'] || $_G['group']['allowbanuser'] || ($_G['forum']['ismoderator'] && $_G['group']['allowviewip'])) && !getstatus($post['status'], 5)}-->
  123. <p class="cp_pls cl">
  124. <!--{if $_G['forum']['ismoderator'] && $_G['group']['allowviewip']}-->
  125. <a href="forum.php?mod=topicadmin&action=getip&fid=$_G[fid]&tid=$_G[tid]&pid=$post[pid]{if $_G['forum_auditstatuson']}&modthreadkey=$_GET[modthreadkey]{/if}" onclick="ajaxmenu(this, 0, 0, 2);doane(event)">IP</a>
  126. <!--{/if}-->
  127. <!--{if $_G['group']['allowedituser']}-->
  128. <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>
  129. <!--{/if}-->
  130. <!--{if $_G['group']['allowbanuser']}-->
  131. <!--{if $_G['adminid'] == 1}-->
  132. <a href="admin.php?action=members&operation=ban&username=$post[usernameenc]&frames=yes" target="_blank">{lang ban_member}</a>
  133. <!--{else}-->
  134. <a href="forum.php?mod=modcp&action=member&op=ban&uid=$post[authorid]" target="_blank">{lang ban_member}</a>
  135. <!--{/if}-->
  136. <!--{/if}-->
  137. <a href="forum.php?mod=modcp&action=thread&op=post&do=search&searchsubmit=1&users=$post[usernameenc]" target="_blank">{lang posts}</a>
  138. <!--{if $_G['adminid'] == 1}-->
  139. <a href="forum.php?mod=ajax&action=quickclear&uid=$post[authorid]" onclick="showWindow('qclear_$post[authorid]', this.href, 'get', 0)">{lang clear}</a>
  140. <!--{/if}-->
  141. </p>
  142. <!--{/if}-->
  143. </div>
  144. </td>
  145. <!--{/if}-->
  146. <td class="plc"<!--{if $close_leftinfo}--> style="width:100%"<!--{/if}-->>
  147. <i class="arr"></i>
  148. <div class="pi"<!--{if $close_leftinfo && !$post['anonymous'] && $postshowavatars && $showavatars}--> style="height:48px"<!--{/if}-->>
  149. <!--{if !IS_ROBOT}-->
  150. <!--{if !$postcount && !$_G['forum_thread']['archiveid'] && $post['first'] }-->
  151. <div id="fj" class="y">
  152. <label class="z">{lang thread_redirect_postno}</label>
  153. <input type="text" class="px p_fre z" size="2" onkeyup="$('fj_btn').href='forum.php?mod=redirect&ptid=$_G[tid]&authorid=$_GET[authorid]&postno='+this.value" onkeydown="if(event.keyCode==13) {window.location=$('fj_btn').href;return false;}" title="{lang thread_redirect_postno_tips}" />
  154. <a href="javascript:;" id="fj_btn" class="z" title="{lang thread_redirect_postno_tips}"><img src="{IMGDIR}/fj_btn.png" alt="{lang thread_redirect_postno_tips}" class="vm" /></a>
  155. </div>
  156. <!--{/if}-->
  157. <!--{if $post['warned']}-->
  158. <a href="forum.php?mod=misc&action=viewwarning&tid=$_G[tid]&uid=$post[authorid]" title="{lang warn_get}" class="y" onclick="showWindow('viewwarning', this.href)"><img src="{IMGDIR}/warning.gif" alt="{lang warn_get}" /></a>
  159. <!--{/if}-->
  160. <strong>
  161. <a href="{if $post[first]}forum.php?mod=viewthread&tid=$_G[tid]$fromuid{else}forum.php?mod=redirect&goto=findpost&ptid=$_G[tid]&pid=$post[pid]$fromuid{/if}" {if $fromuid}title="{lang share_url_copy_comment}"{/if} id="postnum$post[pid]" onclick="setCopy(this.href, '{lang post_copied}');return false;">
  162. <!--{if isset($post[isstick])}-->
  163. <img src ="{IMGDIR}/settop.png" title="{lang replystick}" class="vm" /> {lang from} {$post[number]}{$postnostick}
  164. <!--{elseif $post[number] == -1}-->
  165. {lang recommend}
  166. <!--{else}-->
  167. <!--{if !empty($postno[$post[number]])}-->
  168. $postno[$post[number]]
  169. <!--{else}-->
  170. <em>{$post[number]}</em>{$postno[0]}
  171. <!--{/if}-->
  172. <!--{/if}-->
  173. </a>
  174. </strong>
  175. <!--{/if}-->
  176. <div class="pti">
  177. <div class="pdbt">
  178. <!--{if !$post['first'] && $post['rewardfloor']}-->
  179. <label class="pdbts pdbts_1">
  180. <a href="forum.php?mod=viewthread&tid=$post[tid]&checkrush=1" rel="nofollow" title="{lang rushreply_hit_title}" class="v">{lang prosit}</a>
  181. <a href="forum.php?mod=viewthread&tid=$post[tid]&checkrush=1" rel="nofollow" title="{lang rushreply_hit_title}" class="b">{lang rushreply_hit}</a>
  182. </label>
  183. <!--{/if}-->
  184. <!--{if !$post[first] && $_G['forum_thread']['special'] == 5}-->
  185. <label class="pdbts pdbts_{echo intval($post[stand])}">
  186. <!--{if $post[stand] == 1}--><a class="v" href="forum.php?mod=viewthread&tid=$_G[tid]&extra=$_GET[extra]&filter=debate&stand=1" title="{lang debate_view_square}">{lang debate_square}</a>
  187. <!--{elseif $post[stand] == 2}--><a class="v" href="forum.php?mod=viewthread&tid=$_G[tid]&extra=$_GET[extra]&filter=debate&stand=2" title="{lang debate_view_opponent}">{lang debate_opponent}</a>
  188. <!--{else}--><a href="forum.php?mod=viewthread&tid=$_G[tid]&extra=$_GET[extra]&filter=debate&stand=0" title="{lang debate_view_neutral}">{lang debate_neutral}</a><!--{/if}-->
  189. <!--{if $post[stand]}-->
  190. <a class="b" href="forum.php?mod=misc&action=debatevote&tid=$_G[tid]&pid=$post[pid]" id="voterdebate_$post[pid]" onclick="ajaxmenu(this);doane(event);">{lang debate_support} $post[voters]</a>
  191. <!--{/if}-->
  192. </label>
  193. <!--{/if}-->
  194. </div>
  195. <div class="authi">
  196. <!--{if $close_leftinfo && !$post['anonymous'] && $postshowavatars && $showavatars}-->
  197. <a href="home.php?mod=space&uid=$post[authorid]" target="_blank" class="xi2 z" style="padding-right:10px;">{echo avatar($post['authorid'], 'small')}</a>
  198. <!--{/if}-->
  199. <!--{eval $_self = $thread['author'] && $post['author'] == $thread['author'] && $post['position'] !== '1';}-->
  200. <!--{if $_self }-->
  201. <img class="authicn vm" id="authicon$post[pid]" src="{IMGDIR}/ico_lz.png" />
  202. <!--{else}-->
  203. <!--{if !$post['anonymous'] && $_G['cache']['groupicon'][$post['groupid']]}-->
  204. <img class="authicn vm" id="authicon$post[pid]" src="$_G['cache']['groupicon'][$post['groupid']]" />
  205. <!--{else}-->
  206. <img class="authicn vm" id="authicon$post[pid]" src="$_G['cache']['groupicon'][0]" />
  207. <!--{/if}-->
  208. <!--{/if}-->
  209. <!--{if $post['authorid'] && !$post['anonymous']}-->
  210. <!--{if $_self}-->
  211. &nbsp;{lang thread_author}<span class="pipe">|</span>
  212. <!--{/if}-->
  213. <!--{if !$_G['setting']['authoronleft']}--><a href="home.php?mod=space&uid=$post[authorid]" target="_blank" class="xi2">$post[author]</a>$authorverifys<!--{/if}-->
  214. <!--{if $close_leftinfo}--><!--{/if}-->
  215. <em id="authorposton$post[pid]">{lang poston} $post[dateline]</em>
  216. <!--{if $post['status'] & 8}-->
  217. <span class="xg1"><!--{if $_G['setting']['mobile']['mobilecomefrom']}-->{$_G['setting']['mobile']['mobilecomefrom']}<!--{else}-->{lang from_mobile}<!--{/if}--></span>
  218. <!--{/if}-->
  219. <!--{if $post['invisible'] == 0}-->
  220. <span class="pipe">|</span>
  221. <!--{if !IS_ROBOT && !$_GET['authorid'] && !$_G['forum_thread']['archiveid']}-->
  222. <a href="forum.php?mod=viewthread&tid=$post[tid]&page=$page&authorid=$post[authorid]" rel="nofollow">{lang thread_show_author}</a>
  223. <!--{elseif !$_G['forum_thread']['archiveid']}-->
  224. <a href="forum.php?mod=viewthread&tid=$post[tid]&page=$page" rel="nofollow">{lang thread_show_all}</a>
  225. <!--{/if}-->
  226. <!--{/if}-->
  227. <!--{elseif getstatus($post['status'], 5)}-->
  228. <!--{if !$_G['setting']['authoronleft']}--><a href="javascript:;" class="xi2">$post[author]</a><!--{/if}-->
  229. &nbsp;<em id="authorposton$post[pid]">{lang poston} $post[dateline]</em>
  230. <!--{elseif $post['authorid'] && $post['username'] && $post['anonymous'] || !$post['authorid'] && !$post['username']}-->
  231. $_G[setting][anonymoustext]&nbsp;
  232. <em id="authorposton$post[pid]">{lang poston} $post[dateline]</em>
  233. <!--{/if}-->
  234. <!--{if !IS_ROBOT && !$_G['forum_thread']['archiveid'] && $post['first'] }-->
  235. <!--{if $_G['forum_thread']['attachment'] == 2 && $_G['group']['allowgetimage'] && (!$_G['setting']['guestviewthumb']['flag'] || $_G['setting']['guestviewthumb']['flag'] && $_G['uid'])}-->
  236. <span class="pipe">|</span><a href="forum.php?mod=viewthread&tid=$_G[tid]&from=album">{lang view_bigpic}</a>
  237. <!--{/if}-->
  238. <span class="none"><img src="{IMGDIR}/arw_r.gif" class="vm" alt="{lang replycredit}" /></span>
  239. <!--{if !$rushreply}-->
  240. <!--{if $ordertype != 1}-->
  241. <span class="pipe show">|</span><a href="forum.php?mod=viewthread&tid=$_G[tid]&extra=$_GET[extra]&ordertype=1" class="show">{lang post_descview}</a>
  242. <!--{else}-->
  243. <span class="pipe show">|</span><a href="forum.php?mod=viewthread&tid=$_G[tid]&extra=$_GET[extra]&ordertype=2" class="show">{lang post_ascview}</a>
  244. <!--{/if}-->
  245. <!--{/if}-->
  246. <!--{/if}-->
  247. <!--{if $post['first']}-->
  248. <span class="pipe show">|</span><a href="javascript:;" onclick="readmode($('thread_subject').innerHTML, $post[pid]);" class="show">{lang read_mode}</a>
  249. <!--{/if}-->
  250. <!--{hook/viewthread_postheader $postcount}-->
  251. </div>
  252. </div>
  253. </div>
  254. <!--{ad ad_a_pr/thread/a_pr/3/$postcount}-->
  255. <div class="pct">
  256. <!--{ad/thread/a_pt/2/$postcount}-->
  257. <!--{if !$_G['inajax']}-->
  258. <!--{if empty($ad_a_pr_css)}-->
  259. <style type="text/css">.pcb{margin-right:0}</style>
  260. <!--{eval $ad_a_pr_css=1;}-->
  261. <!--{/if}-->
  262. <!--{/if}-->
  263. <!--{if !$post['first'] && $post['replycredit'] > 0}-->
  264. <div class="cm">
  265. <h3 class="psth xs1"><span class="icon_ring vm"></span>
  266. {lang replycredit} <span class="xw1 xs2 xi1">+{$post['replycredit']}</span> {$_G['setting']['extcredits'][$_G['forum_thread']['replycredit_rule']['extcreditstype']][unit]}{$_G['setting']['extcredits'][$_G['forum_thread']['replycredit_rule']['extcreditstype']][title]}
  267. </h3>
  268. </div>
  269. <!--{/if}-->
  270. <!--{subtemplate forum/viewthread_node_body}-->
  271. </div>
  272. <!--{if helper_access::check_module('collection') && !$_G['forum']['disablecollect']}-->
  273. <!--{if $post['relatecollection']}-->
  274. <div class="cm">
  275. <h3 class="psth xs1"><span class="icon_ring vm"></span>{lang collection_related}</h3>
  276. <ul class="mbw xl xl2 cl">
  277. <!--{loop $post['relatecollection'] $var}-->
  278. <li>&middot; <a href="forum.php?mod=collection&action=view&ctid=$var[ctid]" title="$var[name]" target="_blank" class="xi2 xw1">$var[name]</a><span class="pipe">|</span><span class="xg1">{lang collection_threadnum}: $var[threadnum], {lang collection_follow}: $var[follownum]</span></li>
  279. <!--{/loop}-->
  280. <!--{if $post['releatcollectionmore']}-->
  281. <li>&middot; <a href="forum.php?mod=collection&tid=$_G[tid]" target="_blank" class="xi2 xw1">{lang more}</a></li>
  282. <!--{/if}-->
  283. </ul>
  284. </div>
  285. <!--{if $post['sourcecollection']['ctid']}-->
  286. <div>
  287. {lang collection_fromctid}
  288. <form action="forum.php?mod=collection&action=comment&ctid={$ctid}&tid={$_G[tid]}" method="POST" class="ptm pbm cl">
  289. <input type="hidden" name="ratescore" id="ratescore" />
  290. <span class="clct_ratestar">
  291. <span class="btn">
  292. <a href="javascript:;" onmouseover="rateStarHover('clct_ratestar_star',1)" onmouseout="rateStarHover('clct_ratestar_star',0)" onclick="rateStarSet('clct_ratestar_star',1,'ratescore')">1</a>
  293. <a href="javascript:;" onmouseover="rateStarHover('clct_ratestar_star',2)" onmouseout="rateStarHover('clct_ratestar_star',0)" onclick="rateStarSet('clct_ratestar_star',2,'ratescore')">2</a>
  294. <a href="javascript:;" onmouseover="rateStarHover('clct_ratestar_star',3)" onmouseout="rateStarHover('clct_ratestar_star',0)" onclick="rateStarSet('clct_ratestar_star',3,'ratescore')">3</a>
  295. <a href="javascript:;" onmouseover="rateStarHover('clct_ratestar_star',4)" onmouseout="rateStarHover('clct_ratestar_star',0)" onclick="rateStarSet('clct_ratestar_star',4,'ratescore')">4</a>
  296. <a href="javascript:;" onmouseover="rateStarHover('clct_ratestar_star',5)" onmouseout="rateStarHover('clct_ratestar_star',0)" onclick="rateStarSet('clct_ratestar_star',5,'ratescore')">5</a>
  297. </span>
  298. <span id="clct_ratestar_star" class="star star$memberrate"></span>
  299. </span>
  300. &nbsp;<button type="submit" value="submit" class="pn"><span>{lang collection_rate}</span></button>
  301. </form>
  302. </div>
  303. <!--{/if}-->
  304. <!--{/if}-->
  305. <!--{/if}-->
  306. </td></tr>
  307. <tr><td class="plc plm">
  308. <!--{if $locations[$post[pid]]}-->
  309. <div class="mobile-location">$locations[$post[pid]][location]</div>
  310. <!--{/if}-->
  311. <!--{if !IS_ROBOT && $post['first'] && !$_G['forum_thread']['archiveid']}-->
  312. <!--{if $post['invisible'] == 0}-->
  313. <div id="p_btn" class="mtw mbm hm cl">
  314. <!--{if !empty($_G['setting']['pluginhooks']['viewthread_share_method'])}-->
  315. <div class="tshare cl">
  316. <b>{lang viewthread_share_to}:&nbsp;</b>
  317. <!--{hook/viewthread_share_method}-->
  318. </div>
  319. <!--{/if}-->
  320. <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}'" title="{lang fav_thread}"><i><img src="{IMGDIR}/fav.gif" alt="{lang thread_favorite}" />{lang thread_favorite}<span id="favoritenumber"{if !$_G['forum_thread']['favtimes']} style="display:none"{/if}>{$_G['forum_thread']['favtimes']}</span></i></a>
  321. <!--{if $_G['group']['raterange'] && $post['authorid']}-->
  322. <a href="javascript:;" id="ak_rate" onclick="showWindow('rate', 'forum.php?mod=misc&action=rate&tid=$_G[tid]&pid=$post[pid]', 'get', -1);return false;" title="{lang rate_position}"><i><img src="{IMGDIR}/agree.gif" alt="{lang rate}" />{lang rate}</i></a>
  323. <!--{/if}-->
  324. <!--{if !$post['anonymous'] && $post['first'] && helper_access::check_module('follow')}-->
  325. <a class="followp" href="home.php?mod=spacecp&ac=follow&op=relay&tid=$_G[tid]&from=forum" onclick="showWindow('relaythread', this.href, 'get', 0);" title="{lang follow_spread}"><i><img src="{IMGDIR}/rt.png" alt="{lang thread_realy}" />{lang thread_realy}<!--{if $_G['forum_thread']['relay']}--><span id="relaynumber" style="display:none">{$_G['forum_thread']['relay']}</span><!--{/if}--></i></a>
  326. <!--{/if}-->
  327. <!--{if $post['first'] && helper_access::check_module('share')}-->
  328. <a class="sharep" href="home.php?mod=spacecp&ac=share&type=thread&id=$_G[tid]" onclick="showWindow('sharethread', this.href, 'get', 0);" title="{lang share_digest}"><i><img src="{IMGDIR}/oshr.png" alt="{lang thread_share}" />{lang thread_share}<!--{if $_G['forum_thread']['sharetimes']}--><span id="sharenumber">{$_G['forum_thread']['sharetimes']}</span><!--{/if}--></i></a>
  329. <!--{/if}-->
  330. <!--{if !$_G['forum']['disablecollect'] && helper_access::check_module('collection')}-->
  331. <a href="forum.php?mod=collection&action=edit&op=addthread&tid=$_G[tid]" id="k_collect" onclick="showWindow(this.id, this.href);return false;" onmouseover="this.title = $('collectionnumber').innerHTML + ' {lang activity_member_unit}{lang collection}'" title="{lang thread_collect}"><i><img src="{IMGDIR}/collection.png" alt="{lang thread_share}" />{lang collection}<span id="collectionnumber"{if !$post['releatcollectionnum']} style="display:none"{/if}>{$post['releatcollectionnum']}</span></i></a>
  332. <!--{/if}-->
  333. <!--{if ($_G['group']['allowrecommend'] || !$_G['uid']) && $_G['setting']['recommendthread']['status']}-->
  334. <!--{if !empty($_G['setting']['recommendthread']['addtext'])}-->
  335. <a id="recommend_add" href="forum.php?mod=misc&action=recommend&do=add&tid=$_G[tid]&hash={FORMHASH}" {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]'" title="{lang maketoponce}"><i><img src="{IMGDIR}/rec_add.gif" alt="$_G['setting']['recommendthread'][addtext]" />$_G['setting']['recommendthread'][addtext]<span id="recommendv_add"{if !$_G['forum_thread']['recommend_add']} style="display:none"{/if}>$_G[forum_thread][recommend_add]</span></i></a>
  336. <!--{/if}-->
  337. <!--{if !empty($_G['setting']['recommendthread']['subtracttext'])}-->
  338. <a id="recommend_subtract" href="forum.php?mod=misc&action=recommend&do=subtract&tid=$_G[tid]&hash={FORMHASH}" {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]'" title="{lang makebottomonce}"><i><img src="{IMGDIR}/rec_subtract.gif" alt="$_G['setting']['recommendthread'][subtracttext]" />$_G['setting']['recommendthread'][subtracttext]<span id="recommendv_subtract"{if !$_G['forum_thread']['recommend_sub']} style="display:none"{/if}>$_G[forum_thread][recommend_sub]</span></i></a>
  339. <!--{/if}-->
  340. <!--{/if}-->
  341. <!--{hook/viewthread_useraction}-->
  342. </div>
  343. <!--{/if}-->
  344. <!--{/if}-->
  345. <!--{if $post['relateitem']}-->
  346. <div class="mtw mbw">
  347. <h3 class="pbm mbm bbda">{lang related_thread}</h3>
  348. <ul class="xl xl2 cl">
  349. <!--{loop $post['relateitem'] $var}-->
  350. <li>&#8226; <a href="forum.php?mod=viewthread&tid=$var[tid]" title="$var[subject]" target="_blank">$var[subject]</a></li>
  351. <!--{/loop}-->
  352. </ul>
  353. </div>
  354. <!--{/if}-->
  355. <!--{if $post['signature'] && ($_G['setting']['bannedmessages'] & 4 && ($post['memberstatus'] == '-1' || ($post['authorid'] && !$post['username']) || ($post['groupid'] == 4 || $post['groupid'] == 5) || ($post['status'] & 1)))}-->
  356. <div class="sign">{lang member_signature_banned}</div>
  357. <!--{elseif $post['signature'] && !$post['anonymous'] && $showsignatures}-->
  358. <div class="sign" style="max-height:{$_G['setting']['maxsigrows']}px;maxHeightIE:{$_G['setting']['maxsigrows']}px;">$post[signature]</div>
  359. <!--{elseif !$post['anonymous'] && $showsignatures && $_G['setting']['globalsightml']}-->
  360. <div class="sign">$_G['setting']['globalsightml']</div>
  361. <!--{/if}-->
  362. <!--{hook/viewthread_postsightmlafter $postcount}-->
  363. <!--{ad/thread/a_pb/1/$postcount}-->
  364. </td>
  365. </tr>
  366. <tr id="_postposition$post['pid']"></tr>
  367. <!--{if !$_G['forum_thread']['archiveid']}-->
  368. <tr>
  369. <!--{if !$close_leftinfo}-->
  370. <td class="pls"></td>
  371. <!--{/if}-->
  372. <td class="plc" style="overflow:visible;{if $close_leftinfo}--> width:100%{/if}">
  373. <div class="po hin">
  374. <!--{if !$post['first'] && $modmenu['post']}-->
  375. <span class="y">
  376. <label for="manage$post[pid]">
  377. <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" />
  378. {lang manage}
  379. </label>
  380. </span>
  381. <!--{/if}-->
  382. <div class="pob cl">
  383. <em>
  384. <!--{if $post['invisible'] == 0}-->
  385. <!--{if $allowpostreply && $post['allowcomment'] && (!$thread['closed'] || $_G['forum']['ismoderator'])}--><a class="cmmnt" href="forum.php?mod=misc&action=comment&tid=$post[tid]&pid=$post[pid]&extra=$_GET[extra]&page=$page{if $_G['forum_thread']['special'] == 127}&special=$specialextra{/if}" onclick="showWindow('comment', this.href, 'get', 0)">{lang comments}</a><!--{/if}-->
  386. <!--{if (!$_G['uid'] || $allowpostreply) && !$needhiddenreply}-->
  387. <!--{if $post['first']}-->
  388. <a class="fastre" href="forum.php?mod=post&action=reply&fid=$_G[fid]&tid=$_G[tid]&reppost=$post[pid]&extra=$_GET[extra]&page=$page" onclick="showWindow('reply', this.href)">{lang reply}</a>
  389. <!--{else}-->
  390. <a class="fastre" href="forum.php?mod=post&action=reply&fid=$_G[fid]&tid=$_G[tid]&repquote=$post[pid]&extra=$_GET[extra]&page=$page" onclick="showWindow('reply', this.href)">{lang reply}</a>
  391. <!--{/if}-->
  392. <!--{/if}-->
  393. <!--{/if}-->
  394. <!--{if (($_G['forum']['ismoderator'] && $_G['group']['alloweditpost'] && (!in_array($post['adminid'], array(1, 2, 3)) || $_G['adminid'] <= $post['adminid'])) || ($_G['forum']['alloweditpost'] && $_G['uid'] && ($post['authorid'] == $_G['uid'] && $_G['forum_thread']['closed'] == 0) && !(!$alloweditpost_status && $edittimelimit && TIMESTAMP - $post['dbdateline'] > $edittimelimit)))}-->
  395. <a class="editp" href="forum.php?mod=post&action=edit&fid=$_G[fid]&tid=$_G[tid]&pid=$post[pid]{if !empty($_GET[modthreadkey])}&modthreadkey=$_GET[modthreadkey]{/if}&page=$page"><!--{if $_G['forum_thread']['special'] == 2 && !$post['message']}-->{lang post_add_aboutcounter}<!--{else}-->{lang edit}</a><!--{/if}-->
  396. <!--{elseif $_G['uid'] && $post['authorid'] == $_G['uid'] && $_G['setting']['postappend']}-->
  397. <a class="appendp" href="forum.php?mod=misc&action=postappend&tid=$post[tid]&pid=$post[pid]&extra=$_GET[extra]&page=$page" onClick="showWindow('postappend', this.href, 'get', 0)">{lang postappend}</a>
  398. <!--{/if}-->
  399. <!--{if $post['first'] && $post['invisible'] == -3}-->
  400. <!--<a class="psave" href="forum.php?mod=misc&action=pubsave&tid=$_G[tid]">{lang published}</a>-->
  401. <!--{/if}-->
  402. <!--{if $post['invisible'] == -2 && !$post['first']}-->
  403. <span class="xg1">({lang moderate_need})</span>
  404. <!--{/if}-->
  405. <!--{if $post['first'] && $allowblockrecommend}--><a class="push" href="javascript:;" onclick="modaction('recommend', '$_G[forum_firstpid]', 'op=recommend&idtype={if $_G[forum_thread][isgroup]}gtid{else}tid{/if}&id=$_G[tid]&pid=$post[pid]', 'portal.php?mod=portalcp&ac=portalblock')">{lang modmenu_blockrecommend}</a><!--{/if}-->
  406. <!--{if !$_G['forum_thread']['special'] && !$rushreply && !$hiddenreplies && $_G['setting']['repliesrank'] && !$post['first'] && !($post['isWater'] && $_G['setting']['filterednovote'])}-->
  407. <a class="replyadd" href="forum.php?mod=misc&action=postreview&do=support&tid=$_G[tid]&pid=$post[pid]&hash={FORMHASH}" {if $_G['uid']}onclick="ajaxmenu(this, 3000, 1, 0, '43', '');return false;"{else} onclick="showWindow('login', this.href)"{/if} onmouseover="this.title = ($('review_support_$post[pid]').innerHTML ? $('review_support_$post[pid]').innerHTML : 0) + ' {lang activity_member_unit} {lang support_reply}'">{lang support_reply} <span id="review_support_$post[pid]">$post[postreview][support]</span></a>
  408. <a class="replysubtract" href="forum.php?mod=misc&action=postreview&do=against&tid=$_G[tid]&pid=$post[pid]&hash={FORMHASH}" {if $_G['uid']}onclick="ajaxmenu(this, 3000, 1, 0, '43', '');return false;"{else} onclick="showWindow('login', this.href)"{/if} onmouseover="this.title = ($('review_against_$post[pid]').innerHTML ? $('review_against_$post[pid]').innerHTML : 0) + ' {lang activity_member_unit} {lang against_reply}'">{lang against_reply} <span id="review_against_$post[pid]">$post[postreview][against]</span></a>
  409. <!--{/if}-->
  410. <!--{hook/viewthread_postfooter $postcount}-->
  411. </em>
  412. <p>
  413. <!--{if $post['invisible'] == 0}-->
  414. <!--{if $_G['setting']['magicstatus']}-->
  415. <a href="javascript:;" id="mgc_post_$post[pid]" onmouseover="showMenu(this.id)" class="showmenu">{lang thread_magic}</a>
  416. <!--{/if}-->
  417. <!--{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}-->
  418. <a href="javascript:;" onclick="setanswer($post['pid'], '$_GET[from]')">{lang reward_set_bestanswer}</a>
  419. <!--{/if}-->
  420. <!--{if !$post['first'] && $_G['group']['raterange'] && $post['authorid']}-->
  421. <a href="javascript:;" onclick="showWindow('rate', 'forum.php?mod=misc&action=rate&tid=$_G[tid]&pid=$post[pid]', 'get', -1);return false;">{lang rate}</a>
  422. <!--{/if}-->
  423. <!--{if !empty($postlist[$post[pid]]['totalrate']) && $_G['forum']['ismoderator']}-->
  424. <a href="forum.php?mod=misc&action=removerate&tid=$_G[tid]&pid=$post[pid]&page=$page" onclick="showWindow('rate', this.href, 'get', -1)">{lang removerate}</a>
  425. <!--{/if}-->
  426. <!--{if $post['authorid'] != $_G['uid']}-->
  427. <a href="javascript:;" onclick="showWindow('miscreport$post[pid]', 'misc.php?mod=report&rtype=post&rid=$post[pid]&tid=$_G[tid]&fid=$_G[fid]', 'get', -1);return false;">{lang report}</a>
  428. <!--{/if}-->
  429. <!--{/if}-->
  430. <!--{hook/viewthread_postaction $postcount}-->
  431. </p>
  432. <!--{if $_G['setting']['magicstatus']}-->
  433. <ul id="mgc_post_$post[pid]_menu" class="p_pop mgcmn" style="display: none;">
  434. <!--{if $post['first']}-->
  435. <!--{if !empty($_G['setting']['magics']['bump'])}-->
  436. <li><a href="home.php?mod=magic&mid=bump&idtype=tid&id=$_G[tid]" id="a_bump" onclick="showWindow(this.id, this.href)"><img src="{STATICURL}image/magic/bump.small.gif" />$_G['setting']['magics']['bump']</a></li>
  437. <!--{/if}-->
  438. <!--{if !empty($_G['setting']['magics']['stick'])}-->
  439. <li><a href="home.php?mod=magic&mid=stick&idtype=tid&id=$_G[tid]" id="a_stick" onclick="showWindow(this.id, this.href)"><img src="{STATICURL}image/magic/stick.small.gif" />$_G['setting']['magics']['stick']</a></li>
  440. <!--{/if}-->
  441. <!--{if !empty($_G['setting']['magics']['close'])}-->
  442. <li><a href="home.php?mod=magic&mid=close&idtype=tid&id=$_G[tid]" id="a_stick" onclick="showWindow(this.id, this.href)"><img src="{STATICURL}image/magic/close.small.gif" />$_G['setting']['magics']['close']</a></li>
  443. <!--{/if}-->
  444. <!--{if !empty($_G['setting']['magics']['open'])}-->
  445. <li><a href="home.php?mod=magic&mid=open&idtype=tid&id=$_G[tid]" id="a_stick" onclick="showWindow(this.id, this.href)"><img src="{STATICURL}image/magic/open.small.gif" />$_G['setting']['magics']['open']</a></li>
  446. <!--{/if}-->
  447. <!--{if !empty($_G['setting']['magics']['highlight'])}-->
  448. <li><a href="home.php?mod=magic&mid=highlight&idtype=tid&id=$_G[tid]" id="a_stick" onclick="showWindow(this.id, this.href)"><img src="{STATICURL}image/magic/highlight.small.gif" />$_G['setting']['magics']['highlight']</a></li>
  449. <!--{/if}-->
  450. <!--{if !empty($_G['setting']['magics']['sofa'])}-->
  451. <li><a href="home.php?mod=magic&mid=sofa&idtype=tid&id=$_G[tid]" id="a_stick" onclick="showWindow(this.id, this.href)"><img src="{STATICURL}image/magic/sofa.small.gif" />$_G['setting']['magics']['sofa']</a></li>
  452. <!--{/if}-->
  453. <!--{if !empty($_G['setting']['magics']['jack'])}-->
  454. <li><a href="home.php?mod=magic&mid=jack&idtype=tid&id=$_G[tid]" id="a_jack" onclick="showWindow(this.id, this.href)"><img src="{STATICURL}image/magic/jack.small.gif" />$_G['setting']['magics']['jack']</a></li>
  455. <!--{/if}-->
  456. <!--{hook/viewthread_magic_thread}-->
  457. <!--{/if}-->
  458. <!--{if !empty($_G['setting']['magics']['repent']) && $post['authorid'] == $_G['uid'] && !$rushreply}-->
  459. <li><a href="home.php?mod=magic&mid=repent&idtype=pid&id=$post[pid]:$_G[tid]" id="a_repent_$post[pid]" onclick="showWindow(this.id, this.href)"><img src="{STATICURL}image/magic/repent.small.gif" />$_G['setting']['magics']['repent']</a></li>
  460. <!--{/if}-->
  461. <!--{if !empty($_G['setting']['magics']['anonymouspost']) && $post['authorid'] == $_G['uid']}-->
  462. <li><a href="home.php?mod=magic&mid=anonymouspost&idtype=pid&id=$post[pid]:$_G[tid]" id="a_anonymouspost_$post[pid]" onclick="showWindow(this.id, this.href)"><img src="{STATICURL}image/magic/anonymouspost.small.gif" />$_G['setting']['magics']['anonymouspost']</a><li>
  463. <!--{/if}-->
  464. <!--{if !empty($_G['setting']['magics']['namepost'])}-->
  465. <li><a href="home.php?mod=magic&mid=namepost&idtype=pid&id=$post[pid]:$_G[tid]" id="a_namepost_$post[pid]" onclick="showWindow(this.id, this.href)"><img src="{STATICURL}image/magic/namepost.small.gif" />$_G['setting']['magics']['namepost']</a><li>
  466. <!--{/if}-->
  467. <!--{hook/viewthread_magic_post $postcount}-->
  468. </ul>
  469. <script type="text/javascript" reload="1">checkmgcmn('post_$post[pid]')</script>
  470. <!--{/if}-->
  471. </div>
  472. </div>
  473. </td>
  474. </tr>
  475. <!--{/if}-->
  476. <tr class="ad">
  477. <td class="pls">
  478. <!--{if !$close_leftinfo}-->
  479. </td>
  480. <td class="plc">
  481. <!--{/if}-->
  482. <!--{if $post['first'] && $_G[forum_thread][special] == 5 && $_G[forum_thread][displayorder] >= 0}-->
  483. <ul class="ttp cl">
  484. <li style="display:inline;margin-left:12px"><strong class="bw0 bg0_all">{lang debate_filter}: </strong></li>
  485. <li{if !isset($_GET['stand'])} class="xw1 a"{/if}><a href="forum.php?mod=viewthread&tid=$_G[tid]&extra=$_GET[extra]" hidefocus="true">{lang all}</a></li>
  486. <li{if $_GET['stand'] == 1} class="xw1 a"{/if}><a href="forum.php?mod=viewthread&tid=$_G[tid]&extra=$_GET[extra]&stand=1" hidefocus="true">{lang debate_square}</a></li>
  487. <li{if $_GET['stand'] == 2} class="xw1 a"{/if}><a href="forum.php?mod=viewthread&tid=$_G[tid]&extra=$_GET[extra]&stand=2" hidefocus="true">{lang debate_opponent}</a></li>
  488. <li{if isset($_GET['stand']) && $_GET['stand'] == 0} class="xw1 a"{/if}><a href="forum.php?mod=viewthread&tid=$_G[tid]&extra=$_GET[extra]&stand=0" hidefocus="true">{lang debate_neutral}</a></li>
  489. </ul>
  490. <!--{/if}-->
  491. <!--{if $_G['forum_thread']['replies']}--><!--{ad/interthread/a_p/$postcount}--><!--{/if}-->
  492. </td>
  493. </tr>
  494. </table>
  495. <!--{if !empty($aimgs[$post[pid]])}-->
  496. <script type="text/javascript" reload="1">
  497. aimgcount[{$post[pid]}] = [<!--{echo dimplode($aimgs[$post[pid]]);}-->];
  498. attachimggroup($post['pid']);
  499. <!--{if empty($_G['setting']['lazyload'])}-->
  500. <!--{if !$post['imagelistthumb']}-->
  501. attachimgshow($post[pid]);
  502. <!--{else}-->
  503. attachimgshow($post[pid], 1);
  504. <!--{/if}-->
  505. <!--{/if}-->
  506. var aimgfid = 0;
  507. <!--{if $_G['forum']['picstyle'] && ($_G['forum']['ismoderator'] || $_G['uid'] == $_G['thread']['authorid'])}-->
  508. aimgfid = $_G[fid];
  509. <!--{/if}-->
  510. <!--{if $post['imagelistthumb']}-->
  511. attachimglstshow($post['pid'], <!--{echo intval($_G['setting']['lazyload'])}-->, aimgfid, '{$_G[setting][showexif]}');
  512. <!--{/if}-->
  513. </script>
  514. <!--{/if}-->
  515. <!--{else}-->
  516. <table id="pid$post[pid]" summary="pid$post[pid]" cellspacing="0" cellpadding="0">
  517. <tbody>
  518. <tr>
  519. <!--{if !$close_leftinfo}-->
  520. <td class="pls"></td>
  521. <!--{/if}-->
  522. <td class="plc"<!--{if $close_leftinfo}--> style="width:100%"<!--{/if}-->>
  523. <i class="arr"></i>
  524. <div class="pi">
  525. <strong><a><!--{if !empty($postno[$post[number]])}-->$postno[$post[number]]<!--{else}--><em>{$post[number]}</em>{$postno[0]}<!--{/if}--></a></strong>
  526. </div>
  527. <div class="pct">{lang post_deleted}</div>
  528. </td>
  529. </tr>
  530. <tr class="ad">
  531. <!--{if !$close_leftinfo}-->
  532. <td class="pls"></td>
  533. <!--{/if}-->
  534. <td class="plc"></td>
  535. </tr>
  536. </tbody>
  537. </table>
  538. <!--{/if}-->
  539. <!--{hook/viewthread_endline $postcount}-->