X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=e-DoKo.git;a=blobdiff_plain;f=output.php;h=8288ee2dbb2dee36204916c831d38f65785950fe;hp=1e747e67314e6705e7846e342b0e302e459c0c43;hb=3bcf4379ee051e83db6bdd80b1ff04ad4b41206a;hpb=72d1c47c36285f1ed7f659e8b8761781caa41c1f diff --git a/output.php b/output.php index 1e747e6..8288ee2 100644 --- a/output.php +++ b/output.php @@ -2,23 +2,13 @@ /* functions which only ouput html */ -function display_status($gametype) -{ - echo "
If you want to play a game of Doppelkopf, you found the right place ;)
- Please register, in case you haven't done yet
+ At the moment there are no games that are being started ";
+ else if($pre==1)
+ echo "
At the moment there is one games that is being started "; + else + echo "
At the moment there are $pre games that are being started "; + + echo "and"; + + if($game==0) + echo " zero games that are ongoing. "; + else if($game==1) + echo " one game that is ongoing. "; + else + echo "$game games that are ongoing. "; + + if($done==0) + echo "No game has been completed on this server.
"; + else if($done==1) + echo "One game has been completed on this server. "; + else + echo "$done games have been completed on this server. "; +?> + + Please register, in case you haven't done that yet
or login with you email-address or name and password here: