Advertisement
Guest User

viewtopic_body

a guest
Feb 4th, 2016
174
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 18.12 KB | None | 0 0
  1. <script>
  2. $(document).ready(function(){
  3. var sTitlebox = {
  4. username: $('h4.username:first').html(),
  5. date: $('.posthead h2:first').find('.date-time').text(),
  6. title: $('.paged-head h1').text(),
  7. image: $('.user-basic-info:first').find('a').html(),
  8. ilink: $('.user-basic-info a:first').attr('href'),
  9. };
  10. $('.paged-head').before('<div class="wraparound">'+
  11. ' <div class="right">'+
  12. ' <a href="?watch=topic" class="ftoggle">Seguir este tópico</a>'+
  13. ' </div>'+
  14. ' <a href="'+sTitlebox.ilink+'" class="ipsUserPhotoLink left">'+sTitlebox.image+'</a>'+
  15. ' <div itemscope="" itemtype="http://schema.org/Article" class="ipsBox_withphoto">'+
  16. ' <h1 itemprop="name" class="ipsType_pagetitle">'+sTitlebox.title+'</h1>'+
  17. ' <div class="desc lighter blend_links">Iniciado por <span itemprop="creator">'+sTitlebox.username+'</span>,'+
  18. ' <span itemprop="dateCreated">'+sTitlebox.date+'</span>'+
  19. ' </div>'+
  20. ' </div>'+
  21. '</div>');
  22. });
  23. </script>
  24. <script type="text/javascript">//<![CDATA[
  25. 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}" };
  26. $(function(){
  27.  
  28. if(typeof(_atc) == "undefined") {
  29. _atc = { };
  30. }
  31.  
  32. _atc.cwait = 0;
  33. $('.addthis_button').mouseup(function(){
  34. if ($('#at15s').css('display') == 'block') {
  35. addthis_close();
  36. }
  37. });
  38. });
  39.  
  40. var hiddenMsgLabel = { visible:'{JS_HIDE_HIDDEN_MESSAGE}', hidden:'{JS_SHOW_HIDDEN_MESSAGE}' };
  41. showHiddenMessage = function(id)
  42. {
  43. try
  44. {
  45. var regId = parseInt(id, 10);
  46. if( isNaN(regId) ) { regId = 0; }
  47.  
  48. if( regId > 0)
  49. {
  50. $('.post--' + id).toggle(0, function()
  51. {
  52. if( $(this).is(":visible") )
  53. {
  54. $('#hidden-title--' + id).html(hiddenMsgLabel.visible);
  55. }
  56. else
  57. {
  58. $('#hidden-title--' + id).html(hiddenMsgLabel.hidden);
  59. }
  60. });
  61. }
  62. }
  63. catch(e) { }
  64.  
  65. return false;
  66. };
  67.  
  68. //]]>
  69. </script>
  70.  
  71. <!-- BEGIN switch_user_logged_in -->
  72. <div id="pun-visit" class="clearfix">
  73. <ul>
  74. <!-- BEGIN switch_plus_menu -->
  75. <li>
  76. <script type="text/javascript">//<![CDATA[
  77. var url_favourite = '{switch_user_logged_in.U_FAVOURITE_JS_PLUS_MENU}';
  78. var url_newposts = '{U_NEWPOSTS_JS_PLUS_MENU}';
  79. var url_egosearch = '{U_EGOSEARCH_JS_PLUS_MENU}';
  80. var url_unanswered = '{U_UNANSWERED_JS_PLUS_MENU}';
  81. var url_watchsearch = '{U_WATCHSEARCH_JS_PLUS_MENU}';
  82. var url_tellfriend = '{U_TELLFRIEND_JS_PLUS_MENU}';
  83. insert_plus_menu_new('f{FORUM_ID}&amp;t={TOPIC_ID}','{JS_SESSION_ID}', {JS_AUTH_FAVOURITES});
  84. //]]>
  85. </script>
  86. </li>
  87. <!-- END switch_plus_menu -->
  88. <li><a class="addthis_button" href="http://www.addthis.com/bookmark.php?v=250&amp;pub=forumotion">{L_SHARE}</a></li>
  89. <li><a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a></li>
  90. <li><a href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a></li>
  91. <!-- BEGIN watchtopic -->
  92. <li>{S_WATCH_TOPIC}</li>
  93. <!-- END watchtopic -->
  94. </ul>
  95. <p>{LOGGED_AS}. {LAST_VISIT_DATE}</p>
  96. </div>
  97. <!-- END switch_user_logged_in -->
  98. <!-- BEGIN switch_user_logged_out -->
  99. <div id="pun-visit">
  100. <p>{L_NOT_CONNECTED} {L_LOGIN_REGISTER}</p>
  101. </div>
  102. <!-- END switch_user_logged_out -->
  103.  
  104. <div class="pun-crumbs noprint clearfix">
  105. <span class="crumbs" itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
  106. <a href="{U_INDEX}" itemprop="url"><span itemprop="title">{L_INDEX}</span></a>{NAV_CAT_DESC}&nbsp;»&nbsp;
  107. <strong><a href="{TOPIC_URL}" itemprop="url"><span itemprop="title">{TOPIC_TITLE}</span></a></strong>
  108. </span>
  109. <div class="right">
  110. <!-- BEGIN switch_twitter_btn -->
  111. <span>
  112. <a href="https://twitter.com/share" class="twitter-share-button" data-via="{TWITTER}">Tweet</a>
  113. <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>
  114. </span>
  115. <!-- END switch_twitter_btn -->
  116. <!-- BEGIN switch_fb_likebtn -->
  117. <script>(function(d, s, id) {
  118. var js, fjs = d.getElementsByTagName(s)[0];
  119. if (d.getElementById(id)) return;
  120. js = d.createElement(s); js.id = id;
  121. js.src = "//connect.facebook.net/{LANGUAGE}/all.js#xfbml=1";
  122. fjs.parentNode.insertBefore(js, fjs);
  123. }(document, 'script', 'facebook-jssdk'));</script>
  124. <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>
  125. <!-- END switch_fb_likebtn -->
  126. </div>
  127. </div>
  128.  
  129. <div class="main paged">
  130. <div class="paged-head clearfix">
  131. <h1>{TOPIC_TITLE}</h1>
  132. <!-- BEGIN topicpagination -->
  133. <p class="paging">{PAGINATION}</p>
  134. <!-- END topicpagination -->
  135. <p class="posting">
  136. <!-- BEGIN switch_user_authpost -->
  137. <a href="{U_POST_NEW_TOPIC}" rel="nofollow"><img src="{POST_IMG}" class="{POST_IMG_CLASS}" alt="{L_POST_NEW_TOPIC}" /></a>&nbsp;&nbsp;
  138. <!-- END switch_user_authpost -->
  139.  
  140. <!-- BEGIN switch_user_authreply -->
  141. <a href="{U_POST_REPLY_TOPIC}"><img src="{REPLY_IMG}" class="i_reply" alt="{L_POST_REPLY_TOPIC}" /></a>
  142. <!-- END switch_user_authreply -->
  143. </p>
  144. </div>
  145. {POLL_DISPLAY}
  146. <div class="main-head clearfix">
  147. <p class="h2">
  148. <a href="{U_VIEW_OLDER_TOPIC}">{L_VIEW_PREVIOUS_TOPIC}</a>&nbsp;<a href="{U_VIEW_NEWER_TOPIC}">{L_VIEW_NEXT_TOPIC}</a>&nbsp;<a href="#bottom">{L_GOTO_DOWN}</a>&nbsp;&nbsp;
  149. {L_MESSAGE} [{PAGE_NUMBER}]
  150. </p>
  151. </div>
  152.  
  153. <div class="main-content topic">
  154. <!-- BEGIN postrow -->
  155. <!-- BEGIN hidden -->
  156. <p class="p-hidden">{postrow.hidden.MESSAGE}</p>
  157. <!-- END hidden -->
  158.  
  159. <!-- BEGIN displayed -->
  160.  
  161. <div class="post post--{postrow.displayed.U_POST_ID}"{postrow.displayed.THANK_BGCOLOR} style="{postrow.displayed.DISPLAYABLE_STATE}">
  162. <a name="{postrow.displayed.U_POST_ID}" style="position: relative; top: -20px; width: 1px;" id="{postrow.displayed.U_POST_ID}"></a>
  163. <div class="postmain"{postrow.displayed.THANK_BGCOLOR}>
  164. <div id="p{postrow.displayed.U_POST_ID}" class="posthead"{postrow.displayed.THANK_BGCOLOR}>
  165. <h2>
  166. <strong>{postrow.displayed.COUNT_POSTS}</strong>
  167. {postrow.displayed.ICON} <a href="{postrow.displayed.POST_URL}">{postrow.displayed.POST_SUBJECT}</a> <span class="date-time">{postrow.displayed.POST_DATE_NEW}</span>
  168. </h2>
  169. </div>
  170.  
  171. <div class="postbody"{postrow.displayed.THANK_BGCOLOR}>
  172. <div class="arrow-u"></div>
  173. <div class="arrow-u2"></div>
  174. <div class="user">
  175. <div class="user-ident">
  176. <h4 class="username">{postrow.displayed.POSTER_NAME}</h4>
  177. <div class="user-basic-info">
  178. {postrow.displayed.POSTER_AVATAR}<br />
  179. {postrow.displayed.POSTER_RANK_NEW}{postrow.displayed.RANK_IMAGE}
  180. </div>
  181. </div>
  182. <div class="user-info">
  183. {postrow.displayed.ONLINE_IMG}
  184. <!-- BEGIN profile_field -->
  185. {postrow.displayed.profile_field.LABEL}{postrow.displayed.profile_field.CONTENT}{postrow.displayed.profile_field.SEPARATOR}
  186. <!-- END profile_field -->
  187. {postrow.displayed.POSTER_RPG}
  188. </div>
  189. </div>
  190.  
  191. <div class="post-entry">
  192. <div class="entry-content">
  193. <!-- BEGIN switch_vote_active -->
  194. <div class="vote gensmall">
  195. <!-- BEGIN switch_vote -->
  196. <div class="vote-button"><a href="{postrow.displayed.switch_vote_active.switch_vote.U_VOTE_PLUS}">+</a></div>
  197. <!-- END switch_vote -->
  198.  
  199. <!-- BEGIN switch_bar -->
  200. <div class="vote-bar" title="{postrow.displayed.switch_vote_active.L_VOTE_TITLE}">
  201. <!-- BEGIN switch_vote_plus -->
  202. <div class="vote-bar-plus" style="height:{postrow.displayed.switch_vote_active.switch_bar.switch_vote_plus.HEIGHT_PLUS}px;"></div>
  203. <!-- END switch_vote_plus -->
  204.  
  205. <!-- BEGIN switch_vote_minus -->
  206. <div class="vote-bar-minus" style="height:{postrow.displayed.switch_vote_active.switch_bar.switch_vote_minus.HEIGHT_MINUS}px;"></div>
  207. <!-- END switch_vote_minus -->
  208. </div>
  209. <!-- END switch_bar -->
  210.  
  211. <!-- BEGIN switch_no_bar -->
  212. <div title="{postrow.displayed.switch_vote_active.L_VOTE_TITLE}" class="vote-no-bar">----</div>
  213. <!-- END switch_no_bar -->
  214.  
  215. <!-- BEGIN switch_vote -->
  216. <div class="vote-button"><a href="{postrow.displayed.switch_vote_active.switch_vote.U_VOTE_MINUS}">-</a></div>
  217. <!-- END switch_vote -->
  218. </div>
  219. <!-- END switch_vote_active -->
  220. <div>
  221. <div>{postrow.displayed.MESSAGE}</div>
  222. <!-- BEGIN switch_attachments -->
  223. <dl class="attachbox">
  224. <dt>{postrow.displayed.switch_attachments.L_ATTACHMENTS}</dt>
  225. <dd>
  226. <!-- BEGIN switch_post_attachments -->
  227. <dl class="file">
  228. <dt>
  229. <img src="{postrow.displayed.switch_attachments.switch_post_attachments.U_IMG}" alt="" />
  230.  
  231. <!-- BEGIN switch_dl_att -->
  232. <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}
  233. <!-- END switch_dl_att -->
  234.  
  235. <!-- BEGIN switch_no_dl_att -->
  236. {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}
  237. <!-- END switch_no_dl_att -->
  238. </dt>
  239.  
  240. <!-- BEGIN switch_no_comment -->
  241. <dd>
  242. <em>{postrow.displayed.switch_attachments.switch_post_attachments.switch_no_comment.ATTACHMENT_COMMENT}</em>
  243. </dd>
  244. <!-- END switch_no_comment -->
  245.  
  246. <!-- BEGIN switch_no_dl_att -->
  247. <dd>
  248. <em><strong>{postrow.displayed.switch_attachments.switch_post_attachments.switch_no_dl_att.TEXT_NO_DL}</strong></em>
  249. </dd>
  250. <!-- END switch_no_dl_att -->
  251.  
  252. <dd>({postrow.displayed.switch_attachments.switch_post_attachments.FILE_SIZE}) {postrow.displayed.switch_attachments.switch_post_attachments.NB_DL}</dd>
  253. </dl>
  254. <!-- END switch_post_attachments -->
  255. </dd>
  256. </dl>
  257. <!-- END switch_attachments -->
  258. <div class="clear"></div>
  259. </div>
  260. <p>
  261. {postrow.displayed.EDITED_MESSAGE}
  262. </p>
  263. </div>
  264. </div>
  265. </div>
  266.  
  267. <!-- BEGIN switch_signature -->
  268. <div class="sig-content">
  269. {postrow.displayed.SIGNATURE_NEW}
  270. </div>
  271. <!-- END switch_signature -->
  272.  
  273. <div class="postfoot">
  274. <div class="user-contact profile_{postrow.displayed.PROFILE_POSITION}">
  275. {postrow.displayed.PROFILE_IMG} {postrow.displayed.PM_IMG} {postrow.displayed.EMAIL_IMG}<!-- BEGIN contact_field --> {postrow.displayed.contact_field.CONTENT}<!-- END contact_field -->
  276. </div>
  277. <div class="post-options profile_{postrow.displayed.PROFILE_POSITION}">
  278. {postrow.displayed.THANK_IMG} {postrow.displayed.MULTIQUOTE_IMG} {postrow.displayed.QUOTE_IMG} {postrow.displayed.EDIT_IMG} {postrow.displayed.DELETE_IMG} {postrow.displayed.IP_IMG} {postrow.displayed.REPORT_IMG}
  279. </div>
  280. <div style="clear:both;"></div>
  281. </div>
  282. </div>
  283. </div>
  284. <!-- BEGIN first_post_br -->
  285. </div>
  286. <hr id="first-post-br" />
  287. <div class="main-content topic">
  288. <!-- END first_post_br -->
  289. <!-- END displayed -->
  290. <!-- END postrow -->
  291. </div>
  292.  
  293. <div class="main-foot clearfix">
  294. <p class="h2">
  295. <a href="{U_VIEW_OLDER_TOPIC}">{L_VIEW_PREVIOUS_TOPIC}</a>&nbsp;<a href="{U_VIEW_NEWER_TOPIC}">{L_VIEW_NEXT_TOPIC}</a>&nbsp;<a href="#top">{L_BACK_TO_TOP}</a>&nbsp;&nbsp;
  296. {L_MESSAGE} [{PAGE_NUMBER}]
  297. </p>
  298. <p class="options">
  299. <input type="hidden" name="t" value="{TOPIC_ID}" />
  300.  
  301. <!-- <input type="hidden" name="sid" value="{S_SID}" /> -->
  302. <input type="hidden" name="{SECURE_ID_NAME}" value="{SECURE_ID_VALUE}" />
  303.  
  304. <!-- BEGIN viewtopic_bottom -->
  305. {S_TOPIC_ADMIN}
  306. <!-- END viewtopic_bottom -->
  307. </p>
  308. </div>
  309.  
  310. <a name="bottomtitle"></a>
  311.  
  312. <div class="paged-foot clearfix">
  313. <!-- BEGIN topicpagination -->
  314. <p class="paging">{PAGINATION}</p>
  315. <!-- END topicpagination -->
  316. <p class="posting">
  317. <!-- BEGIN switch_user_authpost -->
  318. <a href="{U_POST_NEW_TOPIC}" rel="nofollow"><img src="{POST_IMG}" class="{POST_IMG_CLASS}" alt="{L_POST_NEW_TOPIC}" /></a>&nbsp;&nbsp;
  319. <!-- END switch_user_authpost -->
  320.  
  321. <!-- BEGIN switch_user_authreply -->
  322. <a href="{U_POST_REPLY_TOPIC}"><img src="{REPLY_IMG}" class="i_reply" alt="{L_POST_REPLY_TOPIC}" /></a>
  323. <!-- END switch_user_authreply -->
  324. </p>
  325. </div>
  326.  
  327. </div>
  328.  
  329. <div class="pun-crumbs">
  330. <p class="crumbs">
  331. <a href="{U_INDEX}">{L_INDEX}</a>{NAV_CAT_DESC}&nbsp;»&nbsp;
  332. <strong><a href="{TOPIC_URL}">{TOPIC_TITLE}</a></strong>
  333. </p>
  334. </div>
  335.  
  336. <!-- BEGIN promot_trafic -->
  337. <div class="main" id="ptrafic_close" style="display:none">
  338. <div class="main-head clearfix">
  339. <p class="h2">{PROMOT_TRAFIC_TITLE}</p>
  340. <p class="options"><a href="javascript:ShowHideLayer('ptrafic_open','ptrafic_close');"><img src="{TABS_MORE_IMG}" alt="+" align="" border="0" /></a></p>
  341. </div>
  342. </div>
  343. <div class="main" id="ptrafic_open" style="display:''">
  344. <div class="main-head clearfix">
  345. <p class="h2">{PROMOT_TRAFIC_TITLE}</p>
  346. <p class="options"><a href="javascript:ShowHideLayer('ptrafic_open','ptrafic_close');"><img src="{TABS_LESS_IMG}" alt="-" align="" border="0" /></a></p>
  347. </div>
  348. <div class="main-content clearfix">
  349. <!-- BEGIN link -->
  350. »&nbsp;<a href="{promot_trafic.link.U_HREF}" target="_blank" title="{promot_trafic.link.TITLE}" rel="nofollow">{promot_trafic.link.TITLE}</a><br />
  351. <!-- END link -->
  352. </div>
  353. </div>
  354. <!-- END promot_trafic -->
  355.  
  356. <!-- BEGIN switch_forum_rules -->
  357. <div class="main" id="forum_rules">
  358. <div class="main-head clearfix">
  359. <p class="h2">{L_FORUM_RULES}</p>
  360. </div>
  361. <table class="main-content frm">
  362. <tr>
  363. <!-- BEGIN switch_forum_rule_image -->
  364. <td class="logo">
  365. <img src="{RULE_IMG_URL}" alt="" />
  366. </td>
  367. <!-- END switch_forum_rule_image -->
  368. <td class="rules entry-content">
  369. {RULE_MSG}
  370. </td>
  371. </tr>
  372. </table>
  373. </div>
  374. <!-- END switch_forum_rules -->
  375.  
  376. <!-- BEGIN switch_user_logged_in -->
  377. <a name="quickreply"></a>
  378. {QUICK_REPLY_FORM}
  379. <!-- END switch_user_logged_in -->
  380.  
  381. <div id="pun-info" class="main">
  382. <div class="main-content">
  383. <div id="stats">
  384. <p>{L_TABS_PERMISSIONS} <br />{S_AUTH_LIST}</p>
  385. </div>
  386. </div>
  387. </div>
  388.  
  389. <!-- BEGIN switch_image_resize -->
  390. <script type="text/javascript">
  391. //<![CDATA[
  392. $(resize_images({ 'selector' : '.post-entry .entry-content', 'max_width' : {switch_image_resize.IMG_RESIZE_WIDTH}, 'max_height' : {switch_image_resize.IMG_RESIZE_HEIGHT} }));
  393. //]]>
  394. </script>
  395. <!-- END switch_image_resize -->
  396.  
  397. <!-- <script src="{JS_DIR}addthis/addthis_widget_bak002.js" type="text/javascript"></script> -->
  398. <!-- <script src="{JS_DIR}addthis/addthis_widget.js" type="text/javascript"></script> -->
  399. <!-- --><script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=forumotion" async></script><!-- -->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement