<?php
if($data_perkara->IDJenisPerkara==346 or $data_perkara->IDJenisPerkara==347){
	$aktacerai = NULL;}
else{
	$aktacerai = 'style="display:none;"';}
if($data_perkara->IDJenisPerkara==346){
	$ikrartalak = NULL;}
else{
	$ikrartalak = 'style="display:none;"';}
	
function cek_data($data){
	if($data){
		return $data;}
	else{
		return '-';}}
?>

<hr class="thick-line" style="clear:both;">
<div id='content' style="margin: 5px;">
<div style="font-weight:bold;margin: 5px;text-align:center;">
DINYATAKAN BAHWA BENAR PERKARA <?php echo $data_perkara->noPerkara;?><br>
TERDAFTAR PADA REGISTER <?php echo $this->session->userdata('namapn');?>, DENGAN DATA SEBAGAI BERIKUT:
</div>
<div id="usual2" class="usual"> 
<div style="font-size:14px;">
	<table id="infoPerkara" style="font-size:14px;width:100%;">
		<colgroup>
		<col width="15%">
		<col width="35%">
		<col width="15%">
		<col width="35%">
		</colgroup>
		
		<tbody>
			<tr>
				<td id="first-child"><font color="white">Nomor Perkara</font></td>
				<td><b> <?php echo $data_perkara->noPerkara;?> </b></td>
				
				<td id="first-child"><font color="white">Status Perkara</font></td>
				<td> <?php echo $data_perkara->statusAkhir;?> </td>
			</tr>
			<tr>
			<td id="first-child"><font color="white">Klasifikasi Perkara</font></td>
				<td> <?php echo $data_perkara->klasifikasiPerkara;?> </td>
				
				<td id="first-child"><font color="white">Tanggal Minutasi</font></td>
				<td> <?php echo $this->tanggalhelper->convertDayDate($data_perkara->tglMinutasi);?> </td>
			</tr>
			<tr>
			<td id="first-child"><font color="white">Jenis Perkara</font></td>
				<td> <?php echo $data_perkara->jenisPerkara;?> </td>
				
				<td id="first-child"><font color="white">Tanggal Putusan</font></td>
				<td> <?php echo $this->tanggalhelper->convertDayDate($data_perkara->tglPutusan);?> </td>
			</tr>
			<tr>
				
			</tr>
			<tr>
				<td id="first-child"><font color="white">Tgl. Daftar</font></td>
				<td> <?php echo $this->tanggalhelper->convertDayDate($data_perkara->tglPendaftaran);?> </td>
				
				<td id="first-child"><font color="white">Status Putusan</font></td>
				<td> <?php echo cek_data($data_perkara->statusPutusan);?> </td>
			</tr>

			<tr>
				<td id="first-child"><font color="white">Tanggal PMH</font></td>
				<td> <?php echo $this->tanggalhelper->convertDayDate($data_perkara->tglPMH);?> </td>
				
				<td id="first-child"><font color="white">Tanggal BHT</font></td>
				<td> <?php echo $this->tanggalhelper->convertDayDate($data_perkara->tglBHT);?> </td>
			</tr>
			<tr>
				<td id="first-child"><font color="white">Tanggal PHS</font></td>
				<td> <?php echo $this->tanggalhelper->convertDayDate($data_perkara->tglPHS);?> </td>
				
				<td id="first-child" <?php echo $ikrartalak;?>><font color="white">Tgl. Ikrar Talak</font></td>
				<td <?php echo $ikrartalak;?>> <?php echo $this->tanggalhelper->convertDayDate($data_perkara->tglIkrarTalak);?> </td>
			</tr>
			<tr>
				<td id="first-child" rowspan=3 style="vertical-align: top;"><font color="white">Tgl. Sidang Pertama</font></td>
				<td rowspan=3 style="vertical-align: top;"> <?php echo $this->tanggalhelper->convertDayDate($data_perkara->tglSidangPertama);?> </td>
				
				<td id="first-child" <?php echo $aktacerai;?>><font color="white">Tgl. Akta Cerai</font></td>
				<td <?php echo $aktacerai;?>> <?php echo $this->tanggalhelper->convertDayDate($data_perkara->tglAC);?> </td>
			</tr>
			<tr>
				<td id="first-child" <?php echo $aktacerai;?>><font color="white">No. Akta Cerai</font></td>
				<td <?php echo $aktacerai;?>> <?php echo cek_data($data_perkara->noAC);?> </td>
			</tr>
			<tr>
				<td id="first-child" <?php echo $aktacerai;?>><font color="white">No. Seri Akta Cerai</font></td>
				<td <?php echo $aktacerai;?>> <?php echo cek_data($data_perkara->noseriAC);?> </td>
			</tr>

			<tr>
				<td id="first-child" style="vertical-align: top;"><font color="white">Pihak Penggugat</font></td>
				<td colspan=3> 				
				<div class="cssTable"><table id="tableinfo" style="margin:0px;padding:0px;"><colgroup><col width="5%"><col width="95%"></colgroup><tbody><tr><td>No</td><td>Nama</td></tr><tr><td align="center">1</td><td><?php echo cek_data($data_perkara->pihakPertama);?></td></tr></tbody></table></div>
				</td>
			</tr>
			<tr>
				<td id="first-child" style="vertical-align: top;"><font color="white">Pihak Tergugat</font></td>
				<td colspan=3> 				
				<div class="cssTable"><table id="tableinfo" style="margin:0px;padding:0px;"><colgroup><col width="5%"><col width="95%"></colgroup><tbody><tr><td>No</td><td>Nama</td></tr><tr><td align="center">1</td><td><?php echo cek_data($data_perkara->pihakKedua);?></td></tr></tbody></table></div>
				</td>
			</tr>
	
					</tbody>
	</table>
</div>


	</div>
</div>