public function index() { $this->load->model('profile_model'); $this->load->model('dashboard_model'); $this->output->enable_profiler(false); $profile = new profile_model(); $data = array(); $data['profile'] = $profile->_getProfileUser(); $data['lastlogs'] = $profile->_getLastLogs(); $data['menu'] = 'report'; //print_r($data['lastlogs']); exit; $this->load->view('report_view', $data); }