{% extends twig_exists('@AviaturTwig/'~ agency_folder.twigFlux() ~'/Search/General/search_index.html.twig') %}
{% set home_slider = '1' %}
{% block head_meta_label %}
{{parent()}}
<meta name="robots" content="index, follow">
{% endblock head_meta_label %}
{% block javascripts %}
<script>
jQuery(document).ready(function () {
utag.view({
"tealium_event": "SCREEN_VIEW",
"pagePath": location.pathname
});
});
</script>
<script type="text/javascript">
var formCruiseUrl = '{{ path('aviatur_form_cruiser_secure') }}';
</script>
{% endblock %}
{% block search_content %}
<div class="wrapper">
<div class="">
{#<iframe id="blockrandom" name="" src="http://plugandplay.istinfor.com/accessN.asp?AgId=000310952" width="850" height="800" scrolling="auto" align="top" frameborder="0" class="wrapper">
Sin Iframes
</iframe>#}
{% include twig_exists('@AviaturTwig/'~ agency_folder.twigFlux() ~'/Search/Cruise/cruiseSearch_engine.html.twig') %}
</div>
</div>
{% endblock %}
{% block promo_content %}
{% if homePromos is defined and homePromos!=null and home_slider=='1'%}
{% include twig_exists('@AviaturTwig/'~ agency_folder.twigFlux() ~'/Edition/Default/content_homePromoHtmlSlider.html.twig') with {'homePromos': homePromos, 'titlePromo':titlePromo, 'subtitlePromo':subtitlePromo, 'promoType': promoType}%}
{% endif %}
{% if homePromosMain is defined and homePromosMain!=null %}
{% include twig_exists('@AviaturTwig/'~ agency_folder.twigFlux() ~'/Edition/Default/content_homePromoHtmlSlider.html.twig') with {'homePromos': homePromosMain, 'titlePromo':titlePromoMain, 'subtitlePromo':subtitlePromoMain, 'promoType':promoTypeMain, 'background':'#eee'} %}
{% endif %}
{% if homePromosRecommendations is defined and homePromosRecommendations!=null %}
{% include twig_exists('@AviaturTwig/'~ agency_folder.twigFlux() ~'/Edition/Default/recommended-home.html.twig') with {'homePromos': homePromosRecommendations, 'titlePromo':titlePromoRecommendations, 'subtitlePromo': subtitlePromoRecommendations, 'promoType':promoTypeRecommendations} %}
{% endif %}
{% if homePromos is defined %}
<div class="wrapper">
{{ parent() }}
{# {% if home_slider=='1'%}
{% include twig_exists('@AviaturTwig/'~ agency_folder.twigFlux() ~'/Edition/Default/content_homePromoBanner.html.twig') %}
{% else %}
{% include twig_exists('@AviaturTwig/'~ agency_folder.twigFlux() ~'/Edition/Default/content_homePromo.html.twig') %}
{% endif %}#}
{% if homePromos is defined and home_slider!='1'%}
{% include twig_exists('@AviaturTwig/'~ agency_folder.twigFlux() ~'/Edition/Default/content_homePromo.html.twig') %}
{% endif %}
</div>
{% if app.user != "" and (is_granted('ROLE_AVIATUR_ADMIN_ADMIN_PROMO_PRODUCT_EDIT_' ~ app.session.get('agencyId')) or is_granted('ROLE_AVIATUR_ADMIN_ADMIN_PROMO_PRODUCT_CREATE_' ~ app.session.get('agencyId')) or is_granted('ROLE_AVIATUR_ADMIN_ADMIN_PROMO_PRODUCT_DELETE_' ~ app.session.get('agencyId')) or is_granted('ROLE_SUPER_ADMIN') ) %}
{% include twig_exists('@AviaturTwig/'~ agency_folder.twigFlux() ~'/Search/General/mainSearch_editModal.html.twig') %}
{% endif %}
{% endif %}
{% if app.session.has('whitemark') != 1%}
<div class="wrapper">
{{ parent() }}
{% include twig_exists('@AviaturTwig/'~ agency_folder.twigFlux() ~'/Search/Cruise/cruiseSearch_promo.html.twig') %}
</div>
{% endif %}
{% endblock %}