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 "<div class=\"time\">\n Local times:<table>";
$users = array();
echo "<tr> <td>$name</td> <td>".date("Y-m-d H:i:s")."</td></tr>\n";
};
echo "</table>\n</div>\n";
+ display_status();
/* display links to other games */
echo "<div class=\"over\">\n";
echo "</form>\n";
echo "</div>\n";
+ display_news();
+
$gamestatus = DB_get_game_status_by_gameid($gameid);
if($gamestatus == 'pre')
{
$zone = return_timezone($offset);
date_default_timezone_set($zone);
- echo "ok. your logged in, now what? :) <br />last login: ";
- echo date("r",$unixtime)."<br />";
+ echo "last login: ".date("r",$unixtime)."<br />";
DB_update_user_timestamp($uid);