<?php
$sid=$this->uri->segment("3");
$academic_session=$this->session->userdata("acedemic_session");
$get_student_data=$this->ExamManagementModel->get_student_combined_data($sid,$academic_session,$table);
if($get_student_data){
    foreach($get_student_data as $student){
        $class=$student['class'];
        $section=$student['section'];
        $subjects_table="exam_subject_master_".$academic_session;
        $get_class_subjects=$this->ExamManagementModel->get_class_active_subjects($class,$subjects_table);
        
?>
<div class="container-fluid bg-white">
    <div class="row">
        <div class="col-sm-12 pt-3 pb-3">
            <ul class="breadcrumb">
                <li class="breadcrumb-item">
                    <a href="<?php echo base_url(); ?>Welcome">Home</a>
                </li>
                <li class="breadcrumb-item"><a href="<?php echo base_url(); ?>ExamManagement">Examination</a></li>
                <li class="breadcrumb-item"><a href="<?php echo base_url(); ?>ExamManagement/class_structure">All Courses</a></li>
                <li class="breadcrumb-item"><a href="<?php echo base_url(); ?>ExamManagement/class_section_students/<?php echo $class."/".$section; ?>"><?php echo $class."-".$section; ?></a></li>
            </ul>
            
            <div class="table-responsive">
                <table class="table table-bordered">
                    <thead>
                        <tr>
                            <th>Sl.No.</th>
                            <th>Subject</th>
                            <th>Status</th>
                            <th>Action</th>
                        </tr>
                    </thead>
                    <tbody>
                        <?php 
                        
                        ?>
                        <tr>
                            <td></td>
                            <td></td>
                            <td></td>
                            <td></td>
                        </tr>
                    </tbody>
                </table>
            </div>
        </div>
    </div>
</div>
<?php
    }
}
?>