| .. | |||||
| page | |||||
| index.php |
| 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/check/ |
Upload File : |
<!DOCTYPE html>
<html>
<?php
date_default_timezone_set("Asia/Jakarta");
include ('../home/admin/part/db.php');
require_once '../tracking/curl/curl.php';
$ipPublik ='https://simpel.dpmptsp.pekanbaru.go.id/simpel2/';
$no=trim($_REQUEST['q']);
$length=strlen($no);
if($length==32){
$curl = new Curl();
$curl->get($ipPublik.'index.php?act=Permohonan&task=client&find=checking&id='.$no.'&html=0');
if ($curl->http_status_code == 200) {
$obj = json_decode($curl->response);
if($obj->success){
$error=false;
$ket='';
}else{
$error=true;
$ket='<div class="alert_message red" jQuery><p style="font-weight:700;"><i class="fa fa-ban"></i> MAAF! Data Tidak ditemukan di Server kami</p></div>
<div style="width:100%;text-align:center;margin-top"-10%;">
<image src="../images/404.gif" width="65%">
</div>';
}
}else{
$error=true;
$ket='<div class="alert_message red" jQuery><p style="font-weight:700;"><i class="fa fa-ban"></i> MAAF! Tidak ada Respon dari Server</p></div>
<div style="width:100%;text-align:center;margin-top"-10%;">
<image src="../images/giphy.gif" width="50%">
</div>';
}
}else{
$error=true;
$ket='<div class="alert_message red" jQuery><p style="font-weight:700;"><i class="fa fa-ban"></i> MAAF! Data Tidak ditemukan di Server kami</p></div>
<div style="width:100%;text-align:center;margin-top"-10%;">
<image src="../images/404.gif" width="65%">
</div>';
}
?>
<head>
<title>DPMPTSP Kota Pekanbaru</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="keywords" content="Dinas Penanaman Modal dan Pelayanan Terpadu Satu Pintu Kota Pekanbaru" />
<meta name="description" content="Dinas Penanaman Modal dan Pelayanan Terpadu Satu Pintu Kota Pekanbaru">
<meta name="author" content="DPMPTSP Kota Pekanbaru">
<link rel="shortcut icon" type="image/x-icon" href="<?php echo PATH; ?>favicon.ico" />
<!-- Styles -->
<link rel="stylesheet" href="<?php echo PATH; ?>css/normalize.css">
<link rel="stylesheet" href="<?php echo PATH; ?>css/fontawesome.css">
<link rel="stylesheet" href="<?php echo PATH; ?>css/colors.css">
<link rel="stylesheet" href="<?php echo PATH; ?>css/typography.css">
<link rel="stylesheet" href="<?php echo PATH; ?>css/style.css">
<link rel="stylesheet" href="<?php echo PATH; ?>css/custom.css">
<!-- Responsive -->
<link rel="stylesheet" type="text/css" media="(max-width:768px)" href="<?php echo PATH; ?>css/responsive-0.css">
<link rel="stylesheet" type="text/css" media="(min-width:769px) and (max-width:992px)" href="<?php echo PATH; ?>css/responsive-768.css">
<link rel="stylesheet" type="text/css" media="(min-width:993px) and (max-width:1200px)" href="<?php echo PATH; ?>css/responsive-992.css">
<link rel="stylesheet" type="text/css" media="(min-width:1201px)" href="<?php echo PATH; ?>css/responsive-1200.css">
<link href='http://fonts.googleapis.com/css?family=Titillium+Web:300,300italic,400,400italic,700,700italic' rel='stylesheet' type='text/css'>
</head>
<body>
<!-- Wrapper -->
<div id="wrapper" class="wide">
<!-- Header -->
<header id="header" role="banner">
<!-- Header main -->
<div id="header_main" class="header_main">
<div class="container">
<!-- Logo -->
<div class="site_brand" style="text-align:center;">
<img src="<?php echo PATH; ?>images/logo2.png" alt="Logo">
</div><!-- End Logo -->
<div style="text-align:center;">
<span style="font-size:16px;font-weight:600;">PEMERINTAH KOTA PEKANBARU</span><br>
<span style="font-size:20px;font-weight:700;">DINAS PENANAMAN MODAL DAN PELAYANAN TERPADU SATU PINTU</span><br>
<span style="font-size:12px;">Jalan Cut Nyak Dien No. 3 Telp. (0761)-28262 Fax. (0761)-42003 Pekanbaru 28126</span>
</div>
</div>
</div><!-- End Header main -->
</header><!-- End Header -->
<!-- Section -->
<section>
<div class="container">
<div class="row">
<!-- Main content -->
<div class="col col_12_of_12">
<?php
if($error){
echo $ket;
}else{
//debug($obj);
if(!@include('page/'.strtolower($obj->permohonan->jsiKode).'.php')){
$nomor = $obj->permohonan->jsiSubKode.'NoLengkap';
$TglPengesahan = $obj->permohonan->jsiSubKode.'TglPengesahan';
$berlaku = $obj->permohonan->jsiSubKode.'TglBerlaku';
?>
<style type="text/css">
.dp{
padding-top:5px;
border-bottom:dashed 1px silver;
}
.zzzz{
list-style-type: none;
}
.fl{
width:25%;
display:inline-block;
}
</style>
<h3 style="text-align:center"><b><?php echo $obj->permohonan->jsiNama; ?></b></h3>
<div class="row">
<div class="col col_12_of_12">
<ul class="zzzz">
<li class="dp">
<h5 class="fl">Nomor</h5>
:<b> <?php echo $obj->suratIzin->$nomor; ?></b>
</li>
<li class="dp">
<h5 class="fl">Nama Pemohon</h5>
:<b> <?php echo $obj->permohonan->mhnNama; ?></b>
</li>
<li class="dp">
<h5 class="fl">Alamat Pemohon</h5>
:<b> <?php echo $obj->permohonan->mhnAlamat; ?></b>
</li>
<li class="dp">
<h5 class="fl">Tgl. Pengesahan</h5>
:<b> <?php echo tglIndo($obj->suratIzin->$TglPengesahan); ?></b>
</li>
<li class="dp">
<h5 class="fl">Berlaku s/d</h5>
:<b> <?php if($obj->suratIzin->$berlaku=='0000-00-00'){echo'Selama ada';}else{ echo tglIndo($obj->suratIzin->$berlaku);} ?></b>
</li>
</ul>
</div>
</div>
<?php
}
}
?>
</div><!-- End You might also like -->
</div><!-- End Main content -->
<?php
$jsiID = $obj->permohonan->dmhnJsiID;
$jsiSubKode = $obj->permohonan->jsiSubKode;
$jsiKode = $obj->permohonan->jsiKode;
if(($jsiID==105) OR ($jsiID==104) OR ($jsiID==84)){
$sql = "SELECT ilrkKeterangan as noArsip, arsipperizinan.*
FROM ilrk
INNER JOIN detailpermohonan ON dmhnID=ilrkDmhnID
INNER JOIN arsipperizinan ON ilrkArsip=abiID
WHERE ilrkDmhnID=".$obj->permohonan->dmhnID;
}else{
$sql = "SELECT ".$jsiSubKode."Keterangan as noArsip, arsipperizinan.*
FROM ".strtolower($jsiKode)."
INNER JOIN detailpermohonan ON dmhnID=".$jsiSubKode."DmhnID
INNER JOIN arsipperizinan ON abiID=".$jsiSubKode."Arsip
WHERE ".$jsiSubKode."DmhnID=".$obj->permohonan->dmhnID;
}
$stmt = $conn->prepare($sql);
$stmt->execute();
$arsip = $stmt->fetchAll();
$stmt->closeCursor();
if(!empty($arsip)){
?>
<div class="row">
<div class="col col_12_of_12">
<div class="head_title"><h2 style="font-size:16px;">Data Bundel</h2></div>
<ul class="zzzz">
<li class="dp">
<h5 class="fl">Bundel</h5>
:<b> <?php echo $arsip[0]['abiNamaBundel']; ?></b>
</li>
<li class="dp">
<h5 class="fl">Tahun</h5>
:<b> <?php echo $arsip[0]['abiNoBundel']; ?></b>
</li>
<li class="dp">
<h5 class="fl">No. Arsip</h5>
:<b> <?php echo $arsip[0]['noArsip']; ?></b>
</li>
</ul>
</div>
</div>
<?php
}
?>
</div>
</section><!-- End Section -->
<!-- Copyright -->
<div id="copyright" role="contentinfo">
<div class="container">
<p>© Dinas Penanaman Modal dan Pelayanan Terpadu Satu Pintu Kota Pekanbaru</p>
</div>
</div><!-- End Copyright -->
</div><!-- End Wrapper -->
<!-- Scripts -->
<script type="text/javascript" src="<?php echo PATH; ?>js/jqueryscript.min.js"></script>
<script type="text/javascript" src="<?php echo PATH; ?>js/jqueryuiscript.min.js"></script>
<script type="text/javascript" src="<?php echo PATH; ?>js/easing.min.js"></script>
<script type="text/javascript" src="<?php echo PATH; ?>js/smoothscroll.min.js"></script>
<script type="text/javascript" src="<?php echo PATH; ?>js/magnific.min.js"></script>
<script type="text/javascript" src="<?php echo PATH; ?>js/bxslider.min.js"></script>
<script type="text/javascript" src="<?php echo PATH; ?>js/fitvids.min.js"></script>
<script type="text/javascript" src="<?php echo PATH; ?>js/viewportchecker.min.js"></script>
<script type="text/javascript" src="<?php echo PATH; ?>js/init.js"></script>
</body>
</html>