From e301f4a3728ca58860f9b88c9743d7912662e7c6 Mon Sep 17 00:00:00 2001 From: arun Date: Sun, 8 Apr 2007 17:06:04 +0000 Subject: [PATCH] added footer, moved revision into footer --- css/standard.css | 15 ++++++++++----- index.php | 7 +++++++ output.php | 13 ++++++++++--- 3 files changed, 27 insertions(+), 8 deletions(-) diff --git a/css/standard.css b/css/standard.css index 664b17c..166642d 100644 --- a/css/standard.css +++ b/css/standard.css @@ -3,11 +3,16 @@ 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; diff --git a/index.php b/index.php index db219d1..813adf6 100644 --- a/index.php +++ b/index.php @@ -49,6 +49,7 @@ if(myisset("new")) if($EmailA=="" || $EmailB=="" || $EmailC=="" || $EmailD=="") { echo "couldn't find one of the names, please start a new game"; + output_footer(); exit(); } @@ -66,6 +67,7 @@ if(myisset("new")) if($ruleset <0) { echo "Error defining ruleset: $ruleset"; + output_footer(); exit(); }; @@ -157,6 +159,7 @@ else if(myisset("cancle","me")) { echo "Can't find you in the database, please check the url.
\n"; echo "perhaps the game has been cancled, check by login in here."; + output_footer(); exit(); } @@ -203,6 +206,7 @@ else if(myisset("me")) { echo "Can't find you in the database, please check the url.
\n"; echo "perhaps the game has been cancled, check by login in here."; + output_footer(); exit(); } @@ -413,6 +417,7 @@ else if(myisset("me")) /* delete everything from the dB */ DB_cancel_game($me); + output_footer(); exit(); } @@ -1029,6 +1034,7 @@ else if(myisset("me")) default: echo "error in testing the status"; } + output_footer(); exit(); } /* user status page */ @@ -1093,6 +1099,7 @@ else if(myisset("me")) { echo "sorry email and password don't match
"; } + output_footer(); exit(); } /* page for registration */ diff --git a/output.php b/output.php index 1e747e6..77aba21 100644 --- a/output.php +++ b/output.php @@ -15,8 +15,8 @@ function display_news() { global $wiki; echo "
\n". - " Please hit shift+reload.

\n". - " The server now keeps score... (only from now on)

". + " Schweinchen should work now (only for new games).

". " If you find more bugs, please list them in the wiki.\n
\n"; return; @@ -317,7 +317,6 @@ function output_header()

Welcome to E-Doko

-

Revision:

\n"; + echo "

copyright 2006-2007 Arun Persaud

\n"; + echo "

Revision: $REV;

\n"; + echo "\n"; + echo "\n"; + echo "\n"; echo "\n"; -- 2.25.1