Commit | Line | Data |
---|---|---|
712c1004 PM |
1 | <?PHP |
2 | $web_first_name = $_COOKIE['web_first_name']; | |
3 | $web_last_name = $_COOKIE['web_last_name']; | |
4 | $web_house_number = $_COOKIE['web_house_number']; | |
5 | $web_zip_code = $_COOKIE['web_zip_code']; | |
6 | if ($web_first_name != '' && $web_last_name != '' && $web_house_number != '' && $web_zip_code != ''){ | |
7 | // ok to check for records | |
8 | }else{ | |
bb77cf2d | 9 | //header('Location: warning_incomplete.php'); |
712c1004 PM |
10 | } |
11 | include_once('header.php'); | |
12 | $q = "select VTRID from VoterList where LASTNAME = '$web_last_name' and FIRSTNAME = '$web_first_name' and HOUSE_NUMBER = '$web_house_number' and MAILINGZIP5 = '$web_zip_code'"; | |
13 | $r = $petition->query($q); | |
14 | $d = mysqli_fetch_array($r); | |
a8cce358 | 15 | if ($d['VTRID'] != ''){ |
712c1004 PM |
16 | $VTRID = $d['VTRID']; |
17 | }else{ | |
bb77cf2d | 18 | //header('Location: warning_not_found.php'); |
712c1004 PM |
19 | } |
20 | ?> | |
21 | ||
22 | <div class='col-sm-12' style='height:100px; text-align:center;'><h2>Is this information correct? (<?PHP echo $VTRID;?>)</h2></div> | |
23 | ||
24 | <div class='col-sm-6'>First Name </div><div class='col-sm-6'></div> | |
b7349fe7 PM |
25 | |
26 | <div class='col-sm-6'>Middle Name </div><div class='col-sm-6'>Edward</div> | |
27 | ||
28 | <div class='col-sm-6'>Last Name </div><div class='col-sm-6'>Smith</div> | |
29 | ||
30 | <div class='col-sm-6'>Full Addresss </div><div class='col-sm-6'>1232 Roadly Ct.</div> | |
31 | ||
32 | <div class='col-sm-2'>City</div><div class='col-sm-2'>Baltimore</div> | |
33 | <div class='col-sm-2'>County</div><div class='col-sm-2'>Baltimore City</div> | |
34 | <div class='col-sm-2'>Zip</div><div class='col-sm-2'>21204</div> | |
35 | ||
36 | ||
37 | <div class='col-sm-6'><button type="button" class="btn btn-success">YES</button> </div> | |
38 | ||
39 | <div class='col-sm-6'><button type="button" class="btn btn-danger">NO</button> </div> | |
40 | ||
41 | ||
42 | ||
43 | ||
44 | ||
45 | ||
46 | ||
47 | ||
48 | ||
49 | <?PHP include_once('footer.php'); |