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
session->userdata('id'); $exam_id=base64_decode($_REQUEST['exam_id']); $id=base64_decode($_REQUEST['exam_id']); //session for username which is a mobile number $this->db->where('id',$this->session->userdata('id')); foreach($this->db->get('students')->result() as $row_student){ //get exam score $this->db->select_sum('mark'); $this->db->from('student_answers'); $this->db->where('exam_id',$id); $this->db->where('student_id',$student_id); foreach($this->db->get()->result() as $row_sum){ $sum=$row_sum->mark; $student_score=$row_sum->mark; } $i=0;$pass_mark=''; foreach($this->db->where('status','on')->where('id',$id)->get('exams')->result() as $rows){ $pass_mark = $rows->pass; if($pass_mark<=$student_score){ $remark='Pass'; }else{ $remark='Fail'; } $this->db->where('exam_id',$rows->id); $this->db->where('lesson_id',$rows->lesson_id); $this->db->where('student_id',$student_id); $count_submitted=$this->db->count_all_results('submitted_exams'); if($count_submitted>0){ // }else{ $data=array( 'exam_id'=>$rows->id, 'lesson_id'=>$rows->lesson_id, 'student_id'=>$student_id, 'pass_mark'=>$pass_mark, 'student_score'=>$student_score, 'remark'=>$remark, 'year'=>date('Y'), 'date'=>date('Y-m-d') ); $this->db->insert('submitted_exams',$data); } ?>
profile_photo==NULL){?> thumb
Candidate Name
session->userdata('full_name'))); ?>

Congratulations you passed the Exam

Thanks for attempting the exam, you can try again

Tanzania Women Chamber of Commerce (TWCC)

FINAL ASSESMENT EXAMINATION

title); ?>

TIME: time ?> HOURS


INSTRUNCTIONS

instructions; ?>


db->where('exam_id',$id)->get('exam_sections')->result() as $row_e){ ?>
title;?>
totalMarks.' Marks)';?>

instructions;?>

db->where('section_id',$row_e->id)->get('exam_questions')->result() as $row){ $i++; if($row->isList=='yes'){ ?>

question_number.'.';?> swali; ?>

no_of_list_questions;$l++){ //convert to roman $rom=numberToRomanRepresentation($l); //get exam from db when ststus isList $qn=$ans=$mark='';$qn_id='';$answer_mark='';$jibu='';$jibusahihi=''; $this->db->where('exam_id',$id); $this->db->where('section_id',$row_e->id); $this->db->where('question_id',$row->id); $this->db->where('question_number',$rom); $notes=$this->db->get('questions'); foreach($notes->result() as $notes_row){ $qn_id=$notes_row->id; $qn=$notes_row->question; $ans=$notes_row->answer; $mark=$notes_row->mark; } //get question answers $jibu=""; $this->db->where('exam_id',$id); $this->db->where('student_id',$student_id); $this->db->where('question_id',$qn_id); $notes=$this->db->get('student_answers'); foreach($notes->result() as $answer_row){ $jibu=$answer_row->student_answer; $answer_mark=$answer_row->mark; $jibusahihi=$answer_row->correct_answer; } ?>

( Marks)

0){ ?> () ()
db->where('exam_id',$id); $this->db->where('section_id',$row_e->id); $this->db->where('question_id',$row->id); $this->db->where('question_number',$row->question_number); $notes=$this->db->get('questions'); foreach($notes->result() as $notes_row){ $qn_id=$notes_row->id; $qn=$notes_row->question; $ans=$notes_row->answer; $mark=$notes_row->mark; } //get question answers $jibu=""; $this->db->where('exam_id',$id); $this->db->where('student_id',$student_id); $this->db->where('question_id',$qn_id); $notes=$this->db->get('student_answers'); foreach($notes->result() as $answer_row){ $jibu=$answer_row->student_answer; $jibusahihi=$answer_row->correct_answer; $answer_mark=$answer_row->mark; } ?>

question_number.'.';?> ( Marks)

0){ ?> () ()

Print Cartificate