diff options
author | TheTroll <trolldev@gmail.com> | 2010-02-27 02:12:43 +0100 |
---|---|---|
committer | TheTroll <trolldev@gmail.com> | 2010-02-27 02:12:43 +0100 |
commit | 32b78254c76ebd9a07ad19edf25f1f0846a33bb8 (patch) | |
tree | d517c7bef969a6498d40fb64106c41363cfc36f7 /includes/inc_streaming.php | |
parent | 0c9414a9fecf2278d468acb1cf184e776b5a15c7 (diff) | |
download | istreamdev-32b78254c76ebd9a07ad19edf25f1f0846a33bb8.tar.gz istreamdev-32b78254c76ebd9a07ad19edf25f1f0846a33bb8.tar.bz2 |
Sessions WIP
Diffstat (limited to 'includes/inc_streaming.php')
-rwxr-xr-x | includes/inc_streaming.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/includes/inc_streaming.php b/includes/inc_streaming.php index 9da377f..a294a9d 100755 --- a/includes/inc_streaming.php +++ b/includes/inc_streaming.php @@ -11,11 +11,15 @@ $ram = "ram/" .$session ."/"; // Get current stream info list($type, $realname, $title, $desc, $mode, $category, $url, $mediapath, $subdir) = readinfostream($session); -print "<body onorientationchange=\"updateOrientation();\" onload=\"ajax();\">\r\n"; +print "<body onorientationchange=\"updateOrientation();\" onload=\"ajax('{$session}');\">\r\n"; print "<div id=\"topbar\" class=\"transparent\">\r\n"; print "<div id=\"leftnav\">\r\n"; print "<a href=\"javascript:sendForm('stopstream');\">Stop Stream</a></div>\r\n"; + +print "<div id=\"rightnav\">\r\n"; +print "<a href=\"index.php\"><img alt=\"home\" src=\"images/home.png\" /></a></div>\r\n"; + print "<div id=\"title\">iStreamdev</div>\r\n"; print "</div>\r\n"; @@ -43,6 +47,7 @@ print " </div>\r\n"; print " <form name=\"stopstream\" id=\"stopstream\" method=\"post\" action=\"index.php\">"; print " <input name=\"action\" type=\"hidden\" id=\"action\" value=\"stopstream\" />"; +print " <input name=\"session\" type=\"hidden\" id=\"session\" value=\"{$session}\" />"; print " <input name=\"type\" type=\"hidden\" id=\"type\" value={$type} />"; switch ($type) { |