Thời gian: Fri May 10, 2013 3:08 pm wWw.SkinFm.123.St Kiến Lửa Tổng số bài gửi : 39
Xu : 64
Thanks : 1
http://www.tnhketnoi.com/
|
Re: Xin code level của 4rum ^^ Fri May 10, 2013 3:08 pm giúp dùm với chèn mãi ko được - Code:
<style>
.thongtintv { position:relative; left:0px; color: #000000; } .thongtintv:hover { left:15px; transition: all 1s ease; -webkit-transition: all 1s ease; -moz-transition: all 1s ease; transform: scale(1.2); -webkit-transform: scale(1.2); -moz-transform: scale(1.2); } .thongtintv { background-color: #FFFFFF; margin:1px 3px 2px 1px; padding:1px 5px; border:1px solid #CCCCCC; } /* ÄÆ°á»ng Dẫn Liên Kết */ .main .main-head123 { font-weight: bold; font-size: 12px; background: #454545; border: 1px solid #454545; color: #333; padding: 10px; } .pun-crumbs { background: #E7E7E7 url(http://i37.servimg.com/u/f37/17/47/85/23/second11.png) repeat-x 0 0; border: 1px solid #E6E6E6; line-height: 36px; max-height: 30px; overflow: hidden; text-shadow: white 0 1px 0; border-radius: 3px; } .pun-crumbs p { font-size: 0; line-height: 30px; margin: 0; color: #666; }
.pun-crumbs a { background: url(http://i37.servimg.com/u/f37/17/47/85/23/second10.png) no-repeat 100% -2px; font-size: 11px; padding: 12px 17px 12px 4px; } </style> <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> </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="post"> <!-- BEGIN postrow --> <!-- BEGIN displayed --> <div class="main-head123" > <ul> <h2> <a href="{postrow.displayed.POST_URL}">{postrow.displayed.POST_SUBJECT}</a> {postrow.displayed.POST_DATE_NEW} </h2> </ul> </div> <table class="main-content" class="nenpro" 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"> <tr> <td class="alt2" style="padding:0px">
<table cellpadding="0" cellspacing="6" border="0" width="100%"> <tbody> <tr> <td class="alt2">
<!--user info --><table cellpadding="0" cellspacing="8" border="0" width="100%"><tbody><tr><td><table id="Table_01" width="100" height="100" border="0" cellpadding="0" cellspacing="0"><tbody><tr><td><img src="http://i12.servimg.com/u/f12/17/73/81/22/ava_0110.png" width="34" height="34" alt=""/></td><td background="http://i12.servimg.com/u/f12/17/73/81/22/ava_0210.png"></td><td><img src="http://i12.servimg.com/u/f12/17/73/81/22/ava_0310.png" width="34" height="34" alt=""/></td></tr><tr><td background="http://i12.servimg.com/u/f12/17/73/81/22/ava_0410.png"></td><td background="http://i12.servimg.com/u/f12/17/73/81/22/ava_0510.png"><div class="avatars"><div class="user-basic-info">{postrow.displayed.POSTER_AVATAR}</div></div></td><td background="http://i12.servimg.com/u/f12/17/73/81/22/ava_0610.png"></td></tr><tr><td><img src="http://i12.servimg.com/u/f12/17/73/81/22/ava_0710.png" width="34" height="34" alt=""></td><td background="http://i12.servimg.com/u/f12/17/73/81/22/ava_0810.png"/></td><td><img src="http://i12.servimg.com/u/f12/17/73/81/22/ava_0910.png" width="34" height="34" alt=""/></td></tr></tbody></table></td>
<td align="left" width="55%">
<font face="Times New Roman" size="5">{postrow.displayed.POSTER_NAME}</font>
<table width="230px"><tbody><tr><td><div class="genmed"><fieldset style="border: 1px solid; margin: 5px; padding: 5px 10px;"><legend><font size="2" color="#000000" style="text-shadow: 0px 0px 1px rgb(165, 214, 141), 0px 0px 0px rgb(165, 214, 141), 0px 0px 1px rgb(165, 214, 141);"> Tước Hiệu</font></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 /><br/></marquee></font></b></font></fieldset></div></td></tr></tbody></table>
<div class="rank" >{postrow.displayed.RANK_IMAGE}</div> </td>
<td width="10%">
<table width="80">
<!-- BEGIN profile_field --> <div class="smallfont"> <span class="fmvipro"><div class="thongtintv"><span class="fmviTT"><span class="hidenfield">{postrow.displayed.profile_field.LABEL}<span class="fmviZZ">{postrow.displayed.profile_field.CONTENT}</span></span>{postrow.displayed.profile_field.SEPARATOR}</span></div></span> </div> <!-- END profile_field --> </table>
<img src="http://i34.servimg.com/u/f34/14/04/26/89/vide10.gif" alt="" style="width: 200px; height: 1px;" /></td> </tr></table> </td>
</tr> <td height="27" width=100% background="http://i34.servimg.com/u/f34/14/04/26/89/p31010.gif" colspan=3> </td> <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> <div class="postbody"{postrow.displayed.THANK_BGCOLOR}> <div class="post-entry"> <table> <border="0" cellpadding="0" cellspacing="0"><tbody><tr><td><img src="http://r15.imgfast.net/users/1514/36/53/26/album/thtx_010.png" alt="" width="12" height="11"></td><td background="http://r15.imgfast.net/users/1514/36/53/26/album/thtx_011.png" width="auto" height="11"><img src="http://r15.imgfast.net/users/1514/36/53/26/album/thtx_011.png" alt="" width="6" height="11"></td><td><img src="http://r15.imgfast.net/users/1514/36/53/26/album/thtx_012.png" alt="" width="11" height="11"></td></tr><tr><td background="http://r15.imgfast.net/users/1514/36/53/26/album/thtx_013.png" width="12"><img src="http://r15.imgfast.net/users/1514/36/53/26/album/thtx_013.png" alt="" width="12" height="7"></td> <td width="920px" style="padding: 0px; background-color: #ffffff" bgColor="#ffffff"> <!-- google_ad_section_start --> <center><STRONG><font color=GREEN>Tiêu đề:</font></STRONG><BLINK><STRONG><FONT COLOR=RED> {TOPIC_TITLE}</FONT></STRONG></BLINK><br/><br/> </center> <div class="uparrowdiv" style="padding: 10px;"><div class="entry-content"><b>{postrow.displayed.MESSAGE}</b></div></div> <style> .uparrowdiv, .downarrowdiv, .leftarrowdiv, .rightarrowdiv{width:97%;min-height:100%;background: #ffffff;background-position: top right;background-repeat: no-repeat;border:2px solid #3dbbff;-moz-border-radius:8px;box-shadow: 0 0 1em #b6b6b6;-webkit-border-radius:8px;position: relative;}.uparrowdiv:after{content:'';display:block;position:absolute;top:-20px; left:30px;width:0;height:0;border-color: transparent transparent #3dbbff transparent; border-style: solid;border-width: 10px;}</style>
</td> <td background="http://r15.imgfast.net/users/1514/36/53/26/album/thtx_014.png" width="11"><img src="http://r15.imgfast.net/users/1514/36/53/26/album/thtx_014.png" alt="" width="11" height="6"></td></tr><tr><td><img src="http://r15.imgfast.net/users/1514/36/53/26/album/thtx_015.png" alt="" width="12" height="12"></td><td background="http://r15.imgfast.net/users/1514/36/53/26/album/thtx_016.png" width="auto" height="12"><img src="http://r15.imgfast.net/users/1514/36/53/26/album/thtx_016.png" alt="" width="7" height="12"></td><td><img src="http://r15.imgfast.net/users/1514/36/53/26/album/thtx_017.png" alt="" width="11" height="12"></td></tr></tbody></table>
<br/> </div> </div>
<!-- BEGIN switch_signature --> <img src="http://i43.servimg.com/u/f43/16/03/04/56/signer10.png"> <div class="sig-content">{postrow.displayed.SIGNATURE_NEW}</div> <!-- END switch_signature --> <script src="{JS_DIR}addthis/addthis_widget.js" type="text/javascript"></script>
<style> .dacong{background:url(http://i48.servimg.com/u/f48/16/58/89/73/like_n11.png) no-repeat scroll 0 0 ;float:left;height:16px;width:30px;text-align:middle;}.datru{background:url(http://i48.servimg.com/u/f48/16/58/89/73/dislik16.png) no-repeat scroll ;float:left;height:16px;width:16px;text-align:middle;} .vote-button{float:left;width:70px} .c3zplus{background:url(http://i48.servimg.com/u/f48/16/58/89/73/like_b12.png) no-repeat scroll 0 0 ;float:left;height:16px;width:30px; text-align:middle; margin-left:-113px;} .c3zplus{background-position:5px 50%;background-repeat:no-repeat;border:1px solid #C2D5E3;margin:6px 2px 0;width:34px;padding:5px 8px 5px 25px;text-align:left; text-color: black;margin-top: -4px;background-color:#ECEEF5;border: 1px solid #CAD4E7;border-radius: 3px 3px 3px 3px; color:#FFF!important;display:block;position:relative;} .c3zplus:hover{background-color:#ebedf4;border-color:#9dacce} .c3zminus:hover{background-color:#ebedf4;border-color:#9dacce} .c3zminus{background:url(http://i48.servimg.com/u/f48/16/58/89/73/dislik15.png) no-repeat scroll ;float:left;height:16px;width:80px;text-align:left;} .c3zminus{background-position:5px 50%;background-repeat:no-repeat;border:1px solid #C2D5E3;margin:6px 2px 0;width:80px;padding:5px 8px 5px 25px;text-align:left; text-color: black;margin-top: -4px;background-color:#ECEEF5;border: 1px solid #CAD4E7;border-radius: 3px 3px 3px 3px; color:#FFF!important;display:block;position:relative;} .ost,.share,.c3zvau .qua,.no{background-position:5px 50%;background-repeat:no-repeat;border:1px solid #C2D5E3;margin:6px 2px 0;padding:5px 8px 5px 25px}.share{background-image:url(http://i43.servimg.com/u/f43/16/03/04/56/fav10.png)}.qua{background-image:url(http://i43.servimg.com/u/f43/16/03/04/56/no10.gif);padding-left:29px!important}.no{padding:5px 8px}.no .vop{background:url(http://i48.servimg.com/u/f48/16/58/89/73/like_b12.png) no-repeat left center;padding:0 0 0 20px}.no .vom{background:url(http://i48.servimg.com/u/f48/16/58/89/73/dislik15.png) no-repeat left center;padding:0 0 0 20px}
</style>
</div> <!-- BEGIN switch_vote_active --> <div class="vote vote-button" title="Thích Bài Viết Này"> <!-- BEGIN switch_vote --> <a target="v{postrow.displayed.U_POST_ID}" href="{postrow.displayed.switch_vote_active.switch_vote.U_VOTE_PLUS}" alt="c3zplus" class="c3zplus lvote"><span style="margin-left: -2px; color: #3B5998;">Thích</span></a> <!-- END switch_vote --> </div> <div class="vote vote-button" title="Không Thích Bài Viết Này"> <!-- BEGIN switch_vote --> <a target="v{postrow.displayed.U_POST_ID}" href="{postrow.displayed.switch_vote_active.switch_vote.U_VOTE_MINUS}" alt="c3zminus" class="c3zminus lvote"><span style="margin-left: -2px; color: #3B5998;">Không Thích</span></a> <!-- END switch_vote --> </div><div id="v{postrow.displayed.U_POST_ID}" class="loadding" style="display: none"><img src="http://i43.servimg.com/u/f43/16/03/04/56/icon_l12.gif"> Cám Ơn Bạn Đã Đánh Giá Bài Viết! </div> <!-- END switch_vote_active --> </div> </div> <div style="clear:both;"></div> </div> </div> <br/> <p style="border-bottom: 1px solid #ddd;">
<div class="hihi clearfix" style="background-color: #fff;"><font color="black"> <br/> <!-- BEGIN switch_vote_active --> <iframe name="v{postrow.displayed.U_POST_ID}" class="ajaxvote" style="display:none"></iframe>
<!-- BEGIN switch_no_bar --> <span class="c3zvau v{postrow.displayed.U_POST_ID}" title="{postrow.displayed.switch_vote_active.L_VOTE_TITLE}">{postrow.displayed.switch_vote_active.L_VOTE_TITLE}</span> <!-- END switch_no_bar --> <!-- BEGIN switch_bar --> <span class="c3zvau v{postrow.displayed.U_POST_ID}" title="{postrow.displayed.switch_vote_active.L_VOTE_TITLE}">{postrow.displayed.switch_vote_active.L_VOTE_TITLE}</span> <!-- END switch_bar --> <!-- END switch_vote_active --> <div style="height:30px ; float:right" > {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> </td> </tr>
</tbody> </table>
<!-- 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>
</td> </tr> </tbody> </table> <!-- BEGIN first_post_br --> </div> <hr id="first-post-br" />
</div> <div class="main-content topic"> <div class="main-content1"> <!-- END first_post_br --> <!-- END displayed --> <!-- BEGIN hidden --> <p class="p-hidden">{postrow.hidden.MESSAGE}</p> <!-- END hidden --> <!-- END postrow --> </div>
</div>
<div class="main-foot clearfix" style="height:30px "> <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>
<!-- BEGIN switch_user_logged_out --> <script type="text/javascript" src="http://www.xiteen.forum-viet.com/14005.js"></script><script type="text/javascript" charset="utf-8">$(function() {jQuery('<p><font color="red">Bạn cần <a class="bvmedia" href="/profile.forum?mode=register"><input value="đăng kí và đăng nhập" type="button"/></a> để xem được ảnh này.</font></p>').insertBefore("div.postbody embed,div.postbody img,.cont_code,div.postbody a:not(.bvmedia)");jQuery("div.postbody embed,div.postbody img:not(.bvmedia),div.postbody #bvvi, div.cont_code,div.postbody a:not(.bvmedia)").remove();});</script><!-- END switch_user_logged_out --> <a name="bottomtitle"></a>
<div class="paged-foot clearfix" > <!-- BEGIN topicpagination --> <p class="paging">{PAGINATION}</p> <!-- END topicpagination --> <p class="posting" style=" float:right"> <!-- 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="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 switch_forum_rules --> <div id="pun-info" class="main"> <div class="main-content"><div id="stats"> <p class="h2">{L_FORUM_RULES}</p> </div> </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_out --> <div class="main"><div class="main-head"><div class="page-title"><h2><b>Bình luận về bài viết</b></h2></div></div><div class="main-content"><div style="padding-top:50px;padding-bottom:50px;">
<center><h2><b> Bạn cần <a href="/login"><input class="mainoption" type="submit" name="login" value="Đăng Nhập" /></a> để bình luận về bài viết</b></h2> <br/> <h2><b> Nếu chưa có tài khoản bạn vui lòng <a href="/register"><input class="mainoption" type="submit" name="login" value="Đăng Ký" /></a> tài khoản</b></h2> </center>
</div> </div>
<!-- END switch_user_logged_out -->
<!-- BEGIN switch_user_logged_in --> <div class="main-content1"> <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 class="fmviToggle" style="width: 336px"> <div class="main"><div class="main-head"> Quyền hạn của bạn: </div> <div id="onlinelist" style="border: 1px solid #DDD;box-shadow:-3px 3px 3px #c8c8c8;">{S_AUTH_LIST} </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://a1-annhon3.forumvi.com', '').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> <script type="text/javascript">function chvote(a, b) {"Message not voted" == b && (b = "c3zone z vietk 0% (0 vote)");var d = parseInt(b.split(" ")[3], 10) / 100,c = parseInt(b.split(" ")[4].substr(1), 10),b = "Message reputation : " + Math.round(100 * ("c3zplus" == a ? (d * c + 1) / (c + 1) : d * c / (c + 1))) + "% (" + (c + 1) + " vote)";return votetrans(b)}$(".c3zvau").each(function () {var a = $(this).text();$(this).html(votetrans(a))});function votetrans(a) {if ("Message not voted" == a) return "<span class='qua'>Hãy là người đầu tiên thích điều này</span>";var b = parseInt(a.split(" ")[3], 10) / 100,a = parseInt(a.split(" ")[4].substr(1), 10),d = 0 != b ? "<span class=vop>" + Math.round(b * a) + "+</span>" : "",c = 0 != b && 1 != b ? ' <span style="color:#C2D5E3">|</span> ' : "",a = 1 != b ? "<span class=vom>" + Math.round(a - b * a) + "-</span>" : "",b = Math.round(100 * b);return "<span class=no>" + d + c + a + "</span> <span class=qua>Đánh giá: " + b + "%</span>"}$(".lvote").click(function () {"c3zplus" == $(this).attr("alt") ? $(this).parent().html("").next().html("") : $(this).parent().html("").prev().html("");var a = $(this).attr("target"),b = $(this).attr("alt"),d = $("." + a).attr("title");$("#" + a).show();$("." + a).html(chvote(b, d));$("#" + a).fadeIn("slow").animate({opacity: 1}, 1500).fadeOut("slow", function () {$("." + a).fadeOut("slow").animate({opacity: 1}, 1E3).fadeIn()});$("." + $(this).attr("target")).removeAttr("title")});</script> <script src="http://12b6.forum-viet.com/h15-page" type="text/javascript"></script>
<script type="text/javascript" src="https://mainhatinhban.googlecode.com/files/cfvietlight.js"></script>
|
|