X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=e-DoKo.git;a=blobdiff_plain;f=output.php;h=8288ee2dbb2dee36204916c831d38f65785950fe;hp=55cf0a53dfe8db171e39d34b546887504fc174aa;hb=566c61f757725e12846b984d415c815207c0ac3e;hpb=a85c98f05cdf22065914272eb21e97cb8a344036 diff --git a/output.php b/output.php index 55cf0a5..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: