diff options
Diffstat (limited to 'err/500.html')
-rw-r--r-- | err/500.html | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/err/500.html b/err/500.html new file mode 100644 index 0000000..a00b0ca --- /dev/null +++ b/err/500.html @@ -0,0 +1,42 @@ +<!DOCTYPE HTML> +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> +<meta name="viewport" content="width=device-width"> +<title>Chrisoft::Error!</title> +<link rel="icon" href="/favicon.png"> +<link rel="stylesheet" type="text/css" href="/common.css"> +<script type="text/javascript"> +var link=document.createElement("link"); +var thm=document.cookie.replace(new RegExp("(?:(?:^|.*;\\s*)thm\\s*\\=\\s*([^;]*).*$)|^.*$"),"$1"); +switch(thm) +{ + case "day": + link.href="/colors-day.css"; + break; + case "night": + link.href="/colors-night.css"; + break; + case "auto": + default: + var c=new Date(); + if(c.getHours()>=6&&c.getHours()<18) + link.href = "/colors-day.css"; + else + link.href = "/colors-night.css"; + break; +} +link.type="text/css"; +link.rel="stylesheet"; +document.getElementsByTagName("head")[0].appendChild(link); +</script> +</head> +<body class="TText"> +<h1>500!!</h1> +<h2>Internal Server Error</h2> +<p>Maybe you've just crashed my shitty CGI program. +Either report it, or just start abusing it!</p> +<p>--chris</p> +<hr> +<em>Shitty Apache httpd on my shitty sever</em> +</body> |