session->userdata("logged_in") == FALSE){ redirect("user/login", "location"); } } public function index() { // Otoritas // $id_menu = '1'; is_akses($id_menu); $menu["id_menu"] = $id_menu; $data['title'] = 'UNLASYS - Sistem Informasi Manajemen UNLA'; $this->load->view('v_header.php',$data); $this->load->view('v_menu.php',$menu); $this->load->view('v_beranda.php'); $this->load->view('v_footer.php'); } }