X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=e-DoKo.git;a=blobdiff_plain;f=output.php;h=8288ee2dbb2dee36204916c831d38f65785950fe;hp=44bdfc3cbf4f9c8af0bb0752dce507cb7e28ff4e;hb=566c61f757725e12846b984d415c815207c0ac3e;hpb=ee59b6b39abc3691431b027785341aa308d1313c diff --git a/output.php b/output.php index 44bdfc3..8288ee2 100644 --- a/output.php +++ b/output.php @@ -2,14 +2,13 @@ /* functions which only ouput html */ -function display_news() +function display_links($email,$password) { global $wiki; 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: