diff options
Diffstat (limited to 'phpBB/viewforum.php')
| -rw-r--r-- | phpBB/viewforum.php | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/phpBB/viewforum.php b/phpBB/viewforum.php index efdee4569e..094e5ee61f 100644 --- a/phpBB/viewforum.php +++ b/phpBB/viewforum.php @@ -43,10 +43,6 @@ if(!$result = $db->sql_query($sql)) error_die($db, QUERY_ERROR); } -$pagetype = "viewforum"; -$page_title = "View Forum - $forum_name"; -include('page_header.'.$phpEx); - // // Add checking for private forums here!! // @@ -71,6 +67,9 @@ for($x = 0; $x < $db->sql_numrows($result); $x++) $forum_moderators .= ", "; $forum_moderators .= "<a href=\"profile.$phpEx?mode=viewprofile&user_id=".$forum_row[$x]["user_id"]."\">".$forum_row[$x]["username"]."</a>"; } +$pagetype = "viewforum"; +$page_title = "View Forum - $forum_name"; +include('page_header.'.$phpEx); $template->set_block("body", "topicrow", "topics"); |
