{% 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 type="text/javascript">
var formCruiseUrl = '{{ path('aviatur_form_cruiser_secure') }}';
</script>
{% endblock %}
{% block search_content %}
<div class="search__light wrapper">
<div class="search__light--box">
{#<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>
{% if homePromos is defined and homePromos != null and home_slider == '1'%}
{% include twig_exists('@AviaturTwig/'~ agency_folder.twigFlux() ~'/Edition/Default/content_homePromoSlider.html.twig') %}
{% endif %}
</div>
{% endblock %}
{% block promo_content %}
{% if homePromos is defined %}
{% if app.session.has('operatorId') != 1 %}
<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 %}
</div>
{% endif %}
{% 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('operatorId') != 1 and 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 %}