Advertisement
slek_12000

viewtopic_body.php

Oct 19th, 2014
374
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.43 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><!-- IF S_TOPIC_ATTR -->{TOPIC_ATTRIBUTE} <!-- ENDIF --><a href="{U_VIEW_TOPIC}">{TOPIC_TITLE}</a></h2>
  4. <!-- NOTE: remove the style="display: none" when you want to have the forum description on the topic body -->
  5. <!-- IF FORUM_DESC --><div style="display: none !important;">{FORUM_DESC}<br /></div><!-- ENDIF -->
  6.  
  7. <!-- IF MODERATORS -->
  8. <p>
  9. <strong><!-- IF S_SINGLE_MODERATOR -->{L_MODERATOR}<!-- ELSE -->{L_MODERATORS}<!-- ENDIF -->:</strong> {MODERATORS}
  10. </p>
  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. <div class="topic-actions">
  29.  
  30. <div class="buttons">
  31. <!-- IF not S_IS_BOT and S_DISPLAY_REPLY_INFO -->
  32. <div class="<!-- IF S_IS_LOCKED -->locked-icon<!-- ELSE -->reply-icon<!-- ENDIF -->"><a href="{U_POST_REPLY_TOPIC}" title="<!-- IF S_IS_LOCKED -->{L_TOPIC_LOCKED}<!-- ELSE -->{L_POST_REPLY}<!-- ENDIF -->"><span></span><!-- IF S_IS_LOCKED -->{L_TOPIC_LOCKED_SHORT}<!-- ELSE -->{L_POST_REPLY}<!-- ENDIF --></a></div>
  33. <!-- ENDIF -->
  34. </div>
  35.  
  36. <!-- IF S_DISPLAY_SEARCHBOX -->
  37. <div class="search-box">
  38. <form method="get" id="topic-search" action="{S_SEARCHBOX_ACTION}">
  39. <fieldset>
  40. <input class="inputbox search tiny" type="text" name="keywords" id="search_keywords" size="20" value="{L_SEARCH_TOPIC}" onclick="if(this.value=='{LA_SEARCH_TOPIC}')this.value='';" onblur="if(this.value=='')this.value='{LA_SEARCH_TOPIC}';" />
  41. <input class="button2" type="submit" value="{L_SEARCH}" />
  42. {S_SEARCH_LOCAL_HIDDEN_FIELDS}
  43. </fieldset>
  44. </form>
  45. </div>
  46. <!-- ENDIF -->
  47.  
  48. <!-- IF PAGINATION or TOTAL_POSTS -->
  49. <div class="pagination">
  50. <!-- IF U_VIEW_UNREAD_POST and not S_IS_BOT --><a href="{U_VIEW_UNREAD_POST}">{L_VIEW_UNREAD_POST}</a> &bull; <!-- ENDIF -->{TOTAL_POSTS}
  51. <!-- IF PAGE_NUMBER --><!-- 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 --><!-- ENDIF -->
  52. </div>
  53. <!-- ENDIF -->
  54.  
  55. </div>
  56. <div class="clear"></div>
  57.  
  58. <!-- IF S_HAS_POLL -->
  59. <form method="post" action="{S_POLL_ACTION}">
  60.  
  61. <div class="panel">
  62. <div class="inner"><span class="corners-top"><span></span></span>
  63.  
  64. <div class="content">
  65. <h2>{POLL_QUESTION}</h2>
  66. <p class="author">{L_POLL_LENGTH}<!-- IF S_CAN_VOTE and L_POLL_LENGTH --><br /><!-- ENDIF --><!-- IF S_CAN_VOTE -->{L_MAX_VOTES}<!-- ENDIF --></p>
  67.  
  68. <fieldset class="polls">
  69. <!-- BEGIN poll_option -->
  70. <dl class="<!-- IF poll_option.POLL_OPTION_VOTED -->voted<!-- ENDIF -->"<!-- IF poll_option.POLL_OPTION_VOTED --> title="{L_POLL_VOTED_OPTION}"<!-- ENDIF -->>
  71. <dt><!-- IF S_CAN_VOTE --><label for="vote_{poll_option.POLL_OPTION_ID}">{poll_option.POLL_OPTION_CAPTION}</label><!-- ELSE -->{poll_option.POLL_OPTION_CAPTION}<!-- ENDIF --></dt>
  72. <!-- IF S_CAN_VOTE --><dd style="width: auto;"><!-- IF S_IS_MULTI_CHOICE --><input type="checkbox" name="vote_id[]" id="vote_{poll_option.POLL_OPTION_ID}" value="{poll_option.POLL_OPTION_ID}"<!-- IF poll_option.POLL_OPTION_VOTED --> checked="checked"<!-- ENDIF --> /><!-- ELSE --><input type="radio" name="vote_id[]" id="vote_{poll_option.POLL_OPTION_ID}" value="{poll_option.POLL_OPTION_ID}"<!-- IF poll_option.POLL_OPTION_VOTED --> checked="checked"<!-- ENDIF --> /><!-- ENDIF --></dd><!-- ENDIF -->
  73. <!-- IF S_DISPLAY_RESULTS --><dd class="resultbar"><div class="<!-- IF poll_option.POLL_OPTION_PCT < 20 -->pollbar1<!-- ELSEIF poll_option.POLL_OPTION_PCT < 40 -->pollbar2<!-- ELSEIF poll_option.POLL_OPTION_PCT < 60 -->pollbar3<!-- ELSEIF poll_option.POLL_OPTION_PCT < 80 -->pollbar4<!-- ELSE -->pollbar5<!-- ENDIF -->" style="width:{poll_option.POLL_OPTION_PERCENT};">{poll_option.POLL_OPTION_RESULT}</div></dd>
  74. <dd><!-- IF poll_option.POLL_OPTION_RESULT == 0 -->{L_NO_VOTES}<!-- ELSE -->{poll_option.POLL_OPTION_PERCENT}<!-- ENDIF --></dd><!-- ENDIF -->
  75. </dl>
  76. <!-- END poll_option -->
  77.  
  78. <!-- IF S_DISPLAY_RESULTS -->
  79. <dl>
  80. <dt>&nbsp;</dt>
  81. <dd class="resultbar">{L_TOTAL_VOTES} : {TOTAL_VOTES}</dd>
  82. </dl>
  83. <!-- ENDIF -->
  84.  
  85. <!-- IF S_CAN_VOTE -->
  86. <dl style="border-top: none;">
  87. <dt>&nbsp;</dt>
  88. <dd class="resultbar"><input type="submit" name="update" value="{L_SUBMIT_VOTE}" class="button1" /></dd>
  89. </dl>
  90. <!-- ENDIF -->
  91.  
  92. <!-- IF not S_DISPLAY_RESULTS -->
  93. <dl style="border-top: none;">
  94. <dt>&nbsp;</dt>
  95. <dd class="resultbar"><a href="{U_VIEW_RESULTS}">{L_VIEW_RESULTS}</a></dd>
  96. </dl>
  97. <!-- ENDIF -->
  98. </fieldset>
  99. </div>
  100.  
  101. <span class="corners-bottom"><span></span></span></div>
  102. {S_FORM_TOKEN}
  103. {S_HIDDEN_FIELDS}
  104. </div>
  105.  
  106.  
  107. </form>
  108. <hr />
  109. <!-- ENDIF -->
  110.  
  111. <!-- BEGIN postrow -->
  112. <!-- IF postrow.S_FIRST_UNREAD --><a id="unread"></a><!-- ENDIF -->
  113. <div id="p{postrow.POST_ID}" class="post <!-- IF postrow.S_ROW_COUNT is odd -->bg1<!-- ELSE -->bg2<!-- ENDIF --><!-- IF postrow.S_UNREAD_POST --> unreadpost<!-- ENDIF --><!-- IF postrow.S_POST_REPORTED --> reported<!-- ENDIF --><!-- IF postrow.S_ONLINE and not postrow.S_IGNORE_POST --> online<!-- ENDIF -->">
  114. <div class="inner"><span class="corners-top"><span></span></span>
  115.  
  116. <div class="postbody">
  117. <!-- IF postrow.S_IGNORE_POST -->
  118. <div class="ignore">{postrow.L_IGNORE_POST}</div>
  119. <!-- ELSE -->
  120.  
  121. <!-- IF not S_IS_BOT -->
  122. <!-- IF postrow.U_EDIT or postrow.U_DELETE or postrow.U_REPORT or postrow.U_WARN or postrow.U_INFO or postrow.U_QUOTE -->
  123. <ul class="profile-icons">
  124. <!-- IF postrow.U_EDIT --><li class="edit-icon"><a href="{postrow.U_EDIT}" title="{L_EDIT_POST}"><span>{L_EDIT_POST}</span></a></li><!-- ENDIF -->
  125. <!-- IF postrow.U_DELETE --><li class="delete-icon"><a href="{postrow.U_DELETE}" title="{L_DELETE_POST}"><span>{L_DELETE_POST}</span></a></li><!-- ENDIF -->
  126. <!-- IF postrow.U_REPORT --><li class="report-icon"><a href="{postrow.U_REPORT}" title="{L_REPORT_POST}"><span>{L_REPORT_POST}</span></a></li><!-- ENDIF -->
  127. <!-- IF postrow.U_WARN --><li class="warn-icon"><a href="{postrow.U_WARN}" title="{L_WARN_USER}"><span>{L_WARN_USER}</span></a></li><!-- ENDIF -->
  128. <!-- IF postrow.U_INFO --><li class="info-icon"><a href="{postrow.U_INFO}" title="{L_INFORMATION}"><span>{L_INFORMATION}</span></a></li><!-- ENDIF -->
  129. <!-- IF postrow.U_QUOTE --><li class="quote-icon"><a href="{postrow.U_QUOTE}" title="{L_REPLY_WITH_QUOTE}"><span>{L_REPLY_WITH_QUOTE}</span></a></li><!-- ENDIF -->
  130. </ul>
  131. <!-- ENDIF -->
  132. <!-- ENDIF -->
  133.  
  134. <h3 <!-- IF postrow.S_FIRST_ROW -->class="first"<!-- ENDIF -->><!-- IF postrow.POST_ICON_IMG --><img src="{T_ICONS_PATH}{postrow.POST_ICON_IMG}" width="{postrow.POST_ICON_IMG_WIDTH}" height="{postrow.POST_ICON_IMG_HEIGHT}" alt="" /> <!-- ENDIF --><!-- IF postrow.S_TOPIC_ATTR && ON_PAGE eq 1 && postrow.S_FIRST_ROW -->{postrow.TOPIC_ATTRIBUTE} <!-- ENDIF --><a href="#p{postrow.POST_ID}">{postrow.POST_SUBJECT}</a></h3>
  135. <p class="author"><!-- IF S_IS_BOT -->{postrow.MINI_POST_IMG}<!-- ELSE --><a href="{postrow.U_MINI_POST}">{postrow.MINI_POST_IMG}</a><!-- ENDIF -->{L_POST_BY_AUTHOR} <strong>{postrow.POST_AUTHOR_FULL}</strong> &raquo; {postrow.POST_DATE} </p>
  136.  
  137. <!-- IF postrow.S_POST_UNAPPROVED or postrow.S_POST_REPORTED -->
  138. <p class="rules">
  139. <!-- IF postrow.S_POST_UNAPPROVED -->{UNAPPROVED_IMG} <a href="{postrow.U_MCP_APPROVE}"><strong>{L_POST_UNAPPROVED}</strong></a><br /><!-- ENDIF -->
  140. <!-- IF postrow.S_POST_REPORTED -->{REPORTED_IMG} <a href="{postrow.U_MCP_REPORT}"><strong>{L_POST_REPORTED}</strong></a><!-- ENDIF -->
  141. </p>
  142. <!-- ENDIF -->
  143.  
  144. <div class="content">{postrow.MESSAGE}</div>
  145.  
  146. <!-- IF postrow.S_HAS_ATTACHMENTS -->
  147. <dl class="attachbox">
  148. <dt>{L_ATTACHMENTS}</dt>
  149. <!-- BEGIN attachment -->
  150. <dd>{postrow.attachment.DISPLAY_ATTACHMENT}</dd>
  151. <!-- END attachment -->
  152. </dl>
  153. <!-- ENDIF -->
  154.  
  155. <!-- IF postrow.S_DISPLAY_NOTICE --><div class="rules">{L_DOWNLOAD_NOTICE}</div><!-- ENDIF -->
  156. <!-- IF postrow.EDITED_MESSAGE or postrow.EDIT_REASON -->
  157. <div class="notice">{postrow.EDITED_MESSAGE}
  158. <!-- IF postrow.EDIT_REASON --><br /><strong>{L_REASON}:</strong> <em>{postrow.EDIT_REASON}</em><!-- ENDIF -->
  159. </div>
  160. <!-- ENDIF -->
  161.  
  162. <!-- IF postrow.BUMPED_MESSAGE --><div class="notice"><br /><br />{postrow.BUMPED_MESSAGE}</div><!-- ENDIF -->
  163. <!-- IF postrow.SIGNATURE --><div id="sig{postrow.POST_ID}" class="signature">{postrow.SIGNATURE}</div><!-- ENDIF -->
  164. <!-- ENDIF -->
  165.  
  166. </div>
  167.  
  168. <!-- IF not postrow.S_IGNORE_POST -->
  169. <dl class="postprofile" id="profile{postrow.POST_ID}">
  170. <dt>
  171. <!-- IF postrow.POSTER_AVATAR -->
  172. <!-- IF postrow.U_POST_AUTHOR --><a href="{postrow.U_POST_AUTHOR}">{postrow.POSTER_AVATAR}</a><!-- ELSE -->{postrow.POSTER_AVATAR}<!-- ENDIF --><br />
  173. <!-- ENDIF -->
  174. <!-- IF not postrow.U_POST_AUTHOR --><strong>{postrow.POST_AUTHOR_FULL}</strong><!-- ELSE -->{postrow.POST_AUTHOR_FULL}<!-- ENDIF -->
  175. </dt>
  176.  
  177. <!-- IF postrow.RANK_TITLE or postrow.RANK_IMG --><dd>{postrow.RANK_TITLE}<!-- IF postrow.RANK_TITLE and postrow.RANK_IMG --><br /><!-- ENDIF -->{postrow.RANK_IMG}</dd><!-- ENDIF -->
  178.  
  179. <dd>&nbsp;</dd>
  180.  
  181. <!-- IF postrow.POSTER_POSTS != '' --><dd><strong>{L_POSTS}:</strong> {postrow.POSTER_POSTS}</dd><!-- ENDIF -->
  182. <!-- IF postrow.POSTER_JOINED --><dd><strong>{L_JOINED}:</strong> {postrow.POSTER_JOINED}</dd><!-- ENDIF -->
  183. <!-- IF postrow.POSTER_FROM --><dd><strong>{L_LOCATION}:</strong> {postrow.POSTER_FROM}</dd><!-- ENDIF -->
  184.  
  185. <!-- IF postrow.S_PROFILE_FIELD1 -->
  186. <!-- Use a construct like this to include admin defined profile fields. Replace FIELD1 with the name of your field. -->
  187. <dd><strong>{postrow.PROFILE_FIELD1_NAME}:</strong> {postrow.PROFILE_FIELD1_VALUE}</dd>
  188. <!-- ENDIF -->
  189.  
  190. <!-- BEGIN custom_fields -->
  191. <dd><strong>{postrow.custom_fields.PROFILE_FIELD_NAME}:</strong> {postrow.custom_fields.PROFILE_FIELD_VALUE}</dd>
  192. <!-- END custom_fields -->
  193.  
  194. <!-- IF not S_IS_BOT -->
  195. <!-- IF postrow.U_PM or postrow.U_EMAIL or postrow.U_WWW or postrow.U_MSN or postrow.U_ICQ or postrow.U_YIM or postrow.U_AIM or postrow.U_JABBER -->
  196. <dd>
  197. <ul class="profile-icons">
  198. <!-- IF postrow.U_PM --><li class="pm-icon"><a href="{postrow.U_PM}" title="{L_PRIVATE_MESSAGE}"><span>{L_PRIVATE_MESSAGE}</span></a></li><!-- ENDIF -->
  199. <!-- IF postrow.U_EMAIL --><li class="email-icon"><a href="{postrow.U_EMAIL}" title="{L_SEND_EMAIL_USER} {postrow.POST_AUTHOR}"><span>{L_SEND_EMAIL_USER} {postrow.POST_AUTHOR}</span></a></li><!-- ENDIF -->
  200. <!-- IF postrow.U_WWW --><li class="web-icon"><a href="{postrow.U_WWW}" title="{L_VISIT_WEBSITE}: {postrow.U_WWW}"><span>{L_WEBSITE}</span></a></li><!-- ENDIF -->
  201. <!-- IF postrow.U_MSN --><li class="msnm-icon"><a href="{postrow.U_MSN}" onclick="popup(this.href, 550, 320); return false;" title="{L_MSNM}"><span>{L_MSNM}</span></a></li><!-- ENDIF -->
  202. <!-- IF postrow.U_ICQ --><li class="icq-icon"><a href="{postrow.U_ICQ}" onclick="popup(this.href, 550, 320); return false;" title="{L_ICQ}"><span>{L_ICQ}</span></a></li><!-- ENDIF -->
  203. <!-- IF postrow.U_YIM --><li class="yahoo-icon"><a href="{postrow.U_YIM}" onclick="popup(this.href, 780, 550); return false;" title="{L_YIM}"><span>{L_YIM}</span></a></li><!-- ENDIF -->
  204. <!-- IF postrow.U_AIM --><li class="aim-icon"><a href="{postrow.U_AIM}" onclick="popup(this.href, 550, 320); return false;" title="{L_AIM}"><span>{L_AIM}</span></a></li><!-- ENDIF -->
  205. <!-- IF postrow.U_JABBER --><li class="jabber-icon"><a href="{postrow.U_JABBER}" onclick="popup(this.href, 550, 320); return false;" title="{L_JABBER}"><span>{L_JABBER}</span></a></li><!-- ENDIF -->
  206. </ul>
  207. </dd>
  208. <!-- ENDIF -->
  209. <!-- ENDIF -->
  210.  
  211. </dl>
  212. <!-- ENDIF -->
  213.  
  214. <div class="back2top"><a href="#wrap" class="top" title="{L_BACK_TO_TOP}">{L_BACK_TO_TOP}</a></div>
  215.  
  216. <span class="corners-bottom"><span></span></span></div>
  217. </div>
  218.  
  219. <hr class="divider" />
  220. <!-- END postrow -->
  221. <!-- IF S_QUICK_REPLY -->
  222. <!-- INCLUDE quickreply_editor.html -->
  223. <!-- ENDIF -->
  224. <!-- IF S_NUM_POSTS > 1 or PREVIOUS_PAGE -->
  225. <form id="viewtopic" method="post" action="{S_TOPIC_ACTION}">
  226.  
  227. <fieldset class="display-options" style="margin-top: 0; ">
  228. <!-- IF PREVIOUS_PAGE --><a href="{PREVIOUS_PAGE}" class="left-box {S_CONTENT_FLOW_BEGIN}">{L_PREVIOUS}</a><!-- ENDIF -->
  229. <!-- IF NEXT_PAGE --><a href="{NEXT_PAGE}" class="right-box {S_CONTENT_FLOW_END}">{L_NEXT}</a><!-- ENDIF -->
  230. <!-- IF not S_IS_BOT -->
  231. <label>{L_DISPLAY_POSTS}: {S_SELECT_SORT_DAYS}</label>
  232. <label>{L_SORT_BY} {S_SELECT_SORT_KEY}</label> <label>{S_SELECT_SORT_DIR} <input type="submit" name="sort" value="{L_GO}" class="button2" /></label>
  233. <!-- ENDIF -->
  234. </fieldset>
  235.  
  236. </form>
  237. <hr />
  238. <!-- ENDIF -->
  239.  
  240. <div class="topic-actions">
  241. <div class="buttons">
  242. <!-- IF not S_IS_BOT and S_DISPLAY_REPLY_INFO -->
  243. <div class="<!-- IF S_IS_LOCKED -->locked-icon<!-- ELSE -->reply-icon<!-- ENDIF -->"><a href="{U_POST_REPLY_TOPIC}" title="<!-- IF S_IS_LOCKED -->{L_TOPIC_LOCKED}<!-- ELSE -->{L_POST_REPLY}<!-- ENDIF -->"><span></span><!-- IF S_IS_LOCKED -->{L_TOPIC_LOCKED_SHORT}<!-- ELSE -->{L_POST_REPLY}<!-- ENDIF --></a></div>
  244. <!-- ENDIF -->
  245. </div>
  246.  
  247. <!-- IF PAGINATION or TOTAL_POSTS -->
  248. <div class="pagination">
  249. {TOTAL_POSTS}
  250. <!-- IF PAGE_NUMBER --><!-- 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 --><!-- ENDIF -->
  251. </div>
  252. <!-- ENDIF -->
  253. </div>
  254. <!-- INCLUDE attributes.html -->
  255. <!-- INCLUDE jumpbox.html -->
  256.  
  257. <!-- IF S_TOPIC_MOD -->
  258. <form method="post" action="{S_MOD_ACTION}">
  259. <fieldset class="quickmod">
  260. <label for="quick-mod-select">{L_QUICK_MOD}:</label> {S_TOPIC_MOD} <input type="submit" value="{L_GO}" class="button2" />
  261. {S_FORM_TOKEN}
  262. </fieldset>
  263. </form>
  264. <!-- ENDIF -->
  265.  
  266. <!-- IF S_DISPLAY_ONLINE_LIST -->
  267. <h3><!-- IF U_VIEWONLINE --><a href="{U_VIEWONLINE}">{L_WHO_IS_ONLINE}</a><!-- ELSE -->{L_WHO_IS_ONLINE}<!-- ENDIF --></h3>
  268. <p>{LOGGED_IN_USER_LIST}</p>
  269. <!-- ENDIF -->
  270.  
  271. <!-- INCLUDE overall_footer.html -->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement