text-align:center;
border-bottom:3px solid gray;
}
-.header p {
- position:absolute;
- right:0;
- top:0;
-}
+.footer {
+ margin:0;
+ margin-top:0.3em;
+ padding:0;
+ border-top: 2px solid #444;
+ font-size:smaller;
+ clear:both;
+ }
+.footer .right{ float:right; }
+.footer .left{ float:left; }
p.gamenumber {
position:absolute;
if($EmailA=="" || $EmailB=="" || $EmailC=="" || $EmailD=="")
{
echo "couldn't find one of the names, please start a new game";
+ output_footer();
exit();
}
if($ruleset <0)
{
echo "Error defining ruleset: $ruleset";
+ output_footer();
exit();
};
{
echo "Can't find you in the database, please check the url.<br />\n";
echo "perhaps the game has been cancled, check by login in <a href=\"$host\">here</a>.";
+ output_footer();
exit();
}
{
echo "Can't find you in the database, please check the url.<br />\n";
echo "perhaps the game has been cancled, check by login in <a href=\"$host\">here</a>.";
+ output_footer();
exit();
}
/* delete everything from the dB */
DB_cancel_game($me);
+ output_footer();
exit();
}
default:
echo "error in testing the status";
}
+ output_footer();
exit();
}
/* user status page */
{
echo "sorry email and password don't match <br />";
}
+ output_footer();
exit();
}
/* page for registration */
{
global $wiki;
echo "<div class=\"bug\">\n".
- " Please hit <strong>shift+reload</strong>.<br /><hr />\n".
- " The server now keeps score... (only from now on) <br /><hr />".
+ " Schweinchen should work now (only for new games).<br
+ /><hr />".
" If you find more bugs, please list them in the <a href=\"".
$wiki."\">wiki</a>.\n</div>\n";
return;
<body onload="high_last();">
<div class="header">
<h1> Welcome to E-Doko </h1>
-<p> Revision: <?php echo "$REV"; ?></p>
</div>
<?php
function output_footer()
{
+ global $REV;
+
+ echo "<div class=\"footer\">\n";
+ echo "<p class=\"left\"> copyright 2006-2007 Arun Persaud</p>\n";
+ echo "<p class=\"right\"> Revision: $REV; </p> \n";
+ echo "\n";
+ echo "</div>\n";
+
echo "</body>\n";
echo "</html>\n";