diff options
-rw-r--r-- | index.php | 4 | ||||
-rw-r--r-- | standard.css | 203 |
2 files changed, 2 insertions, 205 deletions
@@ -600,7 +600,7 @@ else if(isset($_REQUEST["me"])) echo "<p>these are the games you are playing in:<br />\n"; $result = mysql_query("SELECT hash,game_id from Hand WHERE user_id='$uid' AND status<>'gameover'" ); while( $r = mysql_fetch_array($result,MYSQL_NUM)) - echo "<a href=\"http://doko.nubati.net/database/index.php?me=".$r[0]."\">game #".$r[1]." </a><br />"; + echo "<a href=\"".$host."?me=".$r[0]."\">game #".$r[1]." </a><br />"; echo "</p>\n"; $names = DB_get_all_names(); @@ -609,7 +609,7 @@ else if(isset($_REQUEST["me"])) echo "$name <br />\n"; echo "</p>\n"; echo "<p>Want to start a new game? remember 4 names from the list above and visit ". - "<a href=\"http://doko.nubati.net/database/index.php?new\">this page.</a></p>"; + "<a href=\"".$host."?new\">this page.</a></p>"; } else { diff --git a/standard.css b/standard.css deleted file mode 100644 index e8b0216..0000000 --- a/standard.css +++ /dev/null @@ -1,203 +0,0 @@ -.header { - background-color:white; - text-align:center; - border-bottom:3px solid gray; -} - -.card { - position:absolute; - z-index:20; - top:18em; - left:28em; - text-aling:center; - background-color:white; - border:2px solid gray; -} -.card img { width:8em; } - - -ul.oldtrick { - list-style:none; - margin:3px; - padding:0; - /*background-color:yellow;*/ - text-align:center; -} - -ul.oldtrick a { text-decoration:none; color:#000;} - -ul.oldtrick li { - /*background-color:blue;*/ - margin:0 0.5em; - display:inline; -} -ul.oldtrick li:hover { - background-color: yellow; -} - -ul.oldtrick li div.table img.table { - position:absolute; - margin:0; - padding:0; - top: 3em; - left: 4em; - height:24em; - z-index:-2; -} - -ul.oldtrick li div.table { - position:absolute; - margin:0; - padding:0; - /*border: 5px solid green;*/ - top: 10em; - left: 18em; - height:28em; - width:28em; - z-index:9; - display:none; -} - -/*ul.oldtrick li:hover div.table{ display:block; } -*/ - -ul.oldtrick li div div.card0 { - position:absolute; - margin:0; - padding:0; - /*border: 1px solid red;*/ - top: 14em; - right:26em; -} -ul.oldtrick li div div.card1 { - position:absolute; - margin:0; - padding:0; - /*border: 1px solid red;*/ - top: 0; - left:0em; - width:28em; - text-align:center; -} -ul.oldtrick li div div.card2 { - position:absolute; - margin:0; - padding:0; - /*border: 1px solid red;*/ - top: 14em; - left:26em; -} -ul.oldtrick li div div.card3 { - position:absolute; - margin:0; - padding:0; - /*border: 1px solid red;*/ - top: 29em; - left:0; - width:28em; - text-align:center; -} - -ul.oldtrick li div div img { - position:absolute; - height:6em; - margin:0; - padding:0; -} - -ul.oldtrick li div div.card0 img { - top: -2em; - left:5em; -} -ul.oldtrick li div div.card1 img { - top: 3em; - left:12em; -} -ul.oldtrick li div div.card2 img { - top: -2em; - left:-6em; -} -ul.oldtrick li div div.card3 img { - top: -6em; - left:12em; -} - - -ul.oldtrick li div div span { - /*background-color:green;*/ -} -ul.oldtrick li div div.card0 span { - text-align:right; -} -ul.oldtrick li div div.card1 span { - text-align:center; -} -ul.oldtrick li div div.card0 span { - text-align:left; -} -ul.oldtrick li div div.card0 span { - text-align:center; -} - -ul.oldtrick li div div span span { - position:absolute; - background-color:white; - margin:0; - padding:0; - width:10em; - border: 1px solid yellow; - z-index:11; -} -ul.oldtrick li div div.card0 span span{ - top:1em; - left:-14em; - border: 3px solid green; -} -ul.oldtrick li div div.card1 span span{ - top:-1em; - left:3em; - border: 3px solid green; -} -ul.oldtrick li div div.card2 span span{ - top:-2em; - left:3em; - border: 3px solid green; -} -ul.oldtrick li div div.card3 span span{ - top:-1em; - left:3em; - border: 3px solid green; -} - -.mycards { - clear:both; - margin:0; - margin-top:33em; - padding:0; - border:1px solid red; - background-color:yellow; -} - -.mycards img { - height:6em; -} - -.line{ - clear:both; - border-top:2px solid gray; - margin:0; - padding:0; -} - -.info { - float:right; - border:2px solid gray; - border-top:0; -} - -.bug { - float:left; - width:10em; - border:2px solid gray; - border-top:0; -}
\ No newline at end of file |