X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=e-DoKo.git;a=blobdiff_plain;f=index.php;h=287a064d5b7fcbed5c33f970546de778234587ec;hp=40920debcf9072f8879233a7e4fb71752e2cca74;hb=92a2164d4f1d5367b9325a8d65089abe79ee653b;hpb=198ab37015dbe1f999f149dbd887dcb814202585;ds=sidebyside diff --git a/index.php b/index.php index 40920de..287a064 100644 --- a/index.php +++ b/index.php @@ -280,9 +280,6 @@ else if(isset($_REQUEST["me"])) break; case 'play': case 'gameover': /*both entries here, so that the tricks are visible for both in case of 'play' there is a break later that skips the last part*/ - display_news(); - display_status(); - /* display local time */ echo "
\n Local times:"; $users = array(); @@ -297,6 +294,7 @@ else if(isset($_REQUEST["me"])) echo "\n"; }; echo "
$name ".date("Y-m-d H:i:s")."
\n
\n"; + display_status(); /* display links to other games */ echo "
\n"; @@ -309,6 +307,8 @@ else if(isset($_REQUEST["me"])) echo "\n"; echo "
\n"; + display_news(); + $gamestatus = DB_get_game_status_by_gameid($gameid); if($gamestatus == 'pre') { @@ -593,8 +593,7 @@ else if(isset($_REQUEST["me"])) $zone = return_timezone($offset); date_default_timezone_set($zone); - echo "ok. your logged in, now what? :)
last login: "; - echo date("r",$unixtime)."
"; + echo "last login: ".date("r",$unixtime)."
"; DB_update_user_timestamp($uid);