aauth = new Aauth(); helper('form'); helper('aauth'); } /** * Index * * @return void */ public function index() { $data = $this->aauth->listUsersPaginated(); $data['cssFiles'] = [ '/assets/css/admin/users/index.css' ]; echo view('Templates/HeaderAdmin', $data); echo view('Admin/Users/Home', $data); echo view('Templates/FooterAdmin'); } /** * New * * @return void */ public function new() { $data = $this->aauth->listUsersPaginated(); echo view('Templates/HeaderAdmin'); echo view('Admin/Users/New', $data); echo view('Templates/FooterAdmin'); } }