public function Execute(Template $template, Session $session, $request) { if ($session['user'] instanceof Member && $session['user']['perms'] & ADMIN) { $css = new CSS(); if ($css->AddClass($request['name'], $request['properties'], $request['style_id'], $request['description'])) { header("Location: admin.php?act=css"); } } }