<div class="container-fluid">
	<h1 class="h3 mb-4 text-gray-800"><?= $title ?></h1>
	<div class="row">
		<div class="col-4">
			<?= $this->session->flashdata('message') ?>
		</div>
	</div>
	<div class="row">
		<div class="col-12">
			<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">
							<span class="num">2</span>
							Orang Tua
						</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">
					<?= $this->session->flashdata('message') ?>
	<form id="form-1" action="<?=base_url("Operator/SimpanBiodata")?>">
		<div class="row my-3">
			<div class="col-6 col-lg-6">
				<label for="koreg d-none"></label>
				<input type="hidden" class="form-control form-control-sm form-control-custum" name="koreg" id="koreg"
					value="<?= $formBiodata['koreg'] ?>" readonly>
			</div>
			<div class="col-6 col-lg-6">
				<label for="noDaftar d-none"></label>
				<input type="hidden" class="form-control form-control-sm form-control-custum" name="noDaftar"
					value="<?= $formBiodata['noDaftar'] ?>" readonly>
			</div>
		</div>
		<input type="hidden" name="id" value=" <?= $formBiodata['id'] ?>">
		<div class="row my-3">
			<div class="col-6 col-lg-6">
				<label for="nama">Nama Pendaftar</label>
				<input type="text" class="form-control form-control-sm form-control-custum"
					value="<?= $formBiodata['nama'] ?>" 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 form-control-sm form-control-custum" name="nik" id="nik"
					value="<?= $formBiodata['nik'] ?>">
			</div>
		</div>

		<div class="row my-3">
			<div class="col-6 col-lg-6">
				<label for="nisn">NISN</label>
				<input type="text" class="form-control form-control-sm form-control-custum" name="nisn" id="nisn"
					value="<?= $formBiodata['nisn'] ?>">
			</div>
			<div class="col-6 col-lg-6">
				<label for="email">Email</label>
				<input type="text" class="form-control form-control-sm form-control-custum" name="email" id="email"
					value="<?= $formBiodata['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" value="<?= $formBiodata['tempatLahir'] ?>"
					placeholder="Tempat lahir">
			</div>
			<div class="col-6 col-lg-6">
				<label for="tglLahir">Tanggal Lahir</label>
				<input type="text" onkeydown="return false;" autocomplete="off"
					class="tglLahir form-control form-control-sm form-control-custum" id="tglLahir" name="tglLahir"
					value="<?= $formBiodata['tglLahir'] ?>" placeholder="Tanggal lahir">
			</div>
		</div>

		<div class="row my-3">
			<?php
            $provinsiOld = $dataUser['provinsi'];
            $kecamatanOld = $dataUser['kecamatan'];
            $desaOld = $dataUser['desa'];
            $kotaOld = $dataUser['kota'];

            ?>
			<div class="col-6 col-lg-6">
				<label for="jk">Jenis Kelamin</label>
				<select name="jk" id="jk" class="jk form-control form-control-sm">
					<option value="<?= $dataUser['user']['jk'] ?>"><?php if ($dataUser['user']['jk'] == "L") {
                                                                        echo "Laki-laki";
                                                                    } else if ($dataUser['user']['jk'] == "P") {
                                                                        echo "Perempuan";
                                                                    } else {
                                                                        echo "Pilih Jenis Kelamin---";
                                                                    } ?></option>
					<option value="L">Laki-laki</option>
					<option value="P">Perempuan</option>
				</select>
			</div>
			<div class="col-6 col-lg-6">
				<label for="noHp">Nomor Telepon</label>
				<input type="number" id="noHp" class="noHp form-control form-control-sm form-control-custum" name="noHp"
					value="<?= $formBiodata['noHp'] ?>" placeholder="No Handphone">
			</div>
			<div class="col-6 col-lg-6">
				<label for="tinggiBadan">Tinggi Badan</label>
				<input type="number" class="form-control form-control-sm form-control-custum" id="tinggiBadan"
					name="tinggiBadan" value="<?= $formBiodata['tinggiBadan'] ?>" placeholder="Tinggi Badan">
			</div>
			<div class="col-6 col-lg-6">
				<label for="beratBadan">Berat badan</label>
				<input type="number" class="tinggiBadan form-control form-control-sm form-control-custum"
					id="beratBadan" name="beratBadan" value="<?= $formBiodata['beratBadan'] ?>"
					placeholder="Berat Badan">
			</div>
		</div>

		<div class="row my-3">
			<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="<?= $formBiodata['agama'] ?>"><?= $formBiodata['agama'] ?></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 class="col-6 col-lg-6">
				<label for="anak_ke">Anak </label>
				<select name="anak_ke" id="anak_ke" class="form-control form-control-sm form-control-custum anak_ke">
					<option value="<?= $formBiodata['anak_ke'] ?>"><?= $formBiodata['anak_ke'] ?></option>
					<option value="Ke-1">Ke-1</option>
					<option value="Ke-2">Ke-2</option>
					<option value="Ke-3">Ke-3</option>
					<option value="Ke-4">Ke-4</option>
					<option value="Ke-5">Ke-5</option>
					<option value="Ke-6">Ke-6</option>
					<option value="Ke-7">Ke-7</option>
					<option value="Ke-8">Ke-8</option>
					<option value="Ke-10">Ke-10</option>
					<option value="Ke-11">Ke-11</option>

				</select>

			</div>
		</div>

		<div class="row my-3">
			<div class="col-6 col-lg-6">
				<label for="sekolahAsal">Asal Sekolah Dasar</label>
				<input type="text" class="sekolahAsal form-control form-control-sm form-control-custum"
					name="sekolahAsal" value="<?= $formBiodata['sekolahAsal'] ?>" placeholder="Asal Sekolah">
			</div>
			<div class="col-6 col-lg-6">
				<label for="npsn">NPSN Asal Sekolah Dasar</label>
				<input type="text" class="npsn form-control form-control-sm form-control-custum" name="npsn"
					value="<?= $formBiodata['npsn'] ?>" placeholder="NPSN Asal Sekolah">
			</div>
		</div>
		<section class="alamat">
			<fieldset>
				<legend>Alamat</legend>

				<div class="row my-3">
					<div class="col-6 col-lg-6">
						<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="<?= $formBiodata['kk'] ?>" placeholder="No Kartu Keluarga">
					</div>
					<div class="col-6 col-lg-6">
						<label for="provinsi">Provinsi</label>
						<select name="provinsi" id="provinsi" class="provinsi form-control form-control-sm">
							<option value="<?php $proId = isset($provinsiOld['id']) ? ($provinsiOld['id']) : '';
                                            echo $proId; ?>"><?php $prov = isset($provinsiOld['name']) ? ($provinsiOld['name']) : 'Pilih-Provinsi---';
                                                                echo $prov; ?></option>
							<?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="kota">Kota/Kabupaten</label>
						<select name="kota" id="kota" class="kota form-control form-control-sm">
							<option value="<?php $kotaid = isset($kotaOld['id']) ? ($kotaOld['id']) : '';
                                            echo $kotaid; ?>"><?php $kotaN = isset($kotaOld['name']) ? ($kotaOld['name']) : '';
                                                                echo $kotaN ?></option>
						</select>
					</div>
					<div class="col-6 col-lg-6">
						<label for="kecamatan">Kecamatan</label>
						<select name="kecamatan" id="kecamatan" class="kecamatan form-control form-control-sm">
							<option value="<?php $kecId = isset($kecamatanOld['id']) ? ($kecamatanOld['id']) : '';
                                            echo $kecId; ?>"><?php $kecN = isset($kecamatanOld['name']) ? ($kecamatanOld['name']) : '';
                                                                echo $kecN; ?></option>
						</select>
					</div>
				</div>
				<div class="row my-3">
					<div class="col-6 col-lg-6">
						<label for="desa">Kelurahan/Desa</label>
						<select name="desa" id="desa" class="desa form-control form-control-sm">
							<option value="<?php $desaId = isset($desaOld['id']) ? ($desaOld['id']) : '';
                                            echo $desaId; ?>"><?php $desaN = isset($desaOld['name']) ? ($desaOld['name']) : '';
                                                                echo $desaN; ?></option>
						</select>
					</div>
					<div class="col-6 col-lg-6">
						<div class="row">
							<div class="col-4">
								<label for="rt">RT</label>
								<input type="number" class="form-control form-control-sm form-control-custum" name="rt"
									id="rt" value="<?= $formBiodata['rt'] ?>" placeholder="Rt">
							</div>
							<div class="col-4">
								<label for="rw">RW</label>
								<input type="number" class="form-control form-control-sm form-control-custum" id="rw"
									name="rw" value="<?= $formBiodata['rw'] ?>" placeholder="RW">
							</div>
							<div class="col-4">
								<label for="kodePos">Kode Pos</label>
								<input type="number" class="form-control form-control-sm form-control-custum"
									id="kodePos" name="kodePos" value="<?= $formBiodata['kodePos'] ?>"
									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><?= $formBiodata['alamat'] ?></textarea>
					</div>
					<div class="col-6 col-lg-6">
						<label for="longitude">Longitude</label>
						<input type="text" class="form-control form-control-sm form-control-custum longitude"
							id="longitude" name="longitude" value="<?= $formBiodata['longitude'] ?>"
							placeholder="Longitude contoh: -6.741584, 106.809561">
					</div>
				</div>
				<div class="row my-1">
					<div class="col-12 col-md-7 offset-md-5">
						<div id="map" style="width:100%; height: 34em; margin-top: 20px;"></div>
						<p>Cari Koodinat <a href="https://www.google.com/maps/@-6.741273,106.8060391,15z?hl=id"
								target="_Blank">disini</a></p>
					</div>
				</div>
			</fieldset>
		</section>
	</form>
					</div>
					<div id="step-2" class="tab-pane" role="tabpanel" aria-labelledby="step-2">
						<form  method="post" id="form-2" action="<?= base_url('Operator/simpanDataWali') ?>">
						<div class="container-ayah">
            <h2>Ayah <?= $pendaftar['nama']; ?></h2>
            <hr>
            <div class="row my-3">
                <div class="col-6 col-lg-6">
                    <label for="ayah">Nama Ayah </label>
                    <input type="text" class="form-control form-control-sm form-control-custum" value="<?php $ayah = isset($wali['ayah']) ? ($wali['ayah']) : '';
                                                                                                        echo $ayah; ?>" name="ayah" id="ayah" placeholder="Nama Ayah">
                </div>
                <div class="col-6 col-lg-6">
                    <label for="nikAyah">NIK</label>
                    <input type="text" class="form-control form-control-sm form-control-custum" name="nikAyah" id="nikAyah" value="<?php $nikAyah = isset($wali['nikAyah']) ? ($wali['nikAyah']) : '';
                                                                                                                                    echo $nikAyah;
                                                                                                                                    ?>" placeholder="NIK Ayah">
                </div>
            </div>
            <div class="row my-3">
                <div class="col-6 col-lg-6">
                    <label for="tanggalLahirAyah">Tanggal Lahir</label>
                    <input type="text" class="form-control form-control-sm form-control-custum" name="tanggalLahirAyah" id="tanggalLahirAyah" value="<?php $tanggalLahirAyah = isset($wali['TanggalLahirAyah']) ? ($wali['TanggalLahirAyah']) : '';
                                                                                                                                                        echo $tanggalLahirAyah; ?>" placeholder="Tanggal Lahir Ayah">
                </div>
                <div class="col-6 col-lg-6">
                    <label for="pendidikan">pendidikan</label>
                    <select name="pendidikanAyah" id="pendidikanAyah" class="pendidikanAyah form-control form-control-sm">
                        <option value="<?php $pendidikanAyah1 = isset($wali['pendidikanAyah']) ? ($wali['pendidikanAyah']) : '';
                                        echo  $pendidikanAyah1; ?>"><?php $pendidikanAyah = isset($wali['pendidikanAyah']) ? ($wali['pendidikanAyah']) :  'Pilih Pendidikan---';
                                                                    echo $pendidikanAyah ?></option>
                        <?php foreach ($pendidikan as $penAyah) : ?>
                            <option value="<?= $penAyah['pendidikan'] ?>"> <?= $penAyah['pendidikan'] ?></option>
                        <?php endforeach ?>
                    </select>
                </div>
            </div>
            <div class="row my-3">
                <div class="col-6 col-lg-6">
                    <label for="pekerjaan">Pekerjaan</label>
                    <select name="pekerjaanAyah" id="pekerjaanAyah" class="pekerjaanAyah form-control form-control-sm">
                        <option value="<?php $pekerjaanAyah1 = isset($wali['pekerjaanAyah']) ? ($wali['pekerjaanAyah']) : '';
                                        echo $pekerjaanAyah1; ?>"><?php $pekerjaanAyah = isset($wali['pekerjaanAyah']) ? ($wali['pekerjaanAyah']) : 'Pilih Pekerjaan---';
                                                                    echo $pekerjaanAyah ?></option>
                        <?php foreach ($pekerjaan as $penAyah) : ?>
                            <option value="<?= $penAyah['pekerjaan'] ?>"> <?= $penAyah['pekerjaan'] ?></option>
                        <?php endforeach ?>
                    </select>
                </div>
                <div class="col-6 col-lg-6">
                    <label for="penghasilan">Penghasilan</label>
                    <select name="penghasilanAyah" id="penghasilanAyah" class="penghasilanAyah form-control form-control-sm">
                        <option value="<?php $penghasilanAyah1 = isset($wali['penghasilanAyah']) ? ($wali['penghasilanAyah']) : '';
                                        echo $penghasilanAyah1;
                                        ?>"><?php $penghasilanAyah = isset($wali['penghasilanAyah']) ? ($wali['penghasilanAyah']) : 'Pilih Penghasilan---';
                                            echo $penghasilanAyah; ?></option>
                        <?php foreach ($penghasilan as $penAyah) : ?>
                            <option value="<?= $penAyah['penghasilan'] ?>"> <?= $penAyah['penghasilan'] ?></option>
                        <?php endforeach ?>
                    </select>
                </div>
            </div>
        </div>
        <div class="container-ibu mt-2">
            <h2>Ibu <?= $pendaftar['nama']; ?></h2>
            <hr>
            <div class="row my-3">
                <div class="col-6 col-lg-6">
                    <label for="ibu">Nama Ibu</label>
                    <input type="text" class="form-control form-control-sm form-control-custum" value="<?php $ibu = isset($wali['ibu']) ? ($wali['ibu']) : '';
                                                                                                        echo $ibu; ?>" name="ibu" id="ibu" placeholder="Nama Ibu">
                </div>
                <div class="col-6 col-lg-6">
                    <label for="nikIbu">NIK</label>
                    <input type="text" class="form-control form-control-sm form-control-custum" name="nikIbu" id="nikIbu" value="<?php $nikIbu = isset($wali['nikIbu']) ? ($wali['nikIbu']) : '';
                                                                                                                                    echo $nikIbu; ?>" placeholder="NIK Ibu">
                </div>
            </div>
            <div class="row my-3">
                <div class="col-6 col-lg-6">
                    <label for="tanggalLahirIbu">Tanggal Lahir</label>
                    <input type="text" class="form-control form-control-sm form-control-custum" name="tanggalLahirIbu" id="tanggalLahirIbu" value="<?php $tanggalLahirIbu = isset($wali['TanggalLahirIbu']) ? ($wali['TanggalLahirIbu']) : '';
                                                                                                                                                    echo $tanggalLahirIbu; ?>" placeholder="Tanggal Lahir Ibu">
                </div>
                <div class="col-6 col-lg-6">
                    <label for="pendidikan">pendidikan</label>
                    <select name="pendidikanIbu" id="pendidikanIbu" class="pendidikanIbu form-control form-control-sm">
                        <option value="<?php $pendidikanIbu1 = $pendidikanIbu = isset($wali['pendidikanIbu']) ? ($wali['pendidikanIbu']) : '';
                                        echo  $pendidikanIbu1; ?>"><?php $pendidikanIbu = isset($wali['pendidikanIbu']) ? ($wali['pendidikanIbu']) : 'Pilih Pendidikan--';
                                                                    echo $pendidikanIbu; ?></option>
                        <?php foreach ($pendidikan as $penIbu) : ?>
                            <option value="<?= $penIbu['pendidikan'] ?>"> <?= $penIbu['pendidikan'] ?></option>
                        <?php endforeach ?>
                    </select>
                </div>
            </div>
            <div class="row my-3">
                <div class="col-6 col-lg-6">
                    <label for="pekerjaanIbu">Pekerjaan</label>
                    <select name="pekerjaanIbu" id="pekerjaanIbu" class="pekerjaanIbu form-control form-control-sm">
                        <option value="<?php $pekerjaanIbu1 = isset($wali['pekerjaanIbu']) ? ($wali['pekerjaanIbu']) : '';
                                        echo  $pekerjaanIbu1; ?>"><?php $pekerjaanIbu = isset($wali['pekerjaanIbu']) ? ($wali['pekerjaanIbu']) : 'Pilih Pekerjaan--';
                                                                    echo $pekerjaanIbu; ?></option>
                        <?php foreach ($pekerjaan as $penIbu) : ?>
                            <option value="<?= $penIbu['pekerjaan'] ?>"> <?= $penIbu['pekerjaan'] ?></option>
                        <?php endforeach ?>
                    </select>
                </div>
                <div class="col-6 col-lg-6">
                    <label for="penghasilan">Penghasilan</label>
                    <select name="penghasilanIbu" id="penghasilanIbu" class="penghasilanIbu form-control form-control-sm">
                        <option value="<?php $penghasilanIbu1 = isset($wali['penghasilanIbu']) ? ($wali['penghasilanIbu']) : '';
                                        echo $penghasilanIbu1; ?>">
                            <?php $penghasilanIbu = isset($wali['penghasilanIbu']) ? ($wali['penghasilanIbu']) : 'Pilih Penghasilan---';
                            echo $penghasilanIbu; ?></option>
                        <?php foreach ($penghasilan as $penIbu) : ?>
                            <option value="<?= $penIbu['penghasilan'] ?>"> <?= $penIbu['penghasilan'] ?></option>
                        <?php endforeach ?>
                    </select>
                </div>
            </div>
            <div class="row my-3">
                <div class="col-6 col-lg-6">
                    <label for="notelepon">No Telepon Orang tua</label>
                    <input type="text" class="form-control form-control-sm form-control-custum" name="notelepon" id="notelepon" value="<?php $noTelepon = isset($wali['notelepon']) ? ($wali['notelepon']) : '';
                                                                                                                                        echo $noTelepon; ?>" placeholder="No Telepon">
                </div>
            </div>
						</form>
					</div>
						</div>
					<div id="step-3" class="tab-pane" role="tabpanel" aria-labelledby="step-3">
						<form action="<?= base_url('Operator/saveDaftar')?>" method="post" id="form-3">
							<div class="container-berkas mt-2">
								<div class="container my-5">
									<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 avirmasi konten -->
									  <div class="afirmasi">
										<div class="afirmasi-main">
												<div class="row my-3 .namaAfirmasi">
												<div class="col my3">
													<label for="namaAfirmasi">Pilih Nama Afirmasi</label>
													<select name="namaAfirmasi" id="namaAfirmasi" class="namaAfirmasi form-control form-control-sm">
														
													</select>
												</div>
											</div>
											</div>
											<div class="afirmasi-item1"></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 .penyelengara">
													<div class="col my3">
														<label for="penyelengara">Pilih Penyelengara Kejuaraan</label>
														<select name="penyelengara" id="penyelengara" class="penyelengara form-control form-control-sm">
															
														</select>
													</div>
												</div>
											</div>
											<div class="kejuaraan-item1">
											
											</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-main container-nilai">
                        <!-- star card body nilai -->
                        <div class="card-body">
                            <!-- start containe nilai -->
                            <div class="container">
                                 <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" class="paiK4S1" value="<?= set_value('paiK4S1') ?><?= isset( $nilai['paiK4S1']) ? $nilai['paiK4S1']:''; ?>" id="paiK4S1" maxLength="4" required><br></td>
                                            <td><input type="text" class="paiK4S2" name="paiK4S2" value="<?= set_value('paiK4S2') ?><?= isset($nilai['paiK4S2'])?$nilai['paiK4S2'] : '' ?>" id="paiK4S2" maxLength="4" required><br></td>
                                            <td><input type="text" name="paiK5S1" class="paiK5S1" value="<?= set_value('paiK5S1') ?><?= isset($nilai['paiK5S1'])?$nilai['paiK5S1']:''; ?>" id="paiK5S1" maxLength="4" required><br></td>
                                            <td><input type="text" name="paiK5S2" class="paiK5S2" value="<?= set_value('paiK5S2') ?><?= isset($nilai['paiK5S2'])?$nilai['paiK5S2']:''; ?>" id="paiK5S2" maxLength="4" required><br></td>
                                            <td><input type="text" name="paiK6S1" class="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" class="pknK4S1" name="pknK4S1" value="<?= set_value('pknK4S1') ?><?= isset( $nilai['pknK4S1']) ? $nilai['pknK4S1']:''; ?>" id="pknK4S1" maxLength="4" required><br></td>
                                            <td><input type="text" class="pknK4S2" name="pknK4S2" value="<?= set_value('pknK4S2') ?><?= isset($nilai['pknK4S2'])?$nilai['pknK4S2'] : '' ?>" id="pknK4S2" maxLength="4" required><br></td>
                                            <td><input type="text" class="pknK5S1" name="pknK5S1" value="<?= set_value('pknK5S1') ?><?= isset($nilai['pknK5S1'])?$nilai['pknK5S1']:''; ?>" id="pknK5S1" maxLength="4" required><br></td>
                                            <td><input type="text" class="pknK5S2" name="pknK5S2" value="<?= set_value('pknK5S2') ?><?= isset($nilai['pknK5S2'])?$nilai['pknK5S2']:''; ?>" id="pknK5S2" maxLength="4" required><br></td>
                                            <td><input type="text" class="pknK6S1" 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" class="indoK4S1" name="indoK4S1" value="<?= set_value('indoK4S1') ?><?= isset( $nilai['indoK4S1']) ? $nilai['indoK4S1']:''; ?>" id="indoK4S1" maxLength="4" required><br></td>
                                            <td><input type="text" class="indoK4S2" name="indoK4S2" value="<?= set_value('indoK4S2') ?><?= isset($nilai['indoK4S2'])?$nilai['indoK4S2'] : '' ?>" id="indoK4S2" maxLength="4" required><br></td>
                                            <td><input type="text" class="indoK5S1" name="indoK5S1" value="<?= set_value('indoK5S1') ?><?= isset($nilai['indoK5S1'])?$nilai['indoK5S1']:''; ?>" id="indoK5S1" maxLength="4" required><br></td>
                                            <td><input type="text" class="indoK5S2" name="indoK5S2" value="<?= set_value('indoK5S2') ?><?= isset($nilai['indoK5S2'])?$nilai['indoK5S2']:''; ?>" id="indoK5S2" maxLength="4" required><br></td>
                                            <td><input type="text" class="indoK6S1" 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" class="mtkK4S1" name="mtkK4S1" value="<?= set_value('mtkK4S1') ?><?= isset( $nilai['mtkK4S1']) ? $nilai['mtkK4S1']:''; ?>" id="mtkK4S1" maxLength="4" required><br></td>
                                            <td><input type="text" class="mtkK4S2" name="mtkK4S2" value="<?= set_value('mtkK4S2') ?><?= isset($nilai['mtkK4S2'])?$nilai['mtkK4S2'] : '' ?>" id="mtkK4S2" maxLength="4" required><br></td>
                                            <td><input type="text" class="mtkK5S1" name="mtkK5S1" value="<?= set_value('mtkK5S1') ?><?= isset($nilai['mtkK5S1'])?$nilai['mtkK5S1']:''; ?>" id="mtkK5S1" maxLength="4" required><br></td>
                                            <td><input type="text" class="mtkK5S2" name="mtkK5S2" value="<?= set_value('mtkK5S2') ?><?= isset($nilai['mtkK5S2'])?$nilai['mtkK5S2']:''; ?>" id="mtkK5S2" maxLength="4" required><br></td>
                                            <td><input type="text" class="mtkK6S1" 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" class="ipaK4S1" name="ipaK4S1" value="<?= set_value('ipaK4S1') ?><?= isset( $nilai['ipaK4S1']) ? $nilai['ipaK4S1']:''; ?>" id="ipaK4S1" maxLength="4" required><br></td>
                                            <td><input type="text" class="ipaK4S2" name="ipaK4S2" value="<?= set_value('ipaK4S2') ?><?= isset($nilai['ipaK4S2'])?$nilai['ipaK4S2'] : '' ?>" id="ipaK4S2" maxLength="4" required><br></td>
                                            <td><input type="text" class="ipaK5S1" name="ipaK5S1" value="<?= set_value('ipaK5S1') ?><?= isset($nilai['ipaK5S1'])?$nilai['ipaK5S1']:''; ?>" id="ipaK5S1" maxLength="4" required><br></td>
                                            <td><input type="text" class="ipaK5S2" name="ipaK5S2" value="<?= set_value('ipaK5S2') ?><?= isset($nilai['ipaK5S2'])?$nilai['ipaK5S2']:''; ?>" id="ipaK5S2" maxLength="4" required><br></td>
                                            <td><input type="text" class="ipaK6S1" 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" class="ipsK4S1" 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'] : '' ?>" class="ipsK4S2" id="ipsK4S2" maxLength="4" required><br></td>
                                            <td><input type="text" name="ipsK5S1" value="<?= set_value('ipsK5S1') ?><?= isset($nilai['ipsK5S1'])?$nilai['ipsK5S1']:''; ?>" class="ipsK5S1" id="ipsK5S1" maxLength="4" required><br></td>
                                            <td><input type="text" name="ipsK5S2" value="<?= set_value('ipsK5S2') ?><?= isset($nilai['ipsK5S2'])?$nilai['ipsK5S2']:''; ?>" class="ipsK5S2" id="ipsK5S2" maxLength="4" required><br></td>
                                            <td><input type="text" name="ipsK6S1" class="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" class="sbdpK4S1" maxLength="4" required><br></td> 
                                            <td><input type="text" name="sbdpK4S2" value="<?= set_value('sbdpK4S2') ?><?= isset($nilai['sbdpK4S2'])?$nilai['sbdpK4S2'] : '' ?>" class="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" class="sbdpK5S1" maxLength="4" required><br></td>
                                            <td><input type="text" name="sbdpK5S2" value="<?= set_value('sbdpK5S2') ?><?= isset($nilai['sbdpK5S2'])?$nilai['sbdpK5S2']:''; ?>" id="sbdpK5S2" class="sbdpK5S2" maxLength="4" required><br></td>
                                            <td><input type="text" name="sbdpK6S1" value="<?= set_value('sbdpK6S1') ?><?= isset($nilai['sbdpK6S1'])?$nilai['sbdpK6S1']:''; ?>" id="sbdpK6S1" class="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" class="pjokK4S1" maxLength="4" required><br></td>
                                            <td><input type="text" class="pjokK4S2" 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']:''; ?>" class="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" class="pjokK5S2" maxLength="4" required><br></td>
                                            <td><input type="text" name="pjokK6S1" class="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']:''; ?>" class="sundaK4S1" id="sundaK4S1" maxLength="4" required><br></td>
                                            <td><input type="text" name="sundaK4S2" value="<?= set_value('sundaK4S2') ?><?= isset($nilai['sundaK4S2'])?$nilai['sundaK4S2'] : '' ?>" class="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" class="sundaK5S1" maxLength="4" required><br></td>
                                            <td><input type="text" name="sundaK5S2" value="<?= set_value('sundaK5S2') ?><?= isset($nilai['sundaK5S2'])?$nilai['sundaK5S2']:''; ?>" id="sundaK5S2" class="sundaK5S2" maxLength="4" required><br></td>
                                            <td><input type="text" name="sundaK6S1" class="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>
					</div>
                        <!-- end card body nilai -->
                    </div>
                    <div class="raport-item1"></div>
                    <div class="raport-item2"></div>
                    <div class="raport-item3"></div>
                    <div class="raport-item4"></div>
                </div>
                <!-- section end jalur raport -->
             
									</div>
								</div>
							</div>
						</form>
					</div>
					
    			</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>
				<!-- end div smar wizard -->
			</div>
		</div>
	</div>

</div>