X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2Fbriskin5%2Findex.php;h=ffcdbfcdacd6a6015982a0e9f97491ea246738f9;hb=43cab39ea58529cd2442c28f4157bb7efc97856f;hp=20f76628bf4ad881c48b600072e4df3582419efe;hpb=06c1081ce92385def12ac27d341797d45ad29d21;p=brisk.git diff --git a/web/briskin5/index.php b/web/briskin5/index.php index 20f7662..ffcdbfc 100644 --- a/web/briskin5/index.php +++ b/web/briskin5/index.php @@ -41,13 +41,23 @@ $mlang_bin5_index = array( 'aucwin' => array( 'it' => 'Hai vinto l\'asta.
Sc ); -// Use of proxies isn't allowed. -if (is_proxy()) { - exit; -} +function bin5_index_main(&$header_out, $addr, $get, $post, $cookie) +{ + GLOBAL $G_lang, $mlang_bin5_index; + if (($table_idx = gpcs_var('table_idx', $get, $post, $cookie)) === FALSE) + unset ($table_idx); + if (($laststate = gpcs_var('laststate', $get, $post, $cookie)) === FALSE) + unset ($laststate); + if (($sess = gpcs_var('sess', $get, $post, $cookie)) === FALSE) + unset ($sess); -header('Content-type: text/html; charset="utf-8"',true); -?> + // 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";?> @@ -78,13 +88,13 @@ header('Content-type: text/html; charset="utf-8"',true); var gst = new globst(); gst.st = ; + if (isset($laststate) == false) { + $laststate = -1; + } + echo $laststate; + ?>; var g_is_spawn=1; // var g_table_idx=; @@ -100,7 +110,7 @@ window.onload = function() { preferences_update(); sess = ""; - hstm = new http_streaming(window, console, gst, 'table_php', 'sess', sess, $('sandbox'), 'index_rd_ifra.php', function(com){eval(com);}); + hstm = new http_streaming(window, null /* console */, gst, 'table_php', 'sess', sess, $('sandbox'), 'index_rd_ifra.php', function(com){eval(com);}); hstm.hbit_set(heartbit); window.onbeforeunload = onbeforeunload_cb; @@ -297,3 +307,6 @@ window.onload = function() { +