Changeset 357 for pro-violet-viettel/sourcecode/application
- Timestamp:
- Oct 30, 2014 6:27:06 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pro-violet-viettel/sourcecode/application/modules/admin/controllers/home.php
r349 r357 53 53 $this->load->model('admin_model'); 54 54 $data = $this->admin_model->get_list(); 55 //var_dump($data);56 55 $this->load->view('admin_acc', array('data'=>$data)); 57 56 }else … … 119 118 { 120 119 redirect("/admin/home"); 120 } 121 } 122 123 public function user_profile() 124 { 125 $admin_info = $this->session->userdata('adminInfo'); 126 if($admin_info) 127 { 128 $this->load->view('user_profile'); 129 }else 130 { 131 redirect("/admin/home"); 121 132 } 122 123 133 } 124 134
Note: See TracChangeset
for help on using the changeset viewer.