forumdisplay.php 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  1. <?php echo '思维定制 QQ277718133';exit;?>
  2. <!--{template common/header}-->
  3. <!-- header start -->
  4. <header class="header">
  5. <div class="n5-bbslb">
  6. <div class="n5-lbftan n5-anzj y"><a href="forum.php?mod=post&action=newthread&fid=$_G[fid]" title="{lang send_threads}">{lang send_threads}</a></div>
  7. <div class="n5-lbftan y"><a href="forum.php?forumlist=1">返回</a></div>
  8. <img class="z" alt="$_G['forum'][name]" src="<!--{if $_G['forum'][icon]}-->data/attachment/common/$_G['forum'][icon]<!--{else}-->template/zhikai_baibiansj/touch/style/forum.png<!--{/if}-->">
  9. <h3><a href="forum.php?mod=forumdisplay&fid=$_G[fid]">$_G['forum'][name]</a></h3>
  10. <i>主题:$_G[forum][threads] 新帖:$_G[forum][todayposts]</i>
  11. </div>
  12. </header>
  13. <!-- header end -->
  14. <!--{if $quicksearchlist && !$_GET['archiveid']}-->
  15. <!--{/if}-->
  16. <!--{if ($_G['forum']['threadtypes'] && $_G['forum']['threadtypes']['listable']) || $_G['forum']['threadsorts']}-->
  17. <div class="n5-ztfl" style="display:block">
  18. <!--{if $_G['forum']['threadtypes']}-->
  19. <a href="forum.php?mod=forumdisplay&fid=$_G[fid]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}" class="<!--{if $_GET['filter'] != 'typeid'}-->a<!--{/if}-->">{lang forum_viewall}</a>
  20. <!--{loop $_G['forum']['threadtypes']['types'] $id $name}-->
  21. <a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=typeid&typeid=$id$forumdisplayadd[typeid]" {if $_GET['filter'] == 'typeid' && $_GET['typeid'] == $id} class="a"{/if}>$name</a>
  22. <!--{/loop}-->
  23. <!--{/if}-->
  24. <!--{if $_G['forum']['threadsorts']}-->
  25. <!--{loop $_G['forum']['threadsorts']['types'] $id $name}-->
  26. <a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=sortid&sortid=$id$forumdisplayadd[sortid]" class="<!--{if $_GET[sortid] == $id}-->a<!--{/if}-->">$name</a>
  27. <!--{/loop}-->
  28. <!--{/if}-->
  29. </div>
  30. <!--{subtemplate forum/search_sortoption}-->
  31. <!--{/if}-->
  32. <!--{hook/forumdisplay_top_mobile}-->
  33. <!-- main threadlist start -->
  34. <!--{if !$subforumonly}-->
  35. <!--{if empty($_G['forum']['picstyle']) || $_G['cookie']['forumdefstyle']}-->
  36. <div class="threadlist n5-ztlb">
  37. <ul>
  38. <!--{if $_G['forum_threadcount']}-->
  39. <!--{loop $_G['forum_threadlist'] $key $thread}-->
  40. <!--{if !$_G['setting']['mobile']['mobiledisplayorder3'] && $thread['displayorder'] > 0}-->
  41. {eval continue;}
  42. <!--{/if}-->
  43. <!--{if $thread['displayorder'] > 0 && !$displayorder_thread}-->
  44. {eval $displayorder_thread = 1;}
  45. <!--{/if}-->
  46. <!--{if $thread['moved']}-->
  47. <!--{eval $thread[tid]=$thread[closed];}-->
  48. <!--{/if}-->
  49. <li>
  50. <span class="z"><img src="uc_server/avatar.php?uid=$thread[authorid]&size=small"></span>
  51. <!--{hook/forumdisplay_thread_mobile $key}-->
  52. <a href="forum.php?mod=viewthread&tid=$thread[tid]&extra=$extra" $thread[highlight] >
  53. {$thread[subject]}
  54. <span class="by">$thread[author]</span>
  55. </a>
  56. <span class="num">{$thread[replies]}</span>
  57. <!--{if in_array($thread['displayorder'], array(1, 2, 3, 4))}-->
  58. <span class="icon_top"><img src="{STATICURL}image/mobile/images/icon_top.png"></span>
  59. <!--{elseif $thread['digest'] > 0}-->
  60. <span class="icon_top"><img src="{STATICURL}image/mobile/images/icon_digest.png"></span>
  61. <!--{elseif $thread['attachment'] == 2 && $_G['setting']['mobile']['mobilesimpletype'] == 0}-->
  62. <span class="icon_tu"><img src="{STATICURL}image/mobile/images/icon_tu.png"></span>
  63. <!--{/if}-->
  64. </li>
  65. <!--{/loop}-->
  66. <!--{else}-->
  67. <li>{lang forum_nothreads}</li>
  68. <!--{/if}-->
  69. </ul>
  70. </div>
  71. <!--{else}-->
  72. <div class="n5-pbl">
  73. <ul>
  74. <!--{if $_G['forum_threadcount']}-->
  75. <!--{loop $_G['forum_threadlist'] $key $thread}-->
  76. <!--{if !$_G['setting']['mobile']['mobiledisplayorder3'] && $thread['displayorder'] > 0}-->
  77. {eval continue;}
  78. <!--{/if}-->
  79. <!--{if $thread['displayorder'] > 0 && !$displayorder_thread}-->
  80. {eval $displayorder_thread = 1;}
  81. <!--{/if}-->
  82. <!--{if $thread['moved']}-->
  83. <!--{eval $thread[tid]=$thread[closed];}-->
  84. <!--{/if}-->
  85. <li class="n5-pbldg">
  86. <a href="forum.php?mod=viewthread&tid=$thread[tid]&extra=$extra" >
  87. <!--{if $thread['cover']}-->
  88. <img src="$thread[coverpath]" class=""/>
  89. <!--{else}-->
  90. <img src="template/zhikai_baibiansj/touch/style/mtts.png" class=""/>
  91. <!--{/if}-->
  92. </a>
  93. <!--{hook/forumdisplay_thread_mobile $key}-->
  94. <div class="n5-pblnr">
  95. <a href="forum.php?mod=viewthread&tid=$thread[tid]&extra=$extra"><h2 class="n5-pblbt">{$thread[subject]}</h2></a>
  96. </div>
  97. </li>
  98. <!--{/loop}-->
  99. <!--{else}-->
  100. <li>{lang forum_nothreads}</li>
  101. <!--{/if}-->
  102. </ul>
  103. </div>
  104. <!--{/if}-->
  105. $multipage
  106. <!--{/if}-->
  107. <!-- main threadlist end -->
  108. <!--{hook/forumdisplay_bottom_mobile}-->
  109. <div class="pullrefresh" style="display:none;"></div>
  110. <div class="n5-lbydb"></div>
  111. <!--底部菜单-->
  112. <div id="contactbar">
  113. <a href="forum.php?mod=guide&view=hot" class="bottom_index"></a>
  114. <a href="forum.php?forumlist=1" class="bottom_history_on"></a>
  115. <a href="forum.php?mod=misc&action=nav" class="bottom_post"></a>
  116. <a href="<!--{if $_G[uid]}-->home.php?mod=space&uid=$_G[uid]&do=profile&mycenter=1<!--{else}-->member.php?mod=logging&action=login<!--{/if}-->" class="bottom_member"></a>
  117. </div>
  118. <!--{hook/global_footer_mobile}-->
  119. <!--{eval $useragent = strtolower($_SERVER['HTTP_USER_AGENT']);$clienturl = ''}-->
  120. <!--{if strpos($useragent, 'iphone') !== false || strpos($useragent, 'ios') !== false}-->
  121. <!--{eval $clienturl = $_G['cache']['mobileoem_data']['iframeUrl'] ? $_G['cache']['mobileoem_data']['iframeUrl'].'&platform=ios' : 'http://www.discuz.net/mobile.php?platform=ios';}-->
  122. <!--{elseif strpos($useragent, 'android') !== false}-->
  123. <!--{eval $clienturl = $_G['cache']['mobileoem_data']['iframeUrl'] ? $_G['cache']['mobileoem_data']['iframeUrl'].'&platform=android' : 'http://www.discuz.net/mobile.php?platform=android';}-->
  124. <!--{elseif strpos($useragent, 'windows phone') !== false}-->
  125. <!--{eval $clienturl = $_G['cache']['mobileoem_data']['iframeUrl'] ? $_G['cache']['mobileoem_data']['iframeUrl'].'&platform=windowsphone' : 'http://www.discuz.net/mobile.php?platform=windowsphone';}-->
  126. <!--{/if}-->
  127. <div id="mask" style="display:none;"></div>
  128. </body>
  129. </html>
  130. <!--{eval updatesession();}-->
  131. <!--{if defined('IN_MOBILE')}-->
  132. <!--{eval output();}-->
  133. <!--{else}-->
  134. <!--{eval output_preview();}-->
  135. <!--{/if}-->