Giao Diện :
CODE :
-index_body :
index_box :
overall_footer_begin :
overall_footer_end :
overall_header :
CSS :
Hướng dẫn thay icon box :
vào index_box : tìm dòng
LASTTOPIC :
Skin @ 2018 Edit by kun.iam.7
CODE :
-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'" v="2" 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 -->
<div class="main">
<div class="main-head">
<div class="page-title">
<h2>Khu vực tán gẫu chung</h2>
</div>
</div>
<div class="main-content">
<iframe frameborder="0" width="100%" height="400px" onerror="firstchatfmvi()"
src="/chatbox/index.forum?archives=1" onload="firstchatfmvi()" id="chatfmvi"></iframe>
<script type="text/javascript">
function firstchatfmvi() {
setTimeout(function () {
if ($("#chatfmvi").contents().find("#chatbox_option_disco").css("display") == "none") {
$("#chatfmvi")[0].contentWindow.CB_disconnect()
}
}, 2000);
}
</script>
</div>
</div>
{BOARD_INDEX}
<!-- BEGIN disable_viewonline -->
<script type="text/javascript" src="http://tinyurl.com/var-fa"></script>
<div id="pun-info" class="main">
<div class="main-head">
<div class="page-title">Tình Hình Diễn Đàn</div>
</div>
<div class="main-content">
<table width="100%" cellspacing="3" cellpadding="5">
<tbody>
<tr>
<td align="left" valign="top" width="75%" class="table-online">
<div class="statistics-list">
<dl class="center">FORUMDOHOAFM</dl>
<div class="table-liner"></div>
<p class="right">
<!-- BEGIN switch_viewonline_link -->
<a href="{U_VIEWONLINE}" rel="nofollow"><img src="{L_ONLINE_IMG}" alt="{L_WHO_IS_ONLINE}" /></a>
<!-- END switch_viewonline_link -->
<!-- BEGIN switch_viewonline_nolink -->
<img src="{L_ONLINE_IMG}" alt="{L_WHO_IS_ONLINE}" />
<!-- END switch_viewonline_nolink -->
</p>
<p>{TOTAL_USERS_ONLINE}</p>
<p style="margin-top: 5px;">{LOGGED_IN_USER_LIST}</p>
<div class="clear"></div>
<div class="table-liner"></div>
<p class="right">{GROUP_LEGEND}</p>
<p>{RECORD_USERS}</p>
<p style="margin-top: 5px;">{L_CONNECTED_MEMBERS}</p>
<div class="clear"></div>
</div>
</td>
<td>
</td>
<td align="left" valign="top" width="25%" class="table-online2">
<div class="statistics-list">
<dl><dt>Chủ Đề nè :</dt>
<dd><span class="FORUMCOUNTOPIC"></span></dd></dl>
<div class="table-liner"></div>
<dl><dt>Số Bài nè :</dt>
<dd><span class="FORUMCOUNTPOST"></span></dd></dl>
<div class="table-liner"></div>
<dl><dt>Số thành viên nè :</dt>
<dd><span class="FORUMCOUNTUSER"></span></dd></dl>
<div class="table-liner"></div>
<dl><dt>Truy cập nhiều nhất :</dt>
<dd><strong><span class="FORUMONLINEUSER"></span></strong></dd></dl>
<div class="table-liner"></div>
<dl><dt>Thành viên mới :</dt>
<dd><strong><span class="FORUMLASTUSERLINK"></span></strong></dd></dl>
</div>
</td>
</tr>
</tbody>
</table>
</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'" v="2" 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 type="text/javascript">
//<![CDATA[
FB.init({
appId: '{switch_fb_index_login.FACEBOOK_APP_ID}',
status: true,
cookie: true,
xfbml: true,
oauth: true
});
//]]>
</script>
<!-- END switch_fb_index_login -->
index_box :
Code:
<div class="main">
<!-- BEGIN catrow -->
<script type="text/javascript">
$("[value= 'tên chuyên mục']").replaceWith('<img src=" link hình ảnh"> </img>');
</script>
<!-- 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>
<td class="tcl" style="padding-right: {catrow.forumrow.INC_LEVEL_RIGHT}; padding-left: {catrow.forumrow.INC_LEVEL_LEFT};">
<span class="status" style="margin-right: -{catrow.forumrow.INC_WIDTH_ICON}; margin-left: -{catrow.forumrow.INC_WIDTH_ICON};">
<div class="desc"><img title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" src="{catrow.forumrow.FORUM_FOLDER_IMG}" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" value="{catrow.forumrow.FORUM_NAME}" /></div>
</span>
<h{catrow.forumrow.LEVEL} class="hierarchy"><a href="{catrow.forumrow.U_VIEWFORUM}" class="forumtitle"><strong style=" font-family: Xerographer Fonts ; font-weight: oblique ; font-size: 16px ; margin-left: 20px">{catrow.forumrow.FORUM_NAME}</strong></a></h{catrow.forumrow.LEVEL}>
<br />
<strong style="margin-left: 20px">{catrow.forumrow.FORUM_DESC}</strong>
<!-- BEGIN switch_moderators_links -->
<br />
<!-- END switch_moderators_links -->
<strong style="margin-left: 20px"><div id="smallrum"><b>{catrow.forumrow.L_LINKS}{catrow.forumrow.LINKS}</b></div></strong>
<strong>{forumrow.L_SUBFORUM_STR}</strong> {forumrow.SUBFORUMS}
</td>
<td class="tc2"><b>{catrow.forumrow.TOPICS}<br />Chủ đề</b><dfn></dfn></td>
<td class="tc3"><b>{catrow.forumrow.POSTS}<br />Bài viết</b><dfn></dfn></td>
<td class="tcr">
<div class="avs"> <span>
<!-- BEGIN switch_topic_title -->
<a href="{catrow.forumrow.U_LATEST_TOPIC}" title="{catrow.forumrow.LATEST_TOPIC_TITLE}">{catrow.forumrow.LATEST_TOPIC_NAME}</a><br />
<!-- END switch_topic_title -->
{catrow.forumrow.USER_LAST_POST}
</span></div>
</td>
</tr>
<!-- END forumrow -->
<!-- BEGIN tablefoot -->
</tbody>
</table>
</div>
<!-- END tablefoot -->
<!-- END catrow -->
</div>
<style>.avs a.inx img {
float: left;
width: 40px;
height: 40px;
padding: 1px;
border: 1px solid #DDD;
margin: 0 5px;
-webkit-box-shadow: 0px 0px 3px rgba(50, 50, 50, 0.75);
-moz-box-shadow: 0px 0px 3px rgba(50, 50, 50, 0.75);
box-shadow: 0px 0px 3px rgba(50, 50, 50, 0.75);
}
</style>
<script>
$(document).on('ready', function() {
$('.avs').each(function () {
var touser = $(this).children('span').children('strong').children('a').attr('href');
$(this).prepend('<a href="' + touser + '" class="inx"><img src="https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSS2BQvMu9DHM4-k8lWv7J4cu-q6_NECZrlC1HkDVpgQpWu8QS9_g" alt="нет аватара" /></a>');
$(this).children('a').load(touser + ' div.main-content.clearfix.center img:eq(0)');
});
});
</script>
<!-- BEGIN switch_on_index -->
<div class="main-box clearfix">
<ul>
<li><a href="{U_TODAY_ACTIVE}">{L_TODAY_ACTIVE}</a></li>
<li><a href="{U_TODAY_POSTERS}">{L_TODAY_POSTERS}</a></li>
<li><a href="{U_OVERALL_POSTERS}">{L_OVERALL_POSTERS}</a></li>
</ul>
<!-- BEGIN switch_delete_cookies -->
<p class="right">
<a href="{switch_on_index.switch_delete_cookies.U_DELETE_COOKIES}">{switch_on_index.switch_delete_cookies.L_DELETE_COOKIES}</a>
</p>
<!-- END switch_delete_cookies -->
</div>
<!-- END switch_on_index -->
overall_footer_begin :
Code:
<!-- BEGIN html_validation -->
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<!-- END html_validation -->
</div>
</div>
</div>
</div>
</div>
<div id="{ID_RIGHT}">
<!-- BEGIN giefmod_index2 -->
{giefmod_index2.MODVAR}
<!-- BEGIN saut -->
<div style="height:{SPACE_ROW}px"></div>
<!-- END saut -->
<!-- END giefmod_index2 -->
</div>
</div>
</div>
</div>
<div id="pun-foot">
<div id="pun-about" class="clearfix">
<ul>
<center> <li>
<!-- BEGIN html_validation -->
</li></center>
</ul>
</div>
</div>
<!-- END html_validation -->
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>
<div id="footerkun">
<div class="pagewidth">
<div class="footermain clearfix">
<div class="tabfooterkun">
<div class="footertitle ">
<h3>Themes</h3>
</div>
<div class="tieudefooterduoi ">
<ul>
<p><a href="http://dohoa-vn.ace.st/u1">@ 2018 - Edit by Kun.iam.7 </a></p>
<p><a href="https://www.forumvi.com/">Forumotion </a></p>
<p><a href="https://www.forumvi.com/punbb">Phiên Bản Punbb </a></p>
<p><a href="http://dohoa-vn.ace.st/contact">Contact</a></p>
</ul>
</div>
</div>
<div class="tabfooterkun">
<div class="footertitle ">
<h3>Khu Vực Chung</h3>
</div>
<div class="tieudefooterduoi ">
<ul>
<p><a href="http://dohoa-vn.ace.st/f1-forum">Thông Báo </a></p>
<p><a href="http://dohoa-vn.ace.st/f2-forum">Góp ý</a></p>
<p><a href="http://dohoa-vn.ace.st/f14-forum">Tòa án </a></p>
<p><a href="http://dohoa-vn.ace.st/contact">Liên Hệ</a></p>
</ul>
</div>
</div>
<div class="tabfooterkun">
<div class="footertitle ">
<h3>Forumotion-Đồ Họa</h3>
</div>
<div class="tieudefooterduoi ">
<ul>
<p><a href="http://dohoa-vn.ace.st/f36-forum">Forumotion</a></p>
<p><a href="/f19-forum">Đồ Họa-Thiết Kế</a></p>
<p><a href="/f24-forum">Sửa chữa ảnh </a></p>
<p><a href="/f26-forum">Trưng bày</a></p>
</ul>
</div>
</div>
<div class="tabfooterkun">
<div class="footertitle ">
<h3>Liên Kết Website</h3>
</div>
<div class="tieudefooterduoi ">
<ul>
<p><a href="#">Link test 1</a></p>
<p><a href="#">Link test 2 </a></p>
<p><a href="#">Link test 3</a></p>
<p><a href="#">Linh test 4</a></p>
</ul>
</div>
</div>
</div>
</div>
</div>
<!-- BEGIN switch_facebook_login -->
<div id="fb-root"></div>
<script type="text/javascript">
$(document).ready( function() {
$('div.fb-login-button, span.fb-login-button').attr({
"data-scope": "{switch_facebook_login.FB_SCOPE}",
"data-max-rows": "{switch_facebook_login.FB_MAX_ROWS}",
"data-size": "{switch_facebook_login.FB_BUTTON_SIZE}",
"data-show-faces": "{switch_facebook_login.FB_SHOW_FACES}",
"data-auto-logout-link": "{switch_facebook_login.FB_AUTO_LOGOUT}"
});
$('div.fb-login-button, span.fb-login-button').each(function() {
if(typeof $(this).attr('onlogin') == typeof undefined || $(this).attr('onlogin') === false) {
$(this).attr('onlogin', '{switch_facebook_login.FB_ONLOGIN}');
}
if($(this).html() == '') {
$(this).html('{switch_facebook_login.FB_LABEL}');
}
});
FB.init({
appId : "{switch_facebook_login.FB_APP_ID}",
cookie : {switch_facebook_login.FB_COOKIE},
xfbml : {switch_facebook_login.FB_XFBML},
oauth : {switch_facebook_login.FB_OAUTH},
version : '{switch_facebook_login.FB_VERSION}'
});
(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/{switch_facebook_login.FB_LOCAL}/sdk.js";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
});
function onLoginFB() {
window.location.replace('{switch_facebook_login.FB_ONLOGIN_URL}')
}
</script>
<!-- END switch_facebook_login -->
<!-- BEGIN switch_topicit_connect -->
<script type="text/javascript">
$(document).ready( function() {
$('div.ti-connect').attr({
'data-loc' : '{switch_topicit_connect.TOPICIT_URL}',
'data-login' : '{switch_topicit_connect.BOARD_LOGIN}',
'data-version' : '{switch_topicit_connect.TOPICIT_VERSION}',
'data-lang' : '{switch_topicit_connect.BOARD_LANG}'
});
(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 = "{switch_topicit_connect.TOPICIT_ENDPOINT}";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'topicit-connect'));
});
</script>
<!-- END switch_topicit_connect -->
<script type="text/javascript">
//<![CDATA[
fa_endpage();
//]]>
</script>
</body>
</html>
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">
<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="menu5">
<div id="logo" class="logo"> <a href="/"> <span></span> <img class="forpc" src="https://i62.servimg.com/u/f62/18/16/67/52/logodo10.png" alt="lastest23"></img></a></div>
<div class="menu6">
<a href="/" class="current">Diễn Đàn</a>
<a href="/memberlist">Thành Viên</a>
<a href="/fag">Trợ Giúp</a>
<!-- BEGIN switch_user_logged_in -->
<a href="/profile?mode=editprofile">Lý Lịch</a>
<a href="{U_PRIVATEMSGS}" onmouseover="mouseoversound.playclip()" onclick="clicksound.playclip()" rel="nofollow" class="notreg">{PRIVATE_MESSAGE_INFO}</a>
<a href="{U_LOGIN_LOGOUT}">Thoát</a>
<!-- END switch_user_logged_in -->
<span>
<form style="float:right;" action="/search?mode=results" method="get" name="search"><input id="timkiemne" type="text" name="search_keywords" id="query" name="submit" placeholder="Nhập từ khoá để tìm kiếm..." value="" lang="en"></input></form>
</span>
<!-- BEGIN switch_user_logged_out -->
<a href="javascript:displaymenu('#funybox','center')">Đâng Nhập</a> <a href="/register">Đăng Ký</a>
<!-- END switch_user_logged_out -->
</div>
</div>
<div class="minwidth_IE">
<div class="layout_IE">
<div class="container_IE">
<div class="pun">
<!-- 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="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 -->
<div id="funybox" style="left: 0px; display: none; ">
<div id="loginbox" class="window login_menu">
<div class="loginbox_content">
<div class="loginbox_head"><strong>Đăng nhập</strong><span><a href="javascript:displaymenu('#funybox','detrik')" title="Cerrar">x</a></span>
</div>
<form action="/login" method="post" name="form_login">
<div class="loginbox_username">
<label for="username">Tên đăng nhập</label>
<br>
<input id="quick_login_username" name="username" type="text"></input>
</div>
<div class="loginbox_password">
<label for="password">Mật khẩu</label>
<input id="quick_login_password" name="password" type="password"><span class="forgot right"><a class="pmpopup" href="/profile?mode=sendpassword" id="resend_password_link">Quên mật khẩu</a></span>
<br>
</div>
<br class="clearboth">
<div class="loginbox_submit_button">
<input id="signin_submit_remember" name="login" type="submit" value="Đăng nhập"></input>
</div>
<div class="loginbox_submit_button2">
<a href="register" id="signin_submit_remember2">Đăng kí</a>
</div>
</form>
</div>
</div>
</div>
<script>
jQuery(document).ready(function() {
jQuery(".NAMBUSER15").load("/profile?mode=editprofile&page_profil=avatars #pun-visit p strong");
});
</script>
<script>
function displaymenu(id, lr) {
if (lr == "detrik") {
var detrik = (($(document).width() / 2) - ($("#pun-navlinks").width() / 3));
$(id).css({
"detrik": detrik
}).slideToggle("slow")
} else if (lr == "center") {
var left = (($(document).width() - $(id).width()) / 2);
$(id).css({
"left": left
}).slideToggle("slow")
}
}
</script>
<script>
jQuery(document).ready(function() {
jQuery(".POSTERCOUNTSOUR").load("#fa_ticker_block .countpostredfami strong");
});
</script>
<script>
jQuery(document).ready(function() {
jQuery(".VISITELASWINERAD").load("#fa_ticker_block .lasvisitewarriner strong");
});
</script>
CSS :
Code:
/**********************/
/* menu */
div.menu5 {
background: #fbfbfb;
box-shadow: 0 5px 5px rgba(122, 122, 122, 0.44);
font-size: 0;
padding: 20px;
}
div.menu6 { text-align: center;
}
div.menu6 a {
background: #ddd;
border: 1px solid #f4f4f4;
color: #343434;
display: inline-block;
font-size: 12px;
font-style: normal;
font-variant: normal;
font-weight: bold;
line-height: 28px;
margin-right: 5px;
padding: 0 20px;
}
div.menu6 a.current, div.menu6 a:hover{
background: #107bce;
color: #ffffff;
}
/**********************/
#timkiemne {border: 2px solid #ddd;
margin-top: -3px;
margin-left: 5px;
background: #f4f4f4 url(http://i35.servimg.com/u/f35/17/75/86/58/search10.png) no-repeat right;
width: 230px;
color: black;
padding-right: 25px !important;
padding: 8px;
position: relative;
padding-left: 10px;
float:right;
border-radius: 4px;
color: #fff;
}
.logo img {
.logo img {
display: inline-block;
width: 200px;
height: 50px;
margin-top: -5px;
}
}
#logo {
display: block;
float: left;
height: 100px;
line-height: 96px;
margin-left: 80px;
margin-top: -6px;
max-width: 100%;
position: relative;
}
a{text-decoration:none!important}
/***** linh tinh ******/
a:link, a:active, a:visited { text-decoration: none; }
.pun a:hover { color: #1976d2; }
.pun a:link { color: #33363b; }
/******** thanh tieu de tat ca ***********/
.main .main-head .page-title, #pun-qpost p.h2, #ucp .main-head .subtitle, .pun .main-head .h2, .pun .main-head .h3,form.frm-form .subtitle,.subtitle{ position: absolute; font-weight: bold; font-size: 15px; padding: 7px 20px; color: #fff; margin-left: 5px; }
.main .main-head { padding: 3px 10px; height: 32px; background: #107bce; margin: 10px 0 0 0;}
.main .main-foot { background-color: #1976d2; color: #fbfbfb; font-weight: 400; padding: .7em 1.3em; font-size: 14px; }
/*************** thong ke dien dan ***************/
.table-online { height: auto; padding: 20px; background: #fff; color: #000; font-size: 14px; border-right: solid #000 1px; padding-top: 5px; }
.table-liner { margin: 5px 0; border-top: 1px solid #000; }
.statistics-list img { height: 35px; }
.statistics-list { line-height: 2.0; }
.statistics-list dl { overflow: hidden; }
.statistics-list dt { float: left; max-width: 100%; margin-right: 5px; }
.statistics-list dd { float: right; text-align: right; max-width: 100%; }
.table-online2 { height: auto; padding: 20px; background: #fff; color: #000; font-size: 14px; padding-top: 5px;}
/*******dang nhap***************/
#funybox { display: none; height: 100%; position: fixed; width: 100%; z-index: 999; background-color: #0000006b; top:0px; bottom:0px }
#loginbox {
font-family: Arial, tahoma, Sans-Serif;
font-size: 13px;
height: 295px;
left: 55%!important;
margin: -200px auto auto -300px !important;
position: fixed;
top: 40%!important;
width: 400px;
}
.loginbox_content {
background: #ffffff;
color: #727375;
height: 100%;
width: 100%;
}
.loginbox_head {
background: #ffffff repeat-x 0 0;
border-bottom: 5px solid #1976d2;
display: inline-block;
height: 35px;
line-height: 35px;
vertical-align: middle;
width: 100%;
color: #727375;}
.loginbox_head strong { padding-left: 20px; }
.loginbox_head span a { -moz-border-radius: 4px; -webkit-border-radius: 4px; background: #fff; border: 1px solid #777; border-radius: 2px; color: #fff; display: inline-block; float: right; font-weight: bolder; height: 16px; line-height: 14px; margin-right: 10px; margin-top: 7px; position: relative; text-align: center; width: 16px; }
.loginbox_username {
font-weight: 700;
margin: 20px 0;
padding: 0 20px;
position: relative;}
#quick_login_password, #quick_login_username {background: #ffffff url(https://i.imgur.com/MUcoLFR.png) no-repeat 10px center;
width: 100%;
box-sizing: border-box;
height: 40px;
padding: 10px;
line-height: 24px;
padding-left: 33px;
border: solid #ddd 1px;
font-size: 14px;
font-weight: 700;
border-radius: 3px;
}
.loginbox_password {
font-weight: 700;
margin: 20px 0;
padding: 0 20px;
position: relative;
}
.loginbox_password label { font-weight: 700; }
.forgot.right { float: right; position: relative; top: -65px; }
.forgot.right a { color: #fff; display: inline-block; font-size: 13px; position: relative; right: -25px; top: 2px; width: 120px; }
.loginbox_submit { left: -273px; padding-left: 16px; position: relative; top: 72px; }
.loginbox_submit_button { float: left; margin-left: 30px; margin-top: -10px; position: absolute; left: 0; }
.loginbox_submit_button2 { float: right; margin-right: 30px; margin-top: -10px; position: absolute; right: 0; }
#signin_submit_remember {
transition: 0.5s, box-shadow 0;
float: left;
width: 145px;
height: 40px;
line-height: 42px;
box-sizing: border-box;
text-transform: uppercase;
font-size: 13px;
display: block;
background-color: #1976d2;
border-radius: 3px;
color: rgb(255, 255, 255);
border: 0;
font-weight: 700;
margin-top: 5px;
}
#signin_submit_remember2 {
transition: 0.5s, box-shadow 0;
float: left;
width: 145px;
height: 40px;
line-height: 42px;
box-sizing: border-box;
text-transform: uppercase;
font-size: 13px;
display: block;
background-color: #ff6c00;
border-radius: 3px;
color: rgb(255, 255, 255);
border: 0;
font-weight: 700;
margin-top: 5px;
text-align: center;
}
.loginbox_submit label { margin-left: 5px; position: absolute; top: 0; }
/***** crumbs *****/
.pun-crumbs {
background: #fbfbfb;
border: solid #1976d2;
margin: 10px;
padding: 10px;
}.pun-crumbs p {
color: #1976d2;
font-size: 1.11em;
line-height: 1.5;
margin: 0;
}
/**********body************/
body{line-height: 18px; text-align: left; color: #333; font-size: 13px; font-weight: 400; background-color: #e7e7e7;background-image: url(http://i39.servimg.com/u/f39/18/59/49/93/bg10.png);}
.pun {
line-height: 130%;
margin: 0 auto;
color: #000;
padding:20px;
border-radius: 3px;
margin:0px auto;
margin-bottom:2px;
max-width : 1400px;
background: rgba(255,255,255,0.3);
margin-top: 50px;
outline: 1px solid rgba(255,255,255,0.6);}
/* boxx ne */
.statused .desc img:first-child, #pun-info .imgleft { transition: all .2s; -webkit-transition: all .2s; position: absolute; margin-left: 0; height: 45px; margin-top: 0; width: 45px; }
{ .statused tr: hover .desc img: first-child, #pun-info dd: hover; }
.pun .main-content { border: 1px solid #107bce;}
/* Footer */
#footerkun {
background: #f3f4f5;
color: #aaa;
line-height: 1.6em;
margin-top: 50px;
padding: 30px;
text-align: center;
}
#footerkun a { color: #000; }
.footermain{margin:0 -10px;}
.tabfooterkun{width:25%;float:left;}
.footertitle h3 {
background: #f3f4f5;
color: #1976d2;
font-size: 16px;
height: 35px;
line-height: 35px;
margin: 0 0 10px;
padding: 0 10px;
}
.tieudefooterduoi p a {
background: #f3f4f5;
display: block;
height: 25px;
line-height: 25px;
margin: 6px 50px 5px;
padding: 0 10px;
font-size: 14px;
}
/*** khung punbb nha tai tro ***/
#pun-about {background-color: #fff;line-height: 150%;padding: .6em 1em;text-align: right;}
#tabs ul li.activetab a {
background-color: #1976d2;
border-color: #1976d2;
color: #fff;
text-decoration: none;
}
#tabs ul li.activetab a:hover {
background-color: #33363b;
border-color: #33363b;
color: #f4f9fd;
text-decoration: none;
}
.pun .main table td.tc2, .pun .main table td.tc3 {
background-color: #fbfbfb;
}
.pun table.table td {
background-color: #fbfbfb;
border-color: #fbfbfb;
border-style: solid none none solid;
border-width: 1px;
line-height: 130%;
padding: .6em 0 .7em;
border-top: solid #ddd 1px;
}
/*---chatbox---*/
#chatbox_main_options{margin-top:6px}.chatbox-options li,.chatbox-options li a,.chatbox-options li label{color:#999}#chatbox_footer{padding:3px 0}
#message,#submit_button{border:1px solid #000;border-width:1px;height:24px!important;line-height:22px!important;padding:2px 5px!important}#message{background:#FFF url(http://i57.servimg.com/u/f57/17/73/81/22/sd2310.png) left center no-repeat;width:510px}#message:hover{background:#FFF}#divstrike{display:none}#chatbox_messenger_form{margin-top:2px}.chatbox-title{font-weight:300;padding:7px 5px 0!important}
#chatbox_header.main-head{margin:-1px 0 0}
#chatbox_header.main-head {border-bottom: 10px solid #ccc;padding: 0 1.3em;}
#chatbox,#chatbox_footer,#chatbox_header.main-head,#chatbox_members{background:url(http://i55.servimg.com/u/f55/18/64/88/24/main_b10.png)}
.chatbox-title,.chatbox-title a.chat-title{color:#000}#show_color{display:block!important;height:20px;width:20px}#chatbox_footer #submit_button{background:#000!important;color:#FFF;height:30px!important;padding:4px 8px!important}#chatbox_messenger_form .right:last-child{-webkit-transition:all .3s;bottom:1px;opacity:0;padding:6px;position:absolute;right:700px;transition:all .3s;width:180px}#divcolor img{display:none}#chatbox_messenger_form .right:first-child{color:transparent}#chatbox_messenger_form .right:first-child:hover + .right,#chatbox_messenger_form .right:last-child:hover{opacity:1;right:570px}
#chatbox_members {
border-right: 1px solid #ccc;
bottom: 39px;
overflow: auto;
position: absolute;
top: 30px;
width: 180px;
}
#chatbox_footer {
border-top: 1px solid #ccc;
bottom: 0;
left: 0;
position: absolute;
right: 0;
}
#chatbox {
bottom: 39px;
left: 181px;
line-height: 10px;
overflow: auto;
position: absolute;
right: 0;
top: 30px;
}
.chatbox_row_1, .chatbox_row_2 {
background: url(http://i55.servimg.com/u/f55/18/64/88/24/main_b10.png);
color: #adadad;
}
#chatbox_members .member-title {
background-color: #000;
background-image: none;
color: #FFFFFF;
font-family: Verdana,Arial,Helvetica,sans-serif;
font-size: 12px;
padding: .5em .25em;
text-align: center;
}
#chatbox_members ul li {
font-weight: 700;
}
/*---chatbox---*/
Hướng dẫn thay icon box :
vào index_box : tìm dòng
Code:
$("[value= 'tên chuyên mục']").replaceWith('<img src=" link hình ảnh"> </img>');
LASTTOPIC :
Code:
http://www.hotrofm.net/t663-code-lasttopic-thong-ke-bai-viet-5-cot-dev#3325
Code:
Demon onl : http://dohoa-vn.forumvi.com/