diff options
Diffstat (limited to 'www-ssl')
-rw-r--r-- | www-ssl/admin/index.php | 21 | ||||
-rw-r--r-- | www-ssl/index.php | 4 |
2 files changed, 4 insertions, 21 deletions
diff --git a/www-ssl/admin/index.php b/www-ssl/admin/index.php deleted file mode 100644 index 4e761078..00000000 --- a/www-ssl/admin/index.php +++ /dev/null @@ -1,21 +0,0 @@ -<?php -require_once ('../bootstrap.php'); - -$title = "Erzengel"; -$header = "Index"; -include ("includes/header.php"); -include ("includes/funktion_db_list.php"); - -echo "Hallo Erzengel " . $_SESSION['Nick'] . ",<br />\n"; -?> - -du bist jetzt im Erzengel-Bereich. Hier kannst du die Engel-Verwaltung vornehmen.<br /><br /> - -Bitte melde dich <a href="../logout.php">hier</a> nach getaner Arbeit immer ab, damit kein anderer hier Änderungen vornehmen kann. - -<?php - - -include ("includes/footer.php"); -?> - diff --git a/www-ssl/index.php b/www-ssl/index.php index 9524459a..c62b03e0 100644 --- a/www-ssl/index.php +++ b/www-ssl/index.php @@ -66,6 +66,10 @@ if (in_array($p, $privileges)) { elseif ($p == "admin_questions") { $content = admin_questions(); } + elseif ($p == "admin_news") { + require_once ('includes/pages/admin_news.php'); + $content = admin_news(); + } elseif ($p == "admin_angel_types") { require_once ('includes/pages/admin_angel_types.php'); $content = admin_angel_types(); |