X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=e-DoKo.git;a=blobdiff_plain;f=include%2Fgame.php;h=b2c4fb08b7d841e876fd0e617df38843c3bd58a3;hp=51d4320dfaa578315a21d32f42cb5eb51eb47b00;hb=981c12ce5d5aaf606584a4ab59054316d2b6c6c2;hpb=924f395a39eeccbcd54d540613e440cbedd6ba3d diff --git a/include/game.php b/include/game.php index 51d4320..b2c4fb0 100644 --- a/include/game.php +++ b/include/game.php @@ -1727,12 +1727,19 @@ switch($mystatus) echo "
"; } - echo "\n"; + echo "\n
\n"; + $session = DB_get_session_by_gameid($gameid); + $score = generate_score_table($session); + + echo $score; + + echo "\n"; + + echo "\n"; if($mystatus=='gameover' && DB_get_game_status_by_gameid($gameid)=='gameover' ) { - echo "
\n"; $session = DB_get_session_by_gameid($gameid); $result = mysql_query("SELECT id,create_date FROM Game". @@ -1756,15 +1763,7 @@ switch($mystatus) } } - $session = DB_get_session_by_gameid($gameid); - $score = generate_score_table($session); - - // if(size_of($score)>30) - echo $score; - echo "\n"; - - echo "\n"; output_footer(); DB_close(); exit();