X-Git-Url: https://mop.ddnsfree.com/gitweb/?p=brisk.git;a=blobdiff_plain;f=web%2Fbriskin5%2Findex.php;h=9de8e1159c4c1c7f44434ba44bda3872da7577b7;hp=3d7f2ece68ef3e893474d47977084d64327720b1;hb=d1dcdf933584d658b380e279d606a8c913da2979;hpb=9b4aaeb974e7f92e6e124bde29c78a1f5f8fb2b0 diff --git a/web/briskin5/index.php b/web/briskin5/index.php index 3d7f2ec..9de8e11 100644 --- a/web/briskin5/index.php +++ b/web/briskin5/index.php @@ -2,8 +2,8 @@ /* * brisk - briskin5/index.php * - * Copyright (C) 2006-2011 Matteo Nastasi - * mailto: nastasi@alternativeoutput.it + * Copyright (C) 2006-2012 Matteo Nastasi + * mailto: nastasi@alternativeoutput.it * matteo.nastasi@milug.org * web: http://www.alternativeoutput.it * @@ -27,13 +27,18 @@ $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:', 'en' => 'You win the auction.
Choose the seed:' ), - 'tit_pref'=>array( 'it' => 'Preferenze.', - 'en' => 'Preferences.'), + 'tit_info' => array( 'it' => 'Info', + 'en' => 'Info'), + 'tit_relo' => array( 'it' => 'Reload', + 'en' => 'Reload'), + 'tit_out' => array( 'it' => 'Fuori', + 'en' => 'Out'), + 'tit_pref' => array( 'it' => 'Prefs', + 'en' => 'Prefs'), 'itm_ringauc' => array('it' => 'riproduci un suono di notifica alla fine dell\' asta', 'en' => 'play a sound at the end of the auction'), 'btn_update' => array('it' => 'Aggiorna.', @@ -41,50 +46,69 @@ $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($transp_type, $header, &$header_out, $addr, $get, $post, $cookie) +{ + GLOBAL $G_lang, $mlang_bin5_index; -header('Content-type: text/html; charset="utf-8"',true); -?> + $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) + unset ($laststate); + 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); + ?> + Brisk - Tavolo <?php echo "$table_idx";?> - - - - - - - - - + + + + + + + + + + +
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
@@ -169,17 +207,17 @@ window.onload = function() {
- +
- - + +
- +
@@ -188,7 +226,7 @@ window.onload = function() {
- +
@@ -197,7 +235,7 @@ window.onload = function() {
- +
@@ -206,7 +244,7 @@ window.onload = function() {
- +
@@ -215,7 +253,7 @@ window.onload = function() {
- +
@@ -229,16 +267,18 @@ window.onload = function() {
Info
- +
- - - + + + - + + +
@@ -280,15 +320,19 @@ window.onload = function() {