X-Git-Url: http://git.hcoop.net/clinton/MarylandElectronicPetitionSignature.git/blobdiff_plain/f81ce1eb65b42944ebfe8ebd594c6d400a7516f4..ba45d7ab03a08a1c6330da77dc9b0e00b6141df9:/header.php diff --git a/header.php b/header.php dissimilarity index 64% index d308ae2..fdac294 100644 --- a/header.php +++ b/header.php @@ -1,93 +1,113 @@ - - - - - - - - - - - - - - - - - - MEPS - Maryland Eletronic Petition Software - -* { - margin: 0; -} -html, body { - height: 100%; -} -.page-wrap { - min-height: 100%; - - margin-bottom: -100px; -} -.page-wrap:after { - content: ""; - display: block; -} -.site-footer, .page-wrap:after { - height: 100px; -} -.site-footer { - background: lightblue; -} - -*/ ?> - - - -
- -
  • >1: Are You Registered?
  • -
  • >2: How to Register?
  • -
  • >3: Enter Information
  • -
  • >4: Confirm Information
  • - -
  • >5: Select Petition
  • -
  • >6: Sign Petition
  • - -
  • >5: Sign Petition
  • -
  • >6: Select Next Petition
  • - - - -
  • RESET
  • - - - */ - if ($_COOKIE['invite'] != ''){ - $invite = $petition->real_escape_string($_COOKIE['invite']); - $q = "select petition_name, web_color from petitions where web_short_name = '$invite'"; - $r = $petition->query($q); - $d = mysqli_fetch_array($r); - echo "

    $d[petition_name]

    "; - } - ?> + + + + + + + + + + + + + + + + + + + + + + + + + MEPS - Maryland Eletronic Petition Software + + + +
    + real_escape_string($_COOKIE['invite']); + $q = "select * from petitions where web_short_name = '$invite'"; + $r = $petition->query($q); + $d = mysqli_fetch_array($r); + echo "

    $d[petition_name]

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