viewthread.htm 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. <!--{template common/header}-->
  2. <p>
  3. <!--{if $_G['forum_thread']['typeid'] && $_G['forum']['threadtypes']['types'][$_G['forum_thread']['typeid']]}-->
  4. [{$_G['forum']['threadtypes']['types'][$_G['forum_thread']['typeid']]}]
  5. <!--{/if}-->
  6. <!--{if $threadsorts && $_G['forum_thread']['sortid']}-->
  7. [{$_G['forum']['threadsorts']['types'][$_G['forum_thread']['sortid']]}]
  8. <!--{/if}-->
  9. <!--{if $_G['forum_thread']['digest'] > 0}-->
  10. [{lang digest}]
  11. <!--{/if}-->
  12. <!--{if $_G['forum_thread'][displayorder] == -2}--> <span class="xg1">({lang moderating})</span>
  13. <!--{elseif $_G['forum_thread'][displayorder] == -3}--> <span class="xg1">({lang have_ignored})</span>
  14. <!--{elseif $_G['forum_thread'][displayorder] == -4}--> <span class="xg1">({lang draft})</span>
  15. <!--{/if}-->
  16. $thread[subject]<br />
  17. <a href="home.php?mod=space&uid=$thread[authorid]"><!--{if $post['authorid'] && $post['username'] && !$post['anonymous']}-->$thread[author]<!--{else}-->{lang anonymous}<!--{/if}--></a>(<!--{eval echo dgmdate($thread['dateline']);}-->)<br /><br />
  18. </p>
  19. <!--{hook/viewthread_top_mobile}-->
  20. <!--{eval $postcount = 0;}-->
  21. <!--{loop $postlist $post}-->
  22. <!--{eval $needhiddenreply = ($hiddenreplies && $_G['uid'] != $post['authorid'] && $_G['uid'] != $_G['forum_thread']['authorid'] && !$post['first'] && !$_G['forum']['ismoderator']);}-->
  23. <!--{hook/viewthread_posttop_mobile $postcount}-->
  24. <!--{if $post['warned']}-->
  25. <em>{lang warn_get}</em>
  26. <!--{/if}-->
  27. <!--{if $_G['adminid'] != 1 && $_G['setting']['bannedmessages'] & 1 && (($post['authorid'] && !$post['username']) || ($post['groupid'] == 4 || $post['groupid'] == 5) || $post['status'] == -1 || $post['memberstatus'])}-->
  28. <em>{lang message_banned}</em>
  29. <!--{elseif $_G['adminid'] != 1 && $post['status'] & 1}-->
  30. <em>{lang message_single_banned}</em>
  31. <!--{elseif $needhiddenreply}-->
  32. <em>{lang message_ishidden_hiddenreplies}</em>
  33. <!--{elseif $post['first'] && $_G['forum_threadpay']}-->
  34. <!--{template forum/viewthread_pay}-->
  35. <!--{else}-->
  36. <!--{if $_G['setting']['bannedmessages'] & 1 && (($post['authorid'] && !$post['username']) || ($post['groupid'] == 4 || $post['groupid'] == 5))}-->
  37. <em>{lang admin_message_banned}</em>
  38. <!--{elseif $post['status'] & 1}-->
  39. <em>{lang admin_message_single_banned}</em>
  40. <!--{/if}-->
  41. <!--{if $_G['forum_thread']['price'] > 0 && $_G['forum_thread']['special'] == 0}-->
  42. {lang pay_threads}: <em>$_G[forum_thread][price] {$_G['setting']['extcredits'][$_G['setting']['creditstransextra'][1]][unit]}{$_G['setting']['extcredits'][$_G['setting']['creditstransextra'][1]][title]} </em> <a href="forum.php?mod=misc&action=viewpayments&tid=$_G[tid]" >{lang pay_view}</a>
  43. <!--{/if}-->
  44. <p><!--{if $post['position'] > 1}-->#$post['position'] <!--{/if}-->{echo str_replace('&nbsp;', ' ', strip_tags($post[message]))}</p>
  45. <!--{/if}-->
  46. <!--{if $post['first'] && $thread['allreplies'] > 1}-->{lang replylist}($thread['allreplies'])|<!--{/if}-->
  47. <!--{if $postcount == 0}--><a href="forum.php?mod=post&action=reply&fid=$_G[fid]&tid=$_G[tid]">{lang join_thread}</a>|<a href="forum.php?mod=post&action=newthread&fid=$_G[fid]">{lang send_threads}</a><!--{/if}-->
  48. <!--{if !$post['first'] }-->
  49. <!--{if $post['authorid'] && $post['username'] && !$post['anonymous']}-->
  50. <a href="home.php?mod=space&uid=$post['authorid']">$post[author]</a>
  51. <!--{/if}-->
  52. <!--{if !$_G[setting][mobile][mobilesimpletype]}-->
  53. <!--{eval $post[dateline] = str_replace('&nbsp;', ' ', strip_tags($post[dateline]));}-->
  54. <!--{if $post['authorid'] && !$post['anonymous']}-->
  55. <small>($post[dateline])</small>
  56. <!--{elseif $post['authorid'] && $post['username'] && $post['anonymous']}-->
  57. {lang anonymous}
  58. <small>($post[dateline])</small>
  59. <!--{elseif !$post['authorid'] && !$post['username']}-->
  60. {lang guest}
  61. <small>($post[dateline])</small>
  62. <!--{/if}-->
  63. <!--{/if}-->
  64. <!--{/if}-->
  65. <!--{hook/viewthread_postbottom_mobile $postcount}-->
  66. <!--{eval $postcount++;}-->
  67. <!--{/loop}-->
  68. <!--{echo str_replace('&amp;amp;', '&amp;', str_replace('&', '&amp;', $multipage));}-->
  69. <br/><br/>&lt;&lt;<a href="forum.php?mod=redirect&goto=nextoldset&tid=$_G['tid']">{lang last_thread}</a><br/>
  70. &gt;&gt;<a href="forum.php?mod=redirect&goto=nextnewset&tid=$_G['tid']">{lang next_thread}</a><br/>
  71. <a href="forum.php?mod=forumdisplay&fid=$thread['fid']">{lang return_forum}</a>
  72. <!--{hook/viewthread_bottom_mobile}-->
  73. <!--{template common/footer}-->