Exemplo n.º 1
0
 public function update_view($profID, $refID)
 {
     $updates_model = new updates_model();
     $indicator_model = new indicator_model();
     $lguType = $indicator_model->getLGUtype($profID);
     $this->load->view('header');
     $this->load->view('nav');
     $this->load->view('sidebar');
     $this->load->view('updates_view', array('getDetail' => $updates_model->getDetails($profID, $refID), 'getMotherIndicator' => $updates_model->getMotherIndicator(), 'getIndicatorList' => $updates_model->getIndicatorList(), 'getTotalIndicatorsPart1' => $indicator_model->getTotalIndicatorsPart1($lguType->lgu_type_id), 'getTotalIndicatorsPart2' => $indicator_model->getTotalIndicatorsPart2($lguType->lgu_type_id), 'getTotalIndicatorsPart3' => $indicator_model->getTotalIndicatorsPart3($lguType->lgu_type_id), 'getTotalIndicatorsPart4' => $indicator_model->getTotalIndicatorsPart4($lguType->lgu_type_id), 'getTotalScoreIndicatorsPart1' => $indicator_model->getTotalScoreIndicatorsPart1($lguType->lgu_type_id, $profID, $refID), 'getTotalScoreIndicatorsPart2' => $indicator_model->getTotalScoreIndicatorsPart2($lguType->lgu_type_id, $profID, $refID), 'getTotalScoreIndicatorsPart3' => $indicator_model->getTotalScoreIndicatorsPart3($lguType->lgu_type_id, $profID, $refID), 'getTotalScoreIndicatorsPart4' => $indicator_model->getTotalScoreIndicatorsPart4($lguType->lgu_type_id, $profID, $refID), 'getScorePerProf' => $indicator_model->getScorePerProf($profID, $refID), 'profID' => $profID, 'refID' => $refID));
     $this->load->view('footer');
 }
Exemplo n.º 2
0
 public function indicatorViewAll($profID, $ref_id)
 {
     if (!$this->session->userdata('user_id')) {
         redirect('/users/login', 'location');
     }
     $indicator_model = new indicator_model();
     $PSBRider_Model = new PSBRider_Model();
     $lguTypes = $indicator_model->getLGUtype($profID);
     $this->load->view('header');
     $this->load->view('nav');
     $this->load->view('sidebar');
     $this->load->view('indicator_viewAll', array('firstMotherIndicator' => $indicator_model->getFirstMotherIndicator(), 'firstIndicators' => $indicator_model->getFirstIndicators(), 'getFirstCategory' => $indicator_model->getCategoriesFromFI($lguTypes->lgu_type_id), 'getSecondCategory' => $indicator_model->getSecondCategoriesFromFI($lguTypes->lgu_type_id), 'secondMotherIndicator' => $indicator_model->getSecondMotherIndicator(), 'secondIndicators' => $indicator_model->getSecondIndicators(), 'getThirdCategory' => $indicator_model->getCategoriesFromSI($lguTypes->lgu_type_id), 'getFourthCategory' => $indicator_model->getSecondCategoriesFromSI($lguTypes->lgu_type_id), 'getSecondCategoryLower' => $indicator_model->getSecondCategoriesLowerFromSI($lguTypes->lgu_type_id), 'getSecondCategoryLowerLower' => $indicator_model->getSecondCategoriesLowerLowerFromSI($lguTypes->lgu_type_id), 'thirdMotherIndicator' => $indicator_model->getThirdMotherIndicator(), 'thirdIndicators' => $indicator_model->getThirdIndicators(), 'getFifthCategory' => $indicator_model->getCategoriesFromTI($lguTypes->lgu_type_id), 'getSixCategory' => $indicator_model->getSecondCategoriesFromTI($lguTypes->lgu_type_id), 'fourthMotherIndicator' => $indicator_model->getFourthMotherIndicator(), 'fourthIndicators' => $indicator_model->getFourthIndicators(), 'fourthCategory' => $indicator_model->getCategoriesFromFourthI(), 'getLSWDO' => $indicator_model->getLSWDOdata($profID, $ref_id), 'checkPart1' => $indicator_model->getCheckPart1($profID, $ref_id), 'checkPart2' => $indicator_model->getCheckPart2($profID, $ref_id), 'checkPart3' => $indicator_model->getCheckPart3($profID, $ref_id), 'checkPart4' => $indicator_model->getCheckPart4($profID, $ref_id), 'scoreProf' => $indicator_model->getBaselineScorePerProf($profID, $ref_id), 'scoreProfSilver' => $indicator_model->getBaselineScorePerProfSilver($profID, $ref_id), 'scoreProfGold' => $indicator_model->getBaselineScorePerProfGold($profID, $ref_id), 'getTotalIndicatorsPart1' => $indicator_model->getTotalIndicatorsPart1($lguTypes->lgu_type_id), 'getTotalIndicatorsPart2' => $indicator_model->getTotalIndicatorsPart2($lguTypes->lgu_type_id), 'getTotalIndicatorsPart3' => $indicator_model->getTotalIndicatorsPart3($lguTypes->lgu_type_id), 'getTotalIndicatorsPart4' => $indicator_model->getTotalIndicatorsPart4($lguTypes->lgu_type_id), 'getBaselineTotalScoreIndicatorsPart1' => $indicator_model->getBaselineTotalScoreIndicatorsPart1($lguTypes->lgu_type_id, $profID, $ref_id), 'getBaselineTotalScoreIndicatorsPart2' => $indicator_model->getBaselineTotalScoreIndicatorsPart2($lguTypes->lgu_type_id, $profID, $ref_id), 'getBaselineTotalScoreIndicatorsPart3' => $indicator_model->getBaselineTotalScoreIndicatorsPart3($lguTypes->lgu_type_id, $profID, $ref_id), 'getBaselineTotalScoreIndicatorsPart4' => $indicator_model->getBaselineTotalScoreIndicatorsPart4($lguTypes->lgu_type_id, $profID, $ref_id), 'profileID' => $profID, 'refID' => $ref_id, 'PSBRider_Model' => $PSBRider_Model));
     $this->load->view('footer');
 }