X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=e-DoKo.git;a=blobdiff_plain;f=include%2Foutput.php;h=86db0a0a9e5599e5030e38b3c37822177af43a24;hp=62ab2643f8485c5de99871c64d6f8d2c30fe6582;hb=077ab356084fa26910200f28a9cd44a954f291eb;hpb=8141a807cda3a5387e3288e4d644cde94b9ab8fd diff --git a/include/output.php b/include/output.php index 62ab264..86db0a0 100644 --- a/include/output.php +++ b/include/output.php @@ -42,60 +42,102 @@ 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"; + + foreach($data as $record) + { + if(!$i) + $HTML .= " \n \n"; + else + { + if($i==1) $HTML .= " \n"; + if($i % 2) + $HTML .= " "; + else + $HTML .= " "; + } + foreach($record as $point) + { + if($i) + $HTML .= " "; + else + $HTML .= " "; + } + + if(!$i) + $HTML .= " \n \n"; + else + { + $HTML .= " \n"; + } + $i++; + } + $HTML .= " \n
$caption
$point$point
\n"; + + return $HTML; +} + function display_card($card,$dir="english") { /* cards are only availabl for the odd values, e.g. 1.png, 3.png, ... @@ -228,8 +270,9 @@ function output_header() e-Doko - + @@ -342,8 +397,6 @@ function output_select_timezone($name,$timezone="") return; } - - function output_password_recovery($email,$password) { ?>