X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=e-DoKo.git;a=blobdiff_plain;f=output.php;h=b257345a44bc12fc1632c4c4c6434565a85ce734;hp=cf84e8b828cf8480ccff89d2c3cf7ce6f0937327;hb=9f3cec73181b5ac35486fea031828b11468bceb9;hpb=1c41d17d61ec513fe71e52e5a631e60b1a890e0e;ds=sidebyside diff --git a/output.php b/output.php index cf84e8b..b257345 100644 --- a/output.php +++ b/output.php @@ -239,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
@@ -304,6 +306,7 @@ function output_header() e-Doko +