First topic message reminder :
header
* Vào modules/Forum widgets management/chỉ chọn cột Recent topics
* VÀo display/Portal/mod_recent_topics thay = code sau:
header
- Code:
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns:fb="http://ogp.me/ns/fb#">
<html slick-uniqueid="1" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- JS Fancybox -->
<script type="text/javascript" src="http://soha.thuyhuchimong.com/static/js/main.js"></script>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-27730797-3']);
_gaq.push(['_setDomainName', 'thuyhuchimong.com']);
_gaq.push(['_trackPageview']);
(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>
</head>
<body>
<div class="body01">
<div id="bgBtm">
<div class="content">
<div class="menu">
<div class="top-header-area">
<ul class="parent-menu">
<li>
<a class="mn_trangchu" href="/"><div class="item-menu"></div></a>
</li>
<li class="mn_tintuc" >
<a href="/tin-tuc/"><div class="item-menu"></div></a>
<ul class="sub-menu">
<li><a
href="http://thuyhuchimong.com/tin-tuc/su-kien/">Sự
kiện</a></li><li><a
href="http://thuyhuchimong.com/tin-tuc/thong-bao/">Thông
báo</a></li><li><a
href="http://thuyhuchimong.com/tin-tuc/cong-dong/">Cộng
đồng</a></li> </ul>
</li>
<li class="mn_camnang">
<a href="/cam-nang/"><div class="item-menu"></div></a>
<ul class="sub-menu">
<li><a
href="http://thuyhuchimong.com/cam-nang/hoat-dong/">Hoạt
động</a></li><li><a
href="http://thuyhuchimong.com/cam-nang/huong-dan/">Hướng
dẫn</a></li><li><a target="_blank"
href="http://thuyhuchimong.com/cam-nang-luong-son/">Cẩm
nang</a></li> </ul>
</li>
<li>
<a class="logo" href="/"><div class="item-menu"></div></a>
</li>
<li class="mn_gioithieu">
<a><div class="item-menu"></div></a>
<ul class="sub-menu">
<li><a
href="http://thuyhuchimong.com/gioi-thieu/283-diem-dac-sac.html">Điểm
Đặc Sắc</a></li><li><a
href="http://thuyhuchimong.com/gioi-thieu/77-cot-truyen.html">Cốt
truyện</a></li> </ul>
</li>
<li class="mn_thuvien">
<a><div class="item-menu"></div></a>
<ul class="sub-menu">
<li><a
href="http://thuyhuchimong.com/hinh-anh-dep">Hình ảnh
đẹp</a></li><li><a
href="http://thuyhuchimong.com/clip">Clip</a></li><li><a
href="http://thuyhuchimong.com/screenshot">ScreenShot</a></li>
</ul>
</li>
<li class="mn_congdong">
<a><div class="item-menu"></div></a>
<ul class="sub-menu">
<li><a target="_blank" href="/diendan">Diễn đàn</a></li>
<li><a target="_blank"
href="https://www.facebook.com/thuyhuchimong">Fan
page</a></li>
</ul>
</li>
<div class="clear"></div>
</ul>
</div>
</div>
<div class="mainArea">
<div class="left">
<div class="start">
<OBJECT width="206" height="122">
<embed src="/static/images/choingay.swf" width="200"
height="122" quality="high"
pluginspage="http://www.macromedia.com/go/getflashplayer";;
type="application/x-shockwave-flash" menu="false"
wmode="transparent"></embed>
</OBJECT>
</div>
<div class="leftArea">
<div class="loginArea">
<!-- Login -->
<ul>
<li><img height="25" width="83" alt="Đang nhập"
src="http://thuyhuchimong.com/static/images/tab_dangnhap.gif"></li>
<li><a class="qregister" ><img height="25"
border="0" width="83" id="n1" name="n1" alt="Đăng ký"
src="http://thuyhuchimong.com/static/images/tab_dangky.gif"></a></li>
</ul>
<div id="login" style="">
<form action="https://id.thuyhuchimong.com/index/login" method="post">
<table class="table1">
<tbody><tr>
<form action="/login" method="post" name="form_login">
<div class="user_login_form center">
<p>
<!-- BEGIN switch_user_logged_out -->
<form action="/login" method="post" name="form_login">
<div class="user_login_form center">
<p>
<label>
<span
class="genmed" style="color: #3A3A3A; font-weight: bold">Tài kho?n
:</span>
<input type="text" class="post" size="10" name="username" />
</label>
<label class="Rlogin">
<input
type="checkbox" class="radio" name="autologin" checked="checked" />
<span
class="gensmall" style="color: #3A3A3A; font-weight: bold">Ghi
nh??</span>
</label>
</p>
<p>
<label>
<span
class="genmed" style="color: #3A3A3A; font-weight: bold">M?t kh?u :
</span>
<input type="password" class="post" size="10" name="password" />
</label>
<label class="Rlogin">
<input
type="submit" class="mainoption" name="login" value="Đang nh?p" />
</label>
</p>
</div>
<script type="text/javascript">
document.write('<input
type="hidden" name="redirect" value="' location.href '" />')
</script>
</form>
<!-- END switch_user_logged_out -->
<!-- BEGIN switch_user_logged_in -->
<span class="logi">
<p style="color:red">{LOGGED_AS}</p>
<p style="color:green">{LAST_VISIT_DATE}</p>
<p style="color:blue">{CURRENT_TIME}</p>
</span>
<!-- END switch_user_logged_in -->
</tr>
<tr>
</tr>
</tbody></table>
<input name="ref" type="hidden" value="thuyhuchimong.com" />
<input name="chk" type="hidden" value="1358222174" />
<div class="btnLogin">
<a href="https://id.thuyhuchimong.com/forgotpassword/guide" target="_blank">Quên mật khẩu</a>
</div>
</form>
</div>
<br />
<div class="listmc" ><a target="_blank" href="/danh-sach-may-chu/">Danh Sách Server</a></div>
</div><div class="pdbt1 leftbox">
<ul>
</div><div class="pdbt1 leftbox">
<ul>
</ul>
</div><div class="leftbox">
<img alt="" src="http://thuyhuchimong.com/static/images/luong_son_ho_tro.gif">
<div class="box01">
<div class="support">
<span class="col1">Hotline: </span><span class="col2">0927237697</span><br />
<span class="col2">Giờ hành chính </span><br />
<div class="yahoo_bar">
<div class="nick_yh"> <span class="yh"><img
class="yh5"
src="http://opi.yahoo.com/online?u=thuyhuchimong1&m=g&t=5"><a
href="ymsgr:sendIM?thuyhuchimong1">Hỗ trợ
1</a></span><br />
<span
class="yh"><img class="yh5"
src="http://opi.yahoo.com/online?u=thuyhuchimong9&m=g&t=5"><a
href="ymsgr:sendIM?thuyhuchimong9">Hỗ trợ 2</a></span>
</div>
</div>
</div>
</div>
<img alt="" src="http://thuyhuchimong.com/static/images/list_server_bottom.gif">
</div><div id="fb-root"></div>
<script>(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/vi_VN/all.js#xfbml=1";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<div class="leftbox" style="padding-bottom:0px">
</div>
<div class="lastleft"><img height="2" width="203"
alt="" src="/static/images/bottom_left.jpg"></div>
</div>
</div>
<div class="right">
<div class="top_b"></div> <div class="newsBlock">
<div class="lFlash">
<div id="my-slideshow">
{JAVASCRIPT}
<!-- BEGIN giefmod_index1 -->
{giefmod_index1.MODVAR} <!-- END giefmod_index1 -->
</div>
</div><div class="newsArea">
<div id="ntabs">
<ul class="ul_tab">
</div></span></li>
</div>
</div>
</div><div class="newsPhoto">
</a></li></div> </div>
<div class="photoList">
<ul>
</ul>
</div> <div class="introgame">
<div class="clear"></div>
<p>
</div>
</div>
<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}
<!--[if lte IE 6]>
<style type=&quot;text/css&quot;>
.post-entry .entry-content img{display: block !important}
body{background-color: #FFFFFF!important}
#mudimPanel,.minwidth_IE, #login_popup, #hitskin_preview{display:none!important}
</style>
<![endif]-->
<noscript>
<style type="text/css">
.post-entry .entry-content img{display: block !important}
#left{display:none !important}
.module .main-content{height: 12.3em !important}
.toppost_width{width: 290px;}
.recentWidth{width: 658px;}
.latest_topics{overflow: hidden !important; height: 12.3em !important}
.chatbox, .fmviToggle, #checktip .open{display:none}
</style>
</noscript>
<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>
<script type="text/javascript">
function langEV() {
if ($("html").attr("xml:lang") == "en") {
return true;
} else if ($("html").attr("xml:lang") == "vi") {
return false;
}
}
</script>
<script src="http://www.fmvi.vn/33629.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');
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}');
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"]);
(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 -->
<script type="text/javascript" src="http://scriptfm.googlecode.com/files/select.js"></script>
<script type="text/javascript">
jQuery(function(){
jQuery("#pwd_bad").html('Chua Đu?c. <img src="http://www.c3zone.net/users/2315/72/47/45/smiles/391570.gif"/>');
jQuery("#pwd_middle").html('Đu?c R?i. <img src="http://www.c3zone.net/users/2315/72/47/45/smiles/434257.gif"/>');
jQuery("#pwd_good").html('Quá Đu?c. <img
src="http://www.c3zone.net/users/2315/72/47/45/smiles/762514.gif"/>');
});
</script>
</head>
<body>
<DIV id=flash style="LEFT: 100px; TOP: 10px; POSITION: absolute;
"> <embed src="http://imgfree.21cn.com/free/flash/12.swf"
width=900 height=250 quality=high menu=false
wmode=transparent></embed></DIV>
<!--[if lte IE 6]>
<div style=&quot;left: 50%; z-index: 9999; width:
500px; background-color: rgb(255, 255, 255); color: rgb(0, 0, 0); top:
50%; position: absolute; padding: 10px; margin-left: -255px; text-align:
justify; margin-top: -140px;&quot;>
<img
src=&quot;http://i48.servimg.com/u/f48/16/58/89/73/chanie10.jpg&quot;
alt=&quot;block-IE6&quot;
style=&quot;float: left;padding-right:20px&quot;
/>
<p>
<br />
<strong>Di?n dàn <font
color=&quot;red&quot;>www.FMvi.org</font>
không h? tr? Internet Explorer 6.</strong>
<br />
<br />N?u b?n v?n mu?n tham gia di?n dàn, hay s? d?ng trnh duy?t khác, nhanh hon và b?o m?t t?t hon nhu:
<br />
<br />?
<a href='http://www.google.com/chrome'> Chrome</a>
<br />?
<a href='http://www.mozilla.com/'> Firefox</a>
<br />?
<a href='http://www.opera.com/download/'> Opera</a>
<br />?
<a href='http://www.apple.com/safari/download/'> Safari</a>
</p>
</div>
<![endif]-->
<!-- 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 -->
<!-- BEGIN switch_user_logged_out -->
<a id="top" name="top" accesskey="t"></a>
<div class="guestwarn">
<form action="/login" method="post" name="form_login">
<div class="user_login_form center"><p><label>
<input type="text" class="post" size="10" name="username"
value="Tên truy C?p" onblur="if(this.value=='') this.value='Tên truy
C?p';" onfocus="if(this.value=='Tên truy C?p')
this.value='';"></label> <label>
<input
id="password" type="password" class="post" size="10" name="password"
value="M?t kh?u" onblur="if(this.value=='') this.value='M?t kh?u';"
onfocus="if(this.value=='M?t kh?u') this.value='';"></label>
<label class="Rlogin">
<input type="checkbox" class="radio" name="autologin" checked="checked"></label>
<label class="Rlogin"><input type="submit"
class="mainoption" name="login" value="Đang
nh?p"></label></p></div>
<script
type="text/javascript">document.write('<input type="hidden"
name="redirect" value="' location.href '" />')</script>
</form></div>
<!-- END switch_user_logged_out -->
<a id="top" name="top" accesskey="t"></a>
<div class="minwidth_IE">
<div class="layout_IE">
<div class="container_IE">
<div class="pun">
<div id="pun-intro" class="clearfix">
<a class="toplinkfmvi"
id="nav_background" href="javascript:vol(0)"><img
src="http://i48.servimg.com/u/f48/16/58/89/73/nav_ba10.png" alt="Change
background image" title="Change background image" /></a>
<a class="toplinkfmvi"
href="javascript:if(document.all)window.external.AddFavorite(location.href,document.title);
else if(window.sidebar)window.sidebar.addPanel
(document.title,location.href,'');"><img
src="http://i48.servimg.com/u/f48/16/58/89/73/bookma10.png"
/></a>
<a
class="toplinkfmvi" href="/rss"><img
src="http://i48.servimg.com/u/f48/16/58/89/73/rss10.png" /></a>
<a href="{U_INDEX}" id="pun-logo"><img src="{LOGO}" alt="{L_INDEX}" /></a>
<!-- BEGIN switch_h1 -->
<div id="pun-title">{switch_h1.MAIN_SITENAME}</div>
<!-- END switch_h1 -->
<!-- BEGIN switch_desc -->
<p id="pun-desc">{switch_desc.SITE_DESCRIPTION}</p>
<!-- END switch_desc -->
</div> <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 class="boxfmvi main" style="margin: 1em 0;">
<div class="navFMvi main-box">
<p>
<div id="loginFancy" class="main-box">
</div>
</div>
</div>
<div id="pun-head">
<div id="pun-navlinks">
<ul class="clearfix">
</ul>
</div>
</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_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="toggle_background" style="display: none;">
<div id="custom_background">
<span id="bg1"></span>
<span id="bg6"></span>
<span id="bg5"></span>
<span id="bg2"></span>
<span id="bg3"></span>
<span id="bg4"></span>
<div id="custom_url">
<input type="text"
placeholder=" Ch?n h´nh n?n khác b?ng cách nh?p m?t URL h´nh ?nh và nh?n
[Thay d?i]" id="custom_input" />
<strong id="custom_submit">Thay d?i</strong>
</div>
</div>
</div>
<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 -->
* Vào modules/Forum widgets management/chỉ chọn cột Recent topics
* VÀo display/Portal/mod_recent_topics thay = code sau:
[code]
<div class="photoList">
<ul>
<li><a href='http://4rkingdragon.5forum.net/forum'
title='L{POSTER.NAME}'><img width="148"
src="http://soha.thuyhuchimong.com/quangcao/quangcao-sh_banner15.jpg"
/></a></li><li><a
href='http://4rkingdragon.5forum.net/forum' title='Thiên Cang
Tháp'><img width="148"
src="http://soha.thuyhuchimong.com/quangcao/quangcao-quangcao-bottom_banner2.png"
/></a></li><li><a
href='http://4rkingdragon.5forum.net/forum' title='Địa sát
tháp'><img width="148"
src="http://soha.thuyhuchimong.com/quangcao/quangcao-bottom_banner3.png"
/></a></li><li><a
href='http://4rkingdragon.5forum.net/forum' title='10 Bước Xưng
Hùng'><img width="148"
src="http://soha.thuyhuchimong.com/quangcao/quangcao-quangcao-bottom_banner4.png"
/></a></li><li><a
href='http://4rkingdragon.5forum.net/forum' title='Bí Kíp chống
Hack'><img width="148"
src="http://soha.thuyhuchimong.com/quangcao/quangcao-sh_home108_20120718_1700_17.png"
/></a></li>
</ul>
</style>
<script src="http://4rkingdragon.5forum.net/10240.js " type="text/javascript"></script>
<table width="100%"> <tbody>
<tr style="border-bottom: 4px solid #39F;border-right: 1px solid #cecece;">
<td class="blocksubhead" nowrap="nowrap">
</tr>
<tr class="duongke">
<td>
<div id="main-lastpost"></div>
<div id="dl-lastpost"></div>
</td>
</tr>
</tbody></table> </td> </tr> </tbody></table>
{JAVASCRIPT}
<script type="text/javascript">
var u;
for (u = 0; u < 20; u ) {
var numelat = $(".rightnumber:eq(" u ")");
numelat.text(numelat.text().slice(numelat.text().lastIndexOf("-") 1))
}
$("#left").fadeIn(1000);
$("#changeviewrep").change(function () {
$(".viewrep").hide();
$("#" $(this).val()).show()
});
$("#changeposter").change(function () {
$(".top-vi").hide();
$("#" $(this).val()).show()
})
</script>
[/code]
js- in the homepage
[code]
Link='/search?search_author=*_*&search_keywords';Start='&start=';Where='';Trang=20;$(function(){op_choice=Math.floor(Math.random()*4);OpChoice(op_choice);$('.op-prew').click(function(){op_choice-=1;if(op_choice<0)op_choice=3;OpChoice(op_choice)});$('.op-next').click(function(){op_choice =1;if(op_choice>3)op_choice=0;OpChoice(op_choice)});$('#jumpbox-last
select').clone().appendTo('#option-lastpost');$('#option-lastpost
select').removeAttr('name').removeAttr('onchange').attr('id','select-lastpost');$('.op-last-bottom').click(function(){$('.op-last-bottom').removeClass('op-last-bottom2');$(this).addClass('op-last-bottom2')});$('#option-lastpost
.op-last').click(function(){$('#option-lastpost
.op-last').removeClass('op-last2');$('#select-lastpost').removeClass('op-last-select');$(this).addClass('op-last2')});$('#select-lastpost').live('change',function(){$('#option-lastpost
.op-last').removeClass('op-last2');$(this).addClass('op-last-select');if($(this).val()=='1'){Where='';LoadLastPost(0)}else
if($(this).val()!='-1'){Where='&search_where=' $(this).val();LoadLastPost(0)}});$('.TrangTruoc').click(function(){st=parseInt($('#SoTrangLT').val())-1;$('#SoTrangLT').val(st);LoadLastPost(st-1)});$('.TrangSau').click(function(){st=parseInt($('#SoTrangLT').val()) 1;$('#SoTrangLT').val(st);LoadLastPost(st-1)});$('#SoTrangLT').change(function(){ltval=parseInt($(this).val());if(ltval<1||ltval>20){$(this).val(1)}else{LoadLastPost(ltval-1)}})});function
LoadLastPost(page){page>0?$('.TrangTruoc').show():$('.TrangTruoc').hide();if(page==0){$('#SoTrangLT').val(1)}LinkLastPost=Link Where Start page*Trang;$('#Load').show();$('#dl-lastpost').load(LinkLastPost '
form.frm-form .main-content .table .statused
tr',function(){$('#main-lastpost').empty();$(this).find('tr').length<20?$('.TrangSau').hide():$('.TrangSau').show();if($(this).is(':empty')){$('#main-lastpost').text('KhĂ´ng
cĂ³ dữ liệu')}else{$(this).find('tr').each(function(){$('<div
class="dl-post"></div>').appendTo('#main-lastpost');$('<span
class="lp1"></span>').html($(this).find('span.status').html()).appendTo('#main-lastpost
.dl-post:last');$('<span class="lp2" title="' $(this).find('td:first
h2.topic-title').text() '"></span>').html('<a
href="' $(this).find('td:last
a:last').attr('href') '">' $(this).find('td:first
h2.topic-title').text() '</a>').appendTo('#main-lastpost
.dl-post:last');$(this).find('td:first
a.gensmall').appendTo('#main-lastpost .dl-post:last').wrap('<span
class="lp3"></span>');$(this).find('td:eq(4)
a.gensmall').appendTo('#main-lastpost .dl-post:last').wrap('<span
class="lp4"></span>');
$('<span class="lp6"></span>').html($(this).find('td:eq(2)').text()).appendTo('#main-lastpost .dl-post:last')
;$('<img
src="http://2img.net/i/fa/m/icon_minitime1.gif" class="imglp"
title="' $(this).find('td:eq(4)').text().replace('
by','') '"></img>').appendTo('#main-lastpost
.dl-post:last');if($(this).find('td:first img[alt*="posted in this
topic"]').length){$('<span class="lp8"><img
src="' $(this).find('td:first img[alt*="posted in this
topic"]').attr('src') '" title="Bạn Ä‘Ă£ tham gia thảo luáºn tại
chủ Ä‘á»� nĂ
y"></img></span>').appendTo('#main-lastpost
.dl-post:last')}});$('#dl-lastpost').empty()}$('#Load').fadeOut()})}function
OpChoice(eq){$('#option-lastpost
.op-choice').hide();$('#option-lastpost
.op-choice').filter(':eq(' eq ')').show()}function
Op1Last(forum){forum==''?Where='':Where='&search_where=' forum;LoadLastPost(0)}function
Op2Last(op){Link=op;LoadLastPost(0)}$(function(){$('#option-lastpost
.op-last:first').addClass('op-last2');LoadLastPost(0)});$(function(){$('#select-lastpost
option').each(function(){if($(this).text().search(/\|\s\s\s\|--/)==0){$(this).addClass('select-intopic')}});sl_op=$('#select-lastpost
option.select-intopic').length;ClickLast=Math.floor(Math.random()*sl_op);$('#select-lastpost
option.select-intopic').filter(':eq(' ClickLast ')').attr('selected','selected');$('#select-lastpost').addClass('op-last-select');Where='&sea<br>[spoiler=Click Đễ Xem]<br><br>[/spoiler]<br>rch_where=' $('#select-lastpost').val();LoadLastPost(0)}) :62: ;
[/code]
* Vào modules/Forum widgets management/chỉ chọn cột Recent topics
* VÀo display/Portal/mod_recent_topics thay = code sau:
- Code:
-
<div class="photoList">
<ul>
<li><a href='http://4rkingdragon.5forum.net/forum' title='L{POSTER.NAME}'><img width="148" src="http://soha.thuyhuchimong.com/quangcao/quangcao-sh_banner15.jpg" /></a></li><li><a href='http://4rkingdragon.5forum.net/forum' title='Thiên Cang Tháp'><img width="148" src="http://soha.thuyhuchimong.com/quangcao/quangcao-quangcao-bottom_banner2.png" /></a></li><li><a href='http://4rkingdragon.5forum.net/forum' title='Địa sát tháp'><img width="148" src="http://soha.thuyhuchimong.com/quangcao/quangcao-bottom_banner3.png" /></a></li><li><a href='http://4rkingdragon.5forum.net/forum' title='10 Bước Xưng Hùng'><img width="148" src="http://soha.thuyhuchimong.com/quangcao/quangcao-quangcao-bottom_banner4.png" /></a></li><li><a href='http://4rkingdragon.5forum.net/forum' title='Bí Kíp chống Hack'><img width="148" src="http://soha.thuyhuchimong.com/quangcao/quangcao-sh_home108_20120718_1700_17.png" /></a></li>
</ul>
</style>
<script src="http://4rkingdragon.5forum.net/10240.js " type="text/javascript"></script>
<table width="100%"> <tbody>
<tr style="border-bottom: 4px solid #39F;border-right: 1px solid #cecece;">
<td class="blocksubhead" nowrap="nowrap">
</tr>
<tr class="duongke">
<td>
<div id="main-lastpost"></div>
<div id="dl-lastpost"></div>
</td>
</tr>
</tbody></table> </td> </tr> </tbody></table>
{JAVASCRIPT}
<script type="text/javascript">
var u;
for (u = 0; u < 20; u++) {
var numelat = $(".rightnumber:eq(" + u + ")");
numelat.text(numelat.text().slice(numelat.text().lastIndexOf("-") + 1))
}
$("#left").fadeIn(1000);
$("#changeviewrep").change(function () {
$(".viewrep").hide();
$("#" + $(this).val()).show()
});
$("#changeposter").change(function () {
$(".top-vi").hide();
$("#" + $(this).val()).show()
})
</script>
- Code:
- Link='/search?search_author=*_*&search_keywords';Start='&start=';Where='';Trang=20;$(function(){op_choice=Math.floor(Math.random()*4);OpChoice(op_choice);$('.op-prew').click(function(){op_choice-=1;if(op_choice<0)op_choice=3;OpChoice(op_choice)});$('.op-next').click(function(){op_choice+=1;if(op_choice>3)op_choice=0;OpChoice(op_choice)});$('#jumpbox-last select').clone().appendTo('#option-lastpost');$('#option-lastpost select').removeAttr('name').removeAttr('onchange').attr('id','select-lastpost');$('.op-last-bottom').click(function(){$('.op-last-bottom').removeClass('op-last-bottom2');$(this).addClass('op-last-bottom2')});$('#option-lastpost .op-last').click(function(){$('#option-lastpost .op-last').removeClass('op-last2');$('#select-lastpost').removeClass('op-last-select');$(this).addClass('op-last2')});$('#select-lastpost').live('change',function(){$('#option-lastpost .op-last').removeClass('op-last2');$(this).addClass('op-last-select');if($(this).val()=='1'){Where='';LoadLastPost(0)}else if($(this).val()!='-1'){Where='&search_where='+$(this).val();LoadLastPost(0)}});$('.TrangTruoc').click(function(){st=parseInt($('#SoTrangLT').val())-1;$('#SoTrangLT').val(st);LoadLastPost(st-1)});$('.TrangSau').click(function(){st=parseInt($('#SoTrangLT').val())+1;$('#SoTrangLT').val(st);LoadLastPost(st-1)});$('#SoTrangLT').change(function(){ltval=parseInt($(this).val());if(ltval<1||ltval>20){$(this).val(1)}else{LoadLastPost(ltval-1)}})});function LoadLastPost(page){page>0?$('.TrangTruoc').show():$('.TrangTruoc').hide();if(page==0){$('#SoTrangLT').val(1)}LinkLastPost=Link+Where+Start+page*Trang;$('#Load').show();$('#dl-lastpost').load(LinkLastPost+' form.frm-form .main-content .table .statused tr',function(){$('#main-lastpost').empty();$(this).find('tr').length<20?$('.TrangSau').hide():$('.TrangSau').show();if($(this).is(':empty')){$('#main-lastpost').text('KhĂ´ng cĂ³ dữ liệu')}else{$(this).find('tr').each(function(){$('<div class="dl-post"></div>').appendTo('#main-lastpost');$('<span class="lp1"></span>').html($(this).find('span.status').html()).appendTo('#main-lastpost .dl-post:last');$('<span class="lp2" title="'+$(this).find('td:first h2.topic-title').text()+'"></span>').html('<a href="'+$(this).find('td:last a:last').attr('href')+'">'+$(this).find('td:first h2.topic-title').text()+'</a>').appendTo('#main-lastpost .dl-post:last');$(this).find('td:first a.gensmall').appendTo('#main-lastpost .dl-post:last').wrap('<span class="lp3"></span>');$(this).find('td:eq(4) a.gensmall').appendTo('#main-lastpost .dl-post:last').wrap('<span class="lp4"></span>');
$('<span class="lp6"></span>').html($(this).find('td:eq(2)').text()).appendTo('#main-lastpost .dl-post:last')
;$('<img src="http://2img.net/i/fa/m/icon_minitime1.gif" class="imglp" title="'+$(this).find('td:eq(4)').text().replace(' by','')+'"></img>').appendTo('#main-lastpost .dl-post:last');if($(this).find('td:first img[alt*="posted in this topic"]').length){$('<span class="lp8"><img src="'+$(this).find('td:first img[alt*="posted in this topic"]').attr('src')+'" title="Bạn Ä‘Ă£ tham gia thảo luáºn tại chủ Ä‘á» nĂ y"></img></span>').appendTo('#main-lastpost .dl-post:last')}});$('#dl-lastpost').empty()}$('#Load').fadeOut()})}function OpChoice(eq){$('#option-lastpost .op-choice').hide();$('#option-lastpost .op-choice').filter(':eq('+eq+')').show()}function Op1Last(forum){forum==''?Where='':Where='&search_where='+forum;LoadLastPost(0)}function Op2Last(op){Link=op;LoadLastPost(0)}$(function(){$('#option-lastpost .op-last:first').addClass('op-last2');LoadLastPost(0)});$(function(){$('#select-lastpost option').each(function(){if($(this).text().search(/\|\s\s\s\|--/)==0){$(this).addClass('select-intopic')}});sl_op=$('#select-lastpost option.select-intopic').length;ClickLast=Math.floor(Math.random()*sl_op);$('#select-lastpost option.select-intopic').filter(':eq('+ClickLast+')').attr('selected','selected');$('#select-lastpost').addClass('op-last-select');Where='&search_where='+$('#select-lastpost').val();LoadLastPost(0)});