就是有時候版面會突然錯亂,請見抓圖:
http://home.pchome.com.tw/mysite/paulho ... /Forum.gif
不過這是偶發狀況,並不是每一次進來論壇都會如此,只要按重新整理就恢復正常了。
剛開始我懷疑是討論區前方加入ICON這一支外掛惹的禍。
不過我另一個論壇沒有架這支外掛,也有類似的情況發生,有點不解....
有誰知道原因是出在哪裡嗎??
附上我的 index_body.tpl :
代碼: 選擇全部
<!-- BEGIN board_announce -->
<table align="center">
<tr>
<td align="center" valign="top"><!-- Board_Announce_MOD -->
<table align="center" cellpadding="0" cellspacing="0" border="0">
<tr>
<td><img src="templates/subSilver/images/navleft.gif" width="12" height="26" border="0" /></td>
<td align="center" height="22" style="background-image:url(templates/subSilver/images/navbg.gif)" nowrap="nowrap">
<img src="templates/subSilver/images/announce.gif" width="16" height="16" border="0" align="middle" alt="公告" hspace="3" /><span style="{font-size:13px; color:red}"> <b>{board_announce.ANNOUNCE_CONTENT}</b> </span>
</td>
<td><img src="templates/subSilver/images/navright.gif" width="12" height="26" border="0" /></td>
</tr>
</table>
</td>
</tr>
</table>
<!-- END board_announce -->
<table width="100%" cellspacing="0" cellpadding="2" border="0" align="center">
<tr>
<td align="left" valign="bottom"><span class="gensmall">
<!-- BEGIN switch_user_logged_in -->
{LAST_VISIT_DATE}<br />
<!-- END switch_user_logged_in -->
{CURRENT_TIME}<br /><br /></span><span class="nav"><a href="../index2.htm" class="nav">戀愛熱舞站 首頁</a> » <a href="{U_INDEX}" class="nav">{L_INDEX}</a></span></td>
<td align="right" valign="bottom" class="gensmall">
<!-- BEGIN switch_user_logged_in -->
<a href="{U_SEARCH_NEW}" class="gensmall">{L_SEARCH_NEW}</a><br /><a href="{U_SEARCH_SELF}" class="gensmall">{L_SEARCH_SELF}</a><br />
<!-- END switch_user_logged_in -->
<a href="{U_SEARCH_SELF_TOPICS}" class="gensmall">{L_SEARCH_SELF_TOPICS}</a><br />
<a href="{U_SEARCH_UNANSWERED}" class="gensmall">{L_SEARCH_UNANSWERED}</a><br />
<a href="{U_SEARCH_EXCERPTION}" class="gensmall">{L_SEARCH_EXCERPTION}</a></td>
</tr>
</table>
{NEWS}
<iframe src="adv_top5.php" width="100%" height="245" marginwidth="0" marginheight="0" frameborder="0" scrolling="no"></iframe>
<!-- 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>
<tr>
<td class="catLeft" colspan="5" height="25"><span class="cattitle"><a href="{catrow.U_VIEWCAT}" class="cattitle">{catrow.CAT_DESC}</a></span></td>
</tr>
<!-- BEGIN forumrow -->
<tr>
<td class="row1" align="center" valign="middle" height="50"><img src="{catrow.forumrow.FORUM_FOLDER_IMG}" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" /></td>
<td class="row1" width="100%" height="50" onMouseOver="this.style.cursor='hand'; this.style.backgroundColor='{T_TR_COLOR2}'" onMouseOut=this.style.backgroundColor="" onclick="window.location.href='{catrow.forumrow.U_VIEWFORUM}'">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="5%"><img src="{catrow.forumrow.FORUM_ICON}" alt="{catrow.forumrow.FORUM_NAME}" /></td>
<td width="95%"><span class="forumlink"><a href="{catrow.forumrow.U_VIEWFORUM}" class="forumlink">{catrow.forumrow.FORUM_NAME}</a> <a href="{catrow.forumrow.U_QUICK_TOPIC}"><img src="{QUICK_TOPIC_IMG}" alt="{L_QUICK_TOPIC}" border="0" /></a></span><br />
<span class="genmed">{catrow.forumrow.FORUM_DESC}</span><br />
<span class="gensmall"><font color="green">{catrow.forumrow.L_MODERATOR}</font> {catrow.forumrow.MODERATORS}</span></td>
</tr></table>
</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"><a href="{catrow.forumrow.U_LAST_TOPIC}" title="{catrow.forumrow.K_LAST_TOPIC}" >{catrow.forumrow.LAST_TOPIC}</a><br />{catrow.forumrow.LAST_POST}</span></td>
</tr>
<!-- END forumrow -->
</table><br />
<!-- END catrow -->
<table width="100%" cellspacing="0" border="0" align="center" cellpadding="2">
<tr>
<td align="left"><span class="gensmall"><a href="{U_MARK_READ}" class="gensmall">{L_MARK_FORUMS_READ}</a></span></td>
<td align="right"><span class="gensmall">{S_TIMEZONE}</span></td>
</tr>
</table>
<table width="100%" cellpadding="3" cellspacing="1" border="0" class="forumline">
<tr>
<td class="catHead" colspan="2" height="28"><span class="cattitle"><a href="{U_VIEWONLINE}" class="cattitle">{L_WHO_IS_ONLINE}</a></span></td>
</tr>
<tr>
<td class="row1" align="center" valign="middle" rowspan="4"><img src="templates/subSilver/images/whosonline.gif" alt="{L_WHO_IS_ONLINE}" /></td>
<td class="row1" align="left" width="100%"><span class="gensmall">{TOTAL_POSTS}。<br />{TOTAL_USERS},{NEWEST_USER}。<br /><br />目前在已公佈性別的註冊會員中,{TOTAL_FEMALE},{TOTAL_MALE}。</span>
</td>
</tr>
<tr>
<td class="row1" align="left"><span class="gensmall">{L_WHOSBIRTHDAY_TODAY}<br />{L_WHOSBIRTHDAY_WEEK}</span></td>
</tr>
<tr>
<td class="row1" align="left"><span class="gensmall">{TOTAL_USERS_ONLINE} [ {L_WHOSONLINE_ADMIN} ] [ {L_WHOSONLINE_MOD} ]<br />{RECORD_USERS}<br />{LOGGED_IN_USER_LIST}</span></td>
</tr>
<tr>
<td class="row1" align="left"><span class="gensmall">{TOTAL_CHATTERS_ONLINE}
<!-- BEGIN switch_user_logged_out -->
,{L_LOGIN_TO_JOIN_CHAT}
<!-- END switch_user_logged_out -->
<!-- BEGIN switch_user_logged_in -->
,<a href="javascript:void(0);" onClick="window.open('{S_JOIN_CHAT}','{CHATBOX_NAME}','scrollbars=no,width=600,height=500')">{L_CLICK_TO_JOIN_CHAT}</a>。
<!-- END switch_user_logged_in -->
<br />{CHATTERS_LIST}
</span>
</td>
</tr>
</table>
<table width="100%" cellpadding="1" cellspacing="1" border="0">
<td align="left" valign="top"><span class="gensmall">{L_ONLINE_EXPLAIN}</span></td>
</table>
<!-- BEGIN switch_user_logged_out -->
<form action="{S_LOGIN_ACTION}" method="post">
<table width="100%" cellpadding="3" cellspacing="1" border="0" class="forumline">
<tr>
<td class="catHead" height="28"><a name="login"></a><span class="cattitle">{L_LOGIN_LOGOUT}</span></td>
</tr>
<tr>
<td class="row1" align="center" valign="middle" height="28"><span class="gensmall">{L_USERNAME}:
<input class="post" type="text" name="username" size="10" />
{L_PASSWORD}:
<input class="post" type="password" name="password" size="10" />
{L_AUTO_LOGIN}
<input class="text" type="checkbox" name="autologin" />
<input type="submit" class="mainoption" name="login" value="{L_LOGIN}" />
</span></td>
</tr>
</table>
</form>
<!-- END switch_user_logged_out -->
<br clear="all" />
<table cellspacing="3" border="0" align="center" cellpadding="0">
<tr>
<td width="20" align="center"><img src="templates/subSilver/images/folder_new.gif" alt="{L_NEW_POSTS}"/></td>
<td><span class="gensmall">{L_NEW_POSTS}</span></td>
<td> </td>
<td width="20" align="center"><img src="templates/subSilver/images/folder.gif" alt="{L_NO_NEW_POSTS}" /></td>
<td><span class="gensmall">{L_NO_NEW_POSTS}</span></td>
<td> </td>
<td width="20" align="center"><img src="templates/subSilver/images/folder_lock.gif" alt="{L_FORUM_LOCKED}" /></td>
<td><span class="gensmall">{L_FORUM_LOCKED}</span></td>
</tr>
</table>


