X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=e-DoKo.git;a=blobdiff_plain;f=include%2Foutput.php;h=f2fe52414dcb695c7135f1d68b7d92b838d89c15;hp=a0b9df3c698b0b573726b3727c8c02392891fe3e;hb=ca3071da712685fd941f97d3610bad8635bf9c5c;hpb=f3fa52599f59c09e25fd5a7129504aecbf610d46 diff --git a/include/output.php b/include/output.php index a0b9df3..f2fe524 100644 --- a/include/output.php +++ b/include/output.php @@ -42,55 +42,52 @@ function output_form_for_new_game($names) srand((float) microtime() * 10000000); $randkey = array_rand($names); $rand = $names[$randkey]; - echo "
\n"; + echo "
\n"; $i++; - echo " \n"; foreach($names as $name) { if($name==$rand) { - echo " \n"; + echo " \n"; } else - echo " \n"; + echo " \n"; } - echo " \n
\n"; + echo " \n
\n"; } ?>

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), only in normal games or silent solos: -

+

Call Re/Contra, etc.:

+ \n"; else $HTML = "\n\n"; - + $i=0; - + if($caption!="") $HTML .= " \n"; @@ -146,7 +143,7 @@ function display_card($card,$dir="english") /* cards are only availabl for the odd values, e.g. 1.png, 3.png, ... * convert even cards to the matching odd value */ - if( $card/2 - (int)($card/2) == 0.5) + if( $card/2 - (int)($card/2) == 0.5 || $card == 0) echo "\"".DB_get_card_name($card)."\"\n"; else echo "\"".DB_get_card_name($card-1)."\"\n"; @@ -273,13 +270,13 @@ function output_header() e-Doko - +
$caption