<!DOCTYPE HTML>
<html>
<head>
<?php
//Carrega 3 apartamentos
require_once './Control/ControlArtigo.php';
$controlArtigo = new ControlArtigo();
$pacotes = $controlArtigo->pegarTodosArtigoporCategoriaid(2);
?>    
<meta charset="utf-8">
<title>Pacotes promocionais do San Karlo Hotel</title>
<?php include 'incCabecalho.php';?>
</head>


<body>

<?php include 'incTopHeader.php'; ?>
<?php 
$menuPacotes = 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">Pacotes</li>
            </ol>
            <h1>Pacotes promocionais</h1>
          </div>
        </div>
      </div>
    </div>
  </div>
</section>    

<div class="container mt50">
  <div class="row"> 
    <!-- Slider -->
   
    <?php
    while ($pacotes->fetch())
    {
    ?>
    <section class="clearfix">
      <div class="mt20 col-md-12">
          <h2 class="lined-heading"><span><?php echo $pacotes->gTitulo(); ?></span></h2>
          <?php echo $pacotes->gDescricao() ?>
          <p align="center"><a class="btn btn-lg btn-info" href="pacote?id=<?php echo $pacotes->getArtigoid()?>"><i class="fa fa-folder-open"></i> Mais informações...</a>
      </div>
    </section>
    <?php } ?>
    
  </div>
</div>



<?php include 'incFooter.php'; ?>

</body>
</html>