fix somes warns html

This commit is contained in:
Gnieark 2016-06-10 11:26:39 +02:00
parent 95149f3750
commit 29e612fb74
1 changed files with 2 additions and 2 deletions

View File

@ -72,12 +72,12 @@ if(isset($_GET['arena'])){
} }
$asideSectionContent.='<li>'.$img.'&nbsp;<a href="/p/aboutBot/'.$sc['id'].'">'.htmlentities($sc['name']).'</a> ELO rank: '.$sc['ELO'].'</li>'; $asideSectionContent.='<li>'.$img.'&nbsp;<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>'; $asideSectionContent.='</ul><h2>Détail des matchs</h2>';
foreach($hist as $sc){ 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> <ul>
<li>'.$sc['bot1']." ".$lang['VICTORIES'].":".$sc['player1Wins'].'</li> <li>'.$sc['bot1']." ".$lang['VICTORIES'].":".$sc['player1Wins'].'</li>
<li>'.$sc['bot2']." ".$lang['VICTORIES'].":".$sc['player2Wins'].'</li> <li>'.$sc['bot2']." ".$lang['VICTORIES'].":".$sc['player2Wins'].'</li>