<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>San Karlo Hotel</title>
<?php include 'incCabecalho.php';?>
</head>
<?php
//ini_set('display_errors',1);
require_once './Control/ControlArea.php';
$controlArea = new ControlArea();
$homeq1 = $controlArea->pegarUmArea(1);
$homeq2 = $controlArea->pegarUmArea(2);
$homeq3 = $controlArea->pegarUmArea(3);
$homeq4 = $controlArea->pegarUmArea(4);
//Carrega 3 apartamentos
require_once './Control/ControlProduto.php';
$controlProduto = new ControlProduto();
$acomodacao01 = $controlProduto->pegarUmProduto('','01-Standard');
$acomodacao02 = $controlProduto->pegarUmProduto('','03-Frente');
$acomodacao03 = $controlProduto->pegarUmProduto('','04-Luxo');
?>

<body>

<?php include 'incTopHeader.php'; ?>
<?php 
$menuHome = true;
include 'incTop.php'; 
?>    
<?php include 'incBanner.php'; ?>
			
    
<!-- Reservation form -->
<section id="reservation-form">
  <div class="container">
    <div class="row">
      <div class="col-md-4">         

      </div>
      <div class="col-md-4">         
          <a href="reservaOnline" class="btn btn-primary btn-block">Reserva on-line</a>
      </div>
      <div class="col-md-4">         
          
      </div>
    </div>
  </div>
</section>

<!-- Rooms -->
<section class="rooms mt50">
  <div class="container">
    <div class="row">
      <div class="col-sm-12">
        <h2 class="lined-heading"><span>Apartamentos mais procurados</span></h2>
      </div>
        <?php
        $incAcomodacao = $acomodacao01;
        include './incAcomodacao.php';
        $incAcomodacao = $acomodacao02;
        include './incAcomodacao.php';
        $incAcomodacao = $acomodacao03;
        include './incAcomodacao.php';
        ?>

    </div>
  </div>
</section>

<!-- USP's -->
<section class="usp mt100">
  <div class="container">
    <div class="row">
      <div class="col-sm-12">
        <h2 class="lined-heading"><span>San Karlo Hotel</span></h2>
      </div>
      <div class="col-sm-3 bounceIn appear" data-start="0">
      <div class="box-icon">
        <div class="circle"><i class="fa fa-coffee fa-lg"></i></div>
        <h3><?php echo $homeq1->gTexto() ?></h3>
        <?php echo $homeq1->gTexto1() ?>
        <!--<a href="#">Mais...<i class="fa fa-angle-right"></i></a> -->
        </div>
      </div>
      <div class="col-sm-3 bounceIn appear" data-start="400">
      <div class="box-icon">
        <div class="circle"><i class="fa fa-credit-card fa-lg"></i></div>
        <h3><?php echo $homeq2->gTexto() ?></h3>
        <?php echo $homeq2->gTexto1() ?>
        <!--<a href="contato?msg=Preciso de mais informações sobre o pagamento">Mais...<i class="fa fa-angle-right"></i></a>-->
      </div>
      </div>
      <div class="col-sm-3 bounceIn appear" data-start="800">
      <div class="box-icon">      
        <div class="circle"><i class="fa fa-wifi fa-lg"></i></div>
        <h3><?php echo $homeq3->gTexto() ?></h3>
        <?php echo $homeq3->gTexto1() ?>
        <!--<a href="apartamentos">Apartamentos<i class="fa fa-angle-right"></i></a>-->
      </div>
      </div>
      <div class="col-sm-3 bounceIn appear" data-start="1200">
      <div class="box-icon">
        <div class="circle"><i class="fa fa-suitcase fa-lg"></i></div>
        <h3><?php echo $homeq4->gTexto() ?></h3>
        <?php echo $homeq4->gTexto1() ?>
        <!--<a href="apartamentos">apartamentos<i class="fa fa-angle-right"></i></a>-->
      </div>
    </div>
    </div>
  </div>
</section>

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

<section class="parallax-effect mt100">
  <div id="parallax-image" style="background-image: url(./images/parallax/Av_Beira_rio.jpg);">
    <div class="color-overlay fadeIn appear" data-start="600">
      <div class="container">
        <div class="content">
          <h3 class="text-center"><i class="fa fa fa-star-o"></i><i class="fa fa fa-star-o"></i><i class="fa fa fa-star-o"></i> San Karlo Hotel</h3>
          <p class="text-center">Conforto e requinte que você merece!
		  <br>
		  <a href="apartamentos" class="btn btn-default btn-lg mt30">Vejas os apartamentos</a></p>
        </div>
      </div>
    </div>
  </div>
</section>

<!-- Gallery -->
<section class="gallery-slider mt100">
  <div class="container">
    <div class="row">
      <div class="col-md-12">
        <h2 class="lined-heading"><span>Fotos do Hotel</span></h2>
      </div>
    </div>
  </div>
  <div id="owl-gallery" class="owl-carousel">
    <?php
            require_once './Control/ControlFoto.php';
            $controlFoto = new ControlFoto();
            $galeria = $controlFoto->pegarUmGaleria(1);
            $fotos = $controlFoto->pegarTodosFotoporGaleria($galeria->getGaleriaID());
            $fotos->fetch();
    ?>
    <div class="item"><a href="<?php echo $fotos->getFotoq();?>" data-rel="prettyPhoto[gallery1]"><img src="<?php echo $fotos->getFotoq();?>" alt="<?php echo $fotos->gDescricao();?>"><i class="fa fa-search"></i></a></div>
    <?php $fotos->fetch()?>
    <div class="item"><a href="<?php echo $fotos->getFotoq();?>" data-rel="prettyPhoto[gallery1]"><img src="<?php echo $fotos->getFotoq();?>" alt="<?php echo $fotos->gDescricao();?>"><i class="fa fa-search"></i></a></div>
    <?php $fotos->fetch()?>
    <div class="item"><a href="<?php echo $fotos->getFotoq();?>" data-rel="prettyPhoto[gallery1]"><img src="<?php echo $fotos->getFotoq();?>" alt="<?php echo $fotos->gDescricao();?>"><i class="fa fa-search"></i></a></div>
    <?php $fotos->fetch()?>
    <div class="item"><a href="<?php echo $fotos->getFotoq();?>" data-rel="prettyPhoto[gallery1]"><img src="<?php echo $fotos->getFotoq();?>" alt="<?php echo $fotos->gDescricao();?>"><i class="fa fa-search"></i></a></div>
  </div>
</section>


<!-- Call To Action -->
<section id="call-to-action" class="mt100">
  <div class="container">
    <div class="row">
      <div class="col-md-8 col-sm-8 col-xs-12">
        <h2>Alguma dúvida, ou sugestão, estamos a sua inteira disposição</h2>
      </div>
      <div class="col-md-4 col-sm-4 col-xs-12">
        <a href="contato" class="btn btn-default btn-lg pull-right">Entre em contato</a>
      </div>
    </div>
  </div>
</section>

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

</body>
</html>