summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/output.php6
-rw-r--r--include/stats.php3
-rw-r--r--include/welcome.php34
3 files changed, 27 insertions, 16 deletions
diff --git a/include/output.php b/include/output.php
index 81f01c5..21f7e8e 100644
--- a/include/output.php
+++ b/include/output.php
@@ -270,7 +270,7 @@ function output_header()
<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/standard008.css" />
+ <link rel="stylesheet" type="text/css" href="css/standard009.css" />
<script type="text/javascript">
var current=0;
function hl(num) {
@@ -329,7 +329,7 @@ function output_footer()
" Verwendung der [deutschen] Kartenbilder mit Genehmigung <br />der Spielkartenfabrik Altenburg GmbH,(c) ASS Altenburger <br />\n".
" - ASS Altenburger Spielkarten - Spielkartenfabrik Altenburg GmbH <br />\n".
" a Carta Mundi Company Email: info@spielkarten.com Internet: www.spielkarten.com</p>\n";
- echo " <p class=\"right\"> See the latest changes <a href=\"http://nubati.net/cgi-bin/gitweb.cgi?p=e-DoKo.git;a=summary\">\n".
+ echo " <p class=\"right\"> See the latest changes <a href=\"http://nubati.net/cgi-bin/gitweb.cgi?p=e-DoKo.git;a=summary\">\n".
" via git </a> <br />or download the source via <br />\n'git clone http://nubati.net/git/e-DoKo.git' <br />\n".
" <a href=\"http://www.dreamhost.com/green.cgi\">\n".
" <img border=\"0\" alt=\"Green Web Hosting! This site hosted by DreamHost.\"".
@@ -371,7 +371,7 @@ function output_status()
$unixtime = strtotime($time);
date_default_timezone_set($zone);
- echo "<div class=\"lastlogin\">last login: ".date("r",$unixtime)."</div>\n";
+ echo "<div class=\"lastlogin\"><span>last login: ".date("r",$unixtime)."</span></div>\n";
}
else
{
diff --git a/include/stats.php b/include/stats.php
index 97e1979..d49d57a 100644
--- a/include/stats.php
+++ b/include/stats.php
@@ -227,6 +227,9 @@ if( !$content = getCache("cache/stats.html",60*60*24) )
how often is the last trick a non-trump trick
*/
+ /* needs this so that all tables are within the div and don't float around */
+ echo "<p style=\"clear:both;\">&nbsp;</p>\n";
+
echo "</div>\n"; /* end output */
/* write file to cache */
diff --git a/include/welcome.php b/include/welcome.php
index ccbaea5..5436ecf 100644
--- a/include/welcome.php
+++ b/include/welcome.php
@@ -27,8 +27,12 @@ $game = $game[0];
$done = $done[0];
$avgage = $avgage[0];
-echo "<p> If you want to play a game of Doppelkopf, you found the right place ;)".
-" For more information please visit our <a href=\"$WIKI\">wiki</a>. </p>";
+echo "<div class=\"login\">\n";
+
+echo "<p> If you want to play a game of Doppelkopf, you found the right place ;)</p>".
+"<p> For more information please visit our <a href=\"$WIKI\">wiki</a>. </p>".
+"<h4>Some statistics:</h4>";
+
if($pre == 0)
echo "<p> At the moment there are no games that are being started ";
@@ -56,25 +60,29 @@ if($done==0)
echo "$done games have been completed on this server. Average time of a game: $avgage days</p>";
?>
-<p> Please <a href="index.php?action=register">register</a>, in case you have not done that yet <br />
+ <h4> Login/Register:</h4>
+ <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?action=login" method="post">
<fieldset>
- <legend>Login</legend>
<table>
<tr>
- <td><label for="email">Email:</label></td>
- <td><input type="text" id="email" name="email" size="20" maxlength="30" /> </td>
- </tr><tr>
- <td><label for="password">Password:</label></td>
- <td><input type="password" id="password" name="password" size="20" maxlength="30" /></td>
- </tr><tr>
- <td> <input type="submit" class="submitbutton" name="login" value="login" /></td>
- <td> <input type="submit" class="submitbutton" name="forgot" value="Forgot your password?" /></td>
+ <td><label for="email">Email:</label></td>
+ <td><input type="text" class="submitbutton" id="email" name="email" size="20" maxlength="30" /> </td>
+ </tr>
+ <tr>
+ <td><label for="password">Password:</label></td>
+ <td><input type="password" class="submitbutton" id="password" name="password" size="20" maxlength="30" /></td>
+ </tr>
+ <tr class="center">
+ <td> <input type="submit" class="submitbutton" name="login" value="login" /></td>
+ <td> <input type="submit" class="submitbutton" name="forgot" value="Forgot your password?" /></td>
</tr>
</table>
</fieldset>
</form>
- \ No newline at end of file
+</div> \ No newline at end of file