diff --git a/registration-system/admin/index.php b/registration-system/admin/index.php index 50b8d0be82fc4d79310e65c2956d0dbba80ce7b3..a7344bc0fac855bd0e5621dd04f5670e51366f2a 100644 --- a/registration-system/admin/index.php +++ b/registration-system/admin/index.php @@ -46,7 +46,7 @@ END; //case "mail": //page_mail(); break; default: - page_404(); + page_404($page); } } else diff --git a/registration-system/admin/pages.php b/registration-system/admin/pages.php index c141aebc2e8dff875374a9cd6e1d7f7593d0ecb1..7c24d363103313decb074c916ddb42118e6549d3 100644 --- a/registration-system/admin/pages.php +++ b/registration-system/admin/pages.php @@ -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>▋</blink> + </div>'; + } ?> \ No newline at end of file diff --git a/registration-system/config.inc.php b/registration-system/config.inc.php index 6bac5b39c965914c230e81483ead4de16a83c37f..14e777ed911a1e2ef161d15492663abe38ce76e6 100644 --- a/registration-system/config.inc.php +++ b/registration-system/config.inc.php @@ -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 ); diff --git a/registration-system/view/admin_template.html b/registration-system/view/admin_template.html index e7126b12aa6fdc89aca318d8c85f258037965b20..4828569899b565a9d29efed4de5cb02fcfc3bd3b 100644 --- a/registration-system/view/admin_template.html +++ b/registration-system/view/admin_template.html @@ -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;