Sau một thời gian vật lộn với nó cuối cùng em cũng làm dc nên hôm nay tính chia sẽ với mọi ng` về cái bảng thông báo dành cho các 4r thuộc anime ( nói vậy thui 4r nào làm chả dc )
demo:
đầu tiên vào:
- phần Message title là đặt tiêu đề cho bảng thông báo
- dán code sau vào phần Message content
ấn chấp nhận và chúng ta đã hoàn thành tác phẩm rồi đó
à và đây là code các bạn nên dán ở index_box ( cái này trong mặc định có nhưng ai lỡ xoá thì dán vô lại nhé ) dán dưới cái bảng lastopic nhé
xin chân thành cảm ơn bạn yuri bên MB đã giúp mình về việc fix code
demo:
- XEM:
đầu tiên vào:
ACP>>>Display>>>Homepage>>>Generalities
- phần Message title là đặt tiêu đề cho bảng thông báo
- dán code sau vào phần Message content
- XEM:
- Code:
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<style type="text/css">
.div_table{background:transparent;margin:0px auto;}
.news_right{background:url(http://i45.servimg.com/u/f45/13/45/93/99/bgbook10.jpg) repeat-y;margin-left:236px;padding:5px;text-align:left;height:326px}
.news_left{padding:5px;float:left;text-align:left}
.notice{margin-left:50px;font-size:12px;margin-top:10px;margin-bottom:10px}
.news_thead_inside{margin-left:40px;text-align:center;color:#ffffff;background:#000000;font-weight:bold;padding:2px 0 2px 0}
.author{color:#9F9F9F}.notice a:link,.notice a:visited,.notice a{color:#ffffff;background:transparent;text-decoration:none;font-weight:bold}
.notice a:active,.notice a:hover{color:#000000;background:transparent;text-decoration:none;font-weight:bold}
</style><div class="div_table" style="width: 100%;"><div class="news_left">
<script language="JavaScript">
<!--
/*
Random Image Link Script
By Website Abstraction (http://www.wsabstract.com)
and Java-scripts.net (http://www.java-scripts.net)
*/
function random_imglink(){
var myimages=new Array()
//specify random images below. You can have as many as you wish
myimages[1]="http://i1235.photobucket.com/albums/ff438/darkness0101/Ecardjun.jpg"
myimages[2]="http://i1235.photobucket.com/albums/ff438/darkness0101/ecard2.jpg"
myimages[3]="http://i1235.photobucket.com/albums/ff438/darkness0101/e-cardheSD.jpg"
myimages[4]="http://i1235.photobucket.com/albums/ff438/darkness0101/e-carddan2.jpg"
var ry=Math.floor(Math.random()*myimages.length)
if (ry==0)
ry=1
document.write('<img src="'+myimages[ry]+'" border=0>')
}
random_imglink()
//-->
</script><div style="width: 315px; text-align: center;"></div>
</div><div class="news_right"><div class="notice">
<a href="http://sweetdream.foruml.biz/t3042-topic#13153"><img width="280px" height="55px" border="0" src="http://i1100.photobucket.com/albums/g418/junalone/banner/10816912.jpg"></a>
<a href="http://sweetdream.foruml.biz/t3030p15-topic#13249"><img width="280px" height="55px" border="0" src="http://i1235.photobucket.com/albums/ff438/darkness0101/eventchatboxSD.jpg"></a>
<br><br>
<a href="http://sweetdream.foruml.biz/t772-topic"><img width="280px" height="55px" border="0" src="http://i1235.photobucket.com/albums/ff438/darkness0101/eventdesSD.jpg"></a>
<a href="http://sweetdream.foruml.biz/t1432-topic"><img width="280px" height="55px" border="0" src="http://i1235.photobucket.com/albums/ff438/darkness0101/ffFCSD.jpg"></a>
<br><br>
<a href="http://sweetdream.foruml.biz/t3038-topic"><img width="280px" height="55px" border="0" src="http://i1100.photobucket.com/albums/g418/junalone/diemdanhSD.jpg"></a>
<a href="http://"><img width="280px" height="55px" border="0" src="http://nl0.upanh.com/b3.s26.d1/8462920fbed1fe1bebfde5e0103e98d5_44100660.sdeventsweetdream.700x0.jpg"></a>
<br><br>
</div>
ấn chấp nhận và chúng ta đã hoàn thành tác phẩm rồi đó
à và đây là code các bạn nên dán ở index_box ( cái này trong mặc định có nhưng ai lỡ xoá thì dán vô lại nhé ) dán dưới cái bảng lastopic nhé
- XEM:
- Code:
<!-- BEGIN message__index -->
<table class="forumline" width="100%" border="0" cellspacing="1" cellpadding="0">
<!-- BEGIN message__titre -->
<tr>
<td class="catHead" height="28"><span class="cattitle">{message__index.message__titre.MES_TITRE}</span></td>
</tr>
<!-- END message__titre -->
<!-- BEGIN message__txt -->
<tr>
<td class="row1" rowspan="3" align="center" valign="middle">
<div class="gensmall">{message__index.message__txt.MES_TXT}</div>
</td>
</tr>
<!-- END message__txt -->
</table>
<!-- END message__index -->
xin chân thành cảm ơn bạn yuri bên MB đã giúp mình về việc fix code
Nguồn: [You must be registered and logged in to see this link.]