[外掛]請教TOP5太寬,想放頁上
發表於 : 2006-01-08 16:47
[外掛]請教TOP5太寬,想放頁上
●架設主機作業系統:Windows Xp
●免費空間連結:http://host.aczc.com/
●您的上網方式:ADSL
●您安裝的程式:FlashFXP v3.0 Build 1015 Final
●您的 phpBB2 版本:phpBB 2.0.10版。
●您的 phpBB2 連結網址: http://herbadoctor.aczc.com/phpBB/index.php
●錯誤:我已經爬文和上傳兩天,剛接觸phpBB,想在此請教高手們,TOP5我想把它移到上面,由於語法也弄不好,再者TOP5欄位太寬,想和其他欄一樣大小,麻煩朋友賜教!謝謝!
附上語法和圖片。
風格:aqua
adv_top5_mod_2.1.zip 版本\r

index_body.tpl
●架設主機作業系統:Windows Xp
●免費空間連結:http://host.aczc.com/
●您的上網方式:ADSL
●您安裝的程式:FlashFXP v3.0 Build 1015 Final
●您的 phpBB2 版本:phpBB 2.0.10版。
●您的 phpBB2 連結網址: http://herbadoctor.aczc.com/phpBB/index.php
●錯誤:我已經爬文和上傳兩天,剛接觸phpBB,想在此請教高手們,TOP5我想把它移到上面,由於語法也弄不好,再者TOP5欄位太寬,想和其他欄一樣大小,麻煩朋友賜教!謝謝!
附上語法和圖片。
風格:aqua
adv_top5_mod_2.1.zip 版本\r

index_body.tpl
<div align="center">
<div style="width:90%">
<!-- BEGIN switch_user_logged_out -->
<form method="post" action="{S_LOGIN_ACTION}">
<table width="90%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"><img src="templates/aqua/images/loingl.gif"><a name="login"></a></td>
<td align="center" background="templates/aqua/images/loingm.gif"><span class="cattitle">{L_LOGIN_LOGOUT}</span><br>
<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" maxlength="32" />
{L_AUTO_LOGIN} <input class="text" type="checkbox" name="autologin" />
<input type="submit" class="mainoption" name="login" value="{L_LOGIN}" />
</span></td>
<td width="20" align="right"><img src="templates/aqua/images/loingr.gif"></td>
</tr>
</table>
</form></div>
<!-- END switch_user_logged_out -->
</div>
<table width="90%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="20%">
<span class="nav"><a href="{U_INDEX}" class="nav">{L_INDEX}</a></span>
</td>
<td width="80%" align="right">
<img src="templates/aqua/images/aqua_button01.gif" align="absmiddle">
<span class="gensmall">
<!-- BEGIN switch_user_logged_in -->
<a href="{U_SEARCH_NEW}" class="gensmall">{L_SEARCH_NEW}</a>
<a href="{U_SEARCH_SELF}" class="gensmall">{L_SEARCH_SELF}</a>
<!-- END switch_user_logged_in -->
<a href="{U_SEARCH_UNANSWERED}" class="gensmall">{L_SEARCH_UNANSWERED}</a>
<a href="{U_MARK_READ}" class="gensmall">{L_MARK_FORUMS_READ}</a>
</span>
</td>
</tr>
</table>
<table width="90%" align="center" cellpadding="1" cellspacing="1" border="0" class="forumline">
<!-- BEGIN catrow -->
<table width="90%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr align="center">
<td width="22" height="22" align="left"><img src="templates/aqua/images/aquatbl.gif" width="22" height="22"></td>
<td height="22" align="center" background="templates/aqua/images/aquatbm.gif"><span class="cattitle"><a href="{catrow.U_VIEWCAT}" class="cattitle">{catrow.CAT_DESC}</a></span></td>
<td width="79" height="22" align="right"><img src="templates/aqua/images/aquatbr.gif" width="79" height="22"></td>
</tr>
</table>
<table width="90%" border="0" align="center" cellpadding="2" cellspacing="0" class="forumline">
<tr>
<th height="22" colspan="2" align="left" nowrap="nowrap"> {L_FORUM} </th>
<th width="50" height="22" nowrap="nowrap"> {L_TOPICS} </th>
<th width="50" height="22" nowrap="nowrap"> {L_POSTS} </th>
<th width="130" height="22" nowrap="nowrap"> {L_LASTPOST} </th>
</tr>
<!-- BEGIN forumrow -->
<tr>
<td class="row2" 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="row2" 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 />
</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 width="130" height="50" align="center" valign="middle" nowrap="nowrap" class="row2"> <span class="gensmall">{catrow.forumrow.LAST_POST}</span></td>
</tr>
<!-- END forumrow -->
</table>
<table width="90%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="20" height="22"><img src="templates/aqua/images/aquatbdl.gif" width="20" height="22"></td>
<td background="templates/aqua/images/aquatbdm.gif"><img src="templates/aqua/images/aquatbdm.gif" width="1" height="22"></td>
<td width="20" height="22"><img src="templates/aqua/images/aquatbdr.gif" width="20" height="22"></td>
</tr>
</table>
<br />
<!-- END catrow -->
<table width="90%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="10"><img src="templates/aqua/images/aquawul.gif"></td>
<td background="templates/aqua/images/aquawum.gif"></td>
<td width="10"><img src="templates/aqua/images/aquawur.gif"></td>
</tr>
<tr>
<td width="10" background="templates/aqua/images/aquawml.gif"></td>
<td background="templates/aqua/images/aquawmm.gif"><p><a href="{U_VIEWONLINE}"><img src="templates/aqua/images/whosonline.gif" alt="{L_WHO_IS_ONLINE}" border="0" /></a></p>
<blockquote>
<p>
<span class="gensmall">{S_TIMEZONE}</span><br />
<!-- BEGIN switch_user_logged_in -->
<span class="gensmall">{LAST_VISIT_DATE}</span><br />
<!-- END switch_user_logged_in -->
<span class="gensmall">{CURRENT_TIME}</span><br />
<span class="gensmall">{TOTAL_POSTS}<br />
{TOTAL_USERS}<br />
{NEWEST_USER}<br />
{TOTAL_USERS_ONLINE} [ {L_WHOSONLINE_ADMIN} ] [ {L_WHOSONLINE_MOD} ]<br />
{RECORD_USERS}<br />
{LOGGED_IN_USER_LIST}<br />
{L_ONLINE_EXPLAIN}</span>
</p>
</blockquote></td>
<td width="10" background="templates/aqua/images/aquawmr.gif"></td>
</tr>
<tr>
<td width="10"><img src="templates/aqua/images/aquawdl.gif"></td>
<td background="templates/aqua/images/aquawdm.gif"></td>
<td width="10"><img src="templates/aqua/images/aquawdr.gif"></td>
</tr>
</table>
<br clear="all" />
<table border="0" align="center" cellpadding="5" cellspacing="0">
<tr>
<td align="center"><img src="templates/aqua/images/folder_new_big.gif" alt="{L_NEW_POSTS}"/></td>
<td align="center"><img src="templates/aqua/images/folder_big.gif" alt="{L_NO_NEW_POSTS}" /></td>
<td align="center"><img src="templates/aqua/images/folder_locked_big.gif" alt="{L_FORUM_LOCKED}"/></td>
</tr>
<tr>
<td align="center"><span class="gensmall">{L_NEW_POSTS}</span></td>
<td align="center"><span class="gensmall">{L_NO_NEW_POSTS}</span></td>
<td align="center"><span class="gensmall">{L_FORUM_LOCKED}</span></td>
</tr>
</table>
<iframe marginwidth=0 marginheight=0 src='adv_top5.php' frameborder=0 width='100%' scrolling=no height=250>
</iframe>