From 307b2e00131b20cbb34f78c6f81e54382f804c18 Mon Sep 17 00:00:00 2001 From: gnieark Date: Fri, 10 Jun 2016 00:21:57 +0200 Subject: [PATCH] ranks --- html/imgs/Bronze_Medal.svg | 236 ++++++++ html/imgs/Emoji_u1f4a9.svg | 55 ++ html/imgs/Gold_Medal.svg | 1151 ++++++++++++++++++++++++++++++++++++ html/imgs/Silver_Medal.svg | 227 +++++++ html/index.php | 26 + src/functions.php | 15 +- src/legals.html | 1 + 7 files changed, 1710 insertions(+), 1 deletion(-) create mode 100644 html/imgs/Bronze_Medal.svg create mode 100644 html/imgs/Emoji_u1f4a9.svg create mode 100644 html/imgs/Gold_Medal.svg create mode 100644 html/imgs/Silver_Medal.svg diff --git a/html/imgs/Bronze_Medal.svg b/html/imgs/Bronze_Medal.svg new file mode 100644 index 0000000..7465099 --- /dev/null +++ b/html/imgs/Bronze_Medal.svg @@ -0,0 +1,236 @@ + + + +]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/html/imgs/Emoji_u1f4a9.svg b/html/imgs/Emoji_u1f4a9.svg new file mode 100644 index 0000000..8c1b2e8 --- /dev/null +++ b/html/imgs/Emoji_u1f4a9.svg @@ -0,0 +1,55 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/html/imgs/Gold_Medal.svg b/html/imgs/Gold_Medal.svg new file mode 100644 index 0000000..c12f700 --- /dev/null +++ b/html/imgs/Gold_Medal.svg @@ -0,0 +1,1151 @@ + + + +]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/html/imgs/Silver_Medal.svg b/html/imgs/Silver_Medal.svg new file mode 100644 index 0000000..6764e2b --- /dev/null +++ b/html/imgs/Silver_Medal.svg @@ -0,0 +1,227 @@ + + + +]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/html/index.php b/html/index.php index 458ef89..b8ffa11 100644 --- a/html/index.php +++ b/html/index.php @@ -48,6 +48,32 @@ if(isset($_GET['arena'])){ $mainSectionScript="../src/arenas/".$currentArena."/public.php"; $asideSectionContent='

infos:

'.$lang['DEV-YOUR-OWN-BOT'].'
'.$lang['DOC_SPECS_LINKS'].'

Scores

'; + + $podium=ELO_get_podium($currentArena); + $count=0; + foreach($podium as $sc){ + $count++; + switch ($count){ + case 1: + $img= + break; + case 2: + + break; + + case 3: + + break; + default: + + break; + + + } + + + } + foreach($hist as $sc){ $asideSectionContent.='

'.$sc['bot1'].' VS '.$sc['bot2'].'