<div style="margin: 0 auto;top: 50%;margin-top: 1%;margin-bottom: 25px;">
	<div class="detil" style="background-color:white;border-color: white;font-size:14px;margin-top:25px;width: 80%;margin: 0 auto;">
		<div id="sub_title" style="padding:10px;color:#5FB85C;text-align:center;">DETIL PERKARA REHABILITASI</div>
			<table id="tableDetilPerkara" style="font-size:14px;width:100%;">
				<col width="23%">
				<col width="77%">
				<?php
				if($dataRehab!=''){
					if($dataRehab->num_rows>0){
						foreach ($dataRehab->result() as $row) {
							$parapihak = $row->para_pihak;
							$no = $row->nomor_putusan_mohon;
							$noUrut = $row->nomor_urut_register;
							$tglPermohonan = $this->tanggalhelper->convertDayDate($row->tanggal_permohonan);
							$tglPutusMohon = $this->tanggalhelper->convertDayDate($row->tanggal_putusan_mohon);
							$alasan = $row->alasan_permohonan;
							$tglBerita = $this->tanggalhelper->convertDayDate($row->tanggal_berita_putusan);
							$tglSuratKabar = $this->tanggalhelper->convertDayDate($row->tanggal_surat_kabar);
							$suratKabar = $row->surat_kabar;
							$tglPerlawanan = $this->tanggalhelper->convertDayDate($row->tanggal_perlawanan);
							$tglPutusanRehab = $this->tanggalhelper->convertDayDate($row->tanggal_putusan);
							$amarPutusan = $row->amar_putusan;
							$edocAmar = $row->amar_putusan_dok;
							$ket = $row->keterangan;
						}
					}
				}
				?>
					<tbody>
						<tr>
							<td>Nomor Urut</td>
							<td style="padding:0px;padding-left:5px;"><?php echo (!empty($noUrut))? $noUrut:''; ?></td>
						</tr>
						<tr>
							<td>Nomor Putusan dimohonkan Rehabilitasi</td>
							<td style="padding:0px;padding-left:5px;"><?php echo (!empty($no))? $no:''; ?></td>
						</tr>
						<tr>
							<td>Tanggal Putusan Yang dimohonkan Rehabilitas</td>
							<td style="padding:0px;padding-left:5px;"><?php echo (!empty($tglPutusMohon))? $tglPutusMohon:''; ?></td>
						</tr>
						<tr>
							<td>Para Pihak</td>
							<td style="padding:0px;padding-left:5px;"><?php echo (!empty($parapihak))? $parapihak:''; ?></td>
						</tr>
						<tr>
							<td>Tanggal Permohonan Rehabilitasi</td>
							<td style="padding:0px;padding-left:5px;"><?php echo (!empty($tglPermohonan))? $tglPermohonan:''; ?></td>
						</tr>
						<tr>
							<td valign="top" style="vertical-align:top">Alasan Permohonan Rehabilitasi</td>
							<td style="background:white;" id="alasan_text"><?php echo (!empty($alasan))? $alasan:''; ?></td>
						</tr>
						<tr>
							<td>Tanggal Pengumuman Rehabilitasi dalam Berita Negara RI</td>
							<td style="padding:0px;padding-left:5px;"><?php echo (!empty($tglBerita))? $tglBerita:''; ?></td>
						</tr>
						<tr>
							<td>Tanggal Dimuat dalam Surat Kabar</td>
							<td style="padding:0px;padding-left:5px;"><?php echo (!empty($tglSuratKabar))? $tglSuratKabar:''; ?></td>
						</tr>
						<tr>
							<td>Nama Surat Kabar</td>
							<td style="padding:0px;padding-left:5px;"><?php echo (!empty($suratKabar))? $suratKabar:''; ?></td>
						</tr>
						<tr>
							<td>Tanggal Perlawanan</td>
							<td style="padding:0px;padding-left:5px;"><?php echo (!empty($tglPerlawanan))? $tglPerlawanan:''; ?></td>
						</tr>
						<tr>
							<td>Tanggal Putusan Rehabilitasi</td>
							<td style="padding:0px;padding-left:5px;"><?php echo (!empty($tglPutusanRehab))? $tglPutusanRehab:''; ?></td>
						</tr>
						<tr>
							<td valign="top" style="vertical-align:top">Amar Putusan</td>
							<td style="background:white;" id="amar_put_text"><?php echo (!empty($amarPutusan))? $amarPutusan:''; ?></td>
						</tr>
						<tr>
							<td>E-Doc Amar Putusan</td>
							<td style="padding:0px;padding-left:5px;border:0px;"><?php echo (!empty($edocAmar))? $edocAmar:''; ?></td>
						</tr>
						<tr>
							<td>Keterangan</td>
							<td style="padding:0px;padding-left:5px;border:0px;"><?php echo (!empty($ket))? $ket:''; ?></td>
						</tr>
						<tr>
							<td colspan="2" style="background:white;" align="center">
							<input type="button" id='back_rehab' value="Kembali" class="btn">
							</td>
						</tr>
					</tbody>
			</table>
		</form>
	</div>
</div>
<script type="text/javascript">
$("#back_rehab").click(function() {
	$('#popup_form').fadeOut();
    $("#popup_form").remove();
});
</script>