X-Git-Url: http://git.hcoop.net/clinton/MarylandElectronicPetitionSignature.git/blobdiff_plain/c2db3685465892543177fc99e3e608beb25ec813..defa1cf8f303437931cdddc61d5c595f87df3c1e:/header.php diff --git a/header.php b/header.php index 8fd3a3f..a2b4ecc 100644 --- a/header.php +++ b/header.php @@ -1,33 +1,80 @@ - + - + + + + + + + + - - + + gtag('config', 'G-TY6C66ZWMX'); + @@ -42,6 +89,9 @@ input:focus { height:50px; width:100px; } + .not_me{ + height:72px; + } @@ -49,9 +99,15 @@ input:focus { real_escape_string($_COOKIE['invite']); - $q = "select petition_name, web_color from petitions where web_short_name = '$invite'"; + $q = "select * from petitions where web_short_name = '$invite'"; $r = $petition->query($q); $d = mysqli_fetch_array($r); - echo "

$d[petition_name]

"; - } + echo "

$d[petition_name]

"; + if ($d['social_phone'] != ''){ + echo "

Support: ".$d['social_phone']." ".$d['social_email']."

"; + } + if ($d['social_email'] != '' && $d['social_phone'] == ''){ + echo "

Support: ".$d['social_email']."

"; + } + } ?>