X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=e-DoKo.git;a=blobdiff_plain;f=output.php;h=2540492939d0d1c113ca6f910b35d73d624bf6ec;hp=88bc9f21a1d2b6bbd6050e2260d8a44e9d9379a6;hb=0c5b3eeca3006f61dd326a86e8989c52694d581b;hpb=c44e3cfcc5f363f001b101a82b1c06bfa7b05e69 diff --git a/output.php b/output.php index 88bc9f2..2540492 100644 --- a/output.php +++ b/output.php @@ -2,18 +2,25 @@ /* functions which only ouput html */ -function output_user_settings($email,$password) +function output_user_settings() { global $PREF; echo "
\n"; @@ -31,7 +38,7 @@ function output_ask_for_new_game($playerA,$playerB,$playerC,$playerD,$oldgameid) echo " \n"; echo " \n"; echo " \n"; - echo " \n"; + echo " \n"; echo " \n"; echo " \n"; @@ -43,6 +50,7 @@ function output_form_for_new_game($names) ?>Please select four players (or use the randomly pre-selected names)
+Remember: you need to be one of the players ;)
If you want to play a game of Doppelkopf, you found the right place ;)
- 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. ";
-
- echo "
\n";
-
- if($done==0)
- echo "No game has been completed on this server.
If you want to play a game of Doppelkopf, you found the right place ;)". + " For more information please visit our wiki.
"; + + if($pre == 0) + echo "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. ";
+
+ echo "
\n";
+
+ if($done==0)
+ echo "No game has been completed on this server.
Please register, in case you haven't done that yet
+
Please register, in case you have not done that yet
or login with you email-address or name and password here: