Trang ChínhLatest imagesTìm kiếmĐăng kýĐăng Nhập
 

code widgets Nằm Ngang và Code thống kê bài viết mới

Xem chủ đề cũ hơn Xem chủ đề mới hơn Go down
Sat Feb 26, 2011 1:14 pm
Online
Admin
Admin
» Huy chương:NGƯỜI SÁNG LẬP
» Cấp bậc: NGƯỜI SÁNG LẬP

Liên lạc
https://hungyenvui.forumvi.net

Thông tin thành viên
» Mục Đích Tham Gia Diễn Đàn: Mục Đích Tham Gia Diễn Đàn: : Chia sẻ kiến thức
» Bạn Biết Đến Diễn Đàn Từ Đâu?: Bạn Biết Đến Diễn Đàn Từ Đâu?: : Nhờ công cụ tìm kiếm Google, Yahoo, Big...
» Tên (Hoặc Nick) Người Giới Thiệu : Không Có
» Tên Thật: Tên Thật: : Admin
» Ngày Sinh: Ngày Sinh: : 23/06/1993
» Tuổi : 30
» Đến Từ Đến Từ : Huyện Kim Động
» Địa chỉ nhà Địa chỉ nhà : LÆ°Æ¡ng Bằng
» Nghề Nghiệp Nghề Nghiệp : Học Sinh
» Sở Thích Sở Thích : Online
» Zodiac Zodiac : Cancer
» Chúc Vụ Chúc Vụ : Admin
» Giới Tính Giới Tính : Nam
» Một Nửa Của Bạn Sẽ Là Người ntn? Một Nửa Của Bạn Sẽ Là Người ntn? : Không piết nữa
» Món Ăn Ưa Thích Món Ăn Ưa Thích : Rau luộc
» Loại Sách Ưa Thích Loại Sách Ưa Thích : Khoa học
» Thể Loạị Phim Ưa Thích Thể Loạị Phim Ưa Thích : Kiếm hiệp
» Tình Trạng Hôn Nhân : Đang Yêu
» Posts Posts : 42
» Points : 48494
» Reputation : 0
» Ngày tham gia Diễn Đàn : 19/02/2011
» Nick Yahoo Nick Yahoo : hungyenvui.tk_4rum
» Nick Vitalk Nick Vitalk : k2teen_hy
» Nick Ola Nick Ola : Chưa Có
» Hiện giờ đang:

Bài gửiTiêu đề: code widgets Nằm Ngang và Code thống kê bài viết mới

B1: Vào Display ~> template ~> portal ~> chọn mod_recent_topics:
thay tất cả code trong đó bằng code sau:
Code:
<!-- VnSkin Dong Khung -->
<table cellpadding="0" cellspacing="0" width="100%" align="center">
      <tr>
          <td><img src="http://i14.servimg.com/u/f14/14/04/65/68/post_t10.png" alt="" /></td>
          <td style="background: url(http://i14.servimg.com/u/f14/14/04/65/68/post_t11.png) repeat-x top left" width="100%">
          </td>
          <td><img src="http://i14.servimg.com/u/f14/14/04/65/68/post_t12.png" alt="" /></td>
      </tr>
      <tr>
          <td style="background: url(http://i14.servimg.com/u/f14/14/04/65/68/post_s10.png) repeat-y top left" valign="bottom"> </td>
          <td>
<!-- End VnSkin Dong Khung -->

<table style="border:#CCCCCF 1px solid;" width="100%">

<!-- BEGIN classical_row -->  <tr>
      <th height="25" colspan="3"><span class="genmed" width="100%"><b><center>Bài Viết Mới Nhất </center></b></span></th>
  </tr>
<tr><td class="catHead" align="center"><span class="genmed">Tên Bài Viết</span></td><td class="catHead" align="center"><span class="genmed">Tác Giả</span></td><td class="catHead" align="center"><span class="genmed">Thời Gian Gửi</span></td><!-- BEGIN recent_topic_row -->
  <tr>
      <td class="row1" align="left" width="50%"><span class="gensmall">
      <img src="http://hitskin.com/themes/11/50/44/i_icon_latest_reply.gif"></img> <a href="{classical_row.recent_topic_row.U_TITLE}">{classical_row.recent_topic_row.L_TITLE}</a></td><td class="row1" align="Center" width="25%"> <span class="gensmall">      <!--
      <a onmouseover="document.getElementById('comments_scroll_container').stop();" onmouseout="document.getElementById('comments_scroll_container').start();" href="{scrolling_row.recent_topic_row.U_POSTER}">{scrolling_row.recent_topic_row.S_POSTER}</a> -->

      <!-- BEGIN switch_poster -->

      <a onmouseover="document.getElementById('comments_scroll_container').stop();" onmouseout="document.getElementById('comments_scroll_container').start();" href="{classical_row.recent_topic_row.switch_poster.U_POSTER}">{classical_row.recent_topic_row.switch_poster.S_POSTER}</a>
      <!-- END switch_poster -->

      <!-- BEGIN switch_poster_guest -->
      {classical_row.recent_topic_row.switch_poster_guest.S_POSTER}
      <!-- END switch_poster_guest -->
</span></a> </td><td class="row1" align="Center" width="25%"> <span class="gensmall"> <img src="{ICON_TIME}" alt="" /> {classical_row.recent_topic_row.S_POSTTIME}
      </span></td>
  </tr><!-- END recent_topic_row -->
<!-- END classical_row --></table>


<!-- VnSkin Dong Khung -->
</td>
          <td style="background: url(http://i14.servimg.com/u/f14/14/04/65/68/post_s11.png) repeat-y top right" valign="bottom"> </td>
      </tr>
      <tr>
          <td><img src="http://i14.servimg.com/u/f14/14/04/65/68/post_f12.png" alt="" /></td>
          <td style="background: url(http://i14.servimg.com/u/f14/14/04/65/68/post_f11.png) repeat-x top left" width="100%">
</td>
          <td><img src="http://i14.servimg.com/u/f14/14/04/65/68/post_f10.png" alt="" /></td>
      </tr>
</table>
<!-- End VnSkin Dong Khung -->
B2: Vào Display ~> template ~> quản lí tổng thể ~> chọn overall_header:
tìm đoạn:

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 -->
Thay Bằng Đoạn:

Code:
<div id="page-body">
              <div id="{ID_CONTENT_CONTAINER}"{CLASS_CONTENT_CONTAINER}>
                <table cellpadding="0" cellspacing="0" width="100%" border="0">
                    <tbody>
                      <tr>
                          <td valign="top" width="100%">
                            <div class="test"><table  class="thongke" cellpadding="0" cellspacing="0" width="100%" align="center"><tr><!-- BEGIN giefmod_index1 --><td align="center">
                                {giefmod_index1.MODVAR}
                                                             
</td><!-- END giefmod_index1 --></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 -->
B3: Vào Module ~> Forum widgets management. Trong bảng Forum widgets general options:

Display forum widgets : chọn Có
Width column 1 (left) : điền 180
Width column 3 (right) : điền nhiu cũng dc ( tốt nhất là 0 )

Sau đó đặt widget như hình :
 code widgets Nằm Ngang và Code thống kê bài viết mới 93634589
Nhấn vào bánh xe màu vàng để sửa cấu hình:
Number of recent topics : nhiu cũng dc (forum mình chọn 12).
Activate the recent topics scrolling : chọn không

Chữ ký của Admin



 code widgets Nằm Ngang và Code thống kê bài viết mới Collap11Trả lời nhanh
Trang 1 trong tổng số 1 trang
Chat ( )
Free forum | ©phpBB | Free forum support | Báo cáo lạm dụng | Thảo luận mới nhất