try cookie
[clinton/MarylandElectronicPetitionSignature.git] / invite / mgp.php
index f85e2a7..4c564c9 100644 (file)
@@ -16,6 +16,7 @@ setcookie("invite", "mgp", time()+3600, "/"); // we use this later
   </script>
   <?PHP 
   include_once('/var/www/secure.php'); //outside webserver
+  presign(); // requires db connection
   $q = "select * from petitions where petition_id = '1'";
   $r = $petition->query($q);
   $d = mysqli_fetch_array($r);
@@ -77,7 +78,7 @@ slack_general('MGP Home Page Loaded ('.$_COOKIE['invite'].')','md-petition');
  </div>
    <?PHP } ?>
 <div class='row'>
-  <div class='col-sm-10' style='text-align:center;'><button type="button" class="btn btn-success btn-lg btn-block" onclick="window.location.href='../enter_information.php'"><img class='click_me' src="../files/click_here.gif"> CLICK HERE TO BEGIN - SIGN <?PHP echo $d['petition_name'];?></button></div>
+  <div class='col-sm-10' style='text-align:center;'><button type="button" class="btn btn-success btn-lg btn-block" onclick="window.location.href='../enter_information.php'"><img alt='Click here to continue' class='click_me' src="../files/click_here.gif"> CLICK HERE TO BEGIN - SIGN <?PHP echo $d['petition_name'];?></button></div>
  </div> 
   
  <div class='row'>