discuz.htm 36 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669
  1. <!--{template common/header}-->
  2. <div id="pt" class="bm cl">
  3. <!--{if empty($gid) && $announcements}-->
  4. <div class="y">
  5. <div id="an">
  6. <dl class="cl">
  7. <dt class="z xw1">{lang announcements}:&nbsp;</dt>
  8. <dd>
  9. <div id="anc"><ul id="ancl">$announcements</ul></div>
  10. </dd>
  11. </dl>
  12. </div>
  13. <script type="text/javascript">announcement();</script>
  14. </div>
  15. <!--{/if}-->
  16. <div class="z">
  17. <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
  18. </div>
  19. <div class="z"><!--{hook/index_status_extra}--></div>
  20. </div>
  21. <!--{if empty($gid)}-->
  22. <!--{ad/text/wp a_t}-->
  23. <!--{/if}-->
  24. <style id="diy_style" type="text/css">#framearcX8H { border:0px !important;margin:0px !important;}#portal_block_3 { border:0px !important;margin:0px !important;}#portal_block_3 .dxb_bc { margin:0px !important;}#framexZX26S { border:0px !important;margin:0px !important;}#portal_block_4 { border:0px !important;margin:0px !important;}#portal_block_4 .dxb_bc { margin:0px !important;}#frameTbYl6D { border:#000000 0px !important;margin-top:-1px !important;margin-right:0px !important;margin-bottom:0px !important;margin-left:0px !important;}#frameBNK7gb { border:0px !important;margin:0px !important;}#portal_block_6 { border:0px !important;margin:0px !important;}#portal_block_6 .dxb_bc { margin:0px !important;}#frameRlI5I3 { border:0px !important;margin:0px !important;}#portal_block_7 { margin:0px !important;}#portal_block_7 .dxb_bc { margin:0px !important;}</style>
  25. <!--{if empty($gid)}-->
  26. <div class="wp">
  27. <!--[diy=diy1]--><div id="diy1" class="area"></div><!--[/diy]-->
  28. </div>
  29. <!--{/if}-->
  30. <!--{if empty($gid)}-->
  31. <div class="wp">
  32. <!--[diy=diy4]--><div id="diy4" class="area"></div><!--[/diy]-->
  33. </div>
  34. <!--{/if}-->
  35. <div id="ct" class="wp cl{if $_G['setting']['forumallowside']} ct2{/if} week_ct2">
  36. <div class="mn wk_sq_mn">
  37. <div class="wk_f_mn padding15 backfff mb10">
  38. <div class="wk_sqhdp"><!--[diy=wk_lthdp]--><div id="wk_lthdp" class="area"><div id="frameRlI5I3" class=" frame move-span cl frame-1"><div id="frameRlI5I3_left" class="column frame-1-c"><div id="frameRlI5I3_left_temp" class="move-span temp"></div><!--{block/7}--></div></div></div><!--[/diy]--></div>
  39. </div>
  40. <div class="wk_f_mn padding15 backfff">
  41. <!--{if empty($gid)}-->
  42. <div id="chart" class="bm bw0 cl">
  43. <p class="chart z">{lang index_today}: <em>$todayposts</em><span class="pipe">|</span>{lang index_yesterday}: <em>$postdata[0]</em><span class="pipe">|</span>{lang index_posts}: <em>$posts</em><span class="pipe">|</span>{lang index_members}: <em>$_G['cache']['userstats']['totalmembers']</em><!--{if $_G['cache']['userstats']['newsetuser']}--><span class="pipe">|</span>{lang welcome_new_members}: <em><a href="home.php?mod=space&username={echo rawurlencode($_G['cache']['userstats']['newsetuser'])}" target="_blank" class="xi2">$_G['cache']['userstats']['newsetuser']</a></em><!--{/if}--></p>
  44. <div class="y">
  45. <!--{hook/index_nav_extra}-->
  46. <!--{if $_G['uid']}--><a href="forum.php?mod=guide&view=my" title="{lang my_posts}" class="xi2">{lang my_posts}</a><!--{/if}--><!--{if !empty($_G['setting']['search']['forum']['status'])}--><!--{if $_G['uid']}--><span class="pipe">|</span><!--{/if}--><a href="forum.php?mod=guide&view=new" title="{lang show_newthreads}" class="xi2">{lang show_newthreads}</a><!--{/if}-->
  47. </div>
  48. </div>
  49. <!--{/if}-->
  50. <!--[diy=diy_chart]--><div id="diy_chart" class="area"></div><!--[/diy]-->
  51. <!--{if !empty($_G['setting']['grid']['showgrid'])}-->
  52. <!-- index four grid -->
  53. <div class="fl bm">
  54. <div class="bm bmw cl">
  55. <div id="category_grid" class="bm_c" >
  56. <table cellspacing="0" cellpadding="0"><tr>
  57. <!--{if !$_G['setting']['grid']['gridtype']}-->
  58. <td valign="top" class="category_l1">
  59. <div class="newimgbox">
  60. <h4><span class="tit_newimg"></span>{lang latest_images}</h4>
  61. <div class="module cl slidebox_grid" style="width:218px">
  62. <script type="text/javascript">
  63. var slideSpeed = 5000;
  64. var slideImgsize = [218,200];
  65. var slideBorderColor = '{$_G['style']['specialborder']}';
  66. var slideBgColor = '{$_G['style']['commonbg']}';
  67. var slideImgs = new Array();
  68. var slideImgLinks = new Array();
  69. var slideImgTexts = new Array();
  70. var slideSwitchColor = '{$_G['style']['tabletext']}';
  71. var slideSwitchbgColor = '{$_G['style']['commonbg']}';
  72. var slideSwitchHiColor = '{$_G['style']['specialborder']}';
  73. {eval $k = 1;}
  74. <!--{loop $grids['slide'] $stid $svalue}-->
  75. slideImgs[<!--{echo $k}-->] = '$svalue[image]';
  76. slideImgLinks[<!--{echo $k}-->] = '{$svalue[url]}';
  77. slideImgTexts[<!--{echo $k}-->] = '$svalue[subject]';
  78. {eval $k++;}
  79. <!--{/loop}-->
  80. </script>
  81. <script language="javascript" type="text/javascript" src="{$_G[setting][jspath]}forum_slide.js?{VERHASH}"></script>
  82. </div>
  83. </div>
  84. </td>
  85. <!--{/if}-->
  86. <td valign="top" class="category_l2">
  87. <div class="subjectbox">
  88. <h4><span class="tit_subject"></span>{lang collection_lastthread}</h4>
  89. <ul class="category_newlist">
  90. <!--{loop $grids['newthread'] $thread}-->
  91. <!--{if !$thread['forumstick'] && $thread['closed'] > 1 && ($thread['isgroup'] == 1 || $thread['fid'] != $_G['fid'])}-->
  92. <!--{eval $thread[tid]=$thread[closed];}-->
  93. <!--{/if}-->
  94. <li><a href="forum.php?mod=viewthread&tid=$thread[tid]&extra=$extra"{if $thread['highlight']} $thread['highlight']{/if}{if $_G['setting']['grid']['showtips']} tip="{lang title}: <strong>$thread[oldsubject]</strong><br/>{lang author}: $thread[author] ($thread[dateline])<br/>{lang show}/{lang reply}: $thread[views]/$thread[replies]" onmouseover="showTip(this)"{else} title="$thread[oldsubject]"{/if}{if $_G['setting']['grid']['targetblank']} target="_blank"{/if}>$thread[subject]</a></li>
  95. <!--{/loop}-->
  96. </ul>
  97. </div>
  98. </td>
  99. <td valign="top" class="category_l3">
  100. <div class="replaybox">
  101. <h4><span class="tit_replay"></span>{lang show_newthreads}</h4>
  102. <ul class="category_newlist">
  103. <!--{loop $grids['newreply'] $thread}-->
  104. <!--{if !$thread['forumstick'] && $thread['closed'] > 1 && ($thread['isgroup'] == 1 || $thread['fid'] != $_G['fid'])}-->
  105. <!--{eval $thread[tid]=$thread[closed];}-->
  106. <!--{/if}-->
  107. <li><a href="forum.php?mod=redirect&tid=$thread[tid]&goto=lastpost#lastpost"{if $thread['highlight']} $thread['highlight']{/if}{if $_G['setting']['grid']['showtips']}tip="{lang title}: <strong>$thread[oldsubject]</strong><br/>{lang author}: $thread[author] ($thread[dateline])<br/>{lang show}/{lang reply}: $thread[views]/$thread[replies]" onmouseover="showTip(this)"{else} title="$thread[oldsubject]"{/if}{if $_G['setting']['grid']['targetblank']} target="_blank"{/if}>$thread[subject]</a></li>
  108. <!--{/loop}-->
  109. </ul>
  110. </div>
  111. </td>
  112. <td valign="top" class="category_l3">
  113. <div class="hottiebox">
  114. <h4><span class="tit_hottie"></span>{lang hot_thread}</h4>
  115. <ul class="category_newlist">
  116. <!--{loop $grids['hot'] $thread}-->
  117. <!--{if !$thread['forumstick'] && $thread['closed'] > 1 && ($thread['isgroup'] == 1 || $thread['fid'] != $_G['fid'])}-->
  118. <!--{eval $thread[tid]=$thread[closed];}-->
  119. <!--{/if}-->
  120. <li><a href="forum.php?mod=viewthread&tid=$thread[tid]&extra=$extra"{if $thread['highlight']} $thread['highlight']{/if}{if $_G['setting']['grid']['showtips']} tip="{lang title}: <strong>$thread[oldsubject]</strong><br/>{lang author}: $thread[author] ($thread[dateline])<br/>{lang show}/{lang reply}: $thread[views]/$thread[replies]" onmouseover="showTip(this)"{else} title="$thread[oldsubject]"{/if}{if $_G['setting']['grid']['targetblank']} target="_blank"{/if}>$thread[subject]</a></li>
  121. <!--{/loop}-->
  122. </ul>
  123. </div>
  124. </td>
  125. <!--{if $_G['setting']['grid']['gridtype']}-->
  126. <td valign="top" class="category_l4">
  127. <div class="goodtiebox">
  128. <h4><span class="tit_goodtie"></span>{lang post_digest_thread}</h4>
  129. <ul class="category_newlist">
  130. <!--{loop $grids['digest'] $thread}-->
  131. <!--{if !$thread['forumstick'] && $thread['closed'] > 1 && ($thread['isgroup'] == 1 || $thread['fid'] != $_G['fid'])}-->
  132. <!--{eval $thread[tid]=$thread[closed];}-->
  133. <!--{/if}-->
  134. <li><a href="forum.php?mod=viewthread&tid=$thread[tid]&extra=$extra"{if $thread['highlight']} $thread['highlight']{/if}{if $_G['setting']['grid']['showtips']} tip="{lang title}: <strong>$thread[oldsubject]</strong><br/>{lang author}: $thread[author] ($thread[dateline])<br/>{lang show}/{lang reply}: $thread[views]/$thread[replies]" onmouseover="showTip(this)"{else} title="$thread[oldsubject]"{/if}{if $_G['setting']['grid']['targetblank']} target="_blank"{/if}>$thread[subject]</a></li>
  135. <!--{/loop}-->
  136. </ul>
  137. </div>
  138. </td>
  139. <!--{/if}-->
  140. </table>
  141. </div>
  142. </div>
  143. </div>
  144. <!-- index four grid end -->
  145. <!--{/if}-->
  146. <!--{hook/index_top}-->
  147. <!--{if !empty($_G['cache']['heats']['message'])}-->
  148. <div class="bm">
  149. <div class="bm_h cl">
  150. <h2>{lang hotthreads_forum}</h2>
  151. </div>
  152. <div class="bm_c cl">
  153. <div class="heat z">
  154. <!--{loop $_G['cache']['heats']['message'] $data}-->
  155. <dl class="xld">
  156. <dt><!--{if $_G['adminid'] == 1}--><a class="d" href="forum.php?mod=misc&action=removeindexheats&tid=$data[tid]" onclick="return removeindexheats()">delete</a><!--{/if}-->
  157. <a href="forum.php?mod=viewthread&tid=$data[tid]" target="_blank" class="xi2">$data[subject]</a></dt>
  158. <dd>$data[message]</dd>
  159. </dl>
  160. <!--{/loop}-->
  161. </div>
  162. <ul class="xl xl1 heatl">
  163. <!--{loop $_G['cache']['heats']['subject'] $data}-->
  164. <li><!--{if $_G['adminid'] == 1}--><a class="d" href="forum.php?mod=misc&action=removeindexheats&tid=$data[tid]" onclick="return removeindexheats()">delete</a><!--{/if}-->&middot; <a href="forum.php?mod=viewthread&tid=$data[tid]" target="_blank" class="xi2">$data[subject]</a></li>
  165. <!--{/loop}-->
  166. </ul>
  167. </div>
  168. </div>
  169. <!--{/if}-->
  170. <!--{hook/index_catlist_top}-->
  171. <div class="fl bm">
  172. <!--{if !empty($collectiondata['follows'])}-->
  173. <!--{eval $forumscount = count($collectiondata['follows']);}-->
  174. <!--{eval $forumcolumns = 4;}-->
  175. <!--{eval $forumcolwidth = (floor(100 / $forumcolumns) - 0.1).'%';}-->
  176. <div class="bm bmw {if $forumcolumns} flg{/if} cl">
  177. <div class="bm_h cl">
  178. <span class="o">
  179. <img id="category_-1_img" src="{IMGDIR}/$collapse['collapseimg_-1']" title="{lang spread}" alt="{lang spread}" onclick="toggle_collapse('category_-1');" />
  180. </span>
  181. <h2><a href="forum.php?mod=collection&op=my">{lang my_order_collection}</a></h2>
  182. </div>
  183. <div id="category_-1" class="bm_c" style="{echo $collapse['category_-1']}">
  184. <table cellspacing="0" cellpadding="0" class="fl_tb">
  185. <tr>
  186. <!--{eval $ctorderid = 0;}-->
  187. <!--{loop $collectiondata['follows'] $key $colletion}-->
  188. <!--{if $ctorderid && ($ctorderid % $forumcolumns == 0)}-->
  189. </tr>
  190. <!--{if $ctorderid < $forumscount}-->
  191. <tr class="fl_row">
  192. <!--{/if}-->
  193. <!--{/if}-->
  194. <td class="fl_g"{if $forumcolwidth} width="$forumcolwidth"{/if}>
  195. <div class="fl_icn_g">
  196. <a href="forum.php?mod=collection&action=view&ctid={$colletion[ctid]}" target="_blank"><img src="{IMGDIR}/forum{if $followcollections[$key]['lastvisit'] < $colletion['lastupdate']}_new{/if}.gif" alt="$colletion[name]" /></a>
  197. </div>
  198. <dl>
  199. <dt><a href="forum.php?mod=collection&action=view&ctid={$colletion[ctid]}">$colletion[name]</a></dt>
  200. <dd><em>{lang forum_threads}: <!--{echo dnumber($colletion[threadnum])}--></em>, <em>{lang collection_commentnum}: <!--{echo dnumber($colletion[commentnum])}--></em></dd>
  201. <dd>
  202. <!--{if $colletion['lastpost']}-->
  203. <!--{if $forumcolumns < 3}-->
  204. <a href="forum.php?mod=redirect&tid=$colletion[lastpost]&goto=lastpost#lastpost" class="xi2"><!--{echo cutstr($colletion[lastsubject], 30)}--></a> <cite><!--{date($colletion[lastposttime])}--> <!--{if $colletion['lastposter']}-->$colletion['lastposter']<!--{else}-->$_G[setting][anonymoustext]<!--{/if}--></cite>
  205. <!--{else}-->
  206. <a href="forum.php?mod=redirect&tid=$colletion[lastpost]&goto=lastpost#lastpost">{lang forum_lastpost}: <!--{date($colletion[lastposttime])}--></a>
  207. <!--{/if}-->
  208. <!--{else}-->
  209. {lang never}
  210. <!--{/if}-->
  211. </dd>
  212. <!--{hook/index_followcollection_extra $colletion[ctid]}-->
  213. </dl>
  214. </td>
  215. <!--{eval $ctorderid++;}-->
  216. <!--{/loop}-->
  217. <!--{if ($columnspad = $ctorderid % $forumcolumns) > 0}--><!--{echo str_repeat('<td class="fl_g"'.($forumcolwidth ? " width=\"$forumcolwidth\"" : '').'></td>', $forumcolumns - $columnspad);}--><!--{/if}-->
  218. </tr>
  219. </table>
  220. </div>
  221. </div>
  222. <!--{/if}-->
  223. <!--{if empty($gid) && !empty($forum_favlist)}-->
  224. <!--{eval $forumscount = count($forum_favlist);}-->
  225. <!--{eval $forumcolumns = $forumscount > 3 ? ($forumscount == 4 ? 4 : 5) : 1;}-->
  226. <!--{eval $forumcolwidth = (floor(100 / $forumcolumns) - 0.1).'%';}-->
  227. <div class="bm bmw {if $forumcolumns} flg{/if} cl">
  228. <div class="bm_h cl">
  229. <span class="o">
  230. <img id="category_0_img" src="{IMGDIR}/$collapse['collapseimg_0']" title="{lang spread}" alt="{lang spread}" onclick="toggle_collapse('category_0');" />
  231. </span>
  232. <h2><a href="home.php?mod=space&do=favorite&type=forum">{lang forum_myfav}</a></h2>
  233. </div>
  234. <div id="category_0" class="bm_c" style="{echo $collapse['category_0']}">
  235. <table cellspacing="0" cellpadding="0" class="fl_tb">
  236. <tr>
  237. <!--{eval $favorderid = 0;}-->
  238. <!--{loop $forum_favlist $key $favorite}-->
  239. <!--{if $favforumlist[$favorite[id]]}-->
  240. <!--{eval $forum=$favforumlist[$favorite[id]];}-->
  241. <!--{eval $forumurl = !empty($forum['domain']) && !empty($_G['setting']['domain']['root']['forum']) ? 'http://'.$forum['domain'].'.'.$_G['setting']['domain']['root']['forum'] : 'forum.php?mod=forumdisplay&fid='.$forum['fid'];}-->
  242. <!--{if $forumcolumns>1}-->
  243. <!--{if $favorderid && ($favorderid % $forumcolumns == 0)}-->
  244. </tr>
  245. <!--{if $favorderid < $forumscount}-->
  246. <tr class="fl_row">
  247. <!--{/if}-->
  248. <!--{/if}-->
  249. <td class="fl_g"{if $forumcolwidth} width="$forumcolwidth"{/if}>
  250. <div class="fl_icn_g"{if !empty($forum[extra][iconwidth]) && !empty($forum[icon])} style="width: {$forum[extra][iconwidth]}px;"{/if}>
  251. <!--{if $forum[icon]}-->
  252. $forum[icon]
  253. <!--{else}-->
  254. <a href="$forumurl"{if $forum[redirect]} target="_blank"{/if}><img src="{IMGDIR}/forum{if $forum[folder]}_new{/if}.gif" alt="$forum[name]" /></a>
  255. <!--{/if}-->
  256. </div>
  257. <dl{if !empty($forum[extra][iconwidth]) && !empty($forum[icon])} style="margin-left: {$forum[extra][iconwidth]}px;"{/if}>
  258. <dt><a href="$forumurl"{if $forum[redirect]} target="_blank"{/if}{if $forum[extra][namecolor]} style="color: {$forum[extra][namecolor]};"{/if}>$forum[name]</a><!--{if $forum[todayposts] && !$forum['redirect']}--><em class="xw0 xi1" title="{lang forum_todayposts}"> ($forum[todayposts])</em><!--{/if}--></dt>
  259. <!--{if empty($forum[redirect])}--><dd><em>{lang forum_threads}: <!--{echo dnumber($forum[threads])}--></em>, <em>{lang forum_posts}: <!--{echo dnumber($forum[posts])}--></em></dd><!--{/if}-->
  260. <dd>
  261. <!--{if $forum['permission'] == 1}-->
  262. {lang private_forum}
  263. <!--{else}-->
  264. <!--{if $forum['redirect']}-->
  265. <a href="$forumurl" class="xi2">{lang url_link}</a>
  266. <!--{elseif is_array($forum['lastpost'])}-->
  267. <!--{if $forumcolumns < 3}-->
  268. <a href="forum.php?mod=redirect&tid=$forum[lastpost][tid]&goto=lastpost#lastpost" class="xi2"><!--{echo cutstr($forum[lastpost][subject], 30)}--></a> <cite>$forum[lastpost][dateline] <!--{if $forum['lastpost']['author']}-->$forum['lastpost']['author']<!--{else}-->$_G[setting][anonymoustext]<!--{/if}--></cite>
  269. <!--{else}-->
  270. <a href="forum.php?mod=redirect&tid=$forum[lastpost][tid]&goto=lastpost#lastpost">{lang forum_lastpost}: $forum[lastpost][dateline]</a>
  271. <!--{/if}-->
  272. <!--{else}-->
  273. {lang never}
  274. <!--{/if}-->
  275. <!--{/if}-->
  276. </dd>
  277. <!--{hook/index_favforum_extra $forum[fid]}-->
  278. </dl>
  279. </td>
  280. <!--{eval $favorderid++;}-->
  281. <!--{else}-->
  282. <td class="fl_icn" {if !empty($forum[extra][iconwidth]) && !empty($forum[icon])} style="width: {$forum[extra][iconwidth]}px;"{/if}>
  283. <!--{if $forum[icon]}-->
  284. $forum[icon]
  285. <!--{else}-->
  286. <a href="$forumurl"{if $forum[redirect]} target="_blank"{/if}><img src="{IMGDIR}/forum{if $forum[folder]}_new{/if}.gif" alt="$forum[name]" /></a>
  287. <!--{/if}-->
  288. </td>
  289. <td>
  290. <h2><a href="$forumurl"{if $forum[redirect]} target="_blank"{/if}{if $forum[extra][namecolor]} style="color: {$forum[extra][namecolor]};"{/if}>$forum[name]</a><!--{if $forum[todayposts] && !$forum['redirect']}--><em class="xw0 xi1" title="{lang forum_todayposts}"> ($forum[todayposts])</em><!--{/if}--></h2>
  291. <!--{if $forum[description]}--><p class="xg2">$forum[description]</p><!--{/if}-->
  292. <!--{if $forum['subforums']}--><p>{lang forum_subforums}: $forum['subforums']</p><!--{/if}-->
  293. <!--{if $forum['moderators']}--><p>{lang forum_moderators}: <span class="xi2">$forum[moderators]</span></p><!--{/if}-->
  294. <!--{hook/index_favforum_extra $forum[fid]}-->
  295. </td>
  296. <td class="fl_i">
  297. <!--{if empty($forum[redirect])}--><span class="xi2"><!--{echo dnumber($forum[threads])}--></span><span class="xg1"> / <!--{echo dnumber($forum[posts])}--></span><!--{/if}-->
  298. </td>
  299. <td class="fl_by">
  300. <div>
  301. <!--{if $forum['permission'] == 1}-->
  302. {lang private_forum}
  303. <!--{else}-->
  304. <!--{if $forum['redirect']}-->
  305. <a href="$forumurl" class="xi2">{lang url_link}</a>
  306. <!--{elseif is_array($forum['lastpost'])}-->
  307. <a href="forum.php?mod=redirect&tid=$forum[lastpost][tid]&goto=lastpost#lastpost" class="xi2"><!--{echo cutstr($forum[lastpost][subject], 30)}--></a> <cite>$forum[lastpost][dateline] <!--{if $forum['lastpost']['author']}-->$forum['lastpost']['author']<!--{else}-->$_G[setting][anonymoustext]<!--{/if}--></cite>
  308. <!--{else}-->
  309. {lang never}
  310. <!--{/if}-->
  311. <!--{/if}-->
  312. </div>
  313. </td>
  314. </tr>
  315. <tr class="fl_row">
  316. <!--{/if}-->
  317. <!--{/if}-->
  318. <!--{/loop}-->
  319. <!--{if ($columnspad = $favorderid % $forumcolumns) > 0}--><!--{echo str_repeat('<td class="fl_g"'.($forumcolwidth ? " width=\"$forumcolwidth\"" : '').'></td>', $forumcolumns - $columnspad);}--><!--{/if}-->
  320. </tr>
  321. </table>
  322. </div>
  323. </div>
  324. <!--{ad/intercat/bm a_c/-1}-->
  325. <!--{/if}-->
  326. <!--{loop $catlist $key $cat}-->
  327. <!--{hook/index_catlist $cat[fid]}-->
  328. <div class="bm bmw {if $cat['forumcolumns']} flg{/if} cl">
  329. <div class="bm_h cl">
  330. <span class="o">
  331. <img id="category_$cat[fid]_img" src="{IMGDIR}/$cat[collapseimg]" title="{lang spread}" alt="{lang spread}" onclick="toggle_collapse('category_$cat[fid]');" />
  332. </span>
  333. <!--{if $cat['moderators']}--><span class="y">{lang forum_category_modedby}: $cat[moderators]</span><!--{/if}-->
  334. <!--{eval $caturl = !empty($cat['domain']) && !empty($_G['setting']['domain']['root']['forum']) ? 'http://'.$cat['domain'].'.'.$_G['setting']['domain']['root']['forum'] : '';}-->
  335. <h2><a href="{if !empty($caturl)}$caturl{else}forum.php?gid=$cat[fid]{/if}" style="{if $cat[extra][namecolor]}color: {$cat[extra][namecolor]};{/if}">$cat[name]</a></h2>
  336. </div>
  337. <div id="category_$cat[fid]" class="bm_c" style="{echo $collapse['category_'.$cat[fid]]}">
  338. <table cellspacing="0" cellpadding="0" class="fl_tb">
  339. <tr>
  340. <!--{loop $cat[forums] $forumid}-->
  341. <!--{eval $forum=$forumlist[$forumid];}-->
  342. <!--{eval $forumurl = !empty($forum['domain']) && !empty($_G['setting']['domain']['root']['forum']) ? 'http://'.$forum['domain'].'.'.$_G['setting']['domain']['root']['forum'] : 'forum.php?mod=forumdisplay&fid='.$forum['fid'];}-->
  343. <!--{if $cat['forumcolumns']}-->
  344. <!--{if $forum['orderid'] && ($forum['orderid'] % $cat['forumcolumns'] == 0)}-->
  345. </tr>
  346. <!--{if $forum['orderid'] < $cat['forumscount']}-->
  347. <tr class="fl_row">
  348. <!--{/if}-->
  349. <!--{/if}-->
  350. <td class="fl_g" width="$cat[forumcolwidth]">
  351. <div class="fl_icn_g"{if !empty($forum[extra][iconwidth]) && !empty($forum[icon])} style="width: {$forum[extra][iconwidth]}px;"{/if}>
  352. <!--{if $forum[icon]}-->
  353. $forum[icon]
  354. <!--{else}-->
  355. <a href="$forumurl"{if $forum[redirect]} target="_blank"{/if}><img src="{IMGDIR}/forum{if $forum[folder]}_new{/if}.gif" alt="$forum[name]" /></a>
  356. <!--{/if}-->
  357. </div>
  358. <dl{if !empty($forum[extra][iconwidth]) && !empty($forum[icon])} style="margin-left: {$forum[extra][iconwidth]}px;"{/if}>
  359. <dt><a href="$forumurl"{if $forum[redirect]} target="_blank"{/if}{if $forum[extra][namecolor]} style="color: {$forum[extra][namecolor]};"{/if}>$forum[name]</a><!--{if $forum[todayposts] && !$forum['redirect']}--><em class="xw0 xi1" title="{lang forum_todayposts}"> ($forum[todayposts])</em><!--{/if}--></dt>
  360. <!--{if empty($forum[redirect])}--><dd><em>{lang forum_threads}: <!--{echo dnumber($forum[threads])}--></em>, <em>{lang forum_posts}: <!--{echo dnumber($forum[posts])}--></em></dd><!--{/if}-->
  361. <dd>
  362. <!--{if $forum['permission'] == 1}-->
  363. {lang private_forum}
  364. <!--{else}-->
  365. <!--{if $forum['redirect']}-->
  366. <a href="$forumurl" class="xi2">{lang url_link}</a>
  367. <!--{elseif is_array($forum['lastpost'])}-->
  368. <!--{if $cat['forumcolumns'] < 3}-->
  369. <a href="forum.php?mod=redirect&tid=$forum[lastpost][tid]&goto=lastpost#lastpost" class="xi2"><!--{echo cutstr($forum[lastpost][subject], 30)}--></a> <cite>$forum[lastpost][dateline] <!--{if $forum['lastpost']['author']}-->$forum['lastpost']['author']<!--{else}-->$_G[setting][anonymoustext]<!--{/if}--></cite>
  370. <!--{else}-->
  371. <a href="forum.php?mod=redirect&tid=$forum[lastpost][tid]&goto=lastpost#lastpost">{lang forum_lastpost}: $forum[lastpost][dateline]</a>
  372. <!--{/if}-->
  373. <!--{else}-->
  374. {lang never}
  375. <!--{/if}-->
  376. <!--{/if}-->
  377. </dd>
  378. <!--{hook/index_forum_extra $forum[fid]}-->
  379. </dl>
  380. </td>
  381. <!--{else}-->
  382. <td class="fl_icn" {if !empty($forum[extra][iconwidth]) && !empty($forum[icon])} style="width: {$forum[extra][iconwidth]}px;"{/if}>
  383. <!--{if $forum[icon]}-->
  384. $forum[icon]
  385. <!--{else}-->
  386. <a href="$forumurl"{if $forum[redirect]} target="_blank"{/if}><img src="{IMGDIR}/forum{if $forum[folder]}_new{/if}.gif" alt="$forum[name]" /></a>
  387. <!--{/if}-->
  388. </td>
  389. <td>
  390. <h2><a href="$forumurl"{if $forum[redirect]} target="_blank"{/if}{if $forum[extra][namecolor]} style="color: {$forum[extra][namecolor]};"{/if}>$forum[name]</a><!--{if $forum[todayposts] && !$forum['redirect']}--><em class="xw0 xi1" title="{lang forum_todayposts}"> ($forum[todayposts])</em><!--{/if}--></h2>
  391. <!--{if $forum[description]}--><p class="xg2">$forum[description]</p><!--{/if}-->
  392. <!--{if $forum['subforums']}--><p>{lang forum_subforums}: $forum['subforums']</p><!--{/if}-->
  393. <!--{if $forum['moderators']}--><p>{lang forum_moderators}: <span class="xi2">$forum[moderators]</span></p><!--{/if}-->
  394. <!--{hook/index_forum_extra $forum[fid]}-->
  395. </td>
  396. <td class="fl_i">
  397. <!--{if empty($forum[redirect])}--><span class="xi2"><!--{echo dnumber($forum[threads])}--></span><span class="xg1"> / <!--{echo dnumber($forum[posts])}--></span><!--{/if}-->
  398. </td>
  399. <td class="fl_by">
  400. <div>
  401. <!--{if $forum['permission'] == 1}-->
  402. {lang private_forum}
  403. <!--{else}-->
  404. <!--{if $forum['redirect']}-->
  405. <a href="$forumurl" class="xi2">{lang url_link}</a>
  406. <!--{elseif is_array($forum['lastpost'])}-->
  407. <a href="forum.php?mod=redirect&tid=$forum[lastpost][tid]&goto=lastpost#lastpost" class="xi2"><!--{echo cutstr($forum[lastpost][subject], 30)}--></a> <cite>$forum[lastpost][dateline] <!--{if $forum['lastpost']['author']}-->$forum['lastpost']['author']<!--{else}-->$_G[setting][anonymoustext]<!--{/if}--></cite>
  408. <!--{else}-->
  409. {lang never}
  410. <!--{/if}-->
  411. <!--{/if}-->
  412. </div>
  413. </td>
  414. </tr>
  415. <tr class="fl_row">
  416. <!--{/if}-->
  417. <!--{/loop}-->
  418. $cat['endrows']
  419. </tr>
  420. </table>
  421. </div>
  422. </div>
  423. <!--{ad/intercat/bm a_c/$cat[fid]}-->
  424. <!--{/loop}-->
  425. <!--{if !empty($collectiondata['data'])}-->
  426. <!--{eval $forumscount = count($collectiondata['data']);}-->
  427. <!--{eval $forumcolumns = 4;}-->
  428. <!--{eval $forumcolwidth = (floor(100 / $forumcolumns) - 0.1).'%';}-->
  429. <div class="bm bmw {if $forumcolumns} flg{/if} cl">
  430. <div class="bm_h cl">
  431. <span class="o">
  432. <img id="category_-2_img" src="{IMGDIR}/$collapse['collapseimg_-2']" title="{lang spread}" alt="{lang spread}" onclick="toggle_collapse('category_-2');" />
  433. </span>
  434. <h2><a href="forum.php?mod=collection">{lang recommend_collection}</a></h2>
  435. </div>
  436. <div id="category_-2" class="bm_c" style="{echo $collapse['category_-2']}">
  437. <table cellspacing="0" cellpadding="0" class="fl_tb">
  438. <tr>
  439. <!--{eval $ctorderid = 0;}-->
  440. <!--{loop $collectiondata['data'] $key $colletion}-->
  441. <!--{if $ctorderid && ($ctorderid % $forumcolumns == 0)}-->
  442. </tr>
  443. <!--{if $ctorderid < $forumscount}-->
  444. <tr class="fl_row">
  445. <!--{/if}-->
  446. <!--{/if}-->
  447. <td class="fl_g"{if $forumcolwidth} width="$forumcolwidth"{/if}>
  448. <div class="fl_icn_g">
  449. <a href="forum.php?mod=collection&action=view&ctid={$colletion[ctid]}" target="_blank"><img src="{IMGDIR}/forum.gif" alt="$colletion[name]" /></a>
  450. </div>
  451. <dl>
  452. <dt><a href="forum.php?mod=collection&action=view&ctid={$colletion[ctid]}">$colletion[name]</a></dt>
  453. <dd><em>{lang forum_threads}: <!--{echo dnumber($colletion[threadnum])}--></em>, <em>{lang collection_commentnum}: <!--{echo dnumber($colletion[commentnum])}--></em></dd>
  454. <dd>
  455. <!--{if $colletion['lastpost']}-->
  456. <!--{if $forumcolumns < 3}-->
  457. <a href="forum.php?mod=redirect&tid=$colletion[lastpost]&goto=lastpost#lastpost" class="xi2"><!--{echo cutstr($colletion[lastsubject], 30)}--></a> <cite><!--{date($colletion[lastposttime])}--> <!--{if $colletion['lastposter']}-->$colletion['lastposter']<!--{else}-->$_G[setting][anonymoustext]<!--{/if}--></cite>
  458. <!--{else}-->
  459. <a href="forum.php?mod=redirect&tid=$colletion[lastpost]&goto=lastpost#lastpost">{lang forum_lastpost}: <!--{date($colletion[lastposttime])}--></a>
  460. <!--{/if}-->
  461. <!--{else}-->
  462. {lang never}
  463. <!--{/if}-->
  464. </dd>
  465. <!--{hook/index_datacollection_extra $colletion[ctid]}-->
  466. </dl>
  467. </td>
  468. <!--{eval $ctorderid++;}-->
  469. <!--{/loop}-->
  470. <!--{if ($columnspad = $ctorderid % $forumcolumns) > 0}--><!--{echo str_repeat('<td class="fl_g"'.($forumcolwidth ? " width=\"$forumcolwidth\"" : '').'></td>', $forumcolumns - $columnspad);}--><!--{/if}-->
  471. </tr>
  472. </table>
  473. </div>
  474. </div>
  475. <!--{/if}-->
  476. </div>
  477. <!--{hook/index_middle}-->
  478. <div class="wp mtn">
  479. <!--[diy=diy3]--><div id="diy3" class="area"></div><!--[/diy]-->
  480. </div>
  481. <!--{if empty($gid) && $_G['setting']['whosonlinestatus']}-->
  482. <div id="online" class="bm oll">
  483. <div class="bm_h">
  484. <!--{if $detailstatus}-->
  485. <span class="o"><a href="forum.php?showoldetails=no#online" title="{lang spread}"><img src="{IMGDIR}/collapsed_no.gif" alt="{lang spread}" /></a></span>
  486. <h3>
  487. <strong><a href="home.php?mod=space&do=friend&view=online&type=member">{lang onlinemember}</a></strong>
  488. <span class="xs1">- <strong>$onlinenum</strong> {lang onlines}
  489. - <strong>$membercount</strong> {lang index_members}(<strong>$invisiblecount</strong> {lang index_invisibles}),
  490. <strong>$guestcount</strong> {lang index_guests}
  491. - {lang index_mostonlines} <strong>$onlineinfo[0]</strong> {lang on} <strong>$onlineinfo[1]</strong>.</span>
  492. </h3>
  493. <!--{else}-->
  494. <!--{if empty($_G['setting']['sessionclose'])}-->
  495. <span class="o"><a href="forum.php?showoldetails=yes#online" title="{lang spread}"><img src="{IMGDIR}/collapsed_yes.gif" alt="{lang spread}" /></a></span>
  496. <!--{/if}-->
  497. <h3>
  498. <strong>
  499. <!--{if !empty($_G['setting']['whosonlinestatus'])}-->
  500. {lang onlinemember}
  501. <!--{else}-->
  502. <a href="home.php?mod=space&do=friend&view=online&type=member">{lang onlinemember}</a>
  503. <!--{/if}-->
  504. </strong>
  505. <span class="xs1">- {lang total} <strong>$onlinenum</strong> {lang onlines}
  506. <!--{if $membercount}-->- <strong>$membercount</strong> {lang index_members},<strong>$guestcount</strong> {lang index_guests}<!--{/if}-->
  507. - {lang index_mostonlines} <strong>$onlineinfo[0]</strong> {lang on} <strong>$onlineinfo[1]</strong>.</span>
  508. </h3>
  509. <!--{/if}-->
  510. </div>
  511. <!--{if $_G['setting']['whosonlinestatus'] && $detailstatus}-->
  512. <dl id="onlinelist" class="bm_c">
  513. <dt class="ptm pbm bbda">$_G[cache][onlinelist][legend]</dt>
  514. <!--{if $detailstatus}-->
  515. <dd class="ptm pbm">
  516. <ul class="cl">
  517. <!--{if $whosonline}-->
  518. <!--{loop $whosonline $key $online}-->
  519. <li title="{lang time}: $online[lastactivity]">
  520. <img src="{STATICURL}image/common/$online[icon]" alt="icon" />
  521. <!--{if $online['uid']}-->
  522. <a href="home.php?mod=space&uid=$online[uid]">$online[username]</a>
  523. <!--{else}-->
  524. $online[username]
  525. <!--{/if}-->
  526. </li>
  527. <!--{/loop}-->
  528. <!--{else}-->
  529. <li style="width: auto">{lang online_only_guests}</li>
  530. <!--{/if}-->
  531. </ul>
  532. </dd>
  533. <!--{/if}-->
  534. </dl>
  535. <!--{/if}-->
  536. </div>
  537. <!--{/if}-->
  538. <!--{if empty($gid) && ($_G['cache']['forumlinks'][0] || $_G['cache']['forumlinks'][1] || $_G['cache']['forumlinks'][2])}-->
  539. <div class="bm lk">
  540. <div id="category_lk" class="bm_c ptm">
  541. <!--{if $_G['cache']['forumlinks'][0]}-->
  542. <ul class="m mbn cl">$_G['cache']['forumlinks'][0]</ul>
  543. <!--{/if}-->
  544. <!--{if $_G['cache']['forumlinks'][1]}-->
  545. <div class="mbn cl">
  546. $_G['cache']['forumlinks'][1]
  547. </div>
  548. <!--{/if}-->
  549. <!--{if $_G['cache']['forumlinks'][2]}-->
  550. <ul class="x mbm cl">
  551. $_G['cache']['forumlinks'][2]
  552. </ul>
  553. <!--{/if}-->
  554. </div>
  555. </div>
  556. <!--{/if}-->
  557. <!--{hook/index_bottom}-->
  558. </div>
  559. </div>
  560. <div id="sd" class="sd wk_f_sd">
  561. <!--{hook/index_side_top}-->
  562. <div class="drag">
  563. <!--[diy=diy2]--><div id="diy2" class="area"></div><!--[/diy]-->
  564. </div>
  565. <div class="wk_kd260 padding15 backfff">
  566. <a onclick="showWindow('nav', this.href, 'get', 0)" href="forum.php?mod=misc&amp;action=nav" title="$forum_lang[27]" class="wk_tzpost"><i class="icon wk_tzpost_icon1"></i><span>$forum_lang[27]</span></a>
  567. <a href="plugin.php?id=dsu_paulsign:sign" title="$forum_lang[29]" class="wk_tzpost"><i class="icon wk_tzpost_icon3"></i><span>$forum_lang[29]</span></a>
  568. <div class="clear"></div>
  569. </div>
  570. <div class="clear"></div>
  571. <div class="backfff wk_bk_search">
  572. <!--{template common/forum_pubsearchform}-->
  573. <div class="clear"></div>
  574. </div>
  575. <div class="clear"></div>
  576. <div class="wk_lbbkx backfff">
  577. <div class="wk_rmbk">
  578. <span class="wk_spat">$forum_lang[11]</span>
  579. <div class="clear"></div>
  580. <!--[diy=wk_rmbk_diy]--><div id="wk_rmbk_diy" class="area"><div id="framearcX8H" class=" frame move-span cl frame-1"><div id="framearcX8H_left" class="column frame-1-c"><div id="framearcX8H_left_temp" class="move-span temp"></div><!--{block/3}--></div></div></div><!--[/diy]-->
  581. </div>
  582. </div>
  583. <div class="clear"></div>
  584. <div class="mb10"><!--[diy=wk_bkad_diy1]--><div id="wk_bkad_diy1" class="area"></div><!--[/diy]--></div>
  585. <div class="clear"></div>
  586. <div class="wk_kd260 padding15 backfff">
  587. <div class="wk_bktjtz">
  588. <span class="wk_spae">$forum_lang[12]</span>
  589. <div class="clear"></div>
  590. <!--[diy=wk_tjtz_diy]--><div id="wk_tjtz_diy" class="area"><div id="framexZX26S" class=" frame move-span cl frame-1"><div id="framexZX26S_left" class="column frame-1-c"><div id="framexZX26S_left_temp" class="move-span temp"></div><!--{block/4}--></div></div></div><!--[/diy]-->
  591. </div>
  592. </div>
  593. <div class="clear"></div>
  594. <div class="wk_kd260 padding15 backfff">
  595. <div class="wk_bktwrt">
  596. <span class="wk_spaf">$forum_lang[13]</span>
  597. <div class="clear"></div>
  598. <!--[diy=wk_twrt_diy]--><div id="wk_twrt_diy" class="area"><div id="frameBNK7gb" class=" frame move-span cl frame-1"><div id="frameBNK7gb_left" class="column frame-1-c"><div id="frameBNK7gb_left_temp" class="move-span temp"></div><!--{block/6}--></div></div></div><!--[/diy]-->
  599. </div>
  600. </div>
  601. <div class="clear"></div>
  602. <div class="backfff mb10"><!--[diy=wk_bkad_diy2]--><div id="wk_bkad_diy2" class="area"><div id="frameTbYl6D" class=" frame move-span cl frame-1"><div id="frameTbYl6D_left" class="column frame-1-c"><div id="frameTbYl6D_left_temp" class="move-span temp"></div></div></div></div><!--[/diy]--></div>
  603. <div class="clear"></div>
  604. <div class="wk_kd260 padding15 backfff">
  605. <div class="wk_opkf">
  606. <span class="wk_spac">$forum_lang[14]</span>
  607. <div class="clear"></div>
  608. <div class="wk_topyb cl">
  609. <p class="wk_font1">$forum_lang[15]</p>
  610. <p class="wk_font2">$forum_lang[16]</p>
  611. </div>
  612. <ul class="cl">
  613. <li><a href="$forum_lang[18]" target="_blank" title="$forum_lang[17]"><i class="wk_ico1"></i>$forum_lang[17]</a></li>
  614. <li class="last"><a target="_blank" href="$forum_lang[20]" title="$forum_lang[19]"><i class="wk_ico2"></i>$forum_lang[19]</a></li>
  615. <li><a target="_blank" href="$forum_lang[22]" title="$forum_lang[21]"><i class="wk_ico3"></i>$forum_lang[21]</a></li>
  616. <li class="last"><a target="_blank" href="$forum_lang[24]" title="$forum_lang[23]"><i class="wk_ico3"></i>$forum_lang[23]</a></li>
  617. </ul>
  618. </div>
  619. </div>
  620. <div class="clear"></div>
  621. <div class="mb10"><!--[diy=wk_bkad_diy3]--><div id="wk_bkad_diy3" class="area"></div><!--[/diy]--></div>
  622. <div class="clear"></div>
  623. <!--{hook/index_side_bottom}-->
  624. </div>
  625. <!--{if $_G['setting']['forumallowside']}-->
  626. <!--{/if}-->
  627. </div>
  628. <script type="text/javascript" src="$_G['style'][styleimgdir]/js/jquery-week.js"></script>
  629. <!--{if $_G['group']['radminid'] == 1}-->
  630. <!--{eval helper_manyou::checkupdate();}-->
  631. <!--{/if}-->
  632. <!--{if empty($_G['setting']['disfixednv_forumindex']) }--><script>fixed_top_nv();</script><!--{/if}-->
  633. <!--{template common/footer}-->