Admin
Thông Tin Cá Nhân
Bài gửi : 76
Tổng Điểm : 226
Cảm Ơn : 1
Gia Nhập : 01/08/2012
Code: <script type="text/javascript">//<![CDATA[ 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}" }; $(function(){ _atc.cwait = 0; $('.addthis_button').mouseup(function(){ if ($('#at15s').css('display') == 'block') { addthis_close(); } }); }); var hiddenMsgLabel = { visible:'{JS_HIDE_HIDDEN_MESSAGE}', hidden:'{JS_SHOW_HIDDEN_MESSAGE}' }; showHiddenMessage = function(id) { try { var regId = parseInt(id, 10); if( isNaN(regId) ) { regId = 0; } if( regId > 0) { $('.post--' + id).toggle(0, function() { if( $(this).is(":visible") ) { $('#hidden-title--' + id).html(hiddenMsgLabel.visible); } else { $('#hidden-title--' + id).html(hiddenMsgLabel.hidden); } }); } } catch(e) { } return false; }; //]]> </script> <div class="pun-crumbs noprint"> <p class="crumbs"> <a href="{U_INDEX}">{L_INDEX}</a>{NAV_CAT_DESC} » <strong><a href="{TOPIC_URL}">{TOPIC_TITLE}</a></strong> <!-- BEGIN switch_twitter_btn --> <span id="twitter_btn" style="margin-left: 6px; "> <a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal">Tweet</a> <script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script> </span> <!-- END switch_twitter_btn --> <!-- BEGIN switch_fb_likebtn --> <span id="fb_likebtn" style="margin-left: 6px; "> <iframe src="http://www.facebook.com/plugins/like.php?href={FORUM_URL}{TOPIC_URL}&layout=button_count&show_faces=false&width=450&action=like&colorscheme=light&height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:auto; height:21px;" allowTransparency="true"></iframe> </span> <!-- END switch_fb_likebtn --> </p> </div> <div class="main paged"> <div class="paged-head clearfix"> <!-- BEGIN topicpagination --> <p class="paging">{PAGINATION}</p> <!-- END topicpagination --> <p class="posting"> <!-- BEGIN switch_user_authpost --> <a href="{U_POST_NEW_TOPIC}" rel="nofollow"><img src="{POST_IMG}" class="{POST_IMG_CLASS}" alt="{L_POST_NEW_TOPIC}" /></a> <!-- END switch_user_authpost --> <!-- BEGIN switch_user_authreply --> <a href="{U_POST_REPLY_TOPIC}"><img src="{REPLY_IMG}" class="i_reply" alt="{L_POST_REPLY_TOPIC}" /></a> <!-- END switch_user_authreply --> </p> </div> {POLL_DISPLAY} <div class="main-head clearfix"> <p class="h2"> <a href="{U_VIEW_OLDER_TOPIC}">{L_VIEW_PREVIOUS_TOPIC}</a> <a href="{U_VIEW_NEWER_TOPIC}">{L_VIEW_NEXT_TOPIC}</a> <a href="#bottom">{L_GOTO_DOWN}</a> {L_MESSAGE} [{PAGE_NUMBER}] </p> </div> <div class="main-content topic"> <!-- BEGIN postrow --> <!-- BEGIN hidden --> <p class="p-hidden">{postrow.hidden.MESSAGE}</p> <!-- END hidden --> <!-- BEGIN displayed --> <!-- BEGIN first_post_br --> </div> <div class="main-content topic"> <!-- END first_post_br --> <div class="post post--{postrow.displayed.U_POST_ID}"{postrow.displayed.THANK_BGCOLOR} style="{postrow.displayed.DISPLAYABLE_STATE}"> <a name="{postrow.displayed.U_POST_ID}"></a> <div id="p{postrow.displayed.U_POST_ID}" class="posthead"{postrow.displayed.THANK_BGCOLOR}> <h2> <strong>{postrow.displayed.COUNT_POSTS}</strong> {postrow.displayed.POST_DATE_NEW} </h2> </div> <div class="postmai"{postrow.displayed.THANK_BGCOLOR}> <div class="postbody"{postrow.displayed.THANK_BGCOLOR}> <div class="ProfilePost"> <div class="user-ident"> <div class="user-basic-info"> <div class="Avatar">{postrow.displayed.POSTER_AVATAR}</div> <div class="User-name"> <h4 class="username">{postrow.displayed.POSTER_NAME} {postrow.displayed.ONLINE_IMG}</h4> <br /> <br /> {postrow.displayed.POSTER_RANK_NEW} </div> </div> </div> <div class="user-info"> <!-- BEGIN profile_field --> <div> {postrow.displayed.profile_field.LABEL}{postrow.displayed.profile_field.CONTENT}{postrow.displayed.profile_field.SEPARATOR} </div> <!-- END profile_field --> </div> </div> <div style="padding:5px 0px 5px 10px">{postrow.displayed.ICON}</div> <div style="border-bottom:1px solid #ddd;"></div> <div class="post-entry"> <div class="entry-content"> <div> <div class="postbody-content">{postrow.displayed.MESSAGE}</div> <!-- BEGIN switch_attachments --> <dl class="attachbox"> <dt>{postrow.displayed.switch_attachments.L_ATTACHMENTS}</dt> <dd> <!-- BEGIN switch_post_attachments --> <dl class="file"> <dt> <img src="{postrow.displayed.switch_attachments.switch_post_attachments.U_IMG}" alt="" /> <!-- BEGIN switch_dl_att --> <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} <!-- END switch_dl_att --> <!-- BEGIN switch_no_dl_att --> {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} <!-- END switch_no_dl_att --> </dt> <!-- BEGIN switch_no_comment --> <dd> <em>{postrow.displayed.switch_attachments.switch_post_attachments.switch_no_comment.ATTACHMENT_COMMENT}</em> </dd> <!-- END switch_no_comment --> <!-- BEGIN switch_no_dl_att --> <dd> <em><strong>{postrow.displayed.switch_attachments.switch_post_attachments.switch_no_dl_att.TEXT_NO_DL}</strong></em> </dd> <!-- END switch_no_dl_att --> <dd>({postrow.displayed.switch_attachments.switch_post_attachments.FILE_SIZE}) {postrow.displayed.switch_attachments.switch_post_attachments.NB_DL}</dd> </dl> <!-- END switch_post_attachments --> </dd> </dl> <!-- END switch_attachments --> <!-- BEGIN switch_vote_active --> <div class="vote gensmall"> <!-- BEGIN switch_vote --> <div class="vote-button"><a href="{postrow.displayed.switch_vote_active.switch_vote.U_VOTE_PLUS}">+</a></div> <!-- END switch_vote --> <!-- BEGIN switch_bar --> <div class="vote-bar" title="{postrow.displayed.switch_vote_active.L_VOTE_TITLE}" IdBai="{postrow.displayed.U_POST_ID}"> <!-- BEGIN switch_vote_plus --> <div class="vote-bar-plus" style="height:{postrow.displayed.switch_vote_active.switch_bar.switch_vote_plus.HEIGHT_PLUS}px;"></div> <!-- END switch_vote_plus --> <!-- BEGIN switch_vote_minus --> <div class="vote-bar-minus" style="height:{postrow.displayed.switch_vote_active.switch_bar.switch_vote_minus.HEIGHT_MINUS}px;"></div> <!-- END switch_vote_minus --> </div> <!-- END switch_bar --> <!-- BEGIN switch_no_bar --> <div title="{postrow.displayed.switch_vote_active.L_VOTE_TITLE}" class="vote-no-bar">----</div> <!-- END switch_no_bar --> <!-- BEGIN switch_vote --> <div class="vote-button"><a href="{postrow.displayed.switch_vote_active.switch_vote.U_VOTE_MINUS}">-</a></div> <!-- END switch_vote --> </div> <!-- END switch_vote_active --> <div class="clear"></div> </div> <p> {postrow.displayed.EDITED_MESSAGE} </p> </div> </div> </div> <!-- BEGIN switch_signature --> <br /> <br /> <div style="border-bottom:1px solid #ddd;"></div> <div class="sig-content"> {postrow.displayed.SIGNATURE_NEW} </div> <!-- END switch_signature --> <div class="postfoo"> <!--<div class="user-contact profile_{postrow.displayed.PROFILE_POSITION}"> {postrow.displayed.PROFILE_IMG} {postrow.displayed.PM_IMG} {postrow.displayed.EMAIL_IMG}<!-- BEGIN contact_field --> <!--{postrow.displayed.contact_field.CONTENT}<!-- END contact_field --> <!--</div>--> <!-- BEGIN switch_vote_active --> <!-- BEGIN switch_vote --> <a class="lvote" href="{postrow.displayed.switch_vote_active.switch_vote.U_VOTE_PLUS}" target="thanks" onclick="exec_refresh({postrow.displayed.U_POST_ID});">Cảm ơn</a> <!-- END switch_vote --> <!-- END switch_vote_active --> <span class="quote" onclick="showquote({postrow.displayed.U_POST_ID})">Trả lời trích dẫn</span> <span class="Reply" onclick="showreply({postrow.displayed.U_POST_ID})">Trả lời</span> {postrow.displayed.DELETE_IMG} {postrow.displayed.EDIT_IMG} </div> <div class="Datreply"></div> <div class="DatThank"></div> </div> </div> <!-- END displayed --> <!-- END postrow --> </div> <div class="main-foot clearfix"> <p class="h2"> <a href="{U_VIEW_OLDER_TOPIC}">{L_VIEW_PREVIOUS_TOPIC}</a> <a href="{U_VIEW_NEWER_TOPIC}">{L_VIEW_NEXT_TOPIC}</a> <a href="#top">{L_BACK_TO_TOP}</a> {L_MESSAGE} [{PAGE_NUMBER}] </p> <p class="options"> <input type="hidden" name="t" value="{TOPIC_ID}" /> <!-- <input type="hidden" name="sid" value="{S_SID}" /> --> <input type="hidden" name="{SECURE_ID_NAME}" value="{SECURE_ID_VALUE}" /> <!-- BEGIN viewtopic_bottom --> {S_TOPIC_ADMIN} <!-- END viewtopic_bottom --> </p> </div> <a name="bottomtitle"></a> <div class="paged-foot clearfix"> <!-- BEGIN topicpagination --> <p class="paging">{PAGINATION}</p> <!-- END topicpagination --> <p class="posting"> <!-- BEGIN switch_user_authpost --> <a href="{U_POST_NEW_TOPIC}" rel="nofollow"><img src="{POST_IMG}" class="{POST_IMG_CLASS}" alt="{L_POST_NEW_TOPIC}" /></a> <!-- END switch_user_authpost --> <!-- BEGIN switch_user_authreply --> <a href="{U_POST_REPLY_TOPIC}"><img src="{REPLY_IMG}" class="i_reply" alt="{L_POST_REPLY_TOPIC}" /></a> <!-- END switch_user_authreply --> </p> </div> </div> <div class="pun-crumbs"> <p class="crumbs"> <a href="{U_INDEX}">{L_INDEX}</a>{NAV_CAT_DESC} » <strong><a href="{TOPIC_URL}">{TOPIC_TITLE}</a></strong> </p> </div> <!-- BEGIN promot_trafic --> <div class="main" id="ptrafic_close" style="display:none"> <div class="main-head clearfix"> <p class="h2">{PROMOT_TRAFIC_TITLE}</p> <p class="options"><a href="javascript:ShowHideLayer('ptrafic_open','ptrafic_close');"><img src="{TABS_MORE_IMG}" alt="+" align="" border="0" /></a></p> </div> </div> <div class="main" id="ptrafic_open" style="display:''"> <div class="main-head clearfix"> <p class="h2">{PROMOT_TRAFIC_TITLE}</p> <p class="options"><a href="javascript:ShowHideLayer('ptrafic_open','ptrafic_close');"><img src="{TABS_LESS_IMG}" alt="-" align="" border="0" /></a></p> </div> <div class="main-content clearfix"> <!-- BEGIN link --> » <a href="{promot_trafic.link.U_HREF}" target="_blank" title="{promot_trafic.link.TITLE}">{promot_trafic.link.TITLE}</a><br /> <!-- END link --> </div> </div> <!-- END promot_trafic --> <!-- BEGIN switch_forum_rules --> <div class="main" id="forum_rules"> <div class="main-head clearfix"> <p class="h2">{L_FORUM_RULES}</p> </div> <table class="main-content frm"> <tr> <!-- BEGIN switch_forum_rule_image --> <td class="logo"> <img src="{RULE_IMG_URL}" alt="" /> </td> <!-- END switch_forum_rule_image --> <td class="rules entry-content"> {RULE_MSG} </td> </tr> </table> </div> <!-- END switch_forum_rules --> <script> var Id=0; var url="{TOPIC_URL}"; function showreply(n) { begin(n);$('.post--'+n+' .Datreply').load(url+' form.frm-form',function(){ $('.post--'+n+' .Datreply').fadeIn('slow'); hide(n); Id=n; }); } function showquote(n) {begin(n); $('.post--'+n+' .Datreply').load(url+' form.frm-form',function(){ var Text=$('.post--'+n+' .entry-content .postbody-content').html(); var User=$('.post--'+n+' .User-name h4.username span strong').text(); $('.post--'+n+' .Datreply textarea').html('[quote="'+User+'"]'+Text+'[/quote]'); $('.post--'+n+' .Datreply').fadeIn('slow'); hide(n);Id=n }); } function begin(n) { $('.post--'+n+' .Datreply').html("<img src='http://i43.servimg.com/u/f43/16/03/04/56/icon_l12.gif' />Loadding....."); } function hide(n) { $("<input type='button' value='Hủy' onclick='Close()'/> ").appendTo('.post--'+n+' .Datreply form .frm-buttons'); } function Close() { $('.post--'+Id+' .Datreply').fadeOut('slow'); } </script> <style> .post .Datreply form.frm-form #text_editor_textarea { height:100px; } .post .Datreply form.frm-form #textarea_content { width:100%; } .pun .posthead { background:#000; border:none; padding: 5px; color: white; } .Datreply form .frm-buttons input { padding:2px 5px; margin-right:5px; background-color:#ddd; border:none; border:1px solid #ccc; cursor:pointer; } .pun .postmai { width:100%; background-color:#fff; } .postfoo { background-color: #ddd; height: 27px; line-height: 27px; } .Thank,span.quote,span.Reply,.lvote { color:#4e4e4e; cursor:pointer; font-weight:700; padding-left: 20px; } .postfoo a img { float:right; margin-right:10px; } .Thank:hover,span.quote:hover,span.Reply:hover,.lvote:hover { color:#00a1c3; } span.quote,span.Reply { background:url(http://i38.servimg.com/u/f38/18/45/62/82/trichd10.png)no-repeat transparent left; margin-left:20px; } span.quote { margin-left:5px; } .lvote { background:url(http://i34.servimg.com/u/f34/17/59/85/75/thank10.png)no-repeat transparent left; margin-left:10px; margin-right:10px; } .entry-content .vote { display:none; } .pun .ProfilePost { background-color: #f4f4f4; padding: 20px; border-bottom: 1px dotted #ddd; position:relative; height:90px; } .pun .ProfilePost .user-ident { position:absolute; left:10px; top:10px; } .pun .ProfilePost .user-info { position:absolute; right:10px; top:10px; } .pun .ProfilePost .user-info span { color:red } .pun .ProfilePost .user-info div { background-color:#fff; padding:2px 5px; margin-bottom:1px; border:1px dotted #ccc; } .pun .ProfilePost .user-ident .user-basic-info .Avatar { width:100px; height:100px; border:1px solid #ccc; padding:3px 5px; float:left; } .pun .ProfilePost .user-ident .user-basic-info .Avatar img { width:100px; height:100px; } .pun .ProfilePost .user-ident .user-basic-info .User-name { float:left; margin-left:10px; } /*colorbox*/ #colorbox,#cboxOverlay,#cboxWrapper{position:absolute;top:0;left:0;z-index: 999;overflow:hidden;}#cboxOverlay{position:fixed;width:100%;height:100%;background:#000;}#cboxMiddleLeft,#cboxBottomLeft{clear:left;}#cboxContent{position:relative;background:#fff;overflow:visible;}#cboxLoadedContent{overflow:auto;margin-bottom:5px;}#cboxTitle{position:absolute;bottom:-25px;left:0;text-align:center;width:100%;font-weight:700;color:#7C7C7C;margin:0;}#cboxLoadingOverlay,#cboxLoadingGraphic{position:absolute;top:0;left:0;width:100%;}#cboxPrevious,#cboxNext,#cboxClose,#cboxSlideshow{cursor:pointer;position:absolute;bottom:-29px;background:url(http://i20.servimg.com/u/f20/15/90/59/25/contro26.png) no-repeat 0 0;width:23px;height:23px;text-indent:-9999px;}.cboxPhoto{float:left;border:0;display:block;margin:auto;}.cboxIframe{width:100%;height:100%;display:block;border:0;}#cboxTopLeft{width:14px;height:14px;background:url(http://i20.servimg.com/u/f20/15/90/59/25/contro27.png) no-repeat 0 0;}#cboxTopCenter{height:14px;background:url(http://i20.servimg.com/u/f20/15/90/59/25/border23.png) repeat-x top left;}#cboxTopRight{width:14px;height:14px;background:url(http://i20.servimg.com/u/f20/15/90/59/25/contro28.png) no-repeat -36px 0;}#cboxBottomLeft{width:14px;height:43px;background:url(http://i20.servimg.com/u/f20/15/90/59/25/contro29.png) no-repeat 0 -32px;}#cboxBottomCenter{height:43px;background:url(http://i20.servimg.com/u/f20/15/90/59/25/border24.png) repeat-x bottom left;}#cboxBottomRight{width:14px;height:43px;background:url(http://i20.servimg.com/u/f20/15/90/59/25/contro30.png) no-repeat -36px -32px;}#cboxMiddleLeft{width:14px;background:url(http://i20.servimg.com/u/f20/15/90/59/25/contro30.png) repeat-y -175px 0;}#cboxMiddleRight{width:14px;background:url(http://i20.servimg.com/u/f20/15/90/59/25/contro30.png) repeat-y -211px 0;}#cboxLoadingOverlay{background:url(http://i20.servimg.com/u/f20/14/50/49/34/loadin10.png) no-repeat center center;}#cboxLoadingGraphic{background:url(http://i20.servimg.com/u/f20/15/90/59/25/loadin12.gif) no-repeat center center;}#cboxCurrent{position:absolute;bottom:-25px;left:58px;font-weight:700;color:#7C7C7C;}#cboxPrevious{left:0;background-position:-51px -25px;}#cboxPrevious.hover{background-position:-51px 0;}#cboxNext{left:27px;background-position:-75px -25px;}#cboxNext.hover{background-position:-75px 0;}#cboxClose{right:0;background-position:-100px -25px;}#cboxClose.hover{background-position:-100px 0;}.cboxSlideshow_on #cboxSlideshow{background-position:-125px 0;right:27px;}.cboxSlideshow_on #cboxSlideshow.hover{background-position:-150px 0;}.cboxSlideshow_off #cboxSlideshow{background-position:-150px -25px;right:27px;}.cboxSlideshow_off #cboxSlideshow.hover{background-position:-125px 0;}.colorpicker { width: 356px; height: 176px; overflow: hidden; position: absolute; background: url(http://i27.servimg.com/u/f27/14/67/90/38/bg1010.png); font-family: Arial, Helvetica, sans-serif; display: none; } .postbody-content img { max-width:400px; max-height:200px; } </style> <!-- BEGIN switch_user_logged_in --> <a name="quickreply"></a> {QUICK_REPLY_FORM} <!-- END switch_user_logged_in --> <!-- BEGIN switch_user_logged_out --> <style> span.quote,span.Reply { display:none; } </style> <!-- END switch_user_logged_out --> <div id="pun-info" class="main"> <div class="main-content"> <div id="stats"> <p>{L_TABS_PERMISSIONS} <br />{S_AUTH_LIST}</p> </div> </div> </div> <!-- BEGIN switch_image_resize --> <script type="text/javascript"> //<![CDATA[ $(resize_images({ 'selector' : '.post-entry .entry-content .postbody-content', 'max_width' : {switch_image_resize.IMG_RESIZE_WIDTH}, 'max_height' : {switch_image_resize.IMG_RESIZE_HEIGHT} })); //]]> </script> <!-- END switch_image_resize --> <script src="{JS_DIR}addthis/addthis_widget.js" type="text/javascript"></script> <script type="text/javascript"> $(function(){ var size=$(".vote .vote-bar").size(); var temp; var IdBai; var parts; for(var i=0;i<size;i++) { temp=$(".vote .vote-bar:eq("+i+")").attr('title'); IdBai=$(".vote .vote-bar:eq("+i+")").attr('IdBai'); parts=temp.split('('); $('.post--'+IdBai+' .DatThank').html('<br />Có <span>'+parts[1][0]+'</span> người cảm ơn bài viết này<br />'); } }); </script> <script type="text/javascript"> function exec_refresh(n) { myvar = myvar + ' .'; var timerID = setTimeout('exec_refresh();', 20); if (timeout > 0) { timeout -= 1; } else { clearTimeout(timerID); window.status = ''; } var thank=$(".post--"+n+" .DatThank"); if(thank.html()=="") { thank.html("<br>Có 1 người cảm ơn bài viết này"); } else { var sl=parseInt(thank.find("span").text()); thank.html("<br/>Có "+(sl+1)+" người cảm ơn bài viết này"); } thank.parent().find(".lvote").fadeOut(); return false; } var myvar = ''; var timeout = 50; </script> <iframe name="thanks" height="0" width="0" frameborder="0"></iframe>
Thông điệp [Trang 1 trong tổng số 1 trang]
Similar topics
Similar topics
Permissions in this forum: Bạn không có quyền trả lời bài viết