<?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-12' style='text-align:center;'> © 2020 <?PHP echo $copy;?></div>
+ <div class='col-sm-1' style='text-align:center;'>
+
+ </div>
+ <div class='col-sm-8' style='text-align:center;'>
+ <iframe src="https://discordapp.com/widget?id=814685066122100757&theme=light" width="600" height="300" allowtransparency="true" frameborder="0" sandbox="allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts"></iframe>
+ </div>
+ <div class='col-sm-1' style='text-align:center;'>
+
+ </div>
+
+</div>
+
+<div class='row'>
+ <div class='col-sm-10' style='text-align:center;'>
+ <?PHP echo $copy;?>
+ </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;'>
+ <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) {
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($_SESSION); ?></pre>
<pre><?PHP print_r($_COOKIE); ?></pre>
<?PHP } ?>
+ </div>
</div>
- </div>
-
-<style>
- * {
- margin: 0;
-}
-html, body {
- height: 100%;
-}
-.page-wrap {
- min-height: 100%;
- /* equal to footer height */
- margin-bottom: -142px;
-}
-.page-wrap:after {
- content: "";
- display: block;
-}
-.site-footer, .page-wrap:after {
- height: 142px;
-}
-.site-footer {
- background: lightblue;
-}
-</style>
-
-<footer class="site-footer">
- I'm the Sticky Footer.
-</footer>
-
-
-
+</div><!-- close container -->
<script type="text/javascript">
window.doorbellOptions = {
"id": "10512",