X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=e-DoKo.git;a=blobdiff_plain;f=output.php;h=aed86b27e31cda0471227f9b6f8f66f98a3a3a8b;hp=1adc1a77b74b29a28accd55185ed9e4a8b1b6726;hb=2a95396715b96617efcc4f167352581b8ef0d688;hpb=becb5e1267866b1fa858c08125fdba81003dfc65 diff --git a/output.php b/output.php index 1adc1a7..aed86b2 100644 --- a/output.php +++ b/output.php @@ -50,6 +50,7 @@ function output_form_for_new_game($names) ?>

Players

Please select four players (or use the randomly pre-selected names)

+

Remember: you need to be one of the players ;)

@@ -238,33 +239,35 @@ function output_check_want_to_play($me) function output_home_page($pre,$game,$done,$avgtime) { -?> -

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.

"; - else if($done==1) - echo "One game has been completed on this server.

"; - else - echo "$done games have been completed on this server. Average time of a game: $avgtime days

"; + global $WIKI; + + echo"

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.

"; + else if($done==1) + echo "One game has been completed on this server.

"; + else + echo "$done games have been completed on this server. Average time of a game: $avgtime days

"; ?>

Please register, in case you have not done that yet
@@ -303,6 +306,7 @@ function output_header() e-Doko +