X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=e-DoKo.git;a=blobdiff_plain;f=functions.php;h=0ce3104701f2175c24d53f6e63053904ba8846d7;hp=b1ed09fabf0c5df3f92be136aa2bd0042845748d;hb=becb5e1267866b1fa858c08125fdba81003dfc65;hpb=e7e64b1ada481710704c16bfb8ee4a7c337dc8f1 diff --git a/functions.php b/functions.php index b1ed09f..0ce3104 100644 --- a/functions.php +++ b/functions.php @@ -640,7 +640,7 @@ function can_call($what,$hash) function display_table () { - global $gameid, $GT, $debug,$host,$defaulttimezone; + global $gameid, $GT, $debug,$INDEX,$defaulttimezone; $result = mysql_query("SELECT User.fullname as name,". " Hand.position as position, ". @@ -677,7 +677,7 @@ function display_table () if(!$debug) echo " $name \n"; else - echo " $name\n"; + echo " $name\n"; /* add hints for poverty, wedding, solo, etc */ if($GT=="poverty" && $party=="re") @@ -785,9 +785,9 @@ function display_table () function display_user_menu() { - global $wiki,$myid,$host; + global $wiki,$myid,$INDEX,$STATS; echo "
\n". - " Go to my user page "; + " Go to my user page "; $result = mysql_query("SELECT Hand.hash,Hand.game_id,Game.player from Hand". " LEFT JOIN Game On Hand.game_id=Game.id". @@ -800,15 +800,15 @@ function display_user_menu() while( $r = mysql_fetch_array($result,MYSQL_NUM)) { - echo "game ".DB_format_gameid($r[1])."
\n"; + echo "game ".DB_format_gameid($r[1])."
\n"; } - echo "
Start a new game\n"; + echo "
Start a new game\n"; - echo "
Statistics\n"; + echo "
Statistics\n"; echo - "
Report bugs in the wiki\n"; + "
Report bugs in the wiki\n"; echo "
\n"; return; }