<!DOCTYPE html>
<html lang="{{ app.request.locale | cb_locale}}">
<head>
{% if page_title is defined %}
<title>{{page_title}}</title>
{% endif %}
{% if page_meta_description is defined %}
<meta name="description" content="{{ page_meta_description }}">
{% endif %}
{% if page_meta_keywords is defined %}
<meta name="keywords" content="{{ page_meta_keywords }}">
{% endif %}
<meta charset="utf-8">
{#<meta name="google-site-verification" content="Why1l-IhtSsEDJUTDleLQkIJRYVkizOewkhv2pWxNA0" />#}
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
{#<meta name="verification" content="e7f6cf9cdffac86043ebd6a05e8a8b67" /> #}{#zanox verification#}
{#<meta property="fb:admins" content="797350112" /> #}{#facebook insight#}
{#<!-- TradeDoubler site verification 2987522 -->#}
{# <meta name="verify-admitad" content="7f89fd1e57" /> #}{# Admitad.com #}
{% if app.request.locale == 'xx' or app.request.host == 'test-www.comparabus.com'%}
<meta name="robots" content="noindex, nofollow">
{% endif %}
{# favicon files #}
<link rel="apple-touch-icon" sizes="57x57" href="{{ asset('images/favicon_cb/apple-touch-icon-57x57.png') }}">
<link rel="apple-touch-icon" sizes="60x60" href="{{ asset('images/favicon_cb/apple-touch-icon-60x60.png') }}">
<link rel="apple-touch-icon" sizes="72x72" href="{{ asset('images/favicon_cb/apple-touch-icon-72x72.png') }}">
<link rel="apple-touch-icon" sizes="76x76" href="{{ asset('images/favicon_cb/apple-touch-icon-76x76.png') }}">
<link rel="apple-touch-icon" sizes="114x114" href="{{ asset('images/favicon_cb/apple-touch-icon-114x114.png') }}">
<link rel="apple-touch-icon" sizes="120x120" href="{{ asset('images/favicon_cb/apple-touch-icon-120x120.png') }}">
<link rel="apple-touch-icon" sizes="144x144" href="{{ asset('images/favicon_cb/apple-touch-icon-144x144.png') }}">
<link rel="apple-touch-icon" sizes="152x152" href="{{ asset('/images/favicon_cb/apple-touch-icon-152x152.png') }}">
<link rel="apple-touch-icon" sizes="180x180" href="{{ asset('/images/favicon_cb/apple-touch-icon-180x180.png') }}">
<link rel="icon" type="image/png" href="{{ asset('/images/favicon_cb/favicon-32x32.png') }}" sizes="32x32">
<link rel="icon" type="image/png" href="{{ asset('/images/favicon_cb/android-chrome-192x192.png')}}" sizes="192x192">
<link rel="icon" type="image/png" href="{{ asset('/images/favicon_cb/favicon-96x96.png')}}" sizes="96x96">
<link rel="icon" type="image/png" href="{{ asset('/images/favicon_cb/favicon-16x16.png')}}" sizes="16x16">
<link rel="manifest" href="{{ asset('/images/favicon_cb/manifest.json')}}">
<link rel="shortcut icon" href="{{ asset('/images/favicon_cb/favicon.ico')}}">
<meta name="msapplication-TileColor" content="#da532c">
<meta name="msapplication-TileImage" content="{{ asset('images/favicon_cb/mstile-144x144.png')}}">
<meta name="msapplication-config" content="{{ asset('images/favicon_cb/browserconfig.xml')}}">
<meta name="theme-color" content="#ffffff">
{% if canonical is defined %}
<link href="{{canonical}}" rel="canonical" />
{% endif %}
{% if alternates is defined %}
{% for alternate in alternates %}
<link rel="alternate" hreflang="{{alternate.hreflang}}" href="{{alternate.href}}" />
{% endfor %}
{% endif %}
{% block stylesheets %}
{% endblock %}
{% if noIndex is defined and noIndex %}
<meta name="robots" content="noindex">
{%endif %}
{% include 'Default/_engine_confjs.html.twig' %}
{%block page_headjs %}{% endblock%}
<link rel="stylesheet" type="text/css" media="screen" href="{{ asset('build/desktop.css') }}" />
<script src="{{ asset('build/desktop.js') }}"></script>
{% include 'Default/_seo_gatag.html.twig' %}
</head>
<body class="{{ page_class | default() }} {{app.request.get('_route')}}">
{% block page_header %}
<header>
<div class="title">
<a href="{{ path('homepageLocale') }}" class="logo-text">
<span class="icon-cblogo"></span>
<span class="text"><b>Compara</b>BUS</span>
</a>
</div>
</header>
{% endblock %}
{% block page_content %}{%endblock %}
{% block page_footer %}
<footer>
<div class="container">
<div class="col-sm-3">
<span class="title">© {{ "now" | date('Y') }} ComparaBUS</span>
<ul>
{# page bus#}
{% set buscompanies = 'homepage.footer.buscompanies.enabled' | cb_transNoFallback %}
{% if buscompanies %}
<li>
{% if buscompanies %}
<a href="{{ path('page_bus_company') }}">{{ 'homepage.footer.buscompanies.label' | trans }}</a>
{% endif %}
{% if app.request.locale == 'fr' %}
<br /><a href="{{ path('page_busfaq_home') }}">FAQ Bus</a>
{% endif %}
{% if app.request.locale == 'en' %}
<br /><a href="{{ path('page_busfaq_home') }}">Bus FAQ</a>
{% endif %}
</li>
{% endif %}
{# page train#}
{% set trainhome = 'homepage.footer.trainhome.enabled' | cb_transNoFallback %}
{% set traincompanies = 'homepage.footer.traincompanies.enabled' | cb_transNoFallback %}
{% if trainhome or traincompanies %}
<li>
{% if trainhome %}
<a href="{{ path('page_train_home') }}">{{ 'result.filter.type.train' | trans }}</a><br />
{% endif %}
{% if traincompanies %}
<a href="{{ path('page_train_company') }}">{{ 'homepage.footer.traincompanies.label' | trans }}</a>
{% endif %}
{% if app.request.locale == 'fr' %}
<br/><a href="{{ path('page_trainfaq_home') }}">FAQ Train</a>
{% endif %}
</li>
{% endif %}
{% if app.request.locale == 'fr' %}
<li>
<a href="{{ path('page_flight_home') }}">Avion</a>
<br/>
<a href="{{ path('page_flight_company') }}">Compagnies aériennes</a>
</li>
<li>
<a href="{{ path('page_carpooling_home') }}">Covoiturage</a>
{# <br />#}
{# <a href="{{ path('page_carpooling_company') }}">Sites de covoiturage</a>#} {#page not finished to be written#}
</li>
{% endif %}
{% if app.request.locale in ['fr','en']%}
<li><a href="{{ path('mapLocale', {'_locale': app.request.locale | slice(0,2)}) }}">{{'homepage.footer.mappagelink' | trans}}</a></li>
{% endif %}
{% if app.request.locale == 'fr'%}
<li><a href="{{ path('page_advert_new') }}">Revendre billet</a></li>
<li><a href="{{ path('page_quotation') }}">Location bus</a></li>
{% endif %}
</ul>
</div>
<div class="col-sm-3"><span class="title">{{ 'footer.about' | trans }}</span>
<ul>
{% if 'homepage.footer.blog.enabled' | cb_transNoFallback == 1 %}
<li><a href="{{ 'homepage.footer.blog.url' | trans }}">Blog</a></li>
{% endif %}
{# {% include 'Default/_footer_link_enabled.html.twig'#}
{# with {#}
{# 'path_name' : 'page_contact',#}
{# 'enabled_name' : 'homepage.footer.contact.enabled',#}
{# 'label' : 'contactpage.title' | trans#}
{# } %}#}
{# page_contact #}
{% set enabled = 'homepage.footer.contact.enabled' | cb_transNoFallback %}
{% if enabled == 1 %}
<li><a href="{{ path('page_contact') }}">{{ 'contactpage.title' | trans }}</a></li>
{% elseif enabled %}
<li><a href="{{ path('page_contact', {'_locale': enabled}) }}">{{ 'contactpage.title' | trans }}</a></li>
{% endif %}
<li><a href="{{ path('page_legal', {'_locale': 'fr'}) }}">{{'legal.title' | trans}}</a></li>
{# page press #}
{% set enabled = 'homepage.footer.press.enabled' | cb_transNoFallback %}
{% if enabled == 1 %}
<li><a href="{{ path('page_press') }}">{{ 'presspage.title' | trans }}</a></li>
{% elseif enabled %}
<li><a href="{{ path('page_press', {'_locale': enabled}) }}">{{ 'presspage.title' | trans }}</a></li>
{% endif %}
{# page widget #}
{% set enabled = 'homepage.footer.widget.enabled' | cb_transNoFallback %}
{% if enabled == 1 %}
<li><a href="{{ path('page_widget') }}">{{ 'homepage.footer.widget.label' | trans }}</a></li>
{% elseif enabled %}
<li><a href="{{ path('page_widget', {'_locale': enabled}) }}">{{ 'homepage.footer.widget.label' | trans }}</a></li>
{% endif %}
{# page whoweare #}
{% set enabled = 'homepage.footer.whoweare.enabled' | cb_transNoFallback %}
{% if enabled == 1 %}
<li><a href="{{ path('page_whoweare') }}">{{ 'homepage.footer.whoweare.label' | trans }}</a></li>
{% elseif enabled %}
<li><a href="{{ path('page_whoweare', {'_locale': enabled}) }}">{{ 'homepage.footer.whoweare.label' | trans }}</a></li>
{% endif %}
{# page partner #}
{% set enabled = 'homepage.footer.partner.enabled' | cb_transNoFallback %}
{% if enabled == 1 %}
<li><a href="{{ path('page_partner') }}">{{ 'homepage.footer.partner.label' | trans }}</a></li>
{% elseif enabled %}
<li><a href="{{ path('page_partner', {'_locale': enabled}) }}">{{ 'homepage.footer.partner.label' | trans }}</a></li>
{% endif %}
</ul>
</div>
<div class="col-sm-3">
<span class="title">{{ 'footer.social' | trans }}</span>
<ul>
<li><i class="icon-twitter"></i><a href="http://twitter.com/comparabusfr" target="_top"> Twitter</a></li>
<li><i class="icon-facebook"></i><a href="https://www.facebook.com/pages/ComparaBUS/1444065052480416"> Facebook</a></li>
</ul>
</div>
<div class="col-sm-3">
<span class="title">{{ 'footer.language' | trans }}</span>
<ul>
<li>
<a href="{{ path('homepageLocale', {'_locale': 'fr'}) }}">Français FR</a>
{#<a href="{{ path('homepageLocale', {'_locale': 'fr_CH'}) }}">CH</a>#}
<a href="{{ path('homepageLocale', {'_locale': 'fr_BE'}) }}">BE</a>
<a href="{{ path('homepageLocale', {'_locale': 'fr_MA'}) }}">MA</a>
</li>
<li>
<a href="{{ path('homepageLocale', {'_locale': 'en'}) }}">English</a>
<a href="{{ path('homepageLocale', {'_locale': 'en_IN'}) }}">IN</a>
<a href="{{ path('homepageLocale', {'_locale': 'en_US'}) }}">US</a>
<a href="{{ path('homepageLocale', {'_locale': 'en_GB'}) }}">GB</a>
</li>
<li><a href="{{ path('homepageLocale', {'_locale': 'es'}) }}">Español ES <a href="{{ path('homepageLocale', {'_locale': 'es_CO'}) }}">CO</a></a></li>
<li><a href="{{ path('homepageLocale', {'_locale': 'pt'}) }}">Português</a></li>
<li><a href="{{ path('homepageLocale', {'_locale': 'de'}) }}">Deutsch</a></li>
<li><a href="{{ path('homepageLocale', {'_locale': 'it'}) }}">Italiano</a></li>
<li><a href="{{ path('homepageLocale', {'_locale': 'cs'}) }}">Čeština</a></li>
<li><a href="{{ path('homepageLocale', {'_locale': 'ru'}) }}">Русский</a></li>
<li><a href="{{ path('homepageLocale', {'_locale': 'uk_UA'}) }}">Українська</a></li>
<li><a href="{{ path('homepageLocale', {'_locale': 'pl'}) }}">Polski</a></li>
<li><a href="{{ path('homepageLocale', {'_locale': 'tr'}) }}">Türkçe</a></li>
</ul>
</div>
</div>
</footer>
{% endblock %}
<!-- env=xx / dt={{ 'now' | date("Y-m-d G:i:s") }} -->
</body>
<div id="cookieInfo" data-apiurl="{{ path('api_cookieconsent_update') }}">
{{ 'legal.cookie.banner.text' | trans }} <br />
<a href="{{ path('page_legal', {'_locale': 'fr'}) }}#cookie"> {{ 'legal.cookie.banner.link' | trans }}</a>
<b>{{ 'legal.cookie.banner.accept' | trans}} ✕</b>
</div>
</html>