\r\n"; print "
\r\n"; print "
\r\n"; print "Stop Stream
\r\n"; print "
iStreamdev
\r\n"; print "
\r\n"; print "
\r\n"; print " Now streaming\r\n"; // Print the right logo print " \r\n"; print " \r\n"; print " \r\n"; print "
\r\n"; print "
"; print " "; print " "; print " "; switch ($type) { case 1: print " "; break; case 2: case 3: print " "; break; } print "
\r\n"; } else { $category = $_SESSION['currentcat']; $type = $_REQUEST['type']; $name = $_REQUEST['name']; switch ($type) { // Live TV case 1: list($title, $desc, $realname) = vdrgetinfostream($name, 1); $channum = vdrgetchannum($realname); break; // Recording case 2: list($title, $desc, $realname) = vdrgetinfostream($name, 0); break; // Media case 3: list($title, $desc) = mediagetinfostream($name); $realname = basename($name); break; default: $realname = ""; $title = ""; $desc = ""; $channame = ""; } print "\r\n"; print "
\r\n"; print "
\r\n"; print "Back
\r\n"; print "
\r\n"; print "\"home\"
\r\n"; print "
iStreamdev
\r\n"; print "
\r\n"; print "
\r\n"; print " Select stream mode\r\n"; // Print the right logo print " \r\n"; // Check if running to display the start buttons print "
\r\n"; print "
\r\n"; foreach ($quality as $qname => $qparams) print "{$qname}"; print "\r\n"; print "
\r\n"; print " \r\n"; print "
\r\n"; foreach ($quality as $qname => $qparams) { print "
\r\n"; print " \r\n"; print " \r\n"; print " \r\n"; print " \r\n"; print " \r\n"; print " \r\n"; print " \r\n"; print " \r\n"; switch ($type) { case 1: print " \r\n"; break; case 2: case 3: print " \r\n"; break; } print "
"; } print "
"; switch ($type) { case 1: print " "; print " "; break; default: case 2: $dir = dirname($name); print " "; print " "; break; case 3: $dir = dirname($name); print " "; print " "; break; } print "
\r\n"; } ?>