<style>
  .error {
    color: red;
    font-size: .7em;
  }
</style>
<!-- Begin Page Content -->
<div class="container-fluid">

  <!-- Page Heading -->
  <h1 class="h3 mb-4 text-gray-800"><?= $title ?></h1>
  <input type="hidden" class="url" value="<?= base_url() ?>">
  <?= '<small class="text-danger">' . validation_errors() . '</small>'; ?>
  <div class="row">
    <div class="col-lg-12">
      <?= $this->session->flashdata('message') ?>
      <div class="card">
        <div class="card-body">
          <table class="table table-hover" id="tabelVerifikasi">
            <thead>
              <tr>
                <th>#</th>
                <th>ID</th>
                <th>Nama</th>
                <th>Asal Sekolah</th>
                <th>Jalur</th>
                <th>Action</th>
              </tr>
            </thead>
            <tbody>
            </tbody>
          </table>
        </div>
      </div>

    </div>
  </div>



</div>
<!-- /.container-fluid -->

</div>
<!-- End of Main Content -->
 <!-- modal pendaftar -->
 <div class="modal fade modalPendaftar" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel" aria-hidden="true" data-backdrop="false">
      <div class="modal-dialog modal-lg" role="document" >
        <div class="modal-content p-4">
        
                <div id="smartwizard">
                  <ul class="nav">
                      <li class="nav-item">
                        <a class="nav-link" href="#step-1">
                          <div class="num">1</div>
                        Biodata
                        </a>
                      </li>
                      <li class="nav-item">
                        <a class="nav-link" href="#step-2">
                          <div class="num">2</div>
                        Alamat
                        </a>
                      </li>
                      <li class="nav-item">
                        <a class="nav-link " href="#step-3">
                          <span class="num">3</span>
                          Pendaftaran
                        </a>
                      </li>
                  </ul>
              
                  <div class="tab-content">
                      <div id="step-1" class="tab-pane" role="tabpanel" aria-labelledby="step-1">
                          <form action="<?= base_url('Admin/SimpanBiodataVerifikasi')?>" method="post" id="form-1">
                            <div class="row my-3">
                              <div class="col-6 col-lg-6">
                                <input type="hidden" class="id_pendaftar">
                                  <label for="koreg">Kode Registrasi</label>
                                  <input type="text" class="koreg form-control form-control-sm form-control-custum" name="koreg" id="noDaftar" readonly>
                                </div>
                                <div class="col-6 col-lg-6">
                                  <label for="noDaftar">Nomor Urut Daftar</label>
                                  <input type="text" readonly class="noDaftar form-control form-control-sm form-control-custum" name="noDaftar">
                              </div>
                            </div>
                            <div class="row my-3">
                              <div class="col-6 col-lg-6">
                                <label for="nama">Nama Pendaftar</label>
                                <input type="text" class="nama form-control form-control-sm form-control-custum" name="nama" id="nama" placeholder="Nama Pendaftar">
                              </div>
                              <div class="col-6 col-lg-6">
                                <label for="nik">NIK</label>
                                <input type="text" class="form-control nik form-control-sm form-control-custum" name="nik" id="nik">
                              </div>
                            </div>
                            <div class="row my-3">
                              <div class="col-6 col-lg-6">
                                <label for="nisn">NISN</label>
                                <input type="text" class="nisn form-control form-control-sm form-control-custum" name="nisn" id="nisn" >
                              </div>
                              <div class="col-6 col-lg-6">
                                <label for="email">Email</label>
                                <input type="text"  class="email form-control form-control-sm form-control-custum" name="email" id="email">
                              </div>
                            </div>
                            <div class="row my-3">
                            <div class="col-6 col-lg-6">
                              <label for="tempatLahir">Tempat Lahir</label>
                              <input type="text" class="tempatLahir form-control form-control-sm form-control-custum" name="tempatLahir" id="tempatLahir"  placeholder="Tempat lahir">
                            </div>
                            <div class="col-6 col-lg-6">
                              <label for="tglLahir">Tanggal Lahir</label>
                              <input type="text" class="tglLahir form-control form-control-sm form-control-custum" id="tglLahir" name="tglLahir"placeholder="Tanggal lahir">
                            </div>
                          </div>
                          <div class="row my-3">
                            <div class="col-6 col-lg-6">
                              <label for="sekolahAsal">Sekolah Asal</label>
                              <input type="text" class="sekolahAsal form-control form-control-sm form-control-custum" name="sekolahAsal" id="sekolahAsal"  placeholder="Tempat lahir">
                            </div>
                            <div class="col-6 col-lg-6">
                              <label for="noHp">No Telepon</label>
                              <input type="text" class="noHp form-control form-control-sm form-control-custum" name="noHp" id="noHp"  placeholder="Nomor Hp">
                            </div>
                            <!-- <div class="col-6 col-lg-6">
                              <label for="agama">Agama</label>
                              <select name="agama" id="agama" class="form-control form-control-sm form-control-custum agama">
                                  <option value="">----Pilih</option>
                                  <option value="Islam">Islam</option>
                                  <option value="Kristen Protestan">Kristen Protestan</option>
                                  <option value="Kristen Katolik">Kristen Katolik</option>
                                  <option value="Hindu">Hindu </option>
                                  <option value="Buddha ">Buddha</option>
                                  <option value="Konghucu">Konghucu </option>
                                </select>
                            </div> -->
                          </div>
                          </form>
                      </div>
                      <!-- alamat -->
                     
                      <div id="step-2" class="tab-pane" role="tabpanel" aria-labelledby="step-2">
                          <form action="<?= base_url('Admin/SimpanAlamatVerifikasi')?>" method="post" id="form-2">
                          <div class="formAlamat container">
                          <div class="row my-3">
                          <div class="col-6 col-lg-6">
                            <input type="hidden" name="koreg" id="koreg">
                            <input type="hidden" name="id_pendaftar" id="id_pendaftar">
                            <label for="kk">No Kartu Keluarga</label>
                            <input type="number" class="kk form-control form-control-sm form-control-custum" id="kk" name="kk" value="" placeholder="N Kartu Keluarga">
                          </div>
                          <div class="col-6 col-lg-6">
                            <label for="changeProvinsi">changeProvinsi</label>
                            <select name="provinsi" id="changeProvinsi" class="changeProvinsi form-control form-control-sm">
                              <?php foreach($provinsi as $prov):?>
                              <option value="<?=$prov['id']?>"><?=$prov['name']?></option>
                                <?php endforeach?>
                            </select>
                          </div>
                        </div>
                        <div class="row my-3">
                          <div class="col-6 col-lg-6">
                            <label for="changeKota">Kota/Kabupaten</label>
                            <select name="kota" id="changeKota" class="changeKota form-control form-control-sm">
                        
                            </select>
                          </div>
                          <div class="col-6 col-lg-6">
                            <label for="changeKecamatan">Kecamatan</label>
                            <select name="kecamatan" id="changeKecamatan" class="changeKecamatan form-control form-control-sm">
                        
                            </select>
                          </div>
                        </div>

                        <div class="row my-3">
                              <div class="col-6 col-lg-6">
                                <label for="changeDesa">Kelurahan/changeDesa</label>
                                <select  name="desa" id="changeDesa" class="changeDesa form-control form-control-sm">
                            
                                </select>
                              </div>
                              <div class="col-6 col-lg-6">
                                <div class="row">
                                  <div class="col-4">
                                    <label for="rt">RT</label>
                                    <input type="text" class="form-control form-control-sm form-control-custum" name="rt" id="rt" value="" placeholder="Rt">
                                  </div>
                                  <div class="col-4">
                                    <label for="rw">RW</label>
                                    <input type="text" class="form-control form-control-sm form-control-custum" id="rw" name="rw" value="" placeholder="RW">
                                  </div>
                                  <div class="col-4">
                                    <label for="kodePos">Kode Pos</label>
                                    <input type="text" class="form-control form-control-sm form-control-custum" id="kodePos" name="kodePos" value="" placeholder="Kode Pos contoh 16110">
                                  </div>
                                </div>
                              </div>
                            </div>
                            <div class="row my-3">
                              <div class="col-12 col-lg-6">
                                <label for="alamat">Alamat Lengkap</label>
                                <textarea name="alamat" class="alamat form-control" id="alamat" row="200" required></textarea>
                              </div>
                              <div class="col-4 col-lg-4">
                                <label for="jarak">jarak (m)</label>
                                <input type="text" class="form-control form-control-sm form-control-custum jarak" id="jarak" name="jarak" readonly>
                              </div>
                            </div>
                            <div class="row my-1">
                              <div class="col-6 col-md-6 offset-md-6">
                              <label for="longitude">Longitude</label>
                                <input type="text" class="form-control form-control-sm form-control-custum longitude" id="longitude" name="longitude" placeholder="Longitude contoh: -6.741584, 106.809561">
                            </div>
                            </div>
                            </div>
                          </form>
                      </div>

                      <!-- end alamat -->
                      <div id="step-3" class="tab-pane" role="tabpanel" aria-labelledby="step-3">
                        <form action="<?= base_url('Admin/saveVrifikasiJalur')?>" method="post" id="form-3">
                        <div class="container-berkas mt-2">
                            <div class="container my-5">
                              <input type="hidden" name="koreg" class="koreg">
                              <input type="hidden" name="id_pendaftar" class="id_pendaftar">
                                <div class="row my-3">
                                    <div class="col">
                                        <label for="jalurPpdb">Pilih Jalur PPDB</label>
                                        <select name="jalurPpdb" id="jalurPpdb" class="jalurPpdb form-control form-control-sm">
                                            <option value="">--Pilih Jalur</option>
                                            <?php foreach ($jalur as $j) : ?>
                                                <option value="<?= $j['id'] ?>"> <?= $j['ppdb'] ?></option>
                                            <?php endforeach ?>
                                        </select>
                                    </div>
                                </div>
                               
                              <div class="content-syarat-khusus">
                              <!-- Div avirmasi konten -->
                              <div class="afirmasi">
                                  <div class="afirmasi-main">
                                      <div class="row my-3">
                                      <div class="col my3">
                                          <label for="afirmasi">Pilih Nama Afirmasi</label>
                                          <select name="afirmasi" id="afirmasi" class="jenis_afirmasi form-control form-control-sm">
                                            <option value="">----Pilih Jenis Afirmasi</option>
                                          <?php foreach ($jenis_afirmasi as $k) : ?>
                                                <option value="<?= $k['id'] ?>"> <?= $k['nama_jenis_afirmasi'] ?></option>
                                            <?php endforeach ?>
                                          </select>
                                      </div>
                                    </div>
                              </div>
                                <div class="afirmasi-item1">
                                <div class="row my-3">
                          <div class="col-4 col-lg-4">
                            <label for="nama_afirmasi"> Nama Sesuai Kartu </label>
                            <input type="text" class="nama_afirmasi form-control form-control-sm form-control-custum" name="nama_afirmasi" id="nama_afirmasi" >
                          </div>
                          
                          <div class="col-4 col-lg-4">
                            <label for="no_afirmasi">No Kartu</label>
                            <input type="text"  class="no_afirmasi form-control form-control-sm form-control-custum" name="no_afirmasi" id="no_afirmasi">
                          </div>
                          <div class="col-4 col-lg-4">
                            <label for="dtks">dtks</label>
                            <input type="text"  class="dtks form-control form-control-sm form-control-custum" name="dtks" id="dtks">
                          </div>
                        </div>
                                </div>
                                <div class="afirmasi-item2"></div>
                                <div class="afirmasi-item3"></div>
                                <div class="afirmasi-item4"></div>
                            </div>
                <!-- end div avirmasi conten -->
                 <!-- section unntuk jarur Kejuaran -->
             <div class="kejuaraan">
                <div class="kejuaraan-main">
                    <div class="row my-3">
                        <div class="col my3">
                            <label for="penyelengara">Pilih Penyelengara Kejuaraan</label>
                            <select name="penyelengara" id="penyelengara" class="penyelengara form-control form-control-sm">
                            <?php foreach ($penyelengara as $pen) : ?>
                                  <option value="<?= $pen['id_penyelengara'] ?>"> <?= $pen['peyelengara'] ?></option>
                              <?php endforeach ?>
                            </select>

                            <label for="kategori"></label>
                            <select name="kategori" id="kategori" class="kategori form-control form-control-sm">
                            <!-- <?php foreach ($kategori as $kat) : ?>
                                  <option value="<?= $kat['id_satuan'] ?>"> <?= $kat['satuan'] ?></option>
                              <?php endforeach ?> -->
                            </select>

                            <label for="prestasi">
                            prestasi
                            </label>
                            <select name="prestasi" id="prestasi" class="prestasi form-control form-control-sm">
                            <!-- <?php foreach ($prestasi as $kat) : ?>
                                  <option value="<?= $kat['id'] ?>"> <?= $kat['kejuaraan'] ?></option>
                              <?php endforeach ?> -->
                            </select>

                            
                        </div>
                    </div>
                </div>
                <div class="kejuaraan-item1">
                        <div class="row my-3">
                          <div class="col-4 col-lg-4">
                            <label for="namaKejuaraan">Nama Kejuaraan</label>
                            <input type="text" class="namaKejuaraan form-control form-control-sm form-control-custum" name="namaKejuaraan" id="namaKejuaraan" >
                          </div>
                          <div class="col-4 col-lg-4">
                            <label for="skor">Skor</label>
                            <input type="text"  class="skor form-control form-control-sm form-control-custum" name="skor" id="skor" readonly>
                          </div>
                          <div class="col-4 col-lg-4">
                            <label for="skorKompentensi">Skor Kompentensi</label>
                            <input type="text"  class="skorKompentensi form-control form-control-sm form-control-custum" name="skorKompentensi" id="skorKompentensi">
                          </div>
                          <div class="col-4 col-lg-4" >
                            <label for="total_skor_kejuaraan">Total Skor</label>
                            <input type="text" readonly  class="total_skor_kejuaraan form-control form-control-sm form-control-custum" name="total_skor_kejuaraan" id="total_skor_kejuaraan">
                          </div>
                        </div>
                  
                </div>
                <div class="kejuaraan-item2"></div>
                <div class="kejuaraan-item3"></div>
                <div class="kejuaraan-item4"></div>
            </div>
            <!-- end section untuk jalur Kejuaran -->
                 
                <!-- section jalur laport -->
                <div class="raport">
                    <div class="raport-item1"></div>
                    <div class="raport-item2"></div>
                    <div class="raport-item3"></div>
                    <div class="raport-main container-nilai">
                        <!-- star card body nilai -->
                        <div class="card-body">
                       
                            <!-- start containe nilai -->
                            <div class="container">
                            <div class="row my-3">
                              <div class="col">
                                      <select name="rangking" id="rangking" class="rangking form-control form-control-sm">
                                          <option value="0">--Pilih Rangking</option>
                                          <?php foreach ($rank as $j) : ?>
                                              <option value="<?= $j['id_rangking'] ?>"> <?= $j['rangking'] ?></option>
                                          <?php endforeach ?>
                                      </select>
                                  </div>
                                </div>
                                  
                                 <p class="text-danger"> Nilai yang dimasukan adalah nilai Pengetahuan (KI-3) Skala 0-100</p>
                                 <!-- start table resposive -->
                                 <table class="table table-responsive">
                                    <!-- star thead -->
                                    <thead>
                                         <tr>
                                            <td rowspan="2" align="center">No</td>
                                            <td rowspan="2" align="center">Mapel</td>
                                            <td colspan="2" align="center">Kelas 4</td>
                                            <td colspan="2" align="center">Kelas 5</td>
                                            <td colspan="2" align="center">Kelas 6</td>
                                        </tr>
                                         <tr>
                                            <td align="center">Semester 1</td>
                                            <td align="center">Semester 2</td>
                                            <td align="center">Semester 1</td>
                                            <td align="center">Semester 2</td>
                                            <td align="center">Semester 1</td>
                                        </tr>
                                    </thead>
                                    <!-- end thead -->
                                    <!-- start body table -->
                                    <tbody>
                                        <!-- Agama -->
                                         <tr class="tr1">
                                            <td>1</td>
                                            <td>Pend. Agama</td>
                                            <td><input type="text" name="paiK4S1" value="<?= set_value('paiK4S1') ?><?= isset( $nilai['paiK4S1']) ? $nilai['paiK4S1']:''; ?>" id="paiK4S1" maxLength="4" required><br></td>
                                            <td><input type="text" name="paiK4S2" value="<?= set_value('paiK4S2') ?><?= isset($nilai['paiK4S2'])?$nilai['paiK4S2'] : '' ?>" id="paiK4S2" maxLength="4" required><br></td>
                                            <td><input type="text" name="paiK5S1" value="<?= set_value('paiK5S1') ?><?= isset($nilai['paiK5S1'])?$nilai['paiK5S1']:''; ?>" id="paiK5S1" maxLength="4" required><br></td>
                                            <td><input type="text" name="paiK5S2" value="<?= set_value('paiK5S2') ?><?= isset($nilai['paiK5S2'])?$nilai['paiK5S2']:''; ?>" id="paiK5S2" maxLength="4" required><br></td>
                                            <td><input type="text" name="paiK6S1" value="<?= set_value('paiK6S1') ?><?= isset($nilai['paiK6S1'])?$nilai['paiK6S1']:''; ?>" id="paiK6S1" maxLength="4" required><br></td>
                                        </tr>
                                        <!-- end agama -->
                                        <!-- pkn -->
                                         <tr>
                                            <td>2</td>
                                            <td>PPKN</td>
                                            <td><input type="text" name="pknK4S1" value="<?= set_value('pknK4S1') ?><?= isset( $nilai['pknK4S1']) ? $nilai['pknK4S1']:''; ?>" id="pknK4S1" maxLength="4" required><br></td>
                                            <td><input type="text" name="pknK4S2" value="<?= set_value('pknK4S2') ?><?= isset($nilai['pknK4S2'])?$nilai['pknK4S2'] : '' ?>" id="pknK4S2" maxLength="4" required><br></td>
                                            <td><input type="text" name="pknK5S1" value="<?= set_value('pknK5S1') ?><?= isset($nilai['pknK5S1'])?$nilai['pknK5S1']:''; ?>" id="pknK5S1" maxLength="4" required><br></td>
                                            <td><input type="text" name="pknK5S2" value="<?= set_value('pknK5S2') ?><?= isset($nilai['pknK5S2'])?$nilai['pknK5S2']:''; ?>" id="pknK5S2" maxLength="4" required><br></td>
                                            <td><input type="text" name="pknK6S1" value="<?= set_value('pknK6S1') ?><?= isset($nilai['pknK6S1'])?$nilai['pknK6S1']:''; ?>" id="pknK6S1" maxLength="4" required><br></td>
                                        </tr>
                                        <!-- end pkn -->
                                        <!-- b.indo -->
                                         <tr class="tr1">
                                            <td>3</td>
                                            <td>B. Indonesia</td>
                                            <td><input type="text" name="indoK4S1" value="<?= set_value('indoK4S1') ?><?= isset( $nilai['indoK4S1']) ? $nilai['indoK4S1']:''; ?>" id="indoK4S1" maxLength="4" required><br></td>
                                            <td><input type="text" name="indoK4S2" value="<?= set_value('indoK4S2') ?><?= isset($nilai['indoK4S2'])?$nilai['indoK4S2'] : '' ?>" id="indoK4S2" maxLength="4" required><br></td>
                                            <td><input type="text" name="indoK5S1" value="<?= set_value('indoK5S1') ?><?= isset($nilai['indoK5S1'])?$nilai['indoK5S1']:''; ?>" id="indoK5S1" maxLength="4" required><br></td>
                                            <td><input type="text" name="indoK5S2" value="<?= set_value('indoK5S2') ?><?= isset($nilai['indoK5S2'])?$nilai['indoK5S2']:''; ?>" id="indoK5S2" maxLength="4" required><br></td>
                                            <td><input type="text" name="indoK6S1" value="<?= set_value('indoK6S1') ?><?= isset($nilai['indoK6S1'])?$nilai['indoK6S1']:''; ?>" id="indoK6S1" maxLength="4" required><br></td>
                                        </tr>
                                        <!-- end b.indo -->

                                        <!-- matematika -->
                                         <tr>
                                            <td>4</td>
                                            <td>Matematika</td>
                                            <td><input type="text" name="mtkK4S1" value="<?= set_value('mtkK4S1') ?><?= isset( $nilai['mtkK4S1']) ? $nilai['mtkK4S1']:''; ?>" id="mtkK4S1" maxLength="4" required><br></td>
                                            <td><input type="text" name="mtkK4S2" value="<?= set_value('mtkK4S2') ?><?= isset($nilai['mtkK4S2'])?$nilai['mtkK4S2'] : '' ?>" id="mtkK4S2" maxLength="4" required><br></td>
                                            <td><input type="text" name="mtkK5S1" value="<?= set_value('mtkK5S1') ?><?= isset($nilai['mtkK5S1'])?$nilai['mtkK5S1']:''; ?>" id="mtkK5S1" maxLength="4" required><br></td>
                                            <td><input type="text" name="mtkK5S2" value="<?= set_value('mtkK5S2') ?><?= isset($nilai['mtkK5S2'])?$nilai['mtkK5S2']:''; ?>" id="mtkK5S2" maxLength="4" required><br></td>
                                            <td><input type="text" name="mtkK6S1" value="<?= set_value('mtkK6S1') ?><?= isset($nilai['mtkK6S1'])?$nilai['mtkK6S1']:''; ?>" id="mtkK6S1" maxLength="4" required><br></td>
                                        </tr>
                                        <!-- end matematika -->
                                        <!-- Ipa -->
                                         <tr class="tr1">
                                            <td>5</td>
                                            <td>IPA</td>
                                            <td><input type="text" name="ipaK4S1" value="<?= set_value('ipaK4S1') ?><?= isset( $nilai['ipaK4S1']) ? $nilai['ipaK4S1']:''; ?>" id="ipaK4S1" maxLength="4" required><br></td>
                                            <td><input type="text" name="ipaK4S2" value="<?= set_value('ipaK4S2') ?><?= isset($nilai['ipaK4S2'])?$nilai['ipaK4S2'] : '' ?>" id="ipaK4S2" maxLength="4" required><br></td>
                                            <td><input type="text" name="ipaK5S1" value="<?= set_value('ipaK5S1') ?><?= isset($nilai['ipaK5S1'])?$nilai['ipaK5S1']:''; ?>" id="ipaK5S1" maxLength="4" required><br></td>
                                            <td><input type="text" name="ipaK5S2" value="<?= set_value('ipaK5S2') ?><?= isset($nilai['ipaK5S2'])?$nilai['ipaK5S2']:''; ?>" id="ipaK5S2" maxLength="4" required><br></td>
                                            <td><input type="text" name="ipaK6S1" value="<?= set_value('ipaK6S1') ?><?= isset($nilai['ipaK6S1'])?$nilai['ipaK6S1']:''; ?>" id="ipaK6S1" maxLength="4" required><br></td>
                                        </tr>
                                        <!-- end ipa -->

                                        <!-- ips -->
                                         <tr>
                                            <td>6</td>
                                            <td>IPS</td>
                                            <td><input type="text" name="ipsK4S1" value="<?= set_value('ipsK4S1') ?><?= isset( $nilai['ipsK4S1']) ? $nilai['ipsK4S1']:''; ?>" id="ipsK4S1" maxLength="4" required><br></td>
                                            <td><input type="text" name="ipsK4S2" value="<?= set_value('ipsK4S2') ?><?= isset($nilai['ipsK4S2'])?$nilai['ipsK4S2'] : '' ?>" id="ipsK4S2" maxLength="4" required><br></td>
                                            <td><input type="text" name="ipsK5S1" value="<?= set_value('ipsK5S1') ?><?= isset($nilai['ipsK5S1'])?$nilai['ipsK5S1']:''; ?>" id="ipsK5S1" maxLength="4" required><br></td>
                                            <td><input type="text" name="ipsK5S2" value="<?= set_value('ipsK5S2') ?><?= isset($nilai['ipsK5S2'])?$nilai['ipsK5S2']:''; ?>" id="ipsK5S2" maxLength="4" required><br></td>
                                            <td><input type="text" name="ipsK6S1" value="<?= set_value('ipsK6S1') ?><?= isset($nilai['ipsK6S1'])?$nilai['ipsK6S1']:''; ?>" id="ipsK6S1" maxLength="4" required><br></td>
                                        </tr>
                                        <!-- end ipaK4S1 -->

                                        <!-- sbdp -->
                                         <tr class="tr1">
                                            <td>7</td>
                                            <td>SBDP</td>
                                            <td><input type="text" name="sbdpK4S1" value="<?= set_value('sbdpK4S1') ?><?= isset( $nilai['sbdpK4S1']) ? $nilai['sbdpK4S1']:''; ?>" id="sbdpK4S1" maxLength="4" required><br></td>
                                            <td><input type="text" name="sbdpK4S2" value="<?= set_value('sbdpK4S2') ?><?= isset($nilai['sbdpK4S2'])?$nilai['sbdpK4S2'] : '' ?>" id="sbdpK4S2" maxLength="4" required><br></td>
                                            <td><input type="text" name="sbdpK5S1" value="<?= set_value('sbdpK5S1') ?><?= isset($nilai['sbdpK5S1'])?$nilai['sbdpK5S1']:''; ?>" id="sbdpK5S1" maxLength="4" required><br></td>
                                            <td><input type="text" name="sbdpK5S2" value="<?= set_value('sbdpK5S2') ?><?= isset($nilai['sbdpK5S2'])?$nilai['sbdpK5S2']:''; ?>" id="sbdpK5S2" maxLength="4" required><br></td>
                                            <td><input type="text" name="sbdpK6S1" value="<?= set_value('sbdpK6S1') ?><?= isset($nilai['sbdpK6S1'])?$nilai['sbdpK6S1']:''; ?>" id="sbdpK6S1" maxLength="4" required><br></td>
                                        </tr>
                                        <!-- end sbdp -->

                                        <!-- pjok -->
                                         <tr class="tr1">
                                            <td>8</td>
                                            <td>PJOK</td>
                                            <td><input type="text" name="pjokK4S1" value="<?= set_value('pjokK4S1') ?><?= isset( $nilai['pjokK4S1']) ? $nilai['pjokK4S1']:''; ?>" id="pjokK4S1" maxLength="4" required><br></td>
                                            <td><input type="text" name="pjokK4S2" value="<?= set_value('pjokK4S2') ?><?= isset($nilai['pjokK4S2'])?$nilai['pjokK4S2'] : '' ?>" id="pjokK4S2" maxLength="4" required><br></td>
                                            <td><input type="text" name="pjokK5S1" value="<?= set_value('pjokK5S1') ?><?= isset($nilai['pjokK5S1'])?$nilai['pjokK5S1']:''; ?>" id="pjokK5S1" maxLength="4" required><br></td>
                                            <td><input type="text" name="pjokK5S2" value="<?= set_value('pjokK5S2') ?><?= isset($nilai['pjokK5S2'])?$nilai['pjokK5S2']:''; ?>" id="pjokK5S2" maxLength="4" required><br></td>
                                            <td><input type="text" name="pjokK6S1" value="<?= set_value('pjokK6S1') ?><?= isset($nilai['pjokK6S1'])?$nilai['pjokK6S1']:''; ?>" id="pjokK6S1" maxLength="4" required><br></td>
                                        </tr>
                                        <!-- end pjok -->

                                        <!-- bahsa sunda -->
                                         <tr class="tr1">
                                            <td>9</td>
                                            <td>Bahasa Sunda</td>
                                            <td><input type="text" name="sundaK4S1" value="<?= set_value('sundaK4S1') ?><?= isset( $nilai['sundaK4S1']) ? $nilai['sundaK4S1']:''; ?>" id="sundaK4S1" maxLength="4" required><br></td>
                                            <td><input type="text" name="sundaK4S2" value="<?= set_value('sundaK4S2') ?><?= isset($nilai['sundaK4S2'])?$nilai['sundaK4S2'] : '' ?>" id="sundaK4S2" maxLength="4" required><br></td>
                                            <td><input type="text" name="sundaK5S1" value="<?= set_value('sundaK5S1') ?><?= isset($nilai['sundaK5S1'])?$nilai['sundaK5S1']:''; ?>" id="sundaK5S1" maxLength="4" required><br></td>
                                            <td><input type="text" name="sundaK5S2" value="<?= set_value('sundaK5S2') ?><?= isset($nilai['sundaK5S2'])?$nilai['sundaK5S2']:''; ?>" id="sundaK5S2" maxLength="4" required><br></td>
                                            <td><input type="text" name="sundaK6S1" value="<?= set_value('sundaK6S1') ?><?= isset($nilai['sundaK6S1'])?$nilai['sundaK6S1']:''; ?>" id="sundaK6S1" maxLength="4" required><br></td>
                                        </tr>
                                        <!-- end bahasa sunda -->
                                        
                                    </tbody>
                                    <!-- end body table -->
                                 </table>
                                 <!-- end table responsive -->
                            </div>
                            <!-- end container nilai -->

                        </div>
                        <!-- end card body nilai -->
                  </div>
                </div>
                <!-- section end jalur raport -->
             

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

   
                        </form>
                        
                      </div>
                
              
                  <!-- Include optional progressbar HTML -->
                  <div class="progress">
                  <div class="progress-bar" role="progressbar" style="width: 0%" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100"></div>
                  </div>
                  </div>  
            
          <!-- batas akhir container -->
        </div>
      </div>
    </div>
    </div>

      <!-- batas akhir container -->
    </div>
  </div>
</div>