Advertisement
slek_12000

viewforum_body.html

Oct 11th, 2014
446
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.12 KB | None | 0 0
  1. <!-- INCLUDE overall_header.html -->
  2. <!-- IF U_MCP --><p>[&nbsp;<a href="{U_MCP}">{L_MCP}</a>&nbsp;]</p><!-- ENDIF -->
  3. <h2><a href="{U_VIEW_FORUM}">{FORUM_NAME}</a></h2>
  4.  
  5. <!-- IF FORUM_DESC or MODERATORS or U_MCP -->
  6. <div>
  7. <!-- NOTE: remove the style="display: none" when you want to have the forum description on the forum body -->
  8. <!-- IF FORUM_DESC --><div style="display: none !important;">{FORUM_DESC}<br /></div><!-- ENDIF -->
  9. <!-- IF MODERATORS --><p><strong><!-- IF S_SINGLE_MODERATOR -->{L_MODERATOR}<!-- ELSE -->{L_MODERATORS}<!-- ENDIF -->:</strong> {MODERATORS}</p><!-- ENDIF -->
  10. </div>
  11. <!-- ENDIF -->
  12.  
  13. <!-- IF S_FORUM_RULES -->
  14. <div class="rules">
  15. <div class="inner"><span class="corners-top"><span></span></span>
  16.  
  17. <!-- IF U_FORUM_RULES -->
  18. <a href="{U_FORUM_RULES}">{L_FORUM_RULES}</a>
  19. <!-- ELSE -->
  20. <strong>{L_FORUM_RULES}</strong><br />
  21. {FORUM_RULES}
  22. <!-- ENDIF -->
  23.  
  24. <span class="corners-bottom"><span></span></span></div>
  25. </div>
  26. <!-- ENDIF -->
  27.  
  28. <!-- IF S_HAS_SUBFORUM -->
  29. <!-- IF not S_IS_BOT and U_MARK_FORUMS -->
  30. <ul class="linklist">
  31. <li class="rightside"><a href="{U_MARK_FORUMS}">{L_MARK_SUBFORUMS_READ}</a></li>
  32. </ul>
  33. <!-- ENDIF -->
  34. <!-- INCLUDE forumlist_body.html -->
  35. <!-- ENDIF -->
  36.  
  37. <!-- IF S_DISPLAY_POST_INFO or PAGINATION or TOTAL_POSTS or TOTAL_TOPICS -->
  38. <div class="topic-actions" <!-- IF S_HAS_SUBFORUM -->style="margin-top: 2em;"<!-- ENDIF -->>
  39.  
  40. <!-- IF not S_IS_BOT and S_DISPLAY_POST_INFO -->
  41. <div class="buttons">
  42. <div class="<!-- IF S_IS_LOCKED -->locked-icon<!-- ELSE -->post-icon<!-- ENDIF -->" title="<!-- IF S_IS_LOCKED -->{L_FORUM_LOCKED}<!-- ELSE -->{L_POST_TOPIC}<!-- ENDIF -->"><a href="{U_POST_NEW_TOPIC}"><span></span><!-- IF S_IS_LOCKED -->{L_FORUM_LOCKED}<!-- ELSE -->{L_POST_TOPIC}<!-- ENDIF --></a></div>
  43. </div>
  44. <!-- ENDIF -->
  45.  
  46. <!-- IF S_DISPLAY_SEARCHBOX -->
  47. <div class="search-box">
  48. <form method="get" id="forum-search" action="{S_SEARCHBOX_ACTION}">
  49. <fieldset>
  50. <input class="inputbox search tiny" type="text" name="keywords" id="search_keywords" size="20" value="{L_SEARCH_FORUM}" onclick="if (this.value == '{LA_SEARCH_FORUM}') this.value = '';" onblur="if (this.value == '') this.value = '{LA_SEARCH_FORUM}';" />
  51. <input class="button2" type="submit" value="{L_SEARCH}" />
  52. {S_SEARCH_LOCAL_HIDDEN_FIELDS}
  53. </fieldset>
  54. </form>
  55. </div>
  56. <!-- ENDIF -->
  57.  
  58. <!-- IF PAGINATION or TOTAL_POSTS or TOTAL_TOPICS -->
  59. <div class="pagination">
  60. <!-- IF not S_IS_BOT and U_MARK_TOPICS --><a href="{U_MARK_TOPICS}" accesskey="m">{L_MARK_TOPICS_READ}</a> &bull; <!-- ENDIF --><!-- IF TOTAL_TOPICS -->{TOTAL_TOPICS}<!-- ENDIF -->
  61. <!-- IF PAGE_NUMBER -->
  62. <!-- IF PAGINATION --> &bull; <a href="#" onclick="jumpto(); return false;" title="{L_JUMP_TO_PAGE}">{PAGE_NUMBER}</a> &bull; <span>{PAGINATION}</span><!-- ELSE --> &bull; {PAGE_NUMBER}<!-- ENDIF -->
  63. <!-- ENDIF -->
  64. </div>
  65. <!-- ENDIF -->
  66.  
  67. </div>
  68. <!-- ENDIF -->
  69.  
  70. <!-- IF S_NO_READ_ACCESS -->
  71.  
  72. <div class="panel">
  73. <div class="inner"><span class="corners-top"><span></span></span>
  74. <strong>{L_NO_READ_ACCESS}</strong>
  75. <span class="corners-bottom"><span></span></span></div>
  76. </div>
  77.  
  78. <!-- IF not S_USER_LOGGED_IN and not S_IS_BOT -->
  79.  
  80. <form action="{S_LOGIN_ACTION}" method="post">
  81.  
  82. <div class="panel">
  83. <div class="inner"><span class="corners-top"><span></span></span>
  84.  
  85. <div class="content">
  86. <h3><a href="{U_LOGIN_LOGOUT}">{L_LOGIN_LOGOUT}</a><!-- IF S_REGISTER_ENABLED -->&nbsp; &bull; &nbsp;<a href="{U_REGISTER}">{L_REGISTER}</a><!-- ENDIF --></h3>
  87.  
  88. <fieldset class="fields1">
  89. <dl>
  90. <dt><label for="username">{L_USERNAME}:</label></dt>
  91. <dd><input type="text" tabindex="1" name="username" id="username" size="25" value="{USERNAME}" class="inputbox autowidth" /></dd>
  92. </dl>
  93. <dl>
  94. <dt><label for="password">{L_PASSWORD}:</label></dt>
  95. <dd><input type="password" tabindex="2" id="password" name="password" size="25" class="inputbox autowidth" /></dd>
  96. <!-- IF S_AUTOLOGIN_ENABLED --><dd><label for="autologin"><input type="checkbox" name="autologin" id="autologin" tabindex="3" /> {L_LOG_ME_IN}</label></dd><!-- ENDIF -->
  97. <dd><label for="viewonline"><input type="checkbox" name="viewonline" id="viewonline" tabindex="4" /> {L_HIDE_ME}</label></dd>
  98. </dl>
  99. <dl>
  100. <dt>&nbsp;</dt>
  101. <dd><input type="submit" name="login" tabindex="5" value="{L_LOGIN}" class="button1" /></dd>
  102. </dl>
  103. {S_LOGIN_REDIRECT}
  104. </fieldset>
  105. </div>
  106.  
  107. <span class="corners-bottom"><span></span></span></div>
  108. </div>
  109.  
  110. </form>
  111.  
  112. <!-- ENDIF -->
  113.  
  114. <!-- ENDIF -->
  115.  
  116. <!-- BEGIN topicrow -->
  117.  
  118. <!-- IF not topicrow.S_TOPIC_TYPE_SWITCH and not topicrow.S_FIRST_ROW -->
  119. </ul>
  120. <span class="corners-bottom"><span></span></span></div>
  121. </div>
  122. <!-- ENDIF -->
  123.  
  124. <!-- IF topicrow.S_FIRST_ROW or not topicrow.S_TOPIC_TYPE_SWITCH -->
  125. <div class="forumbg<!-- IF topicrow.S_TOPIC_TYPE_SWITCH and (topicrow.S_POST_ANNOUNCE or topicrow.S_POST_GLOBAL) --> announcement<!-- ENDIF -->">
  126. <div class="inner"><span class="corners-top"><span></span></span>
  127. <ul class="topiclist">
  128. <li class="header">
  129. <dl class="icon">
  130. <dt><!-- IF S_DISPLAY_ACTIVE -->{L_ACTIVE_TOPICS}<!-- ELSEIF topicrow.S_TOPIC_TYPE_SWITCH and (topicrow.S_POST_ANNOUNCE or topicrow.S_POST_GLOBAL) -->{L_ANNOUNCEMENTS}<!-- ELSE -->{L_TOPICS}<!-- ENDIF --></dt>
  131. <dd class="posts">{L_REPLIES}</dd>
  132. <dd class="views">{L_VIEWS}</dd>
  133. <dd class="lastpost"><span>{L_LAST_POST}</span></dd>
  134. </dl>
  135. </li>
  136. </ul>
  137. <ul class="topiclist topics">
  138. <!-- ENDIF -->
  139.  
  140. <li class="row<!-- IF topicrow.S_ROW_COUNT is even --> bg1<!-- ELSE --> bg2<!-- ENDIF --><!-- IF topicrow.S_POST_GLOBAL --> global-announce<!-- ENDIF --><!-- IF topicrow.S_POST_ANNOUNCE --> announce<!-- ENDIF --><!-- IF topicrow.S_POST_STICKY --> sticky<!-- ENDIF --><!-- IF topicrow.S_TOPIC_REPORTED --> reported<!-- ENDIF -->">
  141. <dl class="icon" style="background-image: url({topicrow.TOPIC_FOLDER_IMG_SRC}); background-repeat: no-repeat;">
  142. <dt<!-- IF topicrow.TOPIC_ICON_IMG and S_TOPIC_ICONS --> style="background-image: url({T_ICONS_PATH}{topicrow.TOPIC_ICON_IMG}); background-repeat: no-repeat;"<!-- ENDIF --> title="{topicrow.TOPIC_FOLDER_IMG_ALT}"><!-- IF topicrow.S_TOPIC_ATTR -->{topicrow.TOPIC_ATTRIBUTE} <!-- ENDIF --><!-- IF topicrow.S_UNREAD_TOPIC --><a href="{topicrow.U_NEWEST_POST}">{NEWEST_POST_IMG}</a> <!-- ENDIF --><a href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{topicrow.TOPIC_TITLE}</a>
  143. <!-- IF topicrow.S_TOPIC_UNAPPROVED or topicrow.S_POSTS_UNAPPROVED --><a href="{topicrow.U_MCP_QUEUE}">{topicrow.UNAPPROVED_IMG}</a> <!-- ENDIF -->
  144. <!-- IF topicrow.S_TOPIC_REPORTED --><a href="{topicrow.U_MCP_REPORT}">{REPORTED_IMG}</a><!-- ENDIF --><br />
  145. <!-- IF topicrow.PAGINATION --><strong class="pagination"><span>{topicrow.PAGINATION}</span></strong><!-- ENDIF -->
  146. <!-- IF topicrow.ATTACH_ICON_IMG -->{topicrow.ATTACH_ICON_IMG} <!-- ENDIF -->{L_POST_BY_AUTHOR} {topicrow.TOPIC_AUTHOR_FULL} &raquo; {topicrow.FIRST_POST_TIME}
  147. </dt>
  148. <dd class="posts">{topicrow.REPLIES} <dfn>{L_REPLIES}</dfn></dd>
  149. <dd class="views">{topicrow.VIEWS} <dfn>{L_VIEWS}</dfn></dd>
  150. <dd class="lastpost"><span><dfn>{L_LAST_POST} </dfn>{L_POST_BY_AUTHOR} {topicrow.LAST_POST_AUTHOR_FULL}
  151. <!-- IF not S_IS_BOT --><a href="{topicrow.U_LAST_POST}">{LAST_POST_IMG}</a> <!-- ENDIF --><br />{topicrow.LAST_POST_TIME}</span>
  152. </dd>
  153. </dl>
  154. </li>
  155.  
  156. <!-- IF topicrow.S_LAST_ROW -->
  157. </ul>
  158. <span class="corners-bottom"><span></span></span></div>
  159. </div>
  160. <!-- ENDIF -->
  161.  
  162. <!-- BEGINELSE -->
  163. <!-- IF S_IS_POSTABLE -->
  164. <div class="panel">
  165. <div class="inner"><span class="corners-top"><span></span></span>
  166. <strong>{L_NO_TOPICS}</strong>
  167. <span class="corners-bottom"><span></span></span></div>
  168. </div>
  169. <!-- ENDIF -->
  170. <!-- END topicrow -->
  171.  
  172. <!-- IF S_SELECT_SORT_DAYS and not S_DISPLAY_ACTIVE -->
  173. <form method="post" action="{S_FORUM_ACTION}">
  174. <fieldset class="display-options">
  175. <!-- IF PREVIOUS_PAGE --><a href="{PREVIOUS_PAGE}" class="left-box {S_CONTENT_FLOW_BEGIN}">{L_PREVIOUS}</a><!-- ENDIF -->
  176. <!-- IF NEXT_PAGE --><a href="{NEXT_PAGE}" class="right-box {S_CONTENT_FLOW_END}">{L_NEXT}</a><!-- ENDIF -->
  177. <!-- IF not S_IS_BOT -->
  178. <label>{L_DISPLAY_TOPICS}: {S_SELECT_SORT_DAYS}</label>
  179. <!-- INCLUDE attributes.html -->
  180. <label>{L_SORT_BY} {S_SELECT_SORT_KEY}</label>
  181. <label>{S_SELECT_SORT_DIR} <input type="submit" name="sort" value="{L_GO}" class="button2" /></label>
  182. <!-- ENDIF -->
  183. </fieldset>
  184. </form>
  185. <hr />
  186. <!-- ENDIF -->
  187.  
  188. <!-- IF .topicrow and not S_DISPLAY_ACTIVE -->
  189. <div class="topic-actions">
  190. <!-- IF not S_IS_BOT and S_DISPLAY_POST_INFO -->
  191. <div class="buttons">
  192. <div class="<!-- IF S_IS_LOCKED -->locked-icon<!-- ELSE -->post-icon<!-- ENDIF -->" title="<!-- IF S_IS_LOCKED -->{L_FORUM_LOCKED}<!-- ELSE -->{L_POST_TOPIC}<!-- ENDIF -->"><a href="{U_POST_NEW_TOPIC}"><span></span><!-- IF S_IS_LOCKED -->{L_FORUM_LOCKED}<!-- ELSE -->{L_POST_TOPIC}<!-- ENDIF --></a></div>
  193. </div>
  194. <!-- ENDIF -->
  195.  
  196. <!-- IF PAGINATION or TOTAL_POSTS or TOTAL_TOPICS -->
  197. <div class="pagination">
  198. <!-- IF TOTAL_TOPICS and not S_IS_BOT and U_MARK_TOPICS --><a href="{U_MARK_TOPICS}">{L_MARK_TOPICS_READ}</a> &bull; <!-- ENDIF -->
  199. <!-- IF TOTAL_POSTS and not NEWEST_USER --> {TOTAL_POSTS}<!-- ELSEIF TOTAL_TOPICS and not NEWEST_USER --> {TOTAL_TOPICS}<!-- ENDIF -->
  200. <!-- IF TOTAL_USERS -->{TOTAL_USERS}<!-- ENDIF -->
  201. <!-- IF PAGINATION --> &bull; <a href="#" onclick="jumpto(); return false;" title="{L_JUMP_TO_PAGE}">{PAGE_NUMBER}</a>
  202. &bull; <span>{PAGINATION}</span><!-- ELSE --> &bull; {PAGE_NUMBER}<!-- ENDIF -->
  203. </div>
  204. <!-- ENDIF -->
  205. </div>
  206. <!-- ENDIF -->
  207.  
  208. <!-- INCLUDE jumpbox.html -->
  209.  
  210. <!-- IF S_DISPLAY_ONLINE_LIST -->
  211. <h3><!-- IF U_VIEWONLINE --><a href="{U_VIEWONLINE}">{L_WHO_IS_ONLINE}</a><!-- ELSE -->{L_WHO_IS_ONLINE}<!-- ENDIF --></h3>
  212. <p>{LOGGED_IN_USER_LIST}</p>
  213. <!-- ENDIF -->
  214.  
  215. <!-- IF S_DISPLAY_POST_INFO -->
  216. <h3>{L_FORUM_PERMISSIONS}</h3>
  217. <p><!-- BEGIN rules -->{rules.RULE}<br /><!-- END rules --></p>
  218. <!-- ENDIF -->
  219.  
  220. <!-- INCLUDE overall_footer.html -->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement