<?php 
session_start();
include"../../../../inc/conn.php";
$idkelas = $_POST['idkelas'];

?>

    <div class="text-center">
    <a href="template/TemplateDataSiswa.xls">
        <img src="assets/img/excel.png" width="50"><br>
        [Download Template]
    </a>
    <br>
    <hr>
    </div>


    <form action="importdatasiswa" method="POST" enctype="multipart/form-data">
            
        <input type="hidden" name="id_kelas" value="<?php echo $idkelas;?>">



        <div class="form-group">


            <label for="exampleInputEmail1">Pilih File</label><br>
            <input type="file" name="file" accept=".xls" required="required">
        </div>






        <div class="modal-footer justify-content-between">
              
              <button type="submit" class="btn btn-primary">Import Data</button>
              <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
        
        </div>

       
        </form>        
