兩個欄位沒用到就直接將 foruminfo 的兩欄刪除
複製內容到剪貼簿
代碼:
<td style="width: 25%">
<!--{if $discuz_uid}-->
<h4 style="font-size: 12pt"><a href="viewpro.php?uid=$discuz_uid" style="font-weight: bold; font-size: 12pt; color: #ca0000" title="查看 $discuz_userss 個人{lang view_profile}">$discuz_userss</a> <!--{if $allowinvisible}--><!--{if !empty($invisible)}--><a href="member.php?action=switchstatus" title="{lang login_switch_normal_mode}" style="color: blue">[{lang login_invisible_mode}]</a><!--{else}--><a href="member.php?action=switchstatus" title="{lang login_switch_invisible_mode}" style="color: green">[{lang login_normal_mode}]</a><!--{/if}--><!--{/if}--></h4>
<!--{else}-->
<h4 style="font-size: 11pt">請立即 <a href="register.php" style="color: red;">{lang register}</a>
成為 $bbname {lang memberlist}</h4>
<!--{/if}-->
<table cellspacing="0" cellpadding="0">
<!--{if $discuz_uid}-->
{lang index_status}:<span style="font-weight: bold"><!--{if $validdays}--><a href="member.php?action=groupexpiry"><span style="font-weight: bold">$grouptitle</span>($validdays)</a><!--{else}--><span style="font-weight: bold">$grouptitle</span><!--{/if}--></span>
{lang lastvisit}: <span style="font-weight: bold">$lastvisittime</span>
{lang credits}: <span style="font-weight: bold">$credits</span>
<!--{loop $extcredits $id $credit}-->
$credit[title]: <span style="font-weight: bold">$GLOBALS[extcredits.$id]</span> $credit[unit]
<!--{/loop}-->
IP:<span style="font-weight: bold">$onlineip</span>
{lang location}:<span style="font-weight: bold">$mem_home</span>
作業系統:<span style="font-weight: bold"><font face="Verdana">$visitor_os</font></span>
{lang stats_browser}:<span style="font-weight: bold"><font face="Verdana">$visitor_browser</font></span>
新{lang pm}:<a href="pm.php" target=_bank>
<!--{if $newpm ==0}-->沒有新{lang pm}<!--{else}-->
共<span style="font-weight: bold"> $newpmnum</span> 條</a><!--{/if}-->
<a href="search.php?srchfrom=$newthreads&searchsubmit=yes" title="{lang show_newthreads}">新帖</a> |
<a href="member.php?action=markread" title="{lang mark_read}">標讀</a> | <a href="my.php?item=threads" title="{lang show_mytopics}">我帖</a> | <a href="digest.php" title="{lang digest}">精華</a> | <!--{if $allowuseblog}--><a href="blog.php?uid=$discuz_uid" target="_blank" title="我的{lang blog}">{lang blog}</a>
<!--{/if}-->
<!--{else}--> <form method="post" name="login" action="logging.php?action=login&">
<input type="hidden" name="formhash" value="{FORMHASH}" />
<input type="hidden" name="referer" value="$referer" />
來自 <span style="font-weight: bold; color: blue;">$mem_home</span> 的訪客
現 {lang register} 成為會員即獲贈現金 100 元
做為參與本討論區的活動之用。
<span style="font-weight: bold; color: green"><a href="index.php" style="color: green">$bbname</a> {lang member_login}</span>
{lang username}:<input type="text" id="username" name="username" size="15" maxlength="40" tabindex="4" title="填入用戶名稱登錄" />
{lang password} :<input type="password" id="password" name="password" size="15" tabindex="5" title="填入用戶密碼登錄" />
<button class="submit" type="submit" name="loginsubmit" value="true" tabindex="100" title="填寫帳號密碼即可登錄{LF}未註冊者請先註冊">登錄</button>
</form>
<form method="post" name="login" action="$link_login">
或使用 <a href="$link_login" title=""><input type="submit" id="postsubmit" value="安全登錄" title="進階登錄" tabindex="4" /></a>
</form>
<!--{/if}-->
</table>
</td>那其它欄位那個 % 數依自己需求調整~