350 lines
20 KiB
PHP
350 lines
20 KiB
PHP
<?php
|
|
|
|
use Twig\Environment;
|
|
use Twig\Error\LoaderError;
|
|
use Twig\Error\RuntimeError;
|
|
use Twig\Extension\SandboxExtension;
|
|
use Twig\Markup;
|
|
use Twig\Sandbox\SecurityError;
|
|
use Twig\Sandbox\SecurityNotAllowedTagError;
|
|
use Twig\Sandbox\SecurityNotAllowedFilterError;
|
|
use Twig\Sandbox\SecurityNotAllowedFunctionError;
|
|
use Twig\Source;
|
|
use Twig\Template;
|
|
|
|
/* default/components/home/slider.html.twig */
|
|
class __TwigTemplate_9c2f51e7d0dc1e5a1aec48d121fcd6b34edb061895acc4cc9e4114f4055d53cf extends \Twig\Template
|
|
{
|
|
private $source;
|
|
private $macros = [];
|
|
|
|
public function __construct(Environment $env)
|
|
{
|
|
parent::__construct($env);
|
|
|
|
$this->source = $this->getSourceContext();
|
|
|
|
$this->parent = false;
|
|
|
|
$this->blocks = [
|
|
];
|
|
}
|
|
|
|
protected function doDisplay(array $context, array $blocks = [])
|
|
{
|
|
$macros = $this->macros;
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "default/components/home/slider.html.twig"));
|
|
|
|
// line 1
|
|
$this->env->getExtension('Symfony\Bridge\Twig\Extension\FormExtension')->renderer->setTheme((isset($context["search_form"]) || array_key_exists("search_form", $context) ? $context["search_form"] : (function () { throw new RuntimeError('Variable "search_form" does not exist.', 1, $this->source); })()), [0 => "default/form/theme.html.twig"]);
|
|
// line 2
|
|
echo "
|
|
<section class=\"section fullscreen background start-slider\">
|
|
<div class=\"absolute-section\">
|
|
<div class=\"container-fluid\">
|
|
<div class=\"row\">
|
|
<div class=\"col-md-12 col-xs-12\">
|
|
<div class=\"home-message text-center\">
|
|
<div class=\"home-info-box\">
|
|
<div id=\"eKomiSeal_default\" class=\"eKomi-header\" style=\"padding-top: 5px;padding-left: 2px;\">
|
|
<img class=\"lozad\" border=\"0\" src=\"";
|
|
// line 11
|
|
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/dummy.png"), "html", null, true);
|
|
echo "\" data-src=\"/bundles/app/images/logo-qualitaet-22.png\" alt=\"Top Kundenservice\" height=\"78\">
|
|
</div>
|
|
<ul class=\"c4\">
|
|
<li>Spezialist für Kulturreisen </li>
|
|
<li>Reiseexperte seit 1998</li>
|
|
<li>Beratung für individuelle Reisen</li>
|
|
</ul>
|
|
</div>
|
|
</div><!-- end homemessage -->
|
|
</div><!-- end col -->
|
|
</div><!-- end row -->
|
|
</div><!-- end container -->
|
|
</div>
|
|
<div id=\"myCarousel\" class=\"carousel slide\">
|
|
<!-- Indicators -->
|
|
|
|
<!-- Wrapper for Slides -->
|
|
<div class=\"carousel-inner\">
|
|
<div class=\"item active\">
|
|
<!-- Set the first background image using inline CSS below. .cropResize(1024).guess(70) -->
|
|
<div class=\"fill lozad\" style=\"background-image:url(images/placeholder-image.png)\" data-background-image=\"";
|
|
// line 31
|
|
echo $this->extensions['Gregwar\ImageBundle\Extensions\ImageTwig']->image("bundles/app/images/travel/slider_aegypten.jpg");
|
|
echo "\"></div>
|
|
<noscript>
|
|
<div class=\"fill\" style=\"background-image:url(";
|
|
// line 33
|
|
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $this->extensions['Gregwar\ImageBundle\Extensions\ImageTwig']->image("bundles/app/images/travel/slider_aegypten.jpg"), "cropResize", [0 => 1024], "method", false, false, false, 33), "guess", [0 => 70], "method", false, false, false, 33), "html", null, true);
|
|
echo ")\"></div>
|
|
</noscript>
|
|
</div>
|
|
<div class=\"item\">
|
|
|
|
|
|
<!-- Set the second background image using inline CSS below. .cropResize(1024).guess(70) -->
|
|
<div class=\"fill lozad\" style=\"background-image:url(images/placeholder-image.png)\" data-background-image=\" ";
|
|
// line 40
|
|
echo $this->extensions['Gregwar\ImageBundle\Extensions\ImageTwig']->image("bundles/app/images/travel/slider_felsendom.jpg");
|
|
echo "\"></div>
|
|
<noscript>
|
|
<div class=\"fill\" style=\"background-image:url(";
|
|
// line 42
|
|
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $this->extensions['Gregwar\ImageBundle\Extensions\ImageTwig']->image("bundles/app/images/travel/slider_felsendom.jpg"), "cropResize", [0 => 1024], "method", false, false, false, 42), "guess", [0 => 70], "method", false, false, false, 42), "html", null, true);
|
|
echo ")\"></div>
|
|
</noscript>
|
|
</div>
|
|
<div class=\"item\">
|
|
<!-- Set the third background image using inline CSS below. .cropResize(1024).guess(70) -->
|
|
<div class=\"fill lozad\" style=\"background-image:url(images/placeholder-image.png)\" data-background-image=\"";
|
|
// line 47
|
|
echo $this->extensions['Gregwar\ImageBundle\Extensions\ImageTwig']->image("bundles/app/images/travel/slider_petra.jpg");
|
|
echo "\"></div>
|
|
<noscript>
|
|
<div class=\"fill\" style=\"background-image:url(";
|
|
// line 49
|
|
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $this->extensions['Gregwar\ImageBundle\Extensions\ImageTwig']->image("bundles/app/images/travel/slider_petra.jpg"), "cropResize", [0 => 1024], "method", false, false, false, 49), "guess", [0 => 70], "method", false, false, false, 49), "html", null, true);
|
|
echo ")\"></div>
|
|
</noscript>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section><!-- end section -->
|
|
|
|
|
|
|
|
<section class=\"nopadding\">
|
|
<div class=\"container-full absolute\">
|
|
<div class=\"container-fluid container-form\">
|
|
<div class=\"home-form\">
|
|
<!-- Nav tabs
|
|
Hier bitte die Tabs über Parameter Steuer, wenn JS aus.
|
|
Paramter an URL hängen und dann den jeweiligen Tab auf active setzen.
|
|
-->
|
|
<div class=\"tab-content\">
|
|
<div role=\"tabpanel\" class=\"tab-pane active\" id=\"tab_01\">
|
|
<form class=\"bookform form-inline row st-search-form\" style=\"margin-right: -5px; margin-left: -5px;\" action=\"/suche\" method=\"get\">
|
|
|
|
<div class=\"form-group col-lg-2 col-md-2 col-sm-3 col-xs-6\" style=\"padding-right: 5px;padding-left: 5px;\">
|
|
";
|
|
// line 71
|
|
echo $this->extensions['AppBundle\Twig\AppExtension']->formFieldPho(twig_get_attribute($this->env, $this->source, (isset($context["search_form"]) || array_key_exists("search_form", $context) ? $context["search_form"] : (function () { throw new RuntimeError('Variable "search_form" does not exist.', 71, $this->source); })()), "b", [], "any", false, false, false, 71), "Anreise am");
|
|
echo "
|
|
|
|
</div>
|
|
<div class=\"form-group col-lg-2 col-md-2 col-sm-3 col-xs-6\" style=\"padding-right: 5px;padding-left: 5px;\">
|
|
";
|
|
// line 75
|
|
echo $this->extensions['AppBundle\Twig\AppExtension']->formFieldPho(twig_get_attribute($this->env, $this->source, (isset($context["search_form"]) || array_key_exists("search_form", $context) ? $context["search_form"] : (function () { throw new RuntimeError('Variable "search_form" does not exist.', 75, $this->source); })()), "e", [], "any", false, false, false, 75), "Abreise am");
|
|
echo "
|
|
</div>
|
|
|
|
<div class=\"form-group col-lg-2 col-md-3 col-sm-3 col-xs-6\" style=\"padding-right: 5px;padding-left: 5px;\">
|
|
";
|
|
// line 79
|
|
echo $this->extensions['AppBundle\Twig\AppExtension']->formFieldPho(twig_get_attribute($this->env, $this->source, (isset($context["search_form"]) || array_key_exists("search_form", $context) ? $context["search_form"] : (function () { throw new RuntimeError('Variable "search_form" does not exist.', 79, $this->source); })()), "c", [], "any", false, false, false, 79));
|
|
echo "
|
|
</div>
|
|
|
|
<div class=\"form-group col-lg-2 col-md-3 col-sm-3 col-xs-6\" style=\"padding-right: 5px;padding-left: 5px;\">
|
|
<label class=\"sr-only\" for=\"departure\">Abfahrtsort</label>
|
|
<div class=\"dropdown form-bottom\">
|
|
<select id=\"departure\" class=\"selectpicker\" data-style=\"btn-white\" data-dropup-auto=\"false\">
|
|
<option>Abfahrtsort beliebig</option>
|
|
<option>Basel</option>
|
|
<option>Berlin</option>
|
|
<option>Berlin Schönefeld</option>
|
|
<option>Berlin Tegel</option>
|
|
<option>Bonn</option>
|
|
<option>Bremen</option>
|
|
<option>Dresden</option>
|
|
<option>Düsseldorf</option>
|
|
<option>Eigenanreise</option>
|
|
<option>Erfurt</option>
|
|
<option>Frankfurt</option>
|
|
<option>Friedrichshafen</option>
|
|
<option>Genf</option>
|
|
<option>Graz</option>
|
|
<option>Hamburg</option>
|
|
<option>Hannover</option>
|
|
<option>Köln</option>
|
|
<option>Leipzig</option>
|
|
<option>Linz</option>
|
|
<option>München</option>
|
|
<option>Nürnberg</option>
|
|
<option>Saarbrücken</option>
|
|
<option>Salzburg</option>
|
|
<option>Stuttgart</option>
|
|
<option>Wien</option>
|
|
<option>Zürich</option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
|
|
<div class=\"form-group col-lg-4 col-md-2 col-sm-12 col-xs-12\" style=\"padding-right: 5px;padding-left: 5px;\">
|
|
<button type=\"submit\" class=\"btn btn-primary btn-block text-center\"><i class=\"fa fa-search\" style=\"font-size: 1.1em\"></i> <span class=\"hidden-md\">Kulturreisen</span> suchen</button>
|
|
</div>
|
|
</form>
|
|
</div><!-- end tab-pane -->
|
|
|
|
|
|
</div><!-- end tab-content -->
|
|
</div><!-- end homeform -->
|
|
</div>
|
|
</div><!-- end container -->
|
|
</section><!-- end section -->";
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
}
|
|
|
|
public function getTemplateName()
|
|
{
|
|
return "default/components/home/slider.html.twig";
|
|
}
|
|
|
|
public function isTraitable()
|
|
{
|
|
return false;
|
|
}
|
|
|
|
public function getDebugInfo()
|
|
{
|
|
return array ( 148 => 79, 141 => 75, 134 => 71, 109 => 49, 104 => 47, 96 => 42, 91 => 40, 81 => 33, 76 => 31, 53 => 11, 42 => 2, 40 => 1,);
|
|
}
|
|
|
|
public function getSourceContext()
|
|
{
|
|
return new Source("{% form_theme search_form 'default/form/theme.html.twig' %}
|
|
|
|
<section class=\"section fullscreen background start-slider\">
|
|
<div class=\"absolute-section\">
|
|
<div class=\"container-fluid\">
|
|
<div class=\"row\">
|
|
<div class=\"col-md-12 col-xs-12\">
|
|
<div class=\"home-message text-center\">
|
|
<div class=\"home-info-box\">
|
|
<div id=\"eKomiSeal_default\" class=\"eKomi-header\" style=\"padding-top: 5px;padding-left: 2px;\">
|
|
<img class=\"lozad\" border=\"0\" src=\"{{ asset('images/dummy.png') }}\" data-src=\"/bundles/app/images/logo-qualitaet-22.png\" alt=\"Top Kundenservice\" height=\"78\">
|
|
</div>
|
|
<ul class=\"c4\">
|
|
<li>Spezialist für Kulturreisen </li>
|
|
<li>Reiseexperte seit 1998</li>
|
|
<li>Beratung für individuelle Reisen</li>
|
|
</ul>
|
|
</div>
|
|
</div><!-- end homemessage -->
|
|
</div><!-- end col -->
|
|
</div><!-- end row -->
|
|
</div><!-- end container -->
|
|
</div>
|
|
<div id=\"myCarousel\" class=\"carousel slide\">
|
|
<!-- Indicators -->
|
|
|
|
<!-- Wrapper for Slides -->
|
|
<div class=\"carousel-inner\">
|
|
<div class=\"item active\">
|
|
<!-- Set the first background image using inline CSS below. .cropResize(1024).guess(70) -->
|
|
<div class=\"fill lozad\" style=\"background-image:url(images/placeholder-image.png)\" data-background-image=\"{{ image('bundles/app/images/travel/slider_aegypten.jpg') }}\"></div>
|
|
<noscript>
|
|
<div class=\"fill\" style=\"background-image:url({{ image('bundles/app/images/travel/slider_aegypten.jpg').cropResize(1024).guess(70) }})\"></div>
|
|
</noscript>
|
|
</div>
|
|
<div class=\"item\">
|
|
|
|
|
|
<!-- Set the second background image using inline CSS below. .cropResize(1024).guess(70) -->
|
|
<div class=\"fill lozad\" style=\"background-image:url(images/placeholder-image.png)\" data-background-image=\" {{ image('bundles/app/images/travel/slider_felsendom.jpg') }}\"></div>
|
|
<noscript>
|
|
<div class=\"fill\" style=\"background-image:url({{ image('bundles/app/images/travel/slider_felsendom.jpg').cropResize(1024).guess(70) }})\"></div>
|
|
</noscript>
|
|
</div>
|
|
<div class=\"item\">
|
|
<!-- Set the third background image using inline CSS below. .cropResize(1024).guess(70) -->
|
|
<div class=\"fill lozad\" style=\"background-image:url(images/placeholder-image.png)\" data-background-image=\"{{ image('bundles/app/images/travel/slider_petra.jpg') }}\"></div>
|
|
<noscript>
|
|
<div class=\"fill\" style=\"background-image:url({{ image('bundles/app/images/travel/slider_petra.jpg').cropResize(1024).guess(70) }})\"></div>
|
|
</noscript>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section><!-- end section -->
|
|
|
|
|
|
|
|
<section class=\"nopadding\">
|
|
<div class=\"container-full absolute\">
|
|
<div class=\"container-fluid container-form\">
|
|
<div class=\"home-form\">
|
|
<!-- Nav tabs
|
|
Hier bitte die Tabs über Parameter Steuer, wenn JS aus.
|
|
Paramter an URL hängen und dann den jeweiligen Tab auf active setzen.
|
|
-->
|
|
<div class=\"tab-content\">
|
|
<div role=\"tabpanel\" class=\"tab-pane active\" id=\"tab_01\">
|
|
<form class=\"bookform form-inline row st-search-form\" style=\"margin-right: -5px; margin-left: -5px;\" action=\"/suche\" method=\"get\">
|
|
|
|
<div class=\"form-group col-lg-2 col-md-2 col-sm-3 col-xs-6\" style=\"padding-right: 5px;padding-left: 5px;\">
|
|
{{ form_field_pho(search_form.b, 'Anreise am') }}
|
|
|
|
</div>
|
|
<div class=\"form-group col-lg-2 col-md-2 col-sm-3 col-xs-6\" style=\"padding-right: 5px;padding-left: 5px;\">
|
|
{{ form_field_pho(search_form.e, 'Abreise am') }}
|
|
</div>
|
|
|
|
<div class=\"form-group col-lg-2 col-md-3 col-sm-3 col-xs-6\" style=\"padding-right: 5px;padding-left: 5px;\">
|
|
{{ form_field_pho(search_form.c) }}
|
|
</div>
|
|
|
|
<div class=\"form-group col-lg-2 col-md-3 col-sm-3 col-xs-6\" style=\"padding-right: 5px;padding-left: 5px;\">
|
|
<label class=\"sr-only\" for=\"departure\">Abfahrtsort</label>
|
|
<div class=\"dropdown form-bottom\">
|
|
<select id=\"departure\" class=\"selectpicker\" data-style=\"btn-white\" data-dropup-auto=\"false\">
|
|
<option>Abfahrtsort beliebig</option>
|
|
<option>Basel</option>
|
|
<option>Berlin</option>
|
|
<option>Berlin Schönefeld</option>
|
|
<option>Berlin Tegel</option>
|
|
<option>Bonn</option>
|
|
<option>Bremen</option>
|
|
<option>Dresden</option>
|
|
<option>Düsseldorf</option>
|
|
<option>Eigenanreise</option>
|
|
<option>Erfurt</option>
|
|
<option>Frankfurt</option>
|
|
<option>Friedrichshafen</option>
|
|
<option>Genf</option>
|
|
<option>Graz</option>
|
|
<option>Hamburg</option>
|
|
<option>Hannover</option>
|
|
<option>Köln</option>
|
|
<option>Leipzig</option>
|
|
<option>Linz</option>
|
|
<option>München</option>
|
|
<option>Nürnberg</option>
|
|
<option>Saarbrücken</option>
|
|
<option>Salzburg</option>
|
|
<option>Stuttgart</option>
|
|
<option>Wien</option>
|
|
<option>Zürich</option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
|
|
<div class=\"form-group col-lg-4 col-md-2 col-sm-12 col-xs-12\" style=\"padding-right: 5px;padding-left: 5px;\">
|
|
<button type=\"submit\" class=\"btn btn-primary btn-block text-center\"><i class=\"fa fa-search\" style=\"font-size: 1.1em\"></i> <span class=\"hidden-md\">Kulturreisen</span> suchen</button>
|
|
</div>
|
|
</form>
|
|
</div><!-- end tab-pane -->
|
|
|
|
|
|
</div><!-- end tab-content -->
|
|
</div><!-- end homeform -->
|
|
</div>
|
|
</div><!-- end container -->
|
|
</section><!-- end section -->", "default/components/home/slider.html.twig", "/Users/kadmin/Websites/sterntours-3/app/Resources/views/default/components/home/slider.html.twig");
|
|
}
|
|
}
|