diff options
author | Arun Persaud <arun@nubati.net> | 2007-11-03 13:39:56 +0100 |
---|---|---|
committer | Arun Persaud <arun@nubati.net> | 2007-11-08 13:03:07 +0100 |
commit | a5684ef10fbd20dd335b99a0d53555498842268a (patch) | |
tree | a42ed1f1434980f0a47f4183a10c667f2f1811b6 /index.php | |
parent | 19f70fcd8c26c4a6279addcf8c29fba8f21e13da (diff) | |
download | e-DoKo-a5684ef10fbd20dd335b99a0d53555498842268a.tar.gz e-DoKo-a5684ef10fbd20dd335b99a0d53555498842268a.tar.bz2 e-DoKo-a5684ef10fbd20dd335b99a0d53555498842268a.zip |
NEW FEATURE: statistics page, version1
added a few statistics to an extra page, still not completely done, but already working
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1547,7 +1547,7 @@ else if(myisset("me")) if($re>$p-$offset) mysql_query("INSERT INTO Score". - " VALUES( NULL,NULL,$gameid,'re',NULL,NULL,'$p')"); + " VALUES( NULL,NULL,$gameid,'re',NULL,NULL,'".(240-$p)."')"); } /* re called something and won */ @@ -1574,11 +1574,11 @@ else if(myisset("me")) if($re>$p-$offset) mysql_query("INSERT INTO Score". - " VALUES( NULL,NULL,$gameid,'contra',NULL,NULL,'$p')"); + " VALUES( NULL,NULL,$gameid,'contra',NULL,NULL,'".(240-$p)."')"); } - /* re called something and won */ - if($call_re!=NULL) + /* contra called something and won */ + if($call_contra!=NULL) foreach(array(0,30,60,90,120) as $p) { if($call_contra<$p+1) |