心靈捕手 寫:To bleaktea:
根據測試此風格 (Skyblue) 並不會受此外掛 (Advanced Links Mod) 影響.
問題只是出在 templates/Skyblue/viewtopic_body.tpl 的修改.
我猜想:
您在上頭的廣告圖片, 是到某個色情網站, 直接去複製原始碼, 回來套用的吧!
以下的修改, 提供您參考:
#
#-----[ OPEN ]-----
#
templates/Skyblue/viewtopic_body.tpl
#
#-----[ FIND ]-----
##代碼: 選擇全部
<!-- Start add - Complete banner MOD --> <html> <head> <meta http-equiv="Content-Language" content="zh-tw"> <meta http-equiv="Content-Type" content="text/html; charset=big5"> <title>新增網頁2</title> <style> <!-- .left_bg { background: url('http://night.movie-av.com/style/night/back_02.gif') no-repeat top left; border: 1px solid #ffffff} .right_bg { background: url('http://night.movie-av.com/style/night/back_02.gif') no-repeat top right; 1px solid #ffffff} table { font: 12px Tahoma, Verdana; color: #ffffff } .tableborder { background: ffffff; border: 1px solid #8F8C7E } .altbg2 { background:#1E2460 } --> </style> </head> <body> <p> </p> <p> </p> <table class="tableborder" id="table1" cellSpacing="1" cellPadding="4" width="55%" align="center"> <tr class="altbg2" align="middle"> <td width="15%"> <a target="_blank" href="http://www.369588.com/?FID=16888"> <img height="60" alt="" src="http://www.369588.com/88-31banner.gif" width="120" border="0" pop="廣告位置4"></a></td> <td width="15%"> <a target="_blank" href="http://jsvcd.com/cgi-bin/vcd.cgi?id=2004"> <img height="60" alt="" src="http://www.5168888.com/av/22.gif" width="120" border="0" pop="廣告位置3"></a></td> <td width="15%"> <a target="_blank" href="http://7-11av.com/cgi-bin/vcd.cgi?id=2004"> <img height="60" alt="" src="http://www.5168888.com/av/13.gif" width="120" border="0" pop="廣告位置2"></a></td> <td width="15%"> <a target="_blank" style="text-decoration: none; color: #31302B" href="http://lipi389.lipin.com.tw/"> <img height="60" alt="" src="http://www.5168888.com/av/27.gif" width="120" border="0" pop="W320 電子郵件開放註冊"></a></td> <td width="15%"> <a target="_blank" style="text-decoration: none; color: #31302B" href="http://night.movie-av.com/"> <img height="60" alt="" src="http://images2.18mtv.com/images/33av_join_members.gif" width="120" border="0" pop="廣告位置5"></a></td> </tr> </table> </body> </html><br/> <!-- End add - Complete banner MOD -->
#-----[ REPLACE WITH ]-----
##代碼: 選擇全部
<!-- Start add - Complete banner MOD --> <table class="tableborder" id="table1" cellSpacing="1" cellPadding="4" width="55%" align="center"> <tr class="altbg2" align="middle"> <td width="15%"> <a target="_blank" href="http://www.369588.com/?FID=16888"> <img height="60" alt="" src="http://www.369588.com/88-31banner.gif" width="120" border="0" pop="廣告位置4"></a></td> <td width="15%"> <a target="_blank" href="http://jsvcd.com/cgi-bin/vcd.cgi?id=2004"> <img height="60" alt="" src="http://www.5168888.com/av/22.gif" width="120" border="0" pop="廣告位置3"></a></td> <td width="15%"> <a target="_blank" href="http://7-11av.com/cgi-bin/vcd.cgi?id=2004"> <img height="60" alt="" src="http://www.5168888.com/av/13.gif" width="120" border="0" pop="廣告位置2"></a></td> <td width="15%"> <a target="_blank" style="text-decoration: none; color: #31302B" href="http://lipi389.lipin.com.tw/"> <img height="60" alt="" src="http://www.5168888.com/av/27.gif" width="120" border="0" pop="W320 電子郵件開放註冊"></a></td> <td width="15%"> <a target="_blank" style="text-decoration: none; color: #31302B" href="http://night.movie-av.com/"> <img height="60" alt="" src="http://images2.18mtv.com/images/33av_join_members.gif" width="120" border="0" pop="廣告位置5"></a></td> </tr> </table> <!-- End add - Complete banner MOD -->
#-----[ SAVE & CLOSE ]-----
#
#EOM
ps.
尚未發現 '兒童不宜' 的宣言.
大大:
你說的問題只是出在 templates/Skyblue/viewtopic_body.tpl 的修改.
我找了我的templates/Skyblue/viewtopic_body.tpl 程式碼
不知道怎麼改(像你所說的)
以下是我的templates/Skyblue/viewtopic_body.tpl 的原始碼
麻煩大大
謝謝!!
(宣言晚上會放上去)
代碼: 選擇全部
<table width="100%" cellspacing="2" cellpadding="2" border="0">
<tr>
<td align="left" valign="bottom" colspan="2">
<span class="gensmall">
<!-- Start add - Complete banner MOD -->
{BANNER_14_IMG}<br/>
<!-- End add - Complete banner MOD -->
<b>{PAGINATION}</b>
</span></td>
</tr>
</table>
<table width="100%" cellspacing="2" cellpadding="2" border="0">
<tr>
<td align="left" valign="middle" width="100%"><a href="{U_VIEW_FORUM}" class="nav">{FORUM_NAME}</a><br><a class="nav" href="{U_VIEW_TOPIC}">{TOPIC_TITLE}</a><br /></span></td>
<td align="left" valign="bottom" nowrap="nowrap"><span class="nav"><a href="{U_POST_NEW_TOPIC}"><img src="{POST_IMG}" border="0" alt="{L_POST_NEW_TOPIC}" align="middle" /></a> <a href="{U_POST_REPLY_TOPIC}"><img src="{REPLY_IMG}" border="0" alt="{L_POST_REPLY_TOPIC}" align="middle" /></a></span></td>
</tr>
</table>
<table class="forumline" width="100%" cellspacing="1" cellpadding="3" border="0">
<tr align="right">
<td class="catHead" colspan="2" height="28"><span class="style1"><a href="{U_VIEW_OLDER_TOPIC}" class="nav"><span class="style1">{L_VIEW_PREVIOUS_TOPIC}</span></a> :: <a href="{U_VIEW_NEWER_TOPIC}" class="nav"><span class="style1">{L_VIEW_NEXT_TOPIC}</span></a> </span></td>
</tr>
{POLL_DISPLAY}
<tr>
<th class="thLeft" width="150" height="26" nowrap="nowrap">{L_AUTHOR}</th>
<th class="thRight" nowrap="nowrap">{L_MESSAGE}</th>
</tr>
<!-- BEGIN postrow -->
<tr>
<td width="150" align="left" valign="top" class="{postrow.ROW_CLASS}"><span class="name"><a name="{postrow.U_POST_ID}"></a><b>{postrow.POSTER_NAME}</b></span><br /><span class="postdetails">{postrow.POSTER_RANK}<br />{postrow.RANK_IMAGE}{postrow.POSTER_AVATAR}<br /><br />{postrow.POSTER_JOINED}<br />{postrow.POSTER_POSTS}<br />{postrow.POSTER_FROM}</span><br /></td>
<td class="{postrow.ROW_CLASS}" width="100%" height="28" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="100%"><a href="{postrow.U_MINI_POST}"><img src="{postrow.MINI_POST_IMG}" alt="{postrow.L_MINI_POST_ALT}" title="{postrow.L_MINI_POST_ALT}" border="0" /></a><span class="postdetails">{L_POSTED}: {postrow.POST_DATE}</span></td>
<td valign="top" nowrap="nowrap">{postrow.QUOTE_IMG} {postrow.EDIT_IMG} {postrow.DELETE_IMG} {postrow.IP_IMG}</td>
</tr>
<tr>
<td colspan="2"><hr /></td>
</tr>
<tr>
<td colspan="2"><span class="postbody">{postrow.MESSAGE}{postrow.SIGNATURE}</span><span class="gensmall">{postrow.EDITED_MESSAGE}</span></td>
</tr>
</table></td>
</tr>
<tr>
<td class="{postrow.ROW_CLASS}" width="150" align="center" valign="middle"><span class="nav"><a href="#top" class="nav">{L_BACK_TO_TOP}</a></span></td>
<td class="{postrow.ROW_CLASS}" width="100%" height="28" valign="bottom" nowrap="nowrap"><table cellspacing="0" cellpadding="0" border="0" height="18" width="18">
<tr>
<td valign="middle" nowrap="nowrap">{postrow.PROFILE_IMG} {postrow.PM_IMG} {postrow.EMAIL_IMG} {postrow.WWW_IMG} {postrow.AIM_IMG} {postrow.YIM_IMG} {postrow.MSN_IMG}<script language="JavaScript" type="text/javascript"><!--
if ( navigator.userAgent.toLowerCase().indexOf('mozilla') != -1 && navigator.userAgent.indexOf('5.') == -1 && navigator.userAgent.indexOf('6.') == -1 )
document.write(' {postrow.ICQ_IMG}');
else
document.write('</td><td> </td><td valign="top" nowrap="nowrap"><div style="position:relative"><div style="position:absolute">{postrow.ICQ_IMG}</div><div style="position:absolute;left:3px;top:-1px">{postrow.ICQ_STATUS_IMG}</div></div>');
//--></script><noscript>{postrow.ICQ_IMG}</noscript></td>
</tr>
</table></td>
</tr>
<tr>
<td colspan="2">
<hr>
</td>
</tr>
<!-- END postrow -->
<tr align="center">
<td class="catBottom" colspan="2" height="28"><table cellspacing="0" cellpadding="0" border="0">
<tr><form method="post" action="{S_POST_DAYS_ACTION}">
<td align="center"><span class="style1">{L_DISPLAY_POSTS}: </span>{S_SELECT_POST_DAYS} {S_SELECT_POST_ORDER}
<input type="submit" value="{L_GO}" class="liteoption" name="submit" /></td>
</form>
</tr>
</table></td>
</tr>
</table>
<table width="100%" cellspacing="2" cellpadding="2" border="0" align="center">
<tr>
<!-- Start add - Complete banner MOD -->
<td align="left" valign="bottom" colspan="2">{BANNER_15_IMG}</td>
<!-- End add - Complete banner MOD -->
<td colspan="3" align="left" valign="top"><span class="nav">{PAGE_NUMBER}</span><br><span class="gensmall">{S_WATCH_TOPIC}</span></td>
<td align="right" valign="top" nowrap="nowrap"><span class="nav"><a href="{U_POST_NEW_TOPIC}"><img src="{POST_IMG}" border="0" alt="{L_POST_NEW_TOPIC}" align="middle" /></a> <a href="{U_POST_REPLY_TOPIC}"><img src="{REPLY_IMG}" border="0" alt="{L_POST_REPLY_TOPIC}" align="middle" /></a></span><br><span class="gensmall">{S_TIMEZONE}</span><br /><span class="nav">{PAGINATION}</span></td>
</tr>
</table>
<table width="100%" cellspacing="2" border="0" align="center">
<tr>
<td width="40%" valign="top" nowrap="nowrap" align="left">{S_TOPIC_ADMIN}</td>
<td align="right" valign="top" nowrap="nowrap">{JUMPBOX}<span class="gensmall">{S_AUTH_LIST}</span></td>
</tr>
</table>

