X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2Fbriskin5%2Findex.php;h=ffcdbfcdacd6a6015982a0e9f97491ea246738f9;hb=43cab39ea58529cd2442c28f4157bb7efc97856f;hp=6a0b9e1ac04d71e1e81c10e2277d0df1b60f9a15;hpb=5b549f2fc0c370d91ce2ea2d6719a85ea1489b9c;p=brisk.git diff --git a/web/briskin5/index.php b/web/briskin5/index.php index 6a0b9e1..ffcdbfc 100644 --- a/web/briskin5/index.php +++ b/web/briskin5/index.php @@ -41,19 +41,30 @@ $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";?> - + + @@ -70,7 +81,6 @@ header('Content-type: text/html; charset="utf-8"',true); var stat = "table"; var subst = "none"; var table_pos = ""; - var myfrom = "table_php"; var g_withflash = false; var asta_ptr; @@ -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,13 +110,13 @@ window.onload = function() { preferences_update(); sess = ""; - hstm = new http_streaming("sess"); - hstm.hbit_set(hbit); + 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; window.onunload = onunload_cb; - hstm.start(sess); + hstm.start(); setTimeout(preload_images, 0, g_preload_img_arr, g_imgct); } @@ -297,3 +307,6 @@ window.onload = function() { +