NEW FEATURE+BUGFIX: changed calling re/contra
[e-DoKo.git] / output.php
index 9919a97a56f754f3a73f91dfb3feda2538b4a6f1..89aedff9d802509517a1ba412e3a40b42716d779 100644 (file)
@@ -240,6 +240,28 @@ function output_check_for_sickness($me,$mycards)
   return;
 }
 
+function output_form_calls($me)
+{
+  if( can_call(120,$me) )
+    echo " re/contra (120):".
+      " <input type=\"radio\" name=\"call120\" value=\"yes\" /> <br />";
+  if( can_call(90,$me) )
+    echo " 90:".
+      " <input type=\"radio\" name=\"call90\" value=\"yes\" /> <br />";
+  if( can_call(60,$me) )
+    echo " 60:".
+      " <input type=\"radio\" name=\"call60\" value=\"yes\" /> ";
+  if( can_call(30,$me) )
+    echo " 30:".
+      " <input type=\"radio\" name=\"call30\" value=\"yes\" /> ";
+  if( can_call(0,$me) )
+    echo " 0:".
+      " <input type=\"radio\" name=\"call0\" value=\"yes\" /> ".
+      " no call:".
+      " <input type=\"radio\" name=\"call0\" value=\"no\" /> ";
+}
+
+
 function output_check_want_to_play($me)
 {
    ?>