<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>Apartamentos do San Karlo Hotel</title>
<?php include 'incCabecalho.php';?>
</head>
<?php
require_once './Control/ControlProduto.php';
$controlProduto = new ControlProduto();
$acomodacoes = $controlProduto->pegarTodosProdutoHabilitado();
$acomodacoes->setHabilitado(1);
$acomodacoes->order('idsite')->find();
?>

<body>

<?php include 'incTopHeader.php'; ?>
<?php 
$menuApartamentos=true;
include 'incTop.php'; 
?>    

<!-- Parallax Effect -->
<script type="text/javascript">$(document).ready(function(){$('#parallax-pagetitle').parallax("50%", -0.55);});</script>

<section class="parallax-effect">
  <div id="parallax-pagetitle" style="background-image: url(./images/parallax/recepcao.jpg);">
    <div class="color-overlay"> 
      <!-- Page title -->
      <div class="container">
        <div class="row">
            <div class="col-sm-3"></div>
          <div class="col-sm-9">
            <ol class="breadcrumb">
              <li><a href="index">Home</a></li>
              <li class="active">Apartamentos</li>
            </ol>
            <h1>Listagem de Apartamentos</h1>
          </div>
        </div>
      </div>
    </div>
  </div>
</section>    

<!-- Rooms -->
<section class="rooms mt100">
  <div class="container">
    <div class="row room-list fadeIn appear"> 
        <?php
        while ($acomodacoes->fetch())
        {
            $incAcomodacao = $acomodacoes;
            include './incAcomodacao.php';
        }
        ?>
    </div>
  </div>
</section>        
<?php include 'incFooter.php'; ?>

</body>
</html>