added game number to game display
authorarun <arun@nubati.net>
Fri, 26 Jan 2007 12:17:32 +0000 (12:17 +0000)
committerarun <arun>
Fri, 26 Jan 2007 12:17:32 +0000 (12:17 +0000)
css/standard.css
index.php

index 5867588e2b1d946dbfb2f76cfd649f09d7133b36..0edabfb7339683aaad817a3aea0e1814cfa455e0 100644 (file)
@@ -9,6 +9,12 @@
   top:0;
 }
 
+p.gamenumber { 
+  position:absolute;
+  top:0;
+  text-align:center;
+}
+
 .card { 
   position:absolute;
   z-index:20;
index 38879e91c023738ce0f129f6e75d0c9f2dc2fc6c..98420418669f997e73418c4c9d13d7cd8ad07202 100644 (file)
--- a/index.php
+++ b/index.php
@@ -140,6 +140,10 @@ else if(myisset("me"))
     $myname   = DB_get_name_by_hash($me);
     $mystatus = DB_get_status_by_hash($me);
     $mypos    = DB_get_pos_by_hash($me);
+
+    echo "<p class=\"gamenumber\"> Game $gameid </p>\n";
+    
+
     
     if(myisset("cancle"))
       echo "<p style=\"background-color:red\";>canceling a game is not implemented at the moment, but will be soon...<br /><br /></p>";