Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 88

Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 215

Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 216

Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 217

Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 218

Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 219

Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 220
db->where('id', $id)->get('ranksType')->result() as $row){ //list of requirements // 1.Course, 2.Exam, 3.Duration, 4.Despline $thisRankName= $row->name; $thisRankId = $row->id; $course = $this->UserModel->getNumberOfCourse($thisRankId); $exam = $this->UserModel->getNumberOfExam($thisRankId); $duration = $row->duration; $discipline = 0; //find rank for next level $nextRankLevel = ($row->level+1); $nextRankId=""; foreach($this->db->where('level', $nextRankLevel)->get('ranksType')->result() as $rowNext){ $nextRankId = $rowNext->id; $nextRankName = $rowNext->name; $nextRankLevel = $rowNext->level; } ?>

Please make sure that Employees have provided correct information !

employees not qualified to be promoted from to Back

List of employee do not meet requirements for Promotion and their reasons of not been qualified Print

session->userdata('role') == 'admin'){ ?> UserModel->getPersonalDetails(); foreach($get->result() as $allOfficer){ //get course of the current rank //find current rank for user and check if it match with this rank $currentRank =0; $findRank = $this->db->order_by('rankLevel','desc')->where('userId',$allOfficer->id)->limit(1)->get('officerRanks'); foreach($findRank->result() as $currentRankRow){ $currentRank = $currentRankRow->rankId; } //check if is rank match; $thisLevel = $thisRankId; $currentRank = $currentRank; if($currentRank == $thisLevel){ //check if course attempted match $getCourse = $this->UserModel->getCourse($allOfficer->id,$thisRankId); $getExam = $this->UserModel->getExam($allOfficer->id,$thisRankId); $courseExamStatus = explode('-',$this->UserModel->getCourseExamFailed($allOfficer->id,$thisRankId)); $getDuration = explode('|',$this->UserModel->getDuration($allOfficer->id,$thisRankId)); $officerRankDuration = $getDuration[0]; $timePassed = $getDuration[1]; $getDiscipline = $this->UserModel->getDescipline($allOfficer->id); //Get course and exam failed $courseStatus = $courseExamStatus[0]; $examStatus = $courseExamStatus[1]; //echo 'UserId '.$allOfficer->id.' User level '.$currentRank.' Rank Level '.$thisLevel.'
'; // echo 'Course Required '.$course.'='.$getCourse.' duration '.$duration.' = '.$officerRankDuration.' Exam Required' // .$exam.' = '.$getExam.' decipline '.$getDiscipline; if($course==$getCourse && $exam == $getExam && $officerRankDuration>=$duration && $getDiscipline==0){ //Promote $Qualified }else{ // echo 'Promote'; $qualified++ $i++; if($allOfficer->photo == NULL){ $photo = "mtu.jpg"; }else{ $photo = $allOfficer->photo; } ?> session->userdata('role') == 'admin'){ ?>
S/No Mil No. Name Gender Unit Course Exam Duration Discipline Action
uniqueNumber;?> firstName.' '.$allOfficer->middleName.' '.$allOfficer->lastName;?> gender);?> Login_model->getUnit($allOfficer->unit);?> =$duration){ echo 'Time Ready'; }else{ echo 'Time not yet '; } ?> No warning form'; }else{ echo 'Warning form filled '; } ?> Promote Anyway