Demo ảnh
Hướng dấn
ACP >> Display >> Colors >> CSSThay toàn bộ bằng code sau
Code:
/* Button topic */.pun .posting a{background-color:#3B6E22;color:#FFF !important;font:bold 14px Arial;padding:6px 20px;margin-right:5px}
.posting a[href*="mode=reply"]:before{content:"Trả lời"}
.posting a[href*="mode=newtopic"]:before{content:"Đăng bài"}
.posting a[href^="/privmsg?mode=reply"]:before{content:"Trả lời"}
.posting a[href^="/privmsg?mode=post"]:before{content:"Gửi tin"}
.post-options a[href*="mode=quote"]:before{content:"• Trích dẫn"}
.post-options a[href*="?thank="]:before{content:"• Cảm ơn"}
.post-options a[href*="mode=editpost"]:before{content:"• Sửa"}
.post-options a[href*="mode=delete"]:before{content:"• Xóa"}
.post-options a[href*="mode=report"]:before{content:"• Báo lỗi"}
.post-options a[href^="/report?mode=lock"]:before{content:"• Khóa báo lỗi"}
.post-options a[href*="mode=ip"]:before{content:"• Xem IP"}
/* Khung post */.sceditor-group a{cursor:pointer!important;border:1px solid #999!important;background:#FFF url(http://i38.servimg.com/u/f38/16/18/15/10/untitl27.png)repeat-x bottom left!important;box-shadow:0 1px 0 #dedade!important;margin-left:-1px;border-radius:0;-moz-border-radius:0;padding:0 3px!important}
a.sceditor-button-faspoiler div{background:#FFF url(http://i35.servimg.com/u/f35/16/18/15/10/183.png)no-repeat center!important;border:1px solid #ccc!important;height:9px!important;width:9px!important;padding:3px!important}
.sceditor-container{border:1px solid #bdbdbd!important;border-radius:0!important;-moz-border-radius:0!important}
.sceditor-toolbar{text-align:left;border-bottom:1px solid #cecfce!important;background:#f2f2f2!important}
.sceditor-group a:active{background:#dedede!important;box-shadow:inset 0 1px 1px #b0b0b0!important}
.sceditor-group a.hover,.sceditor-group a.active{background:#dedede!important;box-shadow:inset 0 0 0 #b0b0b0!important}
.sceditor-toolbar .sceditor-group{background:none!important;border:0!important}
.sceditor-button-date,.sceditor-button-time{display:none!important}
/* View */.reply #pun-qpost .main-head{display:none}
.reply #pun-qpost .main-content.frm,.reply .frm-form{background:none !important;border:0;margin:-10px;padding:0}
/* Số trang */.pun .paging a{background-color:#FFF;background-image:url(http://i28.servimg.com/u/f28/16/18/15/10/untitl12.png);background-position:bottom left;background-repeat:repeat-x;border:1px solid #ccc;color:#000;font-family:Tahoma;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;height:15px !important;line-height:15px !important;margin:3px;padding:4px 6.5px}
.pun .paging{color:#FFF;display:inline-block;font-size:0;padding:0}
.pun .paging b{background-color:#ffedcf;border:1px solid #e6913c;color:#f60;font-family:Tahoma;font-size:12px;font-style:normal;font-variant:normal;font-weight:bold;height:15px !important;line-height:15px !important;margin:3px;padding:4px 6.5px}
.pun .paging a:hover{border:1px solid #417394}
.pun .paged .paging,.pun .paged-foot .paging{float:right}
.pun .paged .posting{float:left}
/* Điều hướng */.pun div.nav a.nav{color:#243E75;display:inline-block;margin-top:-2px}
.pun div.nav a.nav{background-image:url(http://i57.servimg.com/u/f57/16/18/15/10/141.png);background-position:left top;background-repeat:no-repeat;display:inline-block;font-family:Tahoma;font-size:12px;font-style:normal;font-variant:normal;font-weight:bold;height:20px;margin-bottom:-2px;padding:10px 5px 4px 15px}
.pun div.nav{background-color:#FFF;background-image:url(http://i57.servimg.com/u/f57/16/18/15/10/1335.png);background-position:top left;background-repeat:repeat-x;font-size:0;height:31px;margin-bottom:-5px;overflow:hidden;padding:2px 5px 1px 20px}
/* Box con 2 cột */.indexbox .smallrum{font-size:0;display:inline-block;width:100%}
.indexbox .smallrum a img{vertical-align:text-top;padding-right:2px}
.indexbox .smallrum a.gensmall{margin-right:5px;display:inline-block;padding-left:20px;overflow:hidden;text-overflow:ellipsis;width:40%;white-space:nowrap;float:left;font-size:12px;font-weight:bold;font-famli:Arial;background-size:16px 16px;margin-bottom:4px}
/* Box */.indexbox{display:inline-block;width:50%;font:12px Arial;float:left}
.indexbox1{padding:10px;border:1px solid #ddd;margin:5px}
.indexbox2{overflow:hidden;padding-left:110px}
.avatar_box1{display:inline-block;height:100px;width:100%}
.indexbox3{border-top:1px solid #ddd;margin:10px -10px 0 -10px;padding:7px 10px;height:30px;overflow:hidden}
.lastpost{font-weight:bold;background:url(http://i19.servimg.com/u/f19/18/83/96/52/111.png)no-repeat left center;padding-left:20px}
.indexbox01{margin:0 -5px}
.indexbox_view{display:inline-block;background:url(http://tb2.bdstatic.com/tb/static-frs/widget/forum_recommend/img/post_num_icon_3b35c3c.png)no-repeat left;padding-left:20px;color:rgb(255,125,57);margin:7px 0}
.indexbox_mota{color:rgb(156,154,156);max-height:50px;overflow-y:hidden}
/* Cột phải */#content-container div#right{float:right;overflow:hidden;width:180px}
#right{height:100%;margin-top:0 !important}
#right{position:relative}
.top_avatarbox,.avatar_box a[href*="/f"]{background-image:url(http://i38.servimg.com/u/f38/18/83/96/52/th/timg10.png);background-repeat:no-repeat;background-position:left top;background-size:100px 100px}
.avatar_box a[href*="/f40-"]{background-image:url(http://i39.servimg.com/u/f39/18/83/96/52/th/113.jpg)}
.mapxte{font-family:Arial;width:244px;display:inline-block;margin:0;padding:0;list-style:none;margin-top:10px}
.mapxte li a{font-size:14px;margin:0;padding:5px 1px 5px 28px;color:#333!important;display:block;background-size:16px 16px!important;background-position:4px 4px!important}
.mapxte li a:hover{background-color:rgb(247,247,247)}
.mapxte dd,.mapxte dd a{color:rgb(148,150,165)!important}
.mapxte .anbox{display:none}
.mapxte li{text-transform:capitalize}
.mapxte dd{margin:10px 0 5px 3px;font-size:14px;text-transform:uppercase;font-weight:bold}
.mapxtemo{background-position:228px 4px;background-repeat:no-repeat;background-image:url(http://i84.servimg.com/u/f84/17/57/29/64/select10.gif)}
.mapxte li a:first-child{text-transform:uppercase;font-weight:bold}
li.mapxteshow,.mapxtemo:hover{background-color:#FFF;background-image:none;border:1px solid #b0b0b0;margin-left:-1px;margin-top:-1px}
li.mapxteshow{border-top:0!important;border-right:0!important;border-bottom:0!important;background:none!important}
li.mapxteshow .anbox,.mapxtemo:hover .anbox,.mapxtemo:active .anbox{display:block!important}
.hrright{border-top:1px solid #d4d4d4;margin:7px 0 5px 0}
.navright{padding-top:8px;padding-bottom:8px;font-size:14px;font-weight:bold;font-family:Arial;text-transform:uppercase}
.navright,.pun .navright a{color:#333}
.pun a.topictitle{font-size:14px;line-height:180%;font-family:Arial;font-weight:bold}
/* All */.pun{width:982px !important}
body{color:#000;font-family:Verdana,Arial,sans-serif;font-size:12px}
a{text-decoration:none !important}
#pun-intro,#pun-head #pun-navlinks,.pun-crumbs,#pun-visit,#pun-about #qjump,#pun-info{display:none}
#wrapper{width:700px;display:inline-block;border-right:1px solid rgb(222,223,231)}
#content-container{min-height:2000px;margin-top:-4px;border-width:0 1px 1px;border-style:none solid solid;border-color:rgb(222,223,231);border-image:none}
.pun .main-content{background-color:#fff}
.main .main-head,.main-head{color:#333 !important;background-color:#e7e7e7;background-image:url(http://i.imgur.com/36LlnK7.png);background-position:top left;background-repeat:repeat-x;font-family:Tahoma !important;font-size:12px !important;padding:8px 15px;border:1px solid #ddd}
.pun .paged-foot,.pun .paged-head{background:0;border:0;margin:0 -3px}
#pun-about{background:0;border:0;line-height:normal;padding:0;text-align:center}
#ab39 img{display:none}
/* Log Reg */#username_reg,#email,#password_reg,#password,#subject,#username{width:200px;padding:7px 7px 7px 30px;font:14px Arial;border:1px solid #b0b0b0}
#username_reg,#username{float:left;background:#FFF url(http://i48.servimg.com/u/f48/16/18/15/10/login_11.jpg) no-repeat 5px center}
#password_reg,#password{float:left;background:#FFF url(http://i48.servimg.com/u/f48/16/18/15/10/login_12.jpg) no-repeat 5px center}
#email{float:left;background:#FFF url(http://i21.servimg.com/u/f21/17/57/29/64/emaiii10.jpg) no-repeat 5px center}
/* Thanh menu */.pun .topmuc a.acpt{margin:-13px -1px -13px -1px;padding:13px 15px 12px 39px;background-color:rgb(231,227,231);border:1px solid rgb(206,211,214);border-right:1px solid rgb(222,227,231) position:relative;z-index:2}
.pun .topmuc a{display:inline-block;padding:0 15px 0 39px;background-repeat:no-repeat;background-position:15px center;font:16px Arial;color:rgb(90,101,115);border-left:1px solid #FFF;border-right:1px solid rgb(214,219,231)}
.pun .topmuc a:nth-child(2){border-left:0}
.tienich:hover a.tienichshow{border:1px solid #ccc !important;background-color:#FFF !important;border-bottom:1px solid #FFF !important}
.tienich span{z-index:5;position:relative;float:right;margin-bottom:-170px;margin-top:10px;border:1px solid #ccc;width:170px;height:80px;margin-right:-1px;background-color:#FFF;padding:10px}
.pun .tienich span a{font:12px Arial !important;background:none;width:75px;border:0;color:#000;margin:0 !important;padding:5px !important}
a.tienichshow{position:relative;z-index:6;border:1px solid transparent !important;background:url(http://i39.servimg.com/u/f39/18/83/96/52/169.png)no-repeat 80px center !important;margin:-8px 4px -11px 0;padding:8px 39px 10px 15px !important}
.tienich:hover span{display:inline-block!important}
/* Button */.pun input[name="login"],.pun input[name="submit"],.pun input.mainoption,.pun input[name="post"]{color:#fff;background-color:rgb(87,145,237);background-position:top left}
input.button2:hover,input[type="button"],.pun input[type="submit"],input[type="reset"]{border:0;cursor:pointer;background-position:bottom left;font:bold 11px Tahoma !important;height:32px !important;padding:8px 20px 11px !important;font:bold 14px Arial !important}
button.button2,input.button2{background-image:none}
ACP >> Display >> QLTT
Thay từng template tương ứng
Index_box
Code:
<div class="main">
<!-- BEGIN catrow -->
<!-- BEGIN tablehead -->
<table cellspacing="0" class="table">
<div class="indexbox01">
<!-- END tablehead -->
<!-- BEGIN forumrow -->
<div class="indexbox">
<div class="indexbox1 avatar_box">
<a href="{catrow.forumrow.U_VIEWFORUM}" class="forumtitle avatar_box1">
<div class="indexbox2">
<h{catrow.forumrow.LEVEL} class="hierarchy">{catrow.forumrow.FORUM_NAME}</h{catrow.forumrow.LEVEL}>
<br />
<div class="indexbox_view">{catrow.forumrow.TOPICS}</div>
<br />
<div class="indexbox_mota">{catrow.forumrow.FORUM_DESC}</div>
</div>
</a>
<div class="indexbox3">
<div class="box smallrum">{catrow.forumrow.L_LINKS}{catrow.forumrow.LINKS}</div>
<a class="lastpost" href="{catrow.forumrow.U_LATEST_TOPIC}" title="{catrow.forumrow.LATEST_TOPIC_TITLE}">{catrow.forumrow.LATEST_TOPIC_NAME}</a>
</div>
</div>
</div>
<!-- END forumrow -->
<!-- BEGIN tablefoot -->
</div>
</table>
<!-- END tablefoot -->
<!-- END catrow -->
</div>
Overall_header
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="{S_CONTENT_DIRECTION}" id="min-width" lang="{L_LANG_HTML}" xml:lang="{L_LANG_HTML}" {NAMESPACE_FB_LIKE} {NAMESPACE_FB} {NAMESPACE_BBCODE}>
<head>
<title>{SITENAME_TITLE}{PAGE_TITLE}</title>
<script type="text/javascript">
//<![CDATA[
function lang_vi(a) {
a = a.toLowerCase();
a = a.replace(/\u00e0|\u00e1|\u1ea1|\u1ea3|\u00e3|\u00e2|\u1ea7|\u1ea5|\u1ead|\u1ea9|\u1eab|\u0103|\u1eb1|\u1eaf|\u1eb7|\u1eb3|\u1eb5/g, "a");
a = a.replace(/\u00e8|\u00e9|\u1eb9|\u1ebb|\u1ebd|\u00ea|\u1ec1|\u1ebf|\u1ec7|\u1ec3|\u1ec5/g, "e");
a = a.replace(/\u00ec|\u00ed|\u1ecb|\u1ec9|\u0129/g, "i");
a = a.replace(/\u00f2|\u00f3|\u1ecd|\u1ecf|\u00f5|\u00f4|\u1ed3|\u1ed1|\u1ed9|\u1ed5|\u1ed7|\u01a1|\u1edd|\u1edb|\u1ee3|\u1edf|\u1ee1/g, "o");
a = a.replace(/\u00f9|\u00fa|\u1ee5|\u1ee7|\u0169|\u01b0|\u1eeb|\u1ee9|\u1ef1|\u1eed|\u1eef/g,
"u");
a = a.replace(/\u1ef3|\u00fd|\u1ef5|\u1ef7|\u1ef9/g, "y");
a = a.replace(/\u0111/g, "d");
a = a.replace(/\W+/g, "-");
a = a.replace(/^\-+|\-+$/g, "");
a = a.replace(/(-group)$/, "");
return a.replace(/(-page-\d+)$/, "")
}
var path = location.pathname,
canonical = path + location.search + location.hash;
/(\-category|\-forum|\-topic|\-group)/.test(path) && history.replaceState(null, null, canonical.slice(1).replace(/(\-category|\-forum|\-topic|\-group)/, "-" + lang_vi(document.title)));
//]]>
</script>
<meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING}" />
<meta http-equiv="content-script-type" content="text/javascript" />
<meta http-equiv="content-style-type" content="text/css" />
<!-- BEGIN switch_compat_meta -->
<meta http-equiv="X-UA-Compatible" content="IE={switch_compat_meta.VERSION}" />
<!-- END switch_compat_meta -->
<!-- BEGIN switch_canonical_url -->
<link rel="canonical" href="{switch_canonical_url.CANONICAL_URL}" />
<!-- END switch_canonical_url -->
{META_FAVICO}
{META}
{META_FB_LIKE}
<meta name="title" content="{SITENAME_TITLE}{PAGE_TITLE}" />
{T_HEAD_STYLESHEET}
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css" />{CSS}
<link rel="search" type="application/opensearchdescription+xml" href="/improvedsearch.xml" title="{SITENAME}" />
<link rel="search" type="application/opensearchdescription+xml" href="{URL_BOARD_DIRECTORY}/search/improvedsearch.xml" title="{SEARCH_FORUMS}" />
<script src="{JQUERY_PATH}" type="text/javascript"></script>
<script src="{JS_DIR}{L_LANG}.js" type="text/javascript"></script>
<!-- BEGIN switch_fb_login -->
<script src="http://connect.facebook.net/{switch_fb_login.FB_LOCAL}/all.js" type="text/javascript"></script>
<script src="{switch_fb_login.JS_FB_LOGIN}" type="text/javascript"></script>
<!-- END switch_fb_login -->
<!-- BEGIN switch_ticker -->
<link type="text/css" rel="stylesheet" href="{JS_DIR}jquery/ticker/ticker.css" />
<script src="{JS_DIR}jquery/ticker/ticker.js" type="text/javascript"></script>
<!-- END switch_ticker -->
<!-- BEGIN switch_ticker_new -->
<script src="{JS_DIR}jquery/jcarousel/jquery.jcarousel.js" type="text/javascript"></script>
<script type="text/javascript">//<![CDATA[
/* Definir le sens de direction en fonction du panneau admin */
var tickerDirParam = "{switch_ticker.DIRECTION}";
var slid_vert = false;
var auto_dir = 'next';
var h_perso = parseInt({switch_ticker.HEIGHT});
switch( tickerDirParam )
{
case 'top' :
slid_vert = true;
break;
case 'left':
break;
case 'bottom':
slid_vert = true;
auto_dir = 'prev';
break;
case 'right':
auto_dir = 'prev';
break;
default:
slid_vert = true;
}
$(document).ready(function() {
var width_max = $('ul#fa_ticker_content').width();
var width_item = Math.floor(width_max / {switch_ticker.SIZE});
if (width_max > 0)
{
$('#fa_ticker_content').css('display','block');
$('ul#fa_ticker_content li').css('float','left').css('list-style','none').width(width_item).find('img').each(function () {
if ($(this).width() > width_item)
{
var ratio = $(this).width() / width_item;
var new_height = Math.round($(this).height() / ratio);
$(this).height(new_height).width(width_item);
}
});
if (slid_vert)
{
var height_max = h_perso;
$('ul#fa_ticker_content li').each( function () {
if ($(this).height() > height_max)
{
height_max = $(this).height();
}
} );
$('ul#fa_ticker_content').width(width_item).height(height_max).css('marginLeft','auto').css('marginRight','auto');
$('ul#fa_ticker_content li').height(height_max);
}
$('#fa_ticker_content').jcarousel({
vertical: slid_vert,
wrap: 'circular',
auto: {switch_ticker.STOP_TIME},
auto_direction: auto_dir,
scroll: 1,
size: {switch_ticker.SIZE},
height_max: height_max,
animation: {switch_ticker.SPEED}
});
}
else
{
$('ul#fa_ticker_content li:not(:first)').css('display','none');
$('ul#fa_ticker_content li:first').css('list-style','none').css('text-align','center');
}
});
//]]>
</script>
<!-- END switch_ticker_new -->
<script type="text/javascript">
//<![CDATA[
jQuery().ready(function(){
<!-- BEGIN switch_enable_pm_popup -->
pm = window.open('{U_PRIVATEMSGS_POPUP}', '_faprivmsg', 'HEIGHT=225,resizable=yes,WIDTH=400');
if(pm != null) { pm.focus(); }
<!-- END switch_enable_pm_popup -->
<!-- BEGIN switch_report_popup -->
report = window.open('{switch_report_popup.U_REPORT_POPUP}', '_phpbbreport', 'HEIGHT={switch_report_popup.S_HEIGHT},resizable=yes,scrollbars=no,WIDTH={switch_report_popup.S_WIDTH}');
if(report != null) { report.focus(); }
<!-- END switch_report_popup -->
<!-- BEGIN switch_ticker -->
$(window).load(function() {
Ticker.start({
height : {switch_ticker.HEIGHT},
spacing : {switch_ticker.SPACING},
speed : {switch_ticker.SPEED},
direction : '{switch_ticker.DIRECTION}',
pause : {switch_ticker.STOP_TIME}
});
});
<!-- END switch_ticker -->
});
<!-- BEGIN switch_login_popup -->
var logInPopUpLeft, logInPopUpTop, logInPopUpWidth = {LOGIN_POPUP_WIDTH}, logInPopUpHeight = {LOGIN_POPUP_HEIGHT}, logInBackgroundResize = false, logInBackgroundClass = false;
<!-- END switch_login_popup -->
<!-- BEGIN switch_login_popup -->
$(document).ready( function() {
$(window).resize(function() {
var windowWidth = document.documentElement.clientWidth;
var popupWidth = $("#login_popup").width();
var mypopup = $("#login_popup");
$("#login_popup").css({
"left": windowWidth/2 - popupWidth/2
});
});
});
<!-- END switch_login_popup -->
//]]>
</script>
{GREETING_POPUP}
<!-- BEGIN switch_ticker_new -->
<style>
.jcarousel-skin-tango .jcarousel-item {
text-align:center;
width: 10px;
}
.jcarousel-skin-tango .jcarousel-item-horizontal {
margin-right: {switch_ticker.SPACING}px;
}
.jcarousel-skin-tango .jcarousel-item-vertical {
margin-bottom: {switch_ticker.SPACING}px;
}
</style>
<!-- END switch_ticker_new -->
{HOSTING_JS}
<!-- BEGIN google_analytics_code -->
<script type="text/javascript">
//<![CDATA[
var _gaq = _gaq || [];
_gaq.push(["_setAccount", "{G_ANALYTICS_ID}"]);
_gaq.push(["_trackPageview"]);
_gaq.push(['_trackPageLoadTime']);
<!-- BEGIN google_analytics_code_bis -->
_gaq.push(['b._setAccount', '{G_ANALYTICS_ID_BIS}']);
_gaq.push(['b._trackPageview']);
<!-- END google_analytics_code_bis -->
(function() {
var ga = document.createElement("script"); ga.type = "text/javascript"; ga.async = true;
ga.src = ("https:" == document.location.protocol ? "https://ssl" : "http://www") + ".google-analytics.com/ga.js";
var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(ga, s);
})();
//]]>
</script>
<!-- END google_analytics_code -->
</head>
<body>
<!-- BEGIN hitskin_preview -->
<div id="hitskin_preview" style="display: block;">
<h1><img src="http://2img.net/i/fa/hitskin/hitskin_logo.png" alt="" /> <em>Hit</em>skin.com</h1>
<div class="content">
<p>
{hitskin_preview.L_THEME_SITE_PREVIEW}
<br />
<span>{hitskin_preview.U_INSTALL_THEME}<a href="http://{hitskin_preview.U_RETURN_THEME}">{hitskin_preview.L_RETURN_THEME}</a></span>
</p>
</div>
</div>
<!-- END hitskin_preview -->
<!-- BEGIN switch_login_popup -->
<div id="login_popup" class="module main" style="z-index: 10000 !important;">
<div id="login_popup_title" class="main-head">
<div class="h3">{SITENAME}</div>
</div>
<div class="main-content">
{LOGIN_POPUP_MSG}
<div id="login_popup_buttons">
<form action="{S_LOGIN_ACTION}" method="get">
<input type="submit" class="button2" value="{L_LOGIN}" />
<input type="button" class="button2" value="{L_REGISTER}" onclick="parent.location='{U_REGISTER}';" />
<input id="login_popup_close" type="button" class="button2" value="{L_DONT_DISPLAY_AGAIN}" />
</form>
</div>
</div>
</div>
<!-- END switch_login_popup -->
<a id="top" name="top" accesskey="t"></a>
<div class="minwidth_IE">
<div class="layout_IE">
<div class="container_IE">
<div class="pun">
<div style="top:0px;left:0px;z-index:7;width:100%;background-position:top left;padding:10px 0 15px 0;height:24px;background-color:#FFF" class="topload blogpt" align="center">
<div class="bb22" align="left">
<!-- BEGIN switch_user_logged_out -->
<span style="float:right;display:inline-block;width:470px" class="ptdn">
<style>.toplogin input#username,.toplogin input#password {width:90px;margin:0px 5px;font:14px Arial;}</style>
<script type="text/javascript"> $(function(){$("input#username_reg").attr("maxlength","16");})</script>
<form action="/login" method="post" name="form_login" class="toplogin" style="float:left">
<script type="text/javascript">document.write('<input type="hidden" name="redirect" value="' + location.href + '" />')</script>
<input name="autologin" checked="true" style="display:none" type="checkbox">
<input tabindex="1" name="username" id="username" size="30" maxlength="40" onblur="if (this.value == '') this.value = 'Tên truy cập';" onfocus="if (this.value == 'Tên truy cập') this.value = '';" value="Tên truy cập" placeholder="Tên truy cập" class="inputfield" type="text">
<input tabindex="2" id="password" name="password" size="30" maxlength="25" onblur="if (this.value == '') this.value = 'Mật khẩu';" onfocus="if (this.value == 'Mật khẩu') this.value = '';" value="Mật khẩu" placeholder="Mật khẩu" class="inputfield" type="password">
<input name="login" tabindex="6" value="Đăng Nhập" type="submit">
</form>
<a href="/register?agreed=true&step=2" class="dangkibottom mobilept">Đăng ký</a>
</span>
<!-- END switch_user_logged_out -->
<!-- BEGIN switch_user_logged_in -->
<div style="float:right;display:inline-block;margin-top:-4px;text-align:right" class="toppt">
<style>.quangcaopt {display:none!important}.topprofile {float:right;display:inline-block;font-family:Arial;;margin-right:2px}.topprofile span {display:none}div.topprofile .a_topprofile {display:inline-block;padding:10px 5px;border:1px solid transparent;border-bottom:0;font-weight:bold;}.topprofile .tb_top,.topprofile .edit_top {background-image:url(http://i59.servimg.com/u/f59/18/83/96/52/untitl13.png);background-repeat:no-repeat;background-position:center 10px;height:17px;width:14px;}.topprofile .tb_top {background-image:url(http://i59.servimg.com/u/f59/18/83/96/52/untitl14.png);}.topprofile:hover .a_topprofile {border-color: rgb(181,174,173);background-color:#FFF;position: relative;z-index:15;}.topprofile:hover span {z-index: 12;position: absolute;display:inline-block;border:1px solid rgb(181,174,173);padding:0 20px;background-color:#FFF;width:100px;margin-top:-1px;margin-left:-142px;text-align:left;}.pun .topprofile span a {display:block;border-top:1px dotted #d4d4d4;padding:7px 0;color:#000;}.pun .topprofile span a b {color:red;font-weight:normal;float:right}.topprofile span a:first-child {border:0}#av_top img {width:25px;height:25px;margin-top:5px}.sms_top {background-color:red;color:#FFF;font-weight:normal;display:inline-block;padding:0 3px;position: absolute;margin-top:-7px;margin-left:13px;font-size:10px;}.sms_top0 {display:none}</style>
<script>$(function() {$('#name_top').html(_userdata['username']);$('#av_top,.reply1').html(_userdata['avatar']);$('#post_top').html(_userdata['user_posts']);$('#like_top').html(_userdata['point_reputation']);$('#not_top').html(_userdata['notifications']);});</script>
<div class="topprofile" style="margin-top:1px">
<a href="/privmsg?folder=inbox" class="a_topprofile tb_top" style="background-color:transparent;border-color: transparent;">
<b class="sms_top sms_top0"></b>
</a>
</div>
<div class="topprofile">
<a href="/profile?mode=editprofile" class="a_topprofile edit_top"></a>
<br />
<span>
<a href="/profile?mode=editprofile&page_profil=preferences">Tùy chỉnh cá nhân</a>
<a href="/profile?change_password=Change+your+password&mode=editprofile&page_profil=informations">Đổi mật khẩu</a>
<a href="/profile?mode=editprofile&page_profil=avatars">Sửa ảnh đại diện</a>
<a href="/profile?mode=editprofile&page_profil=signature">Sửa chữ ký</a>
<a href="{U_LOGIN_LOGOUT}" rel="nofollow" id="logout">Thoát</a>
</span>
</div>
<div class="topprofile mobilept">
<a href="/profile?mode=editprofile" class="a_topprofile" id="name_top"></a>
<br/>
<span>
<a href="/profile?mode=editprofile">Lý lịch tôi</a>
<a href="/search?search_id=activetopics">Bài trong ngày</a>
<a href="/search?search_id=favouritesearch">Bài yêu thích</a>
<a href="/search?search_id=egosearch">Bài viết tôi
<b id="post_top"></b>
</a>
<a href="/profile?mode=editprofile">Được thích
<b id="like_top"></b>
</a>
<a href="/profile?mode=editprofile&page_profil=notifications">Thông báo
<b id="not_top"></b>
</a>
</span>
</div>
<a href="/profile?mode=editprofile&page_profil=avatars" class="topprofile" id="av_top">
<img src="http://r12.imgfast.net/users/1211/23/83/92/avatars/gallery/111.jpg" alt=""/>
</a>
</div>
<!-- END switch_user_logged_in -->
<form id="sell1" method="get" action="/h36-search" name="cpsearch" style="width:450px;display:inline-block;float:left;">
<input autocomplete="off" class="ui-autocomplete-input" name="q" onblur="if (this.value == '') this.value = 'My Life';" onfocus="if (this.value == 'My Life') this.value = '';" value="My Life" placeholder="My Life" style="border:1px solid #d4d4d4;padding:7px 30px 7px 8px;font:14px Arial;color:#333333;background: #FFF url(http://i57.servimg.com/u/f57/16/18/15/10/1102.png)no-repeat right;width:100%;height:16px" type="text">
</form>
</div>
</div>
<div class="topmuc blogpt" style="background-color:rgb(238,239,243);background-image:url(http://i.imgur.com/36LlnK7.png);background-repeat:repeat-x;background-position:top left;border:1px solid rgb(222,223,231);border-bottom:1px solid rgb(214,219,222)">
<div style="padding:12px 0">
<a href="/" style="background-image:url(http://i.imgur.com/HE1Sg9r.png)" class="acpt mobilept">Trang chính</a>
<a href="/f54-forum#view" style="background-image: url(http://i.imgur.com/ayBGt3J.png)">Hình ảnh</a>
<a href="/f3-forum" style="background-image: url(http://i39.servimg.com/u/f39/16/18/15/10/113.png)">Tin Hay</a>
<a href="/h58-Games" style="background-image: url(http://i39.servimg.com/u/f39/18/83/96/52/123.png)" class="mobilept">Games</a>
<a href="/h3-Tools" style="background-image: url(http://i74.servimg.com/u/f74/18/83/96/52/110.png)" class="mobilept">Phần mềm</a>
<a href="/f65-forum#view" style="background-image: url(http://i39.servimg.com/u/f39/18/83/96/52/156.png);border-right:0!important">Video</a>
<span class="tienich">
<a href="/t129-topic" target="_blank" style="float:right;border:0" class="mobilept tienichshow">Tiện ích</a>
<span style="display:none">
<a href="/h32-forum" target="_blank">Photoshop</a>
<a href="/h22-uploadimage" target="_blank">Up Ảnh</a>
<a href="/h1-gamemini" target="_blank">Game Mini</a>
<a href="/h4-" target="_blank">Truyện Tranh</a>
<a href="/h47-" target="_blank">Ảnh Bìa Fb</a>
</span>
</span>
</div>
</div>
<div id="pun-intro" class="clearfix">
<a href="{U_INDEX}" id="pun-logo"><img src="{LOGO}" alt="{L_INDEX}" /></a>
<!-- BEGIN switch_h1 -->
<div id="pun-title">{switch_h1.MAIN_SITENAME}</div>
<!-- END switch_h1 -->
<!-- BEGIN switch_desc -->
<p id="pun-desc">{switch_desc.SITE_DESCRIPTION}</p>
<!-- END switch_desc -->
</div>
<div id="pun-head">
<div id="pun-navlinks">
<ul class="clearfix">
<li>{GENERATED_NAV_BAR}</li>
</ul>
</div>
</div>
<!-- BEGIN switch_ticker_new -->
<div id="fa_ticker_block" style="padding-top:4px;">
<div class="module main">
<div class="main-content clearfix">
<div id="fa_ticker_container">
<ul id="fa_ticker_content" class="jcarousel-skin-tango" style="display: none;width: 100%;">
<!-- BEGIN ticker_row -->
<li>{switch_ticker.ticker_row.ELEMENT}</li>
<!-- END ticker_row -->
</ul>
</div>
</div>
</div>
</div>
<!-- END switch_ticker_new -->
<!-- BEGIN switch_ticker -->
<div id="fa_ticker_block" style="padding-top:4px;">
<div class="module main">
<div class="main-content clearfix">
<div id="fa_ticker_container">
<div id="fa_ticker" style="height:{switch_ticker.HEIGHT}px;">
<div class="fa_ticker_content">
<!-- BEGIN ticker_row -->
<div>{switch_ticker.ticker_row.ELEMENT}</div>
<!-- END ticker_row -->
</div>
</div>
</div>
</div>
</div>
</div>
<!-- END switch_ticker -->
<div id="page-body">
<div id="content-container">
<div id="outer-wrapper">
<span style="float:right">
<div id="right" style="display:inline-block;width:245px;padding:15px;padding-top:0" class="topload1 blogpt">
<ul class="mapxte avatar_box">
<dd>Trò chơi</dd>
<li class="mapxtemo f40 f4 f16 f29 f32 f25 f87 suboxf46">
<a href="/f40-forum" class="f40">Divide & Fight</a>
<a href="/f4-forum" class="anbox f4">Bản tin D&F</a>
<a href="/f16-forum" class="anbox f16">Báo lỗi</a>
<a href="/f29-forum" class="anbox f29">Giao lưu - đấu trường</a>
<a href="/f32-forum" class="anbox f32">Thư viện</a>
<a href="/f25-forum" class="anbox f25">Clan</a>
<a href="/f87-forum" class="anbox f87 mapsub">Video DF</a>
</li>
<li class="mapxtemo f15 f106 f47 27 f104 f46 f22 suboxf15">
<a href="/f15-forum" class="f15">Warcraft III</a>
<a href="/f22-forum" class="f22 anbox">Custom map tần tật</a>
<a href="/f106-forum" class="anbox f106">9x Hero Defense VN</a>
<a href="/f27-forum" class="anbox f27 mapsub">Hướng dẫn tạo map</a>
<a href="/f104-forum" class="anbox f104">Ảnh đẹp Warcraft III</a>
<a href="/f46-forum" class="anbox f16">Video Warcraft III</a>
</li>
<li>
<a href="/f121-forum" class="f64">Game Private</a>
</li>
<li class="mapxtemo f58 f6 f102 f131 f110">
<a href="/f58-forum" class="f58">PC Games Offline</a>
<a href="/f102-forum" class="anbox f102">Mini Game PC</a>
</li>
<dd>Giải trí</dd>
<li>
<a href="/f65-forum" class="f65 f111 f95 f87 f11">Video Clip</a>
</li>
<li class="mapxtemo f54 f73 f98 f57 f55 f100 f74 f83">
<a href="/f54-forum" class="f54">Hình ảnh đẹp</a>
<a href="/f115-forum" class="anbox f115">Ảnh Vui Cười</a>
<a href="/f73-forum" class="anbox f73">Hình Nền Máy Tính</a>
<a href="/f98-forum" class="anbox f98">Cosplay</a>
<a href="/f100-forum" class="anbox f100">Bìa facebook</a>
<a href="/f74-forum" class="anbox f74">Ảnh đẹp khác</a>
</li>
<li>
<a href="/f3-forum" class="f3">Tin Hay</a>
</li>
<li class="mapxtemo f56 f126 f118 f79 f127 f129 f103">
<a href="/f56-forum" class="f56">Hội quán truyện</a>
<a href="/f52-forum" class="anbox f52">Tam Quốc Kỳ Truyện</a>
<a href="/f126-forum" class=" anbox f126">Truyện cười</a>
<a href="/f118-forum" class="anbox f118">Ô Long Viện</a>
<a href="/f127-forum" class="anbox f127">Tay Du Ký 1</a>
<a href="/f129-forum" class="anbox f129">Tay Du Ký 2</a>
<a href="/f103-forum" class="anbox f103">Lưu trữ truyện tranh</a>
</li>
<li>
<a href="/f8-forum" class="f8">Âm nhạc - Nonstop</a>
</li>
<dd>Công nghệ</dd>
<li class="mapxtemo f97 f122">
<a href="/f97-forum" class="f97">Phần Mềm Tổng Hợp</a>
<a href="/f105-forum" class="anbox f105">Movie Maker</a>
</li>
<li>
<a href="/f122-forum" class="f122">Thủ thuật mẹo vặt</a>
</li>
<dd>Nhóm</dd>
<li class="mapxtemo">
<a href="/f30-forum" class="f30">Anime Manga</a>
<a href="/f48-forum" class="anbox f48">Fairy Tail</a>
<a href="/f49-forum" class="anbox f49">One Piece</a>
<a href="/f60-forum" class="anbox f60">Tổng Hợp Map Anime</a>
<a href="/f66-forum" class="anbox f66">Anime Vietsub</a>
</li>
</ul>
<div id="abb11">
<style>.phutu_new {display:inline-block;margin-top:10px}.new_mod div:first-child .phutu_new{border-top:0px}.phutu_new img {width:100%;height:170px;margin-top:-25px;margin-bottom:10px}.phutu_new b {display:inline-block;color:#000;font:bold 14px/20px Arial}.phutu_new span {float:left;display:block;width:100%;height:123px;float:left;overflow:hidden;margin-bottom:5px;background-color:#000}.phutu_new embed {display:none}</style>
<div style="float:right">
<div class="thanhtien" style="right:20px;float: right; width: 45px; position: fixed; bottom: 30%;display: inline-block;margin-left:20px;z-index:98">
<a style="display:none;width:45px;height:45px;background-image: url(http://i39.servimg.com/u/f39/18/83/96/52/163.png);background-repeat:no-repeat;margin-bottom:4px" href="#comments"></a>
<a style="display:inline-block;width:45px;height:45px;background-image: url(http://i39.servimg.com/u/f39/18/83/96/52/164.png);background-repeat:no-repeat;margin-bottom:4px" onclick="reloadPage()" href="javascript:reloadPage()"></a>
<a style="display:inline-block;width:45px;height:45px;background-image: url(http://i39.servimg.com/u/f39/18/83/96/52/161.png);background-repeat:no-repeat;margin-bottom:4px" href="#top"></a>
</div>
</div>
<script>
function reloadPage()
{
location.reload();
}
</script></div><div class="bailienquan"></div></div></span>
<div id="wrapper">
<div style="border-width:0px 0px 1px" class="nav main-box">
<div style="display:block">
<a href="/" style="display:inline-block;background-image: url(http://i48.servimg.com/u/f48/14/28/30/23/home10.gif);background-repeat:no-repeat;margin:8px 5px 0px -5px;float:left;padding:9px" class="nav"></a>{NAV_CAT_DESC}
</div>
</div>
<div id="container">
<div id="content" style="padding:10px">
<div id="{ID_LEFT}">
<!-- BEGIN giefmod_index1 -->
{giefmod_index1.MODVAR}
<!-- BEGIN saut -->
<div style="height:{SPACE_ROW}px"></div>
<!-- END saut -->
<!-- END giefmod_index1 -->
</div>
<div id="main">
<div id="main-content">
<!-- BEGIN html_validation -->
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>
<!-- END html_validation -->
Topics_blog_box
Code:
<style>
/* Mod new và topic blog */
.singleCol #post-container{background:url("http://i21.servimg.com/u/f21/17/57/29/64/timeli11.jpg") repeat-y 567px top}
.pin-container{float:left;position:relative}
.singleCol #post-container .pin-container{width:220px;padding:5px}
.singleCol #post-container .pin-container:first-of-type{margin-top:0}
.singleCol #post-container .pin-container .midCol{margin-right:10px;width:220px}
.pin{font-size:11px}
.singleCol #post-container .pin{position:relative}
.singleCol .upperInfo h3{display:inline;font-size:100%;font-weight:normal;font-family:inherit;margin:0}
.pin-container .upperInfo h3 a{color:#2b2b2b;font-size:22px;font-weight:bold}
.singleCol #post-container .pin .pin_pic_img_a{height:142px;display:block;overflow:hidden;font-size:0}
.singleCol #post-container .pin .pin_pic_img_a img{width:220px;height:142px;margin-bottom:0}
.pin-container .pinleft{color:#aaa;margin-bottom:5px;margin-top:5px;height:auto;font-size:11px}
.pin-container .pinleft a{color:#aaa;font-size:11px}
.pin-container .pinright{float:right}
.pin-container .bottomInfo{width:450px;padding-top:3px;overflow:hidden}
.pin-container .bottomInfo .block{margin:1px 3px 0 0;padding:3px}
.fl-l{float:left;overflow:hidden}
.pin-container .bottomInfo .block{margin:1px 3px 0 0;padding:3px}
.item {
display: none;
}
.borr {margin: 0px -5px;}
.pin_pic_img_a br, .pin_pic_img_a > strong, .pin_pic_img_a font, .pin_pic_img_a span{
display: none;
}
.pin_pic_img_a {
background-image: url('http://i.imgur.com/rhebXoh.png');
}
</style>
<!-- BEGIN topics_blog_box -->
<div class="singleCol">
<div id="post-container">
<div class="borr">
<!-- BEGIN row -->
<!-- BEGIN topic -->
<div class="masonry-brick pin-container">
<div class="midCol">
<div class="pin">
<div class="upperInfo">
</div>
<a class="pin_pic_img_a" target="_blank" href="{topics_blog_box.row.U_VIEW_TOPIC}">
{topics_blog_box.row.FIRST_POST_TEXT}
</a>
<a href="{topics_blog_box.row.U_VIEW_TOPIC}" style="font: bold 14px/20px Arial; display: inline-block; margin-top: 5px; overflow: hidden; height: 38px;" target="_blank">{topics_blog_box.row.TOPIC_TITLE}</a>
<div class="pinleft">
<a>Bởi {topics_blog_box.row.TOPIC_AUTHOR}</a>
<span style="float:right">{topics_blog_box.row.LAST_POST_TIME}</span>
</div>
<div class="item">
<a href="{topics_blog_box.row.U_VIEW_TOPIC}">
<div>
<div class="photo">
{topics_blog_box.row.FIRST_POST_TEXT}
</div>
</div>
<p>
{topics_blog_box.row.TOPIC_TITLE}
</p>
</a>
</div>
</div>
</div>
</div>
<!-- END topic -->
<!-- END row -->
</div>
<div id="listEnd">
</div>
</div>
</div>
<!-- END topics_blog_box -->
Hướng dẫn thay ảnh box chuyên mục : http://www.hotrofm.net/t356-hoi-dap-can-giup-do-ve-skin-phutu-2016#1570
Tags: #skin #punbb