2 $copy = '© 2020 Patrick McGuire';
3 if ($_COOKIE['invite'] != ''){
4 $copy = '© 2020 Patrick McGuire - '.strtoupper($_COOKIE['invite']);
7 <?PHP
if ($_SERVER['SCRIPT_NAME'] != '/share.php'){ ?
>
9 <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
>
14 <div
class='col-sm-10' style
='text-align:center;'><?PHP
echo $copy;?
></div
>
18 <div id
="fb-root"></div
>
19 <script
>(function(d
, s
, id
) {
20 var js
, fjs
= d
.getElementsByTagName(s
)[0];
21 if (d
.getElementById(id
)) return;
22 js
= d
.createElement(s
); js
.id
= id
;
23 js
.src
= "https://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v3.0";
24 fjs
.parentNode
.insertBefore(js
, fjs
);
25 }(document
, 'script', 'facebook-jssdk'));</script
>
28 <div
class='col-sm-10' style
='text-align:center;'>
29 <?PHP
if($_COOKIE['debug'] == 'on'){ ?
>
30 <pre
><?PHP
print_r($_GET); ?
></pre
>
31 <pre
><?PHP
print_r($_POST); ?
></pre
>
32 <pre
><?PHP
print_r($_COOKIE); ?
></pre
>
37 </div
><!-- close container
-->