summaryrefslogtreecommitdiff
path: root/error.php
blob: 9fecf2751da1d0385ed527a792ded479924676a8 (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
<?php header($_SERVER['SERVER_PROTOCOL'] . " 404 Not Found");?>
<?php ob_start(function($b){return preg_replace(['/\>[^\S ]+/s','/[^\S ]+\</s','/(\s)+/s'],['>','<','\\1'],$b);}); ?>
<!doctype html>

<html>
<head>
	<meta charset="utf-8">
	<title>Error - Video Streaming Proxy</title>
	<link rel='shortcut icon' href='/favicon.ico' type='image/x-icon'>
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
	<style><?php echo file_get_contents('./css/style.min.css'); ?></style>
	<?php require_once("static/noscript.html"); ?>
</head>
<?php ob_end_flush(); ?>
<?php ob_start(function($b){return preg_replace(['/\>[^\S ]+/s','/[^\S ]+\</s','/(\s)+/s'],['>','<','\\1'],$b);}); ?>
<body>
<?php require_once("static/header.php"); ?>
	<div class="container">
		<div class="text-center">
			<div class="row">
				<h1><?php echo $error; ?></h1>
				<br>
				<p style="font-size: 1.3em;"><?php echo $reason; ?></p>
			</div>
		</div>	
	</div>
<?php require_once("static/foot.php"); ?>
<?php ob_end_flush(); ?>