MINI
C:
/
SiakApp
/
apps
/
ddn
/
modules
/
StatistikNasional
/
templates
/
Upload File:
files >> C:/SiakApp/apps/ddn/modules/StatistikNasional/templates/StrukturUmurSucces.php
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <title>STRUKTUR UMUR</title> <link href="../../../CatatanSipilAssets/css/mainStyles.css" rel="stylesheet" type="text/css" /> <link href="../../../CatatanSipilAssets/css/advancedStyle.css" rel="stylesheet" type="text/css" /> <link href="../../../../css/style.css" rel="stylesheet" type="text/css"> <link href="../../../../menu/menu2.css" rel="stylesheet" type="text/css"> <link rel="stylesheet" type="text/css" media="screen" href="/css/main.css" /> <script type="text/JavaScript"> <!-- function MM_openBrWindow(theURL,winName,features) { //v2.0 window.open(theURL,winName,features); } //--> </script> </head> <body> <div class="arial-narrow larger white" style="background-image: url(../../CatatanSipilAssets/images/content_shade_up.jpg); background-repeat: repeat-x; background-position: bottom; padding: 10px; text-align: center;">« JUMLAH PENDUDUK MENURUT STRUKTUR UMUR »</div> <div style="background-image: url(../../CatatanSipilAssets/images/content_bg.jpg); background-repeat: repeat-x; padding: 20px 30px 30px 30px;"> <table align="center" border="0" cellspacing="0" cellpadding="0" width="800"> <tr> <td height="30" align="left"> <?php if($totRecord > 0){ foreach(array("STATISTIK"=>"","BAR"=>"bar","PIE"=>"pie") as $jenisTipe=>$link): if($link!=$sf_params->get('tipe','')) echo "<b>|<a href=\"StrukturUmurKabupaten?slProp=".$sf_params->get("slProp")."&slKab=".$sf_params->get("slKab")."&tipe=$link\"> $jenisTipe </a></b>"; else echo "<b>| $jenisTipe </b>"; endforeach; echo "<b>|</b>"; }?> <?php if($sf_params->get('tipe','')==''){ ?> <hr size="-1" width="800" color="#FFFFFF" noshade></td> </tr> <tr> <td> <div style="background-color: #cce6b3; padding: 3px;"> <div style="background-color: #c3eb9b; background-image: url(../../CatatanSipilAssets/images/filter_bg.jpg); background-repeat: repeat-x; text-align: center;"> <table border="0" cellspacing="1" cellpadding="0" align="center"> <tr> <td> <strong> <?php if($sf_params->get('slKab')==null):?> PROVINSI <?php elseif($sf_params->get('slKec')==null):?> KABUPATEN/KOTA <?php else:?> KECAMATAN <?php endif;?> </strong></td> <td><strong>:</strong></td> <td><div align="left"><strong> <?php if($sf_params->get('slKab')==null):?> <?php echo siakGetNameProvinsiByParam($sf_params->get('slProp'));?> <?php elseif($sf_params->get('slKec')==null):?> <?php echo siakGetNameKabupatenByParam($sf_params->get('slProp'),$sf_params->get('slKab'));?> <?php else:?> <?php echo siakGetNameKecamatanByParam($sf_params->get('slProp'),$sf_params->get('slKab'),$sf_params->get('slKec'));?> <?php endif;?> </strong></div> </td> <tr> </table> </div> </div> </td> </tr> </table> <table border="0" cellspacing="0" cellpadding="0" width="800" align="center"> <tr> <td> <div style="background-color: #edf3fb; padding: 3px; margin-top: 5px;"> <table border="0" cellspacing="1" cellpadding="2" width="100%"> <tr id="GridHeader" class="small" align="center" height="22"> <th width="53"nowrap>NO</th> <th width="171"><?php if($sf_params->get('slKab')==null):?> KABUPATEN/KOTA <?php elseif($sf_params->get('slKec')==null):?> KECAMATAN <?php else:?> DESA/KELURAHAN <?php endif;?></th> <th width="114" align="center">Struktur Umur</th> <th width="109" align="center">Laki-Laki</th> <th width="143" align="center">Perempuan</th> <th width="161" align="center">Ada Akta</th> <th width="167" align="center">Tidak Ada Akta</th> </tr> <?php //echo count($listOfStatistik); $i = 0; $total1=0; $total2=0; $total3=0; $total4=0; foreach ($listOfStatistik as $object){ $i++; ?> <tr bgcolor=<?php echo($i%2==0)?"\"dbdbdb\"":"\"#daeaff\"";?>> <td width="53"nowrap align="center"><?php echo $i ;?></td> <td><?php if($sf_params->get('slKab')==null):?> <?php echo siakGetNameKabupatenByParam($row["NO_PROP"],$row["NO_KAB"]);?> <?php elseif($sf_params->get('slKec')==null):?> <?php echo siakGetNameKecamatanByParam($row["NO_PROP"],$row["NO_KAB"],$row["NO_KEC"]);?> <?php else:?> <?php echo siakGetNameKelurahanByParam($row["NO_PROP"],$row["NO_KAB"],$row["NO_KEC"],$row["NO_KEL"]);?> <?php endif;?></td> <td width="114" align="right"><?php echo $object["STRUKTUR_UMUR"]?></td> <td width="109" align="right"><a href="#" onclick="MM_openBrWindow('../../StatistikKependudukan/BiodataStrukturUmur?slProp=<?php echo $object["NO_PROP"]?>&slKab=<?php echo $object["NO_KAB"]?>&JENIS_KLMIN=1&umur=<?php echo $object['STRUKTUR_UMUR']?>','StatistikBiodata','status=yes,scrollbars=yes,resizable=yes')"><?php echo number_format($object["LAKI_LAKI"],0,',','.');$total1+=$object["LAKI_LAKI"];?></a></td> <td width="143" align="right"><a href="#" onclick="MM_openBrWindow('../../StatistikKependudukan/BiodataStrukturUmur?slProp=<?php echo $object["NO_PROP"]?>&slKab=<?php echo $object["NO_KAB"]?>&JENIS_KLMIN=2&umur=<?php echo $object['STRUKTUR_UMUR']?>','StatistikBiodata','status=yes,scrollbars=yes,resizable=yes')"><?php echo number_format($object["PEREMPUAN"],0,',','.');$total2+=$object["PEREMPUAN"];?></a></td> <td width="161" align="right"><a href="#" onclick="MM_openBrWindow('../../StatistikKependudukan/BiodataStrukturUmur?slProp=<?php echo $object["NO_PROP"]?>&slKab=<?php echo $object["NO_KAB"]?>&ADA_AKTA=2&umur=<?php echo $object['STRUKTUR_UMUR']?>','StatistikBiodata','status=yes,scrollbars=yes,resizable=yes')"><?php echo number_format($object["ADA_AKTA"],0,',','.');$total3+=$object["ADA_AKTA"];?></a></td> <td width="167" align="right"><a href="#" onclick="MM_openBrWindow('../../StatistikKependudukan/BiodataStrukturUmur?slProp=<?php echo $object["NO_PROP"]?>&slKab=<?php echo $object["NO_KAB"]?>&TIDAK_ADA_AKTA=1&umur=<?php echo $object['STRUKTUR_UMUR']?>','StatistikBiodata','status=yes,scrollbars=yes,resizable=yes')"> <?php echo number_format($object["TIDAK_ADA_AKTA"],0,',','.');$total4+=$object["TIDAK_ADA_AKTA"];;?></a></td> </tr> <tr id="TFooter"> <td align="left">TOTAL</td> <td></td> <td></td> <td width="109" align="right"><?php echo number_format($total1,0,',','.')?></td> <td width="143" align="right"><?php echo number_format($total2,0,',','.')?></td> <td width="161" align="right"><?php echo number_format($total3,0,',','.')?></td> <td width="167" align="right"><?php echo number_format($total4,0,',','.')?></td> </tr> </table> </div> <?php }else{ if($totRecord > 0){ ?> <hr size="-1" width="958" color="#FFFFFF" noshade> <div style="background-color: #c3eb9b; background-image: url(../../CatatanSipilAssets/images/filter_bg.jpg); background-repeat: repeat-x; text-align: center; padding:4px"> <center> <img src="../..<?php echo $graph;?>" /> </center> </div> <?php } } ?> </td> </tr> <tr height="50"> <td align="center"><input name="cl_button" type="button" onClick="window.close();" value="KELUAR" class="formobj11"></p></td> </tr> </table> </table> </body> </html>
Copyright ©2021 || Defacer Indonesia