From 27bc0fe2182afafee830bda8b161f67282f631c8 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 30 Sep 2014 04:39:21 +0200 Subject: fixed bug, added download page, prettified 404 page and general design --- index.php | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'index.php') diff --git a/index.php b/index.php index 8b91155..8c94c91 100644 --- a/index.php +++ b/index.php @@ -42,7 +42,7 @@ $user = new jg($u); // echo " + .dl-horizontal dt{white-space: normal;}.btn-info{background-color:#3083D6;}.img-responsive{margin:0 auto;}@-moz-document url-prefix(){fieldset{display:table-cell;}}ul.nav li.dropdown:hover ul.dropdown-menu {display:block;}.video{max-width:720px;margin-right: auto;margin-left: auto;} Junge Gemeinde Adlershof @@ -83,13 +83,16 @@ require_once 'static/header.php'; case("account"): print_account(); break; + case("download"): + print_download(); + break; case("action"): require_once 'action.php'; break; case("404"): print_404(); break; - case("recover"). + case("recover"): print_recover(); break; default: @@ -105,7 +108,7 @@ require_once 'static/footer.php'; $html = ob_get_contents(); -if ( $_SERVER["REQUEST_METHOD"] == "GET" && $_SERVER["REDIRECT_STATUS"] == 200 && strpos($_SERVER["QUERY_STRING"], "account") === false ) { +if ( $_SERVER["REQUEST_METHOD"] == "GET" && $_SERVER["REDIRECT_STATUS"] == 200 && strpos($_SERVER["QUERY_STRING"], "account") === false && strpos($_SERVER["QUERY_STRING"], "logout") === false && strpos($_SERVER["QUERY_STRING"], "action") === false) { $c->setKey($token, $html, 3600); } ob_end_flush(); -- cgit v1.2.3