X-Git-Url: https://mop.ddnsfree.com/gitweb/?p=brisk.git;a=blobdiff_plain;f=web%2Fbriskin5%2Findex.php;h=3b3689685b857bad18791f546aff86de2d5a58cd;hp=d252f837fca5f8b5ced936a29940a11ece1719c6;hb=94b406ae5451c04176ae43cad2e71f9f80d40d82;hpb=fd5eec5ecd988df774eb9fb8744a0274e918980b diff --git a/web/briskin5/index.php b/web/briskin5/index.php index d252f83..3b36896 100644 --- a/web/briskin5/index.php +++ b/web/briskin5/index.php @@ -3,7 +3,7 @@ * brisk - briskin5/index.php * * Copyright (C) 2006-2012 Matteo Nastasi - * mailto: nastasi@alternativeoutput.it + * mailto: nastasi@alternativeoutput.it * matteo.nastasi@milug.org * web: http://www.alternativeoutput.it * @@ -60,6 +60,10 @@ function bin5_index_main($transp_type, $header, &$header_out, $addr, $get, $post if (($sess = gpcs_var('sess', $get, $post, $cookie)) === FALSE) unset ($sess); + fprintf(STDERR, "PREF_DECK SET %s", (isset($cookie['CO_bin5_pref_deck']) ? "YES" : "NO")); + + $deck = (isset($cookie['CO_bin5_pref_deck']) ? $cookie['CO_bin5_pref_deck'] : 'xx'); + // header('Content-type: text/html; charset="utf-8"',true); ?> @@ -68,7 +72,7 @@ function bin5_index_main($transp_type, $header, &$header_out, $addr, $get, $post Brisk - Tavolo <?php echo "$table_idx";?> - + @@ -90,12 +94,13 @@ function bin5_index_main($transp_type, $header, &$header_out, $addr, $get, $post var subst = "none"; var table_pos = ""; var g_jukebox = null; + var g_deck = ""; var asta_ptr; var area_ptr; var gst = new globst(); - gst.st = "; 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; + + window.onbeforeunload = onbeforeunload_cb; + window.onunload = onunload_cb; xstm.start(); addEvent($('select_rules'), "change", function() { act_select_rules(this.value); } ); + addEvent($('select_deck'), "change", function() { act_select_deck(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); @@ -195,17 +201,17 @@ window.onload = function() {
- +
- - + +
- +
@@ -214,7 +220,7 @@ window.onload = function() {
- +
@@ -223,7 +229,7 @@ window.onload = function() {
- +
@@ -232,7 +238,7 @@ window.onload = function() {
- +
@@ -241,7 +247,7 @@ window.onload = function() {
- +
@@ -308,18 +314,19 @@ window.onload = function() {