return false; } function isCoordinator($student, $session) { if ($session['coordinator'] == "1" && $session['year_pass'] == $student['year_pass']) { return true; } else { return false; } } $output = array(); //print_r($students_search); foreach ($students_search as $student) { $enc_usr = $this->encrypt->encode($student["username"] . "@#\$"); //print_r($marks_search); $cgpa = get_cgpa($student["regno"], $marks_search); $percent = get_percent($student["regno"], $marks_search); $arrier = get_arrier($student["regno"], $marks_search); //echo "perc:".$percent; if (!($percent >= $this->input->post('percent_min') && $percent <= $this->input->post('percent_max'))) { // echo "here"; continue; } if (!($cgpa >= $this->input->post('cgpa_min') && $cgpa <= $this->input->post('cgpa_max'))) { // echo "here"; continue; } if (!($arrier >= $this->input->post('arrier_min') && $arrier <= $this->input->post('arrier_max'))) { // echo "here1"; continue; }
"> <div class="row about"> <div class="col-md-12"> <div id="container_id" class="home_steps well text-justify noborder"> <h2>Marks</h2> <br> <br> <?php if (isset($marks_details[0])) { ?> <h4 class="text-center">Percentage : <?php echo get_percent($marks_details[0]['regno'], $marks_details); ?> %</h4> <h4 class="text-center">CGPA : <?php echo get_cgpa($marks_details[0]['regno'], $marks_details); ?> </h4> <h4 class="text-center">Arriers : <?php echo get_arriers($marks_details[0]['regno'], $marks_details); ?> </h4> <br> <br> <?php } ?> <?php $this->load->helper('array'); $this->load->helper('form'); $this->load->helper('url');