Quote:
Originally Posted by erjavid
In your
arcade/skin/skin_v3Arcade.php
and
arcade/skin/skin_arcade.php
Find:
Code:
<div class='tborder'>
<table width='100%' border='0' cellspacing='0' cellpadding='2'>
<tr>
<th width='50%' align='center' nowrap='nowrap' class='tcat' colspan='1'><img src="./arcade/images/crown.gif" border="0" alt=""> {$ibforums->lang['grand_champions']} <img src="./arcade/images/crown.gif" border="0" alt=""></th>
<th width='50%' align='center' nowrap='nowrap' class='tcat' colspan='1'>{$ibforums->lang['leagueleader']}</th>
</tr>
<tr>
<td width='50%' align='center' nowrap='nowrap' class='alt2' valign='middle'>
{$Champion['ArcadeChampionAvatarCode1']}
</td>
<td width='50%' align='center' nowrap='nowrap' class='alt2' valign='middle'>
{$tourneyinfo['champavatar']}
</td>
</tr>
<tr>
<td width='50%' align='center' nowrap='nowrap' class='alt2' valign='middle'>
{$Champion['ArcadeChampion1']}
</td>
<td width='50%' align='center' nowrap='nowrap' class='alt2' valign='middle'>
{$tourneyinfo['champ']}
</td>
</tr>
</table>
</div>
Add Below:
Code:
<div class='tborder'>
<table width='100%' border='0' cellspacing='1' cellpadding='4'>
<tr>
<th width='100%' align='center' nowrap='nowrap' class='tcat'> Top 24 Players:</th>
</tr>
<tr>
<td width='50%' align='center' nowrap='nowrap' class="alt2" valign='top' ><table width='100%' border='0' cellspacing='1' cellpadding='4'><tr>
<td width='33%' align='left' nowrap='nowrap' class='alt2' valign='middle'>04. {$Champion ['ArcadeChampion4']}<br>05. {$Champion['ArcadeChampion5']}<br>06. {$Champion['ArcadeChampion6']}<br>07. {$Champion['ArcadeChampion7']}<br>08. {$Champion['ArcadeChampion8']}<br>09. {$Champion['ArcadeChampion9']}<br>10. {$Champion['ArcadeChampion10']}</td>
<td width='33%' align='left' nowrap='nowrap' class='alt2' valign='middle'>11. {$Champion['ArcadeChampion11']}<br>12. {$Champion['ArcadeChampion12']}<br>13. {$Champion['ArcadeChampion13']}<br>14. {$Champion ['ArcadeChampion14']}<br>15. {$Champion['ArcadeChampion15']}<br>16. {$Champion['ArcadeChampion16']}<br>17. {$Champion['ArcadeChampion17']}</td>
<td width='33%' align='left' nowrap='nowrap' class='alt2' valign='middle'>18. {$Champion['ArcadeChampion18']}<br>19. {$Champion['ArcadeChampion19']}<br>20. {$Champion['ArcadeChampion20']}<br>21. {$Champion['ArcadeChampion21']}<br>22. {$Champion['ArcadeChampion22']}<br>23. {$Champion['ArcadeChampion23']}<br>24 {$Champion ['ArcadeChampion24']}</td></tr></table></td>
</tr>
</table>
</div>
<fieldset class="fieldset" style="margin: 0px 0px 0px 0px;">
<legend>{$ibforums->lang['newest_champs']}</legend>
<div style="padding: 0px;">
<table cellpadding="0" cellspacing="0" border="0" align="center" width="100%">
<tr>
<td width="100%">
<table cellpadding="2" cellspacing="1" border="0" width="100%">
{$newtext}
</table>
</td>
</tr>
</table>
</div>
</fieldset>
|
I found that if you used the above code, when there were tie scores, you would at times have the same name in 3rd and 4th and have one player missing because it was getting the results from two different queries.
I found if I changed this:
Code:
<td width='33%' align='center' nowrap='nowrap' class='alt2' valign='middle'>{$Highscorechamp['ArcadeChampion1']}</td>
<td width='33%' align='center' nowrap='nowrap' class='alt2' valign='middle'>{$Highscorechamp['ArcadeChampion2']}</td>
<td width='33%' align='center' nowrap='nowrap' class='alt2' valign='middle'>{$Highscorechamp['ArcadeChampion3']}</td>
to this:
Code:
<td width='33%' align='center' nowrap='nowrap' class='alt2' valign='middle'>{$Champion['ArcadeChampion1']}</td>
<td width='33%' align='center' nowrap='nowrap' class='alt2' valign='middle'>{$Champion['ArcadeChampion2']}</td>
<td width='33%' align='center' nowrap='nowrap' class='alt2' valign='middle'>{$Champion['ArcadeChampion3']}</td>
The repeating of names did not occur since it was all one query.