<?php if(!defined('INDEX')) die(); ?>
<section class="content">
    <div class="box box-primary">
        <div class="box-header with-border">
            <h3 class="box-title">Import Data Siswa Secara Massal</h3>
        </div>
        <div class="box-body">
            <div class="alert alert-info">
                <h4><i class="icon fa fa-info"></i> Perhatian Sebelum Upload:</h4>
                <ul>
                    <li>Gunakan file format <b>.csv</b> (Save as Comma Delimited di Excel).</li>
                    <li>Urutan kolom: <b>Nama, NIS, Tanggal Lahir, Kelas, Jurusan, Gender (L/P)</b>.</li>
                </ul>
            </div>
            <form action="?hal=siswa_import_proses" method="post" enctype="multipart/form-data">
                <div class="form-group">
                    <label>Pilih File CSV</label>
                    <input type="file" name="file_csv" class="form-control" accept=".csv" required>
                </div>
                <button type="submit" class="btn btn-success">Proses Import Data</button>
                <a href="?hal=siswa" class="btn btn-default">Batal</a>
            </form>
        </div>
    </div>
</section>