Advertisement
Guest User

template viewtopic_body (bigbang)

a guest
Jun 19th, 2017
236
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.73 KB | None | 0 0
  1. <script type="text/javascript">
  2. //<![CDATA[
  3. var multiquote_img_off = '{JS_MULTIQUOTE_IMG_OFF}', multiquote_img_on = '{JS_MULTIQUOTE_IMG_ON}', _atr = '{JS_DIR}addthis/', _ati = '{PATH_IMG_FA}addthis/'{ADDTHIS_LANG}, addthis_localize = { share_caption: "{L_SHARE_CAPTION}", email: "{L_EMAIL}", email_caption: "{L_EMAIL_CAPTION}", favorites: "{L_SHARE_BOOKMARKS}", print: "{L_PRINT}", more: "{L_MORE}" };
  4.  
  5. $(function(){
  6. if(typeof(_atc) == "undefined") {
  7. _atc = { };
  8. }
  9. });
  10.  
  11. var hiddenMsgLabel = { visible:'{JS_HIDE_HIDDEN_MESSAGE}', hidden:'{JS_SHOW_HIDDEN_MESSAGE}' };
  12. showHiddenMessage = function(id) {
  13. try {
  14. var regId = parseInt(id, 10);
  15. if( isNaN(regId) ) { regId = 0; }
  16.  
  17. if( regId > 0) {
  18. $('.post--' + id).toggle(0, function() {
  19. if( $(this).is(":visible") ) {
  20. $('#hidden-title--' + id).html(hiddenMsgLabel.visible);
  21. } else {
  22. $('#hidden-title--' + id).html(hiddenMsgLabel.hidden);
  23. }
  24. });
  25. }
  26. } catch(e) { }
  27.  
  28. return false;
  29. };
  30.  
  31. //]]>
  32. </script>
  33.  
  34. <div class="sub-header">
  35. <div class="sub-header-info">
  36. <h1 class="page-title">
  37. <a href="{TOPIC_URL}">{TOPIC_TITLE}</a>
  38. </h1>
  39. <div class="sub-header-path">
  40. <a class="nav" href="{U_INDEX}"><span>{L_INDEX}</span></a>
  41. {NAV_CAT_DESC}
  42. </div>
  43. </div>
  44.  
  45. <div class="sub-header-buttons">
  46. <!-- BEGIN switch_user_authpost -->
  47. <a href="{U_POST_NEW_TOPIC}" rel="nofollow" class="ion-edit button1">{L_POST_NEW_TOPIC}</a>
  48. <!-- END switch_user_authpost -->
  49. <!-- BEGIN switch_user_authreply -->
  50. <a href="{U_POST_REPLY_TOPIC}" class="ion-reply button1">{L_POST_REPLY_TOPIC}</a>
  51. <!-- END switch_user_authreply -->
  52. </div>
  53. </div>
  54.  
  55. <div class="topic-actions">
  56. <!-- BEGIN topicpagination -->
  57. <div class="pagination">
  58. {PAGINATION}
  59. </div>
  60. <!-- END topicpagination -->
  61.  
  62. <div class="topic-actions-buttons">
  63. <!-- BEGIN switch_twitter_btn -->
  64. <span>
  65. <a href="https://twitter.com/share" class="twitter-share-button" data-via="{TWITTER}">Tweet</a>
  66. <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>
  67. </span>
  68. <!-- END switch_twitter_btn -->
  69.  
  70. <!-- BEGIN switch_fb_likebtn -->
  71. <script>(function(d, s, id) {
  72. var js, fjs = d.getElementsByTagName(s)[0];
  73. if (d.getElementById(id)) return;
  74. js = d.createElement(s); js.id = id;
  75. js.src = "https://connect.facebook.net/{LANGUAGE}/all.js#xfbml=1";
  76. fjs.parentNode.insertBefore(js, fjs);
  77. }(document, 'script', 'facebook-jssdk'));</script>
  78. <span class="fb-like" data-href="{FORUM_URL}{TOPIC_URL}" data-layout="button_count" data-action="like" data-show-faces="false" data-share="false"></span>
  79. <!-- END switch_fb_likebtn -->
  80.  
  81. <a class="addthis_button">{L_SHARE}</a>
  82. <!-- BEGIN switch_plus_menu -->
  83. <script type="text/javascript">//<![CDATA[
  84. var url_favourite = '{U_FAVOURITE_JS_PLUS_MENU}';
  85. var url_newposts = '{U_NEWPOSTS_JS_PLUS_MENU}';
  86. var url_egosearch = '{U_EGOSEARCH_JS_PLUS_MENU}';
  87. var url_unanswered = '{U_UNANSWERED_JS_PLUS_MENU}';
  88. var url_watchsearch = '{U_WATCHSEARCH_JS_PLUS_MENU}';
  89. insert_plus_menu_new('f{FORUM_ID}&amp;t={TOPIC_ID}','{JS_SESSION_ID}', {JS_AUTH_FAVOURITES});
  90. //]]>
  91. </script>
  92. <!-- END switch_plus_menu -->
  93. </div>
  94. </div>
  95.  
  96. <div class="quick-nav-topics">
  97. <a href="{U_VIEW_OLDER_TOPIC}">{L_VIEW_PREVIOUS_TOPIC}</a>
  98. <a href="#bottom">{L_GOTO_DOWN}</a>
  99. <a href="{U_VIEW_NEWER_TOPIC}">{L_VIEW_NEXT_TOPIC}</a>
  100. </div>
  101.  
  102. {POLL_DISPLAY}
  103.  
  104. <!-- BEGIN postrow -->
  105. <!-- BEGIN hidden -->
  106. <div class="post {postrow.hidden.ROW_COUNT}">
  107. <p style="text-align:center">{postrow.hidden.MESSAGE}</p>
  108. </div>
  109. <!-- END hidden -->
  110. <!-- BEGIN displayed -->
  111. <div id="p{postrow.displayed.U_POST_ID}" class="post {postrow.displayed.ROW_COUNT}{postrow.displayed.ONLINE_IMG_NEW} post--{postrow.displayed.U_POST_ID}"{postrow.displayed.THANK_BGCOLOR} style="{postrow.displayed.DISPLAYABLE_STATE}">
  112. <div style="position: relative; top: -30px; width: 1px;" id="{postrow.displayed.U_POST_ID}"></div>
  113. <div class="postprofile" id="profile{postrow.displayed.U_POST_ID}">
  114. <!-- div class="online2"></div-->
  115. <dl>
  116. <dt>
  117. <div class="postprofile-name">
  118. {postrow.displayed.POSTER_NAME}
  119. </div>
  120. <div class="postprofile-rank">
  121. {postrow.displayed.POSTER_RANK_NEW}{postrow.displayed.RANK_IMAGE}
  122. </div>
  123. <div class="postprofile-avatar">
  124. {postrow.displayed.POSTER_AVATAR}
  125. </div>
  126. </dt>
  127.  
  128. <dd class="postprofile-info">
  129. <!-- BEGIN profile_field -->
  130. {postrow.displayed.profile_field.LABEL}
  131. {postrow.displayed.profile_field.CONTENT}
  132. {postrow.displayed.profile_field.SEPARATOR}
  133. <!-- END profile_field -->
  134. {postrow.displayed.POSTER_RPG}
  135. </dd>
  136.  
  137. <dd class="postprofile-contact">
  138. {postrow.displayed.PROFILE_IMG}
  139. {postrow.displayed.PM_IMG}
  140. {postrow.displayed.EMAIL_IMG}
  141. <!-- BEGIN contact_field -->
  142. {postrow.displayed.contact_field.CONTENT}
  143. <!-- END contact_field -->
  144. </dd>
  145. </dl>
  146. </div>
  147.  
  148. <div class="post-head">
  149. <ul class="profile-icons">
  150. <li class="btn-thank">
  151. <a href="{postrow.displayed.THANK_URL}">
  152. <i class="ion-heart"></i>
  153. </a>
  154. </li>
  155. <li class="btn-quote-multi">
  156. <span onclick="{postrow.displayed.MULTIQUOTE_URL}" id="post_mq{TOPIC_ID}_{postrow.displayed.U_POST_ID}">
  157. <i class="ion-quote"></i>
  158. <i class="ion-ios-plus-empty"></i>
  159. </span>
  160. </li>
  161. <li class="btn-quote">
  162. <a href="{postrow.displayed.QUOTE_URL}">
  163. <i class="ion-quote"></i>
  164. </a>
  165. </li>
  166. <li class="btn-edit">
  167. <a href="{postrow.displayed.EDIT_URL}">
  168. <i class="ion-edit"></i>
  169. </a>
  170. </li>
  171. <li class="btn-delete">
  172. <a href="{postrow.displayed.DELETE_URL}">
  173. <i class="ion-trash-a"></i>
  174. </a>
  175. </li>
  176. <li class="btn-ip">
  177. <a href="{postrow.displayed.IP_URL}">
  178. <i class="ion-ios-information"></i>
  179. </a>
  180. </li>
  181. <li class="btn-report">
  182. {postrow.displayed.REPORT_IMG}
  183. </li>
  184. </ul>
  185.  
  186. <h2 class="topic-title">{postrow.displayed.ICON} <a href="{postrow.displayed.POST_URL}">{postrow.displayed.POST_SUBJECT}</a></h2>
  187. <div class="topic-date">
  188. {postrow.displayed.POST_DATE_NEW}
  189.  
  190. <!-- BEGIN switch_vote_active -->
  191. <div class="vote">
  192. <!-- BEGIN switch_vote -->
  193. <a href="{postrow.displayed.switch_vote_active.switch_vote.U_VOTE_PLUS}" class="ion-thumbsup"></a>
  194. <!-- END switch_vote -->
  195.  
  196. <!-- BEGIN switch_vote -->
  197. <a href="{postrow.displayed.switch_vote_active.switch_vote.U_VOTE_MINUS}" class="ion-thumbsdown"></a>
  198. <!-- END switch_vote -->
  199.  
  200. <!-- BEGIN switch_bar -->
  201. <div class="vote-bar" title="{postrow.displayed.switch_vote_active.L_VOTE_TITLE}">
  202. <div class="vote-bar-desc">
  203. {postrow.displayed.switch_vote_active.L_VOTE_TITLE}
  204. </div>
  205.  
  206. <div class="vote-bars">
  207. <!-- BEGIN switch_vote_plus -->
  208. <div class="vote-bar-plus" style="width:{postrow.displayed.switch_vote_active.switch_bar.switch_vote_plus.HEIGHT_PLUS}px;"></div>
  209. <!-- END switch_vote_plus -->
  210.  
  211. <!-- BEGIN switch_vote_minus -->
  212. <div class="vote-bar-minus" style="width:{postrow.displayed.switch_vote_active.switch_bar.switch_vote_minus.HEIGHT_MINUS}px;"></div>
  213. <!-- END switch_vote_minus -->
  214. </div>
  215. </div>
  216. <!-- END switch_bar -->
  217.  
  218. <!-- BEGIN switch_no_bar -->
  219. <div title="{postrow.displayed.switch_vote_active.L_VOTE_TITLE}" class="vote-bar-empty"></div>
  220. <!-- END switch_no_bar -->
  221. </div>
  222. <!-- END switch_vote_active -->
  223. </div>
  224. </div>
  225.  
  226. <div class="postbody">
  227. <div class="content">
  228. <div>{postrow.displayed.MESSAGE}</div>
  229. <!-- BEGIN switch_attachments -->
  230. <dl class="attachbox">
  231. <dt>{postrow.displayed.switch_attachments.L_ATTACHMENTS}</dt>
  232. <dd class="attachments">
  233. <!-- BEGIN switch_post_attachments -->
  234. <dl class="file">
  235. <dt>
  236. <img src="{postrow.displayed.switch_attachments.switch_post_attachments.U_IMG}" alt=""/>
  237. </dt>
  238. <dd>
  239. <!-- BEGIN switch_dl_att -->
  240. <span><a class="postlink" href="{postrow.displayed.switch_attachments.switch_post_attachments.switch_dl_att.U_ATTACHMENT}">{postrow.displayed.switch_attachments.switch_post_attachments.switch_dl_att.ATTACHMENT}</a> {postrow.displayed.switch_attachments.switch_post_attachments.switch_dl_att.ATTACHMENT_DEL}</span>
  241. <!-- END switch_dl_att -->
  242.  
  243. <!-- BEGIN switch_no_dl_att -->
  244. <span>{postrow.displayed.switch_attachments.switch_post_attachments.switch_no_dl_att.ATTACHMENT} {postrow.displayed.switch_attachments.switch_post_attachments.switch_no_dl_att.ATTACHMENT_DEL}</span>
  245. <!-- END switch_no_dl_att -->
  246.  
  247. <!-- BEGIN switch_no_comment -->
  248. <span>{postrow.displayed.switch_attachments.switch_post_attachments.switch_no_comment.ATTACHMENT_COMMENT}</span>
  249. <!-- END switch_no_comment -->
  250.  
  251. <!-- BEGIN switch_no_dl_att -->
  252. <span><strong>{postrow.displayed.switch_attachments.switch_post_attachments.switch_no_dl_att.TEXT_NO_DL}</strong></span>
  253. <!-- END switch_no_dl_att -->
  254.  
  255. <span>({postrow.displayed.switch_attachments.switch_post_attachments.FILE_SIZE}) {postrow.displayed.switch_attachments.switch_post_attachments.NB_DL}</span>
  256. </dd>
  257. </dl>
  258. <!-- END switch_post_attachments -->
  259. </dd>
  260. </dl>
  261. <!-- END switch_attachments -->
  262. </div>
  263. <div class="edited-message">
  264. {postrow.displayed.EDITED_MESSAGE}
  265. </div>
  266. <!-- BEGIN switch_signature -->
  267. <div class="signature_div" id="sig{postrow.displayed.U_POST_ID}">{postrow.displayed.SIGNATURE_NEW}</div>
  268. <!-- END switch_signature -->
  269. </div>
  270. </div>
  271. <!-- BEGIN first_post_br -->
  272. <hr id="first-post-br" />
  273. <!-- END first_post_br -->
  274. <!-- END displayed -->
  275. <!-- END postrow -->
  276.  
  277. <a name="bottomtitle"></a>
  278.  
  279. <div class="quick-nav-topics bottom">
  280. <a href="{U_VIEW_OLDER_TOPIC}">{L_VIEW_PREVIOUS_TOPIC}</a>
  281. <a href="#top">{L_BACK_TO_TOP}</a>
  282. <a href="{U_VIEW_NEWER_TOPIC}">{L_VIEW_NEXT_TOPIC}</a>
  283. </div>
  284.  
  285. <div class="topic-actions bottom">
  286. <!-- BEGIN topicpagination -->
  287. <div class="pagination">
  288. {PAGINATION}
  289. </div>
  290. <!-- END topicpagination -->
  291.  
  292. <div class="topic-actions-buttons">
  293. <!-- BEGIN switch_user_logged_in -->
  294. <!-- BEGIN watchtopic -->
  295. {S_WATCH_TOPIC}
  296. <!-- END watchtopic -->
  297. <!-- END switch_user_logged_in -->
  298.  
  299. <!-- BEGIN switch_user_authpost -->
  300. <a href="{U_POST_NEW_TOPIC}" rel="nofollow" class="ion-edit button1">{L_POST_NEW_TOPIC}</a>
  301. <!-- END switch_user_authpost -->
  302. <!-- BEGIN switch_user_authreply -->
  303. <a href="{U_POST_REPLY_TOPIC}" class="ion-reply button1">{L_POST_REPLY_TOPIC}</a>
  304. <!-- END switch_user_authreply -->
  305. </div>
  306. </div>
  307.  
  308. <!-- BEGIN promot_trafic -->
  309. <div class="block" id="ptrafic_close" style="display: none;">
  310. <div class="h3"><a href="javascript:ShowHideLayer('ptrafic_open','ptrafic_close');"><i class="ion-ios-plus-outline"></i></a>{PROMOT_TRAFIC_TITLE}</div>
  311. </div>
  312. <div class="block" id="ptrafic_open" style="display:'';">
  313. <div class="h3"><a href="javascript:ShowHideLayer('ptrafic_open','ptrafic_close');"><i class="ion-ios-minus-outline"></i></a>{PROMOT_TRAFIC_TITLE}</div>
  314. <ul class="ptrafic">
  315. <!-- BEGIN link -->
  316. <li>
  317. <a href="{promot_trafic.link.U_HREF}" target="_blank" title="{promot_trafic.link.TITLE}" rel="nofollow">
  318. <i class="ion-ios-chatbubble-outline"></i>{promot_trafic.link.TITLE}
  319. </a>
  320. </li>
  321. <!-- END link -->
  322. </ul>
  323. </div>
  324. <!-- END promot_trafic -->
  325.  
  326. <!-- BEGIN switch_forum_rules -->
  327. <div class="post row1" id="forum_rules">
  328. <div class="h3">{L_FORUM_RULES}</div>
  329. <div class="clear"></div>
  330. <table class="postbody">
  331. <tr>
  332. <!-- BEGIN switch_forum_rule_image -->
  333. <td class="logo">
  334. <img src="{RULE_IMG_URL}" alt="" />
  335. </td>
  336. <!-- END switch_forum_rule_image -->
  337. <td class="rules content">
  338. {RULE_MSG}
  339. </td>
  340. </tr>
  341. </table>
  342. </div>
  343. <!-- END switch_forum_rules -->
  344.  
  345. <!-- BEGIN switch_user_logged_in -->
  346. <a name="quickreply"></a>
  347. {QUICK_REPLY_FORM}
  348. <!-- END switch_user_logged_in -->
  349.  
  350. <form action="{S_JUMPBOX_ACTION}" method="get" onsubmit="if(document.jumpbox.f.value == -1){return false;}">
  351. <fieldset class="jumpbox">
  352. <label>{L_JUMP_TO}:</label>
  353. {S_JUMPBOX_SELECT}
  354. <input class="button2" type="submit" value="{L_GO}" />
  355. </fieldset>
  356. </form>
  357.  
  358. <!-- BEGIN viewtopic_bottom -->
  359. <form method="get" action="{S_FORM_MOD_ACTION}">
  360. <fieldset class="quickmod">
  361. <input type="hidden" name="t" value="{TOPIC_ID}" />
  362.  
  363. <!-- <input type="hidden" name="sid" value="{S_SID}" /> -->
  364. <input type="hidden" name="{SECURE_ID_NAME}" value="{SECURE_ID_VALUE}" />
  365. <label>{L_MOD_TOOLS}:</label>
  366. {S_SELECT_MOD}
  367. <input class="button2" type="submit" value="{L_GO}" />
  368. </fieldset>
  369. </form>
  370.  
  371. <p class="right">{S_TOPIC_ADMIN}</p>
  372. <!-- END viewtopic_bottom -->
  373.  
  374. <!-- BEGIN show_permissions -->
  375. <div class="block">
  376. <div class="h3">{L_TABS_PERMISSIONS}</div>
  377. {S_AUTH_LIST}
  378. </div>
  379. <!-- END show_permissions -->
  380.  
  381. <!-- BEGIN switch_image_resize -->
  382. <script type="text/javascript">
  383. //<![CDATA[
  384. $(resize_images({ 'selector' : '.postbody .content', 'max_width' : {switch_image_resize.IMG_RESIZE_WIDTH}, 'max_height' : {switch_image_resize.IMG_RESIZE_HEIGHT} }));
  385. //]]>
  386. </script>
  387. <!-- END switch_image_resize -->
  388.  
  389. <script src="//s7.addthis.com/js/300/addthis_widget.js#pubid=forumotion" type="text/javascript"></script>
  390. <link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.9.0/styles/github-gist.min.css">
  391. <script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.9.0/highlight.min.js"></script>
  392. <script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.9.0/languages/go.min.js"></script>
  393. <script>
  394. $(document).ready(function() {
  395. $('pre, code').each(function(i, block) {
  396. hljs.highlightBlock(block);
  397. });
  398.  
  399. $('.post').each(function() {
  400. if (!$(this).find('.postprofile-avatar').html().length) {
  401. $(this).find('.postprofile-rank').css('border-bottom', 'none');
  402. $(this).find('.postprofile > dl > dt').css('min-height', $(this).find('.post-head').innerHeight());
  403. }
  404. });
  405. });
  406. </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement