Skip to content
Snippets Groups Projects
Commit bbb39daa authored by Tim Repke's avatar Tim Repke
Browse files

useless feature: 404 page now looks like terminal

parent 4b777aa6
No related branches found
No related tags found
No related merge requests found
......@@ -46,7 +46,7 @@ END;
//case "mail":
//page_mail(); break;
default:
page_404();
page_404($page);
}
}
else
......
......@@ -39,10 +39,16 @@ END;
}
function page_404()
function page_404($pag)
{
global $text;
$text .= "404 Seite nicht gefunden...";
$text .='
<div style="background-color:black; color:antiquewhite; font-family: \'Courier New\', Courier, monospace;height: 100%; width: 100%;position:fixed; top:0; padding-top:40px;">
$ get-page '.$pag.'<br />
404 - page not found ('.$pag.')<br />
$ <blink>&#9611;</blink>
</div>';
}
?>
\ No newline at end of file
......@@ -41,7 +41,7 @@ $config_reisearten = array(
$config_admins = array(
// username => password
"george" => "peter",
"tim" => "meter",
"tim" => '{SHA-256}8013a101f26fd8dcc8c40d0eb1dcb513$c3a97d44e67564ed79a60fa0de6ea4193bb18932a8d08b5e8d664bd14b32a4f5', // broetchen
"manu" => '{SHA-256}12c9b021c42741545f9f01e2afd67aa2$7112be28c0c11f987de4401798a2ba041e518bb3f22bcb8cf4f3bf3f590b65b9' // mepmepmep
);
......@@ -6,10 +6,16 @@
<meta charset="UTF-8" />
{headers}
<style type="text/css">
body {
html,body {
font-family:Verdana,Helvetica,sans-serif;
font-size:12pt;
padding: 0;
margin:0;
height:100%
}
body{
margin-top: 40px;
height:100%;
}
a:link, a:visited {
background-color:inherit;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment