diff options
author | Arun Persaud <arun@nubati.net> | 2007-06-19 22:57:17 +0200 |
---|---|---|
committer | Arun Persaud <arun@nubati.net> | 2007-06-19 22:57:17 +0200 |
commit | 9c5af0e78797d2c5c2e3bbf2439bb7b88fc32cdf (patch) | |
tree | 65fa2a7daafa2f7ae8d96aff36ebaa74723e7635 /output.php | |
parent | bcf82bbe699d28a45c44c9c18d96466713e81bef (diff) | |
download | e-DoKo-9c5af0e78797d2c5c2e3bbf2439bb7b88fc32cdf.tar.gz e-DoKo-9c5af0e78797d2c5c2e3bbf2439bb7b88fc32cdf.tar.bz2 e-DoKo-9c5af0e78797d2c5c2e3bbf2439bb7b88fc32cdf.zip |
CLEANUP: code + text messages
cleaned up the code and corrected some typos
Diffstat (limited to 'output.php')
-rw-r--r-- | output.php | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -289,15 +289,17 @@ function output_home_page($pre,$game,$done,$avgtime) else echo "<p> At the moment there are $pre games that are being started "; - echo "and"; + echo "and "; if($game==0) - echo " zero games that are ongoing. "; + echo "zero games that are ongoing. "; else if($game==1) - echo " one game that is ongoing. "; + echo "one game that is ongoing. "; else echo "$game games that are ongoing. "; + echo "<br />\n"; + if($done==0) echo "No game has been completed on this server. </p>"; else if($done==1) |