diff --git a/phpBB/admin/index.php b/phpBB/admin/index.php
index a35dd2a71f..764205166f 100644
--- a/phpBB/admin/index.php
+++ b/phpBB/admin/index.php
@@ -35,6 +35,19 @@ init_userprefs($userdata);
// End sessionmanagement
//
+//
+// Start Auth check
+//
+if($userdata['user_level'] != ADMIN)
+{
+ message_die(CRITICAL_MESSAGE, $lang['Not_Moderator'], $lang['Not_Authorised'], __LINE__, __FILE__);
+}
+//
+// End Auth check
+//
+
+
+
if ($pane == 'top')
{
$page_title = $lang['View_topic'] ." - $topic_title";
@@ -45,6 +58,8 @@ if ($pane == 'top')
}
elseif ($pane == 'left')
{
+ $pagetype = "noheader";
+ include($phpbb_root_path . 'includes/page_header.'.$phpEx);
print "