X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=e-DoKo.git;a=blobdiff_plain;f=include%2Foutput.php;h=86061e22bc444fb36ce172eaab696ae0e2ef38e0;hp=2fcfacacc7ed440f64c1e39232f60757dfe3a33c;hb=90498b8b93c1ef403d62a48de9d16635316da219;hpb=448ca16b770c8cfe055f4ffb41cd5c189da3cde0 diff --git a/include/output.php b/include/output.php index 2fcfaca..86061e2 100644 --- a/include/output.php +++ b/include/output.php @@ -75,8 +75,8 @@ function output_form_for_new_game($names)
  • 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) +
  • + second one become highest only in case re/contra was announced
  • Call Re/Contra, etc.:

    @@ -99,9 +99,9 @@ function output_table($data,$caption="",$class="") $HTML = "\n\n"; else $HTML = "\n
    \n"; - + $i=0; - + if($caption!="") $HTML .= " \n"; @@ -143,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"; @@ -270,48 +270,12 @@ function output_header() e-Doko - - + +
    -

    Welcome to E-Doko (beta)

    +

    Welcome to E-Doko (RC 1)

    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". " \"Greenlast login: ".date("r",$unixtime)."\n"; - }; + echo "

    last login: ".date("r",$unixtime)."
    \n"; + } + else + { + echo "\n
    \n"; + echo "login\n"; + echo "
    \n"; + } return; } @@ -397,8 +367,6 @@ function output_select_timezone($name,$timezone="") return; } - - function output_password_recovery($email,$password) { ?> @@ -430,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
    $caption