tagitem.htm 8.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  1. <!--{template common/header}-->
  2. <!--{if $tagname}-->
  3. <div id="pt" class="bm cl">
  4. <div class="z">
  5. <a href="./" class="nvhm" title="{lang homepage}">$_G[setting][bbname]</a> <em>&rsaquo;</em>
  6. <a href="misc.php?mod=tag">{lang tag}</a>
  7. <!--{if $tagname}-->
  8. <em>&rsaquo;</em>
  9. <a href="misc.php?mod=tag&id=$id">$tagname</a>
  10. <!--{/if}-->
  11. <!--{if $showtype == 'thread'}-->
  12. <em>&rsaquo;</em> {lang related_thread}
  13. <!--{/if}-->
  14. <!--{if $showtype == 'blog'}-->
  15. <em>&rsaquo;</em> {lang related_blog}
  16. <!--{/if}-->
  17. </div>
  18. </div>
  19. <div id="ct" class="wp cl">
  20. <h1 class="mt"><img class="vm" src="{IMGDIR}/tag.gif" alt="tag" /> {lang tag}: $tagname</h1>
  21. <!--{if empty($showtype) || $showtype == 'thread'}-->
  22. <div class="bm tl">
  23. <div class="th">
  24. <table cellspacing="0" cellpadding="0">
  25. <tr>
  26. <th><h2>{lang related_thread}</h2></th>
  27. <td class="by">{lang forum}</td>
  28. <td class="by">{lang author}</td>
  29. <td class="num">{lang replies}</td>
  30. <td class="by">{lang lastpost}</td>
  31. </tr>
  32. </table>
  33. </div>
  34. <div class="bm_c">
  35. <!--{if $threadlist}-->
  36. <table cellspacing="0" cellpadding="0">
  37. <!--{loop $threadlist $thread}-->
  38. <tr>
  39. <td class="icn">
  40. <a href="forum.php?mod=viewthread&tid=$thread[tid]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}" title="{lang target_blank}" target="_blank">
  41. <!--{if $thread[folder] == 'lock'}-->
  42. <img src="{IMGDIR}/folder_lock.gif" />
  43. <!--{elseif $thread['special'] == 1}-->
  44. <img src="{IMGDIR}/pollsmall.gif" alt="{lang thread_poll}" />
  45. <!--{elseif $thread['special'] == 2}-->
  46. <img src="{IMGDIR}/tradesmall.gif" alt="{lang thread_trade}" />
  47. <!--{elseif $thread['special'] == 3}-->
  48. <img src="{IMGDIR}/rewardsmall.gif" alt="{lang thread_reward}" />
  49. <!--{elseif $thread['special'] == 4}-->
  50. <img src="{IMGDIR}/activitysmall.gif" alt="{lang thread_activity}" />
  51. <!--{elseif $thread['special'] == 5}-->
  52. <img src="{IMGDIR}/debatesmall.gif" alt="{lang thread_debate}" />
  53. <!--{elseif in_array($thread['displayorder'], array(1, 2, 3, 4))}-->
  54. <img src="{IMGDIR}/pin_$thread[displayorder].gif" alt="$_G[setting][threadsticky][3-$thread[displayorder]]" />
  55. <!--{else}-->
  56. <img src="{IMGDIR}/folder_$thread[folder].gif" />
  57. <!--{/if}-->
  58. </td>
  59. <th>
  60. <a href="forum.php?mod=viewthread&tid=$thread[tid]" target="_blank" $thread[highlight]>$thread['subject']</a>
  61. <!--{if $thread['readperm']}--> - [{lang readperm} <span class="xw1">$thread[readperm]</span>]<!--{/if}-->
  62. <!--{if $thread['price'] > 0}-->
  63. <!--{if $thread['special'] == '3'}-->
  64. - <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>
  65. <!--{else}-->
  66. - [{lang price} <span class="xw1">$thread[price]</span> {$_G[setting][extcredits][$_G['setting']['creditstransextra'][1]][unit]}{$_G[setting][extcredits][$_G['setting']['creditstransextra'][1]][title]}]
  67. <!--{/if}-->
  68. <!--{elseif $thread['special'] == '3' && $thread['price'] < 0}-->
  69. - [{lang reward_solved}]
  70. <!--{/if}-->
  71. <!--{if $thread['attachment'] == 2}-->
  72. <img src="{STATICURL}image/filetype/image_s.gif" alt="attach_img" title="{lang attach_img}" align="absmiddle" />
  73. <!--{elseif $thread['attachment'] == 1}-->
  74. <img src="{STATICURL}image/filetype/common.gif" alt="attachment" title="{lang attachment}" align="absmiddle" />
  75. <!--{/if}-->
  76. <!--{if $thread['digest'] > 0 && $filter != 'digest'}-->
  77. <img src="{IMGDIR}/digest_$thread[digest].gif" align="absmiddle" alt="digest" title="{lang thread_digest} $thread[digest]" />
  78. <!--{/if}-->
  79. </th>
  80. <td class="by"><a href="forum.php?mod=forumdisplay&fid=$thread[fid]">$thread['forumname']</a></td>
  81. <td class="by">
  82. <cite>
  83. <!--{if $thread['authorid'] && $thread['author']}-->
  84. <a href="home.php?mod=space&uid=$thread[authorid]" c="1">$thread[author]</a>
  85. <!--{else}-->
  86. {lang anonymous}
  87. <!--{/if}-->
  88. </cite>
  89. <em><span{if $thread['istoday']} class="xi1"{/if}>$thread[dateline]</span></em>
  90. </td>
  91. <td class="num">
  92. <a href="forum.php?mod=viewthread&tid=$thread[tid]" class="xi2">$thread[replies]</a>
  93. <em>$thread[views]</em>
  94. </td>
  95. <td class="by">
  96. <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}" c="1">$thread[lastposter]</a><!--{else}-->$_G[setting][anonymoustext]<!--{/if}--></cite>
  97. <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>
  98. </td>
  99. </tr>
  100. <!--{/loop}-->
  101. </table>
  102. <!--{if empty($showtype)}-->
  103. <div class="ptm">
  104. <a class="xi2" href="misc.php?mod=tag&id=$id&type=thread">{lang more}...</a>
  105. </div>
  106. <!--{else}-->
  107. <!--{if $multipage}--><div class="pgs mtm cl">$multipage</div><!--{/if}-->
  108. <!--{/if}-->
  109. <!--{else}-->
  110. <p class="emp">{lang no_content}</p>
  111. <!--{/if}-->
  112. </div>
  113. </div>
  114. <!--{/if}-->
  115. <!--{if helper_access::check_module('blog') && (empty($showtype) || $showtype == 'blog')}-->
  116. <div class="bm">
  117. <div class="bm_h">
  118. <h2>{lang related_blog}</h2>
  119. </div>
  120. <div class="bm_c">
  121. <!--{if $bloglist}-->
  122. <div class="xld xlda">
  123. <!--{loop $bloglist $blog}-->
  124. <dl class="bbda">
  125. <dd class="m">
  126. <div class="avt"><a href="home.php?mod=space&uid=$blog[uid]" target="_blank" c="1"><!--{avatar($blog[uid],small)}--></a></div>
  127. </dd>
  128. <dt class="xs2">
  129. <!--{if helper_access::check_module('share')}-->
  130. <a href="home.php?mod=spacecp&ac=share&type=blog&id=$blog[blogid]&handlekey=lsbloghk_{$blog[blogid]}" id="a_share_$blog[blogid]" onclick="showWindow(this.id, this.href, 'get', 0);" class="oshr xs1 xw0">{lang share}</a>
  131. <!--{/if}-->
  132. <a href="home.php?mod=space&uid=$blog[uid]&do=blog&id=$blog[blogid]" target="_blank">$blog['subject']</a>
  133. </dt>
  134. <dd>
  135. <!--{if $blog['hot']}--><span class="hot">{lang hot} <em>$blog[hot]</em> </span><!--{/if}-->
  136. <a href="home.php?mod=space&uid=$blog[uid]" target="_blank">$blog[username]</a> <span class="xg1">$blog[dateline]</span>
  137. </dd>
  138. <dd class="cl" id="blog_article_$blog[blogid]">
  139. <!--{if $blog[pic]}--><div class="atc"><a href="home.php?mod=space&uid=$blog[uid]&do=blog&id=$blog[blogid]" target="_blank"><img src="$blog[pic]" alt="$blog[subject]" class="tn" /></a></div><!--{/if}-->
  140. $blog[message]
  141. </dd>
  142. <dd class="xg1">
  143. <!--{if $blog[classname]}-->{lang personal_category}: <a href="home.php?mod=space&uid=$blog[uid]&do=blog&classid=$blog[classid]&view=me" target="_blank">{$blog[classname]}</a><span class="pipe">|</span><!--{/if}-->
  144. <!--{if $blog[viewnum]}--><a href="home.php?mod=space&uid=$blog[uid]&do=blog&id=$blog[blogid]" target="_blank">$blog[viewnum] {lang blog_read}</a><span class="pipe">|</span><!--{/if}-->
  145. <a href="home.php?mod=space&uid=$blog[uid]&do=blog&id=$blog[blogid]#comment" target="_blank"><span id="replynum_$blog[blogid]">$blog[replynum]</span> {lang blog_replay}</a>
  146. </dd>
  147. </dl>
  148. <!--{/loop}-->
  149. </div>
  150. <!--{if empty($showtype)}-->
  151. <div class="ptm">
  152. <a class="xi2" href="misc.php?mod=tag&id=$id&type=blog">{lang more}...</a>
  153. </div>
  154. <!--{else}-->
  155. <!--{if $multipage}--><div class="pgs mtm cl">$multipage</div><!--{/if}-->
  156. <!--{/if}-->
  157. <!--{else}-->
  158. <p class="emp">{lang no_content}</p>
  159. <!--{/if}-->
  160. </div>
  161. </div>
  162. <!--{/if}-->
  163. </div>
  164. <!--{else}-->
  165. <div id="ct" class="wp cl">
  166. <h1 class="mt"><img class="vm" src="{IMGDIR}/tag.gif" alt="tag" /> {lang tag}: $searchtagname</h1>
  167. <div class="bm">
  168. <div class="bm_c">
  169. <form method="post" action="misc.php?mod=tag" class="pns">
  170. <input type="text" name="name" class="px vm" size="30" />&nbsp;
  171. <button type="submit" class="pn vm"><em>{lang search}</em></button>
  172. </form>
  173. <div class="taglist mtm mbm"><p class="emp">{lang empty_tags}</p></div>
  174. </div>
  175. </div>
  176. </div>
  177. <!--{/if}-->
  178. <!--{template common/footer}-->