
如圖片所示...目前想把"分區"的字樣坎掉
並且把主題,文章,最後發表全部移到版面名稱旁邊(白線條也要下來)
不知道該如何改
請各位大大教教小弟吧
版主: 版主管理群

代碼: 選擇全部
<!-- BEGIN catrow -->
<tr>
<td class="catLeft" colspan="2" height="28"><span class="cattitle"><a href="{catrow.U_VIEWCAT}" class="cattitle">{catrow.CAT_DESC}</a></span></td>
<td class="rowpic" colspan="3" align="right"> </td>
</tr>
<!-- BEGIN forumrow -->代碼: 選擇全部
<tr>
<td class="catLeft" colspan="2" height="28"><span class="cattitle"><a href="{catrow.U_VIEWCAT}" class="cattitle">{catrow.CAT_DESC}</a></span></td>
<td class="rowpic" colspan="3" align="right"> </td>
</tr> 代碼: 選擇全部
<!-- BEGIN catrow -->
<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
<tr>
<th colspan="2" class="thCornerL" height="25" nowrap="nowrap"> {L_FORUM} </th>
<th width="50" class="thTop" nowrap="nowrap"> {L_TOPICS} </th>
<th width="50" class="thTop" nowrap="nowrap"> {L_POSTS} </th>
<th class="thCornerR" nowrap="nowrap"> {L_LASTPOST} </th>
</tr>
<script language="JavaScript">
<!--
timeID = 10;
stcnt = 16;
msg = "{WELCOME_MESSAGE}";
wmsg = new Array(32);
wmsg[0]=msg;
blnk = " ";
for (i=1; i<32; i++)
{
b = blnk.substring(0,i);
wmsg[i]="";
for (j=0; j<msg.length; j++) wmsg[i]=wmsg[i]+msg.charAt(j)+b;
}
function wiper()
{
ct = new Date();
h = "0"+ct.getHours();
m = "0"+ct.getMinutes();
s = "0"+ct.getSeconds();
h = h.substring(h.length-2,h.length+1);
m = m.substring(m.length-2,m.length+1);
s = s.substring(s.length-2,s.length+1);
if (h > 12)
{
h = h-12 ;
cl = " 目前時間: "+h+":"+m+":"+s+" AM";
}
if (h < 12) cl = " 目前時間: "+h+":"+m+":"+s+" PM";
if (stcnt > -1) str = wmsg[stcnt]; else str = wmsg[0];
if (stcnt > -1) str = wmsg[stcnt]; else str = wmsg[0];
if (stcnt-- < -40) stcnt=31;
status = cl+str;
clearTimeout(timeID);
timeID = setTimeout("wiper()",100);
}
-->
</script>
<!-- BEGIN forumrow -->
<tr>
<td class="row1" align="center" valign="middle" height="50"><img src="{catrow.forumrow.FORUM_FOLDER_IMG}" width="46" height="25" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" /></td>
<td class="row1" width="100%" height="50"><span class="forumlink"> <a href="{catrow.forumrow.U_VIEWFORUM}" class="forumlink">{catrow.forumrow.FORUM_NAME}</a><br />
</span> <span class="genmed">{catrow.forumrow.FORUM_DESC}<br>{catrow.forumrow.FORUM_NAME_SUB}<br />
</span><span class="gensmall">{catrow.forumrow.L_MODERATOR} {catrow.forumrow.MODERATORS}</span></td>
<td class="row2" align="center" valign="middle" height="50"><span class="gensmall">{catrow.forumrow.TOPICS}</span></td>
<td class="row2" align="center" valign="middle" height="50"><span class="gensmall">{catrow.forumrow.POSTS}</span></td>
<td class="row2" align="center" valign="middle" height="50" nowrap="nowrap"> <span class="gensmall">{catrow.forumrow.LAST_POST}</span></td>
</tr>
<!-- END forumrow -->感謝教導~~不過這樣做還是無法做到預期的效果呀@@~倉木麻衣~ 寫:把你的{L_FORUM}改成這樣\r因為預設css的關係, 所以此處要自行設定link的連結顏色<a href="{catrow.U_VIEWCAT}" style="color:#FFA34F;text-decoration: none;">{catrow.CAT_DESC}</a>
代碼: 選擇全部
<tr>
<td class="catLeft" colspan="2" height="28" align="center"><span class="cattitle"><a href="{catrow.U_VIEWCAT}" class="cattitle">{catrow.CAT_DESC}</a></span></td>
<td class="rowpic" colspan="3" align="right"> </td>
</tr>代碼: 選擇全部
<tr>
<td colspan="5"></td>
</tr>

從頭講一次好了~倉木麻衣~ 寫:把你的{L_FORUM}改成這樣<a href="{catrow.U_VIEWCAT}" style="color:#FFA34F;text-decoration: none;">{catrow.CAT_DESC}</a>
代碼: 選擇全部
template/Yor_Template/index_body.tpl代碼: 選擇全部
{L_FORUM}代碼: 選擇全部
<a href="{catrow.U_VIEWCAT}" style="color:#FFA34F;text-decoration: none;">{catrow.CAT_DESC}</a>代碼: 選擇全部
<tr>
<td class="catLeft" colspan="2" height="28" align="center"><span class="cattitle"><a href="{catrow.U_VIEWCAT}" class="cattitle">{catrow.CAT_DESC}</a></span></td>
<td class="rowpic" colspan="3" align="right"> </td>
</tr>代碼: 選擇全部
<tr>
<td colspan="5"></td>
</tr>代碼: 選擇全部
<th colspan="2" class="thCornerL" height="25" nowrap="nowrap"> {L_FORUM} </th>
<th width="50" class="thTop" nowrap="nowrap"> {L_TOPICS} </th>
<th width="50" class="thTop" nowrap="nowrap"> {L_POSTS} </th>
<th class="thCornerR" nowrap="nowrap"> {L_LASTPOST} </th>代碼: 選擇全部
#
#--------[ OPEN ]--------
#
template/Your_Template/index_body.tpl
#
#--------[ 尋找 ]--------
#
{L_FORUM}
#
#--------[ 替換成 ]--------
#
{catrow.CAT_DESC}
#
#--------[ 尋找 ]--------
#
<tr>
<td class="catLeft" colspan="2" height="28" align="center"><span class="cattitle"><a href="{catrow.U_VIEWCAT}" class="cattitle">{catrow.CAT_DESC}</a></span></td>
<td class="rowpic" colspan="3" align="right"> </td>
</tr>
#
#--------[ 刪除整段 ]--------
#
#
#--------[ SAVE/CLOSE FILE]--------
#
# EoM
:: 通豪汽車音響討論區