diff options
author | Philip Häusler <msquare@notrademark.de> | 2011-06-03 05:49:56 +0200 |
---|---|---|
committer | Philip Häusler <msquare@notrademark.de> | 2011-06-03 05:49:56 +0200 |
commit | 9941d2a7a799ad45b8e54c528c2161f880ab159e (patch) | |
tree | 2cd2b5ee4adaeb7ed6c1b6fec90d0012216e84d4 /www-ssl | |
parent | 9325d7a78adac2aeee96324fa23528f8110d198f (diff) |
admin news
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(); |