%
Login_model->language('Muda wa Moduli','Module Duration'); ?>
db->where('type','application');
$this->db->where('topic_id',$topicId);
$this->db->order_by('arrange','asc');
$get=$this->db->get('notes');
foreach($get->result() as $row){
$i++;
$pr=0;
$c = $this->db->where('notes_id',$row->id)->where('student_id',$this->session->userdata('id'))->get('notes_read');
foreach($c->result() as $read){
$pr=$read->progress*100;
$total=$read->progress+$total;
}
$p=($total/$i)*100;
if($row->type == 'application'){
?>
% Login_model->language('kusoma','read'); ?>