X-Git-Url: https://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=web%2Fbriskin5%2Findex.php;h=68f6287e8b7bc35928c4d854e1db020a63ef8cd7;hb=592e26ff713393b42690190ef9496acde56ccd9a;hp=deeeba5a4195b4df075b536330771a548192cb96;hpb=648e67ab39b09ae4a82fe2548a6c63154b61e901;p=brisk.git diff --git a/web/briskin5/index.php b/web/briskin5/index.php index deeeba5..68f6287 100644 --- a/web/briskin5/index.php +++ b/web/briskin5/index.php @@ -46,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) @@ -60,6 +64,7 @@ function bin5_index_main($transp_type, &$header_out, $addr, $get, $post, $cookie ?> + Brisk - Tavolo <?php echo "$table_idx";?> @@ -69,7 +74,6 @@ function bin5_index_main($transp_type, &$header_out, $addr, $get, $post, $cookie - @@ -81,7 +85,7 @@ 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; @@ -103,14 +107,16 @@ var g_imgtot = g_preload_img_arr.length; var g_exitlock = 0; window.onload = function() { - g_withflash = DetectFlashVer(6,0,0); + g_jukebox = new jukebox([{'name': 'cow', 'file': 'cow.mp3'}, + {'name': 'rooster', 'file': 'rooster.mp3'}, + {'name': 'ringbell', 'file': 'ringbell.mp3'}]); remark_off(); preferences_init(); preferences_update(); sess = ""; - xstm = new xynt_streaming(window, "", 80, 2, null /* console */, gst, 'table_php', 'sess', sess, $('sandbox'), 'index_rd.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;