Commit | Line | Data |
---|---|---|
1890c9f4 PM |
1 | <?PHP |
2 | $copy = 'MEPS'; | |
3 | if ($_COOKIE['invite'] != ''){ | |
4 | $copy = 'MEPS - '.strtoupper($_COOKIE['invite']); | |
5 | } | |
6 | ?> | |
aa3692ac | 7 | |
a38bf777 PM |
8 | <div class='row'> |
9 | <div class='col-sm-12' style='text-align:center;'> © 2020 <?PHP echo $copy;?></div> | |
10 | </div> | |
398b3c75 PM |
11 | |
12 | ||
13 | <meta property="og:url" content="http://md-petition.com/index.php" /> | |
14 | <meta property="og:type" content="website" /> | |
15 | <meta property="og:title" content="Maryland Electronic Petition Software" /> | |
16 | <meta property="og:description" content="Socially Distant Petitions" /> | |
17 | <meta property="og:image" content="http://md-petition.com/files/Flag_of_Maryland.svg" /> | |
18 | ||
19 | ||
20 | <div id="fb-root"></div> | |
21 | <script>(function(d, s, id) { | |
22 | var js, fjs = d.getElementsByTagName(s)[0]; | |
23 | if (d.getElementById(id)) return; | |
24 | js = d.createElement(s); js.id = id; | |
25 | js.src = "https://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v3.0"; | |
26 | fjs.parentNode.insertBefore(js, fjs); | |
27 | }(document, 'script', 'facebook-jssdk'));</script> | |
28 | ||
29 | ||
30 | <div class='row'> | |
1dfb7cdc | 31 | <div class='col-sm-3' style='text-align:center;'> Share MGP |
398b3c75 PM |
32 | <div class="fb-share-button" |
33 | data-href="http://md-petition.com/index.php?invite=MGP" | |
34 | data-layout="button_count"> | |
35 | </div> | |
36 | </div> | |
1dfb7cdc | 37 | <div class='col-sm-3' style='text-align:center;'> Share MLP |
398b3c75 PM |
38 | <div class="fb-share-button" |
39 | data-href="http://md-petition.com/index.php?invite=MLP" | |
40 | data-layout="button_count"> | |
41 | </div> | |
42 | </div> | |
1dfb7cdc | 43 | <div class='col-sm-3' style='text-align:center;'> Share BTEC |
398b3c75 PM |
44 | <div class="fb-share-button" |
45 | data-href="http://md-petition.com/index.php?invite=BTEC" | |
46 | data-layout="button_count"> | |
47 | </div> | |
48 | </div> | |
1dfb7cdc PM |
49 | <div class='col-sm-3' style='text-align:center;'> Share PJ |
50 | <div class="fb-share-button" | |
51 | data-href="http://md-petition.com/index.php?invite=PJ" | |
52 | data-layout="button_count"> | |
53 | </div> | |
54 | </div> | |
398b3c75 PM |
55 | </div> |
56 | ||
57 | ||
6cb042b6 PM |
58 | <div class='col-sm-12' style='text-align:center;'> |
59 | <?PHP if($_COOKIE['debug'] == 'on'){ ?> | |
60 | <pre><?PHP print_r($_GET); ?></pre> | |
61 | <pre><?PHP print_r($_POST); ?></pre> | |
62 | <pre><?PHP print_r($_COOKIE); ?></pre> | |
63 | <?PHP } ?> | |
64 | </div> | |
86f2f2cf | 65 | </div> |
456e4d1c PM |
66 | |
67 | <style> | |
68 | * { | |
69 | margin: 0; | |
70 | } | |
71 | html, body { | |
72 | height: 100%; | |
73 | } | |
74 | .page-wrap { | |
75 | min-height: 100%; | |
76 | /* equal to footer height */ | |
77 | margin-bottom: -142px; | |
78 | } | |
79 | .page-wrap:after { | |
80 | content: ""; | |
81 | display: block; | |
82 | } | |
83 | .site-footer, .page-wrap:after { | |
84 | height: 142px; | |
85 | } | |
86 | .site-footer { | |
87 | background: lightblue; | |
88 | } | |
89 | </style> | |
90 | ||
91 | <footer class="site-footer"> | |
92 | I'm the Sticky Footer. | |
93 | </footer> | |
94 | ||
95 | ||
96 | ||
97 | ||
883fba2d PM |
98 | <script type="text/javascript"> |
99 | window.doorbellOptions = { | |
100 | "id": "10512", | |
101 | "appKey": "4wEnfKuAdj4WlHgKaxLMrAbYn8aKdFhtYVnpbRPkG4AbA7SH7KcgiRvdZyWmwxnw" | |
102 | }; | |
103 | (function(w, d, t) { | |
104 | var hasLoaded = false; | |
105 | 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); } | |
106 | if (w.attachEvent) { w.attachEvent('onload', l); } else if (w.addEventListener) { w.addEventListener('load', l, false); } else { l(); } | |
107 | if (d.readyState == 'complete') { l(); } | |
108 | }(window, document, 'script')); | |
109 | </script> | |
04ad0b1c | 110 | </body> |