Commit | Line | Data |
---|---|---|
4f46b65a PM |
1 | <?PHP |
2 | include_once('header.php'); | |
09a581dc | 3 | |
3ce0d58f PM |
4 | if (isset($_POST)){ |
5 | $web_first_name=''; | |
6 | if (isset($_POST['web_first_name'])){ | |
7 | $web_first_name = $_POST['web_first_name']; | |
8 | setcookie("web_first_name", $web_first_name, time()+300); | |
9 | } | |
10 | $web_last_name=''; | |
11 | if (isset($_POST['web_last_name'])){ | |
12 | $web_last_name = $_POST['web_last_name']; | |
13 | setcookie("web_last_name", $web_last_name, time()+300); | |
14 | } | |
15 | $web_house_number=''; | |
16 | if (isset($_POST['web_house_number'])){ | |
17 | $web_house_number = $_POST['web_house_number']; | |
18 | setcookie("web_house_number", $web_house_number, time()+300); | |
19 | } | |
20 | $web_zip_code=''; | |
21 | if (isset($_POST['web_zip_code'])){ | |
22 | $web_zip_code = $_POST['web_zip_code']; | |
23 | setcookie("web_zip_code", $web_zip_code, time()+300); | |
24 | } | |
25 | ||
26 | ||
27 | setcookie("web_name", $web_first_name.' '.$web_last_name, time()+300); | |
28 | } | |
29 | ||
30 | ||
4f46b65a PM |
31 | // if found send to is_the_information_correct.php |
32 | ||
33 | // if not found send to warning_not_found.php | |
34 | ||
35 | // if missing data send to warning_incomplete.php | |
36 | ||
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> |
4f46b65a PM |
62 | </form> |
63 | ||
09a581dc | 64 | <?PHP include_once('footer.php'); |