<?PHP
-$copy = 'MEPS';
+$copy = '© Patrick McGuire';
if ($_COOKIE['invite'] != ''){
- $copy = 'MEPS - '.strtoupper($_COOKIE['invite']);
+ $copy = '© Patrick McGuire - '.strtoupper($_COOKIE['invite']);
}
?>
-
+
<div class='row'>
- <div class='col-sm-12' style='text-align:center;'> © 2020 <?PHP echo $copy;?></div>
+ <div class='col-sm-10' style='text-align:center;'><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>
-
- <meta property="og:url" content="http://md-petition.com/index.php" />
- <meta property="og:type" content="website" />
- <meta property="og:title" content="Maryland Electronic Petition Software" />
- <meta property="og:description" content="Socially Distant Petitions" />
- <meta property="og:image" content="http://md-petition.com/files/Flag_of_Maryland.svg" />
+<div class='row'>
+ <div class='col-sm-10' style='text-align:center;'><?PHP echo $copy;?></div>
+</div>
<div id="fb-root"></div>
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
-
<div class='row'>
- <div class='col-sm-3' style='text-align:center;'> Share MGP
- <div class="fb-share-button"
- data-href="http://md-petition.com/index.php?invite=MGP"
- data-layout="button_count">
- </div>
- </div>
- <div class='col-sm-3' style='text-align:center;'> Share MLP
- <div class="fb-share-button"
- data-href="http://md-petition.com/index.php?invite=MLP"
- data-layout="button_count">
- </div>
- </div>
- <div class='col-sm-3' style='text-align:center;'> Share BTEC
- <div class="fb-share-button"
- data-href="http://md-petition.com/index.php?invite=BTEC"
- data-layout="button_count">
- </div>
- </div>
- <div class='col-sm-3' style='text-align:center;'> Share PJ
- <div class="fb-share-button"
- data-href="http://md-petition.com/index.php?invite=PJ"
- data-layout="button_count">
- </div>
- </div>
-</div>
-
-
- <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($_COOKIE); ?></pre>
<?PHP } ?>
</div>
-
-
</div>
+</div><!-- close container -->
+<?PHP /*
<footer class="site-footer">
- Moving footer html here...
+ <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>
if (d.readyState == 'complete') { l(); }
}(window, document, 'script'));
</script>
+<?PHP } ?>
</body>