diff options
author | arun <arun@nubati.net> | 2007-01-10 12:51:43 +0000 |
---|---|---|
committer | arun <arun> | 2007-01-10 12:51:43 +0000 |
commit | 22390bdc9d72fe7b32375d3be898ee0fd8137a88 (patch) | |
tree | 710fc2d6f8d92cf64523f3b22462844ef2d3a952 /index.php | |
parent | d57105094a2e224bd7f4f03b11ab96a45383fea2 (diff) | |
download | e-DoKo-22390bdc9d72fe7b32375d3be898ee0fd8137a88.tar.gz e-DoKo-22390bdc9d72fe7b32375d3be898ee0fd8137a88.tar.bz2 e-DoKo-22390bdc9d72fe7b32375d3be898ee0fd8137a88.zip |
added list of finished games to user page
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -631,6 +631,12 @@ else if(myisset("me")) echo "<a href=\"".$host."?me=".$r[0]."\">game #".$r[1]." </a><br />"; echo "</p>\n"; + echo "<p>and these are your games that are already done:<br />\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 "<a href=\"".$host."?me=".$r[0]."\">game #".$r[1]." </a><br />"; + echo "</p>\n"; + $names = DB_get_all_names(); echo "<p>registered players:<br />\n"; foreach ($names as $name) |