X-Git-Url: https://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2Findex.php;h=e71684276a7104a76213dae93f476ffca7a0e6ac;hb=34495fd64f6e0749144412348c2dfdad37bddf85;hp=390bc784317db97c1c0fbed410691b805138c0e5;hpb=9ffc7e5dc05fdd25cc273661ba8dc394c5d5518b;p=brisk.git
diff --git a/web/index.php b/web/index.php
index 390bc78..e716842 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;
@@ -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);