X-Git-Url: https://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2Findex_wr.php;h=a9d890674049b05c40d4f89674beda16b8e0622a;hb=c0a2e9fabf68a881b9aa2c77c04dd12b9b098785;hp=61d6b825eba80c3928a0cbec6c00cb3c80f24a91;hpb=933c84955d9b255c83aa33ad0a6f6656042e9244;p=brisk.git diff --git a/web/index_wr.php b/web/index_wr.php index 61d6b82..a9d8906 100644 --- a/web/index_wr.php +++ b/web/index_wr.php @@ -682,11 +682,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');