 <!-- informasi pendaftar -->
 <div class="row my-3 content-user">
     <!-- biodata -->
     <div class="col-md-6">
         <h2>Biodata</h2>
         <table class="table table-sm">
            <?php
            $userData=$userLogin['dataUser'];
            $dataJalur = $userLogin['dataJalur'];
            $dataPrestasi=$userLogin['dataKejuaraan'];
            $dataAfirmasi=$userLogin['dataAfirmasi'];
            $dataNilai=$userLogin['dataNilai'];
            $dataSekolah=$userLogin['dataSekolah']
            ?>
             <tbody>
                 <tr>
                     <th scope="row">Nama</th>
                     <td>:</td>
                     <td><?= $userData['nama']; ?></td>
                 </tr>
                 <tr>
                     <th scope="row">No Registrasi</th>
                     <td>:</td>
                     <td><?= $userData['koreg']; ?></td>
                 </tr>
                 <tr>
                     <th scope="row">No Urut Pendaftaran</th>
                     <td>:</td>
                     <td><?= $userData['noDaftar']; ?></td>
                 </tr>
                 <tr>
                     <th scope="row">NISN</th>
                     <td>:</td>
                     <td><?= $userData['nisn']; ?></td>
                 </tr>
                 <tr>
                     <th scope="row">NIK</th>
                     <td>:</td>
                     <td><?= $userData['nik']; ?></td>
                 </tr>
                 <tr>
                     <th scope="row">Pendaftaran</th>
                     <td>:</td>
                     <td><?= $userData['tglDaftar']; ?></td>
                 </tr>
                 <tr>
                     <th scope="row">Alamat</th>
                     <td>:</td>
                     <td><?= $userData['alamat']; ?></td>
                 </tr>
                 <tr>
                     <th scope="row">Detail</th>
                     <td>:</td>
                     <td>Rt <?= $userData['rt'] . ', Rw ' . $userData['rw']; ?></td>
                 </tr>
                 <tr>
                     <th scope="row">Desa</th>
                     <td>:</td>
                     <td> <?= $userData['desa']; ?></td>
                 </tr>
                 <tr>
                     <th scope="row">Kecamatan</th>
                     <td>:</td>
                     <td> <?= $userData['kecamatan']; ?></td>
                 </tr>
                 <tr>
                     <th scope="row">Kota</th>
                     <td>:</td>
                     <td> <?= $userData['kota']; ?></td>
                 </tr>
                 <tr>
                     <th scope="row">Provinsi</th>
                     <td>:</td>
                     <td> <?= $userData['provinsi']; ?></td>
                 </tr>
                 <tr>
                     <th scope="row">Tempat, Tanggal Lahir</th>
                     <td>:</td>
                     <td><?= $userData['tempatLahir'] . ', ' . $userData['tglLahir']; ?></td>
                 </tr>
                 <tr>
                     <th scope="row">Usia</th>
                     <td>:</td>
                     <td><?= $userData['usia']; ?> tahun</td>
                 </tr>
                 <tr>
                     <th scope="row">Jalur PPDB</th>
                     <td>:</td>
                     <td><?= $dataJalur['ppdb']; ?></td>
                 </tr>
                 <?php if ($dataJalur['inputPrestasi'] == 1) { ?>
                     <tr>
                         <th scope="row">Prestasi</th>
                         <td>:</td>
                         <td><?= $dataPrestasi['kejuaraan']; ?></td>
                     </tr>
                     <tr>
                         <th scope="row">Kategori</th>
                         <td>:</td>
                         <td><?= $dataPrestasi['satuan']; ?></td>
                     </tr>
                     <tr>
                         <th scope="row">Penyelengara</th>
                         <td>:</td>
                         <td><?= $dataPrestasi['peyelengara']; ?></td>
                     </tr>
                 <?php } 
                  if ($dataJalur['input_afirmasi'] == 1) { ?>
                     <tr>
                         <th scope="row">Jenis Afirmasi</th>
                         <td>:</td>
                         <td><?php echo isset($dataAfirmasi['nama_jenis_afirmasi'])?$dataAfirmasi['nama_jenis_afirmasi']:'-'; ?></td>
                     </tr>
                     <tr>
                         <th scope="row">No jenis Afirmasi</th>
                         <td>:</td>
                         <td><?php echo isset($dataAfirmasi['no_afirmasi'])?$dataAfirmasi['no_afirmasi']:'-'; ?></td>
                     </tr>
                     <tr>
                         <th scope="row">Nama Sesuai Kartu</th>
                         <td>:</td>
                         <td><?php echo isset($dataAfirmasi['nama_afirmasi'])?$dataAfirmasi['nama_afirmasi']:'-'; ?></td>
                     </tr>
                     <tr>
                         <th scope="row">Nomor DTKS</th>
                         <td>:</td>
                         <td><?php echo isset($dataAfirmasi['dtks'])? $dataAfirmasi['dtks']:'-'; ?></td>
                     </tr>
                 <?php } ?>
                 <?php 
                  if ($dataJalur['input_nilai'] == 1) { ?>
                     <tr>
                         <th scope="row">Total Rata-rata Nilai</th>
                         <td>:</td>
                         <td><?= $dataNilai['total']; ?></td>
                     </tr>
                     <?php if($dataNilai['isRank'] !=0):?>
                        <tr>
                         <th scope="row">Rangking</th>
                         <td>:</td>
                         <td><?= $dataNilai['rank']; ?></td>
                         <tr>
                         <th scope="row">Skor Rangking</th>
                         <td>:</td>
                         <td><?= $dataNilai['skorRank']; ?></td>
                     </tr>
                    <?php endif?>
                     <tr>
                         <th scope="row">Total Skore Nilai</th>
                         <td>:</td>
                         <td><?= $dataNilai['totalSkor']; ?></td>
                     </tr>
                 <?php } ?>

             </tbody>
         </table>
     </div>
     <div class="col-md-6">
         <h2>Sekolah</h2>
         <table class="table table-sm">
             <tbody>
                 <tr>
                     <th scope="row">Asal Sekolah</th>
                     <td>:</td>
                     <td><?= $userData['sekolahAsal']; ?></td>
                 </tr>
                 <tr>
                     <th scope="row">NPSN</th>
                     <td>:</td>
                     <td><?= $userData['npsn']; ?></td>
                 </tr>

             </tbody>
         </table>
     </div>
     <div class="row mb-5">
         <div class="col"><a href="<?= base_url('Akun/PrintRegistrasi') ?>" Target="_blank" class="btn btn-primary mt-5">Cetak Bukti Pendaftaran</a></div>
     </div>
 </div>

 <!-- end informasi pendaftar -->