+
+
+
+/* $argz = explode('|', xcapemesg($mesg)); */
+
+/* log_wr('POSTSPLIT: '.$argz[0]); */
+
+/* log_wr($user->step, 'index_wr.php: after get_user()'); */
+
+/* if ($argz[0] == 'shutdown') { */
+/* log_auth($user->sess, "Shutdown session."); */
+
+/* $user->reset(); */
+
+/* log_rd2("AUTO LOGOUT."); */
+/* if ($user->subst == 'sitdown' || $user->stat == 'table') */
+/* $room->room_wakeup($user); */
+/* else if ($user->subst == 'standup') */
+/* $room->room_outstandup(&$user); */
+/* else { */
+/* log_rd2("SHUTDOWN FROM WHAT ???"); */
+/* } */
+/* } */
+/* else if ($argz[0] == 'warranty') { */
+/* GLOBAL $cli_name, $cli_email; */
+
+/* $mesg_to_user = ""; */
+
+/* log_wr("INFO:SKIP:argz == warranty name: [".$cli_name."] AUTH: ".($user->flags & USER_FLAG_AUTH)); */
+/* if ($user->flags & USER_FLAG_AUTH) { */
+/* if (($wa_lock = Warrant::lock_data(TRUE)) != FALSE) { */
+/* if (($fp = @fopen(LEGAL_PATH."/warrant.txt", 'a')) != FALSE) { */
+/* /\* Unix time | session | nickname | IP | where was | mesg *\/ */
+/* fwrite($fp, sprintf("%ld|%s|%s|%s|\n", $curtime, xcapelt($user->name), xcapelt(urldecode($cli_name)), xcapelt(urldecode($cli_email)))); */
+/* fclose($fp); */
+/* } */
+/* Warrant::unlock_data($wa_lock); */
+/* $user->comm[$user->step % COMM_N] = "gst.st = ".($user->step+1)."; "; */
+/* /\* MLANG: "<br>Il nominativo è stato inoltrato all\'amministratore.<br><br>Nell\'arco di pochi giorni vi verrà<br><br>notificata l\'avvenuta registrazione." *\/ */
+/* $user->comm[$user->step % COMM_N] .= show_notify($mlang_indwr['warrrepl'][$G_lang], 0, $mlang_indwr['btn_close'][$G_lang], 400, 150); */
+/* $user->step_inc(); */
+/* echo "1"; */
+/* } */
+/* else { */
+/* /\* MLANG: "<b>E\' occorso un errore durante il salvataggio, riprova o contatta l\'amministratore.</b>" *\/ */
+/* $mesg_to_user = sprintf('chatt_sub("%s", [2, "%s"],"%s");', $dt, NICKSERV, $mlang_indwr['commerr'][$G_lang]); */
+/* } */
+
+/* } */
+/* else { */
+/* /\* MLANG: "<b>Per autenticare qualcuno devi a tua volta essere autenticato.</b>" *\/ */
+/* $mesg_to_user = sprintf('chatt_sub("%s", [2, "%s"],"%s");', $dt, NICKSERV, $mlang_indwr['warrmust'][$G_lang]); */
+/* } */
+
+/* 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(); */
+/* } */
+/* } */
+/* else if ($argz[0] == 'mesgtoadm') { */
+/* GLOBAL $cli_subj, $cli_mesg; */
+
+/* $mesg_to_user = ""; */