customlib->getSchoolCurrencyFormat(); ?>

lang->line('transport'); ?>

load->view('reports/_online_examinations');?>

lang->line('select_criteria'); ?>

customlib->getCSRF(); ?>
session->flashdata('msg')) {?> session->flashdata('msg') ?>

lang->line('exam') . " " . $this->lang->line('rank') . " " . $this->lang->line('report'); ?>

is_rank_generated) { ?>
lang->line('exam_rank_not_generated'); ?>
lang->line('exam') . " " . $this->lang->line('rank') . " " . $this->lang->line('report'); $this->customlib->get_postmessage(); ?>
father_name) { ?> is_neg_marking; foreach ($student_data as $student_key => $student) { //==================== $correct_ans = 0; $wrong_ans = 0; $not_attempted = 0; $total_question = 0; $exam_total_scored = 0; $exam_total_marks = 0; $exam_total_neg_marks = 0; $exam_total_descriptive = 0; if (!empty($student['questions_results'])) { $total_question = count($student['questions_results']); foreach ($student['questions_results'] as $result_key => $question_value) { $total_marks_json = getMarks($question_value); $total_marks_array = (json_decode($total_marks_json)); $exam_total_marks = $exam_total_marks + $total_marks_array->get_marks; $exam_total_scored = $exam_total_scored + $total_marks_array->scr_marks; if ($question_value->question_type == "descriptive") { $exam_total_descriptive++; } if ($question_value->select_option != null) { if ($question_value->question_type == "singlechoice" || $question_value->question_type == "true_false") { if ($question_value->select_option == $question_value->correct) { $correct_ans++; } else { $exam_total_neg_marks = $exam_total_neg_marks + $question_value->neg_marks; $wrong_ans++; } } elseif ($question_value->question_type == "multichoice") { if (array_equal(json_decode($question_value->correct), json_decode($question_value->select_option))) { $correct_ans++; } else { $exam_total_neg_marks = $exam_total_neg_marks + $question_value->neg_marks; $wrong_ans++; } } } else { $not_attempted++; $exam_total_neg_marks = $exam_total_neg_marks + $question_value->neg_marks; } } if (!$display_negative_marks) { $exam_total_neg_marks = 0; } } //===================== ?> father_name) { ?>
lang->line('rank') ?> lang->line('student') ?> lang->line('admission_no') ?> lang->line('class'); ?> lang->line('father_name'); ?> lang->line('exam_submitted')?> lang->line('total') . " " . $this->lang->line('question') ?> lang->line('descriptive'); ?> lang->line('correct_answer') ?> lang->line('wrong_answer') ?> lang->line('not') . " " . $this->lang->line('attempted'); ?> lang->line('total_exam_marks') ?> lang->line('total_negative_marks') ?> lang->line('total_scored_marks') ?> lang->line('score'); ?> (%)
lang->line('no_record_found'); ?>
customlib->getFullName($student['firstname'], $student['middlename'], $student['lastname'], $sch_setting->middlename, $sch_setting->lastname); ?>
select_option != null) { if ($question->question_type == "singlechoice" || $question->question_type == "true_false") { if ($question->correct == $question->select_option) { return json_encode(array('get_marks' => $question->marks, 'scr_marks' => $question->marks)); } } elseif ($question->question_type == "descriptive") { return json_encode(array('get_marks' => $question->marks, 'scr_marks' => $question->score_marks)); } elseif ($question->question_type == "multichoice") { $cr_ans = json_decode($question->correct); $sel_ans = json_decode($question->select_option); if (array_equal($cr_ans, $sel_ans)) { return json_encode(array('get_marks' => $question->marks, 'scr_marks' => $question->marks)); } } } return json_encode(array('get_marks' => $question->marks, 'scr_marks' => 0)); } ?>