/** * Construct */ public function __construct() { $this->forum = new \Kofradia\Forum\Category(getval("f")); $this->forum->require_access(); $this->forum->add_title(); ess::$b->page->add_title("Ny forumtråd"); $this->show(); $this->forum->load_page(); }
/** * Construct */ public function __construct() { $this->forum = new \Kofradia\Forum\Category(getval("id")); $this->forum->require_access(); $this->forum->add_title(); // slette forumtråder? if (isset($_POST['slett_emner']) && $this->forum->fmod) { $this->delete_topics(); } // vis forumet $this->show_forum(); $this->forum->load_page(); }