| Server IP : 68.183.124.220 / Your IP : 216.73.217.137 Web Server : Apache/2.4.18 (Ubuntu) System : Linux Sandbox-A 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64 User : gavin ( 1000) PHP Version : 7.0.33-0ubuntu0.16.04.16 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/html/worksheets/brooklin-heights-towns/ |
Upload File : |
<?php
//if (! empty($_POST["submit_button"])) {
if(isset($_POST['submit_button'])) {
require_once '../class/Customer.php';
$customer = new Customer();
$customer->saveToFile();
$message = "Thank you for submitting your worksheet. We will contact you very soon!";
echo "<script>alert('$message');</script>";
}
?>
<html>
<head>
<center><img class="image" src="https://www.trustcondos.ca/wp-content/uploads/2021/03/brooklin-Heights.jpg"></center>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
body{
font-family: Calibri, Helvetica, sans-serif;
background-color: white;
}
.image {
width:50%;
margin-right: auto;
margin-left: auto;
}
.container {
width: 60%;
margin-right: auto;
margin-left: auto;
padding: 50px;
background-color: #A8C1DF;
border-radius: 5px;
}
.registerbtn {
font-size : 20px;
}
input[type=text], input[type=password], textarea {
width: 100%;
padding: 15px;
margin: 5px 0 22px 0;
display: inline-block;
border: none;
background: #f1f1f1;
}
input[type=text]:focus, input[type=password]:focus {
background-color: orange;
outline: none;
}
div {
padding: 10px 0;
}
hr {
border: 1px solid #f1f1f1;
margin-bottom: 25px;
}
.registerbtn {
background-color: #4CAF50;
color: white;
padding: 16px 20px;
margin: 8px 0;
border: none;
cursor: pointer;
width: 100%;
opacity: 0.9;
border-radius: 5px;
}
.registerbtn:hover {
opacity: 1;
}
</style>
</head>
<body>
<form action="" method="post" enctype='multipart/form-data'>
<div class="container">
<center> <h1> Brooklin Heights Whitby Towns</h1> </center>
<center> <h3 style="color:white"> Gain First Access to Units Prior To Public Release</h3> </center>
<hr>
<label> <b>Legal First Name </b></label>
<input type="text" name="firstname" placeholder= "First Name" size="15" required />
<label> <b>Legal Last Name </b> </label>
<input type="text" name="lastname" placeholder="Last Name" size="15" required/>
<label> <b>Phone Number </b> </label>
<input type="text" name="phone_number" placeholder="Phone Number" size="30" required/>
<label> <b>Email</b> </label>
<input type="text" name="email" placeholder="Email" size="60" required/>
<hr>
<label> <b>Profession & Employer</b> </label>
<input type="text" name="employer" placeholder="Profession & Employer" size="120" required/>
<div title="">
<label><h3>Valid Gov Issued Phone ID (ie: Driver's License)</h3> </label>
<input type="file" name="idfiles[]" multiple required>
</div>
<hr>
<div>
<label>
<b>Budget</b> <br>
</label>
<select name="budget">
<option value="$600,000 - $700,000">$600,000 - $700,000</option>
<option value="$700,000 - $800,000">$700,000 - $800,000</option>
<option value="$800,000 - $900,000">$800,000 - $900,000</option>
<option value="$900,000 - $1,000,000">$900,000 - $1,000,000</option>
<option value="$1,000,000 - $1,200,000">$1,000,000 - $1,200,000</option>
<option value="$1,200,000 - $1,400,000">$1,200,000 - $1,400,000</option>
<option value="$1,400,000 - $1,600,000">$1,400,000 - $1,600,000</option>
<option value="$1,600,000 - $1,800,000">$1,600,000 - $1,800,000</option>
<option value="$1,800,000 - $2,000,000">$1,800,000 - $2,000,000</option>
<option value="$2,000,000 - $2,400,000">$2,000,000 - $2,400,000</option>
<option value="$2,400,000 - $3,000,000">$2,400,000 - $3,000,000</option>
<option value="$3,000,000 - $3,500,000">$3,000,000 - $3,500,000</option>
<option value="Above $3,500,000">Above $3,500,000</option>
</select>
</div>
<div>
<label>
<b>Type of Property</b>
</label>
<br>
<input type="radio" value="Town" name="property_type"> Town
<br>
<input type="radio" value="Semi" name="property_type"> Semi
<br>
<input type="radio" value="Detached" name="property_type"> Detached
<br>
<br>
<label><b>Type of Unit</b></label>
<br>
<input type="radio" value="Not Specified" name="unit_type"> Not Specified
<br>
<input type="radio" value="End Unit" name="unit_type"> End Unit
<br>
<input type="radio" value="Corner Unit" name="unit_type"> Corner Unit
<br>
<input type="radio" value="Interior Unit" name="unit_type"> Interior Unit
<br>
<br>
<label><b>Number of Bedrooms</b></label>
<br>
<input type="radio" value="Not Specified" name="bedroom_number"> Not Specified
<br>
<input type="radio" value="2+Bed" name="bedroom_number"> 2+Bed
<br>
<input type="radio" value="3+Bed" name="bedroom_number"> 3+Bed
<br>
<input type="radio" value="4+Bed" name="bedroom_number"> 4+Bed
</div>
<div>
<label>Parking Lot</label>
<select name="parking_lot">
<option value="0">0</option>
<option value="1">1</option>
<option value="2">2</option>
</select>
</div>
<div>
<label>Locker</label>
<select name="locker">
<option value="0">0</option>
<option value="1">1</option>
</select>
</div>
<hr>
<button type="submit" class="registerbtn" name="submit_button">Submit</button>
</form>
<script>
function Register(){
$("#firstname").removeClass("error-field");
}
</script>
</body>
</html>