summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--css/standard008.css (renamed from css/standard007.css)3
-rw-r--r--include/output.php2
-rw-r--r--include/user.php16
3 files changed, 9 insertions, 12 deletions
diff --git a/css/standard007.css b/css/standard008.css
index 126c911..efae674 100644
--- a/css/standard007.css
+++ b/css/standard008.css
@@ -442,7 +442,8 @@ table.score {
overflow: auto;
}
-.user { margin-left:25%;margin-right:25%; }
+.user { margin-left:25%;margin-right:5%; }
+.user td.usergames { width:50%; }
.wide { margin-left:5%;margin-right:5%; }
.over {
diff --git a/include/output.php b/include/output.php
index 8292467..e57ed04 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/standard007.css" />
+ <link rel="stylesheet" type="text/css" href="css/standard008.css" />
<script type="text/javascript">
var current=0;
function hl(num) {
diff --git a/include/user.php b/include/user.php
index 54ce302..7b4880d 100644
--- a/include/user.php
+++ b/include/user.php
@@ -129,25 +129,21 @@ if(myisset("forgot"))
if($gamenrold < $gamenr)
{
if($gamenrold!=-1)
- echo "</td></tr>\n <tr> <td>$gamenr:</td><td> ";
+ echo "</td></tr>\n <tr> <td>$gamenr:</td>\n";
else
- echo "$gamenr:</td><td> ";
+ echo "$gamenr:</td>\n";
$gamenrold = $gamenr;
+ echo "<td class=\"usergames\">\n";
}
if($r[4]=='pre')
- {
- echo "\n <span class=\"gamestatuspre\"><a href=\"".$INDEX."?action=game&amp;me=".$r[0]."\">p </a></span> ";
-
- }
+ echo "\n <span class=\"gamestatuspre\"><a href=\"".$INDEX."?action=game&amp;me=".$r[0]."\">p </a></span> ";
else if ($r[4]=='gameover')
echo "\n <span class=\"gamestatusover\"><a href=\"".$INDEX."?action=game&amp;me=".$r[0]."\">F </a></span> ";
else
- {
- echo "\n <span class=\"gamestatusplay\"><a href=\"".$INDEX."?action=game&amp;me=".$r[0]."\">P </a></span> ";
- }
+ echo "\n <span class=\"gamestatusplay\"><a href=\"".$INDEX."?action=game&amp;me=".$r[0]."\">P </a></span> ";
if($r[4] != 'gameover')
{
- echo "</td><td>\n ";
+ echo "</td>\n<td>\n ";
if($r[3]==$myid || !$r[3])
echo "(it's <strong>your</strong> turn)\n";
else