page = new MainTemplate($title); if (Registry::get('user')->isAdmin()) { $this->page->appendStylesheet(BASEURL . '/css/admin.css'); } } public function showContent() { $this->page->html_main(); } }