X-Git-Url: https://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2Fbriskin5%2Findex.php;h=8d9c6c66e9bb79982b9441f322351205f053ebb1;hb=dc3f30321bc6e59593e37e6716b7f85c82b94ed8;hp=af20289a0c03d5f1c933f7c2ee15e6ab52ecbceb;hpb=68e3f95af106423e5c1e18a723bddd4abdf7e7f7;p=brisk.git diff --git a/web/briskin5/index.php b/web/briskin5/index.php index af20289..8d9c6c6 100644 --- a/web/briskin5/index.php +++ b/web/briskin5/index.php @@ -27,7 +27,6 @@ $G_base = "../"; require_once("../Obj/brisk.phh"); -require_once("../Obj/proxyscan.phh"); require_once("Obj/briskin5.phh"); $mlang_bin5_index = array( 'aucwin' => array( 'it' => 'Hai vinto l\'asta.
Scegli il seme:', @@ -47,9 +46,13 @@ $mlang_bin5_index = array( 'aucwin' => array( 'it' => 'Hai vinto l\'asta.
Sc ); -function bin5_index_main($transp_type, &$header_out, $addr, $get, $post, $cookie) +function bin5_index_main($transp_type, $header, &$header_out, $addr, $get, $post, $cookie) { GLOBAL $G_lang, $mlang_bin5_index; + + $transp_port = ((array_key_exists("X-Forwarded-Proto", $header) && + $header["X-Forwarded-Proto"] == "https") ? 443 : 80); + if (($table_idx = gpcs_var('table_idx', $get, $post, $cookie)) === FALSE) unset ($table_idx); if (($laststate = gpcs_var('laststate', $get, $post, $cookie)) === FALSE) @@ -57,15 +60,11 @@ function bin5_index_main($transp_type, &$header_out, $addr, $get, $post, $cookie if (($sess = gpcs_var('sess', $get, $post, $cookie)) === FALSE) unset ($sess); - // Use of proxies isn't allowed. - // if (is_proxy()) { - // return (FALSE); - // } - // header('Content-type: text/html; charset="utf-8"',true); ?> + Brisk - Tavolo <?php echo "$table_idx";?> @@ -87,14 +86,14 @@ function bin5_index_main($transp_type, &$header_out, $addr, $get, $post, $cookie var stat = "table"; var subst = "none"; var table_pos = ""; - var g_withflash = false; + var g_jukebox = null; var asta_ptr; var area_ptr; var gst = new globst(); gst.st = "; - xstm = new xynt_streaming(window, "", null /* console */, gst, 'table_php', 'sess', sess, $('sandbox'), 'index_rd_ifra.php', function(com){eval(com);}); + xstm = new xynt_streaming(window, , 2, null /* console */, gst, 'table_php', 'sess', sess, $('sandbox'), 'index_rd.php', function(com){eval(com);}); xstm.hbit_set(heartbit); window.onbeforeunload = onbeforeunload_cb; window.onunload = onunload_cb; xstm.start(); + + addEvent($('select_rules'), "change", function() { act_select_rules(this.value); } ); // FIXME: add this setTimeout(preload_images into data stream to avoid // race on opened socket // setTimeout(preload_images, 0, g_preload_img_arr, g_imgct); @@ -307,6 +310,9 @@ window.onload = function() {


+
+ +