Cộng Đồng IT-VN
Bạn có muốn phản ứng với tin nhắn này? Vui lòng đăng ký diễn đàn trong một vài cú nhấp chuột hoặc đăng nhập để tiếp tục.

Cộng Đồng IT-VN

Giao lưu, chia sẻ, trao đổi và học hỏi kinh nghiệm
 
Trang ChínhTrang Chính  Latest imagesLatest images  Tìm kiếmTìm kiếm  Đăng kýĐăng ký  Đăng NhậpĐăng Nhập  

 

 Tạo lattopic & Top poster

Go down 
3 posters
Tác giảThông điệp
loveforever
Quản trị forum
Quản trị forum
loveforever


Giới tính : Nam
Tuổi : 33
Posts : 445
Points : 961
Thanked : 149
Công việc : Sinh viên CNTT
Cung hoàng đạo : Pisces
Tham gia ngày : 23/01/2011
Đến từ : http://cnttv.net

Tài sản
Huy chương:

Tạo lattopic & Top poster  Empty
Bài gửiTiêu đề: Tạo lattopic & Top poster    Tạo lattopic & Top poster  I_icon_minitimeWed Feb 16, 2011 9:21 am

1. mod_new( Thay toàn bộ core)
Code:
<tbody>
<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://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"><img src="http://2img.net/i/fa/empty.gif" width="24" border="0"></td><td style="border-top: 0px none; padding: 0px; line-height: 20px; background-repeat: repeat;" align="left" background="http://i1036.photobucket.com/albums/a449/a1tinhgia3/image/listbg.gif"><!-- BEGIN post_row --><div style="height: 20px"><a onmouseover="show_tooltip(this,'<b>Tiêu đề:</b> <font color=#4cff48>{post_row.TITLE}</font><br> <b>Thời gian:</b> <font color=#ded800>{post_row.TIME}</font><br><b>Trả lời:</b> <font color=#48f7ff> {post_row.REPLIES} lượt trả lời cho bài này</font>','Tooltip');" href="{post_row.U_VIEW_COMMENTS}"><b><font style="font-family: Tahoma; font-size: 11px">{post_row.TITLE}</font></b></a></div><!-- END post_row --></td><td></td><td style="border-top: 0px none; padding-top: 0px; line-height: 20px; background: #fff url(http://i1036.photobucket.com/albums/a449/a1tinhgia3/image/listbg.gif) repeat 0px 0px;" align="right" width="20%"><!-- BEGIN post_row --><div style="height: 20px"><a onmouseover="show_tooltip(this,'click xem nội dung','Tác giả');"  href="{post_row.U_VIEW_COMMENTS}"><font style="font-family: Tahoma; font-size: 11px">{post_row.POSTER}  </font></a></div><!-- END post_row --></td></tr></table></td></tr></tbody></table>
</div>
<div class="Page" style="padding-top: 8px;"><table class="tborder" style="border-bottom-width: 0px;" align="center" border="0" cellpadding="0" cellspacing="0" width="100%"><tbody><tr>
<td>

<table align="center" border="0" cellpadding="0" cellspacing="0" width="100%">
<tbody>
</table></td></tr></tbody>
<tbody>
<tr><td style="padding-top: 8px; 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://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"><img src="http://2img.net/i/fa/empty.gif" width="24" border="0"></td><td style="border-top: 0px none; padding: 0px; line-height: 20px; background-repeat: repeat;" align="left" background="http://i1036.photobucket.com/albums/a449/a1tinhgia3/image/listbg.gif">
<A href=http://congdongitvn.forum-viet.com/search.forum?search_id=activetopics><span><font style="font-family: Tahoma; font-size: 11px">Bài viết trong ngày</span></a>

<A href=http://congdongitvn.forum-viet.com/statistics><span><font style="font-family: Tahoma; font-size: 11px">Các bài viết trong tháng</span></a>

<A href=http://congdongitvn.forum-viet.com/statistics><span><font style="font-family: Tahoma; font-size: 11px">Thống kê tổng thể</span></a>

<A href=http://congdongitvn.forum-viet.com/statistics><span><font style="font-family: Tahoma; font-size: 11px">Topic sôi nổi nhất</span></a>

 <A href=http://congdongitvn.forum-viet.com/statistics><span><font style="font-family: Tahoma; font-size: 11px">Topic xem nhiều nhất</span></a>

 <A href=http://congdongitvn.forum-viet.com/statistics><span><font style="font-family: Tahoma; font-size: 11px">Thành viên có nhiều chủ đề nhất</span></a>

 <A href=http://congdongitvn.forum-viet.com/statistics><span><font style="font-family: Tahoma; font-size: 11px">Thành viên post bài nhiều nhất trong 1 tuần</span></a>

 <A href=http://congdongitvn.forum-viet.com/statistics><span><font style="font-family: Tahoma; font-size: 11px">Thành viên post bài nhiều nhất trong tháng</span></a>

 <A href=http://congdongitvn.forum-viet.com/statistics><span><font style="font-family: Tahoma; font-size: 11px">Top poster</span></a>

  <A href=http://congdongitvn.forum-viet.com/statistics><span><font style="font-family: Tahoma; font-size: 11px">Số topic trong tháng</span></a>

</td><td></td><td class="forumlin" style="border-top: 0px none; padding: 0px; line-height: 20px; color: #ffffff;" align="right" width="280px">
<br><br><br>
<font style="font-family: Tahoma; font-size: 11px">
Tổng số chủ đề: <span class="FORUMCOUNTOPIC" style="color: red; font-size: 13px; font-weight: bold;"></span>

Tổng số bài gửi: <span class="FORUMCOUNTPOST" style="color: #ff8a00; font-size: 13px; font-weight: bold;"></span>

Tổng số thành viên: <span class="FORUMCOUNTUSER" style="color: #ffff00; font-size: 13px; font-weight: bold;"></span>

Bạn <span class="FORUMLASTUSER" style="color: #36ff00; font-size: 13px; font-weight: bold;"></span> là mem mới đó!!

</font>
</td></tr></table></td></tr></tbody></table>
</div>
 <script type="text/javascript">tabview_initialize('TabView');</script><ScrollTop --><style type="text/css">#topbar{  PADDING-TOP: 0px;PADDING-BOTTOM: 0px;PADDING-RIGHT: 0px; PADDING-LEFT: 0px;VISIBILITY: hidden;WIDTH: 180px;FONT-FAMILY: Tahoma;POSITION: absolute;}</style><script type="text/javascript">var persistclose = 0<!--
 Vị trí-->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</script>


</div>
</td>

2.mod_recent_topics( Thay toàn bộ core)
Code:
</td></tr></table></td>
<td valign="top" style="border: 1px solid #9DB3C5; padding: 1px" width="100%">
<style type="text/css">
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;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 */}</style><script type="text/javascript" src="http://tinhgia3sv.fileave.com/Tabview.js"></script><div id="TabView" class="TabView" style="padding: 0px;"><!--
tabs --><div width="100%" class="Tabs"><a class="Active" href="javascript:tabview_switch('TabView', 1);">Bài Viết Mới</a><ul class="tabs" id="vietvbb_topstats_t">  <li style="border-right: 0px; display: none;" id="vietvbb_topstats_t_loading"></li> </ul> </div><!--
 nội dung tabs --><div style="height: 407px; width:100%" class="Pages">

<div class="Page" style="padding-top: 8px;"><!-- BEGIN classical_row -->

<table style="border-bottom-width: 0px;" align="center" border="0" cellpadding="0" cellspacing="0" width="100%"><tbody><tr>
<td>

<table align="center" border="0" cellpadding="0" cellspacing="0" width="100%">
<tbody>
</table></td></tr></tbody>
<tbody>
<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://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"><img src="http://2img.net/i/fa/empty.gif" width="24" border="0"></td><td style="border-top: 0px none; padding: 0px; line-height: 20px; background-repeat: repeat;" align="left" background="http://i1036.photobucket.com/albums/a449/a1tinhgia3/image/listbg.gif" width="80%"><!-- BEGIN recent_topic_row --><div style="height: 20px"><a onmouseover="show_tooltip(this,'<b>Tiêu đề:</b> <font color=#0072ff>{classical_row.recent_topic_row.L_TITLE}</font><br> <b>Thời gian:</b> <font color=#ff0000>{classical_row.recent_topic_row.S_POSTTIME}</font><br>','Tooltip');" href="{classical_row.recent_topic_row.U_TITLE}"><b><font style="font-family: Tahoma; font-size: 11px">{classical_row.recent_topic_row.L_TITLE}</font></b></a><div><!-- END recent_topic_row --></td><td></td><td style="border-top: 0px none; padding: 2px;line-height:20px; background-repeat: repeat;" align="right" background="http://i1036.photobucket.com/albums/a449/a1tinhgia3/image/listbg.gif" width="20%"><!-- BEGIN recent_topic_row --><div style="height: 20px">    <!-- BEGIN switch_poster --><a onmouseover="show_tooltip(this,'<span>Click để xem profile của thành viên này !</span>','Người gửi cuối');"  href="{classical_row.recent_topic_row.switch_poster.U_POSTER}"><font style="font-family: Tahoma; font-size: 11px">
   
        {classical_row.recent_topic_row.switch_poster.S_POSTER}
        </font></a> <!-- END switch_poster --></div><!-- END recent_topic_row --></td></tr></table></td></tr></tbody></table>
<!-- END classical_row -->

</div>
<div class="Page" style="padding-top: 8px;">
<table style="border-bottom-width: 0px;" align="center" border="0" cellpadding="0" cellspacing="0" width="100%"><tbody><tr>
<td>

3.mod_top_posters( Thay toàn bộ core)
Code:
<table width="100%" border="0" cellspacing="0" cellpadding="0" height="100%">
<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%"><div style="margin-bottom: 1px;"><ul class="tabs"><li class="current"><span style="padding: 0px 7px;">
        <select name="mylist"><option value="/#"><b>Top posters</b>
</option></select></span></li></ul><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"><img src="http://2img.net/i/fa/empty.gif" width="24" border="0"></td><td style="border-top: 0px none; padding: 0px; line-height: 20px; background-repeat: repeat;" align="left" background="http://i1036.photobucket.com/albums/a449/a1tinhgia3/image/listbg.gif"><!-- BEGIN POSTER --><div style="height: 20px;"><font style="font-family: Tahoma; font-size: 11px"> {POSTER.NAME}</font></div><!-- END POSTER --></td><td style="border-top: 0px none; padding: 0px; line-height: 20px; background-repeat: repeat;" align="right" background="http://i1036.photobucket.com/albums/a449/a1tinhgia3/image/listbg.gif"><!-- BEGIN POSTER --><div style="height: 20px; width: 85px;" align="right"><font style="font-family: Tahoma; font-size: 11px">{POSTER.NB_POSTS}</font></div><!-- END POSTER --></td></tr></table></div></div></td>
 
</table><tr>

4. vào module>>portal & widgets>>forum widgets và làm như hình
[You must be registered and logged in to see this link.]
sau đó các bạn vào[You must be registered and logged in to see this link.]edit từng widgets như hình:
[You must be registered and logged in to see this link.]

5. Bạn vào Display>>Templates>>quản lý tổng thể>>overall_header ( Tìm đoạn core)
Code:
<div id="page-body">
              <div id="{ID_CONTENT_CONTAINER}"{CLASS_CONTENT_CONTAINER}>
                  <table cellpadding="0" cellspacing="0" width="100%" class="three-col">
                    <tbody>
                        <tr>
                          <td valign="top" width="{C1SIZE}">
                              <div id="{ID_LEFT}">
                                <!-- BEGIN giefmod_index1 -->
                                {giefmod_index1.MODVAR}
                                    <!-- BEGIN saut -->
                                    <div style="height:{SPACE_ROW}px"></div>
                                    <!-- END saut -->
                                <!-- END giefmod_index1 -->
                              </div>
                          </td>
                          <td valign="top" width="100%">
<!-- BEGIN html_validation -->
                          </td>
                        </tr>
                    </tbody>
                  </table>
              </div>
            </div>
        </td>
      </tr>
  </table>
</body>
</html>
<!-- END html_validation -->

Và thay bằng đoạn core này:
Code:
<style type="text/css">
#tooltip {
    padding:0;
    max-width: 50% !important;
    color: #000;
    border:1px solid #a0bbf7;
    background-color: #f6f6f6;
    font-size:0.8em;
}

* html #tooltip {
    width: 30%;
}
    margin:2px 5px 2px 8px;
}
#tooltip ul {
    padding: 0px 0px 0px 20px;
}
#tooltip dl {
    clear:both;
    position:relative;
    margin-bottom: 10px;
}
#tooltip dt {
    float:left;
    border: medium none;
    padding-top: 3px;
    width: 50%;
}
#tooltip dd {
    margin-left: 50%;
    padding-left: 5px;
    vertical-align: top;
}
#tooltip p.header {
    margin:0;
    font-size:13px;
    color:#ffffff;
    padding: 1px 5px;
    background: #a0bbf7 repeat;
    font-weight: bold;
    border:1px solid #a0bbf7;
}

#tooltip p {
    padding: 0px 5px 0px 0px;
    color: #666666;
    font-size:11px;
}

.tabs { margin: 0; padding: 0;}
.tabs { padding-bottom: 31px; margin-bottom: 9px; 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;margin-bottom: 0px; padding: 1px;}
.mainbox table { width: 100%; }
</style>
<script src=http://illiweb.com/fa/js/admin.js></script>

6. chèn đoạn code này vào đầu index_body (sau {JAVASCRIPT})
Code:
<div id="page-body">
  <div id="{ID_CONTENT_CONTAINER}"{CLASS_CONTENT_CONTAINER}>
                      <table  class="thongke" cellpadding="0" cellspacing="0" border="0" width="100%" align="center" >
<tbody>
                            <tr>
                              <td valign="top" width="100%">
                                  <div class="test">
<table class="thongke" cellpadding="4" cellspacing="0" style="border: 1px #c0c0c0 solid;" border="0" width="100%" align="center">
<thead>
      <tr valign="top">
        <th height="30"><center>News & Announcements</center></th>
      </tr>
  </thead>
<tr>
<td width="100%">
<table class="thongke" cellpadding="0" cellspacing="4" border="0" width="100%" align="center">
<thead>
      <tr valign="top">
<td width="23%"></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"><div style="margin-bottom: 5px; border: 1px solid #9DB3C5; "><ul class="tabs"><li class="current"><span style="padding: 0px 7px;">Gallery & Others</span></li></ul> <embed src="http://www.clocklink.com/clocks/world001-blue.swf?TimeZone=GMT0700&"  width="250" height="150" wmode="transparent" type="application/x-shockwave-flash"></div></td></tr>
<tr><td valign="top" style="border: 1px solid #9DB3C5;">
<!-- BEGIN giefmod_index1 -->
{giefmod_index1.MODVAR} <!-- END giefmod_index1 --></tr></thead></table>

</td></tr></table>

</div>
                              </td>
    </tr><tr>
                            <td valign="top" width="100%">
<!-- BEGIN html_validation -->
                          </td>
                        </tr>
                    </tbody>
                  </table>
              </div>
            </div>
        </td>
      </tr>
  </table>
</body>
</html>
<!-- END html_validation -->

Nguồn : Tham khảo tại chinhphuc
Về Đầu Trang Go down
http://cnttv.net
tranjunhan
Binh bét
Binh bét
tranjunhan


Giới tính : Nam
Tuổi : 27
Posts : 50
Points : 69
Thanked : 5
Cung hoàng đạo : Sagittarius
Tham gia ngày : 15/05/2011
Đến từ : Hải Phòng

Tài sản
Huy chương:

Tạo lattopic & Top poster  Empty
Bài gửiTiêu đề: Re: Tạo lattopic & Top poster    Tạo lattopic & Top poster  I_icon_minitimeTue May 17, 2011 10:42 am

Có thể huớng đẫn cụ thể cho mình được không?
Ví dụ như dòng mod_new thì vào thư mục nào?
Về Đầu Trang Go down
http://trunghoccosohoanghia.forumvi.com
tranjunhan
Binh bét
Binh bét
tranjunhan


Giới tính : Nam
Tuổi : 27
Posts : 50
Points : 69
Thanked : 5
Cung hoàng đạo : Sagittarius
Tham gia ngày : 15/05/2011
Đến từ : Hải Phòng

Tài sản
Huy chương:

Tạo lattopic & Top poster  Empty
Bài gửiTiêu đề: Re: Tạo lattopic & Top poster    Tạo lattopic & Top poster  I_icon_minitimeTue May 17, 2011 11:05 am

Được zùi nhưng bạn ơi sao khi mình thay đoạn overall_header
thì forum hiện nên chữ
The tag has been closed before being opened or the tag hasn't been opened.

Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html  xmlns="http://www.w3.org/1999/xhtml" dir="{S_CONTENT_DIRECTION}" id="min-width" lang="{L_LANG_HTML}" xml:lang="{L_LANG_HTML}" {NAMESPACE_FB_LIKE} {NAMESPACE_FB}>
<head>
   <!-- BEGIN meta_emulate_ie7 -->
   <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
   <!-- END meta_emulate_ie7 -->
   <title>{SITENAME_TITLE}{PAGE_TITLE}</title>
   <meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING};" />
   <meta http-equiv="content-script-type" content="text/javascript" />
   <meta http-equiv="content-style-type" content="text/css" />
   <!-- 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}
   <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>

   <!-- 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 w_cont = $('#fa_ticker_container').width();

      if (w_cont > 0)
      {
         $('#fa_ticker_container').width(w_cont);

         /* Affichage de la liste */
         $('#fa_ticker_content').css('display','block');

         /* Calcul des dimensions du conteneur et des ?l?ments */
         var width_max  = $('ul#fa_ticker_content').width();
         var width_item = Math.floor(width_max / {switch_ticker.SIZE});
         var height_max = h_perso;

         /* Calcul de la hauteur maximale du contenur en fonction des ?l?ments et de la hauteur personnalis?e dans l'admin */
         $('ul#fa_ticker_content li').each( function () {
            if ($(this).height() > height_max)
            {
               height_max = $(this).height();
            }
         } );

         /* Redimensionnement des ?l?ments et des images trop larges */
         $('ul#fa_ticker_content li').width(width_item).height(height_max).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);
            }
         });

         /* Redimensionnement et centrage du conteneur en mode vertical */
         if (slid_vert)
         {
            $('ul#fa_ticker_content').width(width_item).height(height_max).css('marginLeft','auto').css('marginRight','auto');
         }

         /* Initialisation du caroussel */
         $('#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 = true, 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 -->

   <!-- 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 -->
</head>
<body background="{T_BODY_BACKGROUND}" bgcolor="{T_BODY_BGCOLOR}" text="{T_BODY_TEXT}" link="{T_BODY_LINK}" vlink="{T_BODY_VLINK}">
   <!-- 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}
            

            <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">
      <table class="forumline" width="{LOGIN_POPUP_WIDTH}" height="{LOGIN_POPUP_HEIGHT}" border="0" cellspacing="1" cellpadding="0">
         <tr height="25">
            <td class="catLeft">
               <span class="genmed module-title">{SITENAME}</span>
            </td>
         </tr>
         <tr height="{LOGIN_POPUP_MSG_HEIGHT}">
            <td class="row1" align="left" valign="top">
               <div id="login_popup_buttons">
                  <form action="{S_LOGIN_ACTION}" method="get">
                     <input type="submit" class="mainoption" value="{L_LOGIN}" />
                     <input type="button" class="mainoption" value="{L_REGISTER}" onclick="parent.location='{U_REGISTER}';" />
                     <input id="login_popup_close" type="button" class="button" value="{L_DONT_DISPLAY_AGAIN}" />
                  </form>
               </div>
               <span class="genmed">{LOGIN_POPUP_MSG}</span>
            </td>
         </tr>
      </table>
   </div>
   <!-- END switch_login_popup -->

   <a name="top"></a>
   {JAVASCRIPT}
   <table class="bodylinewidth" width="{T_BODY_TABLE_WIDTH}" cellspacing="0" cellpadding="10" border="0" align="center">
      <tr>
         <td class="bodyline">
            <table width="100%" cellspacing="0" cellpadding="0" border="0">
               <tr>
                  <!-- BEGIN switch_logo_left -->
                  <td><a href="{U_INDEX}"><img src="{LOGO}" id="i_logo" border="0" alt="{L_INDEX}" vspace="1" /></a></td>
                  <!-- END switch_logo_left -->
                  <td align="center" width="100%" valign="middle">
                     <!-- BEGIN switch_logo_center -->
                     <a href="{U_INDEX}"><img src="{LOGO}" id="i_logo" border="0" alt="{L_INDEX}" vspace="1" /></a>
                     

                     <!-- END switch_logo_center -->
                     <div class="maintitle">{MAIN_SITENAME}</div>
                     

                     <span class="gen">{SITE_DESCRIPTION}
  </span>
                  </td>
                  <!-- BEGIN switch_logo_right -->
                  <td><a href="{U_INDEX}"><img src="{LOGO}" id="i_logo" border="0" alt="{L_INDEX}" vspace="1" /></a></td>
                  <!-- END switch_logo_right -->
               </tr>
            </table>

            <table cellspacing="0" cellpadding="0" border="0" align="{MENU_POSITION}">
               <tr>
                  <td align="{MENU_POSITION}"{MENU_NOWRAP}>{GENERATED_NAV_BAR}</td>
               </tr>
            </table>

            <div style="clear: both;"></div>

            <!-- BEGIN switch_ticker_new -->
            <div id="fa_ticker_block" style="margin-top:4px;margin-bottom:4px;">
               <table width="100%" border="0" cellspacing="0" cellpadding="0" class="forumline">
                  <tr>
                     <td {CLASS_TABLE_TYPE} align="left" class="row1">
                        <div id="fa_ticker_container">
                           <ul id="fa_ticker_content"  class="jcarousel-skin-tango" style="display:none;">
                              <!-- BEGIN ticker_row -->
                              <li>{switch_ticker.ticker_row.ELEMENT}</li>
                              <!-- END ticker_row -->
                           </ul>
                        </div>
                     </td>
                  </tr>
               </table>
            </div>
            <!-- END switch_ticker_new -->

            <!-- BEGIN switch_ticker -->
            <div id="fa_ticker_block" style="margin-top:4px;margin-bottom:4px;">
               <table width="100%" border="0" cellspacing="0" cellpadding="0" class="forumline">
                  <tr>
                     <td {CLASS_TABLE_TYPE} align="left" class="row1">
                        <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>
                     </td>
                  </tr>
               </table>
            </div>
            <!-- END switch_ticker -->

            <style type="text/css">
#tooltip {
    padding:0;
    max-width: 50% !important;
    color: #000;
    border:1px solid #a0bbf7;
    background-color: #f6f6f6;
    font-size:0.8em;
}

* html #tooltip {
    width: 30%;
}
    margin:2px 5px 2px 8px;
}
#tooltip ul {
    padding: 0px 0px 0px 20px;
}
#tooltip dl {
    clear:both;
    position:relative;
    margin-bottom: 10px;
}
#tooltip dt {
    float:left;
    border: medium none;
    padding-top: 3px;
    width: 50%;
}
#tooltip dd {
    margin-left: 50%;
    padding-left: 5px;
    vertical-align: top;
}
#tooltip p.header {
    margin:0;
    font-size:13px;
    color:#ffffff;
    padding: 1px 5px;
    background: #a0bbf7 repeat;
    font-weight: bold;
    border:1px solid #a0bbf7;
}

#tooltip p {
    padding: 0px 5px 0px 0px;
    color: #666666;
    font-size:11px;
}

.tabs { margin: 0; padding: 0;}
.tabs { padding-bottom: 31px; margin-bottom: 9px; 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;margin-bottom: 0px; padding: 1px;}
.mainbox table { width: 100%; }
</style>
<script src=http://illiweb.com/fa/js/admin.js></script>
 



                           </td>
                        </tr>
                     </tbody>
                  </table>
               </div>
            </div>
         </td>
      </tr>
   </table>
</body>
</html>
<!-- END html_validation -->
</head><script type="text/javascript" src="http://mudim.googlecode.com/files/mudim-0.8-r142.js"></script>
Về Đầu Trang Go down
http://trunghoccosohoanghia.forumvi.com
tranjunhan
Binh bét
Binh bét
tranjunhan


Giới tính : Nam
Tuổi : 27
Posts : 50
Points : 69
Thanked : 5
Cung hoàng đạo : Sagittarius
Tham gia ngày : 15/05/2011
Đến từ : Hải Phòng

Tài sản
Huy chương:

Tạo lattopic & Top poster  Empty
Bài gửiTiêu đề: Re: Tạo lattopic & Top poster    Tạo lattopic & Top poster  I_icon_minitimeTue May 17, 2011 11:21 am

bạn có thể gửi đoạn được thay rồi được không?
Về Đầu Trang Go down
http://trunghoccosohoanghia.forumvi.com
tranjunhan
Binh bét
Binh bét
tranjunhan


Giới tính : Nam
Tuổi : 27
Posts : 50
Points : 69
Thanked : 5
Cung hoàng đạo : Sagittarius
Tham gia ngày : 15/05/2011
Đến từ : Hải Phòng

Tài sản
Huy chương:

Tạo lattopic & Top poster  Empty
Bài gửiTiêu đề: Re: Tạo lattopic & Top poster    Tạo lattopic & Top poster  I_icon_minitimeTue May 17, 2011 11:49 am

Rồi được rồi mình làm xong tất cả các bước trên rồi nhưng sao vẫn như thế?
Về Đầu Trang Go down
http://trunghoccosohoanghia.forumvi.com
loveforever
Quản trị forum
Quản trị forum
loveforever


Giới tính : Nam
Tuổi : 33
Posts : 445
Points : 961
Thanked : 149
Công việc : Sinh viên CNTT
Cung hoàng đạo : Pisces
Tham gia ngày : 23/01/2011
Đến từ : http://cnttv.net

Tài sản
Huy chương:

Tạo lattopic & Top poster  Empty
Bài gửiTiêu đề: Re: Tạo lattopic & Top poster    Tạo lattopic & Top poster  I_icon_minitimeTue May 17, 2011 6:46 pm

Hix . Code của bạn đưa cho mình sai hoàn toàn. Trong overall_header mình bảo bạn tìm đoạn code này:

Code:
<div id="page-body">
              <div id="{ID_CONTENT_CONTAINER}"{CLASS_CONTENT_CONTAINER}>
                  <table cellpadding="0" cellspacing="0" width="100%" class="three-col">
                    <tbody>
                        <tr>
                          <td valign="top" width="{C1SIZE}">
                              <div id="{ID_LEFT}">
                                <!-- BEGIN giefmod_index1 -->
                                {giefmod_index1.MODVAR}
                                    <!-- BEGIN saut -->
                                    <div style="height:{SPACE_ROW}px"></div>
                                    <!-- END saut -->
                                <!-- END giefmod_index1 -->
                              </div>
                          </td>
                          <td valign="top" width="100%">
<!-- BEGIN html_validation -->
                          </td>
                        </tr>
                    </tbody>
                  </table>
              </div>
            </div>
        </td>
      </tr>
  </table>
</body>
</html>
<!-- END html_validation -->

Và thay bằng đoạn code này:

Code:
<style type="text/css">
#tooltip {
    padding:0;
    max-width: 50% !important;
    color: #000;
    border:1px solid #a0bbf7;
    background-color: #f6f6f6;
    font-size:0.8em;
}

* html #tooltip {
    width: 30%;
}
    margin:2px 5px 2px 8px;
}
#tooltip ul {
    padding: 0px 0px 0px 20px;
}
#tooltip dl {
    clear:both;
    position:relative;
    margin-bottom: 10px;
}
#tooltip dt {
    float:left;
    border: medium none;
    padding-top: 3px;
    width: 50%;
}
#tooltip dd {
    margin-left: 50%;
    padding-left: 5px;
    vertical-align: top;
}
#tooltip p.header {
    margin:0;
    font-size:13px;
    color:#ffffff;
    padding: 1px 5px;
    background: #a0bbf7 repeat;
    font-weight: bold;
    border:1px solid #a0bbf7;
}

#tooltip p {
    padding: 0px 5px 0px 0px;
    color: #666666;
    font-size:11px;
}

.tabs { margin: 0; padding: 0;}
.tabs { padding-bottom: 31px; margin-bottom: 9px; 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;margin-bottom: 0px; padding: 1px;}
.mainbox table { width: 100%; }
</style>
<script src=http://illiweb.com/fa/js/admin.js></script>


Nhưng mình tìm trong đoạn code bạn đưa trên forum thì sai hoàn toàn, và còn dư ra 1 đoạn này nữa:

Code:
</td>
                        </tr>
                    </tbody>
                  </table>
              </div>
            </div>
        </td>
      </tr>
  </table>
</body>
</html>
<!-- END html_validation -->

Bạn nên đảm bảo làm đúng các bước, nhất là bước 4 phải sắp xếp các modun đúng như trong hình mình đã post.

Đoạn code của bạn nó thông báo như vậy là do bạn sắp xếp chưa đúng, hoặc đặt sai vị trí của các code.

Và nếu bị lỗi bạn nên chụp hình lại post lên, như vây sẽ dễ dàng hơn.
Chúc bạn thành công !
Về Đầu Trang Go down
http://cnttv.net
thamrong10
Học viên 1
Học viên 1
thamrong10


Posts : 1
Points : 2
Thanked : 0
Tham gia ngày : 21/10/2011

Tạo lattopic & Top poster  Empty
Bài gửiTiêu đề: Re: Tạo lattopic & Top poster    Tạo lattopic & Top poster  I_icon_minitimeSat Oct 22, 2011 2:15 am

ban oi. minh lam sao no thành 1 hàng đứng. sao ko như forum # nhi?
Về Đầu Trang Go down
loveforever
Quản trị forum
Quản trị forum
loveforever


Giới tính : Nam
Tuổi : 33
Posts : 445
Points : 961
Thanked : 149
Công việc : Sinh viên CNTT
Cung hoàng đạo : Pisces
Tham gia ngày : 23/01/2011
Đến từ : http://cnttv.net

Tài sản
Huy chương:

Tạo lattopic & Top poster  Empty
Bài gửiTiêu đề: Re: Tạo lattopic & Top poster    Tạo lattopic & Top poster  I_icon_minitimeSat Oct 22, 2011 6:46 am

Nếu vậy bạn coi kỹ lại bước 4 nha. Bước đó quyết định nó nằm ngang hay dọc đó.
Về Đầu Trang Go down
http://cnttv.net
Sponsored content





Tạo lattopic & Top poster  Empty
Bài gửiTiêu đề: Re: Tạo lattopic & Top poster    Tạo lattopic & Top poster  I_icon_minitime

Về Đầu Trang Go down
 
Tạo lattopic & Top poster
Về Đầu Trang 
Trang 1 trong tổng số 1 trang

Permissions in this forum:Bạn không có quyền trả lời bài viết
Cộng Đồng IT-VN :: Web - Hosting - Forum :: Forum-
Chuyển đến