blob: f930068d2b94e21fb05132c082beebe78b426d53 (
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
|
<?php
switch($_GET["e"]){
case("401"):
$title="401";
$message="Restricted area. Access denied.";
break;
case("403"):
$title="403";
$message="I could do that. I choose not to...";
break;
case("404"):
$title="404";
$message="These aren't the droids you are looking for.";
break;
case("500"):
$title="500";
$message="Upps, there went something wrong. Don't worry, that's not your fault. Just refresh this site and it should work again.";
header("Refresh: 2;");
break;
case("502"):
$title="502";
$message="Bad Gateway. It's not my fault, really.'";
break;
case("504"):
$title="504";
$message="Sorry, I don't have the whole day time. Too impatient.";
break;
}
?>
<!DOCTYPE html>
<html>
<head>
<title><?php echo $title; ?> error code></title>
<meta http-equiv='Content-type' content='text/html; charset=utf-8' />
<link rel='shortcut icon' href='/favicon.ico' type='image/x-icon' />
<link rel='stylesheet' type='text/css' href='style.css'/>
</head>
<body vlnk='#5b5b5b' vlink='#000000' link='#000000' alink='#9a9696'>
<center>
<?php
include("header.php");
include("piwik.php");
echo "<h1>".$title." error!</h1>";
echo "<p>".$message."</p>";
?>
<a href="">Try again<a>
</body>
|