403Webshell
Server IP : 127.0.0.1  /  Your IP : 216.73.216.48
Web Server : Apache/2.4.58 (Win64) OpenSSL/3.1.3 PHP/8.2.12
System : Windows NT DESKTOP-3H4FHQJ 10.0 build 19045 (Windows 10) AMD64
User : win 10 ( 0)
PHP Version : 8.2.12
Disable Function : NONE
MySQL : OFF |  cURL : ON |  WGET : OFF |  Perl : OFF |  Python : OFF |  Sudo : OFF |  Pkexec : OFF
Directory :  D:/khalafsite-backup/khalafsons.gap/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : D:/khalafsite-backup/khalafsons.gap/property.php
<?php
session_start();
include("db_con.php");
//include("function.php");
?>

<?php

if(isset($_SESSION['id']))
{
	$my_id = $_SESSION['id'];

}

?>
<html>

<head>

<title>Khalaf sons</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" href="kvt_con/khalaf_log.jpg" type="image/ico">
<link rel="stylesheet" type="text/css" href="main_css/property.css" >

</head>


<body id="body">

<div class="main_home">

<div class="main_log">

<img src="kvt_con/khalaf_log.jpg" width="100%" height="100%" style="border-radius:20px;" classk="main_home_icon" />

</div>

<div class="main_text_title">Khalaf Sons Estate</div>

<a href="index.php"><button class="main_home_btn" onmouseover="close_more_home_btn_area();">Home</button></a>

<a href="projects.php"><button onClick="show_main_container();" class="main_home_btn" onmouseover="close_more_home_btn_area();">Projects</button></a>
<a href="property.php"><button class="main_home_btn" onmouseover="close_more_home_btn_area();">Properties</button></a>
<a href="contact.php" ><button class="main_home_btn" onmouseover="close_more_home_btn_area();">Contact</button></a>

<div class="icon_div_right" >
<img src="kvt_con/fb_icon.png" class="top_right_icons" />
<img src="kvt_con/instagram_icon.png" class="top_right_icons" />
<img src="kvt_con/linkedin.png" class="top_right_icons" />


</div>

<div class="icon_div_right_mob" >


<img id="show_mob_menu_btn" onClick="show_mob_menu();" src="kvt_con/menu.png" class="top_right_mob_menu_icon" />
<img id="close_mob_menu_btn" onClick="close_mob_menu();" src="kvt_con/close_mob_menu.png" class="top_right_mob_menu_icon" style="display:none;" />

<script>

function show_mob_menu()
{
document.getElementById('main_home_left_mob').style.display="block";
document.getElementById('show_mob_menu_btn').style.display="none";
document.getElementById('close_mob_menu_btn').style.display="block";
document.getElementById('search_area').style.display="none";
//alert('woop');
window.scrollTo(0,0);
}

function close_mob_menu()
{
document.getElementById('main_home_left_mob').style.display="none";
document.getElementById('show_mob_menu_btn').style.display="block";
document.getElementById('close_mob_menu_btn').style.display="none";

}

function show_mob_share_div()
{

document.getElementById('main_home_left_mob').style.display="none";	
}

</script>

</div><!-- end of icon_div_right_mob-->

</div>

<div id="main_home_left_mob" class="main_home_mob">

<a href="index.php"><button class="left_home_btn" >Home</button></a>
<!--button class="left_home_btn">Project</button-->
<a href="property.php"><button class="left_home_btn">Property</button></a>
<!--button onClick="show_upload_cv_div();" class="left_home_btn">Vacancies</button-->
<a href="jobs.php"><button class="left_home_btn">Jobs</button></a>
<a href="contact.php"><button class="left_home_btn">Contacts</button></a>
<a href="agent_page.php"><button class="left_home_btn">Our Agents</button></a>
<a href=""><button class="left_home_btn">About</button></a>
<button onClick="show_mob_share_div();" class="left_home_btn">Share</button>
<?php
if(isset($_SESSION['id']))
{
		$my_id = $_SESSION['id'];
	
	$get_user ="select * from khalaf_admintb where user_id_adm='$my_id' ";
	$run_get_user = mysqli_query($con,$get_user);
	$check_user = mysqli_num_rows($run_get_user);
	if($check_user >0){
?>
<a href="extraction.php"><button class="left_home_btn">Extraction</button></a>

<?php } ?>

<a href="myaccount.php"><button class="left_home_btn">Myaccount</button></a>
<a href="log_out.php"><button class="left_home_btn">Log out</button></a>
<?php
}else{?>

<a href="log_in.php"><button class="left_home_btn">Sign in</button></a>
<?php } ?>
</div>

<div class="positioning_main_home"></div>



<div class="content_area">

<?php
$get_property = "select * from khalaf_propertytbb";
$run_get_property = mysqli_query($con,$get_property);
while($row_get_property = mysqli_fetch_array($run_get_property))
{
	$property_id = $row_get_property['id'];
	$property_name = $row_get_property['property_name'];
	$property_details = $row_get_property['property_details'];
	$property_image = $row_get_property['property_image'];


?>

<div class="buliding_details">

<div class="buliding_details_text" ><?php echo"$property_name"; ?></div>

<?php
if(isset($_SESSION['id']))
{
	$my_id = $_SESSION['id'];
	
	$get_user ="select * from khalaf_admintb where user_id_adm='$my_id' ";
	$run_get_user = mysqli_query($con,$get_user);
	$check_user = mysqli_num_rows($run_get_user);
	if($check_user >0){
?>		

<button onClick="show_more_option(this.name);" name="<?php echo"$property_id"; ?>" style="float:right;height:30px;margin-right:0.5%;font-size:1.2em;margin-top:6px;cursor:pointer;border:1px solid #ededed;background:transparent;">o</button>

<?php } }?>

<div style="float:left;width:100%;font-size:1.1em;margin-left:1px;"><?php echo"$property_details"; ?></div>

</div>

<div id="more_option_area<?php echo"$property_id"; ?>" onmouseleave="close_more_option();" style="float:right;width:9%;height:90px;background:#fff;display:none;">

<button onClick="close_more_option();" style="float:right;background:white;color:red;border:transparent;cursor:pointer;">x</button>
<a href="extraction.php?proper_id=<?php echo"$property_id"; ?>"><button style="float:left;width:100%;height:20px;margin-bottom:5px;font-size:0.9em;color:blue;background:transparent;border:transparent;cursor:pointer;">Add Images</button></a>
<a href="extraction.php?pedit=<?php echo"$property_id"; ?>"><button style="float:left;width:100%;height:20px;margin-bottom:5px;font-size:0.9em;color:blue;background:transparent;border:transparent;cursor:pointer;">Edit</button></a>
</div>



<div id="preview_banner" class="main_banner">
<img src="property_images/<?php echo"$property_image"; ?>" width="100%" height="100%"  classk="main_home_icon" />


</div>



<div class="more_banner_images">


<img onClick="show_property_image_main(this.id);" id="<?php echo"$property_image"; ?>" src="property_images/<?php echo"$property_image"; ?>" class="single_banner_images"  />


<?php
$more_property_images = "select * from property_albumtb where property_id='$property_id'";
$run_more_property_images = mysqli_query($con,$more_property_images);
while($row_more_property_images = mysqli_fetch_array($run_more_property_images))
{
$property_image_id = $row_more_property_images['id'];
$property_image_url = $row_more_property_images['image_url'];	


?>


<img onClick="show_property_image_id(this.id);" id="<?php echo"$property_image_url"; ?>" src="property_album_images/<?php echo"$property_image_url"; ?>" class="single_banner_images" />


<?php } ?>

</div>

<?php } ?>

<script>

function show_more_option(smo)
{
	more_area_option ='more_option_area'+smo;
    document.getElementById(more_area_option).style.display="block";
//alert(more_area_option);
}

function close_more_option()
{
document.getElementById(more_area_option).style.display="none";
}

function show_property_image_main(spm)
{

	   document.getElementById('preview_banner').innerHTML="";
	   var  x = document.createElement("IMG");
	
      x.setAttribute("src", "property_images/"+spm);
      x.setAttribute("width", "100%");
      x.setAttribute("height", "100%");

document.getElementById('preview_banner').appendChild(x);
 
}

function show_property_image_id(spi)
{

	   document.getElementById('preview_banner').innerHTML="";
	   var  x = document.createElement("IMG");
	
      x.setAttribute("src", "property_album_images/"+spi);
      x.setAttribute("width", "100%");
      x.setAttribute("height", "100%");

document.getElementById('preview_banner').appendChild(x);
 
}

</script>


<!--div id="meonly" class="single_banner_images"></div-->

</div><!-- end of content_area-->







<script>
/*

function show_more_home_btn()
{
	document.getElementById('more_home_btn_area').style.display="block";
}
function close_more_home_btn_area()
{
	document.getElementById('more_home_btn_area').style.display="none";
}

*/

</script>





<div style="float:left;width:100%;height:100px;background:black;color:white;margin-top:20px;text-align:center;font-size:1.2em;">@Khalaf Sons Real Estate 2019.</div>



</body>

</html>

Youez - 2016 - github.com/yon3zu
LinuXploit