Ejemplo n.º 1
0
 public function index()
 {
     $users = $this->user->get_list();
     if ($this->session->flashdata('msg')) {
         show_notify($this->session->flashdata('msg'));
     }
     $this->render('users/list', compact('users'));
 }
Ejemplo n.º 2
0
 public function index()
 {
     $groups = $this->group->get_all();
     if ($this->session->flashdata('msg')) {
         show_notify($this->session->flashdata('msg'));
     }
     $this->render('groups/list', compact('groups'));
 }
Ejemplo n.º 3
0
 public function index()
 {
     if ($_POST && $this->form_validation->run()) {
         show_notify('Senha alterada com sucesso!');
         echo "<meta http-equiv=refresh content='0;url=login'>";
     }
     $this->render('users/password');
 }