ai fix dùm e lỗi avatar trong viewtopic_body với ạ
link 4r: http://4rvietgame.123.st/
link 4r: http://4rvietgame.123.st/
Code:
<link rel="stylesheet" type="text/css" href="http://www.aerowebstudio.net/codecanyon/jquery.lightbox/js/lightbox/themes/default/jquery.lightbox.css">
<script type="text/javascript" src="http://www.aerowebstudio.net/codecanyon/jquery.lightbox/js/lightbox/jquery.lightbox.min.js"></script>
<script type="text/javascript">
jQuery(document).ready(function($){
$('.lightbox').lightbox();
});
</script>
<style>
#avatar4{margin-top: -253px;
position: absolute;
margin-left: 100px;}
.useravatar4 img{
width: 105px;
-webkit-border-radius: 4px;
box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.075);
-webkit-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.075);
height: 106px;
background-color: #FFF;
position: absolute;
border: 1px solid rgb(204,204,204);
padding: 1px;
margin-left: 12px;
margin-top: 12px;}
.nachupy2 {
display:none;}
/*feature box*/
.post_feature_box {
margin-top: 5px;
max-width:100%;
background-color: rgb(234, 248, 226);
border: 1px dotted rgb(51, 51, 51);
padding: 6px;
min-height: 60px;
}
.ipsBox_withphoto {
margin-left: 60px;
}
.ipsUserPhoto {
float: left;
padding: 1px;
border: 1px solid #d5d5d5;
background: #fff;
-webkit-box-shadow: 0px 2px 2px rgba(0,0,0,0.1);
-moz-box-shadow: 0px 2px 2px rgba(0,0,0,0.1);
box-shadow: 0px 2px 2px rgba(0,0,0,0.1);
margin-right: 8px;
}
.ipsUserPhoto:hover {
border-color: #7d7d7d;
}
.ipsUserPhoto img {
width: 50px;
height: 50px;
}
.ipsBadge {
display: inline-block;
height: 16px;
line-height: 16px;
padding: 0 5px;
font-size: 9px;
font-weight: bold;
text-transform: uppercase;
color: #fff;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
border-radius: 4px;
vertical-align: middle;
margin-right: 8px;
}
</style>
<style>#vf_box_login {
background: url(http://i58.servimg.com/u/f58/18/67/94/07/tranbg10.png);
position: fixed;
width: 100%;
height: 100%;
top: 0;
left: 0;
filter: alpha(opacity=50);
z-index: 999;
}
.pun .posthead h2 strong {
float: right;
margin-left: 120px;
}
.thanhlv1 {
margin-left: 85px;
margin-top: -7px;
}
/* fb_Vote - DEVs.forumvi.com */
.vote-Zzbaivong, .vote-Zzbaivong *,.vote-Zzbaivong *:before,.vote-Zzbaivong *:after{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}
.vote-Zzbaivong{margin-left:0em} /* 13em là khoảng cách đến mép trái, sửa nó về 0 hoặc số khác nếu bị lệch */
.vote-Zzbaivong{float:left;height:26px;line-height:24px;position:relative;text-align:left;white-space:nowrap}
.vote-plus-post,.vote-minus-post{z-index:10;position:absolute;top:32px;left:0;display:none;width:250px;background:#FFF;border:1px solid #F2F2F2;box-shadow:4px 4px 7px 0 #999;padding:5px}
.vote-minus-post{left:120px}
.vote-note{height:20px;line-height:20px;font-size:11px;background:#ffffd3;border:1px solid #F7EB93;margin-bottom:2px;padding:0 5px}
.vote-mess{width:200px;resize:vertical;min-height:40px;height:40px}
.vote-Zzbaivong .vote-send{width:36px;margin-top:0!important;margin-left:2px;cursor:pointer;text-align:center;vertical-align:top;height:40px;background:#0085FF;border:1px #87CEEB;color:#FFF}
.vote-plus-post:before,.vote-minus-post:before{content:'';display:inline-block;border-left:10px solid transparent;border-right:10px solid transparent;border-bottom:10px solid #E2E2E2;position:absolute;left:10px;width:10px;right:-10px;top:-10px}
.vote-plus-post:after,.vote-minus-post:after{content:'';display:inline-block;border-left:9px solid transparent;border-right:9px solid transparent;border-bottom:9px solid #fff;position:absolute;left:11px;right:-9px;width:9px;top:-9px}
.vote-plus{font-size: 10px;background:url(http://i55.servimg.com/u/f55/16/58/45/96/thumb_10.gif) no-repeat 5px 2px;height:24px;color:#5089BE!important;font-family:sans-serif;border-radius:2px;display:inline-block;padding:0 5px 0 25px}
.vote-plus:hover{border-color:#6A9AD6}
.vote-plus[href="javascript:;"]{color:#666!important;cursor:no-drop;background-image:url(http://i55.servimg.com/u/f55/16/58/45/96/thumb_10.gif);border-color:#CCC}
.vote-time{font-size: 10px;position:relative;border-radius:2px;display:inline-block;height:24px;line-height:22px;margin:auto 5px;padding:0 5px}
.vote-time:before{content:'';display:inline-block;border-top:6px solid transparent;border-bottom:6px solid transparent;border-right:6px solid #CCC;position:absolute;left:-6px;width:6px;top:5px}
.vote-time:after{content:'';display:inline-block;border-bottom:5px solid transparent;border-top:5px solid transparent;border-right:5px solid #fff;position:absolute;left:-5px;width:5px;top:6px}
.vote-minus{font-size: 10px;margin-left:20px;color:#666!important;
margin-left: 20px; background: url(http://i55.servimg.com/u/f55/16/58/45/96/thumb_11.gif) no-repeat 5px 2px; border-radius: 2px; color: #5089BE!important; display: inline-block; font-family: sans-serif; height: 24px; padding: 0 5px 0 25px;
}
.vote-minus:hover{color:red!important}
.vote-minus[href="javascript:;"]{color:#C5C5C5!important;cursor:no-drop}
.postfoot1 {
border-bottom: 1px solid transparent;
clear: both;
margin-left: 0em;
padding: .5em 1em;
text-align: right;
border-top: 0px dashed #ccc;
}
</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();
addthis_close();
}
});
});
var code="Copyright By notme. Edit by IceFox";
function baiviet1(Posts,Coins,Thanked){var d=(Posts*1+Coins*0);var e=(d/1500);var f=Math.floor((e-Math.floor(e))*1);var g=Math.floor(e+parseInt(1));if(g<2){(g="1 [<img src='http://i34.servimg.com/u/f34/17/54/83/01/s_yell10.gif'>]")};if(g<3){(g="2 [<img src='http://i34.servimg.com/u/f34/17/54/83/01/s_blue10.gif'>]")&&(f="99")};var h=(Math.floor((Thanked*0)+(Posts*1)+(Coins*0)));if(h>8000){h=8000};if(d>25000){(d=25000)};var i=(Math.floor((h/8000)*100)-2);var j=(Math.floor((d/25000)*100)-2);document.write('<fieldset style="width: 157px;border: 0px solid #D4D4D4;color: gray;font-size: 7pt;border-radius: 2px;"><b><font style="color: rgb(121, 121, 121);"> Bài viết : </font></b>'+d+'</fieldset>')};
//]]>
</script>
<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;
};function level(la,lb,lc,ld){var y=((ld*1+lb*1)/100);var e=(ld*1+lb*1);var g=Math.floor(y+parseInt(1));if(g>4){(y="1")};var d=((ld*1+lb*1)-((g-1)*100));var o=(g*100);document.write('<div style="background: rgb(165,162,165);width:120px;height:13px;margin-left:-3px;"><div style="height:12px;float:left;background: rgb(24,117,189);width:'+d+'%;padding:1px 2px 0px 2px"><img src="http://i28.servimg.com/u/f28/14/28/30/23/spacer10.gif"></div></div><div style="position: absolute;width:117px;height:13px;margin-top:-12px;color:#FFF;font:9px Tahoma;padding-left:3px" title="'+d+'%">Lv: '+g+'<div style="display:inline-block;width:80px;text-align:center;float:right">'+e+' / '+o+'</div></div>')};//]]></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>
<br>
<div class="titlebox">
<dd> <dava><div class="avatarredet"><a class="teste2" href="#">
<img class="teste" alt="" src="http://r26.imgfast.net/users/2617/31/90/74/avatars/1-40.png" /></a></div></dava>
<div itemscope="" itemtype="http://schema.org/Article" class="ipsBox_withphoto">
<h1 itemprop="name" class="ipsType_pagetitle" style="
font-size: 15px;
">
<m style="
font-size: 13px;
color: indigo;
"> Bài viết : </m>{TOPIC_TITLE}
<iframe src="http://www.facebook.com/plugins/like.php?href={FORUM_URL}{TOPIC_URL}&layout=button_count&show_faces=false&width=170&action=like&&share=true&colorscheme=light&height=21" scrolling="no" frameborder="0" allowTransparency="true" style="position:relative; top:1px; border:none; overflow:hidden; width:170px; height:21px; float:right"></iframe>
</h1><br>
<div class="desc lighter blend_links">
<dts>Bắt đầu bởi : </dts><span itemprop="creator"></span>, <span itemprop="data_post"></span></div></div>
<!-- BEGIN switch_user_logged_in -->
<!-- BEGIN watchtopic -->
<div class="seguir">
<li>{S_WATCH_TOPIC}</li>
</div>
<!-- END watchtopic -->
<!-- END switch_user_logged_in -->
</dd></div>
<div class="main paged">
<div class="paged-head clearfix">
<!-- BEGIN topicpagination -->
<p class="paging">{PAGINATION}</p>
<!-- END topicpagination -->
<!-- BEGIN switch_user_authpost -->
<p class="posting">
<a href="{U_POST_NEW_TOPIC}" rel="nofollow"><span class="newpost"><font color=#FFFFFF> <b>+</b> Viết chủ đề mới </font></span></a>
</p>
<!-- END switch_user_authpost -->
<!-- BEGIN switch_user_authreply -->
<p class="posting2">
<a href="{U_POST_REPLY_TOPIC}"><span class="newpost"><font color=#FFFFFF> <b>+</b> Trả lời Chủ đề </font></span></a>
</p>
<!-- END switch_user_authreply -->
</div>
{POLL_DISPLAY}
<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>
<hr id="first-post-br" />
<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}" style="position: relative; top: -20px; width: 1px;" id="{postrow.displayed.U_POST_ID}"></a>
<div class="postmain"{postrow.displayed.THANK_BGCOLOR}>
<div class="postbody"{postrow.displayed.THANK_BGCOLOR}>
<div class="user">
<div class="user-ident">
<div class="festoviaMessageBarContainer">
<table class="userInfoTable">
<tbody>
<tr class="userDataRow">
<td width="50%" class="numUserInfoRow">
<div id="p{postrow.displayed.U_POST_ID}" class="posthead" style="
float: right;margin-top: -5px;
/* font-style: italic; */
"{postrow.displayed.THANK_BGCOLOR}>
<h2>
<strong><span style="
color: #777777;
font-size: 9px;
font-weight: normal;">Bài viết thứ :{postrow.displayed.COUNT_POSTS}
<a href="{postrow.displayed.POST_URL}">
<img src="http://i78.servimg.com/u/f78/17/31/71/58/icon_s10.png" class="small" title="please help me this code: post #1" style="
margin-left: 3px; margin-top: -2px; max-height: 12px; opacity: .5;
">
</a>
<br> Đăng vào:<span class="data-post">{postrow.displayed.POST_DATE_NEW}</span>
<br>
{postrow.displayed.RANK_IMAGE}
</strong> </span>
</h2>
</div>
<div class="messageUserBlock" style="
position: absolute;
">
<span class="festoviaMessageBarUsername nameID171">
<a href="javascript:void(0);" style="color: #0000FF;" class="username-coloured" original-title="">
<u class="nachupy"> {postrow.displayed.POSTER_NAME}</u>
<h4 class="nachupy2"> {postrow.displayed.POSTER_NAME}</h4>
</a>
</span>
<div class="ranknew" style="
font-family: 'Open Sans', sans-serif; font-size: 12px; font-weight: 700; height: 12px; line-height: 11px; margin-left: 80px; margin-right: 5px; padding: 3px; text-shadow: 0 0 0 transparent, 1px 1px 0 #FFF47C;
">
<a style="
font-size: 10px;
">Danh hiệu :</a> {postrow.displayed.POSTER_RANK_NEW}
</div>
<div class="thanhlv1">
<script>baiviet1(<!-- BEGIN profile_field -->'{postrow.displayed.profile_field.CONTENT}',<!-- END profile_field -->2);</script>
<script>level(<!-- BEGIN profile_field -->'{postrow.displayed.profile_field.CONTENT}',<!-- END profile_field -->1);</script>
</div>
<div class="user-basic-info">
<span class="avatarcp"title="Kick để xem thông tin lý lịch">{postrow.displayed.POSTER_AVATAR}</span>
</div>
<div class="pop_out_user" style="display: none;">
<div id="vf_box_login" style="left: 0px; top: 0px;">
<div class="Card23" style="border-radius: 4px;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
-khtml-border-radius: 4px;margin-left: 380px; margin-top: 100px; width: 590px; padding: 0px; border: 4px solid transparent; box-shadow: rgba(0, 0, 0, 0.580392) 0px 12px 25px; -webkit-box-shadow: rgba(0, 0, 0, 0.580392) 0px 12px 25px; background-color: rgba(0, 0, 0, 0.701961); ">
<div class="headerCard">
<div class="avatarCropper">
<div class="avatarMemberCard">
{postrow.displayed.POSTER_AVATAR}
</div>
</div>
<div class="usernamePost">
{postrow.displayed.POSTER_NAME}
</div>
<div class="rankCard">
Danh hiệu : <i>{postrow.displayed.POSTER_RANK_NEW}</i>
</div>
</div>
<div class="userInfo">
<dl class="userStats pairsInlineCard">
<div class="poster-field">
<!-- BEGIN profile_field -->
<p>{postrow.displayed.profile_field.LABEL}{postrow.displayed.profile_field.CONTENT}</p>
<!-- END profile_field -->
</div>
</dl>
<dl class="lastActivity pairsInlineCard">
</dl>
</div>
<div class="sectionFooterJump footerCard">
<div style="
float: left;
margin-top: 4px;
"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>
<a id="closeCard" class="button2 viewProfileUser">Đóng</a>
</div>
</div>
</div> </div>
</div>
</td>
</tr>
</tbody>
</table>
</div>
</div></div>
<div class="post-entry" style="
background: url(http://i57.servimg.com/u/f57/18/77/56/46/maunen10.png); border: 1px solid #CFCFCF;
margin-bottom: 20px;
margin-top: -9px;
">
<div class="entry-content">
<div>
<div>{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 -->
<div class="clear"></div>
</div>
<p>
{postrow.displayed.EDITED_MESSAGE}
</p>
</div>
<!-- BEGIN switch_signature -->
<div class="sig-content" style="
clear: both; padding: .5em 1em; position: relative; text-align: center;
">
{postrow.displayed.SIGNATURE_NEW}
</div>
<!-- END switch_signature -->
<div class="postfoot1">
<div class="post-options profile_{postrow.displayed.PROFILE_POSITION}">
<div class="vote-Zzbaivong">
<!-- BEGIN switch_vote_active -->
<a class="vote-plus" href="<!-- BEGIN switch_vote -->{postrow.displayed.switch_vote_active.switch_vote.U_VOTE_PLUS}<!-- END switch_vote -->">
Thích
</a>
<span class="vote-time plus-time">0</span>
<a class="vote-minus" href="<!-- BEGIN switch_vote -->{postrow.displayed.switch_vote_active.switch_vote.U_VOTE_MINUS}<!-- END switch_vote -->">
Báo xấu
</a>
<span class="vote-time minus-time">0</span>
<input class="vote-tip" type="hidden" value="<!-- BEGIN switch_bar -->{postrow.displayed.switch_vote_active.L_VOTE_TITLE}<!-- END switch_bar --><!-- BEGIN switch_no_bar -->{postrow.displayed.switch_vote_active.L_VOTE_TITLE}<!-- END switch_no_bar -->" />
<!-- END switch_vote_active -->
</div>
<span class="tlhn"> {postrow.displayed.THANK_IMG}</span> {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>
</div>
</div>
</div>
<!-- END displayed -->
<!-- END postrow -->
</div>
<script type="text/javascript">//<![CDATA[
$(window).load(function(){$(".post").first().find('a[href*="mode=quote"]').remove();$('div.post-entry').find('img').each(function () {var relx = $('div.post-entry').attr('id');var $this = $(this), width = $this.width();var src = $this.attr('src');var a = $('<a/>').attr('href', src).addClass('lightbox').attr('rel', "op"+i);if (width > 200) {$this.wrap(a);}});});//]]> </script>
<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>
<script type="text/javascript">
$(function(){var premium_copyright='LGforum Script from AvacWeb Premium Section. Copyright (C) AvacWeb 2012. All Rights Reserved. Absolutely no distribution allowed. Use restricted to premium members only.';$('.i_icon_delete',document.getElementById('main')).click(function(e){e.preventDefault();var data=this.parentNode.href+'&confirm=1';data=data.split('?')[1];var id=data.substring(data.indexOf('p=')+2,data.indexOf('&tid'));if(confirm('Are you sure you want to delete this post?'))$.post('/post',data,function(){$('#p'+id).fadeOut()})})});
</script>
<div class="paged-foot clearfix">
<!-- BEGIN topicpagination -->
<p class="paging">{PAGINATION}</p>
<!-- END topicpagination -->
<!-- BEGIN switch_user_authpost -->
<p class="posting">
<a href="{U_POST_NEW_TOPIC}" rel="nofollow"><span class="newpost"><font color=#FFFFFF> <b>+</b> Viết chủ đề mới </font></span></a>
</p>
<!-- END switch_user_authpost -->
<!-- BEGIN switch_user_authreply -->
<p class="posting2">
<a href="{U_POST_REPLY_TOPIC}"><span class="newpost"><font color=#FFFFFF> <b>+</b> Trả lời Chủ đề </font></span></a>
</p>
<!-- END switch_user_authreply -->
</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 id="avatar4">
<span class="vf_avatar_user"></span></div>
<script type="text/javascript">$(function() {var logoutlink = $('a.mainmenu[href*="/login?logout"]').attr("href");$('.logoutt a[href="#logout"]').attr("href", logoutlink);jQuery.get('/profile?mode=editprofile&page_profil=avatars', function(data) { link = jQuery('#ucp .frm dl dd img', data).attr('src'); if(link){ jQuery('#avatar4').html('
<span class="arrow" style="position: absolute; top: 19px; right: -130px; display: block; width: 0px; height: 0px; line-height: 0px; border: 10px solid transparent; border-left-color: rgb(211, 211, 211); -moz-border-left-colors: rgb(211, 211, 211); border-right: none; _display: none;"><span style="position: absolute; top: -10px; left: -12px; display: block; width: 0px; height: 0px; line-height: 0px; border: 10px solid transparent; border-left-color: rgb(250, 250, 250); -moz-border-left-colors: rgb(250, 250, 250); border-right: none;"></span></span>
<span class="useravatar4">
<img src="'+link+'" alt=""/></span>'); }else{ jQuery('#avatar4').html(''); } }); });</script>
<!-- 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 -->
<!-- BEGIN switch_user_logged_in -->
<a name="quickreply"></a>
{QUICK_REPLY_FORM}
<!-- END switch_user_logged_in -->
<div id="pun-info" class="main">
<div class="main-content" style="margin: 20px 0 0 0; padding: 8px; line-height: 1.3; overflow: hidden;border: 1px solid #d8d8d8; -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px;">
<div id="stats" style="
background-color: #f4f4f4; padding: .6em 1em; ackground: #fafafa url('http://www.ipbfocus.com/skindemo/public/style_images/gridlock34x/highlight_strong.png') repeat-x 0 -1px; background-image: -moz-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%); background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,1)), color-stop(100%,rgba(255,255,255,0))); background-image: -webkit-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(255,255,255,0) 100%); background-image: -o-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(255,255,255,0) 100%); background-image: -ms-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(255,255,255,0) 100%); background-image: linear-gradient(to bottom, rgba(255,255,255,1) 0%,rgba(255,255,255,0) 100%); border: 1px solid #e4e4e4; color: #777; text-shadow: #fff 0px 1px 0px; -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; padding: 8px;
">
<p>{L_TABS_PERMISSIONS} <br />{S_AUTH_LIST}</p>
</div>
</div>
</div>
<script type="text/javascript">$(function(){('Copyright © AvacWeb. All Rights Reserved. Use and modification of this script is not allowed without this entire copyright notice in the original, copied, or modified script. No distribution without consent.');var posts = $('.username', document.getElementById('main-content'));for(var i = 0, p; (p = posts[i++]); ) {var userlink = p.getElementsByTagName('a')[0], name = userlink.innerHTML.replace(/<[^>]+>/g, ''), uid = userlink.href.match(/[0-9]+$/)[0];$('.friendlink', p.parentNode.parentNode).html('<a href="/profile?friend=' + name + '&mode=editprofile&page_profil=friendsfoes">Add as Friend</a>');$('.walllink', p.parentNode.parentNode).html('<a href="/u' + uid + 'wall">' + name + '\'s Wall</a>');}});$(function() {$('.user-basic-info').click(function(e) {e.preventDefault();$('.pop_out_user').hide();$(this).parent().children('.pop_out_user').fadeToggle();});$('.pop_out_user img').click(function(e) {e.preventDefault();});$('.pop_out_user').click(function() {$(this).hide();});});</script><script type="text/javascript">$(".showST").each(function () {var a = $(this).find("a[href^='/u']").attr("href").slice(2);var b = $(this).find("p > span:contains('Status')").next("strong").text();$(this).replaceWith('<span class="showST ' + a + '">' + b + '</span>');});$(".fmviTT:contains('Status')").remove();</script>
<!-- BEGIN switch_image_resize -->
<script type="text/javascript">
//<![CDATA[
$(resize_images({ 'selector' : '.post-entry .entry-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">
$(".poster-info .label:contains('Status')").parent().addClass("status");
$(".poster-link a").attr("href", function () {
return this.href.replace("[POSTER_NAME]", encodeURI($(this).closest(".poster-info").find(".poster-name strong").text()));
});
</script>
<script type="text/javascript">
//<![CDATA[
$(".vote-Zzbaivong").each(function () {
var b = $(this);
if (b.is(":empty")) b.html('<a class="vote-plus" href="">Th\u00edch</a><span class="vote-time plus-time">0</span><a class="vote-minus" href="">B\u00e1o x\u1ea5u</a><span class="vote-time minus-time">0</span>');
else {
var a = b.find(".vote-tip").val(),
c;
/Message\sreputation\s:/.test(a) ? (c = a.split(/\W/), a = Math.round(c[4] / 100 * c[7]), c = c[7] - a) : a = c = 0;
b.find(".plus-time").text(a);
b.find(".minus-time").text(c)
}
});
$(document).click(function (b) {
$(".vote-cmt").fadeOut()
});
$(".vote-Zzbaivong").click(function (b) {
b.stopPropagation()
});
$(".vote-plus, .vote-minus").one("click", function (b) {
b.preventDefault();
var a = $(this);
b = a.attr("href");
/us\&p_vote\=/.test(this.href) && (a.parent().children(".vote-plus, .vote-minus").attr("href", "javascript:;"), a.next(".vote-time").text(function () {
return parseInt($(this).text()) + 1
}), a.parent().find(".vote-plus").css("background-image", "url(http://i57.servimg.com/u/f57/17/05/17/70/preloa10.gif)"), $.get(b, function () {
a.parent().children(".vote-plus").removeAttr("style")
}), a.siblings("." + a.attr("class") +
"-post").fadeIn().children(".vote-mess").focus())
});
$(".vote-send").one("click", function () {
var b = $(this),
a = b.closest(".post"),
c = a.find("a[href^='/report']").attr("href"),
d = b.parent().children(".vote-mess").val(),
f = b.parent().children(".vote-note");
f.text("\u0110ang x\u1eed l\u00fd...");
if ("vote-plus-post vote-cmt" == b.parent().attr("class")) {
var e = "http://" + location.host + location.pathname + "#" + c.replace(/.*p=(\d+).*/, "$1"),
c = $.trim(a.find(".user a[href^='/u']:first").text()),
a = a.find(".user a[href^='/u']:not(:has(img)):first").attr("href").replace(/.*\/u(\d+).*/, "$1"),
e = "M\u00ecnh th\u00edch b\u00e0i vi\u1ebft c\u1ee7a b\u1ea1n t\u1ea1i [url=" +
e + "]" + document.title + "[/url]";
d.replace(/\s/g, "").length && (e = e + "[quote]" + d + "[/quote]");
$.post("/privmsg", {
subject: "B\u00e0i vi\u1ebft hay",
message: e,
username: c,
u: a,
mode: "post_profile",
folder: "profile",
post: "Send"
}, function () {
f.text("Tin nh\u1eafn \u0111\u00e3 \u0111\u01b0\u1ee3c g\u1eedi");
b.closest(".vote-cmt").delay(300).fadeOut()
})
} else 3 >= d.replace(/\s/g, "").length && (d = "B\u00e0i vi\u1ebft vi ph\u1ea1m n\u1ed9i quy di\u1ec5n \u0111\u00e0n."), $.post(c, {
message: d,
post: "Save"
}, function () {
f.text("B\u00e1o c\u00e1o \u0111\u00e3 \u0111\u01b0\u1ee3c g\u1eedi");
b.closest(".vote-cmt").delay(300).fadeOut()
})
});
$(".vote-Zzbaivong > a[href='']").attr("href", "javascript:;");
//]]>
</script>
Code:
.user-basic-info {
float: left;
}
Code:
.user-basic-info a img {
background-color: #FCFCFC;
border: 1px solid #CFCFCF;
display: block;
height: 66px;
padding: 2px;
width: 66px;
}
Code:
.user-basic-info a img{background-color:#FCFCFC;border:1px solid #CFCFCF;display:block;height:66px;padding:2px;width:66px;}
Code:
position:absolute
Code:
.user-basic-info a img {
position: absolute;
}
|
|