{% extends 'SiteBase.html.twig' %}
{% block dil %}{{ app.session.get('dil')['kisa'] }}{% endblock %} {# tr or en #}
{% block title %}{{ 'title'|ayarlar(app.session.get('dil')['id']) }}{% endblock %}
{% block keywords %}{{ 'keywords'|ayarlar(app.session.get('dil')['id']) }}{% endblock %}
{% block description %}{{ 'description'|ayarlar(app.session.get('dil')['id']) }}{% endblock %}
{% block body %}
{#
{% set hizmetKategori = 9|site_sayfaKategori(3) %}
{% set hizmetler = 2|site_sayfaIcerik %}
#}
{# Popup Ayarları #}
{{ 0|site_popupGetir|raw }}
{# Sayfa İstekleri #}
{% set sBoyutlar = 'slider'|ayarlar|split('X') %}
{% set sliders = ''|site_sliders %}
{% set villaSecenekleri = 1|site_villaKategori %}
{% set ilanlar = ''|site_ilanGetir %}
<section class="section-box box-banner-home7 background-body">
<div class="container"></div>
<div class="container-banner-home7">
<div class="box-swiper">
<div class="swiper-container swiper-group-1">
<div class="swiper-wrapper">
{% for slider in sliders %}
<div class="swiper-slide">
<div class="item-banner-slide" style="background-image: url({{ slider.resim|timthumb('uploads/',sBoyutlar[0],sBoyutlar[1],1,70) }})">
<div class="container"> <span class="btn btn-brand-secondary wow fadeInUp"> <img class="mr-10" src="/dist2/assets/imgs/page/homepage7/hotel.svg" alt="{{ 'siteAdi'|ayarlar }}">{{ 'siteAdi'|ayarlar }}</span>
<h1 class="mt-20 mb-20 color-white">{{ slider.baslik|default('') }}</h1>
<h5 class="color-white">{{ slider.aciklama|default('') }}</h5>
</div>
</div>
</div>
{% endfor %}
</div>
<div class="swiper-pagination swiper-pagination-group-1 swiper-pagination-style-2"></div>
</div>
</div>
</div>
<div class="container-search-advance">
<div class="container">
<div class="box-search-advance background-card wow fadeInUp">
<div class="box-bottom-search background-card row">
<div class="col-md-4 mb-4">
<label class="text-sm-bold neutral-500">Konum</label>
<div class="dropdown">
<button class="btn btn-secondary dropdown-toggle btn-dropdown-search location-search konumText" type="button" data-bs-toggle="dropdown" aria-expanded="false">Bölge seç</button>
<ul class="dropdown-menu">
{% for semt in ''|ilanBolgeBul %}
<li><a class="dropdown-item" href="#" onclick="$('#bolgeSec').val($(this).attr('value')); $('.konumText').html($(this).html());" value="{{ semt.id }}">{{ semt.adi }}, {{ semt.ilceId|bolgeTamamla }}</a></li>
{% endfor %}
</ul>
<select id="bolgeSec" class="form-control d-none" tabindex="-1" aria-hidden="true">
<option value=""></option>
{% for semt in ''|ilanBolgeBul %}
<option value="{{ semt.id }}">{{ semt.adi }}, {{ semt.ilceId|bolgeTamamla }}</option>
{% endfor %}
</select>
</div>
</div>
<div class="col-md-2 mb-4">
<label class="text-sm-bold neutral-500">Giriş Tarihi</label>
<div class="box-calendar-date">
<input class="search-input datepicker" type="text" placeholder="Giriş Tarihi" id="girisTarihi">
</div>
</div>
<div class="col-md-2 mb-4">
<label class="text-sm-bold neutral-500">Çıkış Tarihi</label>
<div class="box-calendar-date">
<input class="search-input datepicker" type="text" placeholder="Çıkış Tarihi" id="cikisTarihi">
</div>
</div>
<div class="col-md-2 mb-4">
<label class="text-sm-bold neutral-500">Yetişkin Sayısı</label>
<div class="dropdown">
<button class="btn btn-secondary dropdown-toggle btn-dropdown-search passenger-search yetiskinText" type="button" data-bs-toggle="dropdown" aria-expanded="false">Sayı seç</button>
<ul class="dropdown-menu">
{% for sayi in 1..14 %}
<li><a class="dropdown-item" href="#" onclick="$('#yetiskinSayisi').val($(this).attr('value')); $('.yetiskinText').html($(this).html());" value="{{ sayi }}">{{ sayi }}</a></li>
{% endfor %}
</ul>
<select id="yetiskinSayisi" class="form-control d-none yetiskinSayisi" tabindex="-1" aria-hidden="true">
<option value=""></option>
{% for sayi in 1..14 %}
<option value="{{ sayi }}">{{ sayi }}</option>
{% endfor %}
</select>
</div>
</div>
<div class="col-md-2 mb-4 bd-none d-flex justify-content-end">
<button class="btn btn-black-lg" onclick="hizliArama();">
<svg width="20" height="20" viewbox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M19 19L14.6569 14.6569M14.6569 14.6569C16.1046 13.2091 17 11.2091 17 9C17 4.58172 13.4183 1 9 1C4.58172 1 1 4.58172 1 9C1 13.4183 4.58172 17 9 17C11.2091 17 13.2091 16.1046 14.6569 14.6569Z" stroke="" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg> Ara
</button>
</div>
</div>
</div>
</div>
</div>
</section>
<section class="section-box box-top-rated-3 background-body">
<div class="container">
<div class="row align-items-end">
<div class="col-md-12 wow fadeInUp">
<h2 class="neutral-1000"> <svg width="27" height="39" viewbox="0 0 27 39" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M12.9721 38.9991C8.7171 38.9991 4.81518 36.9218 2.26676 33.3001C-2.75855 26.158 2.51539 14.3625 2.74208 13.8636C2.9258 13.4594 3.52612 13.5316 3.60747 13.9699C3.76126 14.8015 4.29256 16.7779 5.15293 17.7806C5.10151 14.7925 5.50964 5.77322 11.837 0.116751C12.0555 -0.0784021 12.5434 -0.0722321 12.6046 0.489233C12.7694 2.00841 13.5182 7.07279 16.2396 8.45395C16.5072 8.59014 19.041 11.7859 19.4825 14.7516C19.9265 14.1746 20.5412 12.9299 20.8221 10.3182C20.8639 9.92925 21.3458 9.7702 21.6118 10.0561C21.708 10.1596 31.1506 20.547 24.5663 32.0572C22.0801 36.4045 17.7458 38.9991 12.9718 38.9991H12.9721Z" fill="#FFA725"></path>
<path fill-rule="evenodd" clip-rule="evenodd" d="M13.6808 35.7816C16.2031 35.7816 18.5162 34.5504 20.0269 32.4035C23.0058 28.1695 19.8795 21.1774 19.7451 20.8817C19.6361 20.642 19.2803 20.6849 19.2321 20.9448C19.1409 21.4377 18.826 22.6093 18.316 23.2036C18.3464 21.4322 18.1046 16.0858 14.3538 12.7326C14.2242 12.6169 13.9351 12.6206 13.8988 12.9533C13.801 13.8539 13.3572 16.8559 11.7439 17.6747C11.5853 17.7554 10.0832 19.65 9.82136 21.408C9.5581 21.0659 9.19362 20.328 9.02726 18.7798C9.00235 18.5492 8.71671 18.4548 8.55926 18.6244C8.50213 18.6859 2.90484 24.8435 6.80791 31.6665C8.28184 34.2435 10.8511 35.7816 13.6812 35.7816H13.6808Z" fill="#FF871E"></path>
<path fill-rule="evenodd" clip-rule="evenodd" d="M9.85986 33.1274C9.45699 33.1274 9.24767 32.6357 9.53674 32.3471L16.8513 25.0323C17.2775 24.6061 17.9233 25.2537 17.498 25.6787L10.1832 32.9935C10.0939 33.0829 9.97709 33.1274 9.85986 33.1274Z" fill="white"></path>
<path fill-rule="evenodd" clip-rule="evenodd" d="M11.1965 28.6139C8.66976 28.6139 8.66816 24.77 11.196 24.77C13.7241 24.77 13.7229 28.6139 11.1965 28.6139ZM11.1965 25.6834C10.3041 25.6834 9.84959 26.7698 10.4835 27.4041C11.4056 28.3264 12.8596 26.93 11.9092 25.9789C11.7189 25.7881 11.4659 25.6834 11.1965 25.6834Z" fill="white"></path>
<path fill-rule="evenodd" clip-rule="evenodd" d="M15.839 33.2555C13.3121 33.2555 13.3109 29.4119 15.839 29.4119C18.3668 29.4119 18.3666 33.2555 15.839 33.2555ZM15.839 30.3252C14.9464 30.3252 14.4923 31.4116 15.1262 32.046C16.0481 32.9685 17.5021 31.5713 16.552 30.6207C16.3616 30.4299 16.1082 30.3252 15.839 30.3252Z" fill="white"></path>
</svg> Popüler Villalar</h2>
<p class="text-xl-medium neutral-500">Müşteriler tarafından değerlendirilen kalite. İdeal fiyata rezervasyon yapın!</p>
</div>
-
</div>
</div>
<div class="container-slider box-swiper-padding wow fadeInUp">
<div class="box-swiper mt-30">
<div class="swiper-container swiper-group-animate swiper-group-journey">
<div class="swiper-wrapper">
{% for ilan in ilanlar %}
{% set resimler = ilan.resimler|default('')|split(',') %}
{% set alt = ilan.kategoriId|villa_altKategoriGeriYaz %}
{% set link = ''|site_anaLink~alt~ilan.seo %}
<div class="swiper-slide">
<div class="card-journey-small background-card">
<div class="card-image"> <a class="wish" href="{{ link }}">
<i class="fa fa-search"></i>
</a>
<img data-src="{{ resimler[0]|timthumb('uploads/',406,326,1,100) }}" class="img-fluid mx-auto lazy" alt="{{ ilan.adi }}" />
</div>
<div class="card-info">
<div class="card-rating">
<div class="card-left"> </div>
<div class="card-right"> <span class="rating">5.00</span></div>
</div>
<div class="card-title text-center"> <a class="heading-6 neutral-1000" href="{{ link }}">{{ ilan.adi }} </a></div>
<div class="card-program">
<div class="card-location flex-column">
<p class="text-location text-md-medium neutral-500">{{ ilan.semt|semtDetay('adi') }}, {{ ilan.ilce|ilceDetay('adi') }}, {{ ilan.il|ilDetay('adi') }}</p>
<div class="d-flex justify-content-center">
<p class="text-md-medium neutral-500 px-2"><i class="fa fa-users me-2"></i>{{ ilan.kisi }} Kişilik</p>
<p class="text-md-medium neutral-500 px-2"><i class="fa fa-bed me-2"></i>{{ ilan.yatak }} Yatak</p>
<p class="text-md-medium neutral-500 px-2"><i class="fa fa-bath me-2"></i>{{ ilan.banyo }} Banyo</p>
</div>
</div>
<div class="endtime">
<div class="card-price">
<h6 class="heading-6 neutral-1000">{{ ilan.dilgrup|ilan_fiyatBul }}</h6>
<p class="text-md-medium neutral-500">/ gecelik</p>
</div>
<div class="card-button mt-4"> <a class="btn btn-gray" href="{{ link }}">Rezervasyon Yap</a></div>
</div>
</div>
</div>
</div>
</div>
{% endfor %}
</div>
</div>
</div>
</div>
</section>
{#
<div class="image-cover hero_banner" style="background:url({{ sliders[0].resim|timthumb('uploads/',sBoyutlar[0],sBoyutlar[1],1,70) }}) no-repeat;" data-overlay="4">
<div class="container">
<div class="row justify-content-end">
<div class="col-lg-5 col-md-5">
<div class="box_search_wrap light">
<div class="hero_search">
<h1>Hızlı Arama</h1>
</div>
<div class="search_hero_wrapping" data-select2-id="8">
<div class="row">
<div class="col-lg-12 col-md-12 col-sm-12">
<div class="form-group">
<div class="input-with-icon gray">
<select id="bolgeSec" class="form-control" tabindex="-1" aria-hidden="true">
<option value=""></option>
{% for semt in ''|ilanBolgeBul %}
<option value="{{ semt.id }}">{{ semt.adi }}, {{ semt.ilceId|bolgeTamamla }}</option>
{% endfor %}
</select>
<i class="ti-target"></i>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-lg-6 col-md-6 col-sm-6">
<div class="form-group">
<div class="input-with-icon gray">
<input type="date" class="form-control" placeholder="Giriş Tarihi" id="girisTarihi">
<i class="ti-calendar"></i>
</div>
</div>
</div>
<div class="col-lg-6 col-md-6 col-sm-6">
<div class="form-group">
<div class="input-with-icon gray">
<input type="date" class="form-control" placeholder="Çıkış Tarihi" id="cikisTarihi">
<i class="ti-calendar"></i>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-lg-12 col-md-12 col-sm-12">
<div class="form-group">
<input id="3gun" class="checkbox-custom" type="checkbox">
<label for="3gun" class="checkbox-custom-label">3 Gün önce ve sonraki villaları da göster</label>
</div>
</div>
</div>
<div class="row">
<div class="col-lg-6 col-md-6 col-sm-6">
<div class="form-group">
<div class="input-with-icon gray">
<select id="yetiskinSayisi" class="form-control yetiskinSayisi" tabindex="-1" aria-hidden="true">
<option value=""></option>
{% for sayi in 1..14 %}
<option value="{{ sayi }}">{{ sayi }}</option>
{% endfor %}
</select>
<i class="ti-user"></i>
</div>
</div>
</div>
<div class="col-lg-6 col-md-6 col-sm-6">
<div class="form-group">
<div class="input-with-icon gray">
<select id="cocukSayisi" class="form-control cocukSayisi" tabindex="-1" aria-hidden="true">
<option value=""></option>
{% for sayi in 1..14 %}
<option value="{{ sayi }}">{{ sayi }}</option>
{% endfor %}
</select>
<i class="ti-user"></i>
</div>
</div>
</div>
</div>
</div>
<div class="hero_search-action">
<a href="javascript:void(0);" onclick="hizliArama();" class="btn search-btn">Ara</a>
</div>
</div>
</div>
</div>
</div>
</div>
<section class="gray">
<div class="container">
<div class="row">
<div class="col-lg-12 col-md-12">
<div class="sec-heading center">
<h2>Villa <span class="theme-cl">Seçenekleri</span></h2>
</div>
</div>
</div>
<div class="row">
{% for vKategori in villaSecenekleri %}
{% set alt = vKategori.ustid|villa_altKategoriGeriYaz %}
{% set link = ''|site_anaLink~alt~vKategori.seourl %}
<!-- Single Agent -->
<div class="col-lg-3 col-md-3 col-sm-12">
<div class="grid_agents style-2">
<div class="grid_agents-wrap">
<div class="fr-grid-thumb">
<a href="{{ link }}">
<img data-src="{{ vKategori.resim|default('')|timthumb('uploads/',100,100,2,100) }}" class="img-fluid mx-auto lazy" alt="{{ vKategori.adi }}" />
</a>
</div>
<div class="fr-grid-deatil">
<h5 class="fr-can-name"><a href="{{ link }}">{{ vKategori.adi }}</a></h5>
</div>
</div>
</div>
</div>
{% endfor %}
</div>
</div>
</section>
<section>
<div class="container">
<div class="row">
{% for ilan in ilanlar %}
{% set resimler = ilan.resimler|default('')|split(',') %}
{% set alt = ilan.kategoriId|villa_altKategoriGeriYaz %}
{% set link = ''|site_anaLink~alt~ilan.seo %}
<!-- Single Property -->
<div class="col-lg-4 col-md-6 col-sm-12">
<div class="single_property_style property_style_2 modern">
<div class="listing_thumb_wrapper">
#}{#<div class="modern-pro-wrap">
<span class="property-type">%99 indirim</span>
</div>#}{#
<div class="property_gallery_slide-thumb">
<img data-src="{{ resimler[0]|timthumb('uploads/',348,238,1,100) }}" class="img-fluid mx-auto lazy" alt="{{ ilan.adi }}" />
</div>
#}{#<div class="property_price_compare">
<div class="property_price_reviess">
<span><i class="lni lni-phone mr-2"></i>+91 855 606 8702</span>
<div class="prt_rates"><i class="fa fa-star mr-2"></i>4.8 <span>(33 reviews)</span></div>
</div>
<div class="lpc-right">
<a href="#" data-toggle="tooltip" data-placement="top" title="Bookmark Property"><i class="ti-heart"></i></a>
</div>
</div>#}{#
</div>
<div class="property_caption_wrappers pb-0">
<div class="property_short_detail">
<h4 class="listing-name"><a href="{{ link }}">{{ ilan.adi }}</a></h4>
<span class="property-locations"><i class="ti-location-pin"></i> {{ ilan.semt|semtDetay('adi') }}, {{ ilan.ilce|ilceDetay('adi') }}, {{ ilan.il|ilDetay('adi') }}</span>
</div>
</div>
<div class="property_features_wrap">
<div class="list-fx-features">
<div class="listing-card-info-icon">
<span><i class="fa fa-users"></i> {{ ilan.kisi }} Kişilik</span>
</div>
<div class="listing-card-info-icon">
<span><i class="fa fa-bed"></i> {{ ilan.yatak }} Yatak</span>
</div>
<div class="listing-card-info-icon">
<span><i class="fa fa-bath"></i> {{ ilan.banyo }} Banyo</span>
</div>
</div>
</div>
<div class="modern_property_footer">
<div class="property-real-price theme-cl">{{ ilan.dilgrup|ilan_fiyatBul }}</div>
<div class="property-author">
<a href="{{link}}" class="btn agent-btn btn-warning">Detaylı İncele</a>
</div>
</div>
</div>
</div>
{% endfor %}
</div>
</div>
</section>#}
{% endblock %}
{% block javascripts %}
<script>
function hizliArama() {
var url = '{{ ''|site_anaLink~'hizli-arama' }}';
var xhr = new XMLHttpRequest();
var fd = new FormData();
xhr.open("POST", url, true);
xhr.onreadystatechange = function () {
if(xhr.readyState === 4 && xhr.status === 200) {
window.location='{{ ''|site_anaLink~'villa-kirala' }}';
}
};
fd.append('bolge',$('#bolgeSec').val());
fd.append('girisTarihi',$('#girisTarihi').val());
fd.append('cikisTarihi',$('#cikisTarihi').val());
fd.append('yetiskinSayisi',$('#yetiskinSayisi').val());
xhr.send(fd);
}
</script>
{% endblock %}