From e1b3eaa640a1e4249b8406e946bd65e902aadfb9 Mon Sep 17 00:00:00 2001 From: Arun Persaud Date: Sat, 18 Oct 2008 20:00:40 -0700 Subject: NEW FEATURE: show how often a hand has been played on the user page print a number instead of "F" to indicate how often a hand has been played. Signed-off-by: Arun Persaud --- include/user.php | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/user.php b/include/user.php index dc96377..67c720a 100644 --- a/include/user.php +++ b/include/user.php @@ -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') -- cgit v1.2.3-18-g5258