| .. | |||||
| .htaccess | |||||
| contact.php | |||||
| fetch_pages.php | |||||
| foot.php | |||||
| getDataStat.php | |||||
| head.php | |||||
| importJS.php | |||||
| index.html | |||||
| nav.php | |||||
| sidebar.php | |||||
| simple_html_dom.php | |||||
| visitor_log.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/part/ |
Upload File : |
<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" />
<?php
//data untuk navbar dan footer
$informasi = getData('Informasi',5);
$berita = getData('Berita',6);
$pi = getData('Promosi Investasi',3);
$pm = getData('Penanaman Modal',3);
$paralel = getDataIzin('Paralel',5);
$kesehatan = getDataIzin('Kesehatan',5);
$pariwisata = getDataIzin('Pariwisata',5);
$arsip = getArsip();
$about = getAbout();
$isArtikel=false;
$jenisPerizinan = getJenisPerizinan();
if(isset($_GET['page'])){
switch($_GET['page']){
case 'Peluang-Investasi':
case 'Penanaman-Modal':
case 'Perizinan':
case 'Informasi':
case 'Berita':
$isArtikel=true;
if(!isset($_GET['id'])){
echo'<script type = "text/javascript" language = "javascript">
window.location = "'.PATH.'";
</script>
';
exit;
}else{
$data = getBerita($_GET['id']);
if(!$data){
echo'<script type = "text/javascript" language = "javascript">
window.location = "'.PATH.'";
</script>
';
exit;
}else{
include ('part/simple_html_dom.php');
$artikel=$data[0];
$tgl=explode(' ',$artikel['post_date']);
$dom = new domDocument;
$dom->loadHTML($artikel['post_content']);
$dom->preserveWhiteSpace = false;
$p = $dom->getElementsByTagName('div');
if(empty($p)){ $p = $dom->getElementsByTagName('p'); }
$nar=array();
foreach($p as $n){ $nar[] = $n->nodeValue;}
if(!empty($nar)){
$narasi=ambilNarasi($nar[0],300);
}else{$narasi='';}
$tgl=explode(' ',$artikel['post_date']);
if(!empty($artikel['post_image'])){ $gambar=$artikel['post_image'];}else{$gambar='no_image_available.jpg';}
?>
<meta property="og:site_name" content="Dinas Penanaman Modal dan Pelayanan Terpadu Satu Pintu Kota Pekanbaru"/>
<meta property="og:url" content="<?php echo PATH.buatLinkMeta($artikel['post_type'],$artikel['post_ID'],$artikel['post_title']); ?>" />
<meta property="og:type" content="article" />
<meta property="og:title" content="<?php echo $artikel['post_title']; ?>" />
<meta property="og:description" content="<?php echo $narasi; ?>" />
<meta property="og:image" content="<?php echo PATH.'assets/post/'.$gambar; ?>" />
<?php
}
}
break;
case 'Jenis-Perizinan':
echo '<link rel="stylesheet" type="text/css" href="'.PATH.'css/DataTables/datatables.min.css"/>';
break;
case 'kontak':
echo '<link rel="stylesheet" type="text/css" href="'.PATH.'js/jquery.gmap/jquery.gmaps.css"/>';
echo '<link rel="stylesheet" type="text/css" href="'.PATH.'assets/css/bootstrap.css"/>';
break;
}
}
?>
<!-- Styles -->
<link rel="stylesheet" href="<?php echo PATH; ?>css/normalize.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='https://fonts.googleapis.com/css?family=Titillium+Web:300,300italic,400,400italic,700,700italic' rel='stylesheet' type='text/css'>
<link href='https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css' rel='stylesheet' type='text/css'>
</head>| .. | |||||
| .htaccess | |||||
| contact.php | |||||
| fetch_pages.php | |||||
| foot.php | |||||
| getDataStat.php | |||||
| head.php | |||||
| importJS.php | |||||
| index.html | |||||
| nav.php | |||||
| sidebar.php | |||||
| simple_html_dom.php | |||||
| visitor_log.php |