group_list.htm 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187
  1. <!--{if $_G['forum']['ismoderator']}-->
  2. <script type="text/javascript" src="{$_G[setting][jspath]}forum_moderate.js?{VERHASH}"></script>
  3. <!--{/if}-->
  4. <div id="pgt" class="bm bw0 pgs cl">
  5. $multipage
  6. <!--{if helper_access::check_module('group')}-->
  7. <span {if $_G[setting][visitedforums]}id="visitedforums" onmouseover="$('visitedforums').id = 'visitedforumstmp';this.id = 'visitedforums';showMenu({'ctrlid':this.id})"{/if} class="pgb y"><a href="forum.php?mod=group&fid=$_G[fid]">{lang return_index}</a></span>
  8. <a href="javascript:;" id="newspecial" onmouseover="$('newspecial').id = 'newspecialtmp';this.id = 'newspecial';showMenu({'ctrlid':this.id})" onclick="showWindow('newthread', 'forum.php?mod=post&action=newthread&fid=$_G[fid]')" title="{lang send_posts}"><img src="{IMGDIR}/pn_post.png" alt="{lang send_posts}" /></a>
  9. <!--{/if}-->
  10. <!--{hook/forumdisplay_postbutton_top}-->
  11. </div>
  12. <!--{if $_G['forum']['threadtypes']}-->
  13. <ul class="ttp bm cl">
  14. <li id="ttp_all"{if !$_GET['typeid']} class="xw1 a"{/if}><a href="forum.php?mod=forumdisplay&action=list&fid=$_G[fid]">{lang forum_viewall}</a></li>
  15. <!--{if $_G['forum']['threadtypes']}-->
  16. <!--{loop $_G['forum']['threadtypes']['types'] $id $name}-->
  17. <li{if $_GET['typeid'] == $id} class="xw1 a"{/if}><a href="forum.php?mod=forumdisplay&action=list&fid=$_G[fid]{if $_GET['typeid'] != $id}&filter=typeid&typeid=$id$forumdisplayadd[typeid]{/if}">$name</a>
  18. <!--{/loop}-->
  19. <!--{/if}-->
  20. <!--{hook/forumdisplay_filter_extra}-->
  21. </ul>
  22. <!--{/if}-->
  23. <div id="threadlist" class="tl bm" style="position: relative;">
  24. <div class="th">
  25. <table cellpadding="0" cellspacing="0">
  26. <tr>
  27. <td class="icn">&nbsp;</td>
  28. <!--{if $_G['forum']['ismoderator']}--><td class="o">&nbsp;</td><!--{/if}-->
  29. <th>{lang thread}</th>
  30. <td class="by">{lang author}/{lang time}</td>
  31. <td class="num">{lang replies}</td>
  32. <td class="by">{lang lastpost}</td>
  33. </tr>
  34. </table>
  35. </div>
  36. <div class="bm_c">
  37. <form method="post" autocomplete="off" name="moderate" id="moderate" action="forum.php?mod=topicadmin&action=moderate&fid=$_G[fid]&infloat=yes&nopost=yes">
  38. <input type="hidden" name="formhash" value="{FORMHASH}" />
  39. <input type="hidden" name="listextra" value="$extra" />
  40. <table cellpadding="0" cellspacing="0" border="0">
  41. <!--{if $_G['forum_threadcount']}-->
  42. <tbody class="emptb"><tr><td class="icn"></td><!--{if $_G['forum']['ismoderator']}--><td class="o"></td><!--{/if}--><th></th><td class="by"></td><td class="num"></td><td class="by"></td></tr></tbody>
  43. <!--{loop $_G['forum_threadlist'] $key $thread}-->
  44. <!--{ad/threadlist}-->
  45. <tbody id="$thread[id]">
  46. <tr>
  47. <td class="icn">
  48. <a href="forum.php?mod=viewthread&tid=$thread[tid]&extra=$extra" title="{lang target_blank}" target="_blank">
  49. <!--{if $thread[folder] == 'lock'}-->
  50. <img src="{IMGDIR}/folder_lock.gif" />
  51. <!--{elseif $thread['special'] == 1}-->
  52. <img src="{IMGDIR}/pollsmall.gif" alt="{lang thread_poll}" />
  53. <!--{elseif $thread['special'] == 2}-->
  54. <img src="{IMGDIR}/tradesmall.gif" alt="{lang thread_trade}" />
  55. <!--{elseif $thread['special'] == 3}-->
  56. <img src="{IMGDIR}/rewardsmall.gif" alt="{lang thread_reward}" />
  57. <!--{elseif $thread['special'] == 4}-->
  58. <img src="{IMGDIR}/activitysmall.gif" alt="{lang thread_activity}" />
  59. <!--{elseif $thread['special'] == 5}-->
  60. <img src="{IMGDIR}/debatesmall.gif" alt="{lang thread_debate}" />
  61. <!--{elseif in_array($thread['displayorder'], array(1, 2, 3, 4))}-->
  62. <img src="{IMGDIR}/pin_$thread[displayorder].gif" alt="$_G[setting][threadsticky][3-$thread[displayorder]]" />
  63. <!--{else}-->
  64. <img src="{IMGDIR}/folder_$thread[folder].gif" />
  65. <!--{/if}-->
  66. </td>
  67. <!--{if $_G['forum']['ismoderator']}-->
  68. <td class="o">
  69. <!--{if $thread['fid'] == $_G[fid]}-->
  70. <!--{if $thread['displayorder'] <= 3 || $_G['adminid'] == 1}-->
  71. <input onclick="tmodclick(this)" type="checkbox" name="moderate[]" class="pc" value="$thread[tid]" />
  72. <!--{else}-->
  73. <input type="checkbox" disabled="disabled" />
  74. <!--{/if}-->
  75. <!--{else}-->
  76. <input type="checkbox" disabled="disabled" />
  77. <!--{/if}-->
  78. </td>
  79. <!--{/if}-->
  80. <th>
  81. <!--{hook/forumdisplay_thread $key}-->
  82. <!--{if $thread['moved']}-->
  83. <!--{if $_G['forum']['ismoderator']}-->
  84. <a href="forum.php?mod=topicadmin&action=moderate&optgroup=3&operation=delete&tid=$thread[moved]" onclick="showWindow('mods', this.href);return false">{lang thread_moved}:</a>
  85. <!--{else}-->
  86. {lang thread_moved}:
  87. <!--{/if}-->
  88. <!--{/if}-->
  89. $thread[typehtml]
  90. <span id="thread_$thread[tid]"><a href="forum.php?mod=viewthread&tid=$thread[tid]&extra=$extra"$thread[highlight] class="xst">$thread[subject]</a></span>
  91. <!--{if $thread['readperm']}--> - [{lang readperm} <span class="xw1">$thread[readperm]</span>]<!--{/if}-->
  92. <!--{if $thread['price'] > 0}-->
  93. <!--{if $thread['special'] == '3'}-->
  94. - <span style="color: #C60">[{lang thread_reward}<span class="xw1">$thread[price]</span> {$_G[setting][extcredits][$_G['setting']['creditstransextra'][2]][unit]}{$_G[setting][extcredits][$_G['setting']['creditstransextra'][2]][title]}]</span>
  95. <!--{else}-->
  96. - [{lang price} <span class="xw1">$thread[price]</span> {$_G[setting][extcredits][$_G['setting']['creditstransextra'][1]][unit]}{$_G[setting][extcredits][$_G['setting']['creditstransextra'][1]][title]}]
  97. <!--{/if}-->
  98. <!--{elseif $thread['special'] == '3' && $thread['price'] < 0}-->
  99. - <span style="color: #269F11">[{lang reward_solved}]</span>
  100. <!--{/if}-->
  101. <!--{if $thread['attachment'] == 2}-->
  102. <img src="{STATICURL}image/filetype/image_s.gif" alt="{lang attach_img}" align="absmiddle" />
  103. <!--{elseif $thread['attachment'] == 1}-->
  104. <img src="{STATICURL}image/filetype/common.gif" alt="{lang attachment}" align="absmiddle" />
  105. <!--{/if}-->
  106. <!--{if $thread['displayorder'] == 0}-->
  107. <!--{if $thread[recommendicon]}-->
  108. <img src="{IMGDIR}/recommend_$thread[recommendicon].gif" align="absmiddle" alt="recommend" title="{lang thread_recommend} $thread[recommends]" />
  109. <!--{/if}-->
  110. <!--{if $thread[heatlevel]}-->
  111. <img src="{IMGDIR}/hot_$thread[heatlevel].gif" align="absmiddle" alt="heatlevel" title="$thread[heatlevel] {lang heats}" />
  112. <!--{/if}-->
  113. <!--{if $thread['digest'] > 0}-->
  114. <img src="{IMGDIR}/digest_$thread[digest].gif" align="absmiddle" alt="digest" title="{lang thread_digest} $thread[digest]" />
  115. <!--{/if}-->
  116. <!--{if $thread['rate'] > 0}-->
  117. <img src="{IMGDIR}/agree.gif" align="absmiddle" alt="agree" title="{lang rate_credit_add}" />
  118. <!--{/if}-->
  119. <!--{/if}-->
  120. <!--{if $thread[multipage]}-->
  121. <span class="tps">$thread[multipage]</span>
  122. <!--{/if}-->
  123. </th>
  124. <td class="by">
  125. <cite>
  126. <!--{if $thread['authorid'] && $thread['author']}-->
  127. <a href="home.php?mod=space&uid=$thread[authorid]">$thread[author]</a><!--{if !empty($verify[$thread['authorid']])}-->$verify[$thread[authorid]]<!--{/if}-->
  128. <!--{else}-->
  129. <!--{if $_G['forum']['ismoderator']}-->
  130. <a href="home.php?mod=space&uid=$thread[authorid]">{lang anonymous}</a>
  131. <!--{else}-->
  132. {lang anonymous}
  133. <!--{/if}-->
  134. <!--{/if}-->
  135. </cite>
  136. <em>$thread[dateline]</em>
  137. </td>
  138. <td class="num">
  139. $thread[allreplies]<em>$thread[views]</em>
  140. </td>
  141. <td class="by">
  142. <cite><!--{if $thread['lastposter']}--><a href="{if $thread[digest] != -2}home.php?mod=space&username=$thread[lastposterenc]{else}forum.php?mod=viewthread&tid=$thread[tid]&page={echo max(1, $thread[pages]);}{/if}">$thread[lastposter]</a></cite><!--{else}-->{lang anonymous}<!--{/if}--></cite><em><a href="{if $thread[digest] != -2}forum.php?mod=redirect&tid=$thread[tid]&goto=lastpost$highlight#lastpost{else}forum.php?mod=viewthread&tid=$thread[tid]&page={echo max(1, $thread[pages]);}{/if}">$thread[lastpost]</a></em>
  143. </td>
  144. </tr>
  145. </tbody>
  146. <!--{/loop}-->
  147. <!--{else}-->
  148. <tbody><tr><th colspan="6"><p class="emp">{lang forum_nothreads}</p></th></tr></tbody>
  149. <!--{/if}-->
  150. </table>
  151. <!--{if $_G['forum']['ismoderator'] && $_G['forum_threadcount']}-->
  152. <!--{template forum/topicadmin_modlayer}-->
  153. <!--{/if}-->
  154. </form>
  155. </div>
  156. </div>
  157. <!--{if helper_access::check_module('group')}-->
  158. <div class="bm bw0 pgs cl">
  159. $multipage
  160. <span {if $_G[setting][visitedforums]}id="visitedforums" onmouseover="$('visitedforums').id = 'visitedforumstmp';this.id = 'visitedforums';showMenu({'ctrlid':this.id})"{/if} class="pgb y"><a href="forum.php?mod=group&fid=$_G[fid]">{lang return_index}</a></span>
  161. <a href="javascript:;" id="newspecialtmp" onmouseover="$('newspecial').id = 'newspecialtmp';this.id = 'newspecial';showMenu({'ctrlid':this.id})" onclick="showWindow('newthread', 'forum.php?mod=post&action=newthread&fid=$_G[fid]')" title="{lang send_posts}"><img src="{IMGDIR}/pn_post.png" alt="{lang send_posts}" /></a>
  162. <!--{hook/forumdisplay_postbutton_bottom}-->
  163. </div>
  164. <!--{if $_G['setting']['fastpost']}-->
  165. <!--{template forum/forumdisplay_fastpost}-->
  166. <!--{/if}-->
  167. <!--{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'])}-->
  168. <ul class="p_pop" id="newspecial_menu" style="display: none">
  169. <!--{if !$_G['forum']['allowspecialonly']}--><li><a href="forum.php?mod=post&action=newthread&fid=$_G[fid]" onclick="showWindow('newthread', this.href);doane(event)">{lang post_newthread}</a></li><!--{/if}-->
  170. <!--{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}-->
  171. <!--{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}-->
  172. <!--{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}-->
  173. <!--{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}-->
  174. <!--{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}-->
  175. <!--{if $_G['setting']['threadplugins']}-->
  176. <!--{loop $_G['forum']['threadplugin'] $tpid}-->
  177. <!--{if array_key_exists($tpid, $_G['setting']['threadplugins']) && @in_array($tpid, $_G['group']['allowthreadplugin'])}-->
  178. <li class="popupmenu_option"{if $_G['setting']['threadplugins'][$tpid][icon]} style="background-image:url($_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>
  179. <!--{/if}-->
  180. <!--{/loop}-->
  181. <!--{/if}-->
  182. </ul>
  183. <!--{/if}-->
  184. <!--{/if}-->