GA4
[clinton/MarylandElectronicPetitionSignature.git] / footer.php
index 6663b2a..1f3ffd1 100644 (file)
@@ -4,16 +4,39 @@ if ($_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-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 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 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) {
     var js, fjs = d.getElementsByTagName(s)[0];
@@ -28,37 +51,13 @@ if ($_COOKIE['invite'] != ''){
    <?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>&COPY; 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",
@@ -71,5 +70,4 @@ if ($_COOKIE['invite'] != ''){
         if (d.readyState == 'complete') { l(); }
     }(window, document, 'script'));
 </script>
-<?PHP } ?>
 </body>