X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=e-DoKo.git;a=blobdiff_plain;f=output.php;h=9cadcb001b1d0c0048a8bb7d6d5182b19f45156a;hp=ec827c75766982beb6d6ccfea82aacf6e703ecfd;hb=e68d4598c0d0a5e1f138b9c891f5c1c9ae0e8541;hpb=d4a85c497c76daa0c5d6481ffe2239590bf0c401 diff --git a/output.php b/output.php index ec827c7..9cadcb0 100644 --- a/output.php +++ b/output.php @@ -27,6 +27,8 @@ function output_link_to_user_page($email,$password) function output_user_settings($email,$password) { + global $PREF; + echo "
\n"; echo "

Settings

\n"; echo "
\n"; @@ -46,6 +48,15 @@ function output_user_settings($email,$password) echo " \n"; echo "
\n"; echo "
\n"; + echo "
\n"; + echo " \n"; + echo " \n"; + echo " \n"; + if($PREF["ccemail"]=="no") + echo "
\n"; + else + echo "
\n"; + echo "
\n"; echo "
\n"; return; } @@ -53,8 +64,7 @@ function output_user_settings($email,$password) function output_register() { echo "IMPORTANT: passwords are going over the net as clear text, so pick an easy password. No need to pick anything complicated here ;)

"; - echo "TODO: convert timezone into a menu
\n"; - echo "TODO: figure out a way to handle passwords
\n"; + echo "TODO: figure out a better way to handle passwords
\n"; ?>
@@ -72,7 +82,12 @@ function output_register() - + + (If your timezone is not listed, just select whatever you want and email the admin your correct time zone.) @@ -95,6 +110,7 @@ function output_ask_for_new_game($playerA,$playerB,$playerC,$playerD,$oldgameid) echo " \n"; echo " \n"; echo " \n"; + echo " \n"; echo " \n"; echo " \n"; echo "\n"; @@ -150,7 +166,16 @@ function output_form_for_new_game($names)

- +

Call Re/Contra, etc.: +

+

-

Solo will work, but the first player will not change. Nothing else implemented.

-
do you want to play solo? @@ -200,7 +223,7 @@ function check_for_sickness($me,$mycards) "; @@ -211,7 +234,7 @@ function check_for_sickness($me,$mycards) echo " no
\n"; }; - echo "do you have poverty?"; + echo "Do you have poverty?"; if(count_trump($mycards)<4) { echo " yes"; @@ -222,7 +245,7 @@ function check_for_sickness($me,$mycards) echo " no
\n"; }; - echo "do you have too many nines?"; + echo "Do you have too many nines?"; if(count_nines($mycards)>4) { echo " yes"; @@ -263,7 +286,7 @@ function check_want_to_play($me) return; } -function output_home_page($pre,$game,$done) +function output_home_page($pre,$game,$done,$avgtime) { ?>

If you want to play a game of Doppelkopf, you found the right place ;)

@@ -289,7 +312,7 @@ function output_home_page($pre,$game,$done) else if($done==1) echo "One game has been completed on this server.

"; else - echo "$done games have been completed on this server.

"; + echo "$done games have been completed on this server. Average time of a game: $avgtime days

"; ?>

Please register, in case you haven't done that yet
@@ -371,11 +394,15 @@ function output_footer() echo "

\n"; echo "

copyright 2006-2007 Arun Persaud
\n". - "Verwendung der [deutschen] Kartenbilder mit Genehmigung der Spielkartenfabrik Altenburg GmbH,(c) ASS Altenburger
". + "Verwendung der [deutschen] Kartenbilder mit Genehmigung
der Spielkartenfabrik Altenburg GmbH,(c) ASS Altenburger
". "- ASS Altenburger Spielkarten - Spielkartenfabrik Altenburg GmbH
". "a Carta Mundi Company Email: info@spielkarten.com Internet: www.spielkarten.com

\n"; - echo "

Revision: $REV; ". - "http://svn.nubati.net/emaildoko/trunk/

\n"; + echo "

Revision: $REV;
". + "http://svn.nubati.net/emaildoko/trunk/
". + "". + "\"Green". + "

\n"; echo "\n"; echo "
\n";