X-Git-Url: https://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2Findex_wr.php;h=20980360b35bc9b27f04a6fcd49e152582311e53;hb=11351a969a05274d75e84160b0b584e4e4901d1f;hp=61d6b825eba80c3928a0cbec6c00cb3c80f24a91;hpb=933c84955d9b255c83aa33ad0a6f6656042e9244;p=brisk.git diff --git a/web/index_wr.php b/web/index_wr.php index 61d6b82..2098036 100644 --- a/web/index_wr.php +++ b/web/index_wr.php @@ -515,9 +515,7 @@ function index_wr_main(&$room, $remote_addr_full, $get, $post, $cookie) $user->step_inc(); } - else if ($argz[0] == 'placing') { - require_once("briskin5/Obj/briskin5.phh"); require_once("briskin5/Obj/placing.phh"); @@ -526,11 +524,7 @@ function index_wr_main(&$room, $remote_addr_full, $get, $post, $cookie) log_wr($user->comm[$user->step % COMM_N]); $user->step_inc(); - - } - - else if ($argz[0] == 'roadmap') { $user->comm[$user->step % COMM_N] = "gst.st = ".($user->step+1)."; "; $user->comm[$user->step % COMM_N] .= show_notify(str_replace("\n", " ", $G_room_roadmap[$G_lang]), 0, $mlang_indwr['btn_backtotab'][$G_lang], 400, 200); @@ -550,13 +544,20 @@ function index_wr_main(&$room, $remote_addr_full, $get, $post, $cookie) else if ($argz[0] == 'chatt') { $room->chatt_send(&$user, xcapemesg($mesg)); } + else if ($argz[0] == 'licencemgr') { + $user->comm[$user->step % COMM_N] = "gst.st = ".($user->step+1)."; "; + + $user->comm[$user->step % COMM_N] .= show_notify(xcape("FIN QUI |"."${argz[1]}"."|"."${argz[2]}"."|"."${argz[3]}"."|"."${argz[4]}"), 0, $mlang_indwr['btn_backtotab'][$G_lang], 400, 200); + + log_wr($user->comm[$user->step % COMM_N]); + $user->step_inc(); + } /********************** * * * SUBST: standup * * * **********************/ else if ($user->subst == 'standup') { - if ($argz[0] == 'sitdown') { log_wr("SITDOWN command"); @@ -682,11 +683,8 @@ function index_wr_main(&$room, $remote_addr_full, $get, $post, $cookie) // // CHECK while (array_pop($user_cur->comm) != NULL); - $ret = ""; - $ret .= sprintf('gst.st_loc++; gst.st=%d; createCookie("table_idx", %d, 24*365, cookiepath); createCookie("table_token", "%s", 24*365, cookiepath); createCookie("lang", "%s", 24*365, cookiepath); xstm.stop(); window.onunload = null ; window.onbeforeunload = null ; document.location.assign("briskin5/index.php");|', $user_cur->step+1, $table_idx, $table_token, $G_lang); - - $user_cur->comm[$user_cur->step % COMM_N] = $ret; $user_cur->trans_step = $user_cur->step + 1; + $user_cur->comm[$user_cur->step % COMM_N] = sprintf('gst.st_loc++; gst.st=%d; createCookie("table_idx", %d, 24*365, cookiepath); createCookie("table_token", "%s", 24*365, cookiepath); createCookie("lang", "%s", 24*365, cookiepath); xstm.stop(); window.onunload = null ; window.onbeforeunload = null ; document.location.assign("briskin5/index.php");|', $user_cur->step+1, $table_idx, $table_token, $G_lang); log_wr("TRANS ATTIVATO"); $user_cur->stat_set('table');