X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=web%2Findex.php;h=cf1abd86bf9249e9e1f70feaa71e497cb51156a2;hb=c7f6e888b91ee055e4014bd1dbd075c2f5d4204a;hp=a3d283fe0e4da78cf3c9e30f91cfa9ff11376263;hpb=ddd822f1dca51731cc9fc8199db3f1cc527fb01a;p=brisk.git
diff --git a/web/index.php b/web/index.php
index a3d283f..cf1abd8 100644
--- a/web/index.php
+++ b/web/index.php
@@ -235,8 +235,14 @@ function poll_dom() {
function carousel_top()
{
- $rn = rand(1, 3);
- return (sprintf('', $rn));
+ $what = rand(1,2);
+ if ($what == 1) {
+ $rn = rand(1, 3);
+ return (sprintf('', $rn));
+ }
+ else {
+ return (sprintf(''));
+ }
}
function index_main(&$room, $transp_type, &$header_out, $addr, $get, $post, $cookie)
@@ -1066,7 +1072,7 @@ else {
?>
sess = "";
-xstm = new xynt_streaming(window, "", 80, 2, console, gst, 'index_php', 'sess', sess, $('sandbox'), 'index_rd_ifra.php', function(com){eval(com);});
+xstm = new xynt_streaming(window, "", 80, 2, 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;