X-Git-Url: https://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2Findex.php;h=5ed0bd364645d9c64933c621d3de7e8543a42e76;hb=087d3262b6c01417dad7b9eb365374fe5a9f2ba1;hp=390bc784317db97c1c0fbed410691b805138c0e5;hpb=9ffc7e5dc05fdd25cc273661ba8dc394c5d5518b;p=brisk.git
diff --git a/web/index.php b/web/index.php
index 390bc78..5ed0bd3 100644
--- a/web/index.php
+++ b/web/index.php
@@ -213,7 +213,7 @@ function carousel_top()
return (sprintf('', $rn));
}
-function index_main(&$room, &$header_out, $addr, $get, $post, $cookie)
+function index_main(&$room, $transp_type, &$header_out, $addr, $get, $post, $cookie)
{
GLOBAL $G_with_donors, $G_donors_cur, $G_donors_all;
GLOBAL $G_with_topbanner, $G_topbanner, $G_is_local;
@@ -233,8 +233,7 @@ function index_main(&$room, &$header_out, $addr, $get, $post, $cookie)
unset ($table_idx);
if (($table_token = gpcs_var('table_idx', $get, $post, $cookie)) === FALSE)
unset ($table_token);
-
-
+
// Use of proxies isn't allowed.
if (!$G_is_local && is_proxy($addr)) {
return FALSE;
@@ -297,7 +296,7 @@ function index_main(&$room, &$header_out, $addr, $get, $post, $cookie)
$cookies->add("table_token", $user->table_token, $curtime + 31536000);
$cookies->add("table_idx", $user->table, $curtime + 31536000);
$header_out['cookies'] = $cookies;
- $header_out['Location'] = "Location: briskin5/index.php";
+ $header_out['Location'] = "briskin5/index.php";
return TRUE;
}
@@ -862,10 +861,10 @@ supported by:
-
+
-
+
@@ -886,7 +885,7 @@ supported by:
var gst = new globst();
var topbanner_sfx, topbanner_dx;
var g_brow = null;
- var hstm = null;
+ var xstm = null;
var sess = "not_connected";
var spo_slide, sup_slide;
@@ -997,11 +996,11 @@ echo "$body"; ?>
-
+
-
+
@@ -1057,8 +1056,8 @@ else {
?>
sess = "";
-hstm = new http_streaming(window, null /* console*/ , gst, 'index_php', 'sess', sess, $('sandbox'), 'index_rd_ifra.php', function(com){eval(com);});
- hstm.hbit_set(heartbit);
+xstm = new xynt_streaming(window, "", null /* console */, gst, 'index_php', 'sess', sess, $('sandbox'), 'index_rd_ifra.php', function(com){eval(com);});
+ xstm.hbit_set(heartbit);
tra = new train($('room_tit'));
window.onunload = onunload_cb;
window.onbeforeunload = onbeforeunload_cb;
@@ -1070,7 +1069,7 @@ hstm = new http_streaming(window, null /* console*/ , gst, 'index_php', 'sess',
$("proflashext").innerHTML = "";
// console.log("session from main: "+sess);
- hstm.start();
+ xstm.start();
// alert("ARR LENGTH "+g_preload_img_arr.length);
// FIXME: preload image will be fired by stream instead here
// setTimeout(preload_images, 0, g_preload_img_arr, g_imgct);