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 $DOB = $_COOKIE['pDOB'];
7 $PHONE = $_COOKIE['pPHONE'];
8 if ($web_first_name != '' && $web_last_name != '' && $web_house_number != '' && $web_zip_code != ''){
9 include_once('header.php');
10 $web_first_name = $petition->real_escape_string($web_first_name);
11 $web_last_name = $petition->real_escape_string($web_last_name);
12 $web_house_number = $petition->real_escape_string($web_house_number);
13 $web_zip_code = $petition->real_escape_string($web_zip_code);
14 $DOB = $petition->real_escape_string($DOB);
15 $PHONE = $petition->real_escape_string($PHONE);
17 header('Location: warning_incomplete.php');
19 $q = "select * from VoterList where LASTNAME = '$web_last_name' and FIRSTNAME = '$web_first_name' and HOUSE_NUMBER = '$web_house_number' and RESIDENTIALZIP5 = '$web_zip_code'";
20 $r = $petition->query($q);
21 $d = mysqli_fetch_array($r);
22 if ($d['VTRID'] != ''){
24 $FIRSTNAME = $d['FIRSTNAME'];
25 $MIDDLENAME = $d['MIDDLENAME'];
26 $LASTNAME = $d['LASTNAME'];
27 $ADDRESS = $d['ADDRESS'];
28 $RESIDENTIALCITY = $d['RESIDENTIALCITY'];
29 $COUNTY = $d['COUNTY'];
30 $RESIDENTIALZIP5 = $d['RESIDENTIALZIP5'];
31 // set cookies for hard_copy.php
32 setcookie("pCOUNTY", $COUNTY);
33 setcookie("pNAME", "$FIRSTNAME $MIDDLENAME $LASTNAME");
34 setcookie("pADDRESS", "$ADDRESS $RESIDENTIALCITY $RESIDENTIALZIP5");
35 setcookie("pADDRESS1", "$ADDRESS");
36 setcookie("pADDRESS2", "$RESIDENTIALCITY MD $RESIDENTIALZIP5");
37 setcookie("pVTRID", $VTRID);
38 setcookie("signature_status", 'verified');
39 slack_general('MATCH: Is the information correct ('.$FIRSTNAME.' '.$LASTNAME.' '.$RESIDENTIALCITY.') ('.$_COOKIE['invite'].')','md-petition');
41 slack_general('MISS: Is the information correct ('.$web_first_name.' '.$web_last_name.' '.$PHONE.') ('.$_COOKIE['invite'].')','md-petition');
42 setcookie("signature_status", 'notfound');
43 header('Location: warning_not_found.php');
45 $qX = "select * from website_text where id = '6'";
46 $rX = $petition->query($qX);
47 $dX = mysqli_fetch_array($rX);
49 <script
>document
.title
= "MEPS - Confirm information";</script
>
51 <div
class='col-sm-10' style
='height:100px; text-align:center;'><h1
><?PHP
echo $dX['text_title'];?
></h1
><h2
><?PHP
echo $dX['text_block'];?
></h2
></div
>
54 <div
class='col-sm-5' style
='text-align:right;'><h2
>First Name
</h2
></div
>
55 <div
class='col-sm-5' style
='text-align:left;'><h2
><?PHP
echo $FIRSTNAME;?
></h2
></div
>
58 <div
class='col-sm-5' style
='text-align:right;'><h2
>Middle Name
</h2
></div
>
59 <div
class='col-sm-5' style
='text-align:left;'><h2
><?PHP
echo $MIDDLENAME;?
><h2
></div
>
62 <div
class='col-sm-5' style
='text-align:right;'><h2
>Last Name
</h2
></div
>
63 <div
class='col-sm-5' style
='text-align:left;'><h2
><?PHP
echo $LASTNAME;?
></h2
></div
>
66 <div
class='col-sm-5' style
='text-align:right;'><h2
>Date of Birth
</h2
></div
>
67 <div
class='col-sm-5' style
='text-align:left;'><h2
><?PHP
echo $DOB;?
></h2
></div
>
70 <div
class='col-sm-5' style
='text-align:right;'><h2
>Full Addresss
</h2
></div
>
71 <div
class='col-sm-5' style
='text-align:left;'><h2
><?PHP
echo $ADDRESS;?
></h2
></div
>
74 <div
class='col-sm-5' style
='text-align:right;'><h2
>Phone
</h2
></div
>
75 <div
class='col-sm-5' style
='text-align:left;'><h2
><?PHP
echo $PHONE;?
></h2
></div
>
78 <div
class='col-sm-5' style
='text-align:right;'><h2
>City
</h2
></div
>
79 <div
class='col-sm-5' style
='text-align:left;'><h2
><?PHP
echo $RESIDENTIALCITY;?
></h2
></div
>
82 <div
class='col-sm-5' style
='text-align:right;'><h2
>County
</h2
></div
>
83 <div
class='col-sm-5' style
='text-align:left;'><h2
><?PHP
echo $COUNTY;?
></h2
></div
>
86 <div
class='col-sm-5' style
='text-align:right;'><h2
>Zip
</h2
></div
>
87 <div
class='col-sm-5' style
='text-align:left;'><h2
><?PHP
echo $RESIDENTIALZIP5;?
></h2
></div
>
90 <div
class='col-sm-5'><button type
="button" class="btn btn-danger btn-lg btn-block" onclick
="window.location.href='reset.php'">NO
</button
></div
>
91 <div
class='col-sm-5'><button type
="button" class="btn btn-success btn-lg btn-block" onclick
="window.location.href='eligible.php'">YES
</button
></div
>
94 <?PHP
include_once('footer.php');