X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=e-DoKo.git;a=blobdiff_plain;f=output.php;h=89aedff9d802509517a1ba412e3a40b42716d779;hp=9cadcb001b1d0c0048a8bb7d6d5182b19f45156a;hb=35687ace49ce0b41b1380603513d1f04cd6b458f;hpb=223b9a88ef79e40f039f215e0a0ef51c1023d9b5
diff --git a/output.php b/output.php
index 9cadcb0..89aedff 100644
--- a/output.php
+++ b/output.php
@@ -14,14 +14,8 @@ function display_links($email,$password)
function output_link_to_user_page($email,$password)
{
- echo "
\n";
- echo "\n";
- echo "
\n";
-
+ echo " go to my user page ";
+
return;
}
@@ -31,33 +25,15 @@ function output_user_settings($email,$password)
echo "\n";
echo "
Settings
\n";
- echo "
\n";
- echo "
\n";
- echo "
\n";
- echo "
\n";
+ echo "
use english cards ";
+
echo "
\n";
+
return;
}
@@ -187,9 +163,9 @@ function display_card($card,$dir="english")
* convert even cards to the matching odd value */
if( $card/2 - (int)($card/2) == 0.5)
- echo "\n";
+ echo "\n";
else
- echo "\n";
+ echo "\n";
return;
}
@@ -197,9 +173,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 "\n";
else
- echo "\n";
+ echo "\n";
return;
}
@@ -264,20 +240,36 @@ function output_check_for_sickness($me,$mycards)
return;
}
-function check_want_to_play($me)
+function output_form_calls($me)
+{
+ if( can_call(120,$me) )
+ echo " re/contra (120):".
+ "
";
+ if( can_call(90,$me) )
+ echo " 90:".
+ "
";
+ if( can_call(60,$me) )
+ echo " 60:".
+ " ";
+ if( can_call(30,$me) )
+ echo " 30:".
+ " ";
+ if( can_call(0,$me) )
+ echo " 0:".
+ " ".
+ " no call:".
+ " ";
+}
+
+
+function output_check_want_to_play($me)
{
?>
+
+
\ No newline at end of file