<?php
defined('BASEPATH') OR exit('No direct script access allowed');
?>
	<!DOCTYPE html>
	<html lang="pt">
	<head>
<?php $this->load->view('includes/header',isset($data) ? $data : NULL);?>		

	</head>
	<body>
<?php $this->load->view('includes/top',isset($data) ? $data : NULL);?>	

<div class="xs-spacer30 sm-spacer30">
</div>

<?php 
$otel_detay=genel::otel_detay($grup_detay->hotel_id);
//print_r($otel_detay);
?>

<div class="xs-spacer120 sm-spacer120 visible-xs">
</div>

<div class="article">
<div class="container">
<div class="sm-spacer150">
</div>
<div class="row">
<div class="col-md-12 sm-tacenter">
<h1 class="slice">
<span><?=$otel_detay->name?></span>
</h1>
</div>
</div>
<div class="sm-spacer30">
</div>

<?php 
$bilgiler=genel::otel_bilgileri($otel_detay->hotel_id);

foreach ($bilgiler as $bilgiler) {?>	
<div class="panel panel-danger" style="border: 1px solid  #e31d1a ">
<div class="panel-heading" style="background-color: #e31d1a;color: #fff;font-weight: bold"><?=$bilgiler->title?></div>

<div class="panel-body">
<?=$bilgiler->description?>
</div>

</div>
<?php }?>

<hr>
<?php 
$fotolar=genel::otel_fotolari($otel_detay->hotel_id);
//print_r($fotolar);
?>
<div class="panel panel-danger" style="border: 1px solid  #e31d1a ">
<div class="panel-heading" style="background-color: #e31d1a;color: #fff;font-weight: bold">Foto Galeri</div>

<div class="panel-body">
	<div class="row">
<?php foreach ($fotolar as $fotolar) {?>
<div class="col-xs-12 col-sm-12 col-md-4 col-lg-4">

		<div class="backImg" style="background-image: url(<?=genel::sistem_ayarlari(23)?><?=$fotolar->photo?>);
background-size: cover;
background-repeat: no-repeat;
background-position: 50%;
position: relative;"><div class="xs-spacer150 sm-spacer150 md-spacer150 lg-spacer150">&nbsp;</div>

<div class="xs-spacer150 sm-spacer150 md-spacer150 lg-spacer150">&nbsp;</div>
</div>




<div class="xs-spacer30 sm-spacer30">&nbsp;</div>

</div>

<?php }?>	
</div>
</div>

</div>

<div class="sm-spacer30">
</div>

<div class="sm-spacer60">
</div>
</div>
</div>
	<?php $this->load->view('includes/footer',isset($data) ? $data : NULL);?>	


	</body>
	</html>