X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=e-DoKo.git;a=blobdiff_plain;f=output.php;h=262ecd3ef52d59c28043255c181fbe524332ff09;hp=922b439c4edc49240c4f715fc62b8ffbc1ab34bd;hb=67d441a0c134060e61f840d955b370145d1ac328;hpb=9c5af0e78797d2c5c2e3bbf2439bb7b88fc32cdf diff --git a/output.php b/output.php index 922b439..262ecd3 100644 --- a/output.php +++ b/output.php @@ -34,7 +34,8 @@ function output_user_settings($email,$password) echo "
\n"; echo " \n"; echo " \n"; - echo "
\n"; + echo " \n"; + echo "
\n"; echo "
\n"; echo "
\n"; echo " \n"; @@ -178,9 +179,9 @@ function display_card($card,$dir="english") * convert even cards to the matching odd value */ if( $card/2 - (int)($card/2) == 0.5) - echo "\"".card_to_name($card)."\"\n"; + echo "\"".DB_get_card_name($card)."\"\n"; else - echo "\"".card_to_name($card-1)."\"\n"; + echo "\"".DB_get_card_name($card-1)."\"\n"; return; } @@ -188,9 +189,9 @@ function display_card($card,$dir="english") function display_link_card($card,$dir="english",$type="card") { if( $card/2 - (int)($card/2) == 0.5) - echo "
\"\"
\n"; + echo "
\"".DB_get_card_name($card)."\"
\n"; else - echo "
\"\"
\n"; + echo "
\"".DB_get_card_name($card-1)."\"
\n"; return; } @@ -255,20 +256,14 @@ function output_check_for_sickness($me,$mycards) return; } -function check_want_to_play($me) +function output_check_want_to_play($me) { ?> Do you want to play a game of DoKo? yes no
- - only on my turn
-*/ echo "\n"; echo "\n"; echo "\n"; @@ -404,4 +399,36 @@ function output_footer() return; } + +function output_password_recovery($email,$password) +{ +?> + +\n"; + echo " \n"; + echo " \n"; +?> +
+ Password recovery + + + + + + + + + + + + + + +
+
+
+ + \ No newline at end of file