- Code:
{JAVASCRIPT}
<div class="main">
<div class="main-head"><div class="page-title"><h2><img src="http://cdn3.iconfinder.com/data/icons/weather-icons/32/Tornado-16.png" /></a><span style="font-family: Trebuchet MS; font-size: 17px ! important; font-variant: small-caps; margin-left: 18px;">Tổng Đài Chém Gió Phang Bão</span><span style="color:white"><b><font size="2"></font></b></span></h2></div></div>
<div class="main-content">
<!-- BEGIN switch_user_logged_in --><div id="chatbox_top" style="height: 300px;border:1px solid #ccc;margin-top:10px" align="center"><iframe style="display: inline;" src="/chatbox/index.forum?archives=1" id="frame_chatbox" marginwidth="0" marginheight="0" width="100%" frameborder="0" height="100%" scrolling="no"></iframe></div>
<script type="text/javascript">//<![CDATA[
$('#frame_chatbox').fadeOut(1000,function(){$(this).attr('src','/chatbox/index.forum?archives=1');$(this).fadeIn(3000,function(){if($(this).contents().find('#chatbox_option_disco').css('display')=='none'){$(this)[0].contentWindow.CB_disconnect();};});});//]]></script><div onmousedown="javascript:resizeElement(event, 'chatbox_top');" alt="" style="cursor: n-resize;border-left:1px solid #b0b0b0;border-right:1px solid #b0b0b0;background: url(http://i74.servimg.com/u/f74/16/18/15/10/159.png)repeat-x top left;padding:2px;text-align:center"><img src="http://i74.servimg.com/u/f74/16/18/15/10/160.png"></div><!-- END switch_user_logged_in -->
<!-- BEGIN switch_user_logged_out -->
<div style="padding-top:50px;padding-bottom:50px;"><center><span style="font-weight: bold;"> <a href="/login">Bạn Cần Đăng Nhập Để Vào CHATBOX</a></span>,<span style="font-weight: bold;"> <a href="/register">Nếu Chưa Có Nick Thì Hãy Đăng Ký Tại Đây</a></span></center></div>
<!-- END switch_user_logged_out -->
<center><img src="http://i48.servimg.com/u/f48/16/18/15/10/enddy10.png"/></center>
{BOARD_INDEX}
<!-- BEGIN disable_viewonline -->
<div id="pun-info" class="main">
<div class="main-content">
<td width="680">
<div class="forumbit_nopost L1">
<div id="wgo" class="blockhead" colspan="5">
<small>
<div class="title kinds"><h2>{RECORD_USERS}</h2><div class="tt_outside"><div class="top"></div><div class="bottom"></div></div></div>
<div class="title kinds"><h2>{TOTAL_USERS_ONLINE}</h2><div class="tt_outside"><div class="top"></div><div class="bottom"></div></div></div>
</small>
</div>
<hr>
<div class="forumrow" style="width:100%;">
<table>
<tbody><tr>
<td width="150" height="280">
<center>
<img src="http://vietfriend.info/forum/images/ranks/2.png" width="100" height="25">
<br><font color="#0077FF"><img src="http://vietfriend.info/forum/images/groups/sadmin.gif"> <b>Ban Quản Trị</b></font><br>
<img src="http://vietfriend.info/forum/images/ranks/4.png"width="100" height="25"><br><font color="#009900"><img src="http://vietfriend.info/forum/images/groups/smd.gif"> <b>Ban Trật Tự ♥</b></font><br>
<img src="http://vietfriend.info/forum/images/ranks/1.png"width="100" height="25"><br><font color="#002EB8"><img src="http://vietfriend.info/forum/images/groups/mod.gif"> <b>Thiết kế ♥</b></font><br>
<img src="http://vietfriend.info/forum/images/ranks/3.png"width="100" height="25"><br><img src="http://vietfriend.info/forum/images/groups/star.gif" height="17"> <font color="#FF600A"><b>Ban Quản Lý ♥</b></font><br>
<img src="http://vietfriend.info/forum/images/ranks/5.png"width="100" height="25"><br><img src="http://vietfriend.info/forum/images/groups/v.gif"> <font color="#8A2BE3"><b> Vip Member ♥</b></font> <br>
<img src="http://vietfriend.info/forum/images/ranks/6.png"width="100" height="25"><br><img src="http://i41.servimg.com/u/f41/16/41/29/13/th/mem11.gif"><font color="#038EDE"> <b>Kute Mem ♥</b></font>
</center>
</td>
<td>
<table>
<tbody><tr>
<td width="315">
<div id="wgo_stats" class="wgo_subblock section">
<center><b><img src="http://i41.servimg.com/u/f41/16/41/29/13/users_10.png" border="0"> Thành viên đã ghé thăm Diễn đàn</b></center>
</div>
</td>
<td width="15">
</td>
<td width="305">
<div id="wgo_stats" class="wgo_subblock section">
<center><b><img src="http://i41.servimg.com/u/f41/16/41/29/13/forum_10.png" alt="Thống kê »™-‘๑’- ViệtFriend.iNfO -‘๑’-™«" title="Thống kê »™-‘๑’- ViệtFriend.iNfO -‘๑’-™«"> Thống kê Diễn đàn</b></center>
</div>
</td>
</tr>
<tr>
<td width="315">
<div class="dongkhung">
<div style="border:1px wave #8f95bf; overflow: auto; overflow-x: hidden; width: auto; height: 150px; text-align: left; verticle-align: top; padding-top: 1px; padding-bottom: 1px; padding-left: 1px; padding-right: 1px; margin-top: 1px; margin-bottom: 0px;">
<ol class="commalist" id="wgo_wvt_list">
{LOGGED_IN_USER_LIST}
{L_ONLINE_USERS}
{L_CONNECTED_MEMBERS}
<br>
</ol>
</div>
</div>
</td>
<td width="15">
</td>
<td width="305">
<div class="dongkhung">
<div style="border:1px wave #8f95bf; overflow: auto; overflow-x: hidden; width: auto; height: 150px; text-align: left; verticle-align: top; padding-top: 1px; padding-bottom: 1px; padding-left: 1px; padding-right: 1px; margin-top: 1px; margin-bottom: 0px;">
<div class="smallfont">
<center><span class="inlineimg" original-title="Trong thời hạn cuối cùng 30 ngày"><font size="2" color="blue"><i><b>{TOTAL_USERS}</b></i></font></span></center><center><img src="http://i41.servimg.com/u/f41/16/41/29/13/ngando10.gif"></center>
<span class="vftrends" original-title="Tháng này: 1"><b><font face="georgia" color="red" size="3">{TOTAL_POSTS}</font></b> <img src="http://i41.servimg.com/u/f41/16/41/29/13/vbtren10.gif" alt="" border="0"></span><br>
<span class="vftrends" original-title="Tháng này: 0"><b><font face="georgia" color="blue" size="3">{TOTAL_USERS}</font></b> <img src="http://i41.servimg.com/u/f41/16/41/29/13/vbtren10.gif" alt="" border="0"></span><br>
<center><img src="http://i41.servimg.com/u/f41/16/41/29/13/ngando10.gif"></center><font size="2" color="red"><center><i><b>{L_WHOSBIRTHDAY_TODAY}<br>{L_WHOSBIRTHDAY_WEEK}</b></i></center></font>
</div>
</div>
</div>
</td>
</tr>
</tbody></table>
<br>
<div class="dongkhung">
<p><center><font size=3 face="Comic Sans MS" color="blue">{NEWEST_USER} nào!</font></center></p>
<br>
<center>
<p style="cursor:default;color:darkGrey;" id="vsa_focobj" title="Board started: 30-9-2013">
<script language="JavaScript" type="text/javascript">
function VSaFOCSetCountup(theday,themonth,theyear) {
da = theday, mo = themonth, yr = theyear;
}
VSaFOCSetCountup(30,9,2013);
function VSaFOCCount() {
prefix = "";
today = new Date();
todaym = today.getMonth();
todayd = today.getDate();
todayh = today.getHours();
todaymin = today.getMinutes();
todaysec = today.getSeconds();
montharray = new Array("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec");
todayy = today.getYear();
if (todayy < 1000)
{
todayy += 1900;
}
todaystring = montharray[todaym]+" "+todayd+", "+todayy+" "+todayh+":"+todaymin+":"+todaysec;
paststring = montharray[mo-1]+" "+da+", "+yr;
dd = Date.parse(todaystring)-Date.parse(paststring);
dyear = todayy - 2011 - 1;
dday = Math.floor(dd/(60*60*1000*24)*1);
dhour = Math.floor((dd%(60*60*1000*24))/(60*60*1000)*1);
dmin = Math.floor(((dd%(60*60*1000*24))%(60*60*1000))/(60*1000)*1);
dsec = Math.floor((((dd%(60*60*1000*24))%(60*60*1000))%(60*1000))/1000*1);
dhourd = "";
dmind = "";
dsecd = "";
if (dday>0) {
dyearc = ", ";
} else {
dyearc = " ";
}
dyearc = ", ";
if (dday>365) {
dday = Math.floor(dday - (dyear * 365.24219));
}
if (dday<0)
{
dday = 365 - (dday * -1);
}
if (dday>=365)
{
dyear = dyear + 1;
dday = dday - 365;
}
if (dyear==1) {
dyeard = dyear+" Năm"+dyearc;
} else if (dyear>1){
dyeard = dyear+" Năm"+dyearc;
} else {
dyeard = "";
}
if (dday<=0) {
ddayd = "";
} else if (dday==1) {
ddayd = dday+" Ngày";
} else {
ddayd = dday+" Ngày";
}
if (ddayd) {
dhourc = ", ";
} else {
dhourc = "";
}
if (dhour==1) {
dhourd = dhourc+dhour+" Giờ";
} else {
dhourd = dhourc+dhour+" Giờ";
}
if (dmin==1) {
dmind = ", "+dmin+" Phút";
} else {
dmind = ", "+dmin+" Phút";
}
if (dsec==1) {
dsecd = ", "+dsec+" Giây";
} else {
dsecd = ", "+dsec+" Giây";
}
suffix = " Kể Từ Khi Forum Được Thành Lập";
document.getElementById('vsa_focobj').innerHTML = prefix + dyeard + ddayd + dhourd + dmind + dsecd + suffix;
setTimeout("VSaFOCCount()",1000);
}
VSaFOCCount();
</script>
<p> </center>
</div>
</tr>
</table>
</div>
</li>
</div>
</td>
<!-- BEGIN switch_chatbox_activate -->
<div id="onlinechat">
<p class="page-bottom">
{TOTAL_CHATTERS_ONLINE} :
{CHATTERS_LIST}<br />
</p>
</div>
<!-- END switch_chatbox_activate -->
</div>
</div>
<!-- END disable_viewonline -->
<style>
.posting, .paging, .standalone, div.frm-form, #pun-qpost, #pun-info, #copyright {
background: white;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
}
.dongkhung {
width: 100%;
background: white;
border: 1px solid #CCC;
border-radius: 2px;
float: center;
padding: 4px;
}
.forumbit_nopost {
clear: left;
position: relative;
}
.wgo_block .blockhead {
font-size: 12px;
font-weight: bold;
color: rgb(255, 255, 255);
background: url("http://vietfriend.info/forum/images/buttons/newbtn_middle.png") repeat-x scroll 0% 0% rgb(0, 153, 255);
border: 1px solid rgb(216, 223, 234);
}
.wgo_block .blockhead {
font-size: 12px;
font-weight: bold;
color: rgb(255, 255, 255);
}
.forumbit_post {
float: left;
position: relative;
width: 100%;
display: block;
}
</style>
<!-- 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}
<!-- BEGIN switch_legend -->
<!-- END switch_legend -->
{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 -->
<style>
/* Thống kê */
.leftStats{float:left;margin-left:-71px;position:absolute;vertical-align:middle;width:60px}
.rightStats{border-left:2px solid #CFC9C9;min-height:50px;padding-left:10px;width:846px;margin:5px 10px 5px 70px}
.starsTitle{background-color:#DDD;color:#706969;font-family:Comic Sans MS!important;font-variant:small-caps!important;font-weight:700!important;height:20px;line-height:20px;text-shadow:1px 1px 1px #FFF;padding:5px}
</style>
<style>
.menu_float{width:108px;border:1px solid #ccc;background:white;padding:5px;float:left;clear:both;margin:1px;}
.menu_float:hover{background: #D2DFEA;border:1px solid #0077FF;}
.menu_float img{vertical-align:middle;margin:3px;}
.memberonline {width: 100%;}
.memberonline:hover {background: #FFF;}
</style>
<script type="text/javascript">
$(document).ready(function(){
$('#open_quick_menu').click(function(){
$('#quick_menu').show(500);
$('#open_quick_menu').fadeOut(100);
});
$('#close_quick_menu').click(function(){
$('#quick_menu').fadeOut(100);
$('#open_quick_menu').fadeIn(500);
});
getCount();
setInterval("getCount()",180000);
});
</script>
<div id="open_quick_menu" style="position:fixed; top:50px;left:10px;">
<div class="menu_float" style="width:108px;">
<center><img src=http://vietfriend.info/forum/images/styles/vietfriend/skinv6/img/online.png border=0 /></center>
</div>
</div>
<div id="quick_menu" style="position:fixed; top:50px;left:10px;display:none;">
<div class="menu_float">
<a href="/viewonline">
<p align="right"><i><b><font color=#0077FF>
{TOTAL_USERS_ONLINE}
{L_ONLINE_USERS}<br/>
</font></b></i></p>
</a>
</div>
<div class="menu_float" id="close_quick_menu">
<center><img src=http://vietfriend.info/forum/images/misc/users_online.png border=0 /> Đóng lại</center>
</div>
</div>
Cộng đồng Forumotion Việt Nam