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
load->view('testing_pdf');
}
public function read()
{
$this->load->view('includes/students_header');
$this->load->view('students/pdfRead');
$this->load->view('includes/students_footer');
}
public function read_video()
{
$this->load->view('includes/students_header');
$this->load->view('students/read_video');
$this->load->view('includes/students_footer');
}
public function progress()
{
if($_POST){
$data = array(
'progress'=>$this->input->post('data'),
'notes_id'=>$this->input->post('notes'),
'lesson_id'=>$this->input->post('lesson_id'),
'student_id'=>$this->session->userdata('id'),
'date'=>date('Y-m-d'),
);
if($this->input->post('data') <= 1){
$c = $this->db->where('notes_id',$this->input->post('notes'))->where('student_id',$this->session->userdata('id'))->get('notes_read')->num_rows();
if($c>0){
foreach($this->db->where('notes_id',$this->input->post('notes'))->where('student_id',$this->session->userdata('id'))->get('notes_read')->result() as $rowData){
$pr = $rowData->progress;
}
if($this->input->post('data')>$pr){
$this->db->where('notes_id',$this->input->post('notes'))->where('student_id',$this->session->userdata('id'))->update('notes_read',$data);
}
}else{
$this->db->insert('notes_read',$data);
}
}
}
}
}