| 1 | <?PHP |
| 2 | $copy = '© 2020 Patrick McGuire'; |
| 3 | if ($_COOKIE['invite'] != ''){ |
| 4 | $copy = '© 2020 Patrick McGuire - '.strtoupper($_COOKIE['invite']); |
| 5 | } |
| 6 | ?> |
| 7 | <?PHP if ($_SERVER['SCRIPT_NAME'] != '/share.php'){ ?> |
| 8 | <div class='row'> |
| 9 | <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> |
| 10 | </div> |
| 11 | <?PHP } ?> |
| 12 | |
| 13 | <div class='row'> |
| 14 | <div class='col-sm-4' style='text-align:center;'> |
| 15 | |
| 16 | </div> |
| 17 | <div class='col-sm-2' style='text-align:center;'> |
| 18 | <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> |
| 19 | </div> |
| 20 | <div class='col-sm-4' style='text-align:center;'> |
| 21 | |
| 22 | </div> |
| 23 | </div> |
| 24 | |
| 25 | <div class='row'> |
| 26 | <div class='col-sm-10' style='text-align:center;'> |
| 27 | <?PHP echo $copy;?> |
| 28 | </div> |
| 29 | </div> |
| 30 | |
| 31 | |
| 32 | |
| 33 | <div class='row'> |
| 34 | <div class='col-sm-10' style='text-align:center;'> |
| 35 | <span id="siteseal"><script async type="text/javascript" src="https://seal.starfieldtech.com/getSeal?sealID=aPXbc3kH1AvnQodUszkMcZir7V0JjcOovILeuCzgYFn2WwPTWyh0o2vI6hDF"></script></span> |
| 36 | </div> |
| 37 | </div> |
| 38 | |
| 39 | <div id="fb-root"></div> |
| 40 | <script>(function(d, s, id) { |
| 41 | var js, fjs = d.getElementsByTagName(s)[0]; |
| 42 | if (d.getElementById(id)) return; |
| 43 | js = d.createElement(s); js.id = id; |
| 44 | js.src = "https://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v3.0"; |
| 45 | fjs.parentNode.insertBefore(js, fjs); |
| 46 | }(document, 'script', 'facebook-jssdk'));</script> |
| 47 | |
| 48 | <div class='row'> |
| 49 | <div class='col-sm-10' style='text-align:center;'> |
| 50 | <?PHP if($_COOKIE['debug'] == 'on'){ ?> |
| 51 | <pre><?PHP print_r($_GET); ?></pre> |
| 52 | <pre><?PHP print_r($_POST); ?></pre> |
| 53 | <pre><?PHP print_r($_SESSION); ?></pre> |
| 54 | <pre><?PHP print_r($_COOKIE); ?></pre> |
| 55 | <?PHP } ?> |
| 56 | </div> |
| 57 | </div> |
| 58 | |
| 59 | </div><!-- close container --> |
| 60 | <script type="text/javascript"> |
| 61 | window.doorbellOptions = { |
| 62 | "id": "10512", |
| 63 | "appKey": "4wEnfKuAdj4WlHgKaxLMrAbYn8aKdFhtYVnpbRPkG4AbA7SH7KcgiRvdZyWmwxnw" |
| 64 | }; |
| 65 | (function(w, d, t) { |
| 66 | var hasLoaded = false; |
| 67 | function l() { if (hasLoaded) { return; } hasLoaded = true; window.doorbellOptions.windowLoaded = true; var g = d.createElement(t);g.id = 'doorbellScript';g.type = 'text/javascript';g.async = true;g.src = 'https://embed.doorbell.io/button/'+window.doorbellOptions['id']+'?t='+(new Date().getTime());(d.getElementsByTagName('head')[0]||d.getElementsByTagName('body')[0]).appendChild(g); } |
| 68 | if (w.attachEvent) { w.attachEvent('onload', l); } else if (w.addEventListener) { w.addEventListener('load', l, false); } else { l(); } |
| 69 | if (d.readyState == 'complete') { l(); } |
| 70 | }(window, document, 'script')); |
| 71 | </script> |
| 72 | </body> |