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/page/ |
Upload File : |
| Current File : /home/dpmptsp/public_html/page/home.php |
<?php
$all = getData('all',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;">
<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="row">
<!-- 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='<?php echo PATH.'assets/post/no_image_available.jpeg'; ?>.';" 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='<?php echo PATH.'assets/post/no_image.jpg'; ?>.';"></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='<?php echo PATH.'assets/post/no_image.jpg'; ?>.';"></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 class="col col_12_of_12" style="margin-bottom:20px;text-align:center;">
<a href="<?php echo PATH.'images/layanan_bergabung_mpp.jpg'; ?>" class="popup_link"><img src="<?php echo PATH.'images/layanan_bergabung_mpp.jpg'; ?>" onerror="this.onerror=null;this.src='<?php echo PATH.'assets/post/no_image_available.jpeg'; ?>.';"></a>
</div>
</div>
<div class="row">
<div class="panel_title" jQuery>
<div>
<h4><a href="#">Promosi Investasi</a></h4>
</div>
</div>
<?php
foreach($pi as $b){
$tgl=explode(' ',$b['post_date']);
?>
<div class="col col_4_of_12">
<!-- Top review -->
<div class="top_review">
<div class="item_content">
<a class="hover_effect" href="<?php echo buatLink($b['post_type'],$b['post_ID'],$b['post_title']); ?>">
<div class="result" jQuery>Read</div>
<img src="<?php echo PATH.'assets/post/'.$b['post_image']; ?>" onerror="this.onerror=null;this.src='<?php echo PATH.'assets/post/no_image.jpg'; ?>.';">
</a>
<h4><a href="<?php echo buatLink($b['post_type'],$b['post_ID'],$b['post_title']); ?>"><?php echo $b['post_title']; ?></a></h4>
</div>
<div class="transition_line"></div>
</div><!-- End Top review -->
</div>
<?php
}
?>
</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 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/2f-krKu23gs" 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/aOx9_4_ikUE" 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/s-rM202ZzVc" 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/brosur%20MPP%20kota%20Pekanbaru.pdf" target="_blank">
<img class="imagezz" src="<?php echo PATH.'images/'; ?>Buku1.png" />
<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%20Jenis%20dan%20Persyaratan%20Perizinan%20dan%20non%20Perizinan.pdf" target="_blank">
<img class="imagezz" src="<?php echo PATH.'images/'; ?>Buku2.png" />
<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%20Kajian%20Potensi%20Investasi%20dan%20Produk%20Unggulan%20kota%20Pekanbaru%202019.pdf" target="_blank">
<img class="imagezz" src="<?php echo PATH.'images/'; ?>Buku3.png" />
<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 PELUANG INVESTASI 2021.pdf" target="_blank">
<img class="imagezz" src="<?php echo PATH.'images/'; ?>cover depan.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 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%20BISNIS.pdf" target="_blank">
<img class="imagezz" src="<?php echo PATH.'images/'; ?>Buku6.png" />
<div class="middlezz">
<div class="textzz"><i class="fa fa-search"></i></div>
</div>
</a>
</div><!-- End Layout post 1 -->
</div>
</div><!-- End Layout post 2 -->
<!-- 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 |
| .. |
-- |
January 03 2025 03:29:06 |
1000 / 1000 |
0755 |
|
| | | | | |
| alur.php |
4.119 KB |
January 13 2024 08:42:39 |
1000 / 1000 |
0755 |
|
| cari.php |
2.234 KB |
January 13 2024 08:42:39 |
1000 / 1000 |
0755 |
|
| gallery.php |
1.319 KB |
January 13 2024 08:42:39 |
1000 / 1000 |
0755 |
|
| home.php |
20.067 KB |
January 13 2024 08:42:39 |
1000 / 1000 |
0755 |
|
| ikm.php |
3.793 KB |
January 13 2024 08:42:39 |
1000 / 1000 |
0755 |
|
| index.html |
0 KB |
January 13 2024 08:42:39 |
1000 / 1000 |
0755 |
|
| jenis-perizinan.php |
1.799 KB |
January 13 2024 08:42:39 |
1000 / 1000 |
0755 |
|
| juknis_simolek.php |
5.661 KB |
January 13 2024 08:42:39 |
1000 / 1000 |
0755 |
|
| kontak.php |
8.313 KB |
January 13 2024 08:42:40 |
1000 / 1000 |
0755 |
|
| maklumat.php |
3.674 KB |
January 13 2024 08:42:40 |
1000 / 1000 |
0755 |
|
| panduan-perilaku.php |
4.311 KB |
January 13 2024 08:42:40 |
1000 / 1000 |
0755 |
|
| perizinan.php |
3.562 KB |
January 13 2024 08:42:40 |
1000 / 1000 |
0755 |
|
| pma-pmdn.php |
3.458 KB |
January 13 2024 08:42:40 |
1000 / 1000 |
0755 |
|
| potensi_investasi.php |
14.727 KB |
January 13 2024 08:42:40 |
1000 / 1000 |
0755 |
|
| profile.php |
9.324 KB |
January 13 2024 08:42:40 |
1000 / 1000 |
0755 |
|
| profile_pekanbaru.php |
3.535 KB |
January 13 2024 08:42:40 |
1000 / 1000 |
0755 |
|
| read.php |
6.438 KB |
April 22 2024 02:32:18 |
1000 / 1000 |
0755 |
|
| statistik.php |
6.522 KB |
January 13 2024 08:42:40 |
1000 / 1000 |
0755 |
|
| struktur.php |
4.165 KB |
January 13 2024 08:42:40 |
1000 / 1000 |
0755 |
|