public function index() { $model = new \SKS\MODEL\UserModel(); $this->view->title = 'Users'; $this->view->userList = $model->userList(); $this->view->render('user/manage_users'); }
public function index() { \SKS\LIB\Session::checkAuthorPermission(); $model = new \SKS\MODEL\UserModel(); $this->view->title = 'Comments'; $this->view->userList = $model->userList(); $this->view->render('comment/manage_comments'); }