这个其实也很简在模板中找到文件
template\default\forum\attachpay_view.htm
然后找到如下代码
[C#] 纯文本查看 复制代码 <div class="c floatwrap">
<table class="list" cellspacing="0" cellpadding="0"{if empty($_GET['infloat'])} style="margin: 0;"{/if}>
<tr>
<th>{lang username}</th>
<th>{lang time}</th>
<th>{$_G['setting']['extcredits'][$_G['setting']['creditstransextra'][1]][title]}</th>
</tr>
<!--{if $loglist}-->
<!--{loop $loglist $log}-->
<tr>
<td><a href="home.php?mod=space&uid=$log[uid]">$log[username]</a></td>
<td>$log[dateline]</td>
<td>{$log[$extcreditname]} {$_G[setting][extcredits][$_G[setting][creditstransextra][1]][unit]}</td>
</tr>
<!--{/loop}-->
<!--{else}-->
<tr><td colspan="3"><div class="emp">{lang attachment_buy_not}</div></td></tr>
<!--{/if}-->
</table>
修改后的代码[C#] 纯文本查看 复制代码 <div class="c floatwrap">
<table class="list" cellspacing="0" cellpadding="0"{if empty($_GET['infloat'])} style="margin: 0;"{/if}>
<tr>
<th>{lang username}</th>
<th>{lang time}</th>
<th>{$_G['setting']['extcredits'][$_G['setting']['creditstransextra'][1]][title]}</th>
</tr>
<!--{if $loglist}-->
{eval $fjnuber=0;}
<!--{loop $loglist $log}-->
<tr>
{eval $fjnuber++}
<td><a href="home.php?mod=space&uid=$log[uid]">{$fjnuber}.$log[username]</a></td>
<td>$log[dateline]</td>
<td>{$log[$extcreditname]} {$_G[setting][extcredits][$_G[setting][creditstransextra][1]][unit]}</td>
</tr>
<!--{/loop}-->
<!--{else}-->
<tr><td colspan="3"><div class="emp">{lang attachment_buy_not}</div></td></tr>
<!--{/if}-->
</table> 效果如下
|