diff options
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 4 |
1 files changed, 2 insertions, 2 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 { |