Commit | Line | Data |
---|---|---|
4f46b65a | 1 | <?PHP |
eb2d265f | 2 | if (isset($_POST['web_first_name'])){ |
3ce0d58f PM |
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 | 16 | } |
58c8af47 PM |
17 | if(isset($_POST['web_last_name']) && isset($_POST['web_first_name'])){ |
18 | setcookie("web_name", $web_first_name.' '.$web_last_name); | |
19 | } | |
3ce0d58f PM |
20 | $web_house_number=''; |
21 | if (isset($_POST['web_house_number'])){ | |
7a47bfbd | 22 | if ($_POST['web_house_number'] != ''){ |
3ce0d58f | 23 | $web_house_number = $_POST['web_house_number']; |
c114242d | 24 | setcookie("web_house_number", $web_house_number); |
7a47bfbd | 25 | } |
3ce0d58f PM |
26 | } |
27 | $web_zip_code=''; | |
28 | if (isset($_POST['web_zip_code'])){ | |
7a47bfbd | 29 | if ($_POST['web_zip_code'] != ''){ |
3ce0d58f | 30 | $web_zip_code = $_POST['web_zip_code']; |
c114242d | 31 | setcookie("web_zip_code", $web_zip_code); |
7a47bfbd | 32 | } |
3ce0d58f | 33 | } |
eb2d265f | 34 | header('Location: is_the_information_correct.php'); |
3ce0d58f | 35 | } |
aa92c8ea | 36 | include_once('header.php'); |
4f46b65a PM |
37 | ?> |
38 | ||
39 | <form method='POST'> | |
40 | ||
41 | <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 | 42 | |
c364f2c3 | 43 | <div class='col-sm-6' style='height:50px; text-align:center;'><h3>First Name</h3></div> |
09a581dc | 44 | |
c364f2c3 | 45 | <div class='col-sm-6' style='height:50px; text-align:center;'><h3>Last Name</h3></div> |
09a581dc | 46 | |
3ce0d58f | 47 | <div class='col-sm-6' style='height:50px; text-align:center;'><input name='web_first_name'> </div> |
09a581dc | 48 | |
3ce0d58f | 49 | <div class='col-sm-6' style='height:50px; text-align:center;'><input name='web_last_name'> </div> |
09a581dc | 50 | |
c364f2c3 | 51 | <div class='col-sm-6' style='height:50px; text-align:center;'><h3>House Number</h3></div> |
09a581dc | 52 | |
c364f2c3 | 53 | <div class='col-sm-6' style='height:50px; text-align:center;'><h3>ZIP Code</h3></div> |
09a581dc | 54 | |
3ce0d58f | 55 | <div class='col-sm-6' style='height:50px; text-align:center;'><input name='web_house_number'> </div> |
09a581dc | 56 | |
3ce0d58f | 57 | <div class='col-sm-6' style='height:50px; text-align:center;'><input name='web_zip_code'> </div> |
09a581dc | 58 | |
9e59a37d | 59 | <div class='col-sm-12' style='height:50px; text-align:center;'><button type="submit" class="btn btn-success">Next</button></div> |
09a581dc | 60 | |
9e59a37d | 61 | <div class='col-sm-12' style='height:50px; text-align:center;'><button type="reset" class="btn btn-warning">Clear</button></div> |
c114242d | 62 | |
4f46b65a PM |
63 | </form> |
64 | ||
09a581dc | 65 | <?PHP include_once('footer.php'); |