$DOB = $_COOKIE['pDOB'];
$PHONE = $_COOKIE['pPHONE'];
if ($web_first_name != '' && $web_last_name != '' && $web_house_number != '' && $web_zip_code != ''){
- // ok to check for records
+ include_once('header.php');
+ $web_first_name = $petition->real_escape_string($web_first_name);
+ $web_last_name = $petition->real_escape_string($web_last_name);
+ $web_house_number = $petition->real_escape_string($web_house_number);
+ $web_zip_code = $petition->real_escape_string($web_zip_code);
+ $DOB = $petition->real_escape_string($DOB);
+ $PHONE = $petition->real_escape_string($PHONE);
}else{
header('Location: warning_incomplete.php');
}
-include_once('header.php');
$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'";
$r = $petition->query($q);
$d = mysqli_fetch_array($r);
if ($d['VTRID'] != ''){
- $_COOKIE['signature_status'] = 'verified';
$VTRID = $d['VTRID'];
$FIRSTNAME = $d['FIRSTNAME'];
$MIDDLENAME = $d['MIDDLENAME'];
setcookie("pADDRESS1", "$ADDRESS");
setcookie("pADDRESS2", "$RESIDENTIALCITY MD $RESIDENTIALZIP5");
setcookie("pVTRID", $VTRID);
+ setcookie("signature_status", 'verified');
+ slack_general('MATCH: Is the information correct ('.$FIRSTNAME.' '.$LASTNAME.' '.$RESIDENTIALCITY.') ('.$_COOKIE['invite'].')','md-petition');
}else{
- $_COOKIE['signature_status'] = 'invalid';
+ slack_general('MISS: Is the information correct ('.$web_first_name.' '.$web_last_name.' '.$PHONE.') ('.$_COOKIE['invite'].')','md-petition');
+ setcookie("signature_status", 'notfound');
header('Location: warning_not_found.php');
}
+$qX = "select * from website_text where id = '6'";
+ $rX = $petition->query($qX);
+ $dX = mysqli_fetch_array($rX);
?>
+<script>document.title = "MEPS - Confirm information";</script>
<div class='row'>
- <div class='col-sm-12' style='height:100px; text-align:center;'><h2>Is this information correct?</h2></div>
+ <div class='col-sm-10' style='text-align:center;'><h1><?PHP echo $dX['text_title'];?></h1><h2><?PHP echo $dX['text_block'];?></h2></div>
</div>
<div class='row'>
- <div class='col-sm-6' style='height:50px; text-align:center;'>First Name</div><div class='col-sm-6' style='height:50px; text-align:center;'><?PHP echo $FIRSTNAME;?></div>
+ <div class='col-sm-10'><button type="button" class="btn btn-success btn-lg btn-block" onclick="window.location.href='eligible.php'"><img class='click_me' src="files/click_here.gif">YES</button></div>
</div>
<div class='row'>
- <div class='col-sm-6' style='height:50px; text-align:center;'>Middle Name </div><div class='col-sm-6' style='height:50px; text-align:center;'><?PHP echo $MIDDLENAME;?></div>
+ <div class='col-sm-5' style='text-align:right;'><h2>First Name</h2></div>
+ <div class='col-sm-5' style='text-align:left;'><h2><?PHP echo $FIRSTNAME;?></h2></div>
</div>
<div class='row'>
- <div class='col-sm-6' style='height:50px; text-align:center;'>Last Name </div><div class='col-sm-6' style='height:50px; text-align:center;'><?PHP echo $LASTNAME;?></div>
+ <div class='col-sm-5' style='text-align:right;'><h2>Middle Name</h2></div>
+ <div class='col-sm-5' style='text-align:left;'><h2><?PHP echo $MIDDLENAME;?><h2></div>
</div>
<div class='row'>
- <div class='col-sm-6' style='height:50px; text-align:center;'>Date of Birth </div><div class='col-sm-6' style='height:50px; text-align:center;'><?PHP echo $DOB;?></div>
+ <div class='col-sm-5' style='text-align:right;'><h2>Last Name</h2></div>
+ <div class='col-sm-5' style='text-align:left;'><h2><?PHP echo $LASTNAME;?></h2></div>
</div>
<div class='row'>
- <div class='col-sm-6' style='height:50px; text-align:center;'>Full Addresss </div><div class='col-sm-6' style='height:50px; text-align:center;'><?PHP echo $ADDRESS;?></div>
+ <div class='col-sm-5' style='text-align:right;'><h2>Date of Birth</h2></div>
+ <div class='col-sm-5' style='text-align:left;'><h2><?PHP echo $DOB;?></h2></div>
</div>
<div class='row'>
- <div class='col-sm-6' style='height:50px; text-align:center;'>Phone </div><div class='col-sm-6' style='height:50px; text-align:center;'><?PHP echo $PHONE;?></div>
+ <div class='col-sm-5' style='text-align:right;'><h2>Full Addresss</h2></div>
+ <div class='col-sm-5' style='text-align:left;'><h2><?PHP echo $ADDRESS;?></h2></div>
</div>
<div class='row'>
- <div class='col-sm-2' style='height:50px; text-align:center;'>City</div><div class='col-sm-2'><?PHP echo $RESIDENTIALCITY;?></div>
- <div class='col-sm-2'>County</div><div class='col-sm-2'><?PHP echo $COUNTY;?></div>
- <div class='col-sm-2'>Zip</div><div class='col-sm-2'><?PHP echo $RESIDENTIALZIP5;?></div>
+ <div class='col-sm-5' style='text-align:right;'><h2>Phone</h2></div>
+ <div class='col-sm-5' style='text-align:left;'><h2><?PHP echo $PHONE;?></h2></div>
</div>
<div class='row'>
- <div class='col-sm-6' style='height:50px; text-align:center;'><button type="button" class="btn btn-success" onclick="window.location.href='eligible.php'">YES</button></div>
- <div class='col-sm-6' style='height:50px; text-align:center;'><button type="button" class="btn btn-danger" onclick="window.location.href='reset.php'">NO</button></div>
+ <div class='col-sm-5' style='text-align:right;'><h2>City</h2></div>
+ <div class='col-sm-5' style='text-align:left;'><h2><?PHP echo $RESIDENTIALCITY;?></h2></div>
+</div>
+<div class='row'>
+ <div class='col-sm-5' style='text-align:right;'><h2>County</h2></div>
+ <div class='col-sm-5' style='text-align:left;'><h2><?PHP echo $COUNTY;?></h2></div>
+</div>
+<div class='row'>
+ <div class='col-sm-5' style='text-align:right;'><h2>Zip</h2></div>
+ <div class='col-sm-5' style='text-align:left;'><h2><?PHP echo $RESIDENTIALZIP5;?></h2></div>
+</div>
+<div class='row'>
+ <div class='col-sm-10'><button type="button" class="btn btn-success btn-lg btn-block" onclick="window.location.href='eligible.php'"><img class='click_me' src="files/click_here.gif">YES</button></div>
+</div>
+<div class='row'>
+ <div class='col-sm-10'><button type="button" class="btn btn-danger btn-lg btn-block not_me" onclick="window.location.href='reset.php'">NO</button></div>
</div>
-
-
-
-
-
-
-
<?PHP include_once('footer.php');