summaryrefslogtreecommitdiff
path: root/error.php
blob: 79f4648383c36c04c0272ca5ca1b48d3fee7b586 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<?php
include('includes/include.php');
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<meta content="yes" name="apple-mobile-web-app-capable" />
<meta content="text/html; charset=utf8" http-equiv="Content-Type" />
<meta content="minimum-scale=1.0, width=device-width, maximum-scale=0.6667, user-scalable=no" name="viewport" />
<link href="css/style.css" rel="stylesheet" type="text/css" />
<script src="javascript/functions.js" type="text/javascript"></script>
<script src="javascript/ajax.js" type="text/javascript"></script>
<title>iStreamdev</title>
<link href="images/startup.png" rel="apple-touch-startup-image" />
<link rel="apple-touch-icon" href="images/istreamdev.png"/>
<script type="text/javascript">
function updateOrientation() {
     switch(window.orientation) {
     case 0:
         orient = "portrait";
         break;
     case -90:
         orient = "landscape";
         break;
     case 90:
         orient = "landscape";
         break;
     case 180:
         orient = "portrait";
         break;
     }
     document.body.setAttribute("orient", orient);
     window.scrollTo(0, 1);

 }
function sendForm(formid) {
	var frm;
	frm = document.getElementById(formid);
	frm.submit();
}
</script>
</head>


<?php
        print "<body onorientationchange=\"updateOrientation();\" onload=\"updateOrientation();\">\r\n";
        print "<div id=\"topbar\" class=\"transparent\">\r\n";
        print "<div id=\"leftnav\">\r\n";
        print "<a href=\"javascript:sendForm('stopstream');\">Back</a></div>\r\n";
        print "<div id=\"title\">iStream</div>\r\n";
        print "</div>\r\n";
        print "<div id=\"content\">\r\n";
        print " <span class=\"graytitle\">Stream error</span>\r\n";
        print " <ul class=\"pageitem\">\r\n";
        print " Streaming not started. Something went wrong. Perhaps VDR couldn't decode the channel.";
        print "</div>\r\n";
        print " <form name=\"stopstream\" id=\"stopstream\" method=\"post\" action=\"index.php\"><input name =\"action\" type=\"hidden\" id=\"action\" value=\"stopstream\" /><input name=\"cat\" type=\"hidden\" id=\"cat\" value=\"{$_SESSION['currentcat']}\" /></form>\r\n";

?>

<div id="footer">
	
	iStreamdev version: <? print $isdversion; ?>
</div>

</body>

</html>