X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=e-DoKo.git;a=blobdiff_plain;f=output.php;h=44bdfc3cbf4f9c8af0bb0752dce507cb7e28ff4e;hp=721858f51d1615bb43e6cdfbbdfefad7afcd65d1;hb=ee59b6b39abc3691431b027785341aa308d1313c;hpb=9fd03423a0e5e26397250e8924d2be0e01e2ceaf diff --git a/output.php b/output.php index 721858f..44bdfc3 100644 --- a/output.php +++ b/output.php @@ -2,21 +2,12 @@ /* functions which only ouput html */ -function display_status($gametype) -{ - echo "
"; - echo " Gametype: $gametype"; - echo "
\n"; - - return; -} - function display_news() { global $wiki; echo "
\n". - " Please hit shift+reload.

\n". - " The server now keeps score... (only from now on)

". + " Schweinchen should work now (only for new games).

". " If you find more bugs, please list them in the wiki.\n
\n"; return; @@ -39,7 +30,7 @@ function output_register() { echo "IMPORTANT: passwords are going over the net as clear text, so pick an easy password. No need to pick anything complicated here ;)

"; echo "TODO: convert timezone into a menu
\n"; - echo "TODO: figure out a way to handle passwrods
\n"; + echo "TODO: figure out a way to handle passwords
\n"; ?>
@@ -111,11 +102,10 @@ function output_form_for_new_game($names) echo " \n"; } echo " \n"; - unset($names[$randkey]); } ?>

Rules

- +

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

ten of hearts:

-

schweinchen (both foxes): +

schweinchen (both foxes), only in normal games or silent solos:

+
  • none
  • +
  • + both become highest trump (automatic call at beginning of the game) +
  • +
  • + first one normal, second one becomes highest (call during the game)
  • +
  • + second one become highest only in case re/contra was announced (not working yet) +
  • +

    - + \n"; + echo "\"".card_to_name($card)."\"\n"; else - echo "\"".card_to_name($card-1)."\"\n"; + echo "\"".card_to_name($card-1)."\"\n"; return; } -function display_link_card($card) +function display_link_card($card,$dir="english") { if( $card/2 - (int)($card/2) == 0.5) - echo "\"\"\n"; + echo "\"\"\n"; else - echo "\"\"\n"; + echo "\"\"\n"; return; } @@ -256,11 +251,15 @@ function output_home_page() Login - + + - + + - + + +
    @@ -309,7 +308,6 @@ function output_header()

    Welcome to E-Doko

    -

    Revision:

    \n"; + echo "

    copyright 2006-2007 Arun Persaud

    \n"; + echo "

    Revision: $REV;

    \n"; + echo "\n"; + echo "\n"; + echo "\n"; echo "\n";