Mình dạo này phải vào học nên không còn thời gian quản lý forum nữa nên mình share tất cả những gì trong diễn đàn mình cho các bạn ....
Các bạn đừng xóa tên người Rip nhé ( An Hùng - BuonThungPro.Net )
Demo : http://www.sweetlove.lifeme.net/
Agreement :
Index Body :
Các bạn đừng xóa tên người Rip nhé ( An Hùng - BuonThungPro.Net )
Demo : http://www.sweetlove.lifeme.net/
Agreement :
- Code:
<!-- BEGIN switch_user_logged_in -->
<div id="pun-visit" class="clearfix">
<ul>
<li>
<a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a>
</li>
<li>
<a href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a>
</li>
</ul>
<p>{LOGGED_AS}. {LAST_VISIT_DATE}</p>
</div>
<!-- END switch_user_logged_in -->
<!-- BEGIN switch_user_logged_out -->
<div id="pun-visit">
<p>{L_NOT_CONNECTED} {L_LOGIN_REGISTER}</p>
</div>
<!-- END switch_user_logged_out -->
<div class="pun-crumbs">
<p class="crumbs">
<a href="{U_INDEX}">{L_INDEX}</a>
<strong>{NAV_CAT_DESC}</strong>
</p>
</div>
<!-- BEGIN switch_fb_explain -->
<div class="main-content standalone">
<img src="http://2img.net/i/fa/admin/icones/big_ico/warning.png" class="left" alt="" />
<div id="fb_explain">Để kết nối tới diễn đàn {SITENAME} thông qua Facebook Connect, bạn phải đăng ký.
<br />Hãy bắt đầu việc đăng ký của bạn bằng cách chấp nhận những quy tắc này.</div>
<div
class="clear"></div>
</div>
<!-- END switch_fb_explain -->
<div class="main-content standalone">
<fieldset class="main-content standalone">
<legend style="color: red; font-size: 20px; font-weight: bold; font-variant: small-caps; font-family: Trebuchet MS; text-shadow: 1px 1px 1px rgb(0, 0, 0); margin-top: -10px;">Nội Quy Diễn Đàn</legend>
<div style="height: 265px; overflow-y: scroll; overflow-x: hidden; text-align: justify; margin-right: -10px; padding-right: 15px;">
<br /><center><img src="http://dl7.glitter-graphics.net/pub/229/229247zrid7xsbib.gif" /></center>
<br />
<br />Ban quản trị {SITENAME} sẽ cố gắng hết sức để chỉnh sửa hoặc xóa bài viết sai phạm càng sớm càng tốt. Tuy nhiên, đôi khi chúng tôi không thể xem xét tất cả các bài viết. Mỗi bài viết được đăng trên diễn đàn {SITENAME} thể hiện tầm nhìn và ý kiến của tác giả tương ứng, nó không thuộc về quan điểm chung của {SITENAME} (ngoại trừ các bài viết của chúng tôi). Và do đó, chúng tôi không chịu trách nhiệm về nội dung thành viên đăng tải.
<br />
<br />Diễn đàn {SITENAME} sử dụng cookie để lưu trữ thông tin trên máy tính của bạn. Những cookie này sẽ không chứa bất kỳ thông tin cá nhân, chúng chỉ được sử dụng nhằm tạo sự thoải mái cho bạn và bạn có thể dễ dàng xóa bỏ nó bất kỳ lúc nào. Địa chỉ e-mail chỉ được sử dụng để xác nhận các chi tiết đăng ký của bạn như mật khẩu của bạn (và cũng để gửi cho bạn mật khẩu của bạn trong trường hợp bạn quên nó).
<br />
<br />Những bài viết vi phạm sẽ được chỉnh sửa hoặc loại bỏ mà không thông báo trước. Thành viên vi phạm nghiêm trọng sẽ lập tức bị chặn truy cập vĩnh viễn.
<br />
<br />Internet là không phải một không gian vô danh, cũng không phải một không gian không có luật lệ! Chúng tôi giữ cho mình khả năng thông báo cho các cơ quan pháp luật khi bạn có hành vi phạm pháp. Một địa chỉ IP của người viết sẽ được ghi lại, vì thế bạn cần tôn trọng những điều kiện này.
<br />
<br />
<center>------------------------------------------------------------</center>
<br />Khi đã chấp nhận các điều khoản trên và đồng ý tham gia diễn đàn, bạn đã :
<br />- Thừa nhận mình có đầy đủ các điều kiện để tham gia diễn đàn;
<br />- Cam kết tôn trọng và thực hiện đầy đủ các quy định hiện hành;
<br />- Cho phép những ban quản trị {SITENAME} có quyền xóa, di chuyển hoặc chỉnh sửa các bài viết của bạn bất kỳ lúc nào.
<br />
<br /><center><img src="http://dl7.glitter-graphics.net/pub/229/229247zrid7xsbib.gif" /></center>
</div>
</fieldset>
<div class="main-content standalone">
<form action="{U_AGREE_OVER13}" name="agreeform" onsubmit="return checkform(this);" method="post">
<div>
<input type="checkbox" value="1" id="cb_rules_agree" name="agree" />
<label for="cb_rules_agree">
<strong> Tôi Đã Đọc Và Đồng Ý Nội Qui Của Diễn Đàn {SITENAME}</strong>
</label>
<span onmouseover="show_tooltip(this, ' <b>» Click Vào Để Tiếp Tục Đăng Ký !</b> ');" onMouseOut="hidetip();"><input type="submit" style="float: right !important" value="Tiếp Tục Đăng Ký" name="ok" />
</div>
</form>
</div>
</div>
<script type="text/javascript">
function checkform(form) {
if (form.agree.checked == false) {
alert('Bạn phải Đồng Ý những điều lệ của diễn đàn để tiếp tục đăng ký!');
return false;
}
}
</script>
Index Body :
- Code:
<table width="100%">
<tbody>
<tr>
<td class="blocksubhead" nowrap="nowrap" width="100%">
<ul id="last">
<li class="selected" onclick="searchtopic('/search?search_keywords=&search_author=*_*', '15', '#recentnew ul')" >
Tất cả</li>
</ul>
</td>
<td class="blocksubhead" nowrap="nowrap" align="left">
<div id="ctop_select_2" href="#" rel="nofollow" class="popupmenu">
<a class="popupctrl" id="yui-gen1"><span class="topchon" id="ctop_title_2">TV tích cực nhất</span></a>
</div>
</td>
<td class="blocksubhead" nowrap="nowrap" align="left">
<div id="ctop_select_2" href="#" rel="nofollow" class="popupmenu">
<a class="popupctrl" id="yui-gen1"><span class="topchon" id="ctop_title_2">TV tạo nhiều chủ đề</span></a>
</div>
</td>
</tr>
<!-- BEGIN giefmod_index1 -->
{giefmod_index1.MODVAR}
<!-- BEGIN saut -->
<div style="height:{SPACE_ROW}px"></div>
<!-- END saut -->
<!-- END giefmod_index1 -->
</tr>
</tbody></table>
<style>
.top-vi,.viewrep{padding:10px!important}#active_starters,#most_active,#pun-visit,#users_month,#users_week{display:none}.lastcate,.left,.leftrecent,.repfmvi,.rightrecent,
.viewfmvi{overflow:hidden;position:absolute;text-overflow:ellipsis;white-space:nowrap}
.leftrecent{width:38%}.left{margin-left:-3px;width:81%}
.imgstatus{background-color:#FFF;left:-32px;padding:2px 7px;position:absolute}.rightrecent{right:250px;text-align:right;width:115px}.showpost{font-size:9px;left:-12px;line-height:18px;position:absolute}
#top-guibai img {
height: 15px;
width: 15px;
padding: 2px;
border: 1px solid #CCC;
}
#top-guibai, #moitruycap {
width: 150px;
}
#topp img {
height: 15px;
width: 15px;
padding: 2px;
border: 1px solid #CCC;
}
#guihumnay img {
height: 15px;
width: 15px;
padding: 2px;
border: 1px solid #CCC;
}
#moitruycap img {
height: 15px;
width: 15px;
padding: 2px;
border: 1px solid #CCC;
}
.gen {
display: block;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
list-style: decimal-leading-zero outside none;
}
.viewfmvi{right:185px;text-align:right;width:50px}.repfmvi{right: 129px;text-align:right;width:50px}.lastcate{margin-right:-11px;right:0;text-align:right;width:157px}#content-container div#left,#content-container div#right{border:0 none;float:none;margin:0;width:100%}*+ html #content-container div#main{margin-left:0;margin-right:0}* html #content-container #main-content{margin-left:0;margin-right:0;overflow:visible}* html #content-container div#main{float:none;margin-left:-99%;margin-right:-99%;width:100%}
.latest_topics{list-style:decimal-leading-zero outside none;margin:0!important;padding:0 5px 0 27px;text-align:left}
.latest_topics li{line-height:19.1px;position:relative}
.toppost_width{float:left;width:200px}
.recentWidth{float:left;width: 100%;}
.recentWidth .main-head{height:1.3em;overflow:hidden;position:relative}.recentWidth h3{marign-left:10px}.loaddinng{background-image:url(http://i43.servimg.com/u/f43/16/03/04/56/black-10.gif);background-position:center center;background-repeat:no-repeat;height:350px;width:440px}#checktip{position:absolute;right:10px;top:3px;z-index:300}#numRecent{display:none;position:absolute;right:12px;top:7px}
.loaddingLike {
background: url(http://i48.servimg.com/u/f48/16/58/89/73/loadin11.gif) no-repeat scroll center center transparent;
display: none;
height: 1.4em;
margin: -1.4em 0 -3px 200px;
width: 126px;
}
.topchon {
background: white;
font-weight: bold;
color: #141414;
text-decoration: none;
padding: 0 8px;
float: right;
border-top: 1px solid lightGrey;
border-right: 1px solid lightGrey;
border-left: 1px solid lightGrey;
border-bottom: 1px solid white;
border-top-left-radius: 5px;
-webkit-border-top-left-radius: 5px;
-moz-border-radius-topleft: 5px;
-khtml-border-top-left-radius: 5px;
border-top-right-radius: 5px;
-webkit-border-top-right-radius: 5px;
-moz-border-radius-topright: 5px;
-khtml-border-top-right-radius: 5px;
display: inline-block;
line-height: 25px;
cursor: pointer;
outline: 0 none;
white-space: nowrap;
word-wrap: normal;
height: 24px;
padding-bottom: 11px;
margin-bottom: -2px;
z-index: 11;
position: relative;
border-bottom: 0;
}
#last li {
font-weight: bold;
background: #ECECEC;
color: #141414;
text-decoration: none;
padding: 0 8px;
margin-right: -1px;
margin-bottom: -1px;
border-top: 1px solid lightGrey;
border-right: 1px solid lightGrey;
border-left: 1px solid lightGrey;
border-bottom: 1px solid lightGrey;
border-top-left-radius: 5px;
-webkit-border-top-left-radius: 5px;
-moz-border-radius-topleft: 5px;
-khtml-border-top-left-radius: 5px;
border-top-right-radius: 5px;
-webkit-border-top-right-radius: 5px;
-moz-border-radius-topright: 5px;
-khtml-border-top-right-radius: 5px;
display: inline-block;
line-height: 25px;
cursor: pointer;
outline: 0 none;
white-space: nowrap;
word-wrap: normal;
height: 24px;
pacity: 1;
margin-right: 5px;
}
#last {
list-style: none;
}
#last li.selected {
padding-bottom: 11px;
margin-bottom: -2px;
z-index: 11;
position: relative;
border-bottom: 0;
background: white;
}
</style>
{JAVASCRIPT}
<div id="pun-info" class="main">
<div class="main-head"><div class="page-title"><h2>ChatBox</h2></div></div>
<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>
<!-- 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}
<div class="chatboxTDAE">
{TOTAL_CHATTERS_ONLINE}: {CHATTERS_LIST}
</div>
{BOARD_INDEX}
<!-- BEGIN disable_viewonline -->
<div id="pun-info" class="main">
<div class="main-head">
<div class="page-title">
<h2>Tình hình diễn đàn</h2>
</div>
</div>
<div class="main-content">
<div class="starsItem">
<p class="starsTitle">
<!-- BEGIN switch_viewonline_link -->
<a href="{U_VIEWONLINE}" rel="nofollow">Ai đang trực tuyến?</a>
<!-- END switch_viewonline_link -->
<!-- BEGIN switch_viewonline_nolink -->Ai đang trực tuyến?
<!-- END switch_viewonline_nolink -->
</p>
<div class="rightStats">
<div class="leftStats">
<img src="http://i48.servimg.com/u/f48/16/58/89/73/user_s10.png" />
</div>
<p>{TOTAL_USERS_ONLINE}
<br />{LOGGED_IN_USER_LIST} {L_ONLINE_USERS} {L_CONNECTED_MEMBERS}</p>
</div>
</div>
<div class="starsItem">
<p class="starsTitle">Sự kiện</p>
<div class="rightStats">
<div class="leftStats">
<img src="http://i48.servimg.com/u/f48/16/58/89/73/openso10.png" />
</div>
<p>{NEWEST_USER}</p>
<p>{L_WHOSBIRTHDAY_TODAY}{L_WHOSBIRTHDAY_WEEK}</p>
</div>
</div>
<div class="starsItem">
<p class="starsTitle">Thống kê</p>
<div class="rightStats">
<div class="leftStats">
<img src="http://i48.servimg.com/u/f48/16/58/89/73/icon_s10.gif" />
</div>
<p>{RECORD_USERS}
<br />{TOTAL_POSTS}
<br />{TOTAL_USERS}</p>
</div>
</div>
<!-- BEGIN switch_chatbox_activate -->
<div class="starsItem">
<!-- BEGIN switch_chatbox_popup -->
<p id="chatbox_popup" class="starsTitle"></p>
<script type="text/javascript">
insertChatBoxPopup('{disable_viewonline.switch_chatbox_activate.switch_chatbox_popup.U_FRAME_CHATBOX}', 'Chatbox');
</script>
<!-- END switch_chatbox_popup -->
<div class="rightStats">
<div class="leftStats">
<img src="http://i48.servimg.com/u/f48/16/58/89/73/it_and10.png" />
</div>
<p>{TOTAL_CHATTERS_ONLINE} : {CHATTERS_LIST}</p>
</div>
</div>
<div class="starsItem"><p id="chatbox_popup" class="starsTitle">[ <a href="/chatbox/index.forum?" target="ChatBox">Liên Kết</a> ]</p><iframe src="http://www.buonthungpro.123.st/h12-page" marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="0" height="175" scrolling="no" width="100%" style="
height: 100px;
"></iframe>
</div>
<!-- END switch_chatbox_activate -->
</div>
</div>
<div class="main-box clearfix">
<p align="center">{GROUP_LEGEND}</p>
</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}
<!-- BEGIN switch_legend -->
<ul id="pun-legend">
<li>
<img src="{FORUM_NEW_IMG}" alt="{L_NEW_POSTS}" /> {L_NEW_POSTS}
<img src="{FORUM_IMG}" alt="{L_NO_NEW_POSTS}" /> {L_NO_NEW_POSTS}
<img src="{FORUM_LOCKED_IMG}" alt="{L_FORUM_LOCKED}" /> {L_FORUM_LOCKED}
</li>
</ul>
<!-- 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>
.pun .main-content {
background-color: #fbfbfb;
border: 2px solid #6C941A;
}
/* [FMvi.Org] Thống kê tình hình diễn đàn*/
.leftStats{float:left;margin-left:-71px;vertical-align:middle;width:60px}
.rightStats{min-height: 50px;border-left:2px solid #CFC9C9;padding-left:10px;width:600px;margin:5px 10px 5px 70px}
.starsTitle{background-color:#BFBFBF;border:1px solid #989898;color:#F8FF04;font-family:Comic Sans MS;font-variant:small-caps;font-weight:700;text-shadow:1px 1px 1px #000;padding:5px}</style>
<script src="http://webvn20.googlecode.com/files/snowstorm.js" type="text/javascript"></script>
<script>
snowStorm.snowColor = '#ffffff'; // màu bông tuyết
snowStorm.flakesMaxActive = 100; // số lượng
snowStorm.useTwinkleEffect = true; // tuyết nhấp nháy hay không
</script>