debug
This commit is contained in:
parent
336cedb64b
commit
1ede475e88
|
@ -74,7 +74,7 @@ if(isset($_GET['arena'])){
|
||||||
|
|
||||||
$asideSectionContent.='<li>'.$img.' <a href="/p/aboutBot/'.urlencode(htmlentities(($sc['name']))).'">'.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><p><a href="#" onclick="document.getElementById(\'detailMatches\').setAttribute(\'class\',\'\');">Détail des matchs >></a></p><article id="detailMatches" class="hidden">';
|
$asideSectionContent.='</ul><p><a href="#" onclick="document.getElementById(\'detailMatches\').setAttribute(\'class\',\'\');">Détail des matchs >></a></p><div id="detailMatches" class="hidden">';
|
||||||
|
|
||||||
foreach($hist as $sc){
|
foreach($hist as $sc){
|
||||||
$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>
|
$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>
|
||||||
|
@ -84,7 +84,7 @@ if(isset($_GET['arena'])){
|
||||||
<li>'.$lang['DRAW'].":".$sc['draws'].'</li>
|
<li>'.$lang['DRAW'].":".$sc['draws'].'</li>
|
||||||
</ul>';
|
</ul>';
|
||||||
}
|
}
|
||||||
$asideSectionContent.='</article>';
|
$asideSectionContent.='</div>';
|
||||||
$cssAdditionalScript="";
|
$cssAdditionalScript="";
|
||||||
if(isset($currentArenaArr['cssFile'])){
|
if(isset($currentArenaArr['cssFile'])){
|
||||||
$cssAdditionalScript.='<style type="text/css"><!--'."\n".file_get_contents("../src/arenas/".$currentArena."/".$currentArenaArr['cssFile'])."\n--></style>";
|
$cssAdditionalScript.='<style type="text/css"><!--'."\n".file_get_contents("../src/arenas/".$currentArena."/".$currentArenaArr['cssFile'])."\n--></style>";
|
||||||
|
|
Loading…
Reference in New Issue
Block a user