Advertisement
Guest User

Viewtopic alterado

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