One Hat Cyber Team
Your IP :
216.73.216.240
Server IP :
162.240.106.28
Server :
Linux server.ganesand.com 3.10.0-1160.80.1.el7.x86_64 #1 SMP Tue Nov 8 15:48:59 UTC 2022 x86_64
Server Software :
Apache
PHP Version :
7.1.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
thoa
/
www
/
admin
/
support
/
includes
/
View File Name :
availability.php
<?php if(!empty($_GET['user'])) { include "base.php"; $current = mysql_query("SELECT available FROM users WHERE username = '".$_GET['user']."' "); $result = mysql_fetch_array($current); if($result['available'] == "no") { $updated = "yes"; $string = '<h4><a href="#" onClick="available(false);"><img src="images/icons/available.png" title="Click to change availability" height="30" style="vertical-align:middle;"/> Available</a></h4>'; } else { $updated = "no"; $string = '<h4><a href="#" onClick="available(false);"><img src="images/icons/unavailable.png" title="Click to change availability" height="30" style="vertical-align:middle;"/> Not Available</a></h4>'; } $query = mysql_query("UPDATE users SET available = '".$updated."' WHERE username = '".$_GET['user']."' "); if($query) { echo $string; } } ?>