diff options
author | root <root@mediaserver.Belkin> | 2010-02-17 23:14:37 +0100 |
---|---|---|
committer | root <root@mediaserver.Belkin> | 2010-02-17 23:14:37 +0100 |
commit | f27608f2695d51f563adb6ebc8c475c6a8df53ba (patch) | |
tree | c1a909a310b10f267221029e3ba50462dbd3a63f /error.php | |
download | istreamdev-f27608f2695d51f563adb6ebc8c475c6a8df53ba.tar.gz istreamdev-f27608f2695d51f563adb6ebc8c475c6a8df53ba.tar.bz2 |
0.3.5-dev
Diffstat (limited to 'error.php')
-rwxr-xr-x | error.php | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/error.php b/error.php new file mode 100755 index 0000000..79f4648 --- /dev/null +++ b/error.php @@ -0,0 +1,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> + + |