Beispiel #1
0
 public function indicatorDeletepart2($profID, $ref_id)
 {
     if (!$this->session->userdata('user_id')) {
         redirect('/users/login', 'location');
     }
     $indicator_model = new indicator_model();
     $lguTypes = $indicator_model->getLGUtype($profID);
     $updateResult = $indicator_model->deleteIndicatorpart2($profID, $ref_id);
     if ($updateResult) {
         $form_message = 'Add Success!';
         $this->load->view('header');
         $this->load->view('nav');
         $this->load->view('sidebar');
         $this->load->view('indicator_viewpart2');
         $this->load->view('footer');
         $this->redirectIndexAdd($profID, $ref_id);
     }
 }