From 27cbc14d28d072c37474ac1e96d677b88dde27ba Mon Sep 17 00:00:00 2001 From: Arun Persaud Date: Sun, 15 Jun 2008 23:43:19 -0700 Subject: NEW FEATURE: login button added a login button to the top right, in case you were not logged in. output_status can now be called in only one place, ie index.php and all pages will get the menu... Signed-off-by: Arun Persaud --- include/cancelgame.php | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'include/cancelgame.php') diff --git a/include/cancelgame.php b/include/cancelgame.php index 5b85534..43d3274 100644 --- a/include/cancelgame.php +++ b/include/cancelgame.php @@ -10,9 +10,7 @@ output_status(); if(!myisset("me")) { echo "Hmm, you really shouldn't mess with the urls.
\n"; - output_footer(); - DB_close(); - exit(); + return; } $me = $_REQUEST["me"]; @@ -23,9 +21,7 @@ if(!$myid) { echo "Can't find you in the database, please check the url.
\n"; echo "perhaps the game has been canceled, check by login in here."; - output_footer(); - DB_close(); - exit(); + return; } DB_update_user_timestamp($myid); -- cgit v1.2.3-18-g5258