***ồn: 4all.biz[/td][/tr][/table]ACP> Display> Templates> Portals
tìm những mục tương ưng và thay toàn bộ codes
bấm save rùi :ok:
1. mod_recent_topics
- Spoiler:
- Code:
th,td,p {
font-family: Tahoma,Verdana,Arial,Helvetica,sans-serif }
/* Style cho menu tabs */div.TabView div.Tabs{height: 32px; /* chiều cao của tab menu */overflow: hidden;}div.TabView div.Tabs: hover,{height: 32px; /* chiều cao của tab menu */overflow: hidden;}div.TabView div.Tabs a , div.TabView div.Tabs a:hover {float: left;display: block;background-color:#;text-align: center;height: 29px;padding: 6px;vertical-align: middle;border:1px solid #b4d0f3;border-top: 0px;border-left: 0px;border-bottom: 0px; /* đường viền quanh tabs menu */text-decoration: none!important;font-family: Tahoma;font-size: 11px;color: #000000;}.hotrott{background-color: #ffffff;border: 0px solid #ded7d7;}.nen{background-color: #ffffff;border: 1px solid #ded7d7;}div.TabView div.Tabs a.Active{background-color: #ffffff; /* màu nền tab menu active */color: #000000;border:1px solid #b4d0f3;border-top: 0px;border-left: 0px;border-bottom: 0px; padding: 6px;height: 29px;font-size: 11px;font-weight: bold;}/* Style cho phần text nội dung của mỗi tab */div.TabView {clear: both;border: 0px solid #ffffff;overflow: hidden; /* giá trị là auto nếu muốn hiện scroll bar */}div.TabView div.Pages div.Page{height: 100%;padding: 0px;border: 0px solid #b4d0f3;overflow: hidden; /* giá trị là auto nếu muốn hiện scroll bar */}
[url=http://www.cntt-k3.biz/javascript:tabview_switch('TabView', 1);]Bài viết mới[/url][url=http://www.cntt-k3.biz/]Topic trả lời nhiều nhất[/url][url=http://www.cntt-k3.biz/]Topics được xem nhiều nhất[/url][url=http://www.cntt-k3.biz/]Thống kê[/url][url=http://www.cntt-k3.biz/]Forumotion[/url]
[list]
[*]
[/list]
[table class="tborder" style="border-bottom-width: 0px;" align="center" border="0" cellpadding="0" cellspacing="0" width="100%"][tr valign="top"][td style="padding: 0px; background: rgb(255, 255, 255) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;" width="100%"]
[table border="0" cellpadding="0" cellspacing="0" width="100%"][tr valign="top"][td style="border-top: 0px none; padding: 0px; background: transparent url(http://i1122.photobucket.com/albums/l525/liger1723/linhtinh/list50.gif) no-repeat scroll center top; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;" width="24"][img]http://2img.net/i/fa/empty.gif[/img][/td] [td style="border-top: 0px none; padding: 0px; line-height: 20px; background-repeat: repeat;" background="http://i61.servimg.com/u/f61/15/61/17/20/listbg13.gif"]
<table border="0" class="lbb" cellpadding="0" cellspacing="0" width="100%"><tr valign="bottom"><td style="height: 20px" width="74%">[url=http://www.cntt-k3.biz/{classical_row.recent_topic_row.U_TITLE}][font=Tahoma]{classical_row.recent_topic_row.L_TITLE}[/font][/url]</td><td style="height: 20px" width="26%" align="right">[url=http://www.cntt-k3.biz/{classical_row.recent_topic_row.switch_poster.U_POSTER}]
{classical_row.recent_topic_row.switch_poster.S_POSTER}[/url]
</td></tr></table>
[/td][/tr][/table][/td][/tr][/table]
jQuery(".lbb:contains('♥')").remove();
jQuery(".lbb:contains('»')").remove();
2. mod_most_active_starters
- Spoiler:
- Code:
[table class="tborder" style="border-bottom-width: 0px;" align="center" border="0" cellpadding="0" cellspacing="0" width="100%"][tr][td]
[table align="center" border="0" cellpadding="0" cellspacing="0" width="100%"][/table][/td][/tr][tr][/tr][/table]
[table border="0" cellpadding="0" cellspacing="0" width="100%"][tr valign="top"][td style="border-top: 0px none; padding: 0px; background: transparent url(http://i1036.photobucket.com/albums/a449/a1tinhgia3/image/list.gif) no-repeat scroll center top; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;" width="24" height="200"][img]http://2img.net/i/fa/empty.gif[/img][/td][td style="border-top: 0px none; padding: 0px; line-height: 20px; background-repeat: repeat;" background="http://i1036.photobucket.com/albums/a449/a1tinhgia3/image/listbg.gif"][font=Tahoma] {POSTER.NAME}[/font]
[/td][/tr][/table]
3. mod_most_active_topics
- Spoiler:
- Code:
[table border="0" cellpadding="0" cellspacing="0" width="100%"][tr valign="top"][td style="border-top: 0px none; padding: 0px; background: transparent url(http://i24.servimg.com/u/f24/13/54/69/46/list12.gif) no-repeat scroll center top; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;" width="24"][img]http://2img.net/i/fa/empty.gif[/img][/td][td style="border-top: 0px none; padding: 0px; line-height: 20px; background-repeat: repeat;" background="http://i24.servimg.com/u/f24/13/54/69/46/listbg13.gif"]
[table border="0" class="lbb" cellpadding="0" cellspacing="0" width="100%"][tr valign="bottom"][td style="height: 20px" width="74%"][url=http://www.cntt-k3.biz/{TOPIC.LINK}][font=Tahoma]{TOPIC.NAME}[/font][/url][/td][td style="height: 20px" width="26%" align="right"][font=Tahoma] Trả lời{TOPIC.TITLE}[/font][/td][/tr][/table]
[/td][/tr][/table]$(".a1view").each(function(){$(this).html(parseInt($(this).text().replace(/^[\s\S]*-\s+(\d+)\s+[\s\S]*$/m, '$1')));});
4. mod_most_viewed_topics
- Spoiler:
- Code:
[table class="tborder" style="border-bottom-width: 0px;" align="center" border="0" cellpadding="0" cellspacing="0" width="100%"][tr][td]
[table align="center" border="0" cellpadding="0" cellspacing="0" width="100%"][/table][/td][/tr][tr][td style="padding: 0px; background: rgb(255, 255, 255) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;" width="100%"][table border="0" cellpadding="0" cellspacing="0" width="100%"][tr valign="top"][td style="border-top: 0px none; padding: 0px; background: transparent url(http://i24.servimg.com/u/f24/13/54/69/46/list12.gif) no-repeat scroll center top; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;" width="24"][img]http://2img.net/i/fa/empty.gif[/img][/td][td style="border-top: 0px none; padding: 0px; line-height: 20px; background-repeat: repeat;" background="http://i24.servimg.com/u/f24/13/54/69/46/listbg13.gif"]
<table border="0" class="lbb" cellpadding="0" cellspacing="0" width="100%"><tr valign="bottom"><td style="height: 20px" width="74%">[url=http://www.cntt-k3.biz/{TOPIC.LINK}][font=Tahoma]{TOPIC.NAME}[/font][/url]</td><td style="height: 20px" width="26%" align="right">[font=Tahoma] lượt xem{TOPIC.TITLE}[/font]</td></tr></table>
[/td][/tr][/table][/td][/tr][/table]$(".a1view").each(function(){$(this).html(parseInt($(this).text().replace(/^[\s\S]*-\s+(\d+)\s+[\s\S]*$/m, '$1')));});
[table class="tborder" style="border-bottom-width: 0px;" align="center" border="0" cellpadding="0" cellspacing="0" width="100%"][tr][td]
[table align="center" border="0" cellpadding="0" cellspacing="0" width="100%"][/table][/td][/tr][tr][td style="padding: 0px; background: rgb(255, 255, 255) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;" width="100%"][table border="0" cellpadding="0" cellspacing="0" width="100%"][tr valign="top"][td style="border-top: 0px none; padding: 0px; background: transparent url(http://i24.servimg.com/u/f24/13/54/69/46/list12.gif) no-repeat scroll center top; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;" width="24"][img]http://2img.net/i/fa/empty.gif[/img][/td][td style="border-top: 0px none; padding: 0px; line-height: 20px; background-repeat: repeat;" background="http://i24.servimg.com/u/f24/13/54/69/46/listbg13.gif"]
[url=http://www.cntt-k3.biz//search.forum?search_id=activetopics][font=Tahoma]Bài viết trong ngày[/font][/url][font=Tahoma]
[url=http://www.cntt-k3.biz//stats.htm#10][font=Tahoma]Các bài viết trong tháng[/font][/url][font=Tahoma]
[url=http://www.cntt-k3.biz//stats.htm#2][font=Tahoma]Thống kê tổng thể[/font][/url][font=Tahoma]
[url=http://www.cntt-k3.biz//stats.htm#3][font=Tahoma]Topic sôi nổi nhất[/font][/url][font=Tahoma]
[url=http://www.cntt-k3.biz//stats.htm#4][font=Tahoma]Topic xem nhiều nhất[/font][/url][font=Tahoma]
[url=http://www.cntt-k3.biz//stats.htm#5][font=Tahoma]Thành viên có nhiều chủ đề nhất[/font][/url][font=Tahoma]
[url=http://www.cntt-k3.biz//stats.htm#6][font=Tahoma]Thành viên post bài nhiều nhất trong một tuần[/font][/url][font=Tahoma]
[url=http://www.cntt-k3.biz//stats.htm#7][font=Tahoma]Thành viên post bài nhiều nhất trong tháng[/font][/url][font=Tahoma]
[url=http://www.cntt-k3.biz//stats.htm#8][font=Tahoma]Top poster[/font][/url][font=Tahoma]
[url=http://www.cntt-k3.biz//stats.htm#9][font=Tahoma]Số topic trong tháng[/font][/url]
[/font][/font][/font][/font][/font][/font][/font][/font][/font][/td][/tr][/table][/td][/tr][/table]
[table class="tborder" style="border-bottom-width: 0px;" align="center" border="0" cellpadding="0" cellspacing="0" width="100%"][tr][td]
[table align="center" border="0" cellpadding="0" cellspacing="0" width="100%"][/table][/td][/tr][tr][td style="padding: 0px; background: rgb(255, 255, 255) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;" width="100%"][table border="0" cellpadding="0" cellspacing="0" width="100%"][tr valign="top"][td style="border-top: 0px none; padding: 0px; background: transparent url(http://i24.servimg.com/u/f24/13/54/69/46/list12.gif) no-repeat scroll center top; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;" width="24"][img]http://2img.net/i/fa/empty.gif[/img][/td][td style="border-top: 0px none; padding: 0px; line-height: 20px; background-repeat: repeat;" background="http://i24.servimg.com/u/f24/13/54/69/46/listbg13.gif"]
[url=http://4ALL.yourme.net/f66-forum][font=Tahoma]HD tổng quát[/font][/url][font=Tahoma]
[url=http://4ALL.yourme.net/f43-forum][font=Tahoma]Codes[/font][/url][font=Tahoma]
[url=http://4ALL.yourme.net/f51-forum][font=Tahoma]Skins[/font][/url][font=Tahoma]
[url=http://4ALL.yourme.net/t2374-topic][font=Tahoma]Tổng hợp Skins[/font][/url]
[/font][/font][/font][/td][/tr][/table][/td][/tr][/table]
tabview_initialize('TabView');
#topbar{ PADDING-TOP: 0px;PADDING-BOTTOM: 0px;PADDING-RIGHT: 0px; PADDING-LEFT: 0px;VISIBILITY: hidden;WIDTH: 180px;FONT-FAMILY: Tahoma;POSITION: absolute;}
var persistclose = 0
var startX = 80var startY = 500var verticalpos = "frombottom"function iecompattest(){return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body}function get_cookie(Name){var search = Name + "="var returnvalue = "";if (document�cookie.length > 0){offset = document�cookie.indexOf(search)if (offset != -1){offset += search.lengthend = document�cookie.indexOf(";", offset);if (end == -1) end = document�cookie.length;returnvalue=unescape(document�cookie.substring(offset, end))}}return returnvalue;}function closebar(){if (persistclose)document�cookie="remainclosed=1"document.getElementById("topbar").style.visibility="hidden"}function staticbar(){barheight=document.getElementById("topbar").offsetHeightvar ns = (navigator.appName.indexOf("Netscape") != -1) || window.opera;var d = document;function ml(id){var el=d.getElementById(id);if (!persistclose || persistclose && get_cookie("remainclosed")=="")el.style.visibility="visible"if(d.layers)el.style=el;el.sP=function(x,y){this.style.right=x+"px";this.style.top=y+"px";};el.x = startX;if (verticalpos=="fromtop")el.y = startY;else{el.y = ns ? pageYOffset + innerHeight : iecompattest().scrollTop + iecompattest().clientHeight;el.y -= startY;}return el;}window.stayTopLeft=function(){if (verticalpos=="fromtop"){var pY = ns ? pageYOffset : iecompattest().scrollTop;ftlObj.y += (pY + startY - ftlObj.y)/8;}else{var pY = ns ? pageYOffset + innerHeight - barheight: iecompattest().scrollTop + iecompattest().clientHeight - barheight;ftlObj.y += (pY - startY - ftlObj.y)/8;}ftlObj.sP(ftlObj.x, ftlObj.y);setTimeout("stayTopLeft()", 10);}ftlObj = ml("topbar");stayTopLeft();}if (window.addEventListener)window.addEventListener("load", staticbar, false)else if (window.attachEvent)window.attachEvent("onload", staticbar)else if (document.getElementById)window.onload=staticbar
5. mod_top_posters
- Spoiler:
- Code:
[table width="100%" border="0" cellspacing="0" cellpadding="0"][tr][td style="padding: 0px; background: rgb(255, 255, 255) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;" width="100%"]
[list]
[*]
function showstuff(value){
document.getElementById("poster").style.display = (value == "poster") ? "block" : "none";
document.getElementById("poster1").style.display = (value == "poster1") ? "block" : "none";
document.getElementById("poster2").style.display = (value == "poster2") ? "block" : "none";
document.getElementById("poster3").style.display = (value == "poster3") ? "block" : "none";
}
Top poster Top mở chủ đề Top poster tuần Top poster tháng
[/list]
[table border="0" cellpadding="0" cellspacing="0" width="100%"][tr valign="top"][td style="border-top: 0px none; padding: 0px; background: transparent url(http://i1036.photobucket.com/albums/a449/a1tinhgia3/image/list.gif) no-repeat scroll center top; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;" width="24" height="200"][img]http://2img.net/i/fa/empty.gif[/img][/td][td style="border-top: 0px none; padding: 0px; line-height: 20px; background-repeat: repeat;" background="http://i1036.photobucket.com/albums/a449/a1tinhgia3/image/listbg.gif"][font=Tahoma] {POSTER.NAME}[/font]
[/td][/tr][/table]
6. mod_top_post_users_month
- Spoiler:
- Code:
[table border="0" cellpadding="0" cellspacing="0" width="100%"][tr valign="top"][td style=" border-top: 0px none; padding: 0px; background: transparent url(http://i1036.photobucket.com/albums/a449/a1tinhgia3/image/list.gif) no-repeat scroll center top; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;" width="24" height="200"][img]http://2img.net/i/fa/empty.gif[/img][/td][td style="border-top: 0px none; padding: 0px; line-height: 20px; background-repeat: repeat;" background="http://i1036.photobucket.com/albums/a449/a1tinhgia3/image/listbg.gif"][font=Tahoma] {POSTER.NAME}[/font]
[/td][/tr][/table]
7. mod_top_post_users_week
- Spoiler:
- Code:
[table border="0" cellpadding="0" cellspacing="0" width="100%"][tr valign="top"][td style="border-top: 0px none; padding: 0px; background: transparent url(http://i1036.photobucket.com/albums/a449/a1tinhgia3/image/list.gif) no-repeat scroll center top; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;" width="24" height="200"][img]http://2img.net/i/fa/empty.gif[/img][/td][td style="border-top: 0px none; padding: 0px; line-height: 20px; background-repeat: repeat;" background="http://i1036.photobucket.com/albums/a449/a1tinhgia3/image/listbg.gif"][font=Tahoma] {POSTER.NAME}[/font]
[/td][/tr][/table]
8. Chèn đoạn codes sau vào trên cùng của Index_body
ACP> Display> Templates> General - QLTT> Index_body
bấm save rùi :ok:
- Spoiler:
- Code:
[table class="thongke" cellpadding="5" cellspacing="0" style="border: 1px #ded7d7 solid;" border="0" width="100%" align="center"] [tr valign="top"] [td class="tcat"][color=white]Forum 4ALL[/color][/td] [/tr] [tr] [td width="100%"]
<table class="thongke" cellpadding="0" cellspacing="2" border="0" width="100%" align="center"> <tr valign="top"> <td width="27%"></td><td width="100%" colspan="2"></td> </tr> <tr> <td>
<table class="thongke" cellpadding="0" cellspacing="0" border="0" width="100%" align="center"><tr><td colspan="3">
[list]
[*]Forum 4ALL
[/list]
{giefmod_index1.MODVAR}
</td> <td valign="top" width="100%">
</td> </tr> </table>
</td> </tr> </table>
10. kích hoạt và vị trí sắp xếp widgets
ACP> Module> Portal & Widgets> Widget Management
kích hoạt và sắp xếp các widgets theo hình dưới
chỉnh sửa recent topics / top posters thì coi thêm bên tdyt hén
- Spoiler:
11. chèn vào cuối CSS
ACP> Display> Colors & Pics> Colors> CSS stylesheet
chèn thêm vô cuối CSS - rứa cho dễ, chứ chèn trên cùng cũng ok.
bấm nút submit
- Spoiler:
- Code:
/* tabs-------------------------------------------------------------*/
.tabs { margin: 0; padding: 0;}
.tabs { padding-bottom: 31px; margin-bottom: 15px; background: #e5effe; border-bottom: 1px solid #b4d0f3; }
.tabs li { list-style: none;float: left; line-height: 30px; border-right: 1px solid #b4d0f3; height: 30px; font-size: 11px;}
.tabs li.current { background: #FFF; height: 32px; font-weight: bold; }
.mainbox { background: #FFF; border: 1px solid #9DB3C5; margin-bottom: 6px; padding: 1px;}
.mainbox table { width: 100%; }
#dhtmlpointer, #dhtmltooltip
{
z-index: 999;
left: -300px; top:0px;
visibility: hidden;
position: absolute;
}
#dhtmltooltip
{
border: #666 2.4px solid;
-moz-opacity: 0.8;
opacity: 0.8;
filter: alpha(opacity=80);
-moz-border-radius: 6px;
-webkit-border-radius: 6px;
padding: 10px;
font-size: 9pt;
font-family: Arial;
background-color: white;
width: auto;
max-width: 340px;
width:expression( document.body.clientWidth > 340? "340px": "auto" );
text-align:left;
}
12. Thay hoặc thêm Tab
- Spoiler:
- có thể thay Tab "Forumotion" của nhà 4ALL bằng một Tab khác tùy ý
- hoặc thêm một Tab mới vào
[You must be registered and logged in to see this link.]
|
|