X-Git-Url: https://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2Fbriskin5%2Findex.php;h=64e7bc57006280116b41726a785328753a7a2640;hb=a16d8054d9577795a6d9306570eb3a06c46da147;hp=ca57254836a75f7c44d39ee7ae6b9a809211c686;hpb=3870d06e54a0be5864cc30d0716237c5f2a4a0a2;p=brisk.git
diff --git a/web/briskin5/index.php b/web/briskin5/index.php
index ca57254..64e7bc5 100644
--- a/web/briskin5/index.php
+++ b/web/briskin5/index.php
@@ -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,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)
@@ -51,11 +60,6 @@ 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);
- // }
-
// header('Content-type: text/html; charset="utf-8"',true);
?>
@@ -88,7 +92,7 @@ function bin5_index_main($transp_type, &$header_out, $addr, $get, $post, $cookie
var gst = new globst();
gst.st = ";
- xstm = new xynt_streaming(window, "", null /* console */, gst, 'table_php', 'sess', sess, $('sandbox'), 'index_rd_ifra.php', function(com){eval(com);});
+ 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;
xstm.start();
+
+ addEvent($('select_rules'), "change", function() { act_select_rules(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);
@@ -247,11 +253,13 @@ window.onload = function() {
- | - | + | + | + | |
+ | + | + |