\r\n";
print "
Now streaming\r\n";
// Print the right logo
print "
\r\n";
if ($type == 3)
{
if (file_exists("ram/stream-tb.png"))
$logopath = "ram/stream-tb.png";
else if (file_exists("ram/stream-tb.jpg"))
$logopath = "ram/stream-tb.jpg";
else
$logopath = "";
}
else
$logopath = "logos/" .$realname .".png";
if (!file_exists($logopath))
print " \r\n";
else
print " \r\n";
print "
\r\n";
print "
\r\n";
print " {$title}\r\n";
print "
{$desc}
\r\n";
print "
\r\n";
print " - \r\n";
print "
{$mode}
\r\n";
print "
\r\n";
print " \r\n";
print "
Select stream mode\r\n";
// Print the right logo
print "
\r\n";
if ($type == 3)
{
if (file_exists("ram/stream-tb.png"))
$logopath = "ram/stream-tb.png";
else if (file_exists("ram/stream-tb.jpg"))
$logopath = "ram/stream-tb.jpg";
else
$logopath = "";
}
else
$logopath = "logos/" .$realname .".png";
if (!file_exists($logopath))
print " \r\n";
else
print " \r\n";
print "
\r\n";
// Check if running to display the start buttons
print "
\r\n";
print "
\r\n";
print " {$title}\r\n";
print "
{$desc}
\r\n";
print "
\r\n";
foreach ($quality as $qname => $qparams)
{
print "