X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2Findex_wr.php;h=6d61c01fe5945f7f6f5ca319674125337e71e9b1;hb=44f4d1b333ecb3cc3c3666cc5acb2422edcf029d;hp=1c8dd201725380f68ad1f5ab86b698dd6bd955e1;hpb=d9f1de409fac8d9bff593813fec3db1f0c08cdc7;p=brisk.git diff --git a/web/index_wr.php b/web/index_wr.php index 1c8dd20..6d61c01 100644 --- a/web/index_wr.php +++ b/web/index_wr.php @@ -165,12 +165,10 @@ if (($user = &$room->get_user($sess, &$idx)) == FALSE) { echo show_notify(str_replace("\n", " ", $G_room_roadmap[$G_lang]), 0, $mlang_indwr['btn_close'][$G_lang], 400, 200); } else if ($argz[0] == 'placing') { - GLOBAL $G_false; - require_once("briskin5/Obj/briskin5.phh"); require_once("briskin5/Obj/placing.phh"); - echo show_notify(str_replace("\n", " ", placings_show($G_false)), 0, $mlang_indwr['btn_close'][$G_lang], 800, 600); + echo show_notify(str_replace("\n", " ", placings_show(FALSE)), 0, $mlang_indwr['btn_close'][$G_lang], 800, 600); } else if ($argz[0] == 'whysupport') { echo show_notify(str_replace("\n", " ", $G_room_whysupport[$G_lang]), 0, $mlang_indwr['btn_close'][$G_lng], 400, 200); @@ -194,7 +192,7 @@ if ($argz[0] == 'shutdown') { log_rd2("AUTO LOGOUT."); if ($user->subst == 'sitdown' || $user->stat == 'table') - $room->room_wakeup(&$user); + $room->room_wakeup($user); else if ($user->subst == 'standup') $room->room_outstandup(&$user); else { @@ -658,10 +656,10 @@ else if ($user->stat == 'room') { **********************/ else if ($user->subst == 'sitdown') { if ($argz[0] == 'wakeup') { - $room->room_wakeup(&$user); + $room->room_wakeup($user); } else if ($argz[0] == 'logout') { - $room->room_wakeup(&$user); + $room->room_wakeup($user); $user->comm[$user->step % COMM_N] = "gst.st = ".($user->step+1)."; "; $user->comm[$user->step % COMM_N] .= 'postact_logout();'; $user->the_end = TRUE;