vovanan
[Share] Code Blog Phutu Cho Anh em
on 04/02/2013vovanan
Dạo Này Chán Blog Rồi .. Giờ Share Cho Anh em
Có điểm khác biệt :
1. mình làm Tin Tức Cập Nhập Giống Phutu
2. Bài Viết Liên Quan Có Hình
3. Có Thiếu Xót Gì Thì Comment
topic_blog_box:
- Code:
<style>
#baiviet1 .an_phutu {
height: 30px;
overflow: hidden;
}
#baiviet .hien_thi {
margin-top: 0;
float: left;
}
#hinh {
margin-top: 0;
float: left;
}
.baiviet #hinh embed,.baiviet #hinh span,#baiviet1 #hinh,.baiviet .phutu_html,.baiviet .size_new1,#baiviet1 .baimoibloga1,.baiviet .an_phutu1,#baiviet1 .baimoiblog2{display:none}
#baiviet1 .hien_thi{width:100%;height:48px;overflow:hidden;border-bottom: 1px solid #E3E3E3;}
#baiviet br{display:none}#baiviet{font-size:0px} #baiviet img{
width: 70px;
height: 40px;
border: 0px;
background-color: white;
margin-right: 10px;
}
#baiviet1 .an_phutu{font-size:12px}
#baiviet1 a:hover{text-decoration: none!important} .blog_comment-avatar img{
max-width:110px;
background-color:#ffffff;
border:1px solid #FFCC33;
padding:2px;
}
.baimoiblog2 a:hover{text-decoration: none!important;}
.baimoiblog2 {border-bottom: 1px dashed #E3E3E3;padding-top:2px; padding-bottom:2px;padding-left:5px}
#gui_bai img{display:none}
#gui_bai {width:112px;height:24px;display: inline-block;background: url(http://i48.servimg.com/u/f48/16/18/15/10/untitl92.png)no-repeat}
div.baimoiblog1,.bai_new1 div.baimoiblog2,.bai_new2 div.baimoiblog2,div.aba123{display:none}
.avatarcp span{display:none}
#hinh font{display:none}
#hinh a{display:none}
#hinh strong{font-weight: normal;font-style: normal;font-size:12px}
.bai_new1 .avatarcp img{
width:126px;height:86px;
background-color:beige;
border:1px solid #626263;}
.bai_new2 .avatarcp img{
width:126px;height:86px;
background-color:beige;
border:1px solid #626263;}
.bai_new2 .ptspan12 {font-size: 14px; line-height: normal;font-weight:bold;}
.bai_new1 .ptspan12 {font-size: 14px; line-height: normal;font-weight:bold;}
.bai_new2 .hien_thi{height:84px; width:100%;overflow:hidden}
.bai_new1 .hien_thi{height:84px; width:100%;overflow:hidden}
.quote {display:none}
.avatarcp embed,#hinh embed,#hinh br,.bai_new1 #hinh img,.bai_new2 #hinh img{ display:none}
.bai_new2 .avatarcp {font-size:0px;height:88px; width:128px;overflow:hidden; font-family:none;background:url(http://i48.servimg.com/u/f48/16/18/15/10/untitl85.png) no-repeat 0px 5px
}
div.phutu_html{display:none;}
td.pagination b{background-color: #ffedcf;
border: 1px solid #e6913c;
color: #ff6600;padding: 3px 4.5px;font-size:12px;text-decoration: none!important;}
.bai_new1 .an_phutu1,.bai_new2 .an_phutu1{display:none}
td.pagination a{background: url(http://i28.servimg.com/u/f28/16/18/15/10/untitl12.png);
border: 1px solid #cccccc;
color: #000000;
;padding: 3px 4.5px;font-size:12px;text-decoration: none!important;}
td.pagination span{padding:0px;color: #fff;display: inline-block;font-size:1px;text-decoration: none!important;}
td.pagination a:hover{background: url(http://i28.servimg.com/u/f28/16/18/15/10/untitl12.png);
border: 1px solid #417394;
color: #0000000;
padding: 3px 4.5px;text-decoration: none!important;}
.baimoibloga1 br{display:none}
.bai_new2 .avatarcp{float: left;}
.bai_new2 .bai_new3{float: left;width:440px;padding-top:4px;padding-left:10px;height:90px;padding-right:20px;overflow:hidden;
border: 1px solid #D4D4D4;
}
.bai_new1 .bai_new3{float: left;width:340;padding-top:4px;padding-left:10px;height:90px;overflow:hidden;}
.bai_new1 .hien_thi {border-bottom : 1px dashed hsl(0, 0%, 94%);}
</style>
<!-- BEGIN topics_blog_box -->
<div class="boxcontainer"> <div class="box_04"> <div class="box_05"> <table style="width: 100%" cellpadding="0" cellspacing="0" dir="ltr"> <tr> <td class="box_01"> <img class="imgborder" src="http://i28.servimg.com/u/f28/14/28/30/23/spacer10.gif" width="13" height="37" alt="" /></td> <td class="boxheaderbar"> <table border="0" width="100%" cellpadding="0" style="border-collapse: collapse"> <tr> <td class="width100"> <div class="boxbar"> <table border="0" width="100%" cellpadding="0" style="border-collapse: collapse"> <tr> <td class="boxcolorbar_01"> <img class="imgborder" src="http://i28.servimg.com/u/f28/14/28/30/23/spacer10.gif" width="6" height="24" alt="" /></td>
<td class="boxcolorbar_03"> <img src="http://i28.servimg.com/u/f28/14/28/30/23/spacer10.gif" width="6" height="24" alt="" class="imgborder" /></td> </tr> </table> </div> </td> </tr> </table> </td> <td class="box_03"> <img class="imgborder" src="http://i28.servimg.com/u/f28/14/28/30/23/spacer10.gif" width="13" height="37" alt="" /></td> </tr> </table> <div class="boxcontents"><table width="100%"cellspacing="0" cellpadding="0" border="0" style="padding-bottom:5px;padding-top:5px;padding-left:10px;padding-right:5px" class="alt1" id="ba{FORUM_ID}"><tr><td style="width:600px; border: 1px solid #D4D4D4" valign="top">
<div class="bai_new2"><!-- BEGIN row --><!-- BEGIN topic -->
<div id="vovanan966">
<div class="bai_new3"><span class="baimoiblog"><div class="hien_thi"><div class="avatarcp"><a href="{topics_blog_box.row.U_VIEW_TOPIC}">{topics_blog_box.row.FIRST_POST_TEXT}</a></div><a href="{topics_blog_box.row.U_VIEW_TOPIC}" class="an_phutu"><span class="ptspan12">{topics_blog_box.row.TOPIC_TITLE}</span></a>
<a href="{topics_blog_box.row.U_VIEW_TOPIC}" class="an_phutu1" target="_blank">{topics_blog_box.row.TOPIC_TITLE}</a>
<div class="size_new1" style="font-family:Courier New;font-size:12px">({topics_blog_box.row.FIRST_POST_DMY_VALUE0}/
{topics_blog_box.row.FIRST_POST_DMY_VALUE1}/
{topics_blog_box.row.FIRST_POST_DMY_VALUE2}) Trả lời {topics_blog_box.row.REPLIES} | Xem {topics_blog_box.row.VIEWS}</div><div id="hinh" class="krokodil">
</div></div></span>
</div>
</div> </div><div class="bai_new2">
<!-- END topic --><!-- END row --></div></td>
</tr></table>
</div></div></div></div> <div class="duoi"> <div class="duoi_trai"> <div class="duoi_phai"> </div></div></div></div></div></div></div></td>
</tr></table></div> <table style="width: 100%" cellpadding="0" cellspacing="0" dir="ltr"> <tr> <td class="box_06"> <img class="imgborder" src="http://i28.servimg.com/u/f28/14/28/30/23/spacer10.gif" width="8" height="6" alt="" /></td> <td style="width: 100%" class="boxfooterbar"></td> <td class="box_08"> <img class="imgborder" src="http://i28.servimg.com/u/f28/14/28/30/23/spacer10.gif" width="8" height="6" alt="" /></td> </tr> </table> </div> </div> </div>
<!-- END topics_blog_box -->
<script>$(".krokodil").each(function(){
if ($(this).text().length > 155) {$(this).text($(this).text().substr(0, 150));$(this).append('...');
}
});
</script>
<script>var a=Math.floor((Math.random()*4)+3);$(function() {$('<span class="bv" />').load('/f2p'+a+'5-forum .blog_tintuc li:not(".blog_tintuc li:contains(\'Chú ý\'),.blog_tintuc li:gt(8)")', {limit: 10}, function() {jQuery(this).hide().appendTo('.baiviet').fadeIn(1);});return false;});</script>
<script>
$(function() {
$('<span class="bv" />').load('/f{FORUM_ID}- .baimoiblog:not(".baimoiblog:contains(\'Chú ý\'),.baimoiblog:gt(9)")', {limit: 10}, function() {
jQuery(this).hide()
.appendTo('.baiviet')
.fadeIn(1);
});
$('<span class="bv" />').load('/f{FORUM_ID}- .baimoiblog2:not(".baimoiblog2:contains(\'Chú ý\'),.baimoiblog2:gt(7)")', {limit: 10}, function() {
jQuery(this).hide()
.appendTo('.baiviet01')
.fadeIn(1);
});
return false;
});
</script>
<style>
@charset "utf-8";.avatarcp table, .avatarcp div, .avatarcp hr, .avatarcp br, .avatarcp embed{display:block!important}
.avatarcp {font-size: 0px;height: 88px;width: 128px;overflow: hidden;font-family: none;background: url(http://i48.servimg.com/u/f48/16/18/15/10/untitl85.png) no-repeat 0px 5px;padding-top: 5px;font-size: 0px;font-family: none;margin-left: 20px;}
.avatarcp img {width: 126px;height: 86px;background-color: beige;border: 1px solid #626263; }
</style>
viewcomments_body:
Anh em edit lại cái topic_blog_box kiểu gì tùy nhé "