<?php
require 'php/quoteErrors.php';

?>

<section>
        <div class="pageFull formSection" id="quotef">
          <div class="pageSize">
            <h5>Get A Free Quote on a new roof today</h5>
            <p>Actual full price total. No surprise costs. For a faster response, please call.</p>
              <div class="contPar">
                        <?php echo $errqMessage; ?>
                     </div><!-- end contPar -->
            <form class="quoteForm" id="quoteForm" action="php/quoteSubmit.php" method="post">
                <input type="hidden" name="fform" value="quoteForm">
                      <input type="hidden" name="ftoken" value="<?php echo $newQuoteToken; ?>">
              <div class="fosionFormWrapper">


                <div class="inputStyle">
                  <input type="text" name="fname" value="Name" onclick="if (this.defaultValue==this.value) this.value=''" onblur="if (this.value=='') this.value=this.defaultValue" required="">
                </div><!-- end inputStyle -->

                <div class="inputStyle">
                  <input type="text" name="fphone" value="Phone" onclick="if (this.defaultValue==this.value) this.value=''" onblur="if (this.value=='') this.value=this.defaultValue" required="">
                </div><!-- end inputStyle -->

                <div class="inputStyle">
                  <input type="text" name="femail" value="Email" onclick="if (this.defaultValue==this.value) this.value=''" onblur="if (this.value=='') this.value=this.defaultValue" required="">
                </div><!-- end inputStyle -->

                <div class="inputStyleTextArea">
                  <textarea name="ftxtArea"></textarea>
                </div><!-- end inputStyleTextArea -->


              </div><!-- end fosionFormWrapper -->

              <div class="inputStyleFull">
                <input type="submit" name="submit" value="Get Free Quote">
              </div><!-- end inputStyleFull -->

            </form>
          </div><!-- end pageSize -->
        </div><!-- end pageFull formSection -->
      </section>

<footer>

  <div class="pageFull footer">
    <div class="pageSize">
      <div class="footCont">
        <div class="fooLogo">
          <?php echo $logofull; ?>
        </div><!-- end fooLogo -->
        <div class="fooInfo">
          <a href="tel:<?php echo $tellink; ?>"><?php echo $tel; ?></a>
            <p><?php echo $address; ?></p>
          <?php echo $hours; ?>
        </div><!-- end fooInfo -->


          <div class="mediadivider">
                <div class="innerBox mobile-do-not-display"><a href="<?php echo $instagram; ?>" target="_blank"><img src="images/social-icons/instagram.png" alt="Instagram" title="Instagram"></a></div>

                <div class="innerBox"><a href="#" target="_blank" rel="nofollow"><img src="images/social-icons/bbb-logo.png" title="BBB Business Review" alt="BBB Business Review"></a></div>

                <div class="innerBox"><a href="#" target="_blank"><img src="images/social-icons/angies-super-service-award-2020.png" title="Angies Logo" alt="Angies Logo"></a></div>

                <div class="innerBox"><a href="<?php echo $gplus; ?>" target="_blank"><img src="images/social-icons/google-reviews-logo.png" title="Google Logo" alt="Google Logo"></a></div>

                <div class="innerBox mobile-do-not-display"><a href="<?php echo $fb; ?>" target="_blank"><img src="images/social-icons/facebook-follow-us.png" alt="Facebook" title="Facebook"></a></div>
            </div>


        <div class="fooMenu">
          <ul>
            <?php require 'req/navmenu.php'; ?>
            <li><a href="reviewus.php">Review us</a></li>
            <li><a href="disclaimer.php">Disclaimer</a></li>
          </ul>
        </div><!-- end fooMenu -->

                  <div class="fooIcons">
            <ul>
            <li><img src="images/social-icons/atticat.jpg" alt="AttiCat Logo"></li>
            <li><img src="images/social-icons/iko.jpg" alt="IKO Logo"></li>
            <li><img src="images/social-icons/owens-contractor.jpg" alt="Owens Corning Logo"></li>
             <li><img src="images/social-icons/masterelite.jpg" alt="Master Elite Logo"></li>
            <li><img src="images/social-icons/certainteed.jpg" alt="CertainTeed Logo"></li>
            <li><img src="images/social-icons/leaf-relief.jpg" alt="Leaf Relief Logo"></li>
            </ul>
        </div>

      </div><!-- end footCont -->
      <div class="copyright">
        <?php echo $copy; ?>
      </div><!-- end copyright -->




    </div><!-- end pageSize -->
  </div><!-- end pageFull footer -->


     <div class="outerSticky">
          <div class="stickyFooter"><!-- Start of stickyFooter -->
            <div class="innerStickyFooter"><!-- Start of innerStickyFooter -->
              <div class="centeringSticky"><!-- Start of centeringSticky -->
                <a href="tel:<?php echo $tellink; ?>">
                  <img src="images/icon-smart-phone.svg" alt="icon smartphone" title="Icon Smartphone">
                  <p>Call <?php echo $tel; ?></p>
                </a>
              </div><!-- End of centeringSticky -->
            </div><!-- End of innerStickyFooter -->
          </div><!-- End of stickyFooter -->
 </div>

</footer>
