| 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:/xamppkk/htdocs-khalafsons/ |
Upload File : |
<html>
<head>
<title>khalafsons.com</title>
<link rel="icon" type="image/jpg" href="http://khalafsons.com/kvt_con/khalaf_log.jpg" />
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" type="text/css" href="main_css/projects.css" >
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4728417548940171"
crossorigin="anonymous"></script>
</head>
<?php
session_start();
include('db_con.php');
include('function.php');
?>
<?php
if(isset($_SESSION['id']))
{
$my_id = $_SESSION['id'];
$my_cpr = $_SESSION['user_cpr'];
//echo $_SESSION['id'];
// echo"$user_email";
}
?>
<input id="my_id" style="display:none;" value="<?php echo"$my_id";?>" />
<input id="my_cpr" style="display:none;" value="<?php echo"$my_cpr";?>" />
<?php
$user_ip = getenv('REMOTE_ADDR');
$geo = unserialize(file_get_contents("http://www.geoplugin.net/php.gp?ip=$user_ip"));
$city = $geo["geoplugin_city"];
$region = $geo["geoplugin_regionName"];
$country = $geo["geoplugin_countryName"];
/*echo"$user_ip";
echo "City: ".$city."<br>";
echo "Region: ".$region."<br>";
echo "Country: ".$country."<br>";
/*
geoplugin_request
geoplugin_status
geoplugin_credit
geoplugin_city
geoplugin_region
geoplugin_areaCode
geoplugin_dmaCode
geoplugin_countryCode
geoplugin_countryName
geoplugin_continentCode
geoplugin_latitude
geoplugin_longitude
geoplugin_regionCode
geoplugin_regionName
geoplugin_currencyCode
geoplugin_currencySymbol
geoplugin_currencySymbol_UTF8
geoplugin_currencyConverter
*/
?>
<input type="text" id="country_user" class="helping_id" style="display:none;" value="<?php echo $country;?>">
<input type="text" id="region_user" class="helping_id" style="display:none;" value="<?php echo $region;?>">
<input type="text" id="city_user" class="helping_id" style="display:none;" value="<?php echo $city;?>">
<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;" />
</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="version_two.php"><button class="main_home_btn" onmouseover="close_more_home_btn_area();">Properties</button></a>
<button class="main_home_btn" onmouseover="close_more_home_btn_area();">Contacts</button>
<img src="kvt_icon/linkedin_icon.png" class="main_home_icon" />
<img src="kvt_icon/instagram2.png" class="main_home_icon" />
<img src="kvt_icon/fb_icn2.png" class="main_home_icon" /-->
<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";
//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";
}
</script>
</div><!-- end of icon_div_right_mob-->
</div>
<div class="positioning_main_home"></div>
<div id="main_home_left" class="main_home_left">
<a href="index"><button class="left_home_btn" >Home</button></a>
<a href="projects"><button class="left_home_btn">Project</button></a>
<a href="property"><button class="left_home_btn">Property</button></a>
<a href="jobs"><button class="left_home_btn">Jobs</button></a>
<a href="contact"><button class="left_home_btn">Contacts</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="purchase"><button class="left_home_btn">Purchase</button></a>
<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="main_home_left_mob" >
<div id="main_home_left_mob" style="display:none;" class="sub_home_left_mob" >
<a href="index"><button class="left_home_btn" >Home</button></a>
<a href="projects"><button class="left_home_btn">Project</button></a>
<a href="property"><button class="left_home_btn">Property</button></a>
<a href="jobs"><button class="left_home_btn">Jobs</button></a>
<a href="contact"><button class="left_home_btn">Contacts</button></a>
<a href=""><button class="left_home_btn">About</button></a>
<?php
if(isset($_SESSION['id'])){ ?>
<a href="log_out.php"><button class="left_home_btn">Log out</button></a>
<?php } ?>
</div>
</div><!-- end of main_home_left_mob-->
<div style="float:left;width:50%;height:100px;margin-left:25%;margin-top:5px;">
</div>
<div class="project_title">Projects Under Progress </div>
<?php
$get_project = "select * from projecttb order by id desc";
$run_get_project = mysqli_query($con,$get_project);
while($row_get_project = mysqli_fetch_array($run_get_project))
{
$description = $row_get_project['description'];
$file_url = $row_get_project['file_url'];
$file_type = $row_get_project['file_type'];
$curr_day = $row_get_project['curr_day'];
$curr_month = $row_get_project['curr_month'];
$curr_year = $row_get_project['curr_year'];
$curr_time = $row_get_project['time'];
?>
<div class="content_area">
<?php if($description !==""){ ?>
<div class="project_post_text"><?php echo"$description"; ?></div>
<?php }?>
<?php if($file_type ==".mp4"){ ?>
<video controls class="project_file" style="">
<source src="project_videos/<?php echo"$file_url$file_type"; ?>" type="video/mp4">
<source src="project_videos/<?php echo"$file_url$file_type"; ?>" type="video/ogg">
Your browser does not support the video tag.
</video>
<?php }?>
<?php if($file_type ==".jpg" || $file_type ==".jpeg" ){ ?>
<img src="project_images/<?php echo"$file_url$file_type";?>" class="project_file" />
<?php }?>
</div>
<?php }?>
<!--div class="content_area">
<div class="project_post_text">Brown Tower Pump Room Constraction By Al Raazi Company. 2-09-2019 </div>
<video width="100%" heightk="240" controls>
<source src="project_videos/AYOKYA.mp4" type="video/mp4">
<source src="project_videos/AYOKYA.ogg" type="video/ogg">
Your browser does not support the video tag.
</video>
</div-->
<div style="float:left;width:100%;height:50px;background:black;color:white;margin-top:20px;text-align:center;font-size:1.2em;">@Khalaf Sons Real Estate 2020.</div>
</body>
</html>