diff options
Diffstat (limited to 'index.php')
| -rw-r--r-- | index.php | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -42,7 +42,7 @@ $user = new jg($u); //<link rel ="stylesheet" href="/static/style.css"> echo "<style>" . file_get_contents('static/style.min.css');?> - .dl-horizontal dt{white-space: normal;} .btn-info{background-color:#3083D6;} .img-responsive{margin: 0 auto;} @-moz-document url-prefix() { fieldset { display: table-cell; } }</style> + .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;}</style> <noscript><style>.navbar{margin-bottom:0;}</style></noscript> <title>Junge Gemeinde Adlershof</title> <link rel='shortcut icon' href='/favicon.ico' type='image/x-icon'> @@ -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(); |
