X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2Findex_wr.php;h=f48bc001194fd96a1fdfd0faf7c38453a2f42ff2;hb=c96ea8bcfeea99ab6c21cc4773ed2e550b3155d9;hp=b6a73e769ca214fc006608da12ae9c8e6a927e04;hpb=58f8203d385dd87693e85d32b6f1e34a493db754;p=brisk.git diff --git a/web/index_wr.php b/web/index_wr.php index b6a73e7..f48bc00 100644 --- a/web/index_wr.php +++ b/web/index_wr.php @@ -148,19 +148,27 @@ if (($user = &$room->get_user($sess, &$idx)) == FALSE) { } else if ($argz[0] == 'help') { /* MLANG: "torna ai tavoli" */ - echo show_notify(str_replace("\n", " ", $G_room_help[$G_lang]), 0, $mlang_indwr['btn_backtotab'][$G_lang], 600, 500); + echo show_notify(str_replace("\n", " ", $G_room_help[$G_lang]), 0, $mlang_indwr['btn_close'][$G_lang], 600, 500); } else if ($argz[0] == 'about') { - echo show_notify(str_replace("\n", " ", $G_room_about[$G_lang]), 0, $mlang_indwr['btn_backtotab'][$G_lang], 400, 200); + echo show_notify(str_replace("\n", " ", $G_room_about[$G_lang]), 0, $mlang_indwr['btn_close'][$G_lang], 400, 220); } else if ($argz[0] == 'passwdhowto') { - echo show_notify(str_replace("\n", " ", $G_room_passwdhowto[$G_lang]), 0, $mlang_indwr['btn_backtotab'][$G_lang], 400, 200); + echo show_notify(str_replace("\n", " ", $G_room_passwdhowto[$G_lang]), 0, $mlang_indwr['btn_close'][$G_lang], 400, 200); } else if ($argz[0] == 'roadmap') { - echo show_notify(str_replace("\n", " ", $G_room_roadmap[$G_lang]), 0, $mlang_indwr['btn_backtotab'][$G_lang], 400, 200); + 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); } else if ($argz[0] == 'whysupport') { - echo show_notify(str_replace("\n", " ", $G_room_whysupport[$G_lang]), 0, $mlang_indwr['btn_backtotab'][$G_lng], 400, 200); + echo show_notify(str_replace("\n", " ", $G_room_whysupport[$G_lang]), 0, $mlang_indwr['btn_close'][$G_lng], 400, 200); } else { log_wr("Get User Error"); @@ -411,6 +419,20 @@ else if ($user->stat == 'room') { $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); @@ -419,6 +441,23 @@ else if ($user->stat == 'room') { $user->step_inc(); } + + + else if ($argz[0] == 'placing') { + + require_once("briskin5/Obj/briskin5.phh"); + require_once("briskin5/Obj/placing.phh"); + + $user->comm[$user->step % COMM_N] = "gst.st = ".($user->step+1)."; "; + $user->comm[$user->step % COMM_N] .= show_notify_ex(str_replace("\n", " ", placings_show($user)), 0, $mlang_indwr['btn_backtotab'][$G_lang], 800, 600, TRUE, 0); + + 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);