Note:   Chào mừng bạn đã đến với diễn đàn Sweet Dream !

You are not connected. Please login or register

Xem chủ đề cũ hơn Xem chủ đề mới hơn Go down Thông điệp [Trang 1 trong tổng số 1 trang]

avatar

Sweet Dream

nhìn ngon ko ko dc cắn đâu đấy
Xem lý lịch thành viên http://www.vnsweetdream.com/
demo:


Cách làm

ACP >> Display >> Templates >> Portal


mod_most_active_starters

Code:
  <td class="alt1" valign="top" id="changstats_topbox_2" style="padding: 6px;background: white;border: 1px solid #DFDFDF;">
     
<div id="active_starters1"  nowrap="nowrap" >  <ul class="latest_topics1" style="margin: -0.3em 0 !important">
            <!-- BEGIN POSTER -->
     
        <li>

<span onmouseover="show_tooltip(this, $(this).next().html(), 'FMvi.vn')" class="leftrecent1">
              {POSTER.NAME}
            </span> 
            <span style="display:none">{POSTER.NB_TOPICS}</span>                                                           
        </li>
        <!-- END POSTER -->
      </ul>
                         
                          </div>

      </td>
       
     
     
     
  </tr>

mod_recent_topics

Code:
 
<td class="datacontainer" rowspan="3" valign="top" id="changstats_latestposts" style="padding: 15px;background: white;border: 1px solid #DFDFDF;">

<style>
div.title {
font-size: 12px;
font-weight: bold;
text-decoration: none;
color: #fff;
text-align:center;
}
/* Tooltip */
#tooltip .tiplFMvi{border-bottom:1px dashed;margin-bottom:5px;padding-bottom:5px}
#tooltip{background-color:#FFF;border:1px solid #DDD;border-radius:3px 3px 3px 3px;box-shadow:2px 2px 3px #746E6E;color:#131313;max-width:550px;padding:15px 20px;position:absolute;z-index:999}
#active_starters,#most_active,#pun-visit,#users_month,#users_week,#tooltip .header {
display:none;
}
</style>

 
<table width="100%" border="0" cellspacing="1" cellpadding="3" align="center"><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" colspan="3" width="100%">

<tr valign="top">


<td colspan="1" style="border-top: 0px none; padding: 0px; background: transparent url(http://i74.servimg.com/u/f74/18/12/38/45/76710.png) no-repeat scroll center top; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;" width="24"><img src="http://illiweb.com/fa/empty.gif" width="24" border="0"></td>
 
<td style="border-top: 0px none; padding: 0px; line-height: 20px; background-repeat: repeat;white-space: nowrap;  overflow: hidden;  text-overflow: ellipsis;  width: 100%;" align="left" background="http://illiweb.com/fa/pbucket.gif" width="50%">
   

  <!-- BEGIN classical_row -->
    <ul style="overflow: auto !important;max-height: 300px;padding-right: 10px;" class="baixemnhieu">
          <!-- BEGIN recent_topic_row -->
     
    <li width="100%" class="newtopic">
        <a href="javascript:shpost('{classical_row.recent_topic_row.U_TITLE}');" title="Click to view post">▼</a>
      <span id="tieude1" onmouseover="show_tooltip(this,$(this).next().html(),'Thông Tin Bài Viết');"><a href="{classical_row.recent_topic_row.U_TITLE}" oncontextmenu="return xemtopic(this.href,'hehee');"><span  class="lengtht">{classical_row.recent_topic_row.L_TITLE} </span></a></span>
    <span style="display:none" class="dulieu2">
      <p class="tiplFMvi">Tiêu đề:
                          <font color="blue">{classical_row.recent_topic_row.L_TITLE}</font>
                        </p>
     
        <p>Thời gian gửi:
                          <font color="#FF6600">{classical_row.recent_topic_row.S_POSTTIME}</font>
                        </p>
        <p>Người gửi cuối:      <!-- BEGIN switch_poster --> {classical_row.recent_topic_row.switch_poster.S_POSTER}  <!-- END switch_poster -->
  </p>
    </span>
      <!-- BEGIN switch_poster -->
      <span class="username"><a id="tacgia" style="float:right" href="{classical_row.recent_topic_row.switch_poster.U_POSTER}">{classical_row.recent_topic_row.switch_poster.S_POSTER}</a></span>
          <!-- END switch_poster -->
 
          <!-- BEGIN switch_poster_guest -->
          {classical_row.recent_topic_row.switch_poster_guest.S_POSTER}
          <!-- END switch_poster_guest -->

   
       
      </li>
          <!-- END recent_topic_row -->
    <ul>
    <!-- END classical_row -->
 
      </td>
 
 
<script src="http://illiweb.com/rs3/24/frm/admin/admin.js" type="text/javascript"></script>
 
          <script type="text/javascript">
 function gioihanl(a){
 if(a.length > 40){
  return a.substring(0,40)+'...';}else{return a;}
  };

            function shpost(a){
            window.open(a,'','width=1000,height=600,top=200,left=200,menubar=no,titlebar=no,location=no');
            };

</script>  <script>$("span.lengtht").each(function(){
        if ($(this).text().length > 50) {$(this).text($(this).text().substr(0, 50));$(this).append('...');
        }
    });</script>

mod_top_post_users_month

Code:
  <td class="alt1" valign="top" id="changstats_topbox_4" style="padding: 6px;background: white;border: 1px solid #DFDFDF;">
     
<div id="users_month1"  nowrap="nowrap" >
    <ul class="latest_topics1" style="margin: -0.3em 0 !important">
        <!-- BEGIN POSTER -->
            <li>

<span onmouseover="show_tooltip(this, $(this).next().html(), 'FMvi.vn')" class="leftrecent1">
              {POSTER.NAME}
            </span> 
            <span style="display:none">{POSTER.NB_POSTS}</span>                                                           
        </li>
        <!-- END POSTER -->
      </ul>                        </div>
     
      </td>
     
 

mod_top_post_users_week

Code:
<tr>
     
     
      <td class="blocksubhead" style="height: 1px;" nowrap="nowrap">
        <div id="ctop_select_4" href="#" rel="nofollow" class="popupmenu">
              <a href="javascript://" class="popupctrl" id="yui-gen3"><span class="topchon" id="ctop_title_4">TV gửi nhiều tuần</span></a>
             
        </div>
      </td>
         
      <td class="blocksubhead" style="height: 1px;" nowrap="nowrap">
        <div id="ctop_select_4" href="#" rel="nofollow" class="popupmenu">
              <a href="javascript://" class="popupctrl" id="yui-gen3"><span class="topchon" id="ctop_title_4">TV gửi nhiều tháng</span></a>
             
        </div>
      </td>
     
  </tr>
 
     
     
        <td class="alt1" valign="top" id="changstats_topbox_4" style="padding: 6px;background: white;border: 1px solid #DFDFDF;">
 
<div id="users_week1" nowrap="nowrap" >
  <ul class="latest_topics1" style="margin: -0.3em 0 !important">
            <!-- BEGIN POSTER -->
            <li>

<span onmouseover="show_tooltip(this, $(this).next().html(), 'FMvi.vn')" class="leftrecent1">
              {POSTER.NAME}
            </span> 
            <span style="display:none">{POSTER.NB_POSTS}</span>                                                           
        </li>
        <!-- END POSTER -->
      </ul>                          </div>
     
      </td>

mod_top_posters

Code:
  <td class="alt1" valign="top" id="changstats_topbox_2" style="height: 130px;padding: 6px;background: white;border: 1px solid #DFDFDF;">
     
<div id="top_posters" nowrap="nowrap" >
                          <ul class="latest_topics1" style="margin: -0.3em 0 !important">
        <!-- BEGIN POSTER -->
        <li>

<span onmouseover="show_tooltip(this, $(this).next().html(), 'FMvi.vn')" class="leftrecent1">
              {POSTER.NAME}
            </span> 
            <span style="display:none">{POSTER.NB_POSTS}</span>                                                           
        </li>
        <!-- END POSTER -->
  </ul>
                          </div>

      </td>

<style>

.latest_topics1 {
list-style: decimal-leading-zero outside none;
margin: 0!important;
padding: 0 5px 0 27px;
text-align: left;
height: 129px;
overflow: hidden;
}
  .latest_topics1 li {
line-height: 19.1px;
position: relative;
}
</style>

cho vào đầu index body

Code:
 <table width="100%">
  <tbody>
          <tr>
     
  <td class="blocksubhead" nowrap="nowrap" width="100%">
       
            <ul id="last">
                <li class="selected" onclick="searchtopic('/search?search_keywords=&search_author=*_*', '15', '#recentnew ul')" >
                  Tất cả</li>
                          </ul>
       
      </td>
     
     
     
     
      <td class="blocksubhead" nowrap="nowrap" align="left">
        <div id="ctop_select_2" href="#" rel="nofollow" class="popupmenu">
            <a class="popupctrl" id="yui-gen1"><span class="topchon" id="ctop_title_2">TV tích cực nhất</span></a>
       
        </div>
      </td>
            <td class="blocksubhead" nowrap="nowrap" align="left">
        <div id="ctop_select_2" href="#" rel="nofollow" class="popupmenu">
            <a  class="popupctrl" id="yui-gen1"><span class="topchon" id="ctop_title_2">TV tạo nhiều chủ đề</span></a>
       
        </div>
      </td>
     
     
     
  </tr>

                      <!-- BEGIN giefmod_index1 -->
                                    {giefmod_index1.MODVAR}
                                    <!-- BEGIN saut -->
                                    <div style="height:{SPACE_ROW}px"></div>
                                    <!-- END saut -->
                                    <!-- END giefmod_index1 -->
                                </tr>
 

</tbody></table>

<style>
  .top-vi,.viewrep{padding:10px!important}#active_starters,#most_active,#pun-visit,#users_month,#users_week{display:none}.lastcate,.left,.leftrecent,.repfmvi,.rightrecent,
.viewfmvi{overflow:hidden;position:absolute;text-overflow:ellipsis;white-space:nowrap}

.leftrecent{width:38%}.left{margin-left:-3px;width:81%}

.imgstatus{background-color:#FFF;left:-32px;padding:2px 7px;position:absolute}.rightrecent{right:250px;text-align:right;width:115px}.showpost{font-size:9px;left:-12px;line-height:18px;position:absolute}

#top-guibai img {
height: 15px;
width: 15px;
padding: 2px;
border: 1px solid #CCC;
}
  #top-guibai, #moitruycap  {
width: 150px;

}
#topp img {
height: 15px;
width: 15px;
padding: 2px;
border: 1px solid #CCC;
}
#guihumnay img {
height: 15px;
width: 15px;
padding: 2px;
border: 1px solid #CCC;
}
#moitruycap img {
height: 15px;
width: 15px;
padding: 2px;
border: 1px solid #CCC;
}
 .gen {
display: block;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
list-style: decimal-leading-zero outside none;
}
.viewfmvi{right:185px;text-align:right;width:50px}.repfmvi{right: 129px;text-align:right;width:50px}.lastcate{margin-right:-11px;right:0;text-align:right;width:157px}#content-container div#left,#content-container div#right{border:0 none;float:none;margin:0;width:100%}*+ html #content-container div#main{margin-left:0;margin-right:0}* html #content-container #main-content{margin-left:0;margin-right:0;overflow:visible}* html #content-container div#main{float:none;margin-left:-99%;margin-right:-99%;width:100%}
  .latest_topics{list-style:decimal-leading-zero outside none;margin:0!important;padding:0 5px 0 27px;text-align:left}
  .latest_topics li{line-height:19.1px;position:relative}
  .toppost_width{float:left;width:200px}
  .recentWidth{float:left;width: 100%;}
  .recentWidth .main-head{height:1.3em;overflow:hidden;position:relative}.recentWidth h3{marign-left:10px}.loaddinng{background-image:url(http://i43.servimg.com/u/f43/16/03/04/56/black-10.gif);background-position:center center;background-repeat:no-repeat;height:350px;width:440px}#checktip{position:absolute;right:10px;top:3px;z-index:300}#numRecent{display:none;position:absolute;right:12px;top:7px}

.loaddingLike {
background: url(http://i48.servimg.com/u/f48/16/58/89/73/loadin11.gif) no-repeat scroll center center transparent;
display: none;
height: 1.4em;
margin: -1.4em 0 -3px 200px;
width: 126px;
}




.topchon {

background: white;
font-weight: bold;
color: #141414;
text-decoration: none;
padding: 0 8px;
float: right;
border-top: 1px solid lightGrey;
border-right: 1px solid lightGrey;
border-left: 1px solid lightGrey;
border-bottom: 1px solid white;
border-top-left-radius: 5px;
-webkit-border-top-left-radius: 5px;
-moz-border-radius-topleft: 5px;
-khtml-border-top-left-radius: 5px;
border-top-right-radius: 5px;
-webkit-border-top-right-radius: 5px;
-moz-border-radius-topright: 5px;
-khtml-border-top-right-radius: 5px;
display: inline-block;
line-height: 25px;
cursor: pointer;
outline: 0 none;
white-space: nowrap;
word-wrap: normal;
height: 24px;
  padding-bottom: 11px;
margin-bottom: -2px;
z-index: 11;
position: relative;
border-bottom: 0;
}
 #last li {
font-weight: bold;
background: #ECECEC;
color: #141414;
text-decoration: none;
padding: 0 8px;
margin-right: -1px;
margin-bottom: -1px;
border-top: 1px solid lightGrey;
border-right: 1px solid lightGrey;
border-left: 1px solid lightGrey;
border-bottom: 1px solid lightGrey;
border-top-left-radius: 5px;
-webkit-border-top-left-radius: 5px;
-moz-border-radius-topleft: 5px;
-khtml-border-top-left-radius: 5px;
border-top-right-radius: 5px;
-webkit-border-top-right-radius: 5px;
-moz-border-radius-topright: 5px;
-khtml-border-top-right-radius: 5px;
display: inline-block;
line-height: 25px;
cursor: pointer;
outline: 0 none;
white-space: nowrap;
word-wrap: normal;
height: 24px;
pacity: 1;
margin-right: 5px;
}
  #last {
  list-style: none;
  }
  #last li.selected {
padding-bottom: 11px;
margin-bottom: -2px;
z-index: 11;
position: relative;
border-bottom: 0;
background: white;
}
</style>

Vào overall_header xóa :

Code:
<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>

Nguồn: hotrofm



.::" Mem mới lưu ý search kĩ trước khi post bài mới "::.





Share this post on:diggdeliciousredditstumbleuponslashdotyahoogooglelive

  • avatar

    Bài gửi on Sun Apr 07, 2013 9:01 pm Shana

    up lại cái widgets nè anh ơi

  • avatar

    Bài gửi on Thu Jun 13, 2013 7:41 am quangkt1996

  • Bài gửi Sponsored content

Xem chủ đề cũ hơn Xem chủ đề mới hơn Về Đầu Trang Thông điệp [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

  • TopFree forum | © PunBB | Free forum support | Liên hệ | Report an abuse | Create a free blog