<?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>



<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>Fiyat Listesi</span>
</h1>
</div>
</div>
<div class="sm-spacer30">
</div>

<?php 
foreach ($fiyat_listesi as $liste) {?>
<div class="panel panel-danger" style="border: 1px solid  #e31d1a ">
<div class="panel-heading" style="background-color: #e31d1a;color: #fff;font-weight: bold"><?=date("d-m-Y",strtotime($liste["giris_tarihi"]))?> girişli <?=$liste["geceleme"]?> Gece Konaklama</div>

<div class="panel-body">
<table class="table table-bordered">
<thead>
<tr>
<th>Paylaşımlı Oda</th>
<th>Kişi Başı</th>
<th>İlave Kişi</th>
<th>Tek Kişi</th>
<th>1. Çocuk</th>
<th>2. Çocuk</th>
</tr>
</thead>
<tbody>
<tr>	
<td><?=$liste["paylasimli_oda"]?> <?=$liste["kur"]?></td>
<td><?=$liste["kisi_basi"]?> <?=$liste["kur"]?></td>
<td><?=$liste["ek_yatak"]?> <?=$liste["kur"]?></td>
<td><?=$liste["tek_kisi"]?> <?=$liste["kur"]?></td>
<td><dl>
                                                        <?php foreach ($liste["birinci_cocuk"] as $cocuk_indirimi) {?>
                                                            <dd><?=$cocuk_indirimi["yas1"]?> - <?=$cocuk_indirimi["yas2"]?> Yaş <?php if($cocuk_indirimi["ucret"]==0){?>Ücretsiz<?php }else{?><?=$cocuk_indirimi["ucret"]." ".$liste["kur"]?><?php }?>.</dd>
                                                        <?php }?>
                                                        </dl></td>
<td><dl>
                                                        <?php foreach ($liste["ikinci_cocuk"] as $cocuk_indirimi) {?>
                                                            <dd><?=$cocuk_indirimi["yas1"]?> - <?=$cocuk_indirimi["yas2"]?> Yaş <?php if($cocuk_indirimi["ucret"]==0){?>Ücretsiz<?php }else{?><?=$cocuk_indirimi["ucret"]." ".$liste["kur"]?><?php }?>.</dd>
                                                        <?php }?>
                                                        </dl></td>
</tr>
</tbody>
</table>	
</div>

</div>
<?php }?>


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

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


	</body>
	</html>