fix somes warns html
This commit is contained in:
parent
95149f3750
commit
29e612fb74
|
@ -72,12 +72,12 @@ if(isset($_GET['arena'])){
|
|||
|
||||
}
|
||||
|
||||
$asideSectionContent.='<li>'.$img.' <a href="/p/aboutBot/'.$sc['id'].'">'.htmlentities($sc['name']).'</a> ELO rank: '.$sc['ELO'].'</li>';
|
||||
$asideSectionContent.='<li>'.$img.' <a href="/p/aboutBot/'.urlencode(htmlentities(($sc['name'])).'">'.htmlentities($sc['name']).'</a> ELO rank: '.$sc['ELO'].'</li>';
|
||||
}
|
||||
$asideSectionContent.='</ul><h2>Détail des matchs</h2>';
|
||||
|
||||
foreach($hist as $sc){
|
||||
$asideSectionContent.='<h3><a href="/p/aboutBot/'.htmlentities($sc['bot1']).'">'.$sc['bot1'].'</a> VS <a href="/p/aboutBot/'.htmlentities($sc['bot2']).'">'.$sc['bot2'].'</a></h3>
|
||||
$asideSectionContent.='<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>
|
||||
|
|
Loading…
Reference in New Issue
Block a user