<div class="container mt-3 mb-3 bg-white pt-3 pb-3">
    <div class="row">
        <div class="col-sm-12">
        <ul class="breadcrumb">
            <li class="breadcrumb-item"><?php echo $this->session->userdata('ac_year'); ?></li> 
            <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"><a href="<?php echo base_url(); ?>Fee/invoices">All Invoices</a></li>
            <?php
            if($this->session->userdata('admin') ==1){
            ?>
            <li class="breadcrumb-item"><a href="<?php echo base_url();?>Fee/deleted_invoices">Deleted Invoices</a></li>
            <li class="breadcrumb-item">Deleted Students</li>
            <?php
            }
            ?>
        </ul>
            <h1 class="text-success text-center" style="font-weight:600;font-size:18px;">Deleted Students</h1><hr>
            <div class="table table-bordered table-striped">
                <table class="table table-bordered table-striped" id="mytable">
                    <thead>
                        <tr>
                            <th>SID</th>
                            <th>Student Name</th>
                            <th>Mother's Name</th>
                            <th>Father's Name</th>
                            <th>DOB</th>
                            <th>Class</th>
                            <th>Section</th>
                        </tr>
                    </thead>
                    <tbody>
                        <?php
                        $table='students_deleted';
                        $get_data=$this->WelcomeModel->get_data($table);
                        if($get_data){
                            foreach($get_data as $data){
                        ?>
                        <tr>
                            <td><?php echo $data['sid'];?></td>
                            <td><?php echo $data['student_name'];?></td>
                            <td><?php echo $data['mother_name'];?></td>
                            <td><?php echo $data['father_name'];?></td>
                            <td><?php echo $data['dob'];?></td>
                            <td><?php echo $data['contact_no'];?></td>
                            <td><?php echo $data['section'];?></td>
                        </tr>
                        <?php
                            }
                        }
                        ?>
                    </tbody>
                </table>
                
                
            </div>            
        </div>
    </div>
</div>
