.joingame,.sickness,.poverty,.total,.message {
position: absolute;
+ background-color: #fff;
width: 20%;
top:22em;
left:40%;
echo "<hr />";
}
- echo "<input type=\"submit\" value=\"submit\" />\n";
+ echo "<input type=\"submit\" value=\"submit\" />\n<hr />\n";
+ $session = DB_get_session_by_gameid($gameid);
+ $score = generate_score_table($session);
+
+ echo $score;
+
+ echo "</div>\n";
+
+ echo "</form>\n";
if($mystatus=='gameover' && DB_get_game_status_by_gameid($gameid)=='gameover' )
{
- echo "<hr />\n";
$session = DB_get_session_by_gameid($gameid);
$result = mysql_query("SELECT id,create_date FROM Game".
}
}
- $session = DB_get_session_by_gameid($gameid);
- $score = generate_score_table($session);
-
- // if(size_of($score)>30)
- echo $score;
- echo "</div>\n";
-
- echo "</form>\n";
output_footer();
DB_close();
exit();
{
global $RULES;
+ echo "<div class=\"message\">\n<form action=\"index.php?action=new\" method=\"post\">\n";
echo "Do you want to continue playing?(This will start a new game, with the next person as dealer.)\n";
echo " <input type=\"hidden\" name=\"PlayerA\" value=\"$playerA\" />\n";
echo " <input type=\"hidden\" name=\"PlayerB\" value=\"$playerB\" />\n";
echo " <input type=\"hidden\" name=\"callrule\" value=\"".$RULES["call"]."\" />\n";
echo " <input type=\"hidden\" name=\"followup\" value=\"$oldgameid\" />\n";
echo " <input type=\"submit\" value=\"keep playing\" />\n";
-
+ echo "</form>\n</div>";
return;
}
<title>e-Doko</title>
<meta content="text/html; charset=ISO-8859-1" http-equiv="content-type" />
<link rel="shortcut icon" type="image/x-icon" href="pics/edoko-favicon.png" />
- <link rel="stylesheet" type="text/css" href="css/standard.css" />
+ <link rel="stylesheet" type="text/css" href="css/standard001.css" />
<script type="text/javascript">
function hl(num) {
if(document.getElementById){