<script type="text/javascript">
  function chkalamatibu() {
  	// Get the checkbox
  	var checkBox = document.getElementById("myCheck");
  	// Get the output text
  	var text = document.getElementById("chkbox");

  	// If the checkbox is checked, display the output text
  	if (checkBox.checked == true){
    	//chkbox.style.display = "block";
		document.getElementById("input_alamat_ibu").value = document.getElementById("input_alamat_ayah").value;
		//document.getElementById("input_alamat_ibu").disabled = true;
  	} else {
    	//chkbox.style.display = "none";
		document.getElementById("input_alamat_ibu").value = '';
		document.getElementById("input_alamat_ibu").disabled = false;
  	}

  }

  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 = '';
		document.getElementById("tempat_lahir_ayah").value = '';
		document.getElementById("tanggal_lahir_ayah").value = '';
		document.getElementById('myCheck').disabled = false;
  	} 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 -';
		document.getElementById("tempat_lahir_ayah").value = '- Meninggal -';
		document.getElementById("tanggal_lahir_ayah").value = '1900-01-01';
		document.getElementById('myCheck').disabled = true;
  	} 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 = '';
		document.getElementById("tempat_lahir_ibu").value = '';
		document.getElementById("tanggal_lahir_ibu").value = '';
		document.getElementById('myCheck').disabled = false;
  	} 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 -';
		document.getElementById("tempat_lahir_ibu").value = '- Meninggal -';
		document.getElementById("tanggal_lahir_ibu").value = '1900-01-01';
		document.getElementById('myCheck').disabled = true;
  	} else {
  	}

  }
</script>

<div class="az-content az-content-dashboard">
  <div class="container">
	<div class="az-content-body">
	  <div class="az-content-label mg-b-5">Data Keluarga</div>
		<form action="<?php echo base_url();?>Pendaftaran/step2Exec" method="POST" enctype="multipart/form-data">
		  <div class="row row-sm mg-b-20">
			<div class="col-lg-2">
			  <p class="mg-b-10">Nama</p>
			</div>
			<div class="col-lg-10">
			  <strong>
				<p>
					: <?php echo $calonsiswa->nama;?>
				</p>
			  </strong>
			</div><!-- col-4 -->
		  </div><!-- row -->
		  <div class="row row-sm mg-b-20">
			<div class="col-lg-2">
			  <p class="mg-b-10">NIK</p>
			</div>
			<div class="col-lg-10">
			  <strong>
				<p>
					: <?php echo $calonsiswa->nik;?>
				</p>
			  </strong>
			</div><!-- col-4 -->
		  </div><!-- row -->
		  <div class="row row-sm mg-b-20">
			<div class="col-lg-2">
			  <p class="mg-b-10">Nomor KK</p>
			</div>
			<div class="col-lg-3">
			  <input class="form-control" maxlength = "16" minlength = "16" value="<?php echo $calonsiswa->no_kk;?>" type="text" name="no_kk" required="" placeholder="Nomor tertera di bagian atas KK" onkeypress="return (event.charCode !=8 && event.charCode ==0 || (event.charCode >= 48 && event.charCode <= 57))">
			</div><!-- col-4 -->
			<p style="color:#ff0000;font-style : italic;font-size:12px;margin:20px 0 00px 0;">*)</p>
		  </div><!-- row -->
		  <div class="row row-sm mg-b-20">
			<div class="col-lg-2">
			  <p class="mg-b-10">Nama Kepala Keluarga</p>
			</div>
			<div class="col-lg-4">
			  <input class="form-control" value="<?php echo $calonsiswa->nama_kk;?>" type="text" name="nama_kk" required oninput="this.value = this.value.toUpperCase()" placeholder="Nama Kepala Keluarga di KK Calon Siswa">
			</div><!-- col-4 -->
			<p style="color:#ff0000;font-style : italic;font-size:12px;margin:20px 0 00px 0;">*)</p>
		  </div><!-- row -->
		  <div class="row row-sm mg-b-20">
			<div class="col-lg-2">
			  <p class="mg-b-10">Pekerjaan Kepala Keluarga</p>
			</div>
			<div class="col-lg-4">
              <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 -->
			<p style="color:#ff0000;font-style : italic;font-size:12px;margin:20px 0 00px 0;">*)</p>
		  </div><!-- row -->
		  <div class="row row-sm mg-b-20">
			<div class="col-lg-2">
			  <p class="mg-b-10">Anak Ke-</p>
			</div>
			<div class="col-lg-1">
			  <input class="form-control" value="<?php echo $calonsiswa->anak_ke;?>" type="number" name="anak_ke" min="1" required onkeypress="return (event.charCode !=8 && event.charCode ==0 || (event.charCode >= 48 && event.charCode <= 57))">
			</div><!-- col-4 -->
			<p style="color:#ff0000;font-style : italic;font-size:12px;margin:20px 0 00px 0;">*)</p>
		  </div><!-- row -->
		  <div class="row row-sm mg-b-20">
			<div class="col-lg-2">
			  <p class="mg-b-10">Jumlah Saudara</p>
			</div>
			<div class="col-lg-1">
			  <input class="form-control" value="<?php echo $calonsiswa->jumlah_saudara;?>" type="number" name="jumlah_saudara" min="0" required onkeypress="return (event.charCode !=8 && event.charCode ==0 || (event.charCode >= 48 && event.charCode <= 57))">
			</div><!-- col-4 -->
			<p style="color:#ff0000;font-style : italic;font-size:12px;margin:20px 0 00px 0;">*)</p>
		  </div><!-- row -->
		  <br>
		  <br>
		  <div class="az-content-label mg-b-5">Data Ayah</div>
		  <div class="row row-sm mg-b-20">
			<div class="col-lg-2">
			  <p class="mg-b-10">Nama Ayah</p>
			</div>
			<div class="col-lg-4">
			  <input class="form-control" value="<?php echo $calonsiswa->nama_ayah;?>" type="text" name="nama_ayah" oninput="this.value = this.value.toUpperCase()" placeholder="Nama Ayah Kandung" required>
			</div><!-- col-4 -->
			<p style="color:#ff0000;font-style : italic;font-size:12px;margin:20px 0 00px 0;">*)</p>
		  </div><!-- row -->
		  <div class="row row-sm mg-b-20">
			<div class="col-lg-2">
			  <p class="mg-b-10">Status Ayah</p>
			</div>
			<div class="col-lg-2" style="padding-top:15px;">
              <label class="rdiobox">
                <input type="radio" name="status_ayah" id="status_ayah1" value="H" <?php echo ($calonsiswa->status_ayah == "H" ? "checked" : "");?> onchange="cekstatusayah1();" required>
                <span>Masih Hidup</span>
              </label>
			</div><!-- col-4 -->
			<div class="col-lg-2"  style="padding-top:15px;">
              <label class="rdiobox">
                <input type="radio" name="status_ayah" id="status_ayah2" value="M" <?php echo ($calonsiswa->status_ayah == "M" ? "checked" : "");?> onchange="cekstatusayah2();" required>
                <span>Meninggal</span>
              </label>
			</div><!-- col-4 -->
			<p style="color:#ff0000;font-style : italic;font-size:12px;margin:20px 0 00px 0;">*)</p>
		  </div><!-- row -->
		  <div class="row row-sm mg-b-20">
			<div class="col-lg-2">
			  <p class="mg-b-10">NIK Ayah</p>
			</div>
			<div class="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 -->
			<p style="color:#ff0000;font-style : italic;font-size:12px;margin:20px 0 00px 0;">*)</p>
		  </div><!-- row -->
		  <div class="row row-sm mg-b-20">
			<div class="col-lg-2">
			  <p class="mg-b-10">Tempat Lahir Ayah</p>
			</div>
			<div class="col-lg-4">
			  <input class="form-control" id="tempat_lahir_ayah" value="<?php echo $calonsiswa->tempat_lahir_ayah;?>" type="text" name="tempat_lahir_ayah" oninput="this.value = this.value.toUpperCase()" placeholder="Tempat Lahir Ayah" required>
			</div><!-- col-4 -->
			<p style="color:#ff0000;font-style : italic;font-size:12px;margin:20px 0 00px 0;">*)</p>
		  </div><!-- row -->
		  <div class="row row-sm mg-b-20">
			<div class="col-lg-2">
			  <p class="mg-b-10">Tanggal Lahir Ayah</p>
			</div>
			<div class="col-lg-4">
			<input type="date" class="form-control" id="tanggal_lahir_ayah" min="1960-01-01" max="1995-12-31" name="tanggal_lahir_ayah" value="<?php echo $calonsiswa->tanggal_lahir_ayah;?>" required>
			</div><!-- col-4 -->
			<p style="color:#ff0000;font-style : italic;font-size:12px;margin:20px 0 00px 0;">*)</p>
		  </div><!-- row -->
		  <div class="row row-sm mg-b-20">
			<div class="col-lg-2">
			  <p class="mg-b-10">Pendidikan Ayah</p>
			</div>
			<div class="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 -->
			<p style="color:#ff0000;font-style : italic;font-size:12px;margin:20px 0 00px 0;">*)</p>
		  </div><!-- row -->
		  <div class="row row-sm mg-b-20">
			<div class="col-lg-2">
			  <p class="mg-b-10">Pekerjaan Ayah</p>
			</div>
			<div class="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 -->
			<p style="color:#ff0000;font-style : italic;font-size:12px;margin:20px 0 00px 0;">*)</p>
		  </div><!-- row -->
		  <div class="row row-sm mg-b-20">
			<div class="col-lg-2">
			  <p class="mg-b-10">Penghasilan Ayah perbulan</p>
			</div>
			<div class="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 -->
			<p style="color:#ff0000;font-style : italic;font-size:12px;margin:20px 0 00px 0;">*)</p>
		  </div><!-- row -->
		  <div class="row row-sm mg-b-20">
			<div class="col-lg-2">
			  <p class="mg-b-10">Nomor HP Ayah (Whatsapp)</p>
			</div>
			<div class="col-lg-3">
			  <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 -->
			<p style="color:#ff0000;font-style : italic;font-size:12px;margin:20px 0 00px 0;">*) wajib diisi jika Masih Hidup</p>
		  </div><!-- row -->
		  <div class="row row-sm mg-b-20">
			<div class="col-lg-2">
			  <p class="mg-b-10">Alamat Ayah</p>
			  <!--<p style="color:#ff0000;font-style : italic;font-size:12px;margin:-10px 0 00px 0;">*)</p>-->
	
			</div>
			<div class="col-lg-10">
			  <textarea class="form-control" name="alamat_ayah" id="input_alamat_ayah" rows="3" placeholder="Alamat Ayah Kandung sesuai KK" required><?php echo $calonsiswa->alamat_ayah;?></textarea><br>
			  <p style="color:#ff0000;font-style : italic;font-size:12px;margin:-20px 10em 0px 0;">*) Isikan alamat sesuai KK dengan format penulisan :</p>
			  <p style="color:#ff0000; font-style : italic;font-size:12px;margin:0px 20em 10px 0;">Nama Lingkungan/Dusun/Komplek/Jalan/Gang +-> RT/RW +-> Ds/Kel +-> Kec. +-> Kota/Kab +-> Provinsi</p>
			</div><!-- col-4 -->
		  </div><!-- row -->
		  <br>
		  <div class="az-content-label mg-b-5">Data Ibu</div>
		  <div class="row row-sm mg-b-20">
			<div class="col-lg-2">
			  <p class="mg-b-10">Nama Ibu</p>
			</div>
			<div class="col-lg-4">
			  <input class="form-control" value="<?php echo $calonsiswa->nama_ibu;?>" type="text" name="nama_ibu" oninput="this.value = this.value.toUpperCase()" placeholder="Nama Ibu Kandung" required>
			</div><!-- col-4 -->
			<p style="color:#ff0000;font-style : italic;font-size:12px;margin:20px 0 00px 0;">*)</p>
		  </div><!-- row -->
		  <div class="row row-sm mg-b-20">
			<div class="col-lg-2">
			  <p class="mg-b-10">Status Ibu</p>
			</div>
			<div class="col-lg-2" style="padding-top:15px;">
              <label class="rdiobox">
                <input type="radio" name="status_ibu" id="status_ibu1" value="H" <?php echo ($calonsiswa->status_ibu == "H" ? "checked" : "");?> onchange="cekstatusibu1();" required>
                <span>Masih Hidup</span>
              </label>
			</div><!-- col-4 -->
			<div class="col-lg-2"  style="padding-top:15px;">
              <label class="rdiobox">
                <input type="radio" name="status_ibu" id="status_ibu2" value="M" <?php echo ($calonsiswa->status_ibu == "M" ? "checked" : "");?> onchange="cekstatusibu2();" required>
                <span>Meninggal</span>
              </label>
			</div><!-- col-4 -->
			<p style="color:#ff0000;font-style : italic;font-size:12px;margin:20px 0 00px 0;">*)</p>
		  </div><!-- row -->
		  <div class="row row-sm mg-b-20">
			<div class="col-lg-2">
			  <p class="mg-b-10">NIK Ibu</p>
			</div>
			<div class="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 -->
			<p style="color:#ff0000;font-style : italic;font-size:12px;margin:20px 0 00px 0;">*)</p>
		  </div><!-- row -->
		  <div class="row row-sm mg-b-20">
			<div class="col-lg-2">
			  <p class="mg-b-10">Tempat Lahir Ibu</p>
			</div>
			<div class="col-lg-4">
			  <input class="form-control" id="tempat_lahir_ibu" value="<?php echo $calonsiswa->tempat_lahir_ibu;?>" type="text" name="tempat_lahir_ibu" oninput="this.value = this.value.toUpperCase()" placeholder="Tempat Lahir Ibu" required>
			</div><!-- col-4 -->
			<p style="color:#ff0000;font-style : italic;font-size:12px;margin:20px 0 00px 0;">*)</p>
		  </div><!-- row -->
		  <div class="row row-sm mg-b-20">
			<div class="col-lg-2">
			  <p class="mg-b-10">Tanggal Lahir Ibu</p>
			</div>
			<div class="col-lg-4">
			<input type="date"  class="form-control" id="tanggal_lahir_ibu" min="1960-01-01" max="1995-12-31" name="tanggal_lahir_ibu" value="<?php echo $calonsiswa->tanggal_lahir_ibu;?>" required>
			</div><!-- col-4 -->
			<p style="color:#ff0000;font-style : italic;font-size:12px;margin:20px 0 00px 0;">*)</p>
		  </div><!-- row -->
		  <div class="row row-sm mg-b-20">
			<div class="col-lg-2">
			  <p class="mg-b-10">Pendidikan Ibu</p>
			</div>
			<div class="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 -->
			<p style="color:#ff0000;font-style : italic;font-size:12px;margin:20px 0 00px 0;">*)</p>
		  </div><!-- row -->
		  <div class="row row-sm mg-b-20">
			<div class="col-lg-2">
			  <p class="mg-b-10">Pekerjaan Ibu</p>
			</div>
			<div class="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 -->
			<p style="color:#ff0000;font-style : italic;font-size:12px;margin:20px 0 00px 0;">*)</p>
		  </div><!-- row -->
		  <div class="row row-sm mg-b-20">
			<div class="col-lg-2">
			  <p class="mg-b-10">Penghasilan Ibu perbulan</p>
			</div>
			<div class="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 -->
			<p style="color:#ff0000;font-style : italic;font-size:12px;margin:20px 0 00px 0;">*)</p>
		  </div><!-- row -->
		  <div class="row row-sm mg-b-20">
			<div class="col-lg-2">
			  <p class="mg-b-10">Nomor HP Ibu (Whatsapp)</p>
			</div>
			<div class="col-lg-3">
			  <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 -->
			<p style="color:#ff0000;font-style : italic;font-size:12px;margin:20px 0 00px 0;">*) wajib diisi jika Masih Hidup</p>
		  </div><!-- row -->
		  <div class="row row-sm mg-b-20">
			<div class="col-lg-2">
			  <p class="mg-b-10">Alamat Ibu</p>
			  <!--<p style="color:#ff0000;font-style : italic;font-size:12px;margin:-10px 0 00px 0;">*)</p>-->
			  <input type="checkbox" id="myCheck" onclick="chkalamatibu()">
			  <label for="myCheck" style="font-style: italic; font-size:12px;margin:-20px 0 20px 0;">Salin alamat Ayah</label>
			</div>
			<div class="col-lg-10">
			  <textarea class="form-control" name="alamat_ibu" id="input_alamat_ibu" rows="3" placeholder="Alamat Ibu Kandung sesuai KK" required><?php echo $calonsiswa->alamat_ibu;?></textarea><br>
			  <p style="color:#ff0000;font-style : italic;font-size:12px;margin:-20px 0em 0px 0;">*) Isikan alamat sesuai KK dengan format penulisan :</p>
			  <p style="color:#ff0000; font-style : italic;font-size:12px;margin:0px 10em 10px 0;">Nama Lingkungan/Dusun/Komplek/Jalan/Gang +-> RT/RW +-> Ds/Kel +-> Kec. +-> Kota/Kab +-> Provinsi</p>
			</div><!-- col-4 -->
		  </div><!-- row -->
		  <br>
		  <div class="az-content-label mg-b-5">Data Wali (opsional/Jika Ada)</div>
		  <div class="row row-sm mg-b-20">
			<div class="col-lg-2">
			  <p class="mg-b-10">Nama Wali</p>
			</div>
			<div class="col-lg-4">
			  <input class="form-control" value="<?php echo $calonsiswa->nama_wali;?>" type="text" name="nama_wali" oninput="this.value = this.value.toUpperCase()" placeholder="Nama Wali Calon Siswa">
			</div><!-- col-4 -->
		  </div><!-- row -->
		  <div class="row row-sm mg-b-20">
			<div class="col-lg-2">
			  <p class="mg-b-10">NIK Wali</p>
			</div>
			<div class="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-2">
			  <p class="mg-b-10">Pekerjaan Wali</p>
			</div>
			<div class="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-2">
			  <p class="mg-b-10">Nomor HP Wali (Whatsapp)</p>
			</div>
			<div class="col-lg-3">
			  <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-2">
			  <p class="mg-b-10">Penghasilan Wali perbulan</p>
			</div>
			<div class="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-2">
			  <p class="mg-b-10">Alamat Wali</p>
			</div>
			<div class="col-lg-10">
			  <textarea class="form-control" name="alamat_wali" placeholder="Alamat Wali Calon Siswa" rows="3" ><?php echo $calonsiswa->alamat_wali;?></textarea><br>
			  <p style="font-style : italic;font-size:12px;margin:-20px 0em 0px 0;">Isikan alamat sesuai KK dengan format penulisan :</p>
			  <p style="font-style : italic;font-size:12px;margin:0px 10em 10px 0;">Nama Lingkungan/Dusun/Komplek/Jalan/Gang +-> RT/RW +-> Ds/Kel +-> Kec. +-> Kota/Kab +-> Provinsi</p>
			</div><!-- col-4 -->
		  </div><!-- row -->
		  <br>
		  <br>
		  <div class="row row-sm mg-b-20">
			<div class="col-lg-12">
			  <button type="submit" class="btn btn-az-primary float-sm-right" onclick="return confirm('Apakah data Anda sudah benar?\nJika sudah benar, silakan klik OK.\nJika belum, silakan tekan Cancel/Batal, dan perbaiki terlebih dahulu.');">
				Lanjut <i class="fa fa-arrow-right"></i> 
			  </button>
			</div><!-- col-4 -->
		  </div><!-- row -->
		  <p style="color:#ff0000;font-style : italic;font-size:12px;margin:20px 0 00px 0;">Catatan : *) wajib diisi</p>
		  <p style="font-style : italic;font-size:12px;margin:0px 0 00px 0;">Catatan : Jika data belum lengkap, silahkan logout lalu lanjutkan dengan login kembali setelah data lengkap</p>
		</form>
	</div>
  </div>
</div><!-- az-content -->