test pagination
This commit is contained in:
parent
afd261456e
commit
80c50a58f1
|
@ -3,10 +3,10 @@ $hist=get_battles_history($currentArena);
|
|||
|
||||
|
||||
foreach($hist as $sc){
|
||||
echo '<h3><a href="/p/aboutBot/'.urlencode(htmlentities($sc['bot1'])).'">'.$sc['bot1'].'</a> VS <a href="/p/aboutBot/'.urlencode(htmlentities($sc['bot2'])).'">'.$sc['bot2'].'</a></h3>
|
||||
echo '<article><h3><a href="/p/aboutBot/'.urlencode(htmlentities($sc['bot1'])).'">'.$sc['bot1'].'</a> VS <a href="/p/aboutBot/'.urlencode(htmlentities($sc['bot2'])).'">'.$sc['bot2'].'</a></h3>
|
||||
<ul>
|
||||
<li>'.$sc['bot1']." ".$lang['VICTORIES'].":".$sc['player1Wins'].'</li>
|
||||
<li>'.$sc['bot2']." ".$lang['VICTORIES'].":".$sc['player2Wins'].'</li>
|
||||
<li>'.$lang['DRAW'].":".$sc['draws'].'</li>
|
||||
</ul>';
|
||||
</ul></article>';
|
||||
}
|
Loading…
Reference in New Issue
Block a user