Example #1
0
 public function index()
 {
     permissionAdmin();
     $groups = $this->ion_auth->groups()->result_array();
     $this->data['groups'] = $groups;
     $this->data['full_name'] = array('name' => 'full_name', 'id' => 'full_name', 'type' => 'text');
     $this->data['username'] = array('name' => 'username', 'id' => 'username', 'type' => 'text');
     $this->data['email'] = array('name' => 'email', 'id' => 'email', 'type' => 'text');
     $this->data['phone'] = array('name' => 'phone', 'id' => 'phone', 'type' => 'text');
     $this->data['password'] = array('name' => 'password', 'id' => 'password', 'type' => 'password');
     $this->data['password_confirm'] = array('name' => 'password_confirm', 'id' => 'password_confirm', 'type' => 'password');
     $this->data['options_user'] = options_row('users', 'get_users', 'id', 'full_name', '-- Pilih Pengguna --');
     $this->_render_page('users/index', $this->data);
 }
Example #2
0
 function index()
 {
     permissionAdmin();
     redirect('pengaturan/satuan', 'refresh');
 }
Example #3
0
 public function index()
 {
     permissionAdmin();
     $this->_render_page('users/index', $this->data);
 }