| 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/general-highrise/ |
Upload File : |
<?php
//if (! empty($_POST["submit_button"])) {
$propertyname = $_GET['propertyname'];
// echo "<script>alert('$propertyname');</script>";
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>
<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: #4B92D3;
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><?php echo $propertyname;?></h1> </center>
<center> <h3 style="color:white"> Gain First Access to Units Prior To Public Release.</h3> </center>
<input name="propertyname" value="<?php echo $propertyname?>" type="hidden" />
<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</b> </label>
<input type="text" name="profession" placeholder="Profession" size="120" required/>
<label> <b>Employer</b> </label>
<input type="text" name="employer" placeholder="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="$300,000 - $400,000">$300,000 - $400,000</option>
<option value="$400,000 - $500,000">$400,000 - $500,000</option>
<option value="$500,000 - $600,000">$500,000 - $600,000</option>
<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="Above $2,000,000">Above $2,000,000</option>
</select>
</div>
<div>
<label><b>Type of Unit</b></label>
<br>
<input type="radio" value="Not Specified" name="unit_type"> Not Specified
<br>
<input type="radio" value="Studio" name="unit_type"> Studio
<br>
<input type="radio" value="1Bed" name="unit_type"> 1Bed
<br>
<input type="radio" value="1Bed+Den" name="unit_type"> 1Bed+Den
<br>
<input type="radio" value="2Bed" name="unit_type"> 2Bed
<br>
<input type="radio" value="2Bed+Den" name="unit_type"> 2Bed+Den
<br>
<input type="radio" value="3Bed" name="unit_type"> 3Bed
<br>
<input type="radio" value="3Bed+Den" name="unit_type"> 3Bed+Den
<br>
</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>
<label><b>Other Remarks</b> </label>
<textarea name="remarks" rows="5"> </textarea>
<hr>
<button type="submit" class="registerbtn" name="submit_button">Submit</button>
</form>
<script>
function Register(){
$("#firstname").removeClass("error-field");
}
</script>
</body>
</html>