- /* Unix time | nickname | choose */
- fwrite($fp, sprintf("%ld|%s|%s\n", $curtime, xcapelt($user->name), xcapelt(urldecode($cli_choose))));
- fflush($fp);
- $mesg_to_user = show_notify($mlang_indwr['pollrec'][$G_lang], 0, $mlang_indwr['btn_close'][$G_lang], 400, 110);
- $echont = "1";
- log_wr("poll: cp5");
- } while (0);
-
- if ($fp != FALSE)
- fclose($fp);
-
- if ($poll_lock != FALSE)
- Poll::unlock_data($poll_lock);
-
- if ($mesg_to_user != "") {
- $user->comm[$user->step % COMM_N] = "gst.st = ".($user->step+1)."; ";
-
- $user->comm[$user->step % COMM_N] .= $mesg_to_user;
- $user->step_inc();
- }
-
- echo "$echont";
-}
-
-/******************
- * *
- * STAT: room *
- * *
- ******************/
-else if ($user->stat == 'room') {
- $user->laccwr = time();
-
- if ($argz[0] == 'help') {
- $user->comm[$user->step % COMM_N] = "gst.st = ".($user->step+1)."; ";
- $user->comm[$user->step % COMM_N] .= show_notify(str_replace("\n", " ", $G_room_help[$G_lang]), 0, $mlang_indwr['btn_backtotab'][$G_lang], 600, 500);
-
- log_wr($user->comm[$user->step % COMM_N]);
- $user->step_inc();
-
- }
- else if ($argz[0] == 'passwdhowto') {
- $user->comm[$user->step % COMM_N] = "gst.st = ".($user->step+1)."; ";
- $user->comm[$user->step % COMM_N] .= show_notify(str_replace("\n", " ", $G_room_passwdhowto[$G_lang]), 0, $mlang_indwr['btn_backtotab'][$G_lang], 600, 500);
-
- log_wr($user->comm[$user->step % COMM_N]);
- $user->step_inc();
-
- }
- else if ($argz[0] == 'splash') {
- GLOBAL $G_with_splash, $G_splash_content, $G_splash_interval, $G_splash_idx;
- GLOBAL $G_splash_w, $G_splash_h, $G_splash_timeout;
- $CO_splashdate = "CO_splashdate".$G_splash_idx;
- GLOBAL $$CO_splashdate;
-
- $user->comm[$user->step % COMM_N] = "gst.st = ".($user->step+1)."; ";
-
-
- $user->comm[$user->step % COMM_N] .= show_notify_ex(str_replace("\n", " ", $G_splash_content[$G_lang]), 0, $mlang_indwr['btn_backtotab'][$G_lang], $G_splash_w, $G_splash_h, true, 0);
-
- log_wr($user->comm[$user->step % COMM_N]);
- $user->step_inc();
- }
- else if ($argz[0] == 'about') {
- $user->comm[$user->step % COMM_N] = "gst.st = ".($user->step+1)."; ";
- $user->comm[$user->step % COMM_N] .= show_notify(str_replace("\n", " ", $G_room_about[$G_lang]), 0, $mlang_indwr['btn_backtotab'][$G_lang], 400, 200);
-
- log_wr($user->comm[$user->step % COMM_N]);
- $user->step_inc();
-
- }
-
-
- else if ($argz[0] == 'placing') {
-
- require_once("briskin5/Obj/briskin5.phh");
- require_once("briskin5/Obj/placing.phh");
+ /* Unix time | nickname | choose */
+ fwrite($fp, sprintf("%ld|%s|%s\n", $curtime, xcapelt($user->name), xcapelt(urldecode($cli_choose))));
+ fflush($fp);
+ $mesg_to_user = show_notify($mlang_indwr['pollrec'][$G_lang], 0, $mlang_indwr['btn_close'][$G_lang], 400, 110);
+ $echont = "1";
+ log_wr("poll: cp5");
+ } while (0);
+
+ if ($fp != FALSE)
+ fclose($fp);
+
+ if ($poll_lock != FALSE)
+ Poll::unlock_data($poll_lock);
+
+ if ($mesg_to_user != "") {
+ $user->comm[$user->step % COMM_N] = "gst.st = ".($user->step+1)."; ";
+
+ $user->comm[$user->step % COMM_N] .= $mesg_to_user;
+ $user->step_inc();
+ }