
\n是想要改成這樣啦,可是只有登入後才會出現,而且還有紅框中的問題
不知道是哪裡出錯了,可以請大大幫忙一下嗎?

若要下載風格檔檢視語碼,或協助修正的大大
請點我下載風格包
●修改風格:F1 SubSliver Shadow
版主: 版主管理群


代碼: 選擇全部
<!-- BEGIN switch_user_logged_in --></td>
<td width="17%" align="right" valign="top" class="gensmall"><form method="post" action="{S_LOGIN_ACTION}">
<div align="justify">
<table width="95%" border="0" cellpadding="3" cellspacing="1" class="forumline">
<tr>
<th width="95%">{L_LOGIN_LOGOUT}</th>
</tr>
<tr>
<td width="95%" height="90" align="center" class="row1"><table border="0" cellspacing="0" cellpadding="2">
<tr>
<td class="gensmall">{L_USERNAME}: </td>
<td><input class="post" type="text" name="username" size="10" /></td>
</tr>
<tr>
<td class="gensmall">{L_PASSWORD}:</td>
<td><input class="post" type="password" name="password" size="10" maxlength="32" /></td>
</tr>
<tr>
<td height="19" colspan="2" class="gensmall"><div align="center">{L_AUTO_LOGIN}
<input class="text" type="checkbox" name="autologin" />
</div></td>
</tr>
<tr>
<td height="25" colspan="2" class="gensmall"><div align="center">
<input type="submit" class="mainoption" name="login" value="{L_LOGIN}" />
</div></td>
</tr>
</table></td>
</tr>
</table>
<table width="251" border="0">
<tr>
<td width="245"> </td>
</tr>
</table>
</div>
<div align="justify">
<table width="95%" cellpadding="3" cellspacing="1" border="0" class="forumline">
<tr>
<td class="cat" colspan="2"><a href="{U_VIEWONLINE}">{L_WHO_IS_ONLINE}</a></td>
</tr>
<tr>
<td class="row1" rowspan="3"><img src="templates/fisubsilversh/images/whosonline.gif" alt="{L_WHO_IS_ONLINE}" width="25" height="25" class="imgfolder" title="{L_WHO_IS_ONLINE}" /> </td>
<td width="100%" height="54" class="row1">{TOTAL_POSTS}<br />
\n {TOTAL_USERS}<br />
{NEWEST_USER}</td>
</tr>
<tr>
<td height="105" class="row1"><p class="gensmall">{TOTAL_USERS_ONLINE} </p>
<p class="gensmall">[ <strong>{L_WHOSONLINE_ADMIN}</strong> ]</p>
<p class="gensmall">[ <strong>{L_WHOSONLINE_MOD}</strong> ]<br />
{RECORD_USERS}<br />
{LOGGED_IN_USER_LIST}</p></td>
</tr>
<tr>
<td height="102" class="row1">{L_ONLINE_EXPLAIN}</td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="tbl">
<tr>
<td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
<td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
<td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
</tr>
</table>
<!-- END switch_user_logged_in -->代碼: 選擇全部
<!-- BEGIN switch_user_logged_out --></td>
<td width="17%" align="right" valign="top" class="gensmall"><form method="post" action="{S_LOGIN_ACTION}">
<div align="justify">
<table width="95%" border="0" cellpadding="3" cellspacing="1" class="forumline">
<tr>
<th width="95%">{L_LOGIN_LOGOUT}</th>
</tr>
<tr>
<td width="95%" height="90" align="center" class="row1"><table border="0" cellspacing="0" cellpadding="2">
<tr>
<td class="gensmall">{L_USERNAME}: </td>
<td><input class="post" type="text" name="username" size="10" /></td>
</tr>
<tr>
<td class="gensmall">{L_PASSWORD}:</td>
<td><input class="post" type="password" name="password" size="10" maxlength="32" /></td>
</tr>
<tr>
<td height="19" colspan="2" class="gensmall"><div align="center">{L_AUTO_LOGIN}
<input class="text" type="checkbox" name="autologin" />
</div></td>
</tr>
<tr>
<td height="25" colspan="2" class="gensmall"><div align="center">
<input type="submit" class="mainoption" name="login" value="{L_LOGIN}" />
</div></td>
</tr>
</table></td>
</tr>
</table>
<table width="251" border="0">
<tr>
<td width="245"> </td>
</tr>
</table>
</div>
<div align="justify">
<table width="95%" cellpadding="3" cellspacing="1" border="0" class="forumline">
<tr>
<td class="cat" colspan="2"><a href="{U_VIEWONLINE}">{L_WHO_IS_ONLINE}</a></td>
</tr>
<tr>
<td class="row1" rowspan="3"><img src="templates/fisubsilversh/images/whosonline.gif" alt="{L_WHO_IS_ONLINE}" width="25" height="25" class="imgfolder" title="{L_WHO_IS_ONLINE}" /> </td>
<td width="100%" height="54" class="row1">{TOTAL_POSTS}<br />
{TOTAL_USERS}<br />
{NEWEST_USER}</td>
</tr>
<tr>
<td height="105" class="row1"><p class="gensmall">{TOTAL_USERS_ONLINE} </p>
<p class="gensmall">[ <strong>{L_WHOSONLINE_ADMIN}</strong> ]</p>
<p class="gensmall">[ <strong>{L_WHOSONLINE_MOD}</strong> ]<br />
{RECORD_USERS}<br />
{LOGGED_IN_USER_LIST}</p></td>
</tr>
<tr>
<td height="102" class="row1">{L_ONLINE_EXPLAIN}</td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="tbl">
<tr>
<td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
<td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
<td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
</tr>
</table>
<!-- END switch_user_logged_out -->代碼: 選擇全部
<!-- BEGIN switch_user_logged_in -->
<!-- END switch_user_logged_in -->
<!-- BEGIN switch_user_logged_out -->
<!-- END switch_user_logged_out --> 所以...sakamoto 寫:簡單的講.....把上面的都拔掉.就會一直出現了...
代碼: 選擇全部
Parse error: parse error, unexpected '}' in d:\server\appserv_2\www\phpbb2\includes\template.php(127) : eval()'d code on line 121代碼: 選擇全部
<!-- BEGIN switch_user_logged_in -->
<!-- END switch_user_logged_in -->代碼: 選擇全部
<!-- BEGIN switch_user_logged_out -->
<!-- END switch_user_logged_out -->代碼: 選擇全部
<!-- BEGIN switch_user_logged_out -->
<!-- END switch_user_logged_out -->代碼: 選擇全部
<!-- BEGIN switch_user_logged_in -->
<!-- END switch_user_logged_in -->代碼: 選擇全部
<a href="{U_LOGIN_LOGOUT}">{L_LOGIN_LOGOUT}</a>代碼: 選擇全部
"使用者名稱變數",您好!歡迎來到論壇!