summaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorarun <arun@nubati.net>2007-06-02 15:40:16 +0000
committerarun <arun>2007-06-02 15:40:16 +0000
commitd638a4e1d0c15ce749430e546d695827c04979f1 (patch)
tree318947d1b68ce13b9f96ff1c9a73fddecba5eab7 /index.php
parent05c0e5ebd24477c861b06884e60db11672127569 (diff)
downloade-DoKo-d638a4e1d0c15ce749430e546d695827c04979f1.tar.gz
e-DoKo-d638a4e1d0c15ce749430e546d695827c04979f1.tar.bz2
e-DoKo-d638a4e1d0c15ce749430e546d695827c04979f1.zip
new feature: added checks for re/contra/90 etc. ; fixed: some measages were outdated
Diffstat (limited to 'index.php')
-rw-r--r--index.php10
1 files changed, 7 insertions, 3 deletions
diff --git a/index.php b/index.php
index 8e21ae6..10416f1 100644
--- a/index.php
+++ b/index.php
@@ -243,7 +243,9 @@ else if(myisset("me"))
$RULES["dullen"] = $r[2];
$RULES["schweinchen"] = $r[3];
-
+ $RULES["call"] = "1st-own-card";
+
+
/* get some infos about the game */
$gametype = DB_get_gametype_by_gameid($gameid);
$gamestatus = DB_get_game_status_by_gameid($gameid);
@@ -333,7 +335,7 @@ else if(myisset("me"))
display_card($card,$PREF["cardset"]);
echo "</p>\n";
- check_for_sickness($me,$mycards);
+ output_check_for_sickness($me,$mycards);
/* move on to the next stage*/
DB_set_hand_status_by_hash($me,'check');
@@ -1461,7 +1463,9 @@ else if(myisset("me"))
" <input type=\"radio\" name=\"call30\" value=\"yes\" /> ";
if( can_call(0,$me) )
echo " 0:".
- " <input type=\"radio\" name=\"call0\" value=\"yes\" /> ";
+ " <input type=\"radio\" name=\"call0\" value=\"yes\" /> ".
+ " no call:".
+ " <input type=\"radio\" name=\"call0\" value=\"no\" /> ";
echo "<br />\nA short comments:<input name=\"comment\" type=\"text\" size=\"30\" maxlength=\"50\" />\n";
echo "<input type=\"hidden\" name=\"me\" value=\"$me\" />\n";