function class_list($Selected=0){ global $Classes; $Return = ''; foreach ($Classes as $ID => $Class) { $Name = $Class['Name']; $Level = $Class['Level']; $Return.=''."\n"; } reset($Classes); return $Return; } if(!check_perms('admin_manage_forums')) { error(403); } show_header('Forum Management'); $DB->query('SELECT ID, Name FROM forums ORDER BY Sort'); $ForumArray = $DB->to_array(); // used for generating the 'parent' drop down list $DB->query('SELECT ID, CategoryID, Sort, Name, Description, MinClassRead, MinClassWrite, MinClassCreate FROM forums ORDER BY CategoryID, Sort ASC'); ?>
Category | Sort | Name | Description | Min class read | Min class write | Min class create | Submit |
Create forum | |||||||