From 4d12bf8c86b466aff0ba2252ecb42830478a1a8a Mon Sep 17 00:00:00 2001 From: arun Date: Fri, 15 Dec 2006 11:21:32 +0000 Subject: added a new php file for html output only --- output.php | 171 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 171 insertions(+) create mode 100644 output.php (limited to 'output.php') diff --git a/output.php b/output.php new file mode 100644 index 0000000..a2f91e4 --- /dev/null +++ b/output.php @@ -0,0 +1,171 @@ +"; + echo " is someone playing solo, etc?"; + echo "\n"; + + return; +} + +function display_news() +{ + global $wiki; + echo "
\n". + " Please hit shift+reload.

\n". + " added local time display, let me know what you think

\n". + " If you find more bugs, please list them in the wiki.\n
\n"; + return; +} + + +function output_form_for_new_game() +{ +?> +

Please add 4 names, please make sure that the names are correct!

+
+ Name: + Name: + Name: + Name: + + +
+\n"; + else + echo "\"".card_to_name($card-1)."\"\n"; + + return; +} + +function display_link_card($card) +{ + if( $card/2 - (int)($card/2) == 0.5) + echo "\"\"\n"; + else + echo "\"\"\n"; + return; +} + +function check_for_sickness($me,$mycards) +{ + ?> +

nothing implemented so far, but give it a try anyway ;)

+ +
+ + do you want to play solo? + +
+ + "; + echo " no
\n"; + } + else + { + echo " no
\n"; + }; + + echo "do you have poverty?"; + if(count_trump($mycards)<4) + { + echo " yes"; + echo " no
\n"; + } + else + { + echo " no
\n"; + }; + + echo "do you have too many nines?"; + if(count_nines($mycards)>4) + { + echo " yes"; + echo " no
\n"; + } + else + { + echo " no
\n"; + }; + + echo "\n"; + echo "\n"; + + echo "
\n"; + + return; +} + +function check_want_to_play($me) +{ + ?> +
+ Do you want to play a game of DoKo? + yes + no
+ + Do you want to get an email for every card played or only if it your move? + every card + only on my turn
+\n"; + echo "\n"; + echo "\n"; + echo "
\n"; + + return; +} + +function home_page() +{ +?> +

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

+

Please register, in case you haven't done yet
+ or login with you email-address or name and password here: +

+
+
+ Login + + + + + + + +
+
+
+ + \ No newline at end of file -- cgit v1.2.3-18-g5258