Ignore:
Timestamp:
Oct 30, 2014 6:27:06 PM (11 years ago)
Author:
namnd
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pro-violet-viettel/sourcecode/application/modules/admin/controllers/home.php

    r349 r357  
    5353                        $this->load->model('admin_model');
    5454                        $data = $this->admin_model->get_list();
    55                         //var_dump($data);
    5655                        $this->load->view('admin_acc', array('data'=>$data));
    5756                }else
     
    119118                {
    120119                        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");
    121132                }
    122                
    123133        }
    124134       
Note: See TracChangeset for help on using the changeset viewer.