MINI
C:
/
SiakApp
/
apps
/
ddn
/
modules
/
CatatanSipilKelahiran
/
templates
/
Upload File:
files >> C:/SiakApp/apps/ddn/modules/CatatanSipilKelahiran/templates/ListCetakLahirAktaKutipanSuccess.php
<?php for($j=0;$j<count($listCapilLahir);$j++){ if (!$LimitCetak[$j]){ $rows=$listCapilLahir[$j][0]; $row = $listRegion[$j][0]; $bayiNik = $rows->getBayiNik(); $admAktaNo = $rows->getAdmAktaNo(); $bayiTmptLahir = $rows->getBayiTmptLahir(); $bayiTglLahirTglIndo = CapilDateSayDate($rows->getBayiTglLahir(), false, true); $bayiTglLahirTglIng = CapilDateSayDate($rows->getBayiTglLahir(), true, true); $bayiTglLahirBlnIndo = CapilDateSayMonth($rows->getBayiTglLahir(), false, true); $bayiTglLahirThnIndo = CapilDateSayYear($rows->getBayiTglLahir(), false, true); $bayiTglLahirBlnIng = CapilDateSayMonth($rows->getBayiTglLahir(), true, true); $bayiTglLahirThnIng = CapilDateSayYear($rows->getBayiTglLahir(), true, true); $bayiNamaLgkp = $rows->getBayiNamaLgkp(); $admAktaKtpTgl = date("d-m-Y"); $kelaminInd = ($rows->getBayiJnsKelamin() == "1") ? "Laki-laki" : "Perempuan"; $kelaminEng = ($rows->getBayiJnsKelamin() == "1") ? "Male" : "Female"; $infoPasanganIndo = "-, DENGAN JENIS KELAMIN ".strtoupper($kelaminInd); $infoPasanganIng = "-, SEX OF ".strtoupper($kelaminEng); if($rows->getBayiAnakKe() < 99){ $infoPasanganIndo = strtoupper(CapilSayNumber($rows->getBayiAnakKe()) . ", " . $kelaminInd); if ($rows->getAyahNamaLgkp()) { $infoPasanganIndo.= strtoupper(" dari ayah " . $rows->getAyahNamaLgkp()); $infoPasanganIndo.= strtoupper(" dan ibu " . $rows->getIbuNamaLgkp()); } else $infoPasanganIndo.= strtoupper(" dari ibu " . $rows->getIbuNamaLgkp()); ///////////////////////////// $infoPasanganIng = strtoupper(CapilSayNumberEng2($rows->getBayiAnakKe(), true) . ", " . $kelaminEng); if ($rows->getAyahNamaLgkp()) { $infoPasanganIng.= strtoupper(" from father " . $rows->getAyahNamaLgkp()); $infoPasanganIng.= strtoupper(" and mother " . $rows->getIbuNamaLgkp()); } else $infoPasanganIng.= strtoupper(" from mother " . $rows->getIbuNamaLgkp()); } $hurufCetak = (strlen($infoPasanganIndo)>60) ? 12 : 14; $hurufCetakThn = (strlen($bayiTglLahirThnIndo)>40) ? 12 : 14; /////////////////////////////// $PenetapanNoIndo = ""; $PenetapanTglIndo = ""; $PenetapanNoIng = ""; $PenetapanTglIng = ""; if ($rows->getAdmSpNama() && $rows->getAdmSpTgl() && $rows->getAdmSpNo() && false){ // Pencantuman Berdasarkan Penetapan Pengadilan bahasa Indonesia $PenetapanNoIndo = "BERDASARKAN " . $rows->getAdmSpNama() . " NOMOR " . $rows->getAdmSpNo(); $PenetapanTglIndo = "TANGGAL " . CapilDateSayDate($rows->getAdmSpTgl(), false, true) . " " . CapilDateSayMonth($rows->getAdmSpTgl()) . " TAHUN " . CapilDateSayYear($rows->getAdmSpTgl(), false, true); // Pencantuman Berdasarkan Penetapan Pengadilan bahasa Inggris $PenetapanNoIng = "BASED ON COURT FULFILLMENT OF " . $rows->getAdmSpNama() . " NUMBER " . $rows->getAdmSpNo(); $PenetapanTglIng = "ON " . CapilDateSayMonth($rows->getAdmSpTgl(), true) . " " . CapilDateSayDate($rows->getAdmSpTgl(), true, true) . " " . CapilDateSayYear($rows->getAdmSpTgl(), true, true); } $kab = (ereg("KODYA|KOTA", $row->getNamaKab())) ? $row->getNamaKab() : "KAB. " . $row->getNamaKab(); $NamaPej = $row->getCapilNamaPejabat(); $NipPej = $row->getCapilNipPejabat(); /*$cekKepala = strtoupper(substr($row->getCapilJabatan(), 0,6)); if ($cekKepala == "KEPALA") { $jabatan = strtoupper(substr_replace($row->getCapilJabatan(), '',0,7)); } else { $jabatan = strtoupper($row->getCapilJabatan()); }*/ $jabatan = strtoupper($row->getCapilJabatan()); // Tanggal Kutipan Akta $AktaTglIndo = CapilDateSayDate($admAktaKtpTgl, false, true) . " " . CapilDateSayMonth($admAktaKtpTgl); $AktaTglIng = CapilDateSayDate($admAktaKtpTgl, true, true) . " of " . CapilDateSayMonth($admAktaKtpTgl, true); $AktaThnIndo = "TAHUN " . CapilDateSayYear($admAktaKtpTgl, false, true); $AktaThnIng = "ON YEAR " . CapilDateSayYear($admAktaKtpTgl, true, true); $hurufKab = (strlen($kab) > 15) ? 12 : 14; //$lahirTglIndo = (strlen($AktaTglIndo) > 15) ? 12 : 14; //$lahirTglEng = (strlen($AktaTglIng) > 15) ? 12 : 14; //$lahirTahunIndo = (strlen($AktaThnIndo) > 40) ? 12 : 14; //$lahirTahunEng = (strlen($AktaThnIng) > 40) ? 12 : 14; ?> <html> <head> <title>kutipan_akta_lahir</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> </head> <body bgcolor="#FFFFFF"> <table border="0" cellpadding="0" cellspacing="0" style="font-family:Arial;font-size:13px;"> <tr> <td width="1" height="1"><img src="<?php echo getcwd();?>/images/spacer.gif" width="<?php echo $LAHIR_COL01_ROW01?>" height="<?php echo $LAHIR_ROW01?>" /></td> <td> </td> </tr> <tr> <td width="1" height="1"><img src="<?php echo getcwd();?>/images/spacer.gif" width="1" height="<?php echo $LAHIR_ROW02?>" /></td> <td valign="top"> <table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr> <td width="1" height="1"><img src="<?php echo getcwd();?>/images/spacer.gif" width="<?php echo $LAHIR_COL01_ROW02?>" height="1" /></td> <td><b style="font-size:16px"><?php echo $bayiNik;?></b></td> </tr> </table> </td> </tr> <tr> <td width="1" height="1"><img src="<?php echo getcwd();?>/images/spacer.gif" width="1" height="<?php echo $LAHIR_ROW03?>" /></td> <td> </td> </tr> <tr> <td width="1" height="1"><img src="<?php echo getcwd();?>/images/spacer.gif" width="1" height="<?php echo $LAHIR_ROW04?>" /></td> <td valign="top"> <table width="100%" cellpadding="0" cellspacing="0" border="0" style="font-size:16px;"> <tr> <td width="1" height="1"><img src="<?php echo getcwd();?>/images/spacer.gif" width="<?php echo $LAHIR_COL01_ROW04?>" height="1" /></td> <td><b>I N D O N E S I A</b></td> </tr> <tr> <td width="1" height="1"><img src="<?php echo getcwd();?>/images/spacer.gif" width="<?php echo $LAHIR_COL01_ROW04?>" height="1" /></td> <td><em>I N D O N E S I A N</em></td> </tr> </table> </td> </tr> <tr> <td width="1" height="1"><img src="<?php echo getcwd();?>/images/spacer.gif" width="1" height="<?php echo $LAHIR_ROW05?>" /></td> <td> </td> </tr> <tr> <td width="1" height="1"><img src="<?php echo getcwd();?>/images/spacer.gif" width="1" height="<?php echo $LAHIR_ROW06?>" /></td> <td valign="top"> <table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr> <td width="1" height="1"><img src="<?php echo getcwd();?>/images/spacer.gif" width="<?php echo $LAHIR_COL01_ROW06?>" height="1" /></td> <td><b style="font-size:16px"><?php echo $admAktaNo;?></b></td> </tr> </table> </td> </tr> <tr> <td width="1" height="1"><img src="<?php echo getcwd();?>/images/spacer.gif" width="1" height="<?php echo $LAHIR_ROW07?>" /></td> <td valign="top"> <table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr> <td width="1" height="1"><img src="<?php echo getcwd();?>/images/spacer.gif" width="<?php echo $LAHIR_COL01_ROW07?>" height="1" /></td> <td><b>-</b></td> </tr> </table> </td> </tr> <tr> <td width="1" height="1"><img src="<?php echo getcwd();?>/images/spacer.gif" width="1" height="<?php echo $LAHIR_ROW08?>" /></td> <td valign="top"> <table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr> <td width="1" height="1"><img src="<?php echo getcwd();?>/images/spacer.gif" width="<?php echo $LAHIR_COL01_ROW08?>" height="1" /></td> <td width="200" height="15" valign="top"><b><?php echo $bayiTmptLahir;?></b></td> <td width="1" height="1"><img src="<?php echo getcwd();?>/images/spacer.gif" width="<?php echo $LAHIR_COL02_ROW08?>" height="1" /></td> <td><b style="font-size:<?php echo strlen($bayiTglLahirTglIndo)>15?12:14 ?>"><?php echo $bayiTglLahirTglIndo;?></b><br /><em ><?php echo $bayiTglLahirTglIng;?></em></td> </tr> <!-- <tr> <td width="1" height="1"><img src="<?php echo getcwd();?>/images/spacer.gif" width="<?php echo $LAHIR_COL01_ROW08?>" height="1" /></td> <td> </td> <td width="1" height="1"><img src="<?php echo getcwd();?>/images/spacer.gif" width="<?php echo $LAHIR_COL02_ROW08?>" height="1" /></td> <td><em><?php echo $bayiTglLahirTglIng;?></em></td> </tr>--> </table> </td> </tr> <tr> <td width="1" height="1"><img src="<?php echo getcwd();?>/images/spacer.gif" width="1" height="<?php echo $LAHIR_ROW10?>" /></td> <td valign="top"> <table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr> <!--<td width="1" height="1"><img src="<?php echo getcwd();?>/images/spacer.gif" width="<?php echo $LAHIR_COL01_ROW10?>" height="1" /></td>--> <td width="90" height="15"><b><?php echo $bayiTglLahirBlnIndo;?></b></td> <td width="1" height="1"><img src="<?php echo getcwd();?>/images/spacer.gif" width="<?php echo $LAHIR_COL02_ROW10?>" height="1" /></td> <td style="font-size:<?php echo $hurufCetakThn;?>px;"><b><?php echo $bayiTglLahirThnIndo;?></b></td> <td width="100"> </td> </tr> <tr> <!--<td> </td>--> <td><em><?php echo $bayiTglLahirBlnIng;?></em></td> <td> </td> <td><em><?php echo $bayiTglLahirThnIng;?></em></td> <td> </td> </tr> </table> </td> </tr> <tr> <td width="1" height="1"><img src="<?php echo getcwd();?>/images/spacer.gif" width="1" height="<?php echo $LAHIR_ROW12?>" /></td> <td align="center" valign="top"> <table width="100%" cellpadding="0" cellspacing="0" border="0" style="font-size:16px;"> <tr> <td align="center"><b><?php echo $bayiNamaLgkp;?></b><img src="<?php echo getcwd();?>/images/spacer.gif" width="100" height="1" /></td> </tr> </table> </td> </tr> <tr> <td width="1" height="1"><img src="<?php echo getcwd();?>/images/spacer.gif" width="1" height="<?php echo $LAHIR_ROW13?>" /></td> <td> <table width="80%" cellpadding="0" cellspacing="0" border="0" style="font-size:<?php echo $hurufCetak;?>px;"> <tr height="28"> <td width="1" height="1"><img src="<?php echo getcwd();?>/images/spacer.gif" width="<?php echo $LAHIR_COL01_ROW13?>" height="1" /></td> <td valign="bottom"><b><?php echo $infoPasanganIndo;?></b></td> </tr> <tr height="29"> <td width="1" height="1"><img src="<?php echo getcwd();?>/images/spacer.gif" width="<?php echo $LAHIR_COL01_ROW13?>" height="1" /></td> <td valign="top"><em><?php echo $infoPasanganIng;?></em></td> </tr> </table> </td> </tr> <tr> <td width="1" height="1"><img src="<?php echo getcwd();?>/images/spacer.gif" width="1" height="<?php echo $LAHIR_ROW15?>" /></td> <td valign="top"> <!--<table width="100%" cellpadding="0" cellspacing="0" border="0" style="font-size:11px;"> <tr> <td width="1" height="1"><img src="<?php echo getcwd();?>/images/spacer.gif" width="<?php echo $LAHIR_COL01_ROW15?>" height="1" /></td><td valign="bottom"><b><?php echo $PenetapanNoIndo." ".$PenetapanTglIndo;?></b></td> <td><img src="<?php echo getcwd();?>/images/spacer.gif" width="100" height="1" /></td> </tr> </table>--> </td> </tr> <tr> <td width="1" height="1"><img src="<?php echo getcwd();?>/images/spacer.gif" width="1" height="<?php echo $LAHIR_ROW17?>" /></td> <td valign="top"> <!--<table width="100%" cellpadding="0" cellspacing="0" border="0" style="font-size:11px;"> <tr> <td width="1" height="1"><img src="<?php echo getcwd();?>/images/spacer.gif" width="<?php echo $LAHIR_COL01_ROW17?>" height="1" /></td><td valign="top"><em><?php echo $PenetapanNoIng." ".$PenetapanTglIng;?></em></td> <td><img src="<?php echo getcwd();?>/images/spacer.gif" width="100" height="1" /></td> </tr> </table>--> </td> </tr> <tr> <td width="1" height="1"><img src="<?php echo getcwd();?>/images/spacer.gif" width="1" height="<?php echo $LAHIR_ROW19?>" /></td> <td valign="top"> <!--<table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr> <td> </td> </tr> </table>--> </td> </tr> <tr> <td width="1" height="1"><img src="<?php echo getcwd();?>/images/spacer.gif" width="1" height="<?php echo $LAHIR_ROW20?>" /></td> <td valign="top"> <table width="90%" cellpadding="0" cellspacing="0" border="0" style="font-size:<?php echo $hurufKab;?>px;"> <tr> <td width="1" height="1"><img src="<?php echo getcwd();?>/images/spacer.gif" width="<?php echo $LAHIR_COL01_ROW20?>" height="1" /></td> <td nowrap valign="bottom"><b style="font-size:<?php echo $hurufKab ?>"><?php echo "DI ".$kab;?></b></td> </tr> </table> </td> </tr> <tr> <td width="1" height="1"><img src="<?php echo getcwd();?>/images/spacer.gif" width="1" height="<?php echo $LAHIR_ROW21?>" /></td> <td valign="top"> <table width="100%" cellpadding="0" cellspacing="0" border="0" style="font-size:14px;"> <tr> <td width="1" height="1"><img src="<?php echo getcwd();?>/images/spacer.gif" width="<?php echo $LAHIR_COL01_ROW21?>" height="1" /></td> <td><b style="font-size:<?php echo (strlen($AktaTglIndo)>15)?12:14 ?>"><?php echo $AktaTglIndo;?></b></td> </tr> <tr> <td width="1" height="1"><img src="<?php echo getcwd();?>/images/spacer.gif" width="<?php echo $LAHIR_COL01_ROW21?>" height="1" /></td> <td style="font-size:<?php echo strlen($AktaTglIng)>15?12:14 ?>"><em><?php echo $AktaTglIng;?></em></td> </tr> </table> </td> </tr> <tr> <td width="1" height="1"><img src="<?php echo getcwd();?>/images/spacer.gif" width="1" height="<?php echo $LAHIR_ROW22?>" /></td> <td valign="top"> <table width="100%" cellpadding="0" cellspacing="0" border="0" style="font-size:14px;"> <tr> <td width="1" height="1"><img src="<?php echo getcwd();?>/images/spacer.gif" width="<?php echo $LAHIR_COL01_ROW22?>" height="1" /></td> <td nowrap><b style="font-size:<?php echo strlen($AktaThnIndo)>40?12:14 ?> "><?php echo $AktaThnIndo;?></b></td> </tr> <tr> <td width="1" height="1"><img src="<?php echo getcwd();?>/images/spacer.gif" width="<?php echo $LAHIR_COL01_ROW22?>" height="1" /></td> <td style="font-size:<?php echo strlen($AktaThnIng)>40?12:14 ?>"><em><?php echo $AktaThnIng;?></em></td> </tr> </table> </td> </tr> <tr> <td width="1" height="1"><img src="<?php echo getcwd();?>/images/spacer.gif" width="1" height="<?php echo $LAHIR_ROW23?>" /></td> <td valign="top"> <table width="100%" border="0" cellpadding="0" cellspacing="0" style="font-size:14px;" > <tr> <td width="1" height="1"><img src="<?php echo getcwd();?>/images/spacer.gif" width="<?php echo $LAHIR_COL01_ROW23?>" height="1" /></td> <td><b><?php echo $jabatan;?></b></td> <td><img src="<?php echo getcwd();?>/images/spacer.gif" width="100" height="1" /></td> </tr> </table> </td> </tr> <tr> <td width="1" height="1"><img src="<?php echo getcwd();?>/images/spacer.gif" width="1" height="<?php echo $LAHIR_ROW24?>" /></td> <td valign="top"> <table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr> <td> </td> </tr> </table> </td> </tr> <tr> <td width="1" height="1"><img src="<?php echo getcwd();?>/images/spacer.gif" width="1" height="<?php echo $LAHIR_ROW25?>" /></td> <td valign="top"> <table width="100%" border="0" cellpadding="0" cellspacing="0" style="font-size:14px;"> <tr> <td width="74" height="1"><img src="<?php echo getcwd();?>/images/spacer.gif" width="<?php echo $LAHIR_COL01_ROW23?>" height="1" /></td> <td width="145"><b><u><?php echo $NamaPej;?> </u><br />NIP : <?php echo $NipPej;?></b> </td> </tr> </table> </td> </tr> </table> </body> </html> <?php }else echo " "; }//end for ?>
Copyright ©2021 || Defacer Indonesia