MINI
C:
/
siak
/
TOOL SIAK
/
tool9
/
siak73
/
app
/
Siak
/
application
/
views
/
cetak
/
capil_kematian
/
Upload File:
files >> C:/siak/TOOL SIAK/tool9/siak73/app/Siak/application/views/cetak/capil_kematian/doKutipanPreview.php
<?php $this->siakconfigprint->setArrayPrint($configCetak); ?> <html> <head> <link href="../../java/cetak/css/style.css" rel="stylesheet" type="text/css"/> <style type="text/css" media="print,screen"> @page{ size:A4;} table.renggang tr{ line-height: 0.3cm;} tr.renggang{ line-height: 0.3cm;} table.garis{ border-top:1px #000000 solid;border-left:1px #000000 solid;border-right:1px #000000 solid;border-bottom:1px #000000 solid;} </style> </head> <body class="atas"> <?php for ($i = 0; $i < count($data); $i++){ $value = $data[$i]; $indWord = ""; $engWord = ""; $indSex = "PEREMPUAN"; $endSex = "DAUGHTER"; if($value->mati_jns_kelamin == "1"){ $indSex = "LAKI-LAKI"; $endSex = "SON"; } $indAnake = "ANAK KE -, "; $engAnake = ""; if($this->siaklib->getKosongToStrip($value->mati_anak_ke) <> "-"){ $indAnake = "ANAK KE ".$this->siakwordconvert->getIndonesiaConvertNumberToWords($value->mati_anak_ke).", "; $engAnake = $this->siakwordconvert->getEnglishOrdinal($value->mati_anak_ke)." "; } if((strlen(trim($value->ayah_nama_lgkp)) > 0)){ $indWord = $indAnake.$indSex." DARI AYAH ".$value->ayah_nama_lgkp." DAN IBU ".$value->ibu_nama_lgkp; $engWord = $engAnake.$endSex." FROM FATHER ".$value->ayah_nama_lgkp." AND MOTHER ".$value->ibu_nama_lgkp; }else{ $indWord = $indAnake.$indSex." DARI IBU ".$value->ibu_nama_lgkp; $engWord = $engAnake.$endSex." FROM MOTHER ".$value->ibu_nama_lgkp; } $nationality = "<b>I N D O N E S I A</b><br /><i>I N D O N E S I A</i>"; if($value->mati_wrg_ngr <> "1"){ $nationality = "<b>".$value->mati_kebangsaan."</b>"; } ?> <table width="100%" class="kiri bgMati atas"> <tr> <td> <table width="100%" class="atas" cellpadding="0" cellspacing="0" border="0"> <tr class="ROW01"> <td height="105"></td> </tr> </table> <table width="100%" class="atas" cellpadding="0" cellspacing="0" border="0"> <tr class="ROW03"> <td width="31%" height="214" class="ROW02_COL01"></td> <td width="69%" class="font15"><b><?php echo is_null($value->mati_nik)?'-':$value->mati_nik;?></b></td> </tr> </table> <table width="100%" class="atas" cellpadding="0" cellspacing="0" border="0"> <tr class="ROW05"> <td width="46%" height="84" class="ROW04_COL01"></td> <td width="54%" class="font15"><?=$nationality?></td> </tr> </table> <table width="100%" class="atas" cellpadding="0" cellspacing="0" border="0"> <tr class="ROW07"> <td width="39%" height="64" class="ROW06_COL01"></td> <td width="61%" class="font15"><b> <?php echo $value->adm_akta_no;?> </b></td> </tr> </table> <table width="100%" class="atas" cellpadding="0" cellspacing="0" border="0"> <tr class="ROW09"> <td width="10%" height="12" class="ROW08_COL01"></td> <td width="44%"><b><?php echo $value->mati_tmpt_mati;?></b></td> <td width="0%" class="ROW08_COL02"></td> <td width="46%"> <?php $temp_tgl = explode('-', $value->mati_tgl_mati->format('d-m-Y'));?> <b><?php echo strtoupper($this->siakwordconvert->getIndonesiaConvertNumberToWords($temp_tgl[0])).' ';?></b> <br /> <i>THE <?php echo strtoupper($this->siakwordconvert->getEnglishOrdinal($temp_tgl[0])).' OF ';?></i> </td> </tr> </table> <table width="100%" class="atas" cellpadding="0" cellspacing="0" border="0"> <tr class="ROW11"> <td width="10%" height="51" class="ROW10_COL01"></td> <td width="39%"> <b><?php echo strtoupper($this->siakwordconvert->getIndonesiaMonth($temp_tgl[1]));?></b> <br /> <i><?php echo strtoupper($this->siakwordconvert->getEnglishMonth($temp_tgl[1]));?></i> </td> <td width="1%" class="ROW10_COL02"></td> <td width="50%"> <b><?php echo strtoupper($this->siakwordconvert->getIndonesiaConvertNumberToWords($temp_tgl[2]));?></b> <br /> <i><?php echo strtoupper($this->siakwordconvert->getEnglishYear($temp_tgl[2]));?></i> </td> </tr> </table> <table width="100%" class="atas" cellpadding="0" cellspacing="0" border="0"> <tr class="ROW13"> <td width="5%" height="30" class="ROW11_COL01"></td> <td width="74%" class="font15 tengah"><b> <?php echo $value->mati_nama_lgkp;?> </b></td> <td width="21%" class="ROW12_COL02"></td> </tr> </table> <table width="100%" class="atas" cellpadding="0" cellspacing="0" border="0"> <tr class="ROW15"> <td width="16%" height="18" class="ROW14_COL01"></td> <td width="38%"><b><?php echo $value->mati_tmpt_mati;?></b></td> <td width="0%" class="ROW14_COL02"></td> <td width="46%"> <?php $tglLahirAda = "N"; $temp_tgl_lhr = "";; if($value->mati_tgl_lahir <> NULL){ $tglLahirAda = "Y"; $temp_tgl_lhr = explode('-', $value->mati_tgl_lahir->format('d-m-Y')); } ?> <b><?php echo $tglLahirAda == "N"?"":strtoupper($this->siakwordconvert->getIndonesiaConvertNumberToWords($temp_tgl_lhr[0])).' ';?></b> <br /> <i><?php echo $tglLahirAda == "N"?"":"THE ".strtoupper($this->siakwordconvert->getEnglishOrdinal($temp_tgl_lhr[0])).' OF ';?></i> </td> </tr> </table> <table width="100%" class="atas" cellpadding="0" cellspacing="0" border="0"> <tr class="ROW17"> <td width="10%" height="18" class="ROW16_COL01"></td> <td width="38%"> <b><?php echo $tglLahirAda == "N"?"":strtoupper($this->siakwordconvert->getIndonesiaMonth($temp_tgl_lhr[1]));?></b> <br /> <i><?php echo $tglLahirAda == "N"?"":strtoupper($this->siakwordconvert->getEnglishMonth($temp_tgl_lhr[1]));?></i> </td> <td width="1%" class="ROW16_COL02"></td> <td width="51%"> <b><?php echo $tglLahirAda == "N"?"":strtoupper($this->siakwordconvert->getIndonesiaConvertNumberToWords($temp_tgl_lhr[2]));?></b> <br /> <i><?php echo $tglLahirAda == "N"?"":strtoupper($this->siakwordconvert->getEnglishYear($temp_tgl_lhr[2]));?></i> </td> </tr> </table> <table width="100%" class="atas" cellpadding="0" cellspacing="0" border="0"> <tr class="ROW19"> <td width="10%" height="103" class="ROW18_COL01"></td> <td width="71%"><?=strtoupper($indWord)?><br /> <i><?=strtoupper($engWord)?></i></td> <td width="19%" class="ROW18_COL02"></td> </tr> </table> <table width="100%" class="atas" cellpadding="0" cellspacing="0" border="0"> <tr class="ROW21"> <td width="63%" height="25" class="ROW20_COL01"></td> <td width="33%"><b>DI <?php echo ($value->adm_no_kab < 70)?'KABUPATEN ':'';?><?php echo $value->adm_nama_kab;?></b></td> <td width="4%" class="ROW20_COL02"></td> </tr> </table> <table width="100%" class="atas font11" cellpadding="0" cellspacing="0" border="0"> <tr class="ROW23"> <td width="55%" height="18" class="ROW22_COL01"></td> <td width="23%"><?php $temp_akta = explode('-', date('d-m-Y'));?><b><?php echo strtoupper($this->siakwordconvert->getIndonesiaConvertNumberToWords($temp_akta[0])).' ';?></b><b><?php echo strtoupper($this->siakwordconvert->getIndonesiaMonth($temp_akta[1]));?></b><br /> <i>THE <?php echo strtoupper($this->siakwordconvert->getEnglishOrdinal($temp_akta[0])).' OF ';?></i><i><?php echo strtoupper($this->siakwordconvert->getEnglishMonth($temp_akta[1]));?></i></td> <td width="22%" class="ROW22_COL02"></td> </tr> </table> <table width="100%" class="atas font11" cellpadding="0" cellspacing="0" border="0"> <tr class="ROW25"> <td width="43%" height="18" class="ROW24_COL01"></td> <td width="35%"><b><?php echo strtoupper($this->siakwordconvert->getIndonesiaConvertNumberToWords($temp_akta[2]));?></b><br /> <i><?php echo strtoupper($this->siakwordconvert->getEnglishYear($temp_akta[2]));?></i></td> <td width="22%" class="ROW24_COL02"></td> </tr> </table> <table width="100%" class="atas" cellpadding="0" cellspacing="0" border="0"> <tr class="ROW27"> <td width="50%" height="76" class="ROW26_COL01"></td> <td width="28%"><b><?php echo is_null($value->capil_jabatan)?'-':$this->siaklib->siak_trim(str_replace('KEPALA', '', strtoupper($value->capil_jabatan)));?></b></td> <td width="22%" class="ROW26_COL02"></td> </tr> </table> <table width="100%" class="atas" cellpadding="0" cellspacing="0" border="0"> <tr> <td width="53%" height="132" class="ROW28_COL01"></td> <td width="34%"><b><u><?php echo is_null($value->capil_nama_pejabat)?'-':$value->capil_nama_pejabat;?></u><br /> NIP : <?php echo is_null($value->capil_nip_pejabat)?'-':$value->capil_nip_pejabat;?></b></td> <td width="13%" class="ROW28_COL02"></td> </tr> </table> </td> </tr> </table> <?php if($i < count($data)-1){ echo '<div class="halamanbaru"></div>'; } } ?> </body> </html>
Copyright ©2021 || Defacer Indonesia