X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=e-DoKo.git;a=blobdiff_plain;f=include%2Foutput.php;h=bbdc99f1e0d09b7f3b809e37a0f3a9559adceea1;hp=03e6ced7072028c0cc118ec384e99372b8ac5bdf;hb=a76008b94138f041b5a8f2426a55d59142152d02;hpb=4ce73b7eaf2f650f1500a3c668b0a7d6c0e49042 diff --git a/include/output.php b/include/output.php index 03e6ced..bbdc99f 100644 --- a/include/output.php +++ b/include/output.php @@ -202,12 +202,15 @@ function display_card($card,$dir="english") return; } -function display_link_card($card,$dir="english",$type="card") +function display_link_card($card,$dir="english",$type="card", $selected=0) { + if($selected) + $selected = 'checked="checked"'; + if( $card/2 - (int)($card/2) == 0.5) - echo "
\"".DB_get_card_name($card)."\"
\n"; + echo "\n"; else - echo "
\"".DB_get_card_name($card-1)."\"
\n"; + echo "\n"; return; } @@ -219,14 +222,14 @@ function output_check_for_sickness($me,$mycards) echo ''; echo ' '._('Do you want to play solo?').''; echo ' '; echo '
'; @@ -368,31 +371,62 @@ function output_header() { global $REV; ?> - - + + e-Doko - - - - + + + + + + + + -
+
'._('Welcome to E-Doko').' '; ?> -
+ "; @@ -401,22 +435,22 @@ function output_header() function output_footer() { - global $REV,$PREF; + global $REV, $PREF, $INDEX; echo "\n\n"; - echo "
\n"; - echo "

copyright 2006,2007,2008,2009,2010 Arun Persaud, Lance Thornton(graphics), Jeff Zerger(database support)
\n". + echo "

\n"; + echo "\n"; echo "\n"; echo "\n"; @@ -458,12 +492,6 @@ function output_status() echo "
"._('last login').": ".date("r",$unixtime)."
\n"; } - else - { - echo "\n
\n"; - echo ""._('login')."\n"; - echo "
\n"; - } return; } @@ -546,13 +574,13 @@ function output_password_recovery($email,$password) Password recovery - + - + - +