<?php
require_once './Control/ControlArea.php';
$controlArea = new ControlArea();
$rodapeSobreHotel = $controlArea->pegarUmArea(5);
//$contato = new Contato();
?>
<!-- Footer -->
<script type="text/javascript" src="https://cdn.ywxi.net/js/1.js" async></script>
<script>
  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');

  ga('create', 'UA-33606706-1', 'auto');
  ga('send', 'pageview');

</script>
<footer>
  <div class="container">
    <div class="row">
      <div class="col-md-3 col-sm-3">
          <h4><?php echo $rodapeSobreHotel->gTexto(); ?></h4>
          <?php echo $rodapeSobreHotel->gTexto1();?>
<a href='http://www.casamentos.com.br' title='Casamentos.com.br'><img align="center" alt='Casamentos.com.br' src='http://www.casamentos.com.br/images/sellos/Sello-casamentosbr-peq--pp148470.png' style='border-width:0px;' /></a>
      </div>
      <div class="col-md-3 col-sm-3">
        <h4>Newsletter</h4>
        <p>Fique por dentro das novidades e promoções!</p>
        <form role="form" method="post" action="php/newsletter.php" name="newsletterform" id="newsletterform">
          <div class="form-group">
            <input name="newsletter" type="text" id="newsletter" value="" class="form-control" placeholder="Entre com seu e-mail">
          </div>
          <button id="cmdEnviarNews"  type="submit" class="btn btn-lg btn-black btn-block">Cadastrar</button>
        </form>
        <div id="divNewsletter"></div>
      </div>
      <div class="col-md-3 col-sm-3">
        <h4>Endereço</h4>
        <address>
            <strong><?php echo $contato->getRua() ?></strong>, 
        <?php echo $contato->getBairro() ?><br>
        <?php echo $contato->getCidade() ?>, <?php echo $contato->getUf() ?><br>
        CEP: <?php echo $contato->getCep() ?> <br/>
        <abbr title="Telefone">Tel:</abbr> <a href="contato"><?php echo $contato->getTelefone() ?></a><br>
        <abbr title="Email">E:</abbr> <a href="#"><?php echo $contato->getEmail() ?></a><br>
        <abbr title="Website">W:</abbr> <a href="#">www.sankarlohotel.com.br</a><br>
        </address>
      </div>
      <div class="col-md-3 col-sm-3 text-right">
          <img src="images/logo.png" title="San Karlo Hotel" alt="San Karlo Hotel"/>
      </div>
    </div>
  </div>
  <div class="footer-bottom">
    <div class="container">
      <div class="row">
        <div class="col-xs-6"> &copy; 2015 San Karlo Hotel, todos os direitos reservados</div>
        <div class="col-xs-3">
          <ul>
            <li><a href="contato">Fale conosco</a></li>
          </ul>
        </div>
        <div class="col-xs-3 text-right">
            <a id="logoRodape" href="http://www.iwebdesign.com.br" target="_blank"><img src="images/iwebdesign.png" alt="IwebDesign" title="IwebDesign"/></a>
        </div>
      </div>
    </div>
  </div>
</footer>

<!-- Go-top Button -->
<div id="go-top"><i class="fa fa-angle-up fa-2x"></i></div>
