TinPr0
Bài gửi : 309
Tiền : 851
Thanks : 0
TinPr0 on 30/03/2013
TinPr0
theo yêu cầu ở topic http://www.hotrofm.com/t3998-topic#31492 mình sẽ share viewtopic_body full 100% k thiếu 1 chi tiết nào cả
1 số chỉnh sữa cho phù hợp 1 số Forum khác đều xài được by Tống Hoàng Tín :)
Code: <script type="text/javascript">//<![CDATA[ var multiquote_img_off = 'http://2img.net/i/fa/empty.gif', multiquote_img_on = 'http://2img.net/i/fa/empty.gif', _atr = 'http://illiweb.com/rs3/34/frm/addthis/', _ati = 'http://illiweb.com/fa/addthis/', addthis_config = { ui_click: true, ui_language: "vi" }, addthis_localize = { share_caption: "Add to bookmarks / Share", email: "Email", email_caption: "Send to a friend", favorites: "Favourites", print: "Print", more: "More..." }; $(function(){ _atc.cwait = 0; $('.addthis_button').mouseup(function(){ if ($('#at15s').css('display') == 'block') { addthis_close(); addthis_close(); }}); $(".thongtin:contains('Status:'),.thongtin:contains('dulieuava: ')").remove(); $(".coin").each(function () { $(this).html($(this).find("div:contains('Status:') div").html()); }); });function shop(a, c, st, s, v, x) {var rip = ('ban quyen thuoc ve thpthoaiduca.com');var rua = (v*10+x*5);var can = (rua/3000);var hda = Math.floor(can+parseInt(1));if(hda>60){(hda="60")};if (a.substr(a.indexOf('title="')+7,3) != 'Nam' && a.substr(a.indexOf('title="')+7,2) != 'Nữ') {var b = a.split('|');if (c.substr(c.indexOf('title="')+7,3) == 'Nam') {var dir = 'm';} else {var dir = 'f';}document.write('<embed src="http://yteen.vn/forum/cngavst/profile.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" play="true" loop="true" scale="showall" wmode="transparent" name="gnAvatar" menu="true" allowfullscreen="false" allowscriptaccess="always" salign="" flashvars="wp=' + b[8] + '&_face=equip/' + dir + '/face/face' + b[0] + '/&_hair=equip/' + dir + '/hair/hair' + b[3] + '/&_cloth=equip/' + dir + '/cloth/cloth' + b[2] + '/&_eff=equip/' + dir + '/eff/eff' + b[5] + '/&_hat=equip/' + dir + '/head/head' + b[4] + '/&_glass=equip/' + dir + '/glass/glass' + b[1] + '/&_hide1=2&_hide2=1&_hide3=1&_hidewings=&_wing=wing' + b[6] + '&_cng=cng' + b[9] + '&_circle=circle' + b[7] + '&_suit=equip/' + dir + '/suits/suits120/&lvl=' + hda + '" type="application/x-shockwave-flash" height="230px" width="260px" align="middle">'); } } //]]> </script> <!-- BEGIN switch_user_logged_in --> <div id="pun-visit" class="clearfix"> <ul> <!-- BEGIN switch_plus_menu --> <li> <script type="text/javascript">//<![CDATA[ var url_favourite = '{switch_user_logged_in.U_FAVOURITE_JS_PLUS_MENU}'; var url_newposts = '{U_NEWPOSTS_JS_PLUS_MENU}'; var url_egosearch = '{U_EGOSEARCH_JS_PLUS_MENU}'; var url_unanswered = '{U_UNANSWERED_JS_PLUS_MENU}'; var url_watchsearch = '{U_WATCHSEARCH_JS_PLUS_MENU}'; var url_tellfriend = '{U_TELLFRIEND_JS_PLUS_MENU}'; insert_plus_menu_new('f{FORUM_ID}&t={TOPIC_ID}','{JS_SESSION_ID}', {JS_AUTH_FAVOURITES}); //]]> </script> </li> <!-- END switch_plus_menu --> <li><a class="addthis_button" href="http://www.addthis.com/bookmark.php?v=250&pub=forumotion">{L_SHARE}</a></li> <li><a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a></li> <li><a href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a></li> <!-- BEGIN watchtopic --> <li>{S_WATCH_TOPIC}</li> <!-- END watchtopic --> </ul> <p>{LOGGED_AS}. {LAST_VISIT_DATE}</p> </div> <!-- END switch_user_logged_in --> <!-- BEGIN switch_user_logged_out --> <div id="pun-visit"> <p>{L_NOT_CONNECTED} {L_LOGIN_REGISTER}</p> </div> <!-- END switch_user_logged_out --> <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> {POLL_DISPLAY} <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> <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 displayed --> <table align="center" cellpadding="0" cellspacing="0" style="width: 100%; "> <div id="p{postrow.displayed.U_POST_ID}" class="posthead"{postrow.displayed.THANK_BGCOLOR}> <div id="nav" style="width: 940px"> {postrow.displayed.ICON} <a href="{postrow.displayed.POST_URL}">{postrow.displayed.POST_SUBJECT}</a> {postrow.displayed.POST_DATE_NEW} </div> <table align="center" cellpadding="0" cellspacing="0" style="width: 100%; "> <tbody> <tr> <td> <div class="user-ident" style="float:left;padding:10px;"> <div class="user-basic-info"> <div> <tr> <table cellpadding="0" cellspacing="6" border="0" width="100%"> <tbody> <tr> <div class="blast1"></div> <div class="blast"> <b><marquee behavior="scroll" onmouseover="this.stop()" onmouseout="this.start()" scrollamount="1" scrolldelay="20" direction="left" truespeed="truespeed" style="width: 750px;margin-left: -8px;"> <span class="coin"> <!-- BEGIN profile_field --><div style="display:none">{postrow.displayed.profile_field.LABEL}<div>{postrow.displayed.profile_field.CONTENT}</div>:{postrow.displayed.profile_field.SEPARATOR}</div><!-- END profile_field --> </span> </marquee></b></div> </div> <td> <span class="avatar97">{postrow.displayed.POSTER_AVATAR}</span> </td> <td nowrap="nowrap"> <div id="postmenu_{postrow.displayed.U_POST_ID}"> {postrow.displayed.POSTER_NAME} {postrow.displayed.ONLINE_IMG} </div> <div class="rank">{postrow.displayed.RANK_IMAGE}</div> <fieldset style="width: 125px; border: 1px solid; margin: 5px; padding: 5px 10px;"><legend>Danh hiệu</legend><font size="4" face="Times New Roman"><b><font size="3" color="#ffffff" style="text-shadow: 0px 0px 6px rgb(800, 0, 100), 0px 0px 5px rgb(800, 0,100), 0px 0px 5px rgb(800, 0,100);"><marquee scrollamount="4">{postrow.displayed.POSTER_RANK_NEW}<br /></marquee></font></b></font></fieldset> </td> <td width="300px" align="center"> <div class="user-pet" style="margin-left: 15px;margin-top: -30px;"> <div class="huanchuong"> <script>shop(<!-- BEGIN profile_field -->'{postrow.displayed.profile_field.CONTENT}',<!-- END profile_field -->1);</script> </div> </div> <td valign="middle" nowrap="nowrap" width="200px"> <span class="prone d{postrow.displayed.U_POST_ID}"><!-- BEGIN profile_field --><div class="thongtin" align="left">{postrow.displayed.profile_field.LABEL}<span class="dulieu">{postrow.displayed.profile_field.CONTENT}</span>{postrow.displayed.profile_field.SEPARATOR}</div><!-- END profile_field --></span> </div></td> </tr> </tbody> </table> <div class="normal" style="float:right"> <strong style="float: right; background: #2ebcff;padding: 2px;color: #fff;min-width:15px;height: 15px;font-size: 12px;text-align: center;-webkit-border-radius: 99px; -moz-border-radius: 99px; border-radius: 99px;position: relative;top: 1px;">Bài viết :{postrow.displayed.COUNT_POSTS}</strong> </div> <table align="center" border="0" cellpadding="0" cellspacing="0" style="width: 100%; "> <tbody> <tr> <td> <a name="{postrow.displayed.U_POST_ID}"></a> <div class="postmain"{postrow.displayed.THANK_BGCOLOR}> </div> <img src="http://www.9xstudio.biz/users/1113/13/44/26/avatars/gallery/thanhn10.png" border="0" width="100%" > <div class="postbody"{postrow.displayed.THANK_BGCOLOR}> <div class="post-entry"> <div class="entry-content"> <div> <div><table cellSpacing="0" cellPadding="0" border="0" style="width:auto"> <tr> <td style="padding: 0px"><img src="http://i52.servimg.com/u/f52/12/82/29/24/admin_10.gif"></td> <td style="padding: 0px" background="http://i52.servimg.com/u/f52/12/82/29/24/admin_11.gif"></td> <td style="padding: 0px"><img src="http://i52.servimg.com/u/f52/12/82/29/24/admin_12.gif"></td> </tr> <tr> <td valign="top" style="padding: 0px" background="http://i52.servimg.com/u/f52/12/82/29/24/admin_13.gif"> <img src="http://i52.servimg.com/u/f52/12/82/29/24/admin_14.gif"></td> <td style="padding: 0px; background-color: #ffffff" bgColor="#ffffff"> <div class="post-entry">{postrow.displayed.MESSAGE}</div> </td> <td style="padding: 0px" background="http://i52.servimg.com/u/f52/12/82/29/24/admin_15.gif"></td> </tr> <tr> <td style="padding: 0px"><img src="http://i52.servimg.com/u/f52/12/82/29/24/admin_16.gif"></td> <td style="padding: 0px" background="http://i52.servimg.com/u/f52/12/82/29/24/admin_17.gif"></td> <td style="padding: 0px"><img src="http://i52.servimg.com/u/f52/12/82/29/24/admin_18.gif"></td> </tr> </table> </div> </div></div> <div> <!-- BEGIN switch_vote_active --> <div class="vote vote-button" style="cursor: pointer;"> <!-- BEGIN switch_vote --> <a target="vote{postrow.displayed.U_POST_ID}" id="votep{postrow.displayed.U_POST_ID}"onclick="$.post('{postrow.displayed.switch_vote_active.switch_vote.U_VOTE_PLUS}');" alt="plus" class="c3zplus votene"><span style="font: normal 11px Tahoma, Arial, Helvetica, sans-serif;margin-left: -2px; color: #3B5998;">Thích</span></a> <!-- END switch_vote --> </div> <div class="vote vote-button" style="cursor: pointer;"> <!-- BEGIN switch_vote --> <a target="vote{postrow.displayed.U_POST_ID}" id="votem{postrow.displayed.U_POST_ID}"onclick="$.post('{postrow.displayed.switch_vote_active.switch_vote.U_VOTE_MINUS}');" alt="minus" class="c3zminus votene"><span style="font: normal 11px Tahoma, Arial, Helvetica, sans-serif;margin-left: -2px; color: #3B5998;">Không thích</span></a> <!-- END switch_vote --> </div> <!-- END switch_vote_active --> </div> </div> <div style="clear:both;"></div> </div> </div> <p style="border-bottom: 1px solid #ddd;"> <div class="hihi clearfix" style="background-color: #fff;"><font color="black"> <!-- BEGIN switch_vote_active --> <div class="stavote" id="vote{postrow.displayed.U_POST_ID}"> <script>document.write(votetrans('{postrow.displayed.switch_vote_active.L_VOTE_TITLE}'));</script> </div> <!-- BEGIN switch_no_bar --> <span class="vote{postrow.displayed.U_POST_ID}" alt="{postrow.displayed.switch_vote_active.L_VOTE_TITLE}"></span> <!-- END switch_no_bar --> <!-- BEGIN switch_bar --> <span class="vote{postrow.displayed.U_POST_ID}" alt="{postrow.displayed.switch_vote_active.L_VOTE_TITLE}"></span> <!-- END switch_bar --> <!-- END switch_vote_active --> </div> <!-- BEGIN switch_signature --> <img src="http://i913.photobucket.com/albums/ac332/battuvuong/baivong/chuky10.gif"> <div class="noidungchuky">{postrow.displayed.SIGNATURE_NEW}</div> <!-- END switch_signature --> <!-- 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}" /> <!-- 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 --> <div class="clear"></div> </div> <p> {postrow.displayed.EDITED_MESSAGE} </p> </div> </div> </div> <div class="postmain"{postrow.displayed.THANK_BGCOLOR}> <div class="postfoot"> <div class="post-options"> {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} </div> <div style="clear:both;"></div></div> </div> </td> </tr> </tbody> </table> <!-- BEGIN first_post_br --> </div> <hr id="first-post-br" /> <div class="main-content topic"> <!-- END first_post_br --> <!-- END displayed --> <!-- BEGIN hidden --> <p class="p-hidden">{postrow.hidden.MESSAGE}</p> <!-- END hidden --> <!-- 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> <div class="module main"><div class="main-head" style="margin-top: 0px;"><span class="toggle" id="c3z"><i ltip="Mở rộng" class="i-plus-sign c3inv" data-original-title=""></i><i ltip="Thu gọn" class="i-minus-sign" data-original-title=""></i></span><h3>Bài viết liên quan với<a href="{TOPIC_URL}">{TOPIC_TITLE}</a></h3></div><div class="main-contentr" style="background-color: #FBFBFB;"> <ol style="list-style-type:decimal-leading-zero; padding: 5px 27px;margin-top: -7px;" id="bailienquan"></ol><div style="padding-bottom: 10px; border-top: 1px solid #ccc;width: 837px;margin-left: -5px;"></div></div></div><div class="moine"></div> <script type="text/javascript">var bailienquan = '.tdtopics:not(".tdtopics:contains(\"{TOPIC_TITLE}\"), .tdtopics:contains(\"Announcement\"), .tdtopics:contains(\"Sticky\"), .tdtopics:contains(\"Global announcement\"), .tdtopics:contains(\"»\")") .topic-title:lt(10)';$('.crumbs:first a.nav[href^="/f"]:last').clone().appendTo('#chuyenmucnay'); var topictitleFMvi = '{TOPIC_TITLE}';var fmviTopictitle = topictitleFMvi.replace(/ /gi, '+');$.ajax({url: '/search?mode=searchbox&search_keywords=' + fmviTopictitle + '&show_results=topics',success: function (data) {if ($(data).find(bailienquan).length == 0) {$('#bailienquan').prev().remove();$('#bailienquan').remove();} else {$(data).find(bailienquan).find(".topictitle, .tooltipFMvi").appendTo('#bailienquan');$('#bailienquan .topictitle').wrap("<li></li>");var ti;for (ti = 0; ti < 10; ti++) {var it = $('#bailienquan a.topictitle:eq(' + ti + ')');it.replaceWith('<a onmouseover="show_tooltip(this, $(this).parent().next().html(), \'Thông tin bài viết\')" href="' + it.attr("href").slice(0, it.attr("href").indexOf("?")) + '" class="topictitle">' + it.text() + '</a>');}};},error: function (jqXHR, textStatus, errorThrown) {$('#bailienquan').html('<p><font face="Courier New"><font color="red">Có lỗi xảy ra trong quá trình tải dữ liệu.</font></font></p>');}}); </script> <!-- 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}" /> </td> <!-- END switch_forum_rule_image --> <td class="rules entry-content"> {RULE_MSG} </td> </tr> </table> </div> <!-- END switch_forum_rules --> <!-- BEGIN switch_user_logged_in --> <div id="specificatii_center" align="center"><ul id="specificatii"><li>• Không spam. Xem rõ nội quy chung <a href="/t9-topic" rel="nofollow"><strong>Tại Đây</strong></a></li><li>• Thể hiện văn hóa bằng cách bấm Like với các bài viết bạn thích.</li></ul><img id="inchide_specificatii" align="right" onclick="$('#specificatii_center').hide('slow');" src="http://i36.servimg.com/u/f36/11/96/49/61/erase10.png"></div> <a name="quickreply"></a> <iframe style="display:none;" class="post_vds" name="guinhanhz"></iframe> <div class="tbpost"></div> <div class="imgloadpost" style="display:none;"><img src="http://i43.servimg.com/u/f43/16/03/04/56/icon_l12.gif"/>Đang gửi....</div> {QUICK_REPLY_FORM} <!-- END switch_user_logged_in --> <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> <script src="{JS_DIR}addthis/addthis_widget.js" type="text/javascript"></script> <script type="text/javascript"> var banquyen= "ban quyen cua code nay thuoc vandonstar minh coppy sang dung mong ban bo qua cho nhe"; $('.imgloadpost').clone().appendTo('.frm-buttons'); $('input[name=preview]').one('click', function () { ktgui = 0; $("form[action='/post']").submit(function () { if (kiemtragui()) { $("input[type='submit']").hide(); $('.frm-buttons .imgloadpost').show(); setTimeout('xemtruoc();', 200); } else { return false; }; }); }); $("input.xoabai").click(function(){ $(this).parents(".baigui").html('<div id=tbpost align=center>Đã xóa khỏi cơ sở dữ liệu</div>'); }); function xemtruoc() { if (ktgui == 0) { if ($('.post_vds').contents().find('.post').length) { $('.tbpost').html('<br><hr>'); $('.post_vds').contents().find('.post:first').appendTo('.tbpost'); $('.post_vds').contents().empty(); $('.tbpost').css({ 'color': 'black', 'background-color': 'white' }).slideDown(); $('.frm-buttons .imgloadpost').hide(); $('input[name=post],input[name=preview]').show(); return false; } else setTimeout('xemtruoc();', 200); }; }; $('input[name=post]').one('click', function () { ktgui = 1; $("form[action='/post']").submit(function () { if (kiemtragui()) { guibainhanh(); } else { return false; }; }); }); $("form[action='/post']").attr('target','guinhanhz'); function kiemtragui() { min = 10; kt = $('textarea#text_editor_textarea').val().replace('<br>', '').replace(/ /gi, '').length; if (kt < min) { $('.tbpost').html('Bài viết quá ngắn!<br>Số ký tự tối thiểu là ' + min + ' ký tự.<br>Bạn cần viết thêm ' + (min - kt) + ' ký tự nữa mới có thể gửi bài.'); $('.tbpost').slideDown(); $('textarea#text_editor_textarea').focus(); return false; } else { return true; }; }; function guibainhanh() { $("input[type='submit']").hide(); $('.tbpost').slideUp(); $('.frm-buttons .imgloadpost').show(); setTimeout('guibaiviet(ktgui);', 200); }; function guibaiviet(ktgui) { if (ktgui == 1) { if ($('.post_vds').contents().find('.message:contains(Bài của bạn đã được chuyển)').length || $('.post_vds').contents().find('.message:contains(Your message has been entered successfully)').length) { chenbai(); $("form[action='/post']").hide(); $('.tbpost').text('Thành công, Bài viết của bạn đã được gửi. Ấn F5 Load lại để xem lại cảm nhận bạn vừa viết ^^'); $('.tbpost').slideDown().css('color', 'green'); $('.post_vds').remove(); return false; } else if ($('.post_vds').contents().find("form[action='/post']").length && $('.post_vds').contents().find('.p-hidden:contains(A new message has been posted while you were writing your response. Please)').length) { chenbai(); $('.main-content.frm:first').empty(); $('.post_vds').contents().find("form[action='/post']").appendTo('.main-content.frm:first'); $("form[action='/post']").attr('target', 'guinhanhz'); $('.imgloadpost').clone().appendTo('.frm-buttons'); $('.tbpost').text('Thông báo, Chủ đề này vừa có người gửi bài trước bạn. Bạn có muốn tiếp tục gửi bài?'); $('.post_vds').contents().empty(); $('.tbpost').css({ 'color': 'red', 'background-color': 'wheat' }).slideDown(); $('input[name=prevent_modif]').hide(); $("form[action='/post']").focus().submit(function () { guibainhanh(); }); return false; } else if ($('.post_vds').contents().find('.main .main-content p:contains(Flood control is active on this forum, please wait)').length) { $('.tbpost').text($('.post_vds').contents().find('.main .main-content p:contains(Flood control is active on this forum, please wait)').text()); $('.post_vds').contents().empty(); $('.tbpost').text($('.tbpost').text().replace('second(s) before replying or posting', 'giây(s) trước khi trả lời hoặc gửi bài').replace('Flood control is active on this forum, please wait', 'Phát hiện bạn gửi bài quá nhanh, xin đợi')); $('.tbpost').css({ 'color': 'red', 'background-color': 'wheat' }).slideDown(); $('.frm-buttons .imgloadpost').hide(); $('input[name=post]').show(); return false; } else { setTimeout('guibaiviet(ktgui);', 200); }; }; }; function chenbai() { if ($('.main-head.clearfix:contains(Thông điệp) strong:eq(0)').text() == $('.main-head.clearfix:contains(Thông điệp) strong:eq(1)').text()) { gtlink = $('.baigui:last .posthead h2 strong:eq(0)').text(); } else { gtlink = parseInt($('.main-head.clearfix:contains(Thông điệp) strong:eq(1)').text()) * 10 - 9; }; link = location.href.replace('http://www.teenlythuongkiet.net/forum', '').split("-")[0].split("p")[0] + 'p' + gtlink + '-topic'; $('<div class=postcuoi><div align=center><img src="http://i43.servimg.com/u/f43/16/03/04/56/icon_l12.gif"/>Đang gửi bài viết.....</div></div>').appendTo('.toanbo:last').load(link + ' .toanbo .baigui:last',function(){ hehe();}); }; </script> <script src="{JS_DIR}addthis/addthis_widget.js" type="text/javascript"></script>
nhu tiêu đề đã ghi do có bạn muốn xjn view mà do anhdausai k share nên mình xjn mạo muội share anh em có điều gì xjn bỏ quá cho nhé
Message reputation : 67% (3 votes)
TinPr0 30/3/2013, 10:20 am TinPr0
Code: #profile_field_13_2, #field_id2{display: none} .blast1{background:url(http://www.9xstudio.biz//users/1113/13/44/26/avatars/gallery/stt1010.gif) no-repeat scroll right top transparent;height:56px;left:50px;top:5px;width:30px;margin-left: 50px;} .blast{background:url(http://i48.servimg.com/u/f48/17/38/04/50/kaka10.png) no-repeat scroll left top transparent;color:#000;font-family:verdana,geneva,lucida,'lucida grande',arial,helvetica,sans-serif;font-size:13px;font-style:italic;font-variant:normal;font-weight:400;height:56px;left:80px;line-height:56px;text-align:center;top:5px;width: 800px; float: right; margin-top: -50px; margin-right: 40px;}
bổ sung thêm cho css để có Blast nhé
anhdausai 30/3/2013, 10:26 am anhdausai
sao ko share cái đang xài hả bạn
view này mình đã từng share rùi
Minion 30/3/2013, 7:07 pm Minion
Tim rơi lệ 31/3/2013, 10:15 am Tim rơi lệ
share view đang xài đi >:)
Cùi Mía 31/3/2013, 10:57 am Cùi Mía
TinPr0 1/4/2013, 9:15 am TinPr0
chẳng biết làm sao mà share rồi chẳng có cái like nào :( , biết thế đã chẳng share ,
anhdausai 1/4/2013, 9:40 am anhdausai
skin5fm đã viết: chẳng biết làm sao mà share rồi chẳng có cái like nào :( , biết thế đã chẳng share ,
view này chỉ đi chung với skin LTK cũ thui đi với skin khác toàn vỡ khung -.-!
roychubi 1/4/2013, 10:03 am roychubi
roychubi 1/4/2013, 10:08 am roychubi
hướng dẫn mình cách chèn thanh lv giống cua anhdausai di cậu
Hữu Phước 23/5/2013, 1:43 pm Hữu Phước
I♥XuanTin 23/5/2013, 5:07 pm I♥XuanTin
bom13love 7/10/2013, 7:19 pm bom13love
Sponsored content
Sponsored content
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