fixe placement of comment box in pre-game phase
[e-DoKo.git] / include / game.php
index cd77bf323b215fb4a19241bd2cf56568ebe14e78..03dd259430f448812017daf2f539b8898c5de414 100644 (file)
@@ -326,6 +326,7 @@ switch($mystatus)
       {
        /* asks the player, if he wants to join the game */
        output_check_want_to_play($me);
+       echo '<div class="mycards"></div>';
        break;
       }
     else
@@ -520,6 +521,7 @@ switch($mystatus)
 
            /* move on to the next stage*/
            DB_set_hand_status_by_hash($me,'check');
+           $mystatus='check';
          };
       };
 
@@ -834,6 +836,12 @@ switch($mystatus)
              }
          }
        echo "</div>\n";
+       /* show cards */
+       echo '<div class="mycards">'._('Your cards are').": <br />\n";
+       foreach($mycards as $card)
+         display_card($card,$PREF['cardset']);
+       echo "</div>\n";
+
        break;
       }