X-Git-Url: https://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2Fbriskin5%2Findex.php;h=8f0813ef74cc4ac1904c8b6ef6012d269b6b5493;hb=8212130cd9847e01c650d5e8f5389ccd29645715;hp=af20289a0c03d5f1c933f7c2ee15e6ab52ecbceb;hpb=68e3f95af106423e5c1e18a723bddd4abdf7e7f7;p=brisk.git diff --git a/web/briskin5/index.php b/web/briskin5/index.php index af20289..8f0813e 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 * @@ -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,44 +60,49 @@ 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); - // } - + 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); ?> + Brisk - Tavolo <?php echo "$table_idx";?> - - - - - - - - - - + + + + + + + + + + +