X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2Fbriskin5%2Findex_wr.php;h=2fb6da20fbc18d7c88d992861c8f1fd4b860fdd3;hb=971fb704f6cb6091d0c597209f5f878c04336d51;hp=1bca68764743d3573249a897532702489fcd064b;hpb=4d309694886fa63ff27421eabe9067e70ff0eda1;p=brisk.git diff --git a/web/briskin5/index_wr.php b/web/briskin5/index_wr.php index 1bca687..2fb6da2 100644 --- a/web/briskin5/index_wr.php +++ b/web/briskin5/index_wr.php @@ -40,7 +40,7 @@ if ($table_idx < 0 || $table_idx >= TABLE_N) exit; $sem = Briskin5::lock_data($table_idx); -$bri = &Briskin5::load_data($table_idx); +$bri = &Briskin5::load_data($table_idx,$table_token); if (($user = &$bri->get_user($sess, &$idx)) == FALSE) { echo "Get User Error"; log_wr($sess, "Get User Error"); @@ -61,7 +61,7 @@ if ($argz[0] == 'shutdown') { log_rd2($user->sess, "AUTO LOGOUT."); if ($user->subst == 'sitdown' || $user->stat == 'table') - $bri->room_wakeup(&$user); + $bri->table_wakeup(&$user); else if ($user->subst == 'standup') $bri->room_outstandup(&$user); else @@ -214,10 +214,10 @@ else if ($user->stat == 'room') { **********************/ else if ($user->subst == 'sitdown') { if ($argz[0] == 'wakeup') { - $bri->room_wakeup(&$user); + $bri->table_wakeup(&$user); } else if ($argz[0] == 'logout') { - $bri->room_wakeup(&$user); + $bri->table_wakeup(&$user); $user->comm[$user->step % COMM_N] = "gst.st = ".($user->step+1)."; "; $user->comm[$user->step % COMM_N] .= sprintf('postact_logout();'); $user->the_end = TRUE;