X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2Fbriskin5%2Findex_wr.php;h=2fb6da20fbc18d7c88d992861c8f1fd4b860fdd3;hb=a2924d2335ec5325dc322600fe373625575ac8e2;hp=e284e091f541b11227fcd9358e38781f8afccc18;hpb=f0c4c4d0bed38d1211249c0032da8e546c5d5df9;p=brisk.git diff --git a/web/briskin5/index_wr.php b/web/briskin5/index_wr.php index e284e09..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; @@ -269,7 +269,7 @@ else if ($user->stat == 'table') { $user->bantime = $user->laccwr + BAN_TIME; if ($logout_cont == TRUE) { - $bri->room_wakeup(&$user); + $bri->table_wakeup(&$user); } } else if ($argz[0] == 'exitlock') {