<script type="text/javascript">

  function cekstatusayah1() {
  	// Get the checkbox
  	var checkBox = document.getElementById("status_ayah1");
  	// If the checkbox is checked, display the output text
  	if (checkBox.checked == true){
   		document.getElementById("nik_ayah").value = '';
		document.getElementById("pekerjaan_ayah").value = '';
		document.getElementById("hasilayah").value = '';
		document.getElementById("input_alamat_ayah").value = '';
  	} else {
	
  	}

  }
  function cekstatusayah2() {
  	// Get the checkbox
  	var checkBox = document.getElementById("status_ayah2");
  	// If the checkbox is checked, display the output text
  	if (checkBox.checked == true){
   		document.getElementById("nik_ayah").value = '1111222233334444';
		document.getElementById("pekerjaan_ayah").value = '01 Tidak bekerja';
		document.getElementById("hasilayah").value = 'Tidak Berpenghasilan';
		document.getElementById("input_alamat_ayah").value = '- Meninggal -';

  	} else {

  	}

  }

  function cekstatusibu1() {
  	// Get the checkbox
  	var checkBox = document.getElementById("status_ibu1");

  	// If the checkbox is checked, display the output text
  	if (checkBox.checked == true){
   		document.getElementById("nik_ibu").value = '';
		document.getElementById("pekerjaan_ibu").value = '';
		document.getElementById("hasilibu").value = '';
		document.getElementById("input_alamat_ibu").value = '';

  	} else {
  	}

  }
  function cekstatusibu2() {
  	// Get the checkbox
  	var checkBox = document.getElementById("status_ibu2");

  	// If the checkbox is checked, display the output text
  	if (checkBox.checked == true){
   		document.getElementById("nik_ibu").value = '1111222233334444';
		document.getElementById("pekerjaan_ibu").value = '01 Tidak bekerja / Ibu Rumah Tangga';
		document.getElementById("hasilibu").value = 'Tidak Berpenghasilan';
		document.getElementById("input_alamat_ibu").value = '- Meninggal -';

  	} else {
  	}

  }
</script>

<div id="page-wrapper">
	<div class="main-page">
		<div class="forms">
			<div class=" form-grids row form-grids-right">
				<div class="widget-shadow " data-example-id="basic-forms"> 
					<div class="form-title">
						<h4>Edit Calon Siswa </h4>
					</div>
					<br>
					<div class="form-body">
						<form class="form-horizontal" action="<?php echo base_url();?>admin/Admin/calonSiswaEditExec" method="post" enctype="multipart/form-data">
							<input type="hidden" name="id_calon_siswa" value="<?php echo $calonsiswa->id_calon_siswa;?>">
							<input type="hidden" name="id_status" value="<?php echo $calonsiswa->id_status;?>">
							<h3 style="padding-left:20px;">Data Diri</h3>
							<hr>
							<div class="row row-sm mg-b-20">
								<div class="col-lg-3">
								  <p class="mg-b-10">Nomor Pendaftaran</p>
								</div>
								<div class="form-group col-lg-2">
									<input type="text" class="form-control" name="nomor_pendaftaran" value="<?php echo $calonsiswa->nomor_pendaftaran;?>" required disabled>
								</div>
							</div><!-- row -->
							<div class="row row-sm mg-b-20">
								<div class="col-lg-3">
								  <p class="mg-b-10">NIK</p>
								</div>
								<div class="form-group col-lg-3">
									<input type="text" class="form-control" name="nik" value="<?php echo $calonsiswa->nik;?>" required disabled>
								</div><!-- col-4 -->
							</div><!-- row -->
							<div class="row row-sm mg-b-20">
								<div class="col-lg-3">
								  <p class="mg-b-10">Nama</p>
								</div>
								<div class="form-group col-lg-4">
									<input type="text" class="form-control" name="nama" value="<?php echo $calonsiswa->nama;?>" required>
								</div><!-- col-4 -->
							</div><!-- row -->
							<div class="row row-sm mg-b-20">
								<div class="col-lg-3">
								  <p class="mg-b-10">Tempat Lahir</p>
								</div>
								<div class="form-group col-lg-4">
									<input type="text" class="form-control" name="tempat_lahir" value="<?php echo $calonsiswa->tempat_lahir;?>" required>
								</div><!-- col-4 -->
							</div><!-- row -->
							<div class="row row-sm mg-b-20">
								<div class="col-lg-3">
								  <p class="mg-b-10">Tanggal Lahir</p>
								</div>
								<div class="form-group col-lg-3">
									<input type="date" class="form-control" name="tanggal_lahir" value="<?php echo $calonsiswa->tanggal_lahir;?>" required>
								</div><!-- col-4 -->
							</div><!-- row -->
							<div class="row row-sm mg-b-20">
								<div class="col-lg-3">
								  <p class="mg-b-10">Jenis Kelamin</p>
								</div>
								<div class="form-group col-lg-8">
									<input type="radio" name="jen_kel" value="L" <?php echo ($calonsiswa->jen_kel == "L" ? "checked" : "");?> required> Laki-Laki
									<input type="radio" name="jen_kel" value="P" <?php echo ($calonsiswa->jen_kel == "P" ? "checked" : "");?> required> Perempuan
								</div><!-- col-4 -->
							</div><!-- row -->
							<div class="row row-sm mg-b-20">
								<div class="col-lg-3">
								  <p class="mg-b-10">Agama</p>
								</div>
								<div class="form-group col-lg-3">
									<select name="agama" class="form-control">
										<?php
											$agama = array("Islam","Kristen Protestan","Katholik","Hindu","Budha","Kong Hu Cu");
											for($y=0;$y<=5;$y++)
											{
												?>
												<option value="<?php echo $agama[$y];?>" <?php echo ($calonsiswa->agama == $agama[$y] ? "selected" : "");?>><?php echo $agama[$y];?></option>
												<?php
											}
										?>
									</select>
								</div><!-- col-4 -->
							</div><!-- row -->
							<div class="row row-sm mg-b-20">
								<div class="col-lg-3">
								  <p class="mg-b-10">Nomor HP (Whatsapp)</p>
								</div>
								<div class="form-group col-lg-4">
									<input type="text" class="form-control" name="no_hp" value="<?php echo $calonsiswa->no_hp;?>" required onkeypress="return (event.charCode !=8 && event.charCode ==0 || (event.charCode >= 48 && event.charCode <= 57))">
								</div><!-- col-4 -->
							</div><!-- row -->
							<div class="row row-sm mg-b-20">
								<div class="col-lg-3">
								  <p class="mg-b-10">Alamat</p>
								</div>
								<div class="form-group col-lg-8">
									<input type="text" class="form-control" name="alamat" value="<?php echo $calonsiswa->alamat;?>" required>
								</div><!-- col-4 -->
							</div><!-- row -->
							<div class="row row-sm mg-b-20">
								<div class="col-lg-3">
								  <p class="mg-b-10">Transportasi</p>
								</div>
								<div class="form-group col-lg-3">
									<select class="form-control select2-no-search" name="transportasi" required>
                						<option value="">- pilih transportasi -</option>
                						<option value="Jalan Kaki" <?php echo ($calonsiswa->transportasi == "Jalan Kaki" ? "selected" : "");?>>Jalan Kaki</option>
                						<option value="Sepeda" <?php echo ($calonsiswa->transportasi == "Sepeda" ? "selected" : "");?>>Sepeda</option>
                						<option value="Sepeda Motor" <?php echo ($calonsiswa->transportasi == "Sepeda Motor" ? "selected" : "");?>>Sepeda Motor</option>
                						<option value="Mobil Pribadi" <?php echo ($calonsiswa->transportasi == "Mobil Pribadi" ? "selected" : "");?>>Mobil Pribadi</option>
                						<option value="Angkutan Umum" <?php echo ($calonsiswa->transportasi == "Angkutan Umum" ? "selected" : "");?>>Angkutan Umum</option>
                						<option value="Lainnya" <?php echo ($calonsiswa->transportasi == "Lainnya" ? "selected" : "");?>>Lainnya</option>
              						</select>
								</div><!-- col-4 -->
							</div><!-- row -->
							<div class="row row-sm mg-b-20">
								<div class="col-lg-3">
								  <p class="mg-b-10">Jarak Rumah</p>
								</div>
								<div class="form-group col-lg-2">
									<select class="form-control select2-no-search" name="jarak" required>
                						<option value="">- pilih jarak -</option>
                						<option value="Kurang dari 5 Km" <?php echo ($calonsiswa->jarak == "Kurang dari 5 Km" ? "selected" : "");?>>Kurang dari 5 Km</option>
                						<option value="Antara 5 - 10 Km" <?php echo ($calonsiswa->jarak == "Antara 5 - 10 Km" ? "selected" : "");?>>Antara 5 - 10 Km</option>
                						<option value="Antara 11 - 20 Km" <?php echo ($calonsiswa->jarak == "Antara 11 - 20 Km" ? "selected" : "");?>>Antara 11 - 20 Km</option>
                						<option value="Antara 21 - 30 Km" <?php echo ($calonsiswa->jarak == "Antara 21 - 30 Km" ? "selected" : "");?>>Antara 21 - 30 Km</option>
                						<option value="Lebih dari 30 Km" <?php echo ($calonsiswa->jarak == "Lebih dari 30 Km" ? "selected" : "");?>>Lebih dari 30 Km</option>
              						</select>
								</div><!-- col-4 -->
							</div><!-- row -->
							<div class="row row-sm mg-b-20">
								<div class="col-lg-3">
								  <p class="mg-b-10">Waktu Tempuh (menit)</p>
								</div>
								<div class="form-group col-lg-2">
									<input type="number" class="form-control" name="waktu_tempuh" value="<?php echo $calonsiswa->waktu_tempuh;?>" required>
								</div><!-- col-4 -->
							</div><!-- row -->
							<div class="row row-sm mg-b-20">
								<div class="col-lg-3">
								  <p class="mg-b-10">Cita-Cita</p>
								</div>
								<div class="form-group col-lg-4">
									<input type="text" class="form-control" name="cita_cita" value="<?php echo $calonsiswa->cita_cita;?>" required>
								</div><!-- col-4 -->
							</div><!-- row -->
							<div class="row row-sm mg-b-20">
								<div class="col-lg-3">
								  <p class="mg-b-10">Hobi</p>
								</div>
								<div class="form-group col-lg-4">
									<input type="text" class="form-control" name="hoby" value="<?php echo $calonsiswa->hoby;?>" required>
								</div><!-- col-4 -->
							</div><!-- row -->
							<div class="row row-sm mg-b-20">
								<div class="col-lg-3">
								  <p class="mg-b-10">Foto</p>
								</div>
								<div class="form-group col-lg-4">
									<img src="<?php echo base_url();?>files/calon_siswa/foto/<?php echo $calonsiswa->foto;?>" height="200px">
									<input type="file" class="form-control" name="foto">
								</div><!-- col-4 -->
							</div><!-- row -->
							<div class="row row-sm mg-b-20">
								<div class="col-lg-3">
								  <p class="mg-b-10">Nomor KIP</p>
								</div>
								<div class="form-group col-lg-3">
									<input type="text" class="form-control" name="kip" value="<?php echo $calonsiswa->kip;?>">
								</div><!-- col-4 -->
							</div><!-- row -->
							<div class="row row-sm mg-b-20">
								<div class="col-lg-3">
								  <p class="mg-b-10">Nomor KKS</p>
								</div>
								<div class="form-group col-lg-3">
									<input type="text" class="form-control" name="kks" value="<?php echo $calonsiswa->kks;?>">
								</div><!-- col-4 -->
							</div><!-- row -->
							<div class="row row-sm mg-b-20">
								<div class="col-lg-3">
								  <p class="mg-b-10">Nomor PKH</p>
								</div>
								<div class="form-group col-lg-3">
									<input type="text" class="form-control" name="pkh" value="<?php echo $calonsiswa->pkh;?>">
								</div><!-- col-4 -->
							</div><!-- row -->
							<br>
							<hr>
							<h3 style="padding-left:20px;">Data Keluarga</h3>
							<hr>
							<div class="row row-sm mg-b-20">
								<div class="col-lg-3">
								  <p class="mg-b-10">Nomor KK</p>
								</div>
								<div class="form-group col-lg-3">
									<input type="text" class="form-control" name="no_kk" value="<?php echo $calonsiswa->no_kk;?>" required>
								</div><!-- col-4 -->
							</div><!-- row -->
							<div class="row row-sm mg-b-20">
								<div class="col-lg-3">
								  <p class="mg-b-10">Nama Kepala Keluarga</p>
								</div>
								<div class="form-group col-lg-3">
									<input type="text" class="form-control" name="nama_kk" value="<?php echo $calonsiswa->nama_kk;?>" required>
								</div><!-- col-4 -->
							</div><!-- row -->
							<div class="row row-sm mg-b-20">
								<div class="col-lg-3">
								  <p class="mg-b-10">Pekerjaan Kepala Keluarga</p>
								</div>
								<div class="form-group col-lg-3">
						
              						<select class="form-control select2-no-search" name="pekerjaan_kk" required>
                						<option value="">- pilih pekerjaan kepala keluarga-</option>
										<option value="01 Tidak bekerja" <?php echo ($calonsiswa->pekerjaan_kk == "01 Tidak bekerja" ? "selected" : "");?>>01 Tidak bekerja</option>
                						<option value="02 Pensiunan" <?php echo ($calonsiswa->pekerjaan_kk == "02 Pensiunan" ? "selected" : "");?>>02 Pensiunan</option>
               					 		<option value="03 PNS (selain poin 05 dan 10)" <?php echo ($calonsiswa->pekerjaan_kk == "03 PNS (selain poin 05 dan 10)" ? "selected" : "");?>>03 PNS (selain poin 05 dan 10)</option>
                						<option value="04 TNI/Polri" <?php echo ($calonsiswa->pekerjaan_kk == "04 TNI/Polri" ? "selected" : "");?>>04 TNI/Polri</option>
                						<option value="05 Guru/Dosen" <?php echo ($calonsiswa->pekerjaan_kk == "05 Guru/Dosen" ? "selected" : "");?>>05 Guru/Dosen</option>
                						<option value="06 Pegawai Swasta" <?php echo ($calonsiswa->pekerjaan_kk == "06 Pegawai Swasta" ? "selected" : "");?>>06 Pegawai Swasta</option>
                						<option value="07 Wiraswasta/Wirausaha" <?php echo ($calonsiswa->pekerjaan_kk == "07 Wiraswasta/Wirausaha" ? "selected" : "");?>>07 Wiraswasta/Wirausaha</option>
										<option value="08 Pengacara/Hakim/Jaksa/Notaris" <?php echo ($calonsiswa->pekerjaan_kk == "08 Pengacara/Hakim/Jaksa/Notaris" ? "selected" : "");?>>08 Pengacara/Hakim/Jaksa/Notaris</option>
										<option value="09 Seniman/Pelukis/Artis/Sejenis" <?php echo ($calonsiswa->pekerjaan_kk == "09 Seniman/Pelukis/Artis/Sejenis" ? "selected" : "");?>>09 Seniman/Pelukis/Artis/Sejenis</option>
										<option value="10 Dokter/Bidan/Perawat" <?php echo ($calonsiswa->pekerjaan_kk == "10 Dokter/Bidan/Perawat" ? "selected" : "");?>>10 Dokter/Bidan/Perawat</option>
										<option value="11 Pilot/Pramugari" <?php echo ($calonsiswa->pekerjaan_kk == "11 Pilot/Pramugari" ? "selected" : "");?>>11 Pilot/Pramugari</option>
										<option value="12 Pedagang" <?php echo ($calonsiswa->pekerjaan_kk == "12 Pedagang" ? "selected" : "");?>>12 Pedagang</option>
										<option value="13 Petani/Peternak" <?php echo ($calonsiswa->pekerjaan_kk == "13 Petani/Peternak" ? "selected" : "");?>>13 Petani/Peternak</option>
										<option value="14 Nelayan" <?php echo ($calonsiswa->pekerjaan_kk == "14 Nelayan" ? "selected" : "");?>>14 Nelayan</option>
										<option value="15 Buruh (Tani/Pabrik/Bangunan/Serabutan)" <?php echo ($calonsiswa->pekerjaan_kk == "15 Buruh (Tani/Pabrik/Bangunan/Serabutan)" ? "selected" : "");?>>15 Buruh (Tani/Pabrik/Bangunan/Serabutan)</option>
										<option value="16 Sopir/Masinis/Kondektur" <?php echo ($calonsiswa->pekerjaan_kk == "16 Sopir/Masinis/Kondektur" ? "selected" : "");?>>16 Sopir/Masinis/Kondektur</option>
										<option value="17 Politikus" <?php echo ($calonsiswa->pekerjaan_kk == "17 Politikus" ? "selected" : "");?>>17 Politikus</option>
										<option value="18 Lainnya" <?php echo ($calonsiswa->pekerjaan_kk == "18 Lainnya" ? "selected" : "");?>>18 Lainnya</option>
              						</select>
								</div><!-- col-4 -->
							</div><!-- row -->
							<div class="row row-sm mg-b-20">
								<div class="col-lg-3">
								  <p class="mg-b-10">Anak Ke-</p>
								</div>
								<div class="form-group col-lg-2">
									<input type="number" class="form-control" name="anak_ke" value="<?php echo $calonsiswa->anak_ke;?>" required>
								</div><!-- col-4 -->
							</div><!-- row -->
							<div class="row row-sm mg-b-20">
								<div class="col-lg-3">
								  <p class="mg-b-10">Jumlah Saudara</p>
								</div>
								<div class="form-group col-lg-2">
									<input type="number" class="form-control" name="jumlah_saudara" value="<?php echo $calonsiswa->jumlah_saudara;?>" required>
								</div><!-- col-4 -->
							</div><!-- row -->
							<br>
							<br>
							<div class="row row-sm mg-b-20">
								<div class="col-lg-3">
								  <p class="mg-b-10">Nama Ayah</p>
								</div>
								<div class="form-group col-lg-4">
									<input type="text" class="form-control" name="nama_ayah" value="<?php echo $calonsiswa->nama_ayah;?>" required>
								</div><!-- col-4 -->
							</div><!-- row -->
							
							<div class="row row-sm mg-b-20">
								<div class="col-lg-3">
								  <p class="mg-b-10">Status Ayah</p>
								</div>
								<div class="form-group col-lg-4">
								<label class="rdiobox">
                					<input type="radio" name="status_ayah" id="status_ayah1" value="H" <?php echo ($calonsiswa->status_ayah == "H" ? "checked" : "");?> required>
                					<span>Masih Hidup</span>
              					</label>
								<label class="rdiobox">
                					<input type="radio" name="status_ayah" id="status_ayah2" value="M" <?php echo ($calonsiswa->status_ayah == "M" ? "checked" : "");?> required>
                					<span>Meninggal</span>
              					</label>
								</div><!-- col-4 -->
							</div><!-- row -->
							
							<div class="row row-sm mg-b-20">
								<div class="col-lg-3">
								  <p class="mg-b-10">NIK Ayah</p>
								</div>
								<div class="form-group col-lg-4">
									<input class="form-control" maxlength = "16" minlength = "16" value="<?php echo $calonsiswa->nik_ayah;?>" type="text" name="nik_ayah" id="nik_ayah" placeholder="NIK Ayah Kandung" required onkeypress="return (event.charCode !=8 && event.charCode ==0 || (event.charCode >= 48 && event.charCode <= 57))">
								</div><!-- col-4 -->
							</div><!-- row -->
							<div class="row row-sm mg-b-20">
								<div class="col-lg-3">
								  <p class="mg-b-10">Tempat Lahir Ayah</p>
								</div>
								<div class="form-group col-lg-4">
									<input type="text" class="form-control" name="tempat_lahir_ayah" value="<?php echo $calonsiswa->tempat_lahir_ayah;?>" required>
								</div><!-- col-4 -->
							</div><!-- row -->
							<div class="row row-sm mg-b-20">
								<div class="col-lg-3">
								  <p class="mg-b-10">Tanggal Lahir Ayah</p>
								</div>
								<div class="form-group col-lg-3">
									<input type="date" class="form-control" name="tanggal_lahir_ayah" value="<?php echo $calonsiswa->tanggal_lahir_ayah;?>" required>
								</div><!-- col-4 -->
							</div><!-- row -->				
							<div class="row row-sm mg-b-20">
								<div class="col-lg-3">
								  <p class="mg-b-10">Pendidikan Ayah</p>
								</div>
								<div class="form-group col-lg-4">
									<select class="form-control select2-no-search" name="pendidikan_ayah" required>
                						<option value="">- pilih pendidikan ayah-</option>
										<option value="Tidak berpendidikan formal" <?php echo ($calonsiswa->pendidikan_ayah == "Tidak berpendidikan formal" ? "selected" : "");?>>Tidak berpendidikan formal</option>
               	 						<option value="SD/Sederajat" <?php echo ($calonsiswa->pendidikan_ayah == "SD/Sederajat" ? "selected" : "");?>>SD/Sederajat</option>
                						<option value="SMP/Sederajat" <?php echo ($calonsiswa->pendidikan_ayah == "SMP/Sederajat" ? "selected" : "");?>>SMP/Sederajat</option>
                						<option value="SMA/Sederajat" <?php echo ($calonsiswa->pendidikan_ayah == "SMA/Sederajat" ? "selected" : "");?>>SMA/Sederajat</option>
                						<option value="D1" <?php echo ($calonsiswa->pendidikan_ayah == "D1" ? "selected" : "");?>>D1</option>
                						<option value="D2" <?php echo ($calonsiswa->pendidikan_ayah == "D2" ? "selected" : "");?>>D2</option>
                						<option value="D3" <?php echo ($calonsiswa->pendidikan_ayah == "D3" ? "selected" : "");?>>D3</option>
										<option value="S1" <?php echo ($calonsiswa->pendidikan_ayah == "S1" ? "selected" : "");?>>S1</option>
										<option value="≥ S2" <?php echo ($calonsiswa->pendidikan_ayah == "≥ S2" ? "selected" : "");?>>≥ S2</option>
              						</select>
								</div><!-- col-4 -->
							</div><!-- row -->

							<div class="row row-sm mg-b-20">
								<div class="col-lg-3">
								  <p class="mg-b-10">Pekerjaan Ayah</p>
								</div>
								<div class="form-group col-lg-4">
									<select class="form-control select2-no-search" name="pekerjaan_ayah" id="pekerjaan_ayah" required>
                <option value="">- pilih pekerjaan ayah-</option>
				<option value="01 Tidak bekerja" <?php echo ($calonsiswa->pekerjaan_ayah == "01 Tidak bekerja" ? "selected" : "");?>>01 Tidak bekerja</option>
                <option value="02 Pensiunan" <?php echo ($calonsiswa->pekerjaan_ayah == "02 Pensiunan" ? "selected" : "");?>>02 Pensiunan</option>
                <option value="03 PNS (selain poin 05 dan 10)" <?php echo ($calonsiswa->pekerjaan_ayah == "03 PNS (selain poin 05 dan 10)" ? "selected" : "");?>>03 PNS (selain poin 05 dan 10)</option>
                <option value="04 TNI/Polri" <?php echo ($calonsiswa->pekerjaan_ayah == "04 TNI/Polri" ? "selected" : "");?>>04 TNI/Polri</option>
                <option value="05 Guru/Dosen" <?php echo ($calonsiswa->pekerjaan_ayah == "05 Guru/Dosen" ? "selected" : "");?>>05 Guru/Dosen</option>
                <option value="06 Pegawai Swasta" <?php echo ($calonsiswa->pekerjaan_ayah == "06 Pegawai Swasta" ? "selected" : "");?>>06 Pegawai Swasta</option>
                <option value="07 Wiraswasta/Wirausaha" <?php echo ($calonsiswa->pekerjaan_ayah == "07 Wiraswasta/Wirausaha" ? "selected" : "");?>>07 Wiraswasta/Wirausaha</option>
				<option value="08 Pengacara/Hakim/Jaksa/Notaris" <?php echo ($calonsiswa->pekerjaan_ayah == "08 Pengacara/Hakim/Jaksa/Notaris" ? "selected" : "");?>>08 Pengacara/Hakim/Jaksa/Notaris</option>
				<option value="09 Seniman/Pelukis/Artis/Sejenis" <?php echo ($calonsiswa->pekerjaan_ayah == "09 Seniman/Pelukis/Artis/Sejenis" ? "selected" : "");?>>09 Seniman/Pelukis/Artis/Sejenis</option>
				<option value="10 Dokter/Bidan/Perawat" <?php echo ($calonsiswa->pekerjaan_ayah == "10 Dokter/Bidan/Perawat" ? "selected" : "");?>>10 Dokter/Bidan/Perawat</option>
				<option value="11 Pilot/Pramugari" <?php echo ($calonsiswa->pekerjaan_ayah == "11 Pilot/Pramugari" ? "selected" : "");?>>11 Pilot/Pramugari</option>
				<option value="12 Pedagang" <?php echo ($calonsiswa->pekerjaan_ayah == "12 Pedagang" ? "selected" : "");?>>12 Pedagang</option>
				<option value="13 Petani/Peternak" <?php echo ($calonsiswa->pekerjaan_ayah == "13 Petani/Peternak" ? "selected" : "");?>>13 Petani/Peternak</option>
				<option value="14 Nelayan" <?php echo ($calonsiswa->pekerjaan_ayah == "14 Nelayan" ? "selected" : "");?>>14 Nelayan</option>
				<option value="15 Buruh (Tani/Pabrik/Bangunan/Serabutan)" <?php echo ($calonsiswa->pekerjaan_ayah == "15 Buruh (Tani/Pabrik/Bangunan/Serabutan)" ? "selected" : "");?>>15 Buruh (Tani/Pabrik/Bangunan/Serabutan)</option>
				<option value="16 Sopir/Masinis/Kondektur" <?php echo ($calonsiswa->pekerjaan_ayah == "16 Sopir/Masinis/Kondektur" ? "selected" : "");?>>16 Sopir/Masinis/Kondektur</option>
				<option value="17 Politikus" <?php echo ($calonsiswa->pekerjaan_ayah == "17 Politikus" ? "selected" : "");?>>17 Politikus</option>
				<option value="18 Lainnya" <?php echo ($calonsiswa->pekerjaan_ayah == "18 Lainnya" ? "selected" : "");?>>18 Lainnya</option>
              						</select>
								</div><!-- col-4 -->
							</div><!-- row -->
							<div class="row row-sm mg-b-20">
								<div class="col-lg-3">
								  <p class="mg-b-10">Penghasilan Ayah perbulan</p>
								</div>
								<div class="form-group col-lg-4">
									<select class="form-control select2-no-search" name="hasilayah" id="hasilayah" required>
                <option value="">- pilih rentang penghasilan -</option>
				<option value="Tidak Berpenghasilan" <?php echo ($calonsiswa->hasilayah == "Tidak Berpenghasilan" ? "selected" : "");?>>Tidak Berpenghasilan</option>
                <option value="< Rp500.000" <?php echo ($calonsiswa->hasilayah == "< Rp500.000" ? "selected" : "");?>>< Rp500.000</option>
                <option value="Rp500.001 s.d. Rp1.000.000" <?php echo ($calonsiswa->hasilayah == "Rp500.001 s.d. Rp1.000.000" ? "selected" : "");?>>Rp500.001 s.d. Rp1.000.000</option>
                <option value="Rp1.000.001 s.d. Rp2.000.000" <?php echo ($calonsiswa->hasilayah == "Rp1.000.001 s.d. Rp2.000.000" ? "selected" : "");?>>Rp1.000.001 s.d. Rp2.000.000</option>
                <option value="Rp2.000.001 s.d. Rp3.000.000" <?php echo ($calonsiswa->hasilayah == "Rp2.000.001 s.d. Rp3.000.000" ? "selected" : "");?>>Rp2.000.001 s.d. Rp3.000.000</option>
                <option value="Rp3.000.001 s.d. Rp5.000.000" <?php echo ($calonsiswa->hasilayah == "Rp3.000.001 s.d. Rp5.000.000" ? "selected" : "");?>>Rp3.000.001 s.d. Rp5.000.000</option>
                <option value="> Rp5.000.000" <?php echo ($calonsiswa->hasilayah == "> Rp5.000.000" ? "selected" : "");?>>> Rp5.000.000</option>
              						</select>
								</div><!-- col-4 -->
							</div><!-- row -->
							<div class="row row-sm mg-b-20">
								<div class="col-lg-3">
								  <p class="mg-b-10">Nomor HP Ayah</p>
								</div>
								<div class="form-group col-lg-4">
									<input class="form-control" value="<?php echo $calonsiswa->no_hp_ayah;?>" type="text" name="no_hp_ayah" onkeypress="return (event.charCode !=8 && event.charCode ==0 || (event.charCode >= 48 && event.charCode <= 57))">
								</div><!-- col-4 -->
							</div><!-- row -->
							<div class="row row-sm mg-b-20">
								<div class="col-lg-3">
								  <p class="mg-b-10">Alamat Ayah</p>
								</div>
								<div class="form-group col-lg-8">
								<textarea class="form-control" name="alamat_ayah" id="input_alamat_ayah" rows="3" placeholder="Alamat Ayah Kandung" required><?php echo $calonsiswa->alamat_ayah;?></textarea><br>
								</div><!-- col-4 -->
							</div><!-- row -->
							<br>
							<br>
							<div class="row row-sm mg-b-20">
								<div class="col-lg-3">
								  <p class="mg-b-10">Nama Ibu</p>
								</div>
								<div class="form-group col-lg-4">
									<input type="text" class="form-control" name="nama_ibu" value="<?php echo $calonsiswa->nama_ibu;?>" required>
								</div><!-- col-4 -->
							</div><!-- row -->
							<div class="row row-sm mg-b-20">
								<div class="col-lg-3">
								  <p class="mg-b-10">Status Ibu</p>
								</div>
								<div class="form-group col-lg-4">
								<label class="rdiobox">
                					<input type="radio" name="status_ibu" id="status_ibu1" value="H" <?php echo ($calonsiswa->status_ibu == "H" ? "checked" : "");?> required>
                					<span>Masih Hidup</span>
              					</label>
								<label class="rdiobox">
                					<input type="radio" name="status_ibu" id="status_ibu2" value="M" <?php echo ($calonsiswa->status_ibu == "M" ? "checked" : "");?> required>
                					<span>Meninggal</span>
              					</label>
								</div><!-- col-4 -->
							</div><!-- row -->
							
							<div class="row row-sm mg-b-20">
								<div class="col-lg-3">
								  <p class="mg-b-10">NIK Ibu</p>
								</div>
								<div class="form-group col-lg-4">
								<input class="form-control" maxlength = "16" minlength = "16" value="<?php echo $calonsiswa->nik_ibu;?>" type="text" name="nik_ibu" id="nik_ibu" placeholder="NIK Ibu Kandung" required onkeypress="return (event.charCode !=8 && event.charCode ==0 || (event.charCode >= 48 && event.charCode <= 57))">
								</div><!-- col-4 -->
							</div><!-- row -->
							<div class="row row-sm mg-b-20">
								<div class="col-lg-3">
								  <p class="mg-b-10">Tempat Lahir Ibu</p>
								</div>
								<div class="form-group col-lg-4">
									<input type="text" class="form-control" name="tempat_lahir_ibu" value="<?php echo $calonsiswa->tempat_lahir_ibu;?>" required>
								</div><!-- col-4 -->
							</div><!-- row -->
							<div class="row row-sm mg-b-20">
								<div class="col-lg-3">
								  <p class="mg-b-10">Tanggal Lahir Ibu</p>
								</div>
								<div class="form-group col-lg-3">
									<input type="date" class="form-control" name="tanggal_lahir_ibu" value="<?php echo $calonsiswa->tanggal_lahir_ibu;?>" required>
								</div><!-- col-4 -->
							</div><!-- row -->				
							<div class="row row-sm mg-b-20">
								<div class="col-lg-3">
								  <p class="mg-b-10">Pendidikan Ibu</p>
								</div>
								<div class="form-group col-lg-4">
									<select class="form-control select2-no-search" name="pendidikan_ibu" required>
                <option value="">- pilih pendidikan ibu-</option>
				<option value="Tidak berpendidikan formal" <?php echo ($calonsiswa->pendidikan_ibu == "Tidak berpendidikan formal" ? "selected" : "");?>>Tidak berpendidikan formal</option>
                <option value="SD/Sederajat" <?php echo ($calonsiswa->pendidikan_ibu == "SD/Sederajat" ? "selected" : "");?>>SD/Sederajat</option>
                <option value="SMP/Sederajat" <?php echo ($calonsiswa->pendidikan_ibu == "SMP/Sederajat" ? "selected" : "");?>>SMP/Sederajat</option>
                <option value="SMA/Sederajat" <?php echo ($calonsiswa->pendidikan_ibu == "SMA/Sederajat" ? "selected" : "");?>>SMA/Sederajat</option>
                <option value="D1" <?php echo ($calonsiswa->pendidikan_ibu == "D1" ? "selected" : "");?>>D1</option>
                <option value="D2" <?php echo ($calonsiswa->pendidikan_ibu == "D2" ? "selected" : "");?>>D2</option>
                <option value="D3" <?php echo ($calonsiswa->pendidikan_ibu == "D3" ? "selected" : "");?>>D3</option>
				<option value="S1" <?php echo ($calonsiswa->pendidikan_ibu == "S1" ? "selected" : "");?>>S1</option>
				<option value="≥ S2" <?php echo ($calonsiswa->pendidikan_ibu == "≥ S2" ? "selected" : "");?>>≥ S2</option>
              						</select>
								</div><!-- col-4 -->
							</div><!-- row -->

							<div class="row row-sm mg-b-20">
								<div class="col-lg-3">
								  <p class="mg-b-10">Pekerjaan Ibu</p>
								</div>
								<div class="form-group col-lg-4">
									<select class="form-control select2-no-search" name="pekerjaan_ibu" id="pekerjaan_ibu" required>
                <option value="">- pilih pekerjaan ibu-</option>
				<option value="01 Tidak bekerja / Ibu Rumah Tangga" <?php echo ($calonsiswa->pekerjaan_ibu == "01 Tidak bekerja / Ibu Rumah Tangga" ? "selected" : "");?>>01 Tidak bekerja / Ibu Rumah Tangga</option>
                <option value="02 Pensiunan" <?php echo ($calonsiswa->pekerjaan_ibu == "02 Pensiunan" ? "selected" : "");?>>02 Pensiunan</option>
                <option value="03 PNS (selain poin 05 dan 10)" <?php echo ($calonsiswa->pekerjaan_ibu == "03 PNS (selain poin 05 dan 10)" ? "selected" : "");?>>03 PNS (selain poin 05 dan 10)</option>
                <option value="04 TNI/Polri" <?php echo ($calonsiswa->pekerjaan_ibu == "04 TNI/Polri" ? "selected" : "");?>>04 TNI/Polri</option>
                <option value="05 Guru/Dosen" <?php echo ($calonsiswa->pekerjaan_ibu == "05 Guru/Dosen" ? "selected" : "");?>>05 Guru/Dosen</option>
                <option value="06 Pegawai Swasta" <?php echo ($calonsiswa->pekerjaan_ibu == "06 Pegawai Swasta" ? "selected" : "");?>>06 Pegawai Swasta</option>
                <option value="07 Wiraswasta/Wirausaha" <?php echo ($calonsiswa->pekerjaan_ibu == "07 Wiraswasta/Wirausaha" ? "selected" : "");?>>07 Wiraswasta/Wirausaha</option>
				<option value="08 Pengacara/Hakim/Jaksa/Notaris" <?php echo ($calonsiswa->pekerjaan_ibu == "08 Pengacara/Hakim/Jaksa/Notaris" ? "selected" : "");?>>08 Pengacara/Hakim/Jaksa/Notaris</option>
				<option value="09 Seniman/Pelukis/Artis/Sejenis" <?php echo ($calonsiswa->pekerjaan_ibu == "09 Seniman/Pelukis/Artis/Sejenis" ? "selected" : "");?>>09 Seniman/Pelukis/Artis/Sejenis</option>
				<option value="10 Dokter/Bidan/Perawat" <?php echo ($calonsiswa->pekerjaan_ibu == "10 Dokter/Bidan/Perawat" ? "selected" : "");?>>10 Dokter/Bidan/Perawat</option>
				<option value="11 Pilot/Pramugari" <?php echo ($calonsiswa->pekerjaan_ibu == "11 Pilot/Pramugari" ? "selected" : "");?>>11 Pilot/Pramugari</option>
				<option value="12 Pedagang" <?php echo ($calonsiswa->pekerjaan_ibu == "12 Pedagang" ? "selected" : "");?>>12 Pedagang</option>
				<option value="13 Petani/Peternak" <?php echo ($calonsiswa->pekerjaan_ibu == "13 Petani/Peternak" ? "selected" : "");?>>13 Petani/Peternak</option>
				<option value="14 Nelayan" <?php echo ($calonsiswa->pekerjaan_ibu == "14 Nelayan" ? "selected" : "");?>>14 Nelayan</option>
				<option value="15 Buruh (Tani/Pabrik/Bangunan/Serabutan)" <?php echo ($calonsiswa->pekerjaan_ibu == "15 Buruh (Tani/Pabrik/Bangunan/Serabutan)" ? "selected" : "");?>>15 Buruh (Tani/Pabrik/Bangunan/Serabutan)</option>
				<option value="16 Sopir/Masinis/Kondektur" <?php echo ($calonsiswa->pekerjaan_ibu == "16 Sopir/Masinis/Kondektur" ? "selected" : "");?>>16 Sopir/Masinis/Kondektur</option>
				<option value="17 Politikus" <?php echo ($calonsiswa->pekerjaan_ibu == "17 Politikus" ? "selected" : "");?>>17 Politikus</option>
				<option value="18 Lainnya" <?php echo ($calonsiswa->pekerjaan_ibu == "18 Lainnya" ? "selected" : "");?>>18 Lainnya</option>
              						</select>
								</div><!-- col-4 -->
							</div><!-- row -->
							<div class="row row-sm mg-b-20">
								<div class="col-lg-3">
								  <p class="mg-b-10">Penghasilan Ibu perbulan</p>
								</div>
								<div class="form-group col-lg-4">
									<select class="form-control select2-no-search" name="hasilibu" id="hasilibu" required>
                <option value="">- pilih rentang penghasilan -</option>
				<option value="Tidak Berpenghasilan" <?php echo ($calonsiswa->hasilibu == "Tidak Berpenghasilan" ? "selected" : "");?>>Tidak Berpenghasilan</option>
                <option value="< Rp500.000" <?php echo ($calonsiswa->hasilibu == "< Rp500.000" ? "selected" : "");?>>< Rp500.000</option>
                <option value="Rp500.001 s.d. Rp1.000.000" <?php echo ($calonsiswa->hasilibu == "Rp500.000 s.d. Rp1.000.000" ? "selected" : "");?>>Rp500.000 s.d. Rp1.000.000</option>
                <option value="Rp1.000.001 s.d. Rp2.000.000" <?php echo ($calonsiswa->hasilibu == "Rp1.000.001 s.d. Rp2.000.000" ? "selected" : "");?>>Rp1.000.001 s.d. Rp2.000.000</option>
                <option value="Rp2.000.001 s.d. Rp3.000.000" <?php echo ($calonsiswa->hasilibu == "Rp2.000.001 s.d. Rp3.000.000" ? "selected" : "");?>>Rp2.000.001 s.d. Rp3.000.000</option>
                <option value="Rp3.000.001 s.d. Rp5.000.000" <?php echo ($calonsiswa->hasilibu == "Rp3.000.001 s.d. Rp5.000.000" ? "selected" : "");?>>Rp3.000.001 s.d. Rp5.000.000</option>
                <option value="> Rp5.000.000" <?php echo ($calonsiswa->hasilibu == "> Rp5.000.000" ? "selected" : "");?>>> Rp5.000.000</option>
              						</select>
								</div><!-- col-4 -->
							</div><!-- row -->
	
							<div class="row row-sm mg-b-20">
								<div class="col-lg-3">
								  <p class="mg-b-10">Nomor HP Ibu</p>
								</div>
								<div class="form-group col-lg-4">
								<input class="form-control" value="<?php echo $calonsiswa->no_hp_ibu;?>" type="text" name="no_hp_ibu" required onkeypress="return (event.charCode !=8 && event.charCode ==0 || (event.charCode >= 48 && event.charCode <= 57))">
								</div><!-- col-4 -->
							</div><!-- row -->
							<div class="row row-sm mg-b-20">
								<div class="col-lg-3">
								  <p class="mg-b-10">Alamat Ibu</p>
								</div>
								<div class="form-group col-lg-8">
								<textarea class="form-control" name="alamat_ibu" id="input_alamat_ibu" rows="3" placeholder="Alamat Ibu Kandung" required><?php echo $calonsiswa->alamat_ibu;?></textarea><br>
								</div><!-- col-4 -->
							</div><!-- row -->
							<div class="row row-sm mg-b-20">
								<div class="col-lg-3">
								  <p class="mg-b-10">Nama Wali</p>
								</div>
								<div class="form-group col-lg-4">
									<input type="text" class="form-control" name="nama_wali" value="<?php echo $calonsiswa->nama_wali;?>">
								</div><!-- col-4 -->
							</div><!-- row -->
							<div class="row row-sm mg-b-20">
								<div class="col-lg-3">
								  <p class="mg-b-10">NIK Wali</p>
								</div>
								<div class="form-group col-lg-4">
								<input class="form-control" maxlength = "16" minlength = "16" value="<?php echo $calonsiswa->nik_wali;?>" type="text" name="nik_wali" placeholder="NIK Wali" onkeypress="return (event.charCode !=8 && event.charCode ==0 || (event.charCode >= 48 && event.charCode <= 57))">
								</div><!-- col-4 -->
							</div><!-- row -->
							<div class="row row-sm mg-b-20">
								<div class="col-lg-3">
								  <p class="mg-b-10">Pekerjaan Wali</p>
								</div>
								<div class="form-group col-lg-4">
								<select class="form-control select2-no-search" name="pekerjaan_wali">
                <option value="">- pilih pekerjaan wali-</option>
				<option value="01 Tidak bekerja" <?php echo ($calonsiswa->pekerjaan_wali == "01 Tidak bekerja" ? "selected" : "");?>>01 Tidak bekerja</option>
                <option value="02 Pensiunan" <?php echo ($calonsiswa->pekerjaan_wali == "02 Pensiunan" ? "selected" : "");?>>02 Pensiunan</option>
                <option value="03 PNS (selain poin 05 dan 10)" <?php echo ($calonsiswa->pekerjaan_wali == "03 PNS (selain poin 05 dan 10)" ? "selected" : "");?>>03 PNS (selain poin 05 dan 10)</option>
                <option value="04 TNI/Polri" <?php echo ($calonsiswa->pekerjaan_wali == "04 TNI/Polri" ? "selected" : "");?>>04 TNI/Polri</option>
                <option value="05 Guru/Dosen" <?php echo ($calonsiswa->pekerjaan_wali == "05 Guru/Dosen" ? "selected" : "");?>>05 Guru/Dosen</option>
                <option value="06 Pegawai Swasta" <?php echo ($calonsiswa->pekerjaan_wali == "06 Pegawai Swasta" ? "selected" : "");?>>06 Pegawai Swasta</option>
                <option value="07 Wiraswasta/Wirausaha" <?php echo ($calonsiswa->pekerjaan_wali == "07 Wiraswasta/Wirausaha" ? "selected" : "");?>>07 Wiraswasta/Wirausaha</option>
				<option value="08 Pengacara/Hakim/Jaksa/Notaris" <?php echo ($calonsiswa->pekerjaan_wali == "08 Pengacara/Hakim/Jaksa/Notaris" ? "selected" : "");?>>08 Pengacara/Hakim/Jaksa/Notaris</option>
				<option value="09 Seniman/Pelukis/Artis/Sejenis" <?php echo ($calonsiswa->pekerjaan_wali == "09 Seniman/Pelukis/Artis/Sejenis" ? "selected" : "");?>>09 Seniman/Pelukis/Artis/Sejenis</option>
				<option value="10 Dokter/Bidan/Perawat" <?php echo ($calonsiswa->pekerjaan_wali == "10 Dokter/Bidan/Perawat" ? "selected" : "");?>>10 Dokter/Bidan/Perawat</option>
				<option value="11 Pilot/Pramugari" <?php echo ($calonsiswa->pekerjaan_wali == "11 Pilot/Pramugari" ? "selected" : "");?>>11 Pilot/Pramugari</option>
				<option value="12 Pedagang" <?php echo ($calonsiswa->pekerjaan_wali == "12 Pedagang" ? "selected" : "");?>>12 Pedagang</option>
				<option value="13 Petani/Peternak" <?php echo ($calonsiswa->pekerjaan_wali == "13 Petani/Peternak" ? "selected" : "");?>>13 Petani/Peternak</option>
				<option value="14 Nelayan" <?php echo ($calonsiswa->pekerjaan_wali == "14 Nelayan" ? "selected" : "");?>>14 Nelayan</option>
				<option value="15 Buruh (Tani/Pabrik/Bangunan/Serabutan)" <?php echo ($calonsiswa->pekerjaan_wali == "15 Buruh (Tani/Pabrik/Bangunan/Serabutan)" ? "selected" : "");?>>15 Buruh (Tani/Pabrik/Bangunan/Serabutan)</option>
				<option value="16 Sopir/Masinis/Kondektur" <?php echo ($calonsiswa->pekerjaan_wali == "16 Sopir/Masinis/Kondektur" ? "selected" : "");?>>16 Sopir/Masinis/Kondektur</option>
				<option value="17 Politikus" <?php echo ($calonsiswa->pekerjaan_wali == "17 Politikus" ? "selected" : "");?>>17 Politikus</option>
				<option value="18 Lainnya" <?php echo ($calonsiswa->pekerjaan_wali == "18 Lainnya" ? "selected" : "");?>>18 Lainnya</option>
              					</select>

								</div><!-- col-4 -->
							</div><!-- row -->
							<div class="row row-sm mg-b-20">
								<div class="col-lg-3">
								  <p class="mg-b-10">Penghasilan Wali perbulan</p>
								</div>
								<div class="form-group col-lg-4">
									<select class="form-control select2-no-search" name="hasilwali">
			    <option value="">- pilih rentang penghasilan -</option>
				<option value="Tidak Berpenghasilan / Tidak Mengetahui" <?php echo ($calonsiswa->hasilwali == "Tidak Berpenghasilan / Tidak Mengetahui" ? "selected" : "");?>>Tidak Berpenghasilan / Tidak Mengetahui</option>
                <option value="< Rp500.000" <?php echo ($calonsiswa->hasilwali == "< Rp500.000" ? "selected" : "");?>>< Rp500.000</option>
                <option value="Rp500.001 s.d. Rp1.000.000" <?php echo ($calonsiswa->hasilwali == "Rp500.000 s.d. Rp1.000.000" ? "selected" : "");?>>Rp500.000 s.d. Rp1.000.000</option>
                <option value="Rp1.000.001 s.d. Rp2.000.000" <?php echo ($calonsiswa->hasilwali == "Rp1.000.001 s.d. Rp2.000.000" ? "selected" : "");?>>Rp1.000.001 s.d. Rp2.000.000</option>
                <option value="Rp2.000.001 s.d. Rp3.000.000" <?php echo ($calonsiswa->hasilwali == "Rp2.000.001 s.d. Rp3.000.000" ? "selected" : "");?>>Rp2.000.001 s.d. Rp3.000.000</option>
                <option value="Rp3.000.001 s.d. Rp5.000.000" <?php echo ($calonsiswa->hasilwali == "Rp3.000.001 s.d. Rp5.000.000" ? "selected" : "");?>>Rp3.000.001 s.d. Rp5.000.000</option>
                <option value="> Rp5.000.000" <?php echo ($calonsiswa->hasilwali == "> Rp5.000.000" ? "selected" : "");?>>> Rp5.000.000</option>
              					</select>
								</div><!-- col-4 -->
							</div><!-- row -->
							<div class="row row-sm mg-b-20">
								<div class="col-lg-3">
								  <p class="mg-b-10">Nomor HP Wali</p>
								</div>
								<div class="form-group col-lg-4">
								  <input class="form-control" value="<?php echo $calonsiswa->no_hp_wali;?>" type="text" name="no_hp_wali" onkeypress="return (event.charCode !=8 && event.charCode ==0 || (event.charCode >= 48 && event.charCode <= 57))">
								</div><!-- col-4 -->
							</div><!-- row -->
							<div class="row row-sm mg-b-20">
								<div class="col-lg-3">
								  <p class="mg-b-10">Alamat Wali</p>
								</div>
								<div class="form-group col-lg-8">
								<textarea class="form-control" name="alamat_wali" placeholder="Alamat Wali Calon Siswa" rows="3" ><?php echo $calonsiswa->alamat_wali;?></textarea><br>
								</div><!-- col-4 -->
							</div><!-- row -->
							<br>
							<hr>
							<h3 style="padding-left:20px;">Jurusan Yang Dipilihh</h3>
							<hr>
							<div class="row row-sm mg-b-20">
								<div class="col-lg-3">
								  <p class="mg-b-10">Jurusan Pilihan Pertama</p>
								</div>
								<div class="form-group col-lg-3">
									<select name="id_jurusan" class="form-control">
										<?php
											foreach($jurusan as $j)
											{
												?>
												<option value="<?php echo $j['id_jurusan'];?>" <?php echo ($j['id_jurusan'] == $calonsiswa->id_jurusan ? "selected" : "");?>><?php echo $j['jurusan'];?></option>
												<?php
											}
										?>
									</select>
								</div><!-- col-4 -->
							</div><!-- row -->
							<div class="row row-sm mg-b-20">
								<div class="col-lg-3">
								  <p class="mg-b-10">Jurusan Pilihan Kedua</p>
								</div>
								<div class="form-group col-lg-3">
									<select name="id_jurusan2" class="form-control">
										<?php
											foreach($jurusan as $j)
											{
												?>
												<option value="<?php echo $j['id_jurusan'];?>" <?php echo ($j['id_jurusan'] == $calonsiswa->id_jurusan2 ? "selected" : "");?>><?php echo $j['jurusan'];?></option>
												<?php
											}
										?>
									</select>
								</div><!-- col-4 -->
							</div><!-- row -->
							<br>
							<br>
							<div class="row row-sm col-sm-12">
								<a href="<?php echo base_url();?>admin/Admin" class="btn btn-danger"><i class="fa fa-reply"></i> Kembali</a>
								<button type="submit" class="btn btn-primary pull-right"><i class="fa fa-save"></i> Simpan</button>
							</div>
							<br>
							<br>
						</form>
					</div>
				</div>
			</div>
		</div>
	</div>
</div>