change scores presentation

This commit is contained in:
Gnieark 2016-06-10 17:17:50 +02:00
parent 1ede475e88
commit 91032fddcd
2 changed files with 4 additions and 1 deletions

View File

@ -6,6 +6,7 @@ RewriteRule ^p/(.*)-([a-z]{2})$ index\.php?page=$1&lang=$2 [L]
RewriteRule ^p/(.*)$ index\.php?page=$1 [L]
RewriteRule ^([a-zA-Z]{1,})/doc-([a-z]{2})$ index\.php?doc=$1&lang=$2 [L]
RewriteRule ^([a-zA-Z]{1,})/doc$ index\.php?doc=$1 [L]
RewriteRule ^([a-zA-Z]{1,})/scores$ index\.php?scores=$1 [L]
RewriteRule ^([a-zA-Z]{1,})-([a-z]{2})$ index\.php?arena=$1&lang=$2 [L]
RewriteRule ^([a-zA-Z]{1,})$ index\.php?arena=$1 [L]
RewriteRule ^-([a-z]{2})$ index\.php?lang=$1 [L]

View File

@ -121,7 +121,9 @@ if(isset($_GET['arena'])){
$cssAdditionalScript.='<style type="text/css"><!--'."\n".file_get_contents("../src/arenas/".$currentArena."/".$currentArenaArr['cssFile'])."\n--></style>";
}
$jsAdditionalScript="";
}elseif(isset($_GET['scores'])){
//to do !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
}elseif(isset($_GET['page'])){
//simple page
switch($_GET['page']){