From 22390bdc9d72fe7b32375d3be898ee0fd8137a88 Mon Sep 17 00:00:00 2001 From: arun Date: Wed, 10 Jan 2007 12:51:43 +0000 Subject: added list of finished games to user page --- index.php | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'index.php') diff --git a/index.php b/index.php index 8b567fd..6ee8df8 100644 --- a/index.php +++ b/index.php @@ -631,6 +631,12 @@ else if(myisset("me")) echo "game #".$r[1]."
"; echo "

\n"; + echo "

and these are your games that are already done:
\n"; + $result = mysql_query("SELECT hash,game_id from Hand WHERE user_id='$uid' AND status='gameover'" ); + while( $r = mysql_fetch_array($result,MYSQL_NUM)) + echo "game #".$r[1]."
"; + echo "

\n"; + $names = DB_get_all_names(); echo "

registered players:
\n"; foreach ($names as $name) -- cgit v1.2.3-18-g5258