<?php
$sid=$this->uri->segment('3');
?>

<style>
    body{background:#EAEDED;}
</style>
<div class="container-fluid user-dashboard mt-3 mb-3">
    <div class="row">
        <div class="col-sm-12 bg-white 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(); ?>Fee/all_students">All Student</a></li> 
                <li class="breadcrumb-item">Student Profile</li> 
            </ul> 


            <?php
            $academic_session=$this->session->userdata("acedemic_session");
            $table="student";
            $data_student = $this->NewFeeModel->get_student_data_combined($sid,$academic_session);
            if($data_student){
                $count = 1;
                foreach($data_student as $records){
            ?>
                <div class="table-responsive">
                    <table class="table table-bordered table-striped">
                    <!--<thead>-->
                    <!--<tr><th></th></tr>    -->
                    <!--</thead>    -->
                    <tbody>
                        <tr>
                            <td>Scholar No.</td><td><?php echo $records['sch_no'];?></td>
                        </tr>
                        <tr>
                            <td>Student Name</td><td><?php echo $records['student_name'];?></td>
                        </tr>
                        <tr>
                            <td>Father's Name</td><td><?php echo $records['father_name'];?></td>
                        </tr>
                        <tr></tr><td>Class : <?php echo $records['c_class'];?></td><td>Section : <?php echo $records['c_section'];?></td></tr>
                        <tr><td>D.O.B. </td><td><?php echo $records['dob'];?></td></tr>
                        <tr><td>Contact No.</td><td><?php echo $records['contact_no'];?></td></tr>
                        <tr><td>Alternate No.</td><td><?php echo $records['alternate_no'];?></td></tr>
                        <tr><td>Address :</td><td><?php echo $records['address'];?></td></tr>
                        <tr><td>Admission Date : </td><td><?php echo $records['admission_date'];?></td></tr>

                    </tbody>
                </table>    
            </div>
            <!--<div class="table-responsive">-->
                <!--<table class="table table-responsive table-bordered">-->
                <!--<tr><th><ul><li>Student Documents</li></ul></th></tr>-->
                <!--<tr><td><ul><li><a href="<?php echo base_url();?>student/leaving_certificate/<?php echo $records['id'];?>">SCHOOL LEAVING CERTIFICATE</a></li></ul></td></tr>-->
                <!--<tr><td><ul><li><a href="<?php echo base_url();?>student/student_certificate/<?php echo $records['id'];?>">SCHOOL CERTIFICATE</a></li></ul></td></tr>-->
                <!--</table>-->
            <!--</div>-->
            
            
            <?php
                }
            }
            ?>

        </div>
    </div>
</div>