Demo:
Template:
ACP >> Display >> QLTTThay từng template sau vào nhé
Index_body:
Code:
{JAVASCRIPT}
<!-- BEGIN message_admin_index -->
<div class="main">
<!-- BEGIN message_admin_titre -->
<div class="main-head">
<h1 class="page-title">{message_admin_index.message_admin_titre.MES_TITRE}</h1>
</div>
<!-- END message_admin_titre -->
<!-- BEGIN message_admin_txt -->
<div id="pun-announcement">
<p>{message_admin_index.message_admin_txt.MES_TXT}</p>
</div>
<!-- END message_admin_txt -->
</div>
<!-- END message_admin_index -->
<!-- BEGIN switch_user_login_form_header -->
<div class="main">
<form action="{S_LOGIN_ACTION}" method="post" name="form_login">
<div class="user_login_form main-box center">
<label><span class="genmed">{L_USERNAME} :</span> <input class="post" type="text" size="10" name="username" /></label>
<label><span class="genmed">{L_PASSWORD} :</span> <input class="post" type="password" size="10" name="password" /></label>
<label><span class="gensmall">{L_AUTO_LOGIN}</span> <input class="radio" type="checkbox" name="autologin" {AUTOLOGIN_CHECKED} /></label>
{S_HIDDEN_FIELDS}<input class="mainoption" type="submit" name="login" value="{L_LOGIN}" />
<!-- BEGIN switch_fb_connect -->
<span class="fb_or">{switch_user_login_form_header.switch_fb_connect.L_OR}</span>
<fb:login-button size="large" onlogin="window.location='/facebook_connect.forum'" scope="{switch_user_login_form_header.switch_fb_connect.L_FB_PERMISSIONS}">{switch_user_login_form_header.switch_fb_connect.L_FB_LOGIN_BUTTON}</fb:login-button>
<!-- END switch_fb_connect -->
</div>
</form>
</div>
<!-- END switch_user_login_form_header -->
{CHATBOX_TOP}
<table width="100%"><tbody><tr><td width="75%" valign="top">{BOARD_INDEX}</td>
<td width="25%" valign="top" style="padding-left:10px">
<div class="section">
<h3 class="mHead mHeadTwoLine">Học web chuẩn</h3>
<div class="social">
<p><a href="https://www.facebook.com/hocwebchuan" target="_blank"><img src="http://i35.servimg.com/u/f35/17/57/29/64/btn_fa10.gif" alt="Click to like hocwebchuan.com" class="imgover"/></a></p>
</div>
<div class="sectionInner">
<h4 class="sHead"><a href="/tutorial/">Hướng dẫn học</a></h4>
<ul class="lNav">
<li><a href="/tutorial/tut_html.php">Hướng dẫn học HTML4/XHTML</a></li>
<li><a href="/tutorial/tut_html_combine.php">Bài tập HTML4/XHTML</a></li>
<li><a href="/tutorial/tut_css.php">Hướng dẫn học CSS</a></li>
<li><a href="/tutorial/tut_css_combine.php">Bài tập CSS</a></li>
<!--<li><a href="/tutorial/">Hướng dẫn học css3</a></li>
<li><a href="/tutorial/">Hướng dẫn học jquery</a></li>
<li><a href="/tutorial/">Hỗ trợ hỏi đáp</a></li>-->
</ul></div>
<div class="sectionInner">
<h4 class="sHead"><a href="/reference/">Tham khảo</a></h4>
<ul class="lNav">
<li><a href="/reference/tag/html4-xhtml.php">Tham khảo HTML4/XHTML</a></li>
<li><a href="/reference/tag/html5/">Tham khảo HTML5</a></li>
<li><a href="/reference/cssSection/">Tham khảo CSS</a></li>
<li><a href="/reference/cssSection/css3/">Tham khảo CSS3</a></li>
<li><a href="/reference/jquery/">Tham khảo jQuery</a></li>
</ul><!-- / class sectionInner --></div>
<div class="sectionInner">
<h4 class="sHead">Tham khảo Thêm</h4>
<ul class="lNav">
<li><a href="/reference/tag/lang_code.php">Lang codes</a></li>
<li><a href="/reference/tag/font.php">Font chữ</a></li>
<li><a href="/reference/tag/symbols.php">Mã ký tự</a></li>
<li><a href="/reference/tag/mime.php">MIME</a></li>
<li><a href="/reference/cssSection/css_units.php">Đơn vị trong HTML & CSS</a></li>
<li><a href="/reference/cssSection/css_color.php">Giá trị màu trong HTML & CSS</a></li>
<li><a href="/reference/browsers/browsers_statistic.php">Thống kê trình duyệt</a></li>
<li><a href="/reference/browsers/browsers_statistic_vietnam.php">Thống kê trình duyệt tại Việt Nam</a></li>
<li><a href="/reference/tag/attr_global.php">Thuộc tính tổng quát</a></li>
</ul></div>
<ul class="sBanner">
<li><a href="/reference/generator/background_gradient.php" target="_blank"><img src="http://i21.servimg.com/u/f21/17/57/29/64/110.gif" alt="CÔNG CỤ TẠO HTML&CSS Generator"></a></li>
<li><a href="/reference/tools/count_character.php" target="_blank"><img src="http://i21.servimg.com/u/f21/17/57/29/64/210.gif" alt="CÔNG CỤ HỖ TRỢ HTML Tools"></a></li>
<li><a href="/reference/tester/responsive.php" target="_blank"><img src="http://i21.servimg.com/u/f21/17/57/29/64/310.gif" alt="CÔNG CỤ KIỂM TRA"></a></li>
</ul>
</div>
</td></tr></tbody></table>
<!-- BEGIN disable_viewonline -->
<div id="pun-info" class="main">
<div class="main-content">
<div id="stats">
<p class="right">{TOTAL_POSTS}</p>
<p>{TOTAL_USERS}</p>
<p>{NEWEST_USER}</p>
</div>
<div id="onlinelist">
<img src="{L_ONLINE_IMG}" alt="{L_WHO_IS_ONLINE}" />
<p class="right">
<!-- BEGIN switch_viewonline_link -->
<a href="{U_VIEWONLINE}" rel="nofollow">{L_WHO_IS_ONLINE}</a>
<!-- END switch_viewonline_link -->
<!-- BEGIN switch_viewonline_nolink -->
{L_WHO_IS_ONLINE}
<!-- END switch_viewonline_nolink -->
</p>
<p>{TOTAL_USERS_ONLINE}<br />
{RECORD_USERS}
<br />
{LOGGED_IN_USER_LIST}
{L_ONLINE_USERS}
{L_CONNECTED_MEMBERS}<br />
{L_WHOSBIRTHDAY_TODAY}{L_WHOSBIRTHDAY_WEEK}</p>
<div class="clear"></div>
<p>{LEGEND} : {GROUP_LEGEND}</p>
</div>
<!-- BEGIN switch_chatbox_activate -->
<div id="onlinechat">
<p class="page-bottom">
{TOTAL_CHATTERS_ONLINE} :
{CHATTERS_LIST}<br />
<!-- BEGIN switch_chatbox_popup -->
<div id="chatbox_popup"></div>
<script type="text/javascript">
insertChatBoxPopup('{disable_viewonline.switch_chatbox_activate.switch_chatbox_popup.U_FRAME_CHATBOX}', '{L_CLICK_TO_JOIN_CHAT}');
</script>
<!-- END switch_chatbox_popup -->
</p>
</div>
<!-- END switch_chatbox_activate -->
</div>
</div>
<!-- END disable_viewonline -->
<!-- BEGIN switch_user_login_form_footer -->
<form action="{S_LOGIN_ACTION}" method="post" name="form_login">
<div class="user_login_form main-box center">
<label><span class="genmed">{L_USERNAME} :</span> <input class="post" type="text" size="10" name="username"/></label>
<label><span class="genmed">{L_PASSWORD} :</span> <input class="post" type="password" size="10" name="password"/></label>
<label><span class="gensmall">{L_AUTO_LOGIN}</span> <input class="radio" type="checkbox" name="autologin" {AUTOLOGIN_CHECKED} /></label>
{S_HIDDEN_FIELDS}<input class="mainoption" type="submit" name="login" value="{L_LOGIN}" />
<!-- BEGIN switch_fb_connect -->
<span class="genmed fb_or">{switch_user_login_form_footer.switch_fb_connect.L_OR}</span>
<fb:login-button size="large" onlogin="window.location='/facebook_connect.forum'" scope="{switch_user_login_form_footer.switch_fb_connect.L_FB_PERMISSIONS}">{switch_user_login_form_footer.switch_fb_connect.L_FB_LOGIN_BUTTON}</fb:login-button>
<!-- END switch_fb_connect -->
</div>
</form>
<!-- END switch_user_login_form_footer -->
{CHATBOX_BOTTOM}
{AUTO_DST}
<!-- BEGIN switch_fb_index_login -->
<div id="fb-root"></div>
<script>
FB.init({
appId : {switch_fb_index_login.FACEBOOK_APP_ID},
cookie : true,
xfbml : true,
oauth : true,
version : 'v2.3'
});
(function(d, s, id){
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) {return;}
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/sdk.js";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
</script>
<!-- END switch_fb_index_login -->
Index_box:
Code:
<div class="main">
<!-- BEGIN catrow -->
<!-- BEGIN tablehead -->
<div class="main-head">
<div class="page-title">{catrow.tablehead.L_FORUM}</div>
</div>
<div class="main-content">
<table cellspacing="0" class="table">
<tbody class="statused">
<!-- END tablehead -->
<!-- BEGIN forumrow -->
<tr style="float:left">
<td class="boxwrap" style="border:0;padding:1em;height:91px;overflow:hidden">
<h{catrow.forumrow.LEVEL} class="hierarchy"><a href="{catrow.forumrow.U_VIEWFORUM}" class="forumtitle">{catrow.forumrow.FORUM_NAME}</a></h{catrow.forumrow.LEVEL}>
<br />
<div class="boxdesc">{catrow.forumrow.FORUM_DESC}</div>
<div class="boxtp">Chủ đề: <span style="color:#e40000;font-weight:700">{catrow.forumrow.TOPICS}</span> | Bài viết: <span style="color:#0790FF;font-weight:700">{catrow.forumrow.POSTS}</span></div>
<!-- BEGIN switch_topic_title -->
<div class="boxlast">
<span style="font-weight:700;color:#e40000">Mới: </span><a href="{catrow.forumrow.U_LATEST_TOPIC}" title="{catrow.forumrow.LATEST_TOPIC_TITLE}">{catrow.forumrow.LATEST_TOPIC_NAME}</a>
</div>
<!-- END switch_topic_title -->
<!-- BEGIN switch_moderators_links -->
<br />
{catrow.forumrow.switch_moderators_links.L_MODERATOR}{catrow.forumrow.switch_moderators_links.MODERATORS}
<!-- END switch_moderators_links -->
{catrow.forumrow.L_LINKS}{catrow.forumrow.LINKS}
<strong>{forumrow.L_SUBFORUM_STR}</strong> {forumrow.SUBFORUMS}
</td>
</tr>
<!-- END forumrow -->
<!-- BEGIN tablefoot -->
</tbody>
</table>
</div>
<!-- END tablefoot -->
<!-- END catrow -->
</div>
Overall_footer_end:
Code:
<!-- BEGIN html_validation -->
<!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">
<body>
<div>
<div>
<div>
<div>
<div>
<div>
<ul>
<li>
<!-- END html_validation -->
</li>
</ul>
<!-- BEGIN switch_footer_links -->
<ul>
<li>
<!-- BEGIN footer_link -->
<!-- BEGIN switch_separator --> | <!-- END switch_separator -->
{switch_footer_links.footer_link.FOOTER_LINK_SEPARATOR}<a name="bottom" class="copyright" href="{switch_footer_links.footer_link.U_FOOTER_LINK_HREF}" rel="{switch_footer_links.footer_link.FOOTER_LINK_REL}" target="{switch_footer_links.footer_link.FOOTER_LINK_TARGET}" title="{switch_footer_links.footer_link.L_FOOTER_LINK_TITLE}">{switch_footer_links.footer_link.L_FOOTER_LINK_TEXT}</a>
<!-- END footer_link -->
</li>
</ul>
<!-- END switch_footer_links -->
</div>
<br />
<p class="center">
<strong>{ADMIN_LINK}</strong>
</p>
</div>
{PROTECT_FOOTER}
</div>
</div>
</div>
</div>
<!-- BEGIN switch_facebook_login -->
<div id="fb-root"></div>
<script type="text/javascript">
FB.init({
appId : {switch_facebook_login.FACEBOOK_APP_ID},
cookie : true,
xfbml : true,
oauth : true,
version : 'v2.3'
});
(function(d, s, id){
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) {return;}
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/sdk.js";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
</script>
<!-- END switch_facebook_login -->
<!-- BEGIN switch_facebook_logout_TMP -->
<script type="text/javascript">
//<![CDATA[
FB.Event.subscribe('auth.logout', function(response) {
if ($('a#logout'))
{
var lien_redir = $('a#logout').attr('href');
if ($('a#logout').attr('href') && $('a#logout').attr('href') != '')
{
document.location.href = 'http://{switch_facebook_logout.SERVER_NAME}/' + lien_redir;
}
}
});
$(document).ready( function() {
$('a#logout').click( function() {
FB.logout();
} );
} );
//]]>
</script>
<!-- END switch_facebook_logout_TMP -->
<script type="text/javascript">
//<![CDATA[
fa_endpage();
//]]>
</script>
</body>
</html>
<footer id="globalFooter">
<p class="fPageTop"><span><a href="#layout">Đầu trang</a></span></p>
<div id="directoryNav">
<ul class="fLink">
<li class="home"><a href="/"><strong>TRANG CHỦ</strong></a></li>
</ul>
<ul class="linkStyle">
<li>
<p class="fLinkTutorial"><a href="/tutorial/">Hướng dẫn học</a></p>
<ul>
<li><a href="/tutorial/tut_html.php">Hướng dẫn học html/xhtml</a></li>
<li><a href="/tutorial/tut_html_combine.php">Bài tập html/xhtml</a></li>
<!--<li><a href="/tutorial/">Hướng dẫn học html5</a></li>-->
<li><a href="/tutorial/tut_css.php">Hướng dẫn học css</a></li>
<li><a href="/tutorial/tut_css_combine.php">Bài tập css</a></li>
<!--<li><a href="/tutorial/">Hướng dẫn học css3</a></li>
<li><a href="/tutorial/">Hướng dẫn học jquery</a></li>
<li><a href="/">Javascript</a></li>
<li><a href="/">Wordpress</a></li>
<li><a href="/">MT</a></li>
<li><a href="/tutorial/">Hỗ trợ hỏi đáp</a></li>-->
</ul>
</li>
<li>
<p class="fLinkReference"><a href="/reference/">Tham khảo</a></p>
<ul>
<li><a href="/reference/tag/html4-xhtml.php">Tham khảo HTML4/XHTML</a></li>
<li><a href="/reference/tag/html5/">Tham khảo HTML5</a></li>
<li><a href="/reference/cssSection/">Tham khảo CSS</a></li>
<li><a href="/reference/cssSection/css3/">Tham khảo CSS3</a></li>
<li><a href="/reference/jquery/">Tham khảo jQuery</a></li>
</ul>
</li>
<li>
<p> </p>
<ul>
<li><a href="/reference/tag/lang_code.php">Lang codes</a></li>
<li><a href="/reference/tag/font.php">Font family</a></li>
<li><a href="/reference/tag/symbols.php">Mã ký tự</a></li>
<li><a href="/reference/tag/mime.php">MIME</a></li>
<li><a href="/reference/tag/attr_global.php">Thuộc tính tổng quát</a></li>
</ul>
</li>
<li>
<p> </p>
<ul>
<li><a href="/reference/generator/border_radius.php" target="_blank">Tạo border radius</a></li>
</ul>
</li>
<!--<li>
<p class="fLinkThematic"><a href="/thematic/">Chuyên đề</a></p>
<ul>
<li><a href="/thematic/">Chuyên đề html</a></li>
<li><a href="/thematic/">Chuyên đề xhtml</a></li>
<li><a href="/thematic/">Chuyên đề css</a></li>
<li><a href="/thematic/">Chuyên đề jquery</a></li>
<li><a href="/thematic/">Javascript</a></li>
</ul>
<p class="fLinkSkill"><a href="/skill/">Kỹ năng cần thiết</a></p>
<ul>
<li><a href="/skill/">Dreamweaver</a></li>
<li><a href="/skill/">Photoshop</a></li>
</ul>
</li>
<li>
<p class="fLinkSample"><a href="/sample/">Layout mẫu</a></p>
<ul>
<li><a href="/sample/">Link 01</a></li>
<li><a href="/sample/">Link 01</a></li>
<li><a href="/sample/">Link 01</a></li>
<li><a href="/sample/">Link 01</a></li>
<li><a href="/sample/">Link 01</a></li>
</ul>
</li>
-->
<li>
<p class="fLinkContact"><a href="/contact/index.php">Góp ý - Liên hệ</a></p>
<p class="fLinkCopyright"><a href="/copyright.php">Bản quyền - copyright</a></p>
<p class="fLinkSitemap"><a href="/sitemap/">Sitemap</a></p>
</li>
</ul>
<!--<div class="fList">
<ul class="fListRight">
<li><a href="/">Link 01</a></li>
<li><a href="/">Link 01</a></li>
<li><a href="/">Link 01</a></li>
<li><a href="/">Link 01</a></li>
<li class="fListlast"><a href="/">Link 01</a></li>
</ul
></div>-->
<ul class="validate">
<li><a target="_blank" href="http://validator.w3.org/check?uri=referer"><img src="http://i35.servimg.com/u/f35/17/57/29/64/ico_xh10.gif" alt="W3C XHTML1.0" title="W3C XHTML1.0" /></a></li>
<li><img src="http://i35.servimg.com/u/f35/17/57/29/64/ico_cs10.gif" alt="W3C CSS" title="W3C CSS" /></li>
</ul>
<!-- / id directoryNav --></div>
<div id="footer">
<div id="footerInner">
<p id="copyright">©2012 Học Web Chuẩn All Rights Reserved | Skin RIP by Móm Nguyễn</p>
<div class="fSection">
<ul>
<li id="fNavHome"><a href="/">Trang chủ</a></li>
<li id="fNavAbout"><a href="/about.php">Giới thiệu</a></li>
<li id="fNavContact"><a href="/contact/index.php">Góp ý - Liên hệ</a></li>
<li id="fNavSitemap"><a href="/sitemap/">Site map</a></li>
<li><a href="https://plus.google.com/102383783980076831521?rel=author">Google</a></li>
</ul>
</div>
</div>
<!-- / id footer --></div>
<!-- / id globalFooter --></footer><!-- / id layout --></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>
<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}
{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">
<header id="header">
<div class="description">
<h1>Học web chuẩn, kiến thức nhỏ cho web hiện đại.</h1>
</div>
<div id="headerInner">
<p id="logo"><a href="/"><img src="http://i35.servimg.com/u/f35/17/57/29/64/logo10.png" alt="Học web chuẩn" title="Học web chuẩn"></a><br>
<a href="/" class="domain">www.hocwebchuan.com</a></p>
<p class="adsBanner"><a href="http://muontimviec.asia" target="_blank"><img src="http://i35.servimg.com/u/f35/17/57/29/64/ads_cy10.jpg" alt="CYBRIDGE Tuyển dụng HTML MAKUP ENGINEER" title="CYBRIDGE Tuyển dụng HTML MAKUP ENGINEER" class="imgover"></a></p>
<div class="hSection">
<nav>
<ul class="hNav">
<li id="hNavHome"><a href="/">Trang chủ</a></li>
<li id="hNavAbout"><a href="/about.php">Giới thiệu</a></li>
<li id="hNavContact"><a href="/contact/index.php">Góp ý - Liên hệ</a></li>
<li id="hNavSitemap"><a href="/sitemap/">Site map</a></li>
<!-- / class hNav --></ul>
</nav>
<!-- / class hSection --></div>
<div class="searchForm">
<form action="/search.php" id="cse-search-box">
<div>
<input name="cx" value="013677580383747792480:nb4dazpthsc" type="hidden">
<input name="cof" value="FORID:10" type="hidden">
<input name="ie" value="UTF-8" type="hidden">
<p class="searchTxt"><input style="border: 1px solid rgb(126, 157, 185); padding: 2px; background: rgb(255, 255, 255) url("https://www.google.com/cse/static/vi/google_custom_search_watermark.gif") no-repeat scroll left center;" name="q" size="23" type="text"></p>
<p class="searchBtn"><input src="http://i35.servimg.com/u/f35/17/57/29/64/btn_se10.png" alt="Search Submit" type="image"></p>
</div>
<input value="hocwebchuan.com/" name="siteurl" type="hidden"><input value="hocwebchuan.com/reference/cssSection/pr_clear.php" name="ref" type="hidden"><input name="ss" type="hidden"></form>
<script type="text/javascript" src="//www.google.com/cse/brand?form=cse-search-box&lang=vi"></script></div>
<!-- / id headerInner --></div>
<!-- / id header --></header>
<nav id="gNav">
<div>
<ul>
<li id="gNav01"><a href="/">Trang chủ</a></li>
<li id="gNav02"><a href="/tutorial/">Hướng dẫn học</a></li>
<li id="gNav03"><a href="/reference/">Tham khảo</a></li>
<!-- <li id="gNav04"><a href="/chuyende/">Chuyên đề</a></li> -->
<li id="gNav05"><a href="/contact/index.php">Góp ý - Liên hệ</a></li>
</ul>
<p class="errorReport"><a href="javascript:reportMessage()">Báo lỗi</a></p>
</div>
<!-- / id gNav --></nav>
<div class="pun">
<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="{ID_CONTENT_CONTAINER}"{CLASS_CONTENT_CONTAINER}>
<div id="outer-wrapper">
<div id="wrapper">
<div id="container">
<div id="content">
<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 -->
ACP >> Display >> Colors >> CSS
Thay toàn bộ bằng code này:
Code:
/* Box */
.boxwrap {
width: 333.5px;
float:left;
}
.boxwrap:hover {
background: #f5f5f5 !important;
}
.boxwrap:hover .boxtp {
display: none;
}
.boxdesc {
overflow: hidden;
display: inline-block;
height: 34px;
margin-top: 3px;
}
.boxtp {
text-align: center;
padding: 2px;
border: 1px dashed #ccc;
width: 327px;
margin-top: 15px;
}
.boxlast {
padding: 2px;
border: 1px dashed #ccc;
width: 327px;
margin-top: 15px;
text-align: center;
}
.forumtitle {
font-size: 18px;
}
.forumtitle {
font-size: 18px;
}
/* Side bar */
.section {
border: 1px solid #ddd;
padding: 10px 10px 0px;
}
.section .mHead {
background: url(http://i68.servimg.com/u/f68/17/57/29/64/bg_mh10.gif) repeat-x left bottom;
color: #fff;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 180%;
font-weight: bold;
height: 60px;
padding: 25px 0 2px 10px;
text-shadow: 2px 2px #444;margin: 0 0 20px 0;}
.section div.social {
margin: -5px 0 10px 0;
}
.section div.sectionInner {
padding-bottom: 10px;
}
.section .sHead {
background: #7c7b7b;
border: 1px solid #333;
color: #FFF;
padding: 2px 0px 2px 5px;
position: relative;
z-index: 10;
}
h4.sHead {
font-weight: bold;
padding: 10px 0px 0px;
}
.section .sHead a {
color: #FFF;
text-decoration: none;
}
.section ul.lNav {
background: transparent url("http://i68.servimg.com/u/f68/17/57/29/64/bg_dot10.gif") repeat-x scroll left top;
margin: 10px 0px;
padding: 2px 0px 0px;
z-index: 10;
}
.section ul.lNav li {
background: transparent url("http://i68.servimg.com/u/f68/17/57/29/64/bg_dot10.gif") repeat-x scroll left bottom;
padding: 2px 0px 4px 14px;
position: relative;
text-indent: -14px;
width: auto;
}
.section ul.lNav li a {
background: transparent url("http://i68.servimg.com/u/f68/17/57/29/64/ico_ar10.gif") no-repeat scroll 0px 3px;
padding-left: 10px;
}
.section .sBanner li {
margin-bottom: 10px;
}
/* All */
.pun {
margin: 0px auto;
min-height: 550px;
padding: 0px 0px 20px;
position: relative;
width: 980px;
margin-top: 20px;
font-size:13px;
color:#333
}
li {
list-style: none;
}
a {
color: #1A5EBA;
outline: medium none;
text-decoration: none;
}
.pun .main, .pun .main-category {
margin: 0}
#header:after, #gNav div ul:after, #pageBody:after, #globalFooter p.fPageTop:after, div#footerInner div.fSection ul:after, div#footerInner:after, #globalFooter div.fList:after, #globalFooter ul.linkStyle:after, #globalFooter ul.fLink:after, ul.topicPath:after, ul.browserList:after, div.referLink ul:after, div.sectionLink:after, div.box ul:after {
clear: both;
content: ".";
display: block;
height: 0;
line-height: 0;
visibility: hidden;
}
#pun-intro, #pun-head{display:none}
#pun-info {
display: none;
}
/* Header */
#header {
background: transparent url("http://i35.servimg.com/u/f35/17/57/29/64/bg_bod10.gif") repeat scroll left top;
height: 120px;
margin-bottom: 1px;
}
#header div.description {
background: #DDD none repeat scroll 0% 0%;
border-bottom: 1px solid #CCC;
}
#header div.description h1 {
color: #333;
font-size: 90%;
margin: 0px auto;
text-align: right;
width: 960px;
padding: 2px 0px;
font-weight: 400;
}
#headerInner {
margin: 0px auto;
position: relative;
width: 980px;
}
#header #logo {
padding: 10px 0px 0px;
width: 150px;
}
#header #logo a.domain {
color: #666;
display: block;
font-size: 10px;
margin-top: -3px;
}
p.adsBanner {
position: absolute;
left: 131px;
top: 15px;
}
#header div.hSection {
position: absolute;
right: 0px;
bottom: 0px;
}
#header ul.hNav {
background: transparent url("http://i35.servimg.com/u/f35/17/57/29/64/bg_lin10.gif") no-repeat scroll right center;
padding-right: 5px;
text-align: right;
}
#header ul.hNav li {
background: transparent url("http://i35.servimg.com/u/f35/17/57/29/64/bg_lin10.gif") no-repeat scroll left center;
display: inline;
margin-right: 6px;
padding-left: 11px;
}
#header ul.hNav li#hNavHome a {
text-decoration: none;
}
#header ul.hNav li a {
color: #333;
}
div.searchForm p.searchTxt {
background-color: #F1F1F1;
border: 1px solid #666;
border-radius: 3px;
height: 22px;
margin: 3px 20px 0px 0px;
padding: 2px 20px 0px 7px;
width: 180px;
}
div.searchForm p.searchTxt input {
background: transparent none repeat scroll 0% 0% !important;
}
div.searchForm input {
border: medium none !important;
}
div.searchForm p {
position: absolute;
right: 0px;
top: 10px;
}
/* Thanh menu */
#gNav {
background: transparent url("http://i35.servimg.com/u/f35/17/57/29/64/bg_gna10.gif") repeat-x scroll left top;
border-bottom: 4px solid #790000;
clear: both;
height: 40px;
padding-bottom: 1px;
}
#gNav div {
margin: 0px auto;
padding-top: 3px;
position: relative;
width: 980px;
}
#gNav div ul {
background: transparent url("http://i35.servimg.com/u/f35/17/57/29/64/bg_gna11.gif") no-repeat scroll left top;
padding-left: 2px;
}
#gNav div ul li {
background: transparent url("http://i35.servimg.com/u/f35/17/57/29/64/bg_gna11.gif") no-repeat scroll right top;
float: left;
padding-right: 2px;
width: auto;
}
#gNav div ul li#gNav01 a, #gNav div ul li#gNav01 a:hover {
background: transparent url("http://i35.servimg.com/u/f35/17/57/29/64/bg_gna12.gif") repeat-x scroll left top;
text-decoration: none;
}
#gNav div ul li a {
color: #FFF;
display: block;
padding: 11px 20px 11px;
text-decoration: none;
}
#gNav p.errorReport {
position: absolute;
right: 0px;
top: 9px;
}
#gNav p.errorReport a {
background: #EEE none repeat scroll 0% 0%;
border: 1px solid #DDD;
border-radius: 4px;
color: #333;
display: block;
padding:5px;
}
#gNav div ul li a:hover {
background: url(http://i35.servimg.com/u/f35/17/57/29/64/bg_gna12.gif) repeat-x left top;
text-decoration: none;
}
/* Footer */
#globalFooter {
background: transparent url("http://i35.servimg.com/u/f35/17/57/29/64/bg_foo10.gif") repeat-x scroll 0px 0px;
clear: both;
margin-top: 30px;
}
#globalFooter p.fPageTop {
margin: 0px auto;
width: 980px;
}
#globalFooter p.fPageTop span {
background: transparent url("http://i35.servimg.com/u/f35/17/57/29/64/btn_pa10.gif") no-repeat scroll left top;
display: block;
margin-left: auto;
width: 102px;
}
#globalFooter p.fPageTop a {
background: transparent url("http://i35.servimg.com/u/f35/17/57/29/64/btn_pa10.gif") no-repeat scroll left top;
color: #FFF;
margin-left: auto;
display: block;
padding: 5px 0px 5px 15px;
text-decoration: none;
width: 87px;
}
#globalFooter #directoryNav {
margin: 0px auto;
width: 980px;
}
div#directoryNav {
position: relative;
}
#globalFooter ul.fLink {
padding: 13px 0px 15px;
}
#globalFooter ul.fLink li.home {
background: transparent none repeat scroll 0% 0%;
margin: 0px;
}
#globalFooter ul.fLink li {
background: transparent url("http://i35.servimg.com/u/f35/17/57/29/64/ico_ar10.gif") no-repeat scroll 0px center;
float: left;
margin-top: 2px;
padding: 0px 36px 0px 12px;
width: auto;
}
#globalFooter ul.fLink li.home a {
background: transparent url("http://i35.servimg.com/u/f35/17/57/29/64/ico_ho10.gif") no-repeat scroll 0px 3px;
}
#globalFooter ul.fLink li.home a {
background: transparent url("http://i35.servimg.com/u/f35/17/57/29/64/ico_ho11.gif") no-repeat scroll 0px 3px;
color: #FFF;
height: 15px;
padding: 4px 0px 0px 20px;
}
#globalFooter ul.fLink li a {
color: #FFF;
}
#globalFooter ul.linkStyle {
background: transparent url("http://i35.servimg.com/u/f35/17/57/29/64/bg_lin10.png") repeat-y scroll 6px 0px;
clear: both;
font-size: 90%;
margin: 6px 0 0 0;
padding: 6px 0 20px 0;
width: 980px;
}
#globalFooter ul.linkStyle li {
float: left;
padding: 0px 0px 0px 14px;
width: 144px;
}
#globalFooter ul.linkStyle li p {
margin-bottom: 5px;
}
#globalFooter ul.linkStyle li p a {
background: transparent url("http://i35.servimg.com/u/f35/17/57/29/64/ico_ar11.gif") no-repeat scroll left center;
color: #333;
font-weight: bold;
padding: 0px 0px 0px 17px;
}
#globalFooter ul.linkStyle ul {
padding: 5px 0px 20px 8px;
}
#globalFooter ul.linkStyle ul li a {
color: #333;
}
#globalFooter ul.linkStyle ul li {
background: url(http://i35.servimg.com/u/f35/17/57/29/64/ico_ar12.gif) no-repeat 0 center;
float: none;
margin: 3px 0 1px 0;
padding: 0 0 0 8px;
width: auto;
}
div#directoryNav ul.validate {
position: absolute;
right: 0px;
bottom: 20px;
}
div#directoryNav ul.validate li {
float: left;
padding-left: 10px;
width: auto;
}
div#footer {
clear: both;
background: #1B1B1B none repeat scroll 0% 0%;
}
div#footerInner {
margin: 0px auto;
padding-bottom: 10px;
width: 980px;
}
div#footerInner p#copyright {
clear: both;
color: #DDD;
float: left;
font-size: 10px;
padding-top: 13px;
width: 300px;
}
div#footerInner div.fSection {
float: right;
padding: 13px 0px 0px 1px;
width: 600px;
}
div#footerInner div.fSection ul {
background: transparent url("http://i35.servimg.com/u/f35/17/57/29/64/bg_lin11.gif") no-repeat scroll right 5px;
text-align: right;
}
div#footerInner div.fSection ul li {
background: transparent url("http://i35.servimg.com/u/f35/17/57/29/64/bg_lin11.gif") no-repeat scroll left center;
display: inline;
font-size: 90%;
padding: 0px 8px 0px 11px;
width: auto;
}
div#footerInner div.fSection ul li a {
color: #DDD;
}
Tags: #skin