<div class="container-fluid mt-3 mb-3 bg-white">
    <div class="row">
        <div class="col-sm-12 pt-3 pb-3">
            <ul class="breadcrumb">
                <li class="breadcrumb-item">Home</li>
                <li class="breadcrumb-item"><a href="<?php echo base_url(); ?>Import">Import</a></li>
                <li class="breadcrumb-item">Import Student</li>
            </ul>
            
            <form method="post" action="#" enctype="multipart/form-data" class="form-outer">
                <div class="w_100">
                <h1 class="main-heading">Import Students</h1><hr>
                <div class="form-group w-50">
                    <label>Academic Session</label>
                    <select class="form-control" name="academic_session" required>
                        <option value="">--- Select Academic Session ---</option>
                        <?php
                        $academic_session_details_table="academic_session_details";
                        $aca_sess_data=$this->ImportModel->get_data($academic_session_details_table);
                        if($aca_sess_data){
                            foreach($aca_sess_data as $sess_data){
                        ?>
                        <option value="<?php echo $sess_data['id']; ?>" <?php if($sess_data['status'] == 1){ echo "selected"; }?>><?php echo $sess_data['year_long']; ?></option>
                        <?php
                            }
                        }
                        ?>
                    </select>
                </div>
                <div class="form-group w-50 ">
                    <label>Upload Student Data</label>
                    <input type="file" name="file" class="form-control" required>
                </div>

                <div class="form-group w-100 mt-3">
                    <button type="submit" name="upload_students" class="btn btn-sm btn-success">Submit</button>
                </div>
                <hr>
                <div class="w_100">
                    <p><a href="<?php echo base_url(); ?>assets/tools/Course-Students-Import-Tool.xlsx">Click Here </a> to  Download Import Students Tool Structure</p>
                </div>
                
                </div>
            </form>
        </div>
    </div>
</div>

<script>

    $(document).ready(function(){

    });
</script>