X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=e-DoKo.git;a=blobdiff_plain;f=include%2Fuser.php;h=be0d68a5b08740252cbe3f7af9fa13f236b3b5db;hp=dc963770bde30b80028e1a9602f1c690658e1f21;hb=4b622dbdb85fbb3512a881ec4786a05f6cd4701c;hpb=eb20bf1a0cae1192eb50c19220e72df8d971d8e7 diff --git a/include/user.php b/include/user.php index dc96377..be0d68a 100644 --- a/include/user.php +++ b/include/user.php @@ -103,7 +103,7 @@ else DB_update_user_timestamp($myid); - display_user_menu(); + display_user_menu($myid); /* display all games the user has played */ echo "
"; @@ -111,7 +111,8 @@ else echo "

Session:
\n"; echo " p = pre-game phase "; echo "P = game in progess "; - echo "F = game finished
"; + echo "F = game finished "; + echo " N = game finished, hand played by others too
"; echo "

\n"; $output = array(); @@ -141,7 +142,14 @@ else if($r[4]=='pre') echo " p \n"; else if ($r[4]=='gameover') - echo " F \n"; + { + echo " "; + if($r[5]<2) + echo "F "; + else + echo $r[5]; + echo "\n"; + } else echo " P \n"; if($r[4] != 'gameover')