3 if ($_COOKIE['invite'] != ''){
4 $copy = 'MEPS - '.strtoupper($_COOKIE['invite']);
9 <div
class='col-sm-12' style
='text-align:center;'> ©
; 2020 <?PHP
echo $copy;?
></div
>
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" />
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
>
31 <div
class='col-sm-3' style
='text-align:center;'> Share MGP
32 <div
class="fb-share-button"
33 data
-href
="http://md-petition.com/index.php?invite=MGP"
34 data
-layout
="button_count">
37 <div
class='col-sm-3' style
='text-align:center;'> Share MLP
38 <div
class="fb-share-button"
39 data
-href
="http://md-petition.com/index.php?invite=MLP"
40 data
-layout
="button_count">
43 <div
class='col-sm-3' style
='text-align:center;'> Share BTEC
44 <div
class="fb-share-button"
45 data
-href
="http://md-petition.com/index.php?invite=BTEC"
46 data
-layout
="button_count">
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">
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
>
66 <script type
="text/javascript">
67 window
.doorbellOptions
= {
69 "appKey": "4wEnfKuAdj4WlHgKaxLMrAbYn8aKdFhtYVnpbRPkG4AbA7SH7KcgiRvdZyWmwxnw"
72 var hasLoaded
= false;
73 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
); }
74 if (w
.attachEvent
) { w
.attachEvent('onload', l
); } else if (w
.addEventListener
) { w
.addEventListener('load', l
, false); } else { l(); }
75 if (d
.readyState
== 'complete') { l(); }
76 }(window
, document
, 'script'));