<?PHP
-$copy = 'MEPS';
+$copy = '© 2020 Patrick McGuire';
if ($_COOKIE['invite'] != ''){
- $copy = 'MEPS - '.strtoupper($_COOKIE['invite']);
+ $copy = '© 2020 Patrick McGuire - '.strtoupper($_COOKIE['invite']);
}
?>
+<?PHP if ($_SERVER['SCRIPT_NAME'] != '/share.php'){ ?>
+ <div class='row'>
+ <div class='col-sm-10' style='text-align:center;'><br><br><br><button type="button" class="btn btn-info btn-lg btn-block" onclick="window.open('share.php')">Before you leave click here to share the petition.</button></div>
+ </div>
+<?PHP } ?>
+
+<div class='row'>
+ <div class='col-sm-4' style='text-align:center;'>
+ </div>
+ <div class='col-sm-2' style='text-align:center;'>
+ <a target='_Blank' href='https://www.youtube.com/watch?v=PFVN97kfUD8'><img alt='Click Here for a youtube instructional video' class='img-responsive' src='files/img-help_button.png'></a>
+ </div>
+ <div class='col-sm-4' style='text-align:center;'>
+
+ </div>
+</div>
+
+<div class='row'>
+ <div class='col-sm-10' style='text-align:center;'>
+ <?PHP echo $copy;?>
+ </div>
+</div>
+
+<div class='row'>
+ <div class='col-sm-10' style='text-align:center;'>
+ <span id="siteseal"><script async type="text/javascript" src="https://seal.starfieldtech.com/getSeal?sealID=aPXbc3kH1AvnQodUszkMcZir7V0JjcOovILeuCzgYFn2WwPTWyh0o2vI6hDF"></script></span>
+ </div>
+</div>
<div id="fb-root"></div>
<script>(function(d, s, id) {
}(document, 'script', 'facebook-jssdk'));</script>
<div class='row'>
- <div class='col-sm-12' style='text-align:center;'>
+ <div class='col-sm-10' style='text-align:center;'>
<?PHP if($_COOKIE['debug'] == 'on'){ ?>
<pre><?PHP print_r($_GET); ?></pre>
<pre><?PHP print_r($_POST); ?></pre>
+ <pre><?PHP print_r($_SESSION); ?></pre>
<pre><?PHP print_r($_COOKIE); ?></pre>
<?PHP } ?>
</div>
</div>
</div><!-- close container -->
-
-
-<?PHP /*
-<footer class="site-footer">
- <center>© 2020 <?PHP echo $copy;
- /* ?>
- <table border="1" cellpadding="2" cellspacing="0"><tr>
- <?PHP
- $q2 = "SELECT * FROM petitions";
- $r2 = $petition->query($q2);
- while($d2 = mysqli_fetch_array($r2)){
- echo "<td align='center'><small>$d2[petition_name]<small><br>
- <div class=\"fb-share-button\"
- data-href=\"http://md-petition.com/index.php?invite=$d2[web_short_name]\"
- data-layout=\"button_count\">
- </div></td>";
- }
- ?></tr>
- </table><?PHP * / ?>
- </center>
-</footer>
-
-
-
-
<script type="text/javascript">
window.doorbellOptions = {
"id": "10512",
if (d.readyState == 'complete') { l(); }
}(window, document, 'script'));
</script>
-<?PHP } ?>
</body>