public function index()
 {
     $data['can_save'] = $this->perm->can_create;
     save_logs($this->menu_id, 'View', $this->session->userdata("id"), ' View ASEAN Declaration ');
     $rs = new Contents();
     $data['rs'] = $rs->where("slug", "declaration")->get(1);
     $data['menu_id'] = $this->menu_id;
     $this->template->build("contents/form", $data);
 }
Ejemplo n.º 2
0
 public function index()
 {
     $rs = new Contents();
     $data['rs'] = $rs->where("slug", "footage")->get(1);
     $data['menu_id'] = $this->menu_id;
     save_logs($this->menu_id, 'View', $data['rs']->id, ' View Footage Contact ');
     $data['can_save'] = $this->perm->can_create;
     $this->template->build("contents/form", $data);
 }