X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=e-DoKo.git;a=blobdiff_plain;f=include%2Foutput.php;h=33fb87b6e6d4213070fbf5c772da426bdc830050;hp=6d7deb7e69f3e08c5d87ac04d92a74e121324a1e;hb=a4149c6703653b2d0d5f3da4277d7fe065048edd;hpb=5aa7d5dd2d0b487188fef191c6e5ef38f13e38f7 diff --git a/include/output.php b/include/output.php index 6d7deb7..33fb87b 100644 --- a/include/output.php +++ b/include/output.php @@ -1,5 +1,5 @@ \n"; - echo "

Settings

\n"; - echo "Change password
"; - - echo "
Card set
\n"; - if( $PREF["cardset"] == "english" ) - echo "Change to German cards
"; - else - echo "Change to English cards
"; - - echo "
Email
\n"; - if( $PREF["email"] == "emailaddict" ) - echo "Change to non-addicted mode (emails for each move)
"; - else - echo "Change to addicted mode (minimal amount of emails)
"; - - echo "\n"; - - return; -} - function output_ask_for_new_game($playerA,$playerB,$playerC,$playerD,$oldgameid) { global $RULES; @@ -54,13 +29,11 @@ function output_ask_for_new_game($playerA,$playerB,$playerC,$playerD,$oldgameid) 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 ;)

-
+ +

Select players (Remember: you need to be one of the players)

- table + table \n"; $i++; - echo " Name: \n \n"; foreach($names as $name) { if($name==$rand) @@ -85,6 +58,7 @@ function output_form_for_new_game($names) } ?>
+

Rules

Some areas are grayed out which means that the rule is not implemented yet and therefore cannot be selected

Ten of hearts: @@ -226,7 +200,6 @@ function output_form_calls($me) "
"; } - function output_check_want_to_play($me) { ?> @@ -243,64 +216,6 @@ function output_check_want_to_play($me) return; } -function output_home_page($pre,$game,$done,$avgtime) -{ - 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
- or login with you email-address or name and password here: -

- -
- Login - - - - - - - - - - - -
-
-
- -e-Doko - +