<?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;
/* course/index.html.twig */
class __TwigTemplate_8bb8d444272e179a1cf6c938a5a88b71733728466b47765d4d33d8f9f1f62d3e extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'body' => [$this, 'block_body'],
'javascripts' => [$this, 'block_javascripts'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "base.html.twig";
}
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", "course/index.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "course/index.html.twig"));
$this->parent = $this->loadTemplate("base.html.twig", "course/index.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 3
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 4
echo "
<style>
/* HIDE RADIO */
[type=radio] {
position: absolute;
opacity: 0;
width: 0;
height: 0;
}
/* IMAGE STYLES */
[type=radio] + img {
cursor: pointer;
}
/* CHECKED STYLES */
[type=radio]:checked + img {
outline: 2px solid #198754;
}
html {
scroll-behavior: smooth;
}
</style>
\t\t\t\t\t
\t\t\t\t\t\t\t
\t\t\t\t\t\t\t";
// line 32
$this->loadTemplate("course/index.html.twig", "course/index.html.twig", 32, "1955323604")->display($context);
// line 33
echo "\t\t\t\t\t\t\t
\t\t\t\t\t\t
\t\t\t\t\t\t<div class=\"content\" style=\"text-align:center; padding-top: 3em;\" >
\t\t\t\t\t\t\t
\t\t\t\t\t\t\t<label for=\"placeSelecter\" style=\"";
// line 37
echo twig_escape_filter($this->env, (isset($context["color"]) || array_key_exists("color", $context) ? $context["color"] : (function () { throw new RuntimeError('Variable "color" does not exist.', 37, $this->source); })()), "html", null, true);
echo "; display:none\" >Ort</label>
\t\t\t\t\t\t\t<select id=\"placeSelecter\" style=\"display:none\" onchange=\"loadContent('";
// line 38
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.', 38, $this->source); })()), "html", null, true);
echo "')\">
\t\t\t\t\t\t\t\t";
// line 39
if (array_key_exists("placeid", $context)) {
// line 40
echo "\t\t\t\t\t\t\t\t<option value=\"\">Bitte wählen</option>
\t\t\t\t\t\t\t\t";
} else {
// line 42
echo "\t\t\t\t\t\t\t\t<option value=\"\" selected>Bitte wählen</option>
\t\t\t\t\t\t\t\t";
}
// line 44
echo "\t\t\t\t\t\t\t\t";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["places"]) || array_key_exists("places", $context) ? $context["places"] : (function () { throw new RuntimeError('Variable "places" does not exist.', 44, $this->source); })()));
foreach ($context['_seq'] as $context["k"] => $context["v"]) {
// line 45
echo "
\t\t\t\t\t\t\t\t\t";
// line 46
$context["replaces"] = [" - " => "", // line 48
$context["k"] => ""];
// line 50
echo "
\t\t\t\t\t\t\t\t\t";
// line 51
if (array_key_exists("placeid", $context)) {
// line 52
echo "\t\t\t\t\t\t\t\t\t<option value=\"";
echo twig_escape_filter($this->env, $context["k"], "html", null, true);
echo "\"";
if ((0 === twig_compare((isset($context["placeid"]) || array_key_exists("placeid", $context) ? $context["placeid"] : (function () { throw new RuntimeError('Variable "placeid" does not exist.', 52, $this->source); })()), $context["k"]))) {
echo " selected=\"selected\" ";
}
echo " >
\t\t\t\t\t\t\t\t\t";
// line 53
echo twig_escape_filter($this->env, twig_trim_filter(twig_replace_filter($context["v"], (isset($context["replaces"]) || array_key_exists("replaces", $context) ? $context["replaces"] : (function () { throw new RuntimeError('Variable "replaces" does not exist.', 53, $this->source); })()))), "html", null, true);
echo "
\t\t\t\t\t\t\t\t\t</option>
\t\t\t\t\t\t\t\t\t";
} else {
// line 56
echo "\t\t\t\t\t\t\t\t\t<option value=\"";
echo twig_escape_filter($this->env, $context["k"], "html", null, true);
echo "\" >
\t\t\t\t\t\t\t\t\t";
// line 57
echo twig_escape_filter($this->env, twig_trim_filter(twig_replace_filter($context["v"], (isset($context["replaces"]) || array_key_exists("replaces", $context) ? $context["replaces"] : (function () { throw new RuntimeError('Variable "replaces" does not exist.', 57, $this->source); })()))), "html", null, true);
echo "
\t\t\t\t\t\t\t\t\t</option>
\t\t\t\t\t\t\t\t\t";
}
// line 60
echo "\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['k'], $context['v'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 62
echo "\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t</select>\t\t
\t\t\t\t\t\t
<style>
.labl {
/*display : block;*/
width: 100%;
}
.labl > input{ /* HIDE RADIO */
visibility: hidden; /* Makes input not-clickable */
position: absolute; /* Remove input from document flow */
}
.labl > input + div{ /* DIV STYLES */
cursor:pointer;
border:2px solid transparent;
}
</style>
<div class=\"service\">
<div class=\"container\">
<div class=\"section-header text-center wow zoomIn\" data-wow-delay=\"0.1s\">
<!--<p>What we do</p>-->
<h2>Kategorien</h2>
</div>
\t\t\t\t<div class=\"row\">
";
// line 88
$context["i"] = 0;
// line 89
echo "
\t\t\t\t\t\t\t";
// line 90
if (array_key_exists("placeid", $context)) {
// line 91
echo "\t\t\t\t\t\t\t\t";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["categories"]) || array_key_exists("categories", $context) ? $context["categories"] : (function () { throw new RuntimeError('Variable "categories" does not exist.', 91, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["row"]) {
// line 92
echo "\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t";
// line 93
if ((0 === twig_compare(twig_get_attribute($this->env, $this->source, (isset($context["allowedCat"]) || array_key_exists("allowedCat", $context) ? $context["allowedCat"] : (function () { throw new RuntimeError('Variable "allowedCat" does not exist.', 93, $this->source); })()), twig_get_attribute($this->env, $this->source, $context["row"], "id", [], "any", false, false, false, 93), [], "array", false, false, false, 93), "1"))) {
// line 94
echo "
\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-lg-4 col-md-6 wow fadeInUp\" data-wow-delay=\"0.0s\">
\t\t\t\t\t\t\t\t\t\t\t\t<label id=\"category";
// line 97
echo twig_escape_filter($this->env, (isset($context["i"]) || array_key_exists("i", $context) ? $context["i"] : (function () { throw new RuntimeError('Variable "i" does not exist.', 97, $this->source); })()), "html", null, true);
echo "label\" class=\"labl\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"radio\" name=\"category\" id=\"category";
// line 98
echo twig_escape_filter($this->env, (isset($context["i"]) || array_key_exists("i", $context) ? $context["i"] : (function () { throw new RuntimeError('Variable "i" does not exist.', 98, $this->source); })()), "html", null, true);
echo "\" class=\"categoryImg\" value=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["row"], "id", [], "any", false, false, false, 98), "html", null, true);
echo "\" onchange=\"loadContent('";
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.', 98, $this->source); })()), "html", null, true);
echo "',0)\">
\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"service-item\">
\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"service-icon\">
\t\t\t\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<!--<i class=\"flaticon-workout\"></i>-->
\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 103
if (twig_get_attribute($this->env, $this->source, ($context["catimg"] ?? null), twig_get_attribute($this->env, $this->source, $context["row"], "id", [], "any", false, false, false, 103), [], "array", true, true, false, 103)) {
// line 104
echo "\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img src=\"";
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.', 104, $this->source); })()), "html", null, true);
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["catimg"]) || array_key_exists("catimg", $context) ? $context["catimg"] : (function () { throw new RuntimeError('Variable "catimg" does not exist.', 104, $this->source); })()), twig_get_attribute($this->env, $this->source, $context["row"], "Id", [], "any", false, false, false, 104), [], "array", false, false, false, 104), "html", null, true);
echo "\" width=\"50\" height=\"50\" style=\"z-index:9999\" />
\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 106
echo "\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t<h3>";
// line 107
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["row"], "ccname", [], "any", false, false, false, 107), "html", null, true);
echo "</h3>
\t\t\t\t\t\t\t\t\t\t\t\t\t<p>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t\t\t\t</p>
\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t</label>
\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t<!--
\t\t\t\t\t\t\t\t\t\t<div class=\"col-sm\" align=\"left\" >
\t\t\t\t\t\t\t\t\t\t\t<div style=\"max-width: 200px; background-color: ";
// line 118
echo twig_escape_filter($this->env, (isset($context["mainboxColor"]) || array_key_exists("mainboxColor", $context) ? $context["mainboxColor"] : (function () { throw new RuntimeError('Variable "mainboxColor" does not exist.', 118, $this->source); })()), "html", null, true);
echo "\" >
\t\t\t\t\t\t\t\t\t\t\t\t";
// line 119
if (twig_get_attribute($this->env, $this->source, ($context["catimg"] ?? null), twig_get_attribute($this->env, $this->source, $context["row"], "id", [], "any", false, false, false, 119), [], "array", true, true, false, 119)) {
// line 120
echo "\t\t\t\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t\t\t\t<label id=\"category";
// line 121
echo twig_escape_filter($this->env, (isset($context["i"]) || array_key_exists("i", $context) ? $context["i"] : (function () { throw new RuntimeError('Variable "i" does not exist.', 121, $this->source); })()), "html", null, true);
echo "label\" style=\"display:contents\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"radio\" name=\"category\" id=\"category";
// line 122
echo twig_escape_filter($this->env, (isset($context["i"]) || array_key_exists("i", $context) ? $context["i"] : (function () { throw new RuntimeError('Variable "i" does not exist.', 122, $this->source); })()), "html", null, true);
echo "\" class=\"categoryImg\" value=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["row"], "id", [], "any", false, false, false, 122), "html", null, true);
echo "\" onchange=\"loadContent('";
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.', 122, $this->source); })()), "html", null, true);
echo "')\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img class=\"imgWithHighlightBorder\" width=\"200px\" height=\"200px\" style=\"cursor:pointer\" src=\"";
// line 123
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.', 123, $this->source); })()), "html", null, true);
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["catimg"]) || array_key_exists("catimg", $context) ? $context["catimg"] : (function () { throw new RuntimeError('Variable "catimg" does not exist.', 123, $this->source); })()), twig_get_attribute($this->env, $this->source, $context["row"], "Id", [], "any", false, false, false, 123), [], "array", false, false, false, 123), "html", null, true);
echo "\">
\t\t\t\t\t\t\t\t\t\t\t\t\t</label>
\t\t\t\t\t\t\t\t\t\t\t\t";
} else {
// line 126
echo "\t\t\t\t\t\t\t\t\t\t\t\tIMAGE NOT FOUND
\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 128
echo "\t\t\t\t\t\t\t\t\t\t\t\t<span style=\"";
echo twig_escape_filter($this->env, (isset($context["color"]) || array_key_exists("color", $context) ? $context["color"] : (function () { throw new RuntimeError('Variable "color" does not exist.', 128, $this->source); })()), "html", null, true);
echo ";\" >";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["row"], "ccname", [], "any", false, false, false, 128), "html", null, true);
echo " </span>
\t\t\t\t\t\t\t\t\t\t\t\t<br />
\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t</div>-->
\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t";
// line 134
$context["i"] = ((isset($context["i"]) || array_key_exists("i", $context) ? $context["i"] : (function () { throw new RuntimeError('Variable "i" does not exist.', 134, $this->source); })()) + 1);
echo "\t
\t\t\t\t\t\t\t\t";
}
// line 136
echo "\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['row'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 137
echo "\t\t\t\t\t\t\t";
}
// line 138
echo "\t\t\t\t\t\t
\t\t\t\t\t\t\t<hr style=\"margin-top: 1em\"></hr>
\t\t\t\t\t\t
\t\t\t\t\t\t\t<label style=\"";
// line 141
echo twig_escape_filter($this->env, (isset($context["color"]) || array_key_exists("color", $context) ? $context["color"] : (function () { throw new RuntimeError('Variable "color" does not exist.', 141, $this->source); })()), "html", null, true);
echo "\"><h3 style=\"";
echo twig_escape_filter($this->env, (isset($context["color"]) || array_key_exists("color", $context) ? $context["color"] : (function () { throw new RuntimeError('Variable "color" does not exist.', 141, $this->source); })()), "html", null, true);
echo ";\" >";
if ((0 === twig_compare((isset($context["company"]) || array_key_exists("company", $context) ? $context["company"] : (function () { throw new RuntimeError('Variable "company" does not exist.', 141, $this->source); })()), "KVO"))) {
echo "Anwendungen und Behandlungen";
} else {
echo "Kurse";
}
echo "</h3></label>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</div>
\t\t\t\t\t\t\t<div id=\"content\" class=\"container\" ></div>
\t\t\t\t\t\t</div>
\t\t\t\t\t</section>
\t\t\t\t</div>
\t\t\t</section>
\t<script>
\t\$(function ()
\t{
\t\tloadContent('";
// line 156
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.', 156, $this->source); })()), "html", null, true);
echo "');
\t});
\t</script>
\t
";
// line 160
$this->displayBlock('javascripts', $context, $blocks);
// line 164
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 160
public function block_javascripts($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", "javascripts"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
// line 161
echo " ";
$this->displayParentBlock("javascripts", $context, $blocks);
echo "
<script src=\"";
// line 162
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("js/homepage.js"), "html", null, true);
echo "\"></script>
\t";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "course/index.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 391 => 162, 386 => 161, 376 => 160, 364 => 164, 362 => 160, 355 => 156, 329 => 141, 324 => 138, 321 => 137, 315 => 136, 310 => 134, 298 => 128, 294 => 126, 287 => 123, 279 => 122, 275 => 121, 272 => 120, 270 => 119, 266 => 118, 252 => 107, 249 => 106, 242 => 104, 240 => 103, 228 => 98, 224 => 97, 219 => 94, 217 => 93, 214 => 92, 209 => 91, 207 => 90, 204 => 89, 202 => 88, 174 => 62, 167 => 60, 161 => 57, 156 => 56, 150 => 53, 141 => 52, 139 => 51, 136 => 50, 134 => 48, 133 => 46, 130 => 45, 125 => 44, 121 => 42, 117 => 40, 115 => 39, 111 => 38, 107 => 37, 101 => 33, 99 => 32, 69 => 4, 59 => 3, 36 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends 'base.html.twig' %}
{% block body %}
<style>
/* HIDE RADIO */
[type=radio] {
position: absolute;
opacity: 0;
width: 0;
height: 0;
}
/* IMAGE STYLES */
[type=radio] + img {
cursor: pointer;
}
/* CHECKED STYLES */
[type=radio]:checked + img {
outline: 2px solid #198754;
}
html {
scroll-behavior: smooth;
}
</style>
\t\t\t\t\t
\t\t\t\t\t\t\t
\t\t\t\t\t\t\t{% embed \"nav.html.twig\" %}{% endembed %}
\t\t\t\t\t\t\t
\t\t\t\t\t\t
\t\t\t\t\t\t<div class=\"content\" style=\"text-align:center; padding-top: 3em;\" >
\t\t\t\t\t\t\t
\t\t\t\t\t\t\t<label for=\"placeSelecter\" style=\"{{color}}; display:none\" >Ort</label>
\t\t\t\t\t\t\t<select id=\"placeSelecter\" style=\"display:none\" onchange=\"loadContent('{{url}}')\">
\t\t\t\t\t\t\t\t{% if placeid is defined %}
\t\t\t\t\t\t\t\t<option value=\"\">Bitte wählen</option>
\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t<option value=\"\" selected>Bitte wählen</option>
\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t{% for k,v in places %}
\t\t\t\t\t\t\t\t\t{% set replaces = {
\t\t\t\t\t\t\t\t\t\t' - ' : '',
\t\t\t\t\t\t\t\t\t\t(k) : ''
\t\t\t\t\t\t\t\t\t} %}
\t\t\t\t\t\t\t\t\t{% if placeid is defined %}
\t\t\t\t\t\t\t\t\t<option value=\"{{ k }}\"{% if placeid == k %} selected=\"selected\" {% endif %} >
\t\t\t\t\t\t\t\t\t{{ v|replace(replaces)|trim }}
\t\t\t\t\t\t\t\t\t</option>
\t\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t<option value=\"{{ k }}\" >
\t\t\t\t\t\t\t\t\t{{ v|replace(replaces)|trim }}
\t\t\t\t\t\t\t\t\t</option>
\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t</select>\t\t
\t\t\t\t\t\t
<style>
.labl {
/*display : block;*/
width: 100%;
}
.labl > input{ /* HIDE RADIO */
visibility: hidden; /* Makes input not-clickable */
position: absolute; /* Remove input from document flow */
}
.labl > input + div{ /* DIV STYLES */
cursor:pointer;
border:2px solid transparent;
}
</style>
<div class=\"service\">
<div class=\"container\">
<div class=\"section-header text-center wow zoomIn\" data-wow-delay=\"0.1s\">
<!--<p>What we do</p>-->
<h2>Kategorien</h2>
</div>
\t\t\t\t<div class=\"row\">
{% set i = 0 %}
\t\t\t\t\t\t\t{% if placeid is defined %}
\t\t\t\t\t\t\t\t{% for row in categories %}
\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t{% if allowedCat[row.id] == '1' %}
\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-lg-4 col-md-6 wow fadeInUp\" data-wow-delay=\"0.0s\">
\t\t\t\t\t\t\t\t\t\t\t\t<label id=\"category{{i}}label\" class=\"labl\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"radio\" name=\"category\" id=\"category{{i}}\" class=\"categoryImg\" value=\"{{row.id}}\" onchange=\"loadContent('{{url}}',0)\">
\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"service-item\">
\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"service-icon\">
\t\t\t\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<!--<i class=\"flaticon-workout\"></i>-->
\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if catimg[row.id] is defined %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img src=\"{{ url }}{{ catimg[row.Id] }}\" width=\"50\" height=\"50\" style=\"z-index:9999\" />
\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t<h3>{{ row.ccname }}</h3>
\t\t\t\t\t\t\t\t\t\t\t\t\t<p>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t\t\t\t</p>
\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t</label>
\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t<!--
\t\t\t\t\t\t\t\t\t\t<div class=\"col-sm\" align=\"left\" >
\t\t\t\t\t\t\t\t\t\t\t<div style=\"max-width: 200px; background-color: {{ mainboxColor }}\" >
\t\t\t\t\t\t\t\t\t\t\t\t{% if catimg[row.id] is defined %}
\t\t\t\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t\t\t\t<label id=\"category{{i}}label\" style=\"display:contents\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"radio\" name=\"category\" id=\"category{{i}}\" class=\"categoryImg\" value=\"{{row.id}}\" onchange=\"loadContent('{{url}}')\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img class=\"imgWithHighlightBorder\" width=\"200px\" height=\"200px\" style=\"cursor:pointer\" src=\"{{ url }}{{ catimg[row.Id] }}\">
\t\t\t\t\t\t\t\t\t\t\t\t\t</label>
\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t\t\t\tIMAGE NOT FOUND
\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t<span style=\"{{color}};\" >{{ row.ccname }} </span>
\t\t\t\t\t\t\t\t\t\t\t\t<br />
\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t</div>-->
\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t{% set i = i + 1 %}\t
\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t
\t\t\t\t\t\t\t<hr style=\"margin-top: 1em\"></hr>
\t\t\t\t\t\t
\t\t\t\t\t\t\t<label style=\"{{color}}\"><h3 style=\"{{color}};\" >{% if company == 'KVO' %}Anwendungen und Behandlungen{% else %}Kurse{% endif %}</h3></label>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</div>
\t\t\t\t\t\t\t<div id=\"content\" class=\"container\" ></div>
\t\t\t\t\t\t</div>
\t\t\t\t\t</section>
\t\t\t\t</div>
\t\t\t</section>
\t<script>
\t\$(function ()
\t{
\t\tloadContent('{{ url }}');
\t});
\t</script>
\t
{% block javascripts %}
{{ parent() }}
<script src=\"{{ asset('js/homepage.js') }}\"></script>
\t{% endblock %}
{% endblock %}", "course/index.html.twig", "/var/www/vhosts/essener-sportbund.de/kursetest.essener-sport-betriebsgesellschaft.de/kurstool/templates/course/index.html.twig");
}
}
/* course/index.html.twig */
class __TwigTemplate_8bb8d444272e179a1cf6c938a5a88b71733728466b47765d4d33d8f9f1f62d3e___1955323604 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
];
}
protected function doGetParent(array $context)
{
// line 32
return "nav.html.twig";
}
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", "course/index.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "course/index.html.twig"));
$this->parent = $this->loadTemplate("nav.html.twig", "course/index.html.twig", 32);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
public function getTemplateName()
{
return "course/index.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 608 => 32, 391 => 162, 386 => 161, 376 => 160, 364 => 164, 362 => 160, 355 => 156, 329 => 141, 324 => 138, 321 => 137, 315 => 136, 310 => 134, 298 => 128, 294 => 126, 287 => 123, 279 => 122, 275 => 121, 272 => 120, 270 => 119, 266 => 118, 252 => 107, 249 => 106, 242 => 104, 240 => 103, 228 => 98, 224 => 97, 219 => 94, 217 => 93, 214 => 92, 209 => 91, 207 => 90, 204 => 89, 202 => 88, 174 => 62, 167 => 60, 161 => 57, 156 => 56, 150 => 53, 141 => 52, 139 => 51, 136 => 50, 134 => 48, 133 => 46, 130 => 45, 125 => 44, 121 => 42, 117 => 40, 115 => 39, 111 => 38, 107 => 37, 101 => 33, 99 => 32, 69 => 4, 59 => 3, 36 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends 'base.html.twig' %}
{% block body %}
<style>
/* HIDE RADIO */
[type=radio] {
position: absolute;
opacity: 0;
width: 0;
height: 0;
}
/* IMAGE STYLES */
[type=radio] + img {
cursor: pointer;
}
/* CHECKED STYLES */
[type=radio]:checked + img {
outline: 2px solid #198754;
}
html {
scroll-behavior: smooth;
}
</style>
\t\t\t\t\t
\t\t\t\t\t\t\t
\t\t\t\t\t\t\t{% embed \"nav.html.twig\" %}{% endembed %}
\t\t\t\t\t\t\t
\t\t\t\t\t\t
\t\t\t\t\t\t<div class=\"content\" style=\"text-align:center; padding-top: 3em;\" >
\t\t\t\t\t\t\t
\t\t\t\t\t\t\t<label for=\"placeSelecter\" style=\"{{color}}; display:none\" >Ort</label>
\t\t\t\t\t\t\t<select id=\"placeSelecter\" style=\"display:none\" onchange=\"loadContent('{{url}}')\">
\t\t\t\t\t\t\t\t{% if placeid is defined %}
\t\t\t\t\t\t\t\t<option value=\"\">Bitte wählen</option>
\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t<option value=\"\" selected>Bitte wählen</option>
\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t{% for k,v in places %}
\t\t\t\t\t\t\t\t\t{% set replaces = {
\t\t\t\t\t\t\t\t\t\t' - ' : '',
\t\t\t\t\t\t\t\t\t\t(k) : ''
\t\t\t\t\t\t\t\t\t} %}
\t\t\t\t\t\t\t\t\t{% if placeid is defined %}
\t\t\t\t\t\t\t\t\t<option value=\"{{ k }}\"{% if placeid == k %} selected=\"selected\" {% endif %} >
\t\t\t\t\t\t\t\t\t{{ v|replace(replaces)|trim }}
\t\t\t\t\t\t\t\t\t</option>
\t\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t<option value=\"{{ k }}\" >
\t\t\t\t\t\t\t\t\t{{ v|replace(replaces)|trim }}
\t\t\t\t\t\t\t\t\t</option>
\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t</select>\t\t
\t\t\t\t\t\t
<style>
.labl {
/*display : block;*/
width: 100%;
}
.labl > input{ /* HIDE RADIO */
visibility: hidden; /* Makes input not-clickable */
position: absolute; /* Remove input from document flow */
}
.labl > input + div{ /* DIV STYLES */
cursor:pointer;
border:2px solid transparent;
}
</style>
<div class=\"service\">
<div class=\"container\">
<div class=\"section-header text-center wow zoomIn\" data-wow-delay=\"0.1s\">
<!--<p>What we do</p>-->
<h2>Kategorien</h2>
</div>
\t\t\t\t<div class=\"row\">
{% set i = 0 %}
\t\t\t\t\t\t\t{% if placeid is defined %}
\t\t\t\t\t\t\t\t{% for row in categories %}
\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t{% if allowedCat[row.id] == '1' %}
\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-lg-4 col-md-6 wow fadeInUp\" data-wow-delay=\"0.0s\">
\t\t\t\t\t\t\t\t\t\t\t\t<label id=\"category{{i}}label\" class=\"labl\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"radio\" name=\"category\" id=\"category{{i}}\" class=\"categoryImg\" value=\"{{row.id}}\" onchange=\"loadContent('{{url}}',0)\">
\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"service-item\">
\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"service-icon\">
\t\t\t\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<!--<i class=\"flaticon-workout\"></i>-->
\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if catimg[row.id] is defined %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img src=\"{{ url }}{{ catimg[row.Id] }}\" width=\"50\" height=\"50\" style=\"z-index:9999\" />
\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t<h3>{{ row.ccname }}</h3>
\t\t\t\t\t\t\t\t\t\t\t\t\t<p>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t\t\t\t</p>
\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t</label>
\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t<!--
\t\t\t\t\t\t\t\t\t\t<div class=\"col-sm\" align=\"left\" >
\t\t\t\t\t\t\t\t\t\t\t<div style=\"max-width: 200px; background-color: {{ mainboxColor }}\" >
\t\t\t\t\t\t\t\t\t\t\t\t{% if catimg[row.id] is defined %}
\t\t\t\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t\t\t\t<label id=\"category{{i}}label\" style=\"display:contents\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"radio\" name=\"category\" id=\"category{{i}}\" class=\"categoryImg\" value=\"{{row.id}}\" onchange=\"loadContent('{{url}}')\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img class=\"imgWithHighlightBorder\" width=\"200px\" height=\"200px\" style=\"cursor:pointer\" src=\"{{ url }}{{ catimg[row.Id] }}\">
\t\t\t\t\t\t\t\t\t\t\t\t\t</label>
\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t\t\t\tIMAGE NOT FOUND
\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t<span style=\"{{color}};\" >{{ row.ccname }} </span>
\t\t\t\t\t\t\t\t\t\t\t\t<br />
\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t</div>-->
\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t{% set i = i + 1 %}\t
\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t
\t\t\t\t\t\t\t<hr style=\"margin-top: 1em\"></hr>
\t\t\t\t\t\t
\t\t\t\t\t\t\t<label style=\"{{color}}\"><h3 style=\"{{color}};\" >{% if company == 'KVO' %}Anwendungen und Behandlungen{% else %}Kurse{% endif %}</h3></label>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</div>
\t\t\t\t\t\t\t<div id=\"content\" class=\"container\" ></div>
\t\t\t\t\t\t</div>
\t\t\t\t\t</section>
\t\t\t\t</div>
\t\t\t</section>
\t<script>
\t\$(function ()
\t{
\t\tloadContent('{{ url }}');
\t});
\t</script>
\t
{% block javascripts %}
{{ parent() }}
<script src=\"{{ asset('js/homepage.js') }}\"></script>
\t{% endblock %}
{% endblock %}", "course/index.html.twig", "/var/www/vhosts/essener-sportbund.de/kursetest.essener-sport-betriebsgesellschaft.de/kurstool/templates/course/index.html.twig");
}
}