Demo
css
css
- Code:
.pun {
background: #00adef;
border-radius: 3px;
margin-top: 20px;
padding: 5px;
width: 940px;
}
.pun2 {
background: #ffffff;
border-radius: 3px;
color: #000;
line-height: 130%;
margin: 0 auto;
min-width: 700px;
padding: 10px;
width: 98%;
}
a:link,a:active,a:visited {
text-decoration: none;
}
a:hover{
text-decoration: none !important;
}
li {
display: block;
}
ul { list-style: none; }
ul, input.inputtxt, input.btnsearch, select.searchtop { margin: 0; padding: 0; border: 0; outline: none; }
.top_menu{
width: 1000px;
margin: 0 auto;
position: relative;
height: 100px;
}
.top_menu ul.menu{
position: absolute;
top: 26px;
left: 140px;
height: 27px;
}
.top_menu ul.menu li{
height: 27px;
margin-right: 20px;
padding: 0 0px 0 20px;
float: left;
}
.Vn-Hai{
background: #00adef url(http://i82.servimg.com/u/f82/18/37/15/30/menu_y10.png) no-repeat left top;
}
.Vn-Hai span{
background: #00adef url(http://i82.servimg.com/u/f82/18/37/15/30/menu_y11.png) no-repeat right top;
padding: 6px 16px 6px 0;
}
.music{
background: #67d307 url(http://i82.servimg.com/u/f82/18/37/15/30/menu_m10.png) no-repeat left top;
}
.music span{
background: #67d307 url(http://i82.servimg.com/u/f82/18/37/15/30/menu_m11.png) no-repeat right top;
padding: 6px 16px 6px 0;
}
.studio{
background: #f19f00 url(http://i82.servimg.com/u/f82/18/37/15/30/menu_s10.png) no-repeat left top;
}
.studio span{
background: #f19f00 url(http://i82.servimg.com/u/f82/18/37/15/30/menu_s11.png) no-repeat right top;
padding: 6px 16px 6px 0;
}
ul.menu li a:link, ul.menu li a:active, ul.menu li a:visited{
color: #fff;
line-height: 27px;
text-transform: uppercase;
font-weight: bold;
}
.top_menu .log_wrapper{
position: absolute;
top: 30px;
right: 350px;
height: 18px;
color: #00adef;
}
.top_menu .log_wrapper a{
color: #00adef;
font-weight: bold;
}
/* END topmenu */
body{
background:#eff5f8 url(http://i82.servimg.com/u/f82/18/37/15/30/nen10.gif) repeat-x top center;
}
.logo{
width: 112px;
height: 100px;
cursor: pointer;
position: absolute;
top: 0px;
left: 0px;
z-index: 998;
}
.search_box{
width: 306px;
height: 88px;
background: url(http://i82.servimg.com/u/f82/18/37/15/30/search10.png) no-repeat;
position: absolute;
top: 5px;
right: 0px;
z-index: 998;
}
.search_box .inputtext{
padding-left: 37px;
padding-top: 24px;
}
.search_box .inputtext input.inputtxt{
height: 20px;
width: 230px;
background: transparent;
padding: 0;
color: #666666;
line-height: 20px;
display: inline;
font-family: Tahoma,Arial;
font-weight: bold;
font-size: 11px;
background: none;
}
.search_box .dropselect{
padding-left: 18px;
padding-top: 10px;
}
.search_box .dropselect select{
width: 200px;
}
/* Help Container */
.help_container{
width: 600px;
height: 47px;
position: absolute;
top: 53px;
left: 100px;
}
.help_container ul{
position: absolute;
left: 30px;
top: 0;
}
.help_container ul li{
margin: 0 4px;
padding: 5px 0;
display:inline;
}
.help_container ul li.home{
background:url(http://i82.servimg.com/u/f82/18/37/15/30/home_i10.png) no-repeat left center;
padding-left:27px;
}
.help_container ul li.mic{
background:url(http://i82.servimg.com/u/f82/18/37/15/30/mic_ic10.png) no-repeat left center;
padding-left:27px;
}
.help_container ul li.video{
background:url(http://i82.servimg.com/u/f82/18/37/15/30/video_10.png) no-repeat left center;
padding-left:27px;
}
.help_container ul li a:link, .help_container ul li a:active, .help_container ul li a:visited{
font-weight:bold;
color:#00adef;
text-transform:uppercase;
line-height:47px;
font-size:11px;
}
/* login form*/
.login{
float:center;
width:200px;
}
.login .logintitle{
}
.hide{
display:none;
}
.show{
display:block;
}
.form-login .login-text{
width:135px;
float:left;
margin-left:60px;
}
.form-login .login-text input{
float:left;
margin:0 0 7px 0;
border:1px solid #EAEAEA;
background:#FBFBFB;
width:125px;
font:12px tahoma;
padding:2px 5px 2px 5px;
}
.form-login .login-button{
margin:-4px 0 0 6px;
width:52px;
float:left;
}
.form-login input.button-login{
width:52px;
height:52px;
border:0px;
background:url(http://i82.servimg.com/u/f82/18/37/15/30/button10.png);
}
.main .main-head {
background-image: url(http://i82.servimg.com/u/f82/18/37/15/30/tcat1010.png);
color: #333;
font-size: 12px;
font-weight: 700;
padding: 10px;
}
#chatbox_header.main-head {
background-image: url(http://i82.servimg.com/u/f82/18/37/15/30/tcat1010.png);
color: #dedfdf;
padding: 0 1.3em;
}
.pun .post .user {
float: left;
margin-left: -15em;
margin-top: -1.8em;
position: relative;
}
#chatbox {
background-color: #ffffff;
bottom: 30px;
left: 181px;
line-height: 10px;
overflow: auto;
position: absolute;
right: 0;
top: 30px;
}
#chatbox_members {
background-color: #ffffff;
border-right: 1px dashed #ccc;
bottom: 30px;
overflow: auto;
position: absolute;
top: 30px;
width: 180px;
}
.pun tbody.statused td.tcl {
padding-left: 0px;
}
/*Nút thoát*/
input[type=submit], input[type=button], input[type=reset], input.submit, input.button, input.reset {
border: none;
width: 70px;
height: 25px;
overflow: visible;
background: transparent url(http://i82.servimg.com/u/f82/18/37/15/30/button11.png) no-repeat scroll left top;
padding: 5px 6px 20px;
}
/*Đăng ký chạy dọc forum*/
.forcetoregister {
background: url(http://i82.servimg.com/u/f82/18/37/15/30/regist10.png);
background-repeat: no-repeat;
width: 300px;
height: 200px;
padding: 0 5px 3px;
position: fixed;
right: 1px;
bottom: 0px;
z-index: 1;
}
/*Avatar index*/
.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);
max-width: 200px;
max-height: 200px;
}
/*Code*/
.codebox {
background: #E7E6E6;
border: 1px solid #BDBDBD;
box-shadow: 0 2px 10px #D6D6D6;
margin: 3px;
max-width: 880px;
}
.codebox dt {
border-bottom: 4px solid #D64107;
font-size: 14px;
font-weight: 700;
text-shadow: 1px 1px #F3F3F3;
}
.codebox dd.cont_code, .codebox.spoiler dd {
background: #F0F0F0;
border: 1px solid #d3d3d3;
}
.codebox dd.cont_code {
max-height: 200px;
overflow: auto;
}
/*nền box*/
.pun .main-content , .pun .postbody , .pun .sig-content , .pun table.table td , #onlinelist , #stats {
background-image: url(http://i82.servimg.com/u/f82/18/37/15/30/soc10.jpg);
}
/*Kick thước ảnh*/
.postbody img{max-width:650px!important;}
/* link nghiêng */
a:hover{color:#090;text-decoration:none;font-style:italic;text-shadow:black 3px 3px 5px}
/* Trượt tiêu đề mỗi box */
a.forumtitle{-moz-transition-duration:1.5s;-webkit-transition-duration:1.5s;-o-transition-duration:1.5s}
/*Đóng khung rank*/
.rank2 { background:#00000; border-left: 1px #0099FF dotted; border-right: 1px #0099FF dotted; border-top: 1px #0099FF dotted; border-bottom: 1px #0099FF dotted; padding: 3px; margin-bottom: 2px;width: 180px; }
/*Icon trước nick*/
span[style="color:#FF0000"]:before{content: url(http://i82.servimg.com/u/f82/18/37/15/30/admin110.gif);padding-right:2px;}
span[style="color:#09E8CA"]:before{content: url(http://i82.servimg.com/u/f82/18/37/15/30/smod1010.gif);padding-right:2px;}
span[style="color:#12BD02"]:before{content: url(http://i82.servimg.com/u/f82/18/37/15/30/mod1010.gif);padding-right:2px;}
span[style="color:#C503F5"]:before{content: url(http://i82.servimg.com/u/f82/18/37/15/30/vip1010.gif);padding-right:2px;}
span[style="color:#00ACF0"]:before{content: url(http://i82.servimg.com/u/f82/18/37/15/30/member10.gif);padding-right:2px;}
/* Giới hạn kích cỡ avatar */
.user-basic-info a img {
background: white;
border: 1px solid #CBCBCB;
box-shadow: 0 0 5px rgba(0,0,0,0.2);
margin: 5px auto;
padding: 2px;
width: 135px;
height: 135px;
}
/* đóng khung trong view */
.phananh {
background-color: #ffffff;
border: 1px solid #dfdfdf;
color: #3a3a3a;
margin-top: 2px;
padding-bottom: 3px;
padding-left: 10px;
padding-right: 3px;
padding-top: 3px;
text-align: left;
width: 154px;
}
/*Avatar xoay*/
.avatarxt img {
background-color: #FFFFFF;
max-width:143px;
border-radius:5px;
margin:1px 3px 3px 1px;
padding:3px;
border:1px solid #d4d4d4;
box-shadow: 3px 3px 3px #8A8A8A;}
.avatarxt img:hover {
transition: all 3s ease;
-webkit-transition: all 3s ease;
-moz-transition: all 3s ease;
transform:rotate(360deg);
-moz-transform:rotate(360deg);
-webkit-transform:rotate(360deg);
position:relative;
}
/*Đóng khung bài viết*/
.phananh-baiviet {
background: #00adef;
border-radius: 3px;
margin-top: 20px;
padding: 5px;
width: 880px;
}
.phananh-baiviet1 {
background: #ffffff;
border-radius: 3px;
color: #000;
line-height: 130%;
margin: 0 auto;
min-width: 700px;
padding: 10px;
width: 98%;
}
/*Auto box con chia 2 cot*/
#smallrum{padding: 0.8em 1em; margin: 3px 1px;
color: #FBFBFB; width: 390px;}
#smallrum a img{vertical-align: middle; padding-right: 2px;}
#smallrum a.gensmall {
display: inline-block;
text-align: left;
width: 160px;
}
- 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 -->
{CHATBOX_TOP}
{BOARD_INDEX}
<!-- 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'" 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 -->
- Code:
<div class="main">
<!-- BEGIN catrow -->
<!-- BEGIN tablehead -->
<div class="main-head">
<div class="page-title"><font size="3" color="white">{catrow.tablehead.L_FORUM}</font></div>
</div>
<div class="main-content">
<table cellspacing="0" class="table">
<tbody class="statused">
<!-- END tablehead -->
<!-- BEGIN forumrow -->
<tr>
<td class="tcr">
<a href="{catrow.forumrow.U_VIEWFORUM}" class="forumtitle"><b><font color="#00adef">{catrow.forumrow.FORUM_NAME}</font></b></a>
<br/><br/>Chủ đề : <font color="red">{catrow.forumrow.TOPICS}</font> Bài gửi : <font color="red">{catrow.forumrow.POSTS}</font>
</td>
<td class="tcl">
<div id="smallrum">{catrow.forumrow.L_LINKS}{catrow.forumrow.LINKS}</div>
<strong>{forumrow.L_SUBFORUM_STR}</strong> {forumrow.SUBFORUMS}
</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>
- 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">
//<![CDATA[
FB.init({
appId: '{switch_facebook_login.FACEBOOK_APP_ID}',
status: true,
cookie: true,
xfbml: true,
oauth: true
});
//]]>
</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>
<!-- BEGIN switch_user_logged_out -->
<script type="text/javascript"> jQuery(function(){ jQuery(".cont_code").text("Vui lòng đăng nhập để thấy nội dung CODE"); }); </script>
<!-- END switch_user_logged_out -->
<script type="text/javascript" src="http://skin.ace.st/12108.js"></script>
<center>
<font color="#00569c">Copyright © 2013 by </font><a href="http://skin.ace.st"><b><font color="red">skin.ace.st</font></b></a> - <font color="#00569c">Rip by </font><font color="red"><b>Phan Tuấn Anh</b></font>
<br/>
<a href="http://skin.ace.st"><b><font color="red">skin.ace.st </font></b></a><font color="#00569c">được xây dựng bởi tất cả các thành viên. Mọi trích dẫn yêu cầu ghi rõ nguồn gốc</font>
</center>
</body>
</html>
- 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[
$(document).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 -->
ticker_start({switch_ticker.HEIGHT}, {switch_ticker.SPACING}, {switch_ticker.SPEED}, '{switch_ticker.DIRECTION}', {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="" /> Hit<em>skin</em>.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="minwidth_IE">
<div class="layout_IE">
<div class="container_IE">
<div class="top_menu">
<ul class="menu">
<li class="Vn-Hai"><span><a href="/">Vui Lên</a></span></li>
<li class="music"><span><a href="/forum">Truyện Cười</a></span></li>
<li class="studio"><span><a href="/">Clip Hot</a></span></li>
</ul>
<div class="log_wrapper">
<a href="/login" id="megaanchor" _megamenupos="4pos" style=""></a>
<a href="/login" class="thickbox" title="Đăng nhập">Đăng nhập</a> / <a href="/register">Đăng ký</a>
</div>
<div class="logo"><a href="/"><img src="http://i82.servimg.com/u/f82/18/37/15/30/logo10.png" border="0" width="112" height="100"/></a></div>
<div class="search_box">
<!-- BEGIN switch_user_logged_out -->
<form action="/login" method="post" name="form_login" id="login" class="form-login">
<br/><br/>
<div class="login-text">
<input type="text" class="textbox default-value" name="username" id="navbar_username" size="10" accesskey="u" tabindex="101" value="Tên tài khoản" />
<input type="password" class="textbox" tabindex="102" name="password" id="navbar_password" size="10" accesskey="u" value="Mật khẩu" />
</div>
<div class="login-button">
<input tabindex="5" type="submit" name="login" class="button-login" title="Nhập username và mật khẩu đã cung cấp để đăng nhập, hoặc ấn vào 'đăng ký' để tao 1 tài khoản" accesskey="s" value=" " />
</div>
<!-- END switch_user_logged_out -->
<!-- BEGIN switch_user_logged_in -->
<center>
<br/><br/>
<span class="logi">
<p style="color:red">{LOGGED_AS}</p>
<li><a href="/profile?mode=editprofile"><font color="#00adef">Sửa Thông Tin Cá Nhân</font></a></li>
</span></center>
<center>
<a href="/login?logout=1"><font color="#00adef">Thoát</font></a></center>
<!-- END switch_user_logged_in -->
<script type="text/javascript">document.write('<input type="hidden" name="redirect" value="' + location.href + '" />')</script>
</form>
</div>
<div class="help_container">
<ul>
<li class="mic"><a href="/" id="megaanchor2" _megamenupos="0pos">Việt Nam</a></li>
<li class="mic"><a href="/" id="megaanchor3" _megamenupos="1pos">Nước ngoài</a></li>
<li class="mic"><a href="/" id="megaanchor4" _megamenupos="2pos">Rap</a></li>
<li class="video"><a href="/" id="megaanchor5" _megamenupos="3pos">Video Clip</a></li>
<li class="mic"><a href="/" id="megaanchor10">Thông báo</a></li>
</ul>
</div>
</div>
<div class="pun">
<div class="pun2">
<div id="pun-head">
</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="main">
<div id="main-content">
<!-- BEGIN html_validation -->
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>
<!-- END html_validation -->