Update enter_information.php
[clinton/MarylandElectronicPetitionSignature.git] / enter_information.php
CommitLineData
4f46b65a 1<?PHP
3ce0d58f
PM
2if (isset($_POST)){
3 $web_first_name='';
4 if (isset($_POST['web_first_name'])){
7a47bfbd 5 if ($_POST['web_first_name'] != ''){
3ce0d58f 6 $web_first_name = $_POST['web_first_name'];
c114242d 7 setcookie("web_first_name", $web_first_name);
7a47bfbd 8 }
3ce0d58f
PM
9 }
10 $web_last_name='';
11 if (isset($_POST['web_last_name'])){
7a47bfbd 12 if ($_POST['web_last_name'] != ''){
3ce0d58f 13 $web_last_name = $_POST['web_last_name'];
c114242d 14 setcookie("web_last_name", $web_last_name);
7a47bfbd 15 }
3ce0d58f
PM
16 }
17 $web_house_number='';
18 if (isset($_POST['web_house_number'])){
7a47bfbd 19 if ($_POST['web_house_number'] != ''){
3ce0d58f 20 $web_house_number = $_POST['web_house_number'];
c114242d 21 setcookie("web_house_number", $web_house_number);
7a47bfbd 22 }
3ce0d58f
PM
23 }
24 $web_zip_code='';
25 if (isset($_POST['web_zip_code'])){
7a47bfbd 26 if ($_POST['web_zip_code'] != ''){
3ce0d58f 27 $web_zip_code = $_POST['web_zip_code'];
c114242d 28 setcookie("web_zip_code", $web_zip_code);
7a47bfbd 29 }
3ce0d58f 30 }
c114242d 31 setcookie("web_name", $web_first_name.' '.$web_last_name);
b2d66a11 32 header('Location: is_the_information_correct.php');
3ce0d58f 33}
aa92c8ea 34include_once('header.php');
4f46b65a
PM
35?>
36
37<form method='POST'>
38
39 <div class='col-sm-12' style='height:100px; text-align:center;'><h3>Please enter your Name and ZIP Code as it appears on your Maryland Voter Registration</h3></div>
09a581dc 40
c364f2c3 41 <div class='col-sm-6' style='height:50px; text-align:center;'><h3>First Name</h3></div>
09a581dc 42
c364f2c3 43 <div class='col-sm-6' style='height:50px; text-align:center;'><h3>Last Name</h3></div>
09a581dc 44
3ce0d58f 45 <div class='col-sm-6' style='height:50px; text-align:center;'><input name='web_first_name'> </div>
09a581dc 46
3ce0d58f 47 <div class='col-sm-6' style='height:50px; text-align:center;'><input name='web_last_name'> </div>
09a581dc 48
c364f2c3 49 <div class='col-sm-6' style='height:50px; text-align:center;'><h3>House Number</h3></div>
09a581dc 50
c364f2c3 51 <div class='col-sm-6' style='height:50px; text-align:center;'><h3>ZIP Code</h3></div>
09a581dc 52
3ce0d58f 53 <div class='col-sm-6' style='height:50px; text-align:center;'><input name='web_house_number'> </div>
09a581dc 54
3ce0d58f 55 <div class='col-sm-6' style='height:50px; text-align:center;'><input name='web_zip_code'> </div>
09a581dc 56
9e59a37d 57 <div class='col-sm-12' style='height:50px; text-align:center;'><button type="submit" class="btn btn-success">Next</button></div>
09a581dc 58
9e59a37d 59 <div class='col-sm-12' style='height:50px; text-align:center;'><button type="reset" class="btn btn-warning">Clear</button></div>
c114242d 60
4f46b65a
PM
61</form>
62
09a581dc 63<?PHP include_once('footer.php');