\n\n";
display_status();
+ /* display links to other games */
+ echo "
\n";
+ $result = mysql_query("SELECT email,password from User WHERE id='$myid'" );
+ $r = mysql_fetch_array($result,MYSQL_NUM);
+ echo "\n";
+ echo "
\n";
+
+ display_news();
+
$gamestatus = DB_get_game_status_by_gameid($gameid);
if($gamestatus == 'pre')
{
@@ -465,10 +454,10 @@ else if(isset($_REQUEST["me"]))
$next_hash = DB_get_hash_from_game_and_pos($gameid,$next);
$email = DB_get_email_by_hash($next_hash);
- $message .= "It's your turn now.\n".
+ $message = "It's your turn now.\n".
"Use this link to play a card: ".$host."?me=".$next_hash."\n\n" ;
mymail($email,"[DoKo-debug] a card has been played",$message);
-
+
if($debug)
echo "DEBUG: next player \n";
@@ -528,7 +517,7 @@ else if(isset($_REQUEST["me"]))
$names = DB_get_all_names_by_gameid($gameid);
echo "Do you want to continue playing?(This will start a new game, with the next person as dealer.)\n";
- echo "
-
-
-
-
-
-
-