{
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;
}
<h2> Players </h2>
<p>Please select four players (or use the randomly pre-selected names)</p>
<p>Remember: you need to be one of the players ;) </p>
- <form action="index.php" method="post">
+ <form action="index.php?action=new" method="post">
<div class="table">
<img src="pics/table.png" alt="table" />
echo "$done games have been completed on this server. Average time of a game: $avgtime days</p>";
?>
- <p> Please <a href="./register.php">register</a>, in case you have not done that yet <br />
+ <p> Please <a href="index.php?action=register">register</a>, in case you have not done that yet <br />
or login with you email-address or name and password here:
</p>
- <form action="index.php" method="post">
+ <form action="index.php?action=login" method="post">
<fieldset>
<legend>Login</legend>
<table>
<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){
/* logout info */
echo "\n<div class=\"status\">";
echo $name;
- echo " <a href=\"index.php?logout=1\">logout</a>";
+ echo " <a href=\"index.php?action=logout\">logout</a>";
echo "</div>\n";
/* last logon time */