summaryrefslogtreecommitdiffstats
path: root/include/user.php
diff options
context:
space:
mode:
authorArun Persaud <arun@nubati.net>2008-06-07 09:01:08 -0700
committerArun Persaud <arun@nubati.net>2008-06-07 09:06:39 -0700
commit6437c15bdaac379a15d7e6392122f027d8254ec6 (patch)
tree76515c0c9b10ab0521d7099cdf4cc237cc284d06 /include/user.php
parenta3d89274e8e3664959316b851d3cc7fc037d6e07 (diff)
downloade-DoKo-6437c15bdaac379a15d7e6392122f027d8254ec6.tar.gz
e-DoKo-6437c15bdaac379a15d7e6392122f027d8254ec6.tar.bz2
e-DoKo-6437c15bdaac379a15d7e6392122f027d8254ec6.zip
LAYOUT: fixed the layout of the userpage a bit
the size of the whole page is wider now and the middle column of the table is fixed to a certain width. Signed-off-by: Arun Persaud <arun@nubati.net>
Diffstat (limited to 'include/user.php')
-rw-r--r--include/user.php16
1 files changed, 6 insertions, 10 deletions
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