zinzin125cc
Tổng số bài gửi : 416 Điểm tích lũy : 5836 Thích : 3 Tham gia : 21/09/2011
| Tiêu đề: [code] Bảng thống kê đóng mở được Việt hóa Mon Jun 03, 2013 6:46 pm | |
| demo: http://cfviet.co.cc/index.htm code: Tim đoạn code này trong index_body - Code:
-
<!-- BEGIN disable_viewonline --> .............. <!-- END disable_viewonline --> thay bằng - Code:
-
<!-- BEGIN disable_viewonline --> <!-- what's going on box --> <script type="text/javascript">var num= 0;</script> <table class="forumline" width="100%" border="0" cellspacing="1" cellpadding="0"> <tr id="currenttr" onClick="i= 0; e=this.parentNode.childNodes; while(++i<e.length) if(e[i].tagName=='TR') e[i].style.display=(e[i].style.display=='none')?'':'none'; retour=(my_getcookie(this.id)=='true')?'false':'true'; my_setcookie(this.id,retour, 1, 0);" style="cursor:pointer;"> <td class="tcat" colspan="2"><a href="/viewonline.htm">Tình hình diễn đàn</a></td></tr>
<tr> <td class="alt2" colspan="2"> <table class="forumline" width="100%" border="0" cellspacing="1" cellpadding="0"> <tbody> <tr> <td class="thead" colspan="2"> <a style="float:right" href="#top"><img src="http://i913.photobucket.com/albums/ac332/battuvuong/cfviet/reputation.gif" alt="" border="0" /></a> Ai đang online ? </td> </tr>
</tbody>
<tbody id="collapseobj_forumhome_stats" style=""> <tr> <td class="alt2"><img src="http://i913.photobucket.com/albums/ac332/battuvuong/cfviet/whos_online.gif" border="0"></td> <td class="alt1" width="100%"> <span class="gensmall">{TOTAL_USERS_ONLINE}<br> {RECORD_USERS}<br><br> {LOGGED_IN_USER_LIST} </td> </tr> </tbody> <tbody> <tr> <td class="thead" colspan="2"> <a style="float: right;" href="#top"><img src="http://i913.photobucket.com/albums/ac332/battuvuong/cfviet/reputation.gif" alt="" border="0"></a> Thành viên truy cập gần đây: </td> </tr> </tbody>
<tbody id="collapseobj_forumhome_stats" style=""> <tr> <td class="alt2"><img src="http://i913.photobucket.com/albums/ac332/battuvuong/cfviet/stats.gif" alt="Thành viên" border="0"></td> <td class="alt1" width="100%"> <table id="cfviet" class="smallfont">{L_CONNECTED_MEMBERS} {L_WHOSBIRTHDAY_TODAY}{L_WHOSBIRTHDAY_WEEK}</table> <script type="text/javascript"> document.getElementById('cfviet').innerHTML=document.getElementById('cfviet').innerHTML.replace(/Members connected during last 99 hours :/,'Thành viên truy cập trong 24 giờ:').replace(/Users having a birthday today :/,'Thành viên có sinh nhật hôm nay:').replace(/Users with a birthday within the next 10 days:/,'Thành viên có sinh nhật trong 10 ngày tới:').replace(/No users have a birthday today/,'Không thành viên nào có sinh nhật ngày hôm nay.'); </script> </td> </tr> </tbody> <tbody> <tr> <td class="thead" colspan="2"> <a style="float: right;" href="#top"><img src="http://i913.photobucket.com/albums/ac332/battuvuong/cfviet/reputation.gif" alt="" border="0"></a> Thống kê diễn đàn: </td> </tr> </tbody>
<tbody id="collapseobj_forumhome_stats" style=""> <tr> <td class="alt2"><img src="http://i913.photobucket.com/albums/ac332/battuvuong/cfviet/stats-1.gif" border="0"></td> <td class="alt1" width="100%"> <span class="gensmall">{TOTAL_POSTS}<br> {TOTAL_USERS}<br> {NEWEST_USER}</span> </td> </tr> </tbody>
<tr> <table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%" align="center"> <!-- BEGIN switch_chatbox_activate --> <tr> <td id="chatcf"> {TOTAL_CHATTERS_ONLINE} : {CHATTERS_LIST} </td> <td><!-- BEGIN switch_chatbox_popup --> <div id="chatbox_popup"></div> <td>{disable_viewonline.U_FRAME_CHATBOX}</td> <td>[<a href="/html-h158.htm?reload" rel="nofollow">Tham gia chat</a>]</td> <!-- END switch_chatbox_popup --></td><script type="text/javascript"> document.getElementById('chatcf').innerHTML=document.getElementById('chatcf').innerHTML.replace(/There are currently (.+) user\(s\) on the ChatBox/,'Hiện có $1 thành viên sử dụng Chatbox'); </script> </span> </tr> <!-- END switch_chatbox_activate --></table> </tr>
<tbody> <tr> <td class="tfoot" colspan="5" align="center"><div class="smallfont"><strong> {GROUP_LEGEND} </strong></div></td> </tr>
</tbody>
</table></td></tr></table><script type="text/javascript"> document.getElementById('currenttr').id='trfrm'+num; if(my_getcookie('trfrm'+num)=='true') { i= 0; e=document.getElementById('trfrm'+num).parentNode.childNodes; while(++i<e.length) if(e[i].tagName=='TR')e[i].style.display='none'; } num++;</script> | |
|
phamanhdungeq
Tổng số bài gửi : 68 Điểm tích lũy : 4576 Thích : 3 Tham gia : 15/03/2012
| Tiêu đề: Re: [code] Bảng thống kê đóng mở được Việt hóa Thu Jun 06, 2013 8:34 pm | |
| | |
|