Sửa index.php
Code index_body.html cho prosilver$sql ='SELECT user_id, username, user_colour, user_posts FROM ' . USERS_TABLE . 'WHERE user_type IN (' . USER_NORMAL . ', ' . USER_FOUNDER .') AND user_posts
> 0 ORDER BY user_posts DESC'; $result = $db->sql_query_limit($sql, 5);// Sửa số 5 thay đổi số lượng while ($row = $db->sql_fetchrow($
result)){
$template->assign_block_vars('top_posters', array('USERNAME' =>get_username_string('full', $row['user_id'], $row['username'], $row['user_colour']),'POSTS' => $row['user_posts'],));}
Code index_body.html của subsilver2<div class="forumbgforumbg-table"><div class="inner"><span class="corners-top"><span></span></span><table class="table1" cellspacing="1"> <thead>
<tr>
<th class="name"><span class="rank-img">{L_POSTS}</span>{L_POSTER}</th>
</tr>
</thead>
<tbody>
<!-- BEGIN top_
posters -->
<tr class="<!-- IF top_posters.S_ROW_COUNT is even -->bg1<!--ELSE -->bg2<!--ENDIF -->"><td><span class="{S_CONTENT_FLOW_END}-column"> {top_posters.POSTS}</span>{top_posters.USERNAME}</td>
</tr>
<!-- END top_posters --></tbody>
</table>
<span class="corners-bottom"><span></span></span></div>
</div>
<table class="tablebg" width="100%" cellspacing="1">
<tr>
<th>{L_POSTER}
</th>
<th>{L_POSTS}
</th>
</tr>
<!-- BEGIN top_
posters -->
<tr>
<td class="row1"> {top_posters.USERNAME}</td>
<td class="row2">
{top_posters.POSTS}</td>
</tr>
<!-- END top_
posters -->
</table>