X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=e-DoKo.git;a=blobdiff_plain;f=include%2Foutput.php;h=bbd16af4360565291484c42d6734f585908e578d;hp=dc10fa3d5e2f8e967961c257e86ba1862a5bb276;hb=11882439a450641bf0d4dd048775d0bdfb592642;hpb=46319a55bbfaddcf07fed1c19120563807d9670d diff --git a/include/output.php b/include/output.php index dc10fa3..bbd16af 100644 --- a/include/output.php +++ b/include/output.php @@ -1,5 +1,5 @@ \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, ... * 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"; @@ -228,35 +270,12 @@ function output_header() e-Doko - - + +
-

Welcome to E-Doko (beta)

+

Welcome to E-Doko

der Spielkartenfabrik Altenburg GmbH,(c) ASS Altenburger
\n". " - ASS Altenburger Spielkarten - Spielkartenfabrik Altenburg GmbH
\n". " a Carta Mundi Company Email: info@spielkarten.com Internet: www.spielkarten.com

\n"; - echo "

See the latest changes \n". + echo "

See the latest changes \n". " via git
or download the source via
\n'git clone http://nubati.net/git/e-DoKo.git'
\n". " \n". " \"Green"; - echo $name; - echo " logout"; + echo "\n

\n"; + echo $name,"\n"; + echo " | mypage \n"; + echo " | settings\n"; + echo " | new game\n"; + echo " | statistics\n"; + echo " | wiki\n"; + echo " |    logout\n"; echo "
\n"; /* last logon time */ @@ -311,8 +335,14 @@ function output_status() $unixtime = strtotime($time); date_default_timezone_set($zone); - echo "
last login: ".date("r",$unixtime)."
\n"; - }; + echo "
last login: ".date("r",$unixtime)."
\n"; + } + else + { + echo "\n
\n"; + echo "login\n"; + echo "
\n"; + } return; } @@ -337,8 +367,6 @@ function output_select_timezone($name,$timezone="") return; } - - function output_password_recovery($email,$password) { ?> @@ -370,4 +398,18 @@ function output_password_recovery($email,$password) Personal notes:
\n"; + $notes = DB_get_notes_by_userid_and_gameid($userid,$gameid); + foreach($notes as $note) + echo "$note
\n"; + if($userstatus!='gameover') + echo "\n"; + echo " \n"; + + return; +} + ?> \ No newline at end of file