<?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;
/* nav.html.twig */
class __TwigTemplate_07f19094614135fdffabab6d158b1f1d6e5412632e64adb5b85b1110361f181f extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'body' => [$this, 'block_body'],
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "nav.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "nav.html.twig"));
// line 1
echo "
";
// line 2
$context["placeid2"] = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 2, $this->source); })()), "session", [], "any", false, false, false, 2), "get", [0 => "place"], "method", false, false, false, 2);
// line 3
echo "\t\t
";
// line 5
$this->displayBlock('body', $context, $blocks);
// line 276
echo "
";
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 5
public function block_body($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
// line 6
echo "
\t
";
// line 10
$context["cartitems"] = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 10, $this->source); })()), "session", [], "any", false, false, false, 10), "get", [0 => "cartitems"], "method", false, false, false, 10);
// line 11
if (( !array_key_exists("cartitems", $context) || (0 === twig_compare((isset($context["cartitems"]) || array_key_exists("cartitems", $context) ? $context["cartitems"] : (function () { throw new RuntimeError('Variable "cartitems" does not exist.', 11, $this->source); })()), "")))) {
// line 12
echo " ";
$context["cartitems"] = 0;
}
// line 14
$context["cartitems"] = (("(" . (isset($context["cartitems"]) || array_key_exists("cartitems", $context) ? $context["cartitems"] : (function () { throw new RuntimeError('Variable "cartitems" does not exist.', 14, $this->source); })())) . ")");
// line 15
echo "
";
// line 17
if (twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 17, $this->source); })()), "user", [], "any", false, false, false, 17)) {
// line 18
echo "
<div class=\"navbar navbar-expand-lg bg-dark navbar-dark\">
<div class=\"container-fluid\">
";
// line 22
$context["placeid2"] = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 22, $this->source); })()), "session", [], "any", false, false, false, 22), "get", [0 => "place"], "method", false, false, false, 22);
// line 23
echo " ";
if ((array_key_exists("placeid2", $context) && (0 !== twig_compare((isset($context["placeid2"]) || array_key_exists("placeid2", $context) ? $context["placeid2"] : (function () { throw new RuntimeError('Variable "placeid2" does not exist.', 23, $this->source); })()), "")))) {
// line 24
echo " <a href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("homepage2", ["placeid" => (isset($context["placeid2"]) || array_key_exists("placeid2", $context) ? $context["placeid2"] : (function () { throw new RuntimeError('Variable "placeid2" does not exist.', 24, $this->source); })())]), "html", null, true);
echo "\">
";
// line 25
if ((0 === twig_compare((isset($context["company"]) || array_key_exists("company", $context) ? $context["company"] : (function () { throw new RuntimeError('Variable "company" does not exist.', 25, $this->source); })()), "KVO"))) {
// line 26
echo " <!--
<h2>Wellness und Spa</h2>
-->
<img src=\"";
// line 29
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("./images/kvo_logo3.png"), "html", null, true);
echo "\" width=\"80px\" height=\"80px\" style=\"margin-top: -20px\" />
";
} else {
// line 31
echo "
";
// line 32
if ((0 === twig_compare((isset($context["placeid2"]) || array_key_exists("placeid2", $context) ? $context["placeid2"] : (function () { throw new RuntimeError('Variable "placeid2" does not exist.', 32, $this->source); })()), "2"))) {
// line 33
echo " <h2 class=\"navItem\">Kursprogramm Friedrichsbad</h2>
";
} elseif ((0 === twig_compare( // line 34
(isset($context["placeid2"]) || array_key_exists("placeid2", $context) ? $context["placeid2"] : (function () { throw new RuntimeError('Variable "placeid2" does not exist.', 34, $this->source); })()), "3"))) {
// line 35
echo " <h2 class=\"navItem\">Kursprogramm Nienhausen</h2>
";
} elseif ((0 === twig_compare( // line 36
(isset($context["placeid2"]) || array_key_exists("placeid2", $context) ? $context["placeid2"] : (function () { throw new RuntimeError('Variable "placeid2" does not exist.', 36, $this->source); })()), "4"))) {
// line 37
echo " <h2 class=\"navItem\">Kursprogramm Nord-Ost-Bad</h2>
";
} elseif ((0 === twig_compare( // line 38
(isset($context["placeid2"]) || array_key_exists("placeid2", $context) ? $context["placeid2"] : (function () { throw new RuntimeError('Variable "placeid2" does not exist.', 38, $this->source); })()), "5"))) {
// line 39
echo " <h2 class=\"navItem\">Kursprogramm Jugendhalle</h2>
";
} elseif ((0 === twig_compare( // line 40
(isset($context["placeid2"]) || array_key_exists("placeid2", $context) ? $context["placeid2"] : (function () { throw new RuntimeError('Variable "placeid2" does not exist.', 40, $this->source); })()), "6"))) {
// line 41
echo " <h2 class=\"navItem\">Kursprogramm Yogazentrum</h2>
";
} else {
// line 43
echo " <h2 class=\"navItem\">Kursprogramm</h2>
";
}
// line 46
echo "
";
}
// line 49
echo " <span></span></a>
";
} else {
// line 51
echo " <a href=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("homepage");
echo "\">
";
// line 52
if ((0 === twig_compare((isset($context["company"]) || array_key_exists("company", $context) ? $context["company"] : (function () { throw new RuntimeError('Variable "company" does not exist.', 52, $this->source); })()), "KVO"))) {
// line 53
echo " <!--
<h2>Wellness und Spa</h2>
-->
<img src=\"";
// line 56
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("./images/kvo_logo3.png"), "html", null, true);
echo "\" width=\"80px\" height=\"80px\" style=\"margin-top: -20px\" />
";
} else {
// line 58
echo "
";
// line 59
if ((0 === twig_compare((isset($context["placeid2"]) || array_key_exists("placeid2", $context) ? $context["placeid2"] : (function () { throw new RuntimeError('Variable "placeid2" does not exist.', 59, $this->source); })()), "2"))) {
// line 60
echo " <h2 class=\"navItem\">Kursprogramm Friedrichsbad</h2>
";
} elseif ((0 === twig_compare( // line 61
(isset($context["placeid2"]) || array_key_exists("placeid2", $context) ? $context["placeid2"] : (function () { throw new RuntimeError('Variable "placeid2" does not exist.', 61, $this->source); })()), "3"))) {
// line 62
echo " <h2 class=\"navItem\">Kursprogramm Nienhausen</h2>
";
} elseif ((0 === twig_compare( // line 63
(isset($context["placeid2"]) || array_key_exists("placeid2", $context) ? $context["placeid2"] : (function () { throw new RuntimeError('Variable "placeid2" does not exist.', 63, $this->source); })()), "4"))) {
// line 64
echo " <h2 class=\"navItem\">Kursprogramm Nord-Ost-Bad</h2>
";
} elseif ((0 === twig_compare( // line 65
(isset($context["placeid2"]) || array_key_exists("placeid2", $context) ? $context["placeid2"] : (function () { throw new RuntimeError('Variable "placeid2" does not exist.', 65, $this->source); })()), "5"))) {
// line 66
echo " <h2 class=\"navItem\">Kursprogramm Jugendhalle</h2>
";
} elseif ((0 === twig_compare( // line 67
(isset($context["placeid2"]) || array_key_exists("placeid2", $context) ? $context["placeid2"] : (function () { throw new RuntimeError('Variable "placeid2" does not exist.', 67, $this->source); })()), "6"))) {
// line 68
echo " <h2 class=\"navItem\">Kursprogramm Yogazentrum</h2>
";
} else {
// line 70
echo " <h2 class=\"navItem\">Kursprogramm</h2>
";
}
// line 73
echo "
";
}
// line 76
echo "
</a>
";
}
// line 79
echo "
<button type=\"button\" class=\"navbar-toggler\" data-toggle=\"collapse\" data-target=\"#navbarCollapse\">
<span class=\"navbar-toggler-icon\"></span>
</button>
<div class=\"collapse navbar-collapse justify-content-between\" id=\"navbarCollapse\" >
<div class=\"navbar-nav ml-auto\">
";
// line 86
if ((array_key_exists("placeid2", $context) && (0 !== twig_compare((isset($context["placeid2"]) || array_key_exists("placeid2", $context) ? $context["placeid2"] : (function () { throw new RuntimeError('Variable "placeid2" does not exist.', 86, $this->source); })()), "")))) {
// line 87
echo "\t\t\t<a href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("homepage2", ["placeid" => (isset($context["placeid2"]) || array_key_exists("placeid2", $context) ? $context["placeid2"] : (function () { throw new RuntimeError('Variable "placeid2" does not exist.', 87, $this->source); })())]), "html", null, true);
echo "\" class=\"navItem\" >
<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"";
// line 88
echo twig_escape_filter($this->env, (isset($context["defaultSVGWidth"]) || array_key_exists("defaultSVGWidth", $context) ? $context["defaultSVGWidth"] : (function () { throw new RuntimeError('Variable "defaultSVGWidth" does not exist.', 88, $this->source); })()), "html", null, true);
echo "\" height=\"";
echo twig_escape_filter($this->env, (isset($context["defaultSVGHeight"]) || array_key_exists("defaultSVGHeight", $context) ? $context["defaultSVGHeight"] : (function () { throw new RuntimeError('Variable "defaultSVGHeight" does not exist.', 88, $this->source); })()), "html", null, true);
echo "\" fill=\"currentColor\" class=\"navItem bi bi-house\" viewBox=\"0 0 16 16\">
<path fill-rule=\"evenodd\" d=\"M2 13.5V7h1v6.5a.5.5 0 0 0 .5.5h9a.5.5 0 0 0 .5-.5V7h1v6.5a1.5 1.5 0 0 1-1.5 1.5h-9A1.5 1.5 0 0 1 2 13.5zm11-11V6l-2-2V2.5a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5z\"/>
<path fill-rule=\"evenodd\" d=\"M7.293 1.5a1 1 0 0 1 1.414 0l6.647 6.646a.5.5 0 0 1-.708.708L8 2.207 1.354 8.854a.5.5 0 1 1-.708-.708L7.293 1.5z\"/>
</svg> Home</a>
\t\t";
} else {
// line 93
echo "\t\t\t<a href=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("homepage");
echo "\" class=\"navItem\" >
<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"";
// line 94
echo twig_escape_filter($this->env, (isset($context["defaultSVGWidth"]) || array_key_exists("defaultSVGWidth", $context) ? $context["defaultSVGWidth"] : (function () { throw new RuntimeError('Variable "defaultSVGWidth" does not exist.', 94, $this->source); })()), "html", null, true);
echo "\" height=\"";
echo twig_escape_filter($this->env, (isset($context["defaultSVGHeight"]) || array_key_exists("defaultSVGHeight", $context) ? $context["defaultSVGHeight"] : (function () { throw new RuntimeError('Variable "defaultSVGHeight" does not exist.', 94, $this->source); })()), "html", null, true);
echo "\" fill=\"currentColor\" class=\"navItem bi bi-house\" viewBox=\"0 0 16 16\">
<path fill-rule=\"evenodd\" d=\"M2 13.5V7h1v6.5a.5.5 0 0 0 .5.5h9a.5.5 0 0 0 .5-.5V7h1v6.5a1.5 1.5 0 0 1-1.5 1.5h-9A1.5 1.5 0 0 1 2 13.5zm11-11V6l-2-2V2.5a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5z\"/>
<path fill-rule=\"evenodd\" d=\"M7.293 1.5a1 1 0 0 1 1.414 0l6.647 6.646a.5.5 0 0 1-.708.708L8 2.207 1.354 8.854a.5.5 0 1 1-.708-.708L7.293 1.5z\"/>
</svg> Home</a>\t
\t\t";
}
// line 99
echo " ";
if ((0 === twig_compare((isset($context["company"]) || array_key_exists("company", $context) ? $context["company"] : (function () { throw new RuntimeError('Variable "company" does not exist.', 99, $this->source); })()), "KVO"))) {
// line 100
echo "
<a href=\"";
// line 101
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("zusatzinfo");
echo "\" class=\"navItem\" ><svg xmlns=\"http://www.w3.org/2000/svg\" width=\"";
echo twig_escape_filter($this->env, (isset($context["defaultSVGWidth"]) || array_key_exists("defaultSVGWidth", $context) ? $context["defaultSVGWidth"] : (function () { throw new RuntimeError('Variable "defaultSVGWidth" does not exist.', 101, $this->source); })()), "html", null, true);
echo "\" height=\"";
echo twig_escape_filter($this->env, (isset($context["defaultSVGHeight"]) || array_key_exists("defaultSVGHeight", $context) ? $context["defaultSVGHeight"] : (function () { throw new RuntimeError('Variable "defaultSVGHeight" does not exist.', 101, $this->source); })()), "html", null, true);
echo "\" fill=\"currentColor\" class=\"navItem bi bi-info-circle\" viewBox=\"0 0 16 16\">
<path d=\"M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z\"/>
<path d=\"m8.93 6.588-2.29.287-.082.38.45.083c.294.07.352.176.288.469l-.738 3.468c-.194.897.105 1.319.808 1.319.545 0 1.178-.252 1.465-.598l.088-.416c-.2.176-.492.246-.686.246-.275 0-.375-.193-.304-.533L8.93 6.588zM9 4.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0z\"/>
</svg> Info</a>
";
}
// line 106
echo "
";
// line 107
if ((0 <= twig_compare(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 107, $this->source); })()), "user", [], "any", false, false, false, 107), "urole", [], "any", false, false, false, 107), 2))) {
// line 108
echo " <a href=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("backendDashboard");
echo "\" class=\"navItem\" >
<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"";
// line 109
echo twig_escape_filter($this->env, (isset($context["defaultSVGWidth"]) || array_key_exists("defaultSVGWidth", $context) ? $context["defaultSVGWidth"] : (function () { throw new RuntimeError('Variable "defaultSVGWidth" does not exist.', 109, $this->source); })()), "html", null, true);
echo "\" height=\"";
echo twig_escape_filter($this->env, (isset($context["defaultSVGHeight"]) || array_key_exists("defaultSVGHeight", $context) ? $context["defaultSVGHeight"] : (function () { throw new RuntimeError('Variable "defaultSVGHeight" does not exist.', 109, $this->source); })()), "html", null, true);
echo "\" fill=\"currentColor\" class=\"navItem bi bi-archive\" viewBox=\"0 0 16 16\">
<path d=\"M0 2a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1v7.5a2.5 2.5 0 0 1-2.5 2.5h-9A2.5 2.5 0 0 1 1 12.5V5a1 1 0 0 1-1-1V2zm2 3v7.5A1.5 1.5 0 0 0 3.5 14h9a1.5 1.5 0 0 0 1.5-1.5V5H2zm13-3H1v2h14V2zM5 7.5a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5z\"/>
</svg> Backend</a>
";
}
// line 113
echo "
<a href=\"";
// line 115
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("cart");
echo "\" class=\"navItem\" >
<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"";
// line 116
echo twig_escape_filter($this->env, (isset($context["defaultSVGWidth"]) || array_key_exists("defaultSVGWidth", $context) ? $context["defaultSVGWidth"] : (function () { throw new RuntimeError('Variable "defaultSVGWidth" does not exist.', 116, $this->source); })()), "html", null, true);
echo "\" height=\"";
echo twig_escape_filter($this->env, (isset($context["defaultSVGHeight"]) || array_key_exists("defaultSVGHeight", $context) ? $context["defaultSVGHeight"] : (function () { throw new RuntimeError('Variable "defaultSVGHeight" does not exist.', 116, $this->source); })()), "html", null, true);
echo "\" fill=\"currentColor\" class=\"navItem bi bi-cart4\" viewBox=\"0 0 16 16\">
<path d=\"M0 2.5A.5.5 0 0 1 .5 2H2a.5.5 0 0 1 .485.379L2.89 4H14.5a.5.5 0 0 1 .485.621l-1.5 6A.5.5 0 0 1 13 11H4a.5.5 0 0 1-.485-.379L1.61 3H.5a.5.5 0 0 1-.5-.5zM3.14 5l.5 2H5V5H3.14zM6 5v2h2V5H6zm3 0v2h2V5H9zm3 0v2h1.36l.5-2H12zm1.11 3H12v2h.61l.5-2zM11 8H9v2h2V8zM8 8H6v2h2V8zM5 8H3.89l.5 2H5V8zm0 5a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-2 1a2 2 0 1 1 4 0 2 2 0 0 1-4 0zm9-1a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-2 1a2 2 0 1 1 4 0 2 2 0 0 1-4 0z\"/>
</svg> Warenkorb ";
// line 118
echo twig_escape_filter($this->env, (isset($context["cartitems"]) || array_key_exists("cartitems", $context) ? $context["cartitems"] : (function () { throw new RuntimeError('Variable "cartitems" does not exist.', 118, $this->source); })()), "html", null, true);
echo "
</a>
<a href=\"";
// line 122
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("userSettings");
echo "\" class=\"navItem\" >
<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"";
// line 123
echo twig_escape_filter($this->env, (isset($context["defaultSVGWidth"]) || array_key_exists("defaultSVGWidth", $context) ? $context["defaultSVGWidth"] : (function () { throw new RuntimeError('Variable "defaultSVGWidth" does not exist.', 123, $this->source); })()), "html", null, true);
echo "\" height=\"";
echo twig_escape_filter($this->env, (isset($context["defaultSVGHeight"]) || array_key_exists("defaultSVGHeight", $context) ? $context["defaultSVGHeight"] : (function () { throw new RuntimeError('Variable "defaultSVGHeight" does not exist.', 123, $this->source); })()), "html", null, true);
echo "\" fill=\"currentColor\" class=\"navItem bi bi-person\" viewBox=\"0 0 16 16\">
<path d=\"M8 8a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm2-3a2 2 0 1 1-4 0 2 2 0 0 1 4 0zm4 8c0 1-1 1-1 1H3s-1 0-1-1 1-4 6-4 6 3 6 4zm-1-.004c-.001-.246-.154-.986-.832-1.664C11.516 10.68 10.289 10 8 10c-2.29 0-3.516.68-4.168 1.332-.678.678-.83 1.418-.832 1.664h10z\"/>
</svg> ";
// line 125
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 125, $this->source); })()), "user", [], "any", false, false, false, 125), "username", [], "any", false, false, false, 125), "html", null, true);
echo "</a>
<a href=\"";
// line 129
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("userHistory", ["start" => 0, "offset" => 25]), "html", null, true);
echo "\" class=\"navItem\" >
<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"currentColor\" class=\"bi bi-journal-bookmark\" viewBox=\"0 0 16 16\">
<path fill-rule=\"evenodd\" d=\"M6 8V1h1v6.117L8.743 6.07a.5.5 0 0 1 .514 0L11 7.117V1h1v7a.5.5 0 0 1-.757.429L9 7.083 6.757 8.43A.5.5 0 0 1 6 8z\"/>
<path d=\"M3 0h10a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2v-1h1v1a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1H3a1 1 0 0 0-1 1v1H1V2a2 2 0 0 1 2-2z\"/>
<path d=\"M1 5v-.5a.5.5 0 0 1 1 0V5h.5a.5.5 0 0 1 0 1h-2a.5.5 0 0 1 0-1H1zm0 3v-.5a.5.5 0 0 1 1 0V8h.5a.5.5 0 0 1 0 1h-2a.5.5 0 0 1 0-1H1zm0 3v-.5a.5.5 0 0 1 1 0v.5h.5a.5.5 0 0 1 0 1h-2a.5.5 0 0 1 0-1H1z\"/>
</svg> Historie</a>
<!--<a class=\"navItem\" href=\"";
// line 137
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("logout2");
echo "\">-->
<a class=\"navItem\" href=\"javascript:logout();\">
<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"";
// line 139
echo twig_escape_filter($this->env, (isset($context["defaultSVGWidth"]) || array_key_exists("defaultSVGWidth", $context) ? $context["defaultSVGWidth"] : (function () { throw new RuntimeError('Variable "defaultSVGWidth" does not exist.', 139, $this->source); })()), "html", null, true);
echo "\" height=\"";
echo twig_escape_filter($this->env, (isset($context["defaultSVGHeight"]) || array_key_exists("defaultSVGHeight", $context) ? $context["defaultSVGHeight"] : (function () { throw new RuntimeError('Variable "defaultSVGHeight" does not exist.', 139, $this->source); })()), "html", null, true);
echo "\" fill=\"currentColor\" class=\"navItem bi bi-door-closed\" viewBox=\"0 0 16 16\" >
<path d=\"M3 2a1 1 0 0 1 1-1h8a1 1 0 0 1 1 1v13h1.5a.5.5 0 0 1 0 1h-13a.5.5 0 0 1 0-1H3V2zm1 13h8V2H4v13z\"/>
<path d=\"M9 9a1 1 0 1 0 2 0 1 1 0 0 0-2 0z\"/>
</svg> Logout</a>
</div>
</div>
</div>
</div>
";
} else {
// line 149
echo " <div class=\"navbar navbar-expand-lg bg-dark navbar-dark\">
<div class=\"container-fluid\">
";
// line 152
$context["placeid2"] = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 152, $this->source); })()), "session", [], "any", false, false, false, 152), "get", [0 => "place"], "method", false, false, false, 152);
// line 153
echo " ";
if ((array_key_exists("placeid2", $context) && (0 !== twig_compare((isset($context["placeid2"]) || array_key_exists("placeid2", $context) ? $context["placeid2"] : (function () { throw new RuntimeError('Variable "placeid2" does not exist.', 153, $this->source); })()), "")))) {
// line 154
echo " <a href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("homepage2", ["placeid" => (isset($context["placeid2"]) || array_key_exists("placeid2", $context) ? $context["placeid2"] : (function () { throw new RuntimeError('Variable "placeid2" does not exist.', 154, $this->source); })())]), "html", null, true);
echo "\">
";
// line 155
if ((0 === twig_compare((isset($context["company"]) || array_key_exists("company", $context) ? $context["company"] : (function () { throw new RuntimeError('Variable "company" does not exist.', 155, $this->source); })()), "KVO"))) {
// line 156
echo " <!--
<h2>Wellness und Spa</h2>
-->
<img src=\"";
// line 159
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("./images/kvo_logo3.png"), "html", null, true);
echo "\" width=\"80px\" height=\"80px\" style=\"margin-top: -20px\" />
";
} else {
// line 161
echo "
";
// line 162
if ((0 === twig_compare((isset($context["placeid2"]) || array_key_exists("placeid2", $context) ? $context["placeid2"] : (function () { throw new RuntimeError('Variable "placeid2" does not exist.', 162, $this->source); })()), "2"))) {
// line 163
echo " <h2>Kursprogramm Friedrichsbad</h2>
";
} elseif ((0 === twig_compare( // line 164
(isset($context["placeid2"]) || array_key_exists("placeid2", $context) ? $context["placeid2"] : (function () { throw new RuntimeError('Variable "placeid2" does not exist.', 164, $this->source); })()), "3"))) {
// line 165
echo " <h2>Kursprogramm Nienhausen</h2>
";
} elseif ((0 === twig_compare( // line 166
(isset($context["placeid2"]) || array_key_exists("placeid2", $context) ? $context["placeid2"] : (function () { throw new RuntimeError('Variable "placeid2" does not exist.', 166, $this->source); })()), "4"))) {
// line 167
echo " <h2>Kursprogramm Nord-Ost-Bad</h2>
";
} elseif ((0 === twig_compare( // line 168
(isset($context["placeid2"]) || array_key_exists("placeid2", $context) ? $context["placeid2"] : (function () { throw new RuntimeError('Variable "placeid2" does not exist.', 168, $this->source); })()), "5"))) {
// line 169
echo " <h2>Kursprogramm Jugendhalle</h2>
";
} elseif ((0 === twig_compare( // line 170
(isset($context["placeid2"]) || array_key_exists("placeid2", $context) ? $context["placeid2"] : (function () { throw new RuntimeError('Variable "placeid2" does not exist.', 170, $this->source); })()), "6"))) {
// line 171
echo " <h2>Kursprogramm Yogazentrum</h2>
";
} else {
// line 173
echo " <h2>Kursprogramm</h2>
";
}
// line 176
echo "
";
}
// line 179
echo " <span></span></a>
";
} else {
// line 181
echo " <a href=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("homepage");
echo "\">
";
// line 182
if ((0 === twig_compare((isset($context["company"]) || array_key_exists("company", $context) ? $context["company"] : (function () { throw new RuntimeError('Variable "company" does not exist.', 182, $this->source); })()), "KVO"))) {
// line 183
echo " <!--
<h2>Wellness und Spa</h2>
-->
<img src=\"";
// line 186
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("./images/kvo_logo3.png"), "html", null, true);
echo "\" width=\"80px\" height=\"80px\" style=\"margin-top: -20px\" />
";
} else {
// line 188
echo "
";
// line 189
if ((0 === twig_compare((isset($context["placeid2"]) || array_key_exists("placeid2", $context) ? $context["placeid2"] : (function () { throw new RuntimeError('Variable "placeid2" does not exist.', 189, $this->source); })()), "2"))) {
// line 190
echo " <h2>Kursprogramm Friedrichsbad</h2>
";
} elseif ((0 === twig_compare( // line 191
(isset($context["placeid2"]) || array_key_exists("placeid2", $context) ? $context["placeid2"] : (function () { throw new RuntimeError('Variable "placeid2" does not exist.', 191, $this->source); })()), "3"))) {
// line 192
echo " <h2>Kursprogramm Nienhausen</h2>
";
} elseif ((0 === twig_compare( // line 193
(isset($context["placeid2"]) || array_key_exists("placeid2", $context) ? $context["placeid2"] : (function () { throw new RuntimeError('Variable "placeid2" does not exist.', 193, $this->source); })()), "4"))) {
// line 194
echo " <h2>Kursprogramm Nord-Ost-Bad</h2>
";
} elseif ((0 === twig_compare( // line 195
(isset($context["placeid2"]) || array_key_exists("placeid2", $context) ? $context["placeid2"] : (function () { throw new RuntimeError('Variable "placeid2" does not exist.', 195, $this->source); })()), "5"))) {
// line 196
echo " <h2>Kursprogramm Jugendhalle</h2>
";
} elseif ((0 === twig_compare( // line 197
(isset($context["placeid2"]) || array_key_exists("placeid2", $context) ? $context["placeid2"] : (function () { throw new RuntimeError('Variable "placeid2" does not exist.', 197, $this->source); })()), "6"))) {
// line 198
echo " <h2>Kursprogramm Yogazentrum</h2>
";
} else {
// line 200
echo " <h2>Kursprogramm</h2>
";
}
// line 203
echo "
";
}
// line 206
echo "
</a>
";
}
// line 209
echo " <button type=\"button\" class=\"navbar-toggler\" data-toggle=\"collapse\" data-target=\"#navbarCollapse\">
<span class=\"navbar-toggler-icon\"></span>
</button>
<div class=\"collapse navbar-collapse justify-content-between\" id=\"navbarCollapse\">
<div class=\"navbar-nav ml-auto\">
";
// line 215
if ((array_key_exists("placeid2", $context) && (0 !== twig_compare((isset($context["placeid2"]) || array_key_exists("placeid2", $context) ? $context["placeid2"] : (function () { throw new RuntimeError('Variable "placeid2" does not exist.', 215, $this->source); })()), "")))) {
// line 216
echo "\t\t\t<a href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("homepage2", ["placeid" => (isset($context["placeid2"]) || array_key_exists("placeid2", $context) ? $context["placeid2"] : (function () { throw new RuntimeError('Variable "placeid2" does not exist.', 216, $this->source); })())]), "html", null, true);
echo "\" class=\"navItem\" >
<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"";
// line 217
echo twig_escape_filter($this->env, (isset($context["defaultSVGWidth"]) || array_key_exists("defaultSVGWidth", $context) ? $context["defaultSVGWidth"] : (function () { throw new RuntimeError('Variable "defaultSVGWidth" does not exist.', 217, $this->source); })()), "html", null, true);
echo "\" height=\"";
echo twig_escape_filter($this->env, (isset($context["defaultSVGHeight"]) || array_key_exists("defaultSVGHeight", $context) ? $context["defaultSVGHeight"] : (function () { throw new RuntimeError('Variable "defaultSVGHeight" does not exist.', 217, $this->source); })()), "html", null, true);
echo "\" fill=\"currentColor\" class=\"navItem bi bi-house\" viewBox=\"0 0 16 16\">
<path fill-rule=\"evenodd\" d=\"M2 13.5V7h1v6.5a.5.5 0 0 0 .5.5h9a.5.5 0 0 0 .5-.5V7h1v6.5a1.5 1.5 0 0 1-1.5 1.5h-9A1.5 1.5 0 0 1 2 13.5zm11-11V6l-2-2V2.5a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5z\"/>
<path fill-rule=\"evenodd\" d=\"M7.293 1.5a1 1 0 0 1 1.414 0l6.647 6.646a.5.5 0 0 1-.708.708L8 2.207 1.354 8.854a.5.5 0 1 1-.708-.708L7.293 1.5z\"/>
</svg> Home</a>
\t\t";
} else {
// line 222
echo "\t\t\t<a href=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("homepage");
echo "\" class=\"navItem\" >
<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"";
// line 223
echo twig_escape_filter($this->env, (isset($context["defaultSVGWidth"]) || array_key_exists("defaultSVGWidth", $context) ? $context["defaultSVGWidth"] : (function () { throw new RuntimeError('Variable "defaultSVGWidth" does not exist.', 223, $this->source); })()), "html", null, true);
echo "\" height=\"";
echo twig_escape_filter($this->env, (isset($context["defaultSVGHeight"]) || array_key_exists("defaultSVGHeight", $context) ? $context["defaultSVGHeight"] : (function () { throw new RuntimeError('Variable "defaultSVGHeight" does not exist.', 223, $this->source); })()), "html", null, true);
echo "\" fill=\"currentColor\" class=\"navItem bi bi-house\" viewBox=\"0 0 16 16\">
<path fill-rule=\"evenodd\" d=\"M2 13.5V7h1v6.5a.5.5 0 0 0 .5.5h9a.5.5 0 0 0 .5-.5V7h1v6.5a1.5 1.5 0 0 1-1.5 1.5h-9A1.5 1.5 0 0 1 2 13.5zm11-11V6l-2-2V2.5a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5z\"/>
<path fill-rule=\"evenodd\" d=\"M7.293 1.5a1 1 0 0 1 1.414 0l6.647 6.646a.5.5 0 0 1-.708.708L8 2.207 1.354 8.854a.5.5 0 1 1-.708-.708L7.293 1.5z\"/>
</svg> Home</a>\t
\t\t";
}
// line 228
echo " ";
if ((0 === twig_compare((isset($context["company"]) || array_key_exists("company", $context) ? $context["company"] : (function () { throw new RuntimeError('Variable "company" does not exist.', 228, $this->source); })()), "KVO"))) {
// line 229
echo "
<a href=\"";
// line 230
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("zusatzinfo");
echo "\" class=\"navItem\" ><svg xmlns=\"http://www.w3.org/2000/svg\" width=\"";
echo twig_escape_filter($this->env, (isset($context["defaultSVGWidth"]) || array_key_exists("defaultSVGWidth", $context) ? $context["defaultSVGWidth"] : (function () { throw new RuntimeError('Variable "defaultSVGWidth" does not exist.', 230, $this->source); })()), "html", null, true);
echo "\" height=\"";
echo twig_escape_filter($this->env, (isset($context["defaultSVGHeight"]) || array_key_exists("defaultSVGHeight", $context) ? $context["defaultSVGHeight"] : (function () { throw new RuntimeError('Variable "defaultSVGHeight" does not exist.', 230, $this->source); })()), "html", null, true);
echo "\" fill=\"currentColor\" class=\"navItem bi bi-info-circle\" viewBox=\"0 0 16 16\">
<path d=\"M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z\"/>
<path d=\"m8.93 6.588-2.29.287-.082.38.45.083c.294.07.352.176.288.469l-.738 3.468c-.194.897.105 1.319.808 1.319.545 0 1.178-.252 1.465-.598l.088-.416c-.2.176-.492.246-.686.246-.275 0-.375-.193-.304-.533L8.93 6.588zM9 4.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0z\"/>
</svg>Info</a>
";
}
// line 235
echo "
<a href=\"";
// line 236
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("cart");
echo "\" class=\"navItem\" >
<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"";
// line 237
echo twig_escape_filter($this->env, (isset($context["defaultSVGWidth"]) || array_key_exists("defaultSVGWidth", $context) ? $context["defaultSVGWidth"] : (function () { throw new RuntimeError('Variable "defaultSVGWidth" does not exist.', 237, $this->source); })()), "html", null, true);
echo "\" height=\"";
echo twig_escape_filter($this->env, (isset($context["defaultSVGHeight"]) || array_key_exists("defaultSVGHeight", $context) ? $context["defaultSVGHeight"] : (function () { throw new RuntimeError('Variable "defaultSVGHeight" does not exist.', 237, $this->source); })()), "html", null, true);
echo "\" fill=\"currentColor\" class=\"navItem bi bi-cart4\" viewBox=\"0 0 16 16\">
<path d=\"M0 2.5A.5.5 0 0 1 .5 2H2a.5.5 0 0 1 .485.379L2.89 4H14.5a.5.5 0 0 1 .485.621l-1.5 6A.5.5 0 0 1 13 11H4a.5.5 0 0 1-.485-.379L1.61 3H.5a.5.5 0 0 1-.5-.5zM3.14 5l.5 2H5V5H3.14zM6 5v2h2V5H6zm3 0v2h2V5H9zm3 0v2h1.36l.5-2H12zm1.11 3H12v2h.61l.5-2zM11 8H9v2h2V8zM8 8H6v2h2V8zM5 8H3.89l.5 2H5V8zm0 5a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-2 1a2 2 0 1 1 4 0 2 2 0 0 1-4 0zm9-1a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-2 1a2 2 0 1 1 4 0 2 2 0 0 1-4 0z\"/>
</svg> Warenkorb ";
// line 239
echo twig_escape_filter($this->env, (isset($context["cartitems"]) || array_key_exists("cartitems", $context) ? $context["cartitems"] : (function () { throw new RuntimeError('Variable "cartitems" does not exist.', 239, $this->source); })()), "html", null, true);
echo "
</a>
<a href=\"";
// line 243
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("login");
echo "\" class=\"navItem\" > <i class=\"navItem bi bi-person\"></i> Login</a>
</div>
</div>
</div>
</div>
";
}
// line 249
echo "
<script>
function logout()
{
url2 = \"";
// line 258
echo twig_escape_filter($this->env, (isset($context["url"]) || array_key_exists("url", $context) ? $context["url"] : (function () { throw new RuntimeError('Variable "url" does not exist.', 258, $this->source); })()), "html", null, true);
echo "logout2\";
\$.ajax({
url: url2,
data:{
id: '";
// line 263
if (twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 263, $this->source); })()), "user", [], "any", false, false, false, 263)) {
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 263, $this->source); })()), "user", [], "any", false, false, false, 263), "id", [], "any", false, false, false, 263), "html", null, true);
}
echo "'
},
method: 'POST'
}).done(function(data)
{
location.href = \"";
// line 268
echo twig_escape_filter($this->env, (isset($context["url"]) || array_key_exists("url", $context) ? $context["url"] : (function () { throw new RuntimeError('Variable "url" does not exist.', 268, $this->source); })()), "html", null, true);
echo "logout\";
});
}
</script>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "nav.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 627 => 268, 617 => 263, 609 => 258, 598 => 249, 589 => 243, 582 => 239, 575 => 237, 571 => 236, 568 => 235, 556 => 230, 553 => 229, 550 => 228, 540 => 223, 535 => 222, 525 => 217, 520 => 216, 518 => 215, 510 => 209, 505 => 206, 500 => 203, 495 => 200, 491 => 198, 489 => 197, 486 => 196, 484 => 195, 481 => 194, 479 => 193, 476 => 192, 474 => 191, 471 => 190, 469 => 189, 466 => 188, 461 => 186, 456 => 183, 454 => 182, 449 => 181, 445 => 179, 440 => 176, 435 => 173, 431 => 171, 429 => 170, 426 => 169, 424 => 168, 421 => 167, 419 => 166, 416 => 165, 414 => 164, 411 => 163, 409 => 162, 406 => 161, 401 => 159, 396 => 156, 394 => 155, 389 => 154, 386 => 153, 384 => 152, 379 => 149, 364 => 139, 359 => 137, 348 => 129, 341 => 125, 334 => 123, 330 => 122, 323 => 118, 316 => 116, 312 => 115, 308 => 113, 299 => 109, 294 => 108, 292 => 107, 289 => 106, 277 => 101, 274 => 100, 271 => 99, 261 => 94, 256 => 93, 246 => 88, 241 => 87, 239 => 86, 230 => 79, 225 => 76, 220 => 73, 215 => 70, 211 => 68, 209 => 67, 206 => 66, 204 => 65, 201 => 64, 199 => 63, 196 => 62, 194 => 61, 191 => 60, 189 => 59, 186 => 58, 181 => 56, 176 => 53, 174 => 52, 169 => 51, 165 => 49, 160 => 46, 155 => 43, 151 => 41, 149 => 40, 146 => 39, 144 => 38, 141 => 37, 139 => 36, 136 => 35, 134 => 34, 131 => 33, 129 => 32, 126 => 31, 121 => 29, 116 => 26, 114 => 25, 109 => 24, 106 => 23, 104 => 22, 98 => 18, 96 => 17, 92 => 15, 90 => 14, 86 => 12, 84 => 11, 82 => 10, 76 => 6, 66 => 5, 55 => 276, 53 => 5, 49 => 3, 47 => 2, 44 => 1,);
}
public function getSourceContext()
{
return new Source("
{% set placeid2 = app.session.get('place') %}
\t\t
{% block body %}
\t
{% set cartitems = app.session.get('cartitems') %}
{% if cartitems is not defined or cartitems == \"\" %}
{% set cartitems = 0 %}
{% endif %}
{% set cartitems = '(' ~ cartitems ~ ')' %}
{% if app.user %}
<div class=\"navbar navbar-expand-lg bg-dark navbar-dark\">
<div class=\"container-fluid\">
{% set placeid2 = app.session.get('place') %}
{% if placeid2 is defined and placeid2 != \"\" %}
<a href=\"{{ path('homepage2',{placeid: placeid2}) }}\">
{% if company == 'KVO' %}
<!--
<h2>Wellness und Spa</h2>
-->
<img src=\"{{ asset('./images/kvo_logo3.png') }}\" width=\"80px\" height=\"80px\" style=\"margin-top: -20px\" />
{% else %}
{% if placeid2 == '2' %}
<h2 class=\"navItem\">Kursprogramm Friedrichsbad</h2>
{% elseif placeid2 == '3' %}
<h2 class=\"navItem\">Kursprogramm Nienhausen</h2>
{% elseif placeid2 == '4' %}
<h2 class=\"navItem\">Kursprogramm Nord-Ost-Bad</h2>
{% elseif placeid2 == '5' %}
<h2 class=\"navItem\">Kursprogramm Jugendhalle</h2>
{% elseif placeid2 == '6' %}
<h2 class=\"navItem\">Kursprogramm Yogazentrum</h2>
{% else %}
<h2 class=\"navItem\">Kursprogramm</h2>
{% endif %}
{% endif %}
<span></span></a>
{% else %}
<a href=\"{{ path('homepage') }}\">
{% if company == 'KVO' %}
<!--
<h2>Wellness und Spa</h2>
-->
<img src=\"{{ asset('./images/kvo_logo3.png') }}\" width=\"80px\" height=\"80px\" style=\"margin-top: -20px\" />
{% else %}
{% if placeid2 == '2' %}
<h2 class=\"navItem\">Kursprogramm Friedrichsbad</h2>
{% elseif placeid2 == '3' %}
<h2 class=\"navItem\">Kursprogramm Nienhausen</h2>
{% elseif placeid2 == '4' %}
<h2 class=\"navItem\">Kursprogramm Nord-Ost-Bad</h2>
{% elseif placeid2 == '5' %}
<h2 class=\"navItem\">Kursprogramm Jugendhalle</h2>
{% elseif placeid2 == '6' %}
<h2 class=\"navItem\">Kursprogramm Yogazentrum</h2>
{% else %}
<h2 class=\"navItem\">Kursprogramm</h2>
{% endif %}
{% endif %}
</a>
{% endif %}
<button type=\"button\" class=\"navbar-toggler\" data-toggle=\"collapse\" data-target=\"#navbarCollapse\">
<span class=\"navbar-toggler-icon\"></span>
</button>
<div class=\"collapse navbar-collapse justify-content-between\" id=\"navbarCollapse\" >
<div class=\"navbar-nav ml-auto\">
{% if placeid2 is defined and placeid2 != \"\" %}
\t\t\t<a href=\"{{ path('homepage2',{placeid: placeid2}) }}\" class=\"navItem\" >
<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"{{ defaultSVGWidth }}\" height=\"{{ defaultSVGHeight }}\" fill=\"currentColor\" class=\"navItem bi bi-house\" viewBox=\"0 0 16 16\">
<path fill-rule=\"evenodd\" d=\"M2 13.5V7h1v6.5a.5.5 0 0 0 .5.5h9a.5.5 0 0 0 .5-.5V7h1v6.5a1.5 1.5 0 0 1-1.5 1.5h-9A1.5 1.5 0 0 1 2 13.5zm11-11V6l-2-2V2.5a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5z\"/>
<path fill-rule=\"evenodd\" d=\"M7.293 1.5a1 1 0 0 1 1.414 0l6.647 6.646a.5.5 0 0 1-.708.708L8 2.207 1.354 8.854a.5.5 0 1 1-.708-.708L7.293 1.5z\"/>
</svg> Home</a>
\t\t{% else %}
\t\t\t<a href=\"{{ path('homepage') }}\" class=\"navItem\" >
<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"{{ defaultSVGWidth }}\" height=\"{{ defaultSVGHeight }}\" fill=\"currentColor\" class=\"navItem bi bi-house\" viewBox=\"0 0 16 16\">
<path fill-rule=\"evenodd\" d=\"M2 13.5V7h1v6.5a.5.5 0 0 0 .5.5h9a.5.5 0 0 0 .5-.5V7h1v6.5a1.5 1.5 0 0 1-1.5 1.5h-9A1.5 1.5 0 0 1 2 13.5zm11-11V6l-2-2V2.5a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5z\"/>
<path fill-rule=\"evenodd\" d=\"M7.293 1.5a1 1 0 0 1 1.414 0l6.647 6.646a.5.5 0 0 1-.708.708L8 2.207 1.354 8.854a.5.5 0 1 1-.708-.708L7.293 1.5z\"/>
</svg> Home</a>\t
\t\t{% endif %}
{% if company == 'KVO' %}
<a href=\"{{ path('zusatzinfo') }}\" class=\"navItem\" ><svg xmlns=\"http://www.w3.org/2000/svg\" width=\"{{ defaultSVGWidth }}\" height=\"{{ defaultSVGHeight }}\" fill=\"currentColor\" class=\"navItem bi bi-info-circle\" viewBox=\"0 0 16 16\">
<path d=\"M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z\"/>
<path d=\"m8.93 6.588-2.29.287-.082.38.45.083c.294.07.352.176.288.469l-.738 3.468c-.194.897.105 1.319.808 1.319.545 0 1.178-.252 1.465-.598l.088-.416c-.2.176-.492.246-.686.246-.275 0-.375-.193-.304-.533L8.93 6.588zM9 4.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0z\"/>
</svg> Info</a>
{% endif %}
{% if app.user.urole >= 2 %}
<a href=\"{{ path('backendDashboard') }}\" class=\"navItem\" >
<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"{{ defaultSVGWidth }}\" height=\"{{ defaultSVGHeight }}\" fill=\"currentColor\" class=\"navItem bi bi-archive\" viewBox=\"0 0 16 16\">
<path d=\"M0 2a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1v7.5a2.5 2.5 0 0 1-2.5 2.5h-9A2.5 2.5 0 0 1 1 12.5V5a1 1 0 0 1-1-1V2zm2 3v7.5A1.5 1.5 0 0 0 3.5 14h9a1.5 1.5 0 0 0 1.5-1.5V5H2zm13-3H1v2h14V2zM5 7.5a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5z\"/>
</svg> Backend</a>
{% endif %}
<a href=\"{{ path('cart') }}\" class=\"navItem\" >
<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"{{ defaultSVGWidth }}\" height=\"{{ defaultSVGHeight }}\" fill=\"currentColor\" class=\"navItem bi bi-cart4\" viewBox=\"0 0 16 16\">
<path d=\"M0 2.5A.5.5 0 0 1 .5 2H2a.5.5 0 0 1 .485.379L2.89 4H14.5a.5.5 0 0 1 .485.621l-1.5 6A.5.5 0 0 1 13 11H4a.5.5 0 0 1-.485-.379L1.61 3H.5a.5.5 0 0 1-.5-.5zM3.14 5l.5 2H5V5H3.14zM6 5v2h2V5H6zm3 0v2h2V5H9zm3 0v2h1.36l.5-2H12zm1.11 3H12v2h.61l.5-2zM11 8H9v2h2V8zM8 8H6v2h2V8zM5 8H3.89l.5 2H5V8zm0 5a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-2 1a2 2 0 1 1 4 0 2 2 0 0 1-4 0zm9-1a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-2 1a2 2 0 1 1 4 0 2 2 0 0 1-4 0z\"/>
</svg> Warenkorb {{ cartitems }}
</a>
<a href=\"{{ path('userSettings') }}\" class=\"navItem\" >
<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"{{ defaultSVGWidth }}\" height=\"{{ defaultSVGHeight }}\" fill=\"currentColor\" class=\"navItem bi bi-person\" viewBox=\"0 0 16 16\">
<path d=\"M8 8a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm2-3a2 2 0 1 1-4 0 2 2 0 0 1 4 0zm4 8c0 1-1 1-1 1H3s-1 0-1-1 1-4 6-4 6 3 6 4zm-1-.004c-.001-.246-.154-.986-.832-1.664C11.516 10.68 10.289 10 8 10c-2.29 0-3.516.68-4.168 1.332-.678.678-.83 1.418-.832 1.664h10z\"/>
</svg> {{ app.user.username }}</a>
<a href=\"{{ path('userHistory',{start: 0, offset: 25}) }}\" class=\"navItem\" >
<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"currentColor\" class=\"bi bi-journal-bookmark\" viewBox=\"0 0 16 16\">
<path fill-rule=\"evenodd\" d=\"M6 8V1h1v6.117L8.743 6.07a.5.5 0 0 1 .514 0L11 7.117V1h1v7a.5.5 0 0 1-.757.429L9 7.083 6.757 8.43A.5.5 0 0 1 6 8z\"/>
<path d=\"M3 0h10a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2v-1h1v1a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1H3a1 1 0 0 0-1 1v1H1V2a2 2 0 0 1 2-2z\"/>
<path d=\"M1 5v-.5a.5.5 0 0 1 1 0V5h.5a.5.5 0 0 1 0 1h-2a.5.5 0 0 1 0-1H1zm0 3v-.5a.5.5 0 0 1 1 0V8h.5a.5.5 0 0 1 0 1h-2a.5.5 0 0 1 0-1H1zm0 3v-.5a.5.5 0 0 1 1 0v.5h.5a.5.5 0 0 1 0 1h-2a.5.5 0 0 1 0-1H1z\"/>
</svg> Historie</a>
<!--<a class=\"navItem\" href=\"{{ path('logout2') }}\">-->
<a class=\"navItem\" href=\"javascript:logout();\">
<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"{{ defaultSVGWidth }}\" height=\"{{ defaultSVGHeight }}\" fill=\"currentColor\" class=\"navItem bi bi-door-closed\" viewBox=\"0 0 16 16\" >
<path d=\"M3 2a1 1 0 0 1 1-1h8a1 1 0 0 1 1 1v13h1.5a.5.5 0 0 1 0 1h-13a.5.5 0 0 1 0-1H3V2zm1 13h8V2H4v13z\"/>
<path d=\"M9 9a1 1 0 1 0 2 0 1 1 0 0 0-2 0z\"/>
</svg> Logout</a>
</div>
</div>
</div>
</div>
{% else %}
<div class=\"navbar navbar-expand-lg bg-dark navbar-dark\">
<div class=\"container-fluid\">
{% set placeid2 = app.session.get('place') %}
{% if placeid2 is defined and placeid2 != \"\" %}
<a href=\"{{ path('homepage2',{placeid: placeid2}) }}\">
{% if company == 'KVO' %}
<!--
<h2>Wellness und Spa</h2>
-->
<img src=\"{{ asset('./images/kvo_logo3.png') }}\" width=\"80px\" height=\"80px\" style=\"margin-top: -20px\" />
{% else %}
{% if placeid2 == '2' %}
<h2>Kursprogramm Friedrichsbad</h2>
{% elseif placeid2 == '3' %}
<h2>Kursprogramm Nienhausen</h2>
{% elseif placeid2 == '4' %}
<h2>Kursprogramm Nord-Ost-Bad</h2>
{% elseif placeid2 == '5' %}
<h2>Kursprogramm Jugendhalle</h2>
{% elseif placeid2 == '6' %}
<h2>Kursprogramm Yogazentrum</h2>
{% else %}
<h2>Kursprogramm</h2>
{% endif %}
{% endif %}
<span></span></a>
{% else %}
<a href=\"{{ path('homepage') }}\">
{% if company == 'KVO' %}
<!--
<h2>Wellness und Spa</h2>
-->
<img src=\"{{ asset('./images/kvo_logo3.png') }}\" width=\"80px\" height=\"80px\" style=\"margin-top: -20px\" />
{% else %}
{% if placeid2 == '2' %}
<h2>Kursprogramm Friedrichsbad</h2>
{% elseif placeid2 == '3' %}
<h2>Kursprogramm Nienhausen</h2>
{% elseif placeid2 == '4' %}
<h2>Kursprogramm Nord-Ost-Bad</h2>
{% elseif placeid2 == '5' %}
<h2>Kursprogramm Jugendhalle</h2>
{% elseif placeid2 == '6' %}
<h2>Kursprogramm Yogazentrum</h2>
{% else %}
<h2>Kursprogramm</h2>
{% endif %}
{% endif %}
</a>
{% endif %}
<button type=\"button\" class=\"navbar-toggler\" data-toggle=\"collapse\" data-target=\"#navbarCollapse\">
<span class=\"navbar-toggler-icon\"></span>
</button>
<div class=\"collapse navbar-collapse justify-content-between\" id=\"navbarCollapse\">
<div class=\"navbar-nav ml-auto\">
{% if placeid2 is defined and placeid2 != \"\" %}
\t\t\t<a href=\"{{ path('homepage2',{placeid: placeid2}) }}\" class=\"navItem\" >
<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"{{ defaultSVGWidth }}\" height=\"{{ defaultSVGHeight }}\" fill=\"currentColor\" class=\"navItem bi bi-house\" viewBox=\"0 0 16 16\">
<path fill-rule=\"evenodd\" d=\"M2 13.5V7h1v6.5a.5.5 0 0 0 .5.5h9a.5.5 0 0 0 .5-.5V7h1v6.5a1.5 1.5 0 0 1-1.5 1.5h-9A1.5 1.5 0 0 1 2 13.5zm11-11V6l-2-2V2.5a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5z\"/>
<path fill-rule=\"evenodd\" d=\"M7.293 1.5a1 1 0 0 1 1.414 0l6.647 6.646a.5.5 0 0 1-.708.708L8 2.207 1.354 8.854a.5.5 0 1 1-.708-.708L7.293 1.5z\"/>
</svg> Home</a>
\t\t{% else %}
\t\t\t<a href=\"{{ path('homepage') }}\" class=\"navItem\" >
<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"{{ defaultSVGWidth }}\" height=\"{{ defaultSVGHeight }}\" fill=\"currentColor\" class=\"navItem bi bi-house\" viewBox=\"0 0 16 16\">
<path fill-rule=\"evenodd\" d=\"M2 13.5V7h1v6.5a.5.5 0 0 0 .5.5h9a.5.5 0 0 0 .5-.5V7h1v6.5a1.5 1.5 0 0 1-1.5 1.5h-9A1.5 1.5 0 0 1 2 13.5zm11-11V6l-2-2V2.5a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5z\"/>
<path fill-rule=\"evenodd\" d=\"M7.293 1.5a1 1 0 0 1 1.414 0l6.647 6.646a.5.5 0 0 1-.708.708L8 2.207 1.354 8.854a.5.5 0 1 1-.708-.708L7.293 1.5z\"/>
</svg> Home</a>\t
\t\t{% endif %}
{% if company == 'KVO' %}
<a href=\"{{ path('zusatzinfo') }}\" class=\"navItem\" ><svg xmlns=\"http://www.w3.org/2000/svg\" width=\"{{ defaultSVGWidth }}\" height=\"{{ defaultSVGHeight }}\" fill=\"currentColor\" class=\"navItem bi bi-info-circle\" viewBox=\"0 0 16 16\">
<path d=\"M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z\"/>
<path d=\"m8.93 6.588-2.29.287-.082.38.45.083c.294.07.352.176.288.469l-.738 3.468c-.194.897.105 1.319.808 1.319.545 0 1.178-.252 1.465-.598l.088-.416c-.2.176-.492.246-.686.246-.275 0-.375-.193-.304-.533L8.93 6.588zM9 4.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0z\"/>
</svg>Info</a>
{% endif %}
<a href=\"{{ path('cart') }}\" class=\"navItem\" >
<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"{{ defaultSVGWidth }}\" height=\"{{ defaultSVGHeight }}\" fill=\"currentColor\" class=\"navItem bi bi-cart4\" viewBox=\"0 0 16 16\">
<path d=\"M0 2.5A.5.5 0 0 1 .5 2H2a.5.5 0 0 1 .485.379L2.89 4H14.5a.5.5 0 0 1 .485.621l-1.5 6A.5.5 0 0 1 13 11H4a.5.5 0 0 1-.485-.379L1.61 3H.5a.5.5 0 0 1-.5-.5zM3.14 5l.5 2H5V5H3.14zM6 5v2h2V5H6zm3 0v2h2V5H9zm3 0v2h1.36l.5-2H12zm1.11 3H12v2h.61l.5-2zM11 8H9v2h2V8zM8 8H6v2h2V8zM5 8H3.89l.5 2H5V8zm0 5a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-2 1a2 2 0 1 1 4 0 2 2 0 0 1-4 0zm9-1a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-2 1a2 2 0 1 1 4 0 2 2 0 0 1-4 0z\"/>
</svg> Warenkorb {{ cartitems }}
</a>
<a href=\"{{ path('login') }}\" class=\"navItem\" > <i class=\"navItem bi bi-person\"></i> Login</a>
</div>
</div>
</div>
</div>
{% endif %}
<script>
function logout()
{
url2 = \"{{ url }}logout2\";
\$.ajax({
url: url2,
data:{
id: '{% if app.user %}{{ app.user.id }}{% endif %}'
},
method: 'POST'
}).done(function(data)
{
location.href = \"{{url}}logout\";
});
}
</script>
{% endblock %}
", "nav.html.twig", "/var/www/vhosts/essener-sportbund.de/kursetest.essener-sport-betriebsgesellschaft.de/kurstool/templates/nav.html.twig");
}
}