<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
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;
use Twig\TemplateWrapper;
/* Trainings/training_listing.html.twig */
class __TwigTemplate_576bc4ae3049ecc3c75e70db0fb2afb3 extends Template
{
private Source $source;
/**
* @var array<string, Template>
*/
private array $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'content' => [$this, 'block_content'],
'footer' => [$this, 'block_footer'],
];
}
protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
{
// line 1
return "layout/layout.html.twig";
}
protected function doDisplay(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Trainings/training_listing.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Trainings/training_listing.html.twig"));
$this->parent = $this->loadTemplate("layout/layout.html.twig", "Trainings/training_listing.html.twig", 1);
yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 5
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_content(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
// line 6
yield "\t<!--Start Wrapper-->
\t<div
\t\tclass=\"wrapper\">
\t\t<!--Start Main Slider-->
\t\t<section class=\"main-slider-section product-main-slider\">
\t\t\t<div class=\"container container-lg\">
\t\t\t\t<div class=\"custom-slider singal-slider main-slider\">
\t\t\t\t\t<div class=\"slide\">
\t\t\t\t\t\t<div class=\"slide-media slide-media-desktop\">
\t\t\t\t\t\t\t<img src=\"/static/assets/images/All_Training_Desktop_Spotlight_Desktop.jpg\" alt=\"Training all banner image\"/>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"slide-media slide-media-mobile\">
\t\t\t\t\t\t\t<img src=\"/static/assets/images/All_Training_Desktop_Spotlight_Mobile.jpg\" alt=\"Training all banner image mobile\"/>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"silde-content-box\">
\t\t\t\t\t\t\t<div class=\"slide-content\">
\t\t\t\t\t\t\t\t<h1>
\t\t\t\t\t\t\t\t\t<span class=\"title-sm d-block\">";
// line 29
yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "input", "training_list_heading1");
yield "</span>
\t\t\t\t\t\t\t\t\t<span class=\"title-lg underline-end\">";
// line 30
yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "input", "training_list_heading2");
yield "</u>
\t\t\t\t\t\t\t\t</h3>
\t\t\t\t\t\t\t</h1>
\t\t\t\t\t\t\t<a href=\"javascript:void(0)\" class=\"btn btn-custom btn-overlay d-none\">Discover More</a>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"product-brand d-none\">
\t\t\t\t\t\t\t<img src=\"/static/assets/images/goody_logo.png\" alt=\"goody logo\"/>
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</div>
\t\t</div>
\t</section>
\t<!--End Main Slider-->
\t<!--Start Breadcrumbs-->
\t<div class=\"breadcrumb-holder\">
\t\t<ol class=\"breadcrumb\">
\t\t\t<li class=\"breadcrumb-item\">
\t\t\t\t<a href=\"/";
// line 51
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 51, $this->source); })()), "request", [], "any", false, false, false, 51), "locale", [], "any", false, false, false, 51), "html", null, true);
yield "\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Home"), "html", null, true);
yield "</a>
\t\t\t</li>
\t\t\t<li class=\"breadcrumb-item\">
\t\t\t\t<a href=\"/";
// line 54
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 54, $this->source); })()), "request", [], "any", false, false, false, 54), "locale", [], "any", false, false, false, 54), "html", null, true);
yield "/professional-training\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Training"), "html", null, true);
yield "</a>
\t\t\t</li>
\t\t\t<li class=\"breadcrumb-item active\" aria-current=\"page\">
\t\t\t\t";
// line 57
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("All Training"), "html", null, true);
yield "
\t\t\t</li>
\t\t</ol>
\t</div>
\t<!--End Breadcrumbs-->
\t<!--Start Page Info Section-->
\t<section class=\"pageinfo-section\">
\t\t<div class=\"container container-sm\">
\t\t\t<h2 class=\"title\">";
// line 66
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("All Training"), "html", null, true);
yield "</h2>
\t\t\t";
// line 77
yield "\t\t\t<p>";
yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "input", "training_list_description");
yield "</p>
\t\t</div>
\t</section>
\t<!--End Page Info Section-->
\t<!--Start Product Box-->
\t<section class=\"product-result-container culinary-programs-training-section-last\">
\t\t<div class=\"container container-sm\">
\t\t\t<div class=\"row\">
\t\t\t\t<div class=\"col-12 col-md-12 col-xl-3 filter-box\">
\t\t\t\t\t<h4 class=\"title\">";
// line 87
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Filters"), "html", null, true);
yield "</h4>
\t\t\t\t\t<div class=\"filder-options\">
\t\t\t\t\t\t<div class=\"input-holder\">
\t\t\t\t\t\t\t<input type=\"text\" placeholder=\"";
// line 90
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Search for Training"), "html", null, true);
yield "\" class=\"input-holder-training\" id=\"search\" value=\"";
yield (((!Twig\Extension\CoreExtension::testEmpty((isset($context["filters"]) || array_key_exists("filters", $context) ? $context["filters"] : (function () { throw new RuntimeError('Variable "filters" does not exist.', 90, $this->source); })())))) ? ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["filters"]) || array_key_exists("filters", $context) ? $context["filters"] : (function () { throw new RuntimeError('Variable "filters" does not exist.', 90, $this->source); })()), "query", [], "any", false, false, false, 90), "html", null, true)) : (""));
yield "\"/>
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t\t<div class=\"filter-accordion\">
\t\t\t\t\t\t<div class=\"card filter-card d-none\" id=\"filter1\">
\t\t\t\t\t\t\t<div class=\"card-header d-none\">
\t\t\t\t\t\t\t\t<button type=\"button\" data-toggle=\"collapse\" data-target=\"#collapse1\" aria-expanded=\"true\" aria-controls=\"collapse1\">
\t\t\t\t\t\t\t\t\tCategory
\t\t\t\t\t\t\t\t</button>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t<div id=\"collapse1\" class=\"collapse show\" data-parent=\"#filter1\">
\t\t\t\t\t\t\t\t<div class=\"card-body d-none\">
\t\t\t\t\t\t\t\t\t<ul class=\"list-unstyled check-list\">
\t\t\t\t\t\t\t\t\t\t";
// line 104
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["trainCat"]) || array_key_exists("trainCat", $context) ? $context["trainCat"] : (function () { throw new RuntimeError('Variable "trainCat" does not exist.', 104, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["cat"]) {
// line 105
yield "\t\t\t\t\t\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t\t\t\t\t\t<input class=\"styled-checkbox category_checkbox\" id=\"";
// line 106
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["cat"], "id", [], "any", false, false, false, 106), "html", null, true);
yield "\" type=\"checkbox\" value=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["cat"], "id", [], "any", false, false, false, 106), "html", null, true);
yield "\" ";
yield ((((!Twig\Extension\CoreExtension::testEmpty((isset($context["filters"]) || array_key_exists("filters", $context) ? $context["filters"] : (function () { throw new RuntimeError('Variable "filters" does not exist.', 106, $this->source); })()))) && CoreExtension::inFilter(CoreExtension::getAttribute($this->env, $this->source, $context["cat"], "id", [], "any", false, false, false, 106), CoreExtension::getAttribute($this->env, $this->source, (isset($context["filters"]) || array_key_exists("filters", $context) ? $context["filters"] : (function () { throw new RuntimeError('Variable "filters" does not exist.', 106, $this->source); })()), "category_ids", [], "any", false, false, false, 106)))) ? ("checked") : (""));
yield "/>
\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"";
// line 107
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["cat"], "id", [], "any", false, false, false, 107), "html", null, true);
yield "\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["cat"], "trainCateName", [], "any", false, false, false, 107), "html", null, true);
yield "</label>
\t\t\t\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['cat'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 110
yield "\t\t\t\t\t\t\t\t\t</ul>
\t\t\t\t\t\t\t\t\t<div class=\"btn-holder clear-filter\">
\t\t\t\t\t\t\t\t\t\t<a href=\"javascript:void(0)\" class=\"btn btn-link\" onclick=\"clearFilter('.category_checkbox')\">";
// line 112
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Clear Filter"), "html", null, true);
yield "</a>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"card filter-card\" id=\"filter2\">
\t\t\t\t\t\t\t<div class=\"card-header\">
\t\t\t\t\t\t\t\t<button type=\"button\" data-toggle=\"collapse\" data-target=\"#collapse2\" aria-expanded=\"true\" aria-controls=\"collapse2\">
\t\t\t\t\t\t\t\t\t";
// line 120
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Chefs"), "html", null, true);
yield "
\t\t\t\t\t\t\t\t</button>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t<div id=\"collapse2\" class=\"collapse show\" data-parent=\"#filter2\">
\t\t\t\t\t\t\t\t<div class=\"card-body\">
\t\t\t\t\t\t\t\t\t<ul class=\"list-unstyled check-list\">
\t\t\t\t\t\t\t\t\t\t";
// line 128
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["chefs"]) || array_key_exists("chefs", $context) ? $context["chefs"] : (function () { throw new RuntimeError('Variable "chefs" does not exist.', 128, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["chef"]) {
// line 129
yield "\t\t\t\t\t\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t\t\t\t\t\t<input class=\"styled-checkbox chef_checkbox\" id=\"";
// line 130
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["chef"], "id", [], "any", false, false, false, 130), "html", null, true);
yield "\" type=\"checkbox\" value=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["chef"], "id", [], "any", false, false, false, 130), "html", null, true);
yield "\" ";
yield ((((!Twig\Extension\CoreExtension::testEmpty((isset($context["filters"]) || array_key_exists("filters", $context) ? $context["filters"] : (function () { throw new RuntimeError('Variable "filters" does not exist.', 130, $this->source); })()))) && CoreExtension::inFilter(CoreExtension::getAttribute($this->env, $this->source, $context["chef"], "id", [], "any", false, false, false, 130), CoreExtension::getAttribute($this->env, $this->source, (isset($context["filters"]) || array_key_exists("filters", $context) ? $context["filters"] : (function () { throw new RuntimeError('Variable "filters" does not exist.', 130, $this->source); })()), "chef_ids", [], "any", false, false, false, 130)))) ? ("checked") : (""));
yield "/>
\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"";
// line 131
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["chef"], "id", [], "any", false, false, false, 131), "html", null, true);
yield "\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["chef"], "chef_name", [], "any", false, false, false, 131), "html", null, true);
yield "</label>
\t\t\t\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['chef'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 134
yield "\t\t\t\t\t\t\t\t\t</ul>
\t\t\t\t\t\t\t\t\t<div class=\"btn-holder clear-filter\">
\t\t\t\t\t\t\t\t\t\t<a href=\"javascript:void(0)\" class=\"btn btn-link\" onclick=\"clearFilter('.chef_checkbox')\">";
// line 136
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Clear Filter"), "html", null, true);
yield "</a>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"card filter-card d-none\" id=\"filter4\">
\t\t\t\t\t\t\t<div class=\"card-header\">
\t\t\t\t\t\t\t\t<button type=\"button\" data-toggle=\"collapse\" data-target=\"#collapse4\" aria-expanded=\"true\" aria-controls=\"collapse4\">
\t\t\t\t\t\t\t\t\tType
\t\t\t\t\t\t\t\t</button>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t<div id=\"collapse4\" class=\"collapse show\" data-parent=\"#filter4\">
\t\t\t\t\t\t\t\t<div class=\"card-body\">
\t\t\t\t\t\t\t\t\t<ul class=\"list-unstyled check-list\">
\t\t\t\t\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t\t\t\t\t<input class=\"styled-checkbox type_checkbox\" id=\"breakfast\" type=\"checkbox\" value=\"Type Name 01\"/>
\t\t\t\t\t\t\t\t\t\t\t<label for=\"breakfast\">Type Name 01</label>
\t\t\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t\t\t\t\t<input class=\"styled-checkbox type_checkbox\" id=\"brunch\" type=\"checkbox\" value=\"Type Name 02\"/>
\t\t\t\t\t\t\t\t\t\t\t<label for=\"brunch\">Type Name 02</label>
\t\t\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t\t\t\t\t<input class=\"styled-checkbox type_checkbox\" id=\"lunch\" type=\"checkbox\" value=\"Type Name 03\"/>
\t\t\t\t\t\t\t\t\t\t\t<label for=\"lunch\">Type Name 03</label>
\t\t\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t\t\t\t\t<input class=\"styled-checkbox type_checkbox\" id=\"supper\" type=\"checkbox\" value=\"Type Name 04\"/>
\t\t\t\t\t\t\t\t\t\t\t<label for=\"supper\">Type Name 04</label>
\t\t\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t\t\t\t\t<input class=\"styled-checkbox type_checkbox\" id=\"dinner\" type=\"checkbox\" value=\"Type Name 05\"/>
\t\t\t\t\t\t\t\t\t\t\t<label for=\"dinner\">Type Name 05</label>
\t\t\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t\t\t\t\t<input class=\"styled-checkbox type_checkbox\" id=\"dessert\" type=\"checkbox\" value=\"Type Name 06\"/>
\t\t\t\t\t\t\t\t\t\t\t<label for=\"dessert\">Type Name 06</label>
\t\t\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t\t\t\t\t<input class=\"styled-checkbox type_checkbox\" id=\"elevenses\" type=\"checkbox\" value=\"Type Name 07\"/>
\t\t\t\t\t\t\t\t\t\t\t<label for=\"elevenses\">Type Name 07</label>
\t\t\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t\t\t\t\t<input class=\"styled-checkbox type_checkbox\" id=\"tea\" type=\"checkbox\" value=\"Type Name 08\"/>
\t\t\t\t\t\t\t\t\t\t\t<label for=\"tea\">Type Name 08</label>
\t\t\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t\t</ul>
\t\t\t\t\t\t\t\t\t<div class=\"btn-holder clear-filter\">
\t\t\t\t\t\t\t\t\t\t<a href=\"javascript:void(0)\" class=\"btn btn-link\">";
// line 186
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Clear Filter"), "html", null, true);
yield "</a>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"apply-filter\">
\t\t\t\t\t\t\t<a href=\"javascript:void(0)\" class=\"btn btn-custom btn-green\" onclick=\"searchFilter(this)\">";
// line 192
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Apply Filter"), "html", null, true);
yield "</a>
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t\t<div
\t\t\t\t\tclass=\"col-12 col-md-12 col-xl-9 product-results\">
\t\t\t\t\t<!--Start Product Small Banner-->
\t\t\t\t\t<div class=\"social-holder-box social-small-box catalog-download all-training-box all-training-box-2\">
\t\t\t\t\t\t<div class=\"social-holder-img all-training-img slide-media-desktop\">
\t\t\t\t\t\t\t<img src=\"/static/assets/images/485x166_desktop.jpg\" alt=\"small banner desktop\"/>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"social-holder-img all-training-img slide-media-mobile\">
\t\t\t\t\t\t\t<img src=\"/static/assets/images/374x128_mobile.jpg\" alt=\"small banner mobile\"/>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"social-holder-info all-training-info all-website-social\">
\t\t\t\t\t\t\t<div class=\"all-training-info-para\">
\t\t\t\t\t\t\t\t<p>";
// line 209
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("what do you wish to learn today"), "html", null, true);
yield "</p>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t<div class=\"main-training-search-box-btn btn-border\">
\t\t\t\t\t\t\t\t<a href=\"javascript:void(0)\" class=\"btn btn-custom btn-lg-o-white training-btn\">";
// line 213
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Find a Training"), "html", null, true);
yield "
\t\t\t\t\t\t\t\t\t<img src=\"/static/assets/images/cooker-blue.svg\" alt=\"chef-cap\"/></a>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t\t<!--End Product Small Banner-->
\t\t\t\t\t<div
\t\t\t\t\t\tclass=\"product-box-holder\">
\t\t\t\t\t\t<!--Start Featured Recipes Section-->
\t\t\t\t\t\t<section class=\"featured-recipes-section inner-frecipes-section all-training-section website-all-training\">
\t\t\t\t\t\t\t<div class=\"featured-recipes\">
\t\t\t\t\t\t\t\t<div
\t\t\t\t\t\t\t\t\tclass=\"all-training-recip\">
\t\t\t\t\t\t\t\t\t";
// line 227
yield "\t\t\t\t\t\t\t\t\t";
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["videos"]) || array_key_exists("videos", $context) ? $context["videos"] : (function () { throw new RuntimeError('Variable "videos" does not exist.', 227, $this->source); })())) < 1)) {
// line 228
yield "\t\t\t\t\t\t\t\t\t\t<h3>No Training Found</h3>
\t\t\t\t\t\t\t\t\t";
}
// line 230
yield "\t\t\t\t\t\t\t\t\t";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["videos"]) || array_key_exists("videos", $context) ? $context["videos"] : (function () { throw new RuntimeError('Variable "videos" does not exist.', 230, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["vid"]) {
// line 231
yield "\t\t\t\t\t\t\t\t\t\t<div class=\"slide\">
\t\t\t\t\t\t\t\t\t\t\t<div class=\"slide-holder\">
\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"/";
// line 235
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 235, $this->source); })()), "request", [], "any", false, false, false, 235), "locale", [], "any", false, false, false, 235), "html", null, true);
yield "/training_detail1/";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["vid"], "turl", [], "any", false, false, false, 235), "html", null, true);
yield "\">
\t\t\t\t\t\t\t\t\t\t\t\t\t<figure class=\"slide-img\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img src=\"";
// line 237
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["vid"], "Videos", [], "any", false, false, false, 237), 0, [], "array", false, false, false, 237), "title_img", [], "any", false, false, false, 237), "data", [], "any", false, false, false, 237), "html", null, true);
yield "\" alt=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["vid"], "videoName", [], "any", false, false, false, 237), "html", null, true);
yield "\"/>
\t\t\t\t\t\t\t\t\t\t\t\t\t</figure>
\t\t\t\t\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"slide-content\">
\t\t\t\t\t\t\t\t\t\t\t\t\t<ul class=\"list-unstyled recipe-info\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"book-green\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 243
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["vid"], "lesson_count", [], "any", false, false, false, 243), "html", null, true);
yield "
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 244
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Lesson"), "html", null, true);
yield "</li>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"course-hour-box-content-lesson custom-basic-pdng\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span><img src=\"/static/assets/images/level-01.svg\" alt=\"level-01\"/></span>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 248
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["vid"], "level", [], "any", false, false, false, 248), "html", null, true);
yield "
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"feather-clock-green\">";
// line 251
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["vid"], "Videos", [], "any", false, false, false, 251), 0, [], "array", false, false, false, 251), "vid_duration", [], "array", false, false, false, 251), "data", [], "any", false, false, false, 251), "html", null, true);
yield "
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 252
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Sec"), "html", null, true);
yield "
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 258
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t\t\t\t\t\t</ul>
\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"frecipes-box\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"/";
// line 261
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 261, $this->source); })()), "request", [], "any", false, false, false, 261), "locale", [], "any", false, false, false, 261), "html", null, true);
yield "/training_detail1/";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["vid"], "turl", [], "any", false, false, false, 261), "html", null, true);
yield "\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<h3>";
// line 262
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["vid"], "videoName", [], "any", false, false, false, 262), "html", null, true);
yield "</h3>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</a>
\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\t\t\t";
// line 265
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["vid"], "details", [], "any", false, false, false, 265), "html", null, true);
yield "
\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\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 273
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
$context["user"] = CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 273, $this->source); })()), "session", [], "any", false, false, false, 273), "get", ["loginUserName"], "method", false, false, false, 273);
// line 274
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
if ( !(null === (isset($context["user"]) || array_key_exists("user", $context) ? $context["user"] : (function () { throw new RuntimeError('Variable "user" does not exist.', 274, $this->source); })()))) {
// line 275
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t<ul class=\"list-unstyled recipe-info\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"share\" onclick=\"loyaltyProgram(this,";
// line 277
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["vid"], "id", [], "any", false, false, false, 277), "html", null, true);
yield ",'";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["vid"], "videoName", [], "any", false, false, false, 277), "html", null, true);
yield "',10,'Training','Share')\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span onclick=\"sharemodal('Training','";
// line 278
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 278, $this->source); })()), "request", [], "any", false, false, false, 278), "getSchemeAndHttpHost", [], "method", false, false, false, 278) . "/") . CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 278, $this->source); })()), "request", [], "any", false, false, false, 278), "locale", [], "any", false, false, false, 278)) . "/training_detail/") . CoreExtension::getAttribute($this->env, $this->source, $context["vid"], "turl", [], "any", false, false, false, 278)), "html", null, true);
yield "','";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(" share skill knowledge with your friends"), "html", null, true);
yield "')\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Share"), "html", null, true);
yield "</span>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 280
if (CoreExtension::inFilter(CoreExtension::getAttribute($this->env, $this->source, $context["vid"], "id", [], "any", false, false, false, 280), (isset($context["Liked_training_list_Ids"]) || array_key_exists("Liked_training_list_Ids", $context) ? $context["Liked_training_list_Ids"] : (function () { throw new RuntimeError('Variable "Liked_training_list_Ids" does not exist.', 280, $this->source); })()))) {
// line 281
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class='liked'>";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Like"), "html", null, true);
yield "</li>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
} else {
// line 284
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"like training_list\" onclick=\"loyaltyProgram(this,";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["vid"], "id", [], "any", false, false, false, 284), "html", null, true);
yield ",'";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["vid"], "videoName", [], "any", false, false, false, 284), "html", null, true);
yield "',10,'Training','Like' , '";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 284, $this->source); })()), "request", [], "any", false, false, false, 284), "locale", [], "any", false, false, false, 284), "html", null, true);
yield "')\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Like"), "html", null, true);
yield "</li>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 287
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"download d-none\" onclick=\"loyaltyProgram(this,";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["vid"], "id", [], "any", false, false, false, 287), "html", null, true);
yield ",'";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["vid"], "videoName", [], "any", false, false, false, 287), "html", null, true);
yield "',10,'Training','Save')\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Download"), "html", null, true);
yield "</li>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</ul>
\t\t\t\t\t\t\t\t\t\t\t\t\t";
} else {
// line 290
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t<ul class=\"list-unstyled recipe-info\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"share\" onclick=\"sharemodal('Training','";
// line 292
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 292, $this->source); })()), "request", [], "any", false, false, false, 292), "getSchemeAndHttpHost", [], "method", false, false, false, 292) . "/") . CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 292, $this->source); })()), "request", [], "any", false, false, false, 292), "locale", [], "any", false, false, false, 292)) . "/training_detail/") . CoreExtension::getAttribute($this->env, $this->source, $context["vid"], "turl", [], "any", false, false, false, 292)), "html", null, true);
yield "','";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(" share skill knowledge with your friends"), "html", null, true);
yield "')\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Share"), "html", null, true);
yield "</li>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"like logged-out\">";
// line 293
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Like"), "html", null, true);
yield "</li>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"download d-none\">";
// line 294
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Download"), "html", null, true);
yield "</li>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</ul>
\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 297
yield "\t\t\t\t\t\t\t\t\t\t\t\t</div>
\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";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['vid'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 301
yield "\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</section>
\t\t\t\t\t\t<!--End Featured Recipes Section-->
\t\t\t\t\t\t<!--Start GFS Loyalty Program-->
\t\t\t\t\t\t";
// line 306
yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "areablock", "content-loyalty", ["allowed" => ["loyalty-banner"]]);
// line 311
yield "
\t\t\t\t\t\t<div class=\"info-media loyalty-program loyalty-program-small loyalty-program-listing-inner loyalty-program-inner culinary-loyalty d-none\">
\t\t\t\t\t\t\t<div class=\"info-section\">
\t\t\t\t\t\t\t\t<h5>";
// line 314
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Loyalty Program"), "html", null, true);
yield "</h5>
\t\t\t\t\t\t\t\t<h4>";
// line 315
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["loyaltybanner"]) || array_key_exists("loyaltybanner", $context) ? $context["loyaltybanner"] : (function () { throw new RuntimeError('Variable "loyaltybanner" does not exist.', 315, $this->source); })()), "sliders", [], "any", false, false, false, 315), 0, [], "array", false, false, false, 315), "localizedfields", [], "any", false, false, false, 315), "data", [], "any", false, false, false, 315), "getLocalizedValue", ["heading"], "method", false, false, false, 315), "html", null, true);
yield "</h4>
\t\t\t\t\t\t\t\t<h3>";
// line 316
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["loyaltybanner"]) || array_key_exists("loyaltybanner", $context) ? $context["loyaltybanner"] : (function () { throw new RuntimeError('Variable "loyaltybanner" does not exist.', 316, $this->source); })()), "sliders", [], "any", false, false, false, 316), 0, [], "array", false, false, false, 316), "localizedfields", [], "any", false, false, false, 316), "data", [], "any", false, false, false, 316), "getLocalizedValue", ["heading1"], "method", false, false, false, 316), "html", null, true);
yield "</h3>
\t\t\t\t\t\t\t\t<p>";
// line 317
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["loyaltybanner"]) || array_key_exists("loyaltybanner", $context) ? $context["loyaltybanner"] : (function () { throw new RuntimeError('Variable "loyaltybanner" does not exist.', 317, $this->source); })()), "sliders", [], "any", false, false, false, 317), 0, [], "array", false, false, false, 317), "localizedfields", [], "any", false, false, false, 317), "data", [], "any", false, false, false, 317), "getLocalizedValue", ["description"], "method", false, false, false, 317), "html", null, true);
yield "</p>
\t\t\t\t\t\t\t\t<div class=\"btn-holder \">
\t\t\t\t\t\t\t\t\t<div class=\"btn-border\">
\t\t\t\t\t\t\t\t\t\t<a href=\"/";
// line 321
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 321, $this->source); })()), "request", [], "any", false, false, false, 321), "locale", [], "any", false, false, false, 321), "html", null, true);
yield "/loyalty-program\" class=\"btn btn-custom btn-green\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Discover More"), "html", null, true);
yield "</a>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t<div class=\"newsletter-subscribe\">
\t\t\t\t\t\t\t\t\t\t<h4 class=\"cstsmLP\">\"";
// line 324
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Coming Soon"), "html", null, true);
yield "\"</h4>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t";
// line 327
if ((null === CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 327, $this->source); })()), "session", [], "any", false, false, false, 327), "get", ["loginUserName"], "method", false, false, false, 327))) {
// line 328
yield "\t\t\t\t\t\t\t\t\t\t<div class=\"btn-border btn-border-black d-none\">
\t\t\t\t\t\t\t\t\t\t\t<a href=\"/";
// line 329
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 329, $this->source); })()), "request", [], "any", false, false, false, 329), "locale", [], "any", false, false, false, 329), "html", null, true);
yield "/signup\" class=\"btn btn-custom btn-lg-o-black\">Sign-up Now!</a>
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t";
}
// line 332
yield "\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t<div class=\"media-section\">
\t\t\t\t\t\t\t\t<img src=\"";
// line 336
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["loyaltybanner"]) || array_key_exists("loyaltybanner", $context) ? $context["loyaltybanner"] : (function () { throw new RuntimeError('Variable "loyaltybanner" does not exist.', 336, $this->source); })()), "sliders", [], "any", false, false, false, 336), 0, [], "array", false, false, false, 336), "slider_image", [], "any", false, false, false, 336), "data", [], "any", false, false, false, 336), "html", null, true);
yield "\" alt=\"loyalty banner\"/>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<!--End GFS Loyalty Program-->
\t\t\t\t\t\t<section class=\"
\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\t\t\t\t\t\t\t\t\t\t featured-recipes-section
\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\t\t\t\t\t\t\t\t\t\t inner-frecipes-section
\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\t\t\t\t\t\t\t\t\t\t chef-special-dish
\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\t\t\t\t\t\t\t\t\t\t training-featured-section
\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\t\t\t\t\t\t\t\t\t\t \">
\t\t\t\t\t\t\t<div class=\"featured-recipes\">
\t\t\t\t\t\t\t\t<div class=\"
\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\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t custom-slider
\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\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t featured-recipes-slider
\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\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t all-training-recip
\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\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";
// line 352
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(Twig\Extension\CoreExtension::slice($this->env->getCharset(), (isset($context["videos"]) || array_key_exists("videos", $context) ? $context["videos"] : (function () { throw new RuntimeError('Variable "videos" does not exist.', 352, $this->source); })()), 6, 6));
foreach ($context['_seq'] as $context["_key"] => $context["vid"]) {
// line 353
yield "\t\t\t\t\t\t\t\t\t\t<div class=\"slide\">
\t\t\t\t\t\t\t\t\t\t\t<div class=\"slide-holder\">
\t\t\t\t\t\t\t\t\t\t\t\t<figure class=\"slide-img\">
\t\t\t\t\t\t\t\t\t\t\t\t\t<img src=\"";
// line 356
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["vid"], "Videos", [], "any", false, false, false, 356), 0, [], "array", false, false, false, 356), "title_img", [], "any", false, false, false, 356), "data", [], "any", false, false, false, 356), "html", null, true);
yield "\" alt=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["vid"], "videoName", [], "any", false, false, false, 356), "html", null, true);
yield "\"/>
\t\t\t\t\t\t\t\t\t\t\t\t</figure>
\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"slide-content\">
\t\t\t\t\t\t\t\t\t\t\t\t\t<ul class=\"list-unstyled recipe-info\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"book-green\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 361
yield (((CoreExtension::getAttribute($this->env, $this->source, $context["vid"], "lesson_count", [], "any", false, false, false, 361) == 1)) ? ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((CoreExtension::getAttribute($this->env, $this->source, $context["vid"], "lesson_count", [], "any", false, false, false, 361) . " Lesson"), "html", null, true)) : ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((CoreExtension::getAttribute($this->env, $this->source, $context["vid"], "lesson_count", [], "any", false, false, false, 361) . " Lessons"), "html", null, true)));
yield "</li>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\"feather-clock-green\">";
// line 368
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t\t\t\t\t\t</ul>
\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"frecipes-box\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<h3>";
// line 371
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["vid"], "videoName", [], "any", false, false, false, 371), "html", null, true);
yield "</h3>
\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\t\t\t";
// line 373
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["vid"], "details", [], "any", false, false, false, 373), "html", null, true);
yield "
\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\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 376
$context["user"] = CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 376, $this->source); })()), "session", [], "any", false, false, false, 376), "get", ["loginUserName"], "method", false, false, false, 376);
// line 377
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
if ( !(null === (isset($context["user"]) || array_key_exists("user", $context) ? $context["user"] : (function () { throw new RuntimeError('Variable "user" does not exist.', 377, $this->source); })()))) {
// line 378
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t<ul class=\"list-unstyled recipe-info\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"share\" onclick=\"loyaltyProgram(this,";
// line 379
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["vid"], "id", [], "any", false, false, false, 379), "html", null, true);
yield ",'";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["vid"], "videoName", [], "any", false, false, false, 379), "html", null, true);
yield "',10,'Training','Share')\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Share"), "html", null, true);
yield "</li>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"like\" onclick=\"loyaltyProgram(this,";
// line 380
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["vid"], "id", [], "any", false, false, false, 380), "html", null, true);
yield ",'";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["vid"], "videoName", [], "any", false, false, false, 380), "html", null, true);
yield "',10,'Training','Like' , '";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 380, $this->source); })()), "request", [], "any", false, false, false, 380), "locale", [], "any", false, false, false, 380), "html", null, true);
yield "')\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Like"), "html", null, true);
yield "</li>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"save\" onclick=\"loyaltyProgram(this,";
// line 381
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["vid"], "id", [], "any", false, false, false, 381), "html", null, true);
yield ",'";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["vid"], "videoName", [], "any", false, false, false, 381), "html", null, true);
yield "',10,'Training','Save')\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Save"), "html", null, true);
yield "</li>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</ul>
\t\t\t\t\t\t\t\t\t\t\t\t\t";
} else {
// line 384
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t<ul class=\"list-unstyled recipe-info\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"share\">";
// line 385
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Share"), "html", null, true);
yield "</li>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"like logged-out\">";
// line 386
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Like"), "html", null, true);
yield "</li>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"save\">";
// line 387
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Save"), "html", null, true);
yield "</li>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</ul>
\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 390
yield "\t\t\t\t\t\t\t\t\t\t\t\t</div>
\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";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['vid'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 394
yield "\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t<div class=\"
\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\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t custom-slider
\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\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t featured-recipes-slider
\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\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t all-training-recip
\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\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=\"slide\">
\t\t\t\t\t\t\t\t\t\t<div class=\"new_div\"></div>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t<div class=\"
\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\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t custom-slider
\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\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t featured-recipes-slider
\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\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t all-training-recip
\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\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t \"></div>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</section>
\t\t\t\t\t\t\t<div class=\"load-more d-none\">
\t\t\t\t\t\t\t\t<a href=\"javascript:void(0)\" class=\"btn btn-custom btn-outline\" id=\"load-more\" onclick=\"loadMoreProduct()\">Load more</a>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</div>
\t\t</section>
\t\t<!--End Product Box-->
\t\t";
// line 421
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 421, $this->source); })()), "request", [], "any", false, false, false, 421), "locale", [], "any", false, false, false, 421) == "ar")) {
// line 422
yield "\t\t\t";
$context["topMenu"] = "/en/professional-training-culinary-programs";
// line 423
yield "\t\t";
} else {
// line 424
yield "\t\t\t";
$context["topMenu"] = "/ar/professional-training-culinary-programs";
// line 425
yield "\t\t";
}
// line 426
yield "\t\t<script>
\t\t\tvar _TopMenuLink = \"";
// line 427
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["topMenu"]) || array_key_exists("topMenu", $context) ? $context["topMenu"] : (function () { throw new RuntimeError('Variable "topMenu" does not exist.', 427, $this->source); })()), "html", null, true);
yield "\";
\t\t</script>
\t\t<script>
\t\t\tfunction searchFilter(e) {
let new_path = 'category_id=';
let new_chef = '&chef=';
let new_type = '&type=';
let category_count = 1
let type_count = 1
let query = '';
\$('.category_checkbox').each(function (index, value) {
if (\$(this).is(':checked')) {
if (category_count > 1) {
new_path += '_';
}
new_path += \$(this).val();
category_count++;
}
});
\$('.type_checkbox').each(function (index, value) {
if (\$(this).is(':checked')) {
if (type_count > 1) {
new_type += '_';
}
new_type += \$(this).val();
type_count++;
}
});
\$('.chef_checkbox').each(function (index, value) {
if (\$(this).is(':checked')) {
if (type_count > 1) {
new_chef += '_';
}
new_chef += \$(this).val();
type_count++;
}
});
if (\$('#search').val()) {
query = '&query=' + \$('#search').val();
}
window.location.href = '?' + new_path + new_type + new_chef + query;
}
function clearFilter(c) {
\$(c).each(function (index, value) {
\$(this).prop('checked', false);
});
}
let page = 1;
function loadMoreProduct() {
let add_query = '&';
if (!window.location.search) {
add_query = '?';
}
\$.ajax({
type: \"GET\",
url: window.location.href + add_query + 'page=' + page,
data: '',
cache: false,
beforeSend: function () {
\$('#load-more').addClass('btn-load');
},
complete: function () {
\$('#load-more').removeClass('btn-load');
},
success: function (data) {
if (data.success) {
\$('.new_div').append(data.success);
page++;
} else if (data.success == '') {
\$('#load-more').hide();
}
}
});
}
\t\t</script>
\t";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 517
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_footer(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer"));
// line 518
yield "\t\t";
yield from $this->loadTemplate("includes/footer.html.twig", "Trainings/training_listing.html.twig", 518)->unwrap()->yield($context);
// line 519
yield "\t";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "Trainings/training_listing.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
return array ( 908 => 519, 905 => 518, 892 => 517, 792 => 427, 789 => 426, 786 => 425, 783 => 424, 780 => 423, 777 => 422, 775 => 421, 746 => 394, 737 => 390, 731 => 387, 727 => 386, 723 => 385, 720 => 384, 710 => 381, 700 => 380, 692 => 379, 689 => 378, 686 => 377, 684 => 376, 678 => 373, 673 => 371, 668 => 368, 663 => 361, 653 => 356, 648 => 353, 644 => 352, 625 => 336, 619 => 332, 613 => 329, 610 => 328, 608 => 327, 602 => 324, 594 => 321, 587 => 317, 583 => 316, 579 => 315, 575 => 314, 570 => 311, 568 => 306, 561 => 301, 552 => 297, 546 => 294, 542 => 293, 534 => 292, 530 => 290, 519 => 287, 506 => 284, 499 => 281, 497 => 280, 488 => 278, 482 => 277, 478 => 275, 475 => 274, 472 => 273, 466 => 265, 460 => 262, 454 => 261, 449 => 258, 445 => 252, 441 => 251, 435 => 248, 428 => 244, 424 => 243, 413 => 237, 406 => 235, 400 => 231, 395 => 230, 391 => 228, 388 => 227, 372 => 213, 365 => 209, 345 => 192, 336 => 186, 283 => 136, 279 => 134, 268 => 131, 260 => 130, 257 => 129, 253 => 128, 242 => 120, 231 => 112, 227 => 110, 216 => 107, 208 => 106, 205 => 105, 201 => 104, 182 => 90, 176 => 87, 162 => 77, 158 => 66, 146 => 57, 138 => 54, 130 => 51, 106 => 30, 102 => 29, 77 => 6, 64 => 5, 41 => 1,);
}
public function getSourceContext(): Source
{
return new Source("{% extends \"layout/layout.html.twig\" %}
{# {% block title %}GFS::Training Listing{% endblock %} #}
{% block content %}
\t<!--Start Wrapper-->
\t<div
\t\tclass=\"wrapper\">
\t\t<!--Start Main Slider-->
\t\t<section class=\"main-slider-section product-main-slider\">
\t\t\t<div class=\"container container-lg\">
\t\t\t\t<div class=\"custom-slider singal-slider main-slider\">
\t\t\t\t\t<div class=\"slide\">
\t\t\t\t\t\t<div class=\"slide-media slide-media-desktop\">
\t\t\t\t\t\t\t<img src=\"/static/assets/images/All_Training_Desktop_Spotlight_Desktop.jpg\" alt=\"Training all banner image\"/>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"slide-media slide-media-mobile\">
\t\t\t\t\t\t\t<img src=\"/static/assets/images/All_Training_Desktop_Spotlight_Mobile.jpg\" alt=\"Training all banner image mobile\"/>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"silde-content-box\">
\t\t\t\t\t\t\t<div class=\"slide-content\">
\t\t\t\t\t\t\t\t<h1>
\t\t\t\t\t\t\t\t\t<span class=\"title-sm d-block\">{{ pimcore_input(\"training_list_heading1\") }}</span>
\t\t\t\t\t\t\t\t\t<span class=\"title-lg underline-end\">{{ pimcore_input(\"training_list_heading2\") }}</u>
\t\t\t\t\t\t\t\t</h3>
\t\t\t\t\t\t\t</h1>
\t\t\t\t\t\t\t<a href=\"javascript:void(0)\" class=\"btn btn-custom btn-overlay d-none\">Discover More</a>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"product-brand d-none\">
\t\t\t\t\t\t\t<img src=\"/static/assets/images/goody_logo.png\" alt=\"goody logo\"/>
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</div>
\t\t</div>
\t</section>
\t<!--End Main Slider-->
\t<!--Start Breadcrumbs-->
\t<div class=\"breadcrumb-holder\">
\t\t<ol class=\"breadcrumb\">
\t\t\t<li class=\"breadcrumb-item\">
\t\t\t\t<a href=\"/{{app.request.locale}}\">{{'Home'|trans}}</a>
\t\t\t</li>
\t\t\t<li class=\"breadcrumb-item\">
\t\t\t\t<a href=\"/{{app.request.locale}}/professional-training\">{{'Training'|trans}}</a>
\t\t\t</li>
\t\t\t<li class=\"breadcrumb-item active\" aria-current=\"page\">
\t\t\t\t{{'All Training'|trans}}
\t\t\t</li>
\t\t</ol>
\t</div>
\t<!--End Breadcrumbs-->
\t<!--Start Page Info Section-->
\t<section class=\"pageinfo-section\">
\t\t<div class=\"container container-sm\">
\t\t\t<h2 class=\"title\">{{'All Training'|trans}}</h2>
\t\t\t{# <p>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t At Goody we strive to cater to the needs of different food service
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t channels by offering a wide variety of food and beverages. Our
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t client base includes hotels, restaurants bakeries and catering
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t companies. By partnering with our clients, we are able to assist
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t them in sourcing the right ingredients to provide better meals for
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t their customers. Over the years, Goody professional has established its position
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t as a trusted food service supplier that continuously works to
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t enhance its clients’ experience.
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t </p> #}
\t\t\t<p>{{ pimcore_input(\"training_list_description\") }}</p>
\t\t</div>
\t</section>
\t<!--End Page Info Section-->
\t<!--Start Product Box-->
\t<section class=\"product-result-container culinary-programs-training-section-last\">
\t\t<div class=\"container container-sm\">
\t\t\t<div class=\"row\">
\t\t\t\t<div class=\"col-12 col-md-12 col-xl-3 filter-box\">
\t\t\t\t\t<h4 class=\"title\">{{'Filters'|trans}}</h4>
\t\t\t\t\t<div class=\"filder-options\">
\t\t\t\t\t\t<div class=\"input-holder\">
\t\t\t\t\t\t\t<input type=\"text\" placeholder=\"{{'Search for Training'|trans}}\" class=\"input-holder-training\" id=\"search\" value=\"{{ (filters is not empty) ? filters.query : '' }}\"/>
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t\t<div class=\"filter-accordion\">
\t\t\t\t\t\t<div class=\"card filter-card d-none\" id=\"filter1\">
\t\t\t\t\t\t\t<div class=\"card-header d-none\">
\t\t\t\t\t\t\t\t<button type=\"button\" data-toggle=\"collapse\" data-target=\"#collapse1\" aria-expanded=\"true\" aria-controls=\"collapse1\">
\t\t\t\t\t\t\t\t\tCategory
\t\t\t\t\t\t\t\t</button>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t<div id=\"collapse1\" class=\"collapse show\" data-parent=\"#filter1\">
\t\t\t\t\t\t\t\t<div class=\"card-body d-none\">
\t\t\t\t\t\t\t\t\t<ul class=\"list-unstyled check-list\">
\t\t\t\t\t\t\t\t\t\t{% for cat in trainCat %}
\t\t\t\t\t\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t\t\t\t\t\t<input class=\"styled-checkbox category_checkbox\" id=\"{{cat.id}}\" type=\"checkbox\" value=\"{{cat.id}}\" {{ (filters is not empty) and (cat.id in filters.category_ids) ? 'checked' : '' }}/>
\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"{{cat.id}}\">{{cat.trainCateName}}</label>
\t\t\t\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t\t</ul>
\t\t\t\t\t\t\t\t\t<div class=\"btn-holder clear-filter\">
\t\t\t\t\t\t\t\t\t\t<a href=\"javascript:void(0)\" class=\"btn btn-link\" onclick=\"clearFilter('.category_checkbox')\">{{'Clear Filter'|trans}}</a>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"card filter-card\" id=\"filter2\">
\t\t\t\t\t\t\t<div class=\"card-header\">
\t\t\t\t\t\t\t\t<button type=\"button\" data-toggle=\"collapse\" data-target=\"#collapse2\" aria-expanded=\"true\" aria-controls=\"collapse2\">
\t\t\t\t\t\t\t\t\t{{'Chefs'|trans}}
\t\t\t\t\t\t\t\t</button>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t<div id=\"collapse2\" class=\"collapse show\" data-parent=\"#filter2\">
\t\t\t\t\t\t\t\t<div class=\"card-body\">
\t\t\t\t\t\t\t\t\t<ul class=\"list-unstyled check-list\">
\t\t\t\t\t\t\t\t\t\t{% for chef in chefs %}
\t\t\t\t\t\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t\t\t\t\t\t<input class=\"styled-checkbox chef_checkbox\" id=\"{{chef.id}}\" type=\"checkbox\" value=\"{{chef.id}}\" {{ (filters is not empty) and (chef.id in filters.chef_ids) ? 'checked' : '' }}/>
\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"{{chef.id}}\">{{chef.chef_name}}</label>
\t\t\t\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t\t</ul>
\t\t\t\t\t\t\t\t\t<div class=\"btn-holder clear-filter\">
\t\t\t\t\t\t\t\t\t\t<a href=\"javascript:void(0)\" class=\"btn btn-link\" onclick=\"clearFilter('.chef_checkbox')\">{{'Clear Filter'|trans}}</a>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"card filter-card d-none\" id=\"filter4\">
\t\t\t\t\t\t\t<div class=\"card-header\">
\t\t\t\t\t\t\t\t<button type=\"button\" data-toggle=\"collapse\" data-target=\"#collapse4\" aria-expanded=\"true\" aria-controls=\"collapse4\">
\t\t\t\t\t\t\t\t\tType
\t\t\t\t\t\t\t\t</button>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t<div id=\"collapse4\" class=\"collapse show\" data-parent=\"#filter4\">
\t\t\t\t\t\t\t\t<div class=\"card-body\">
\t\t\t\t\t\t\t\t\t<ul class=\"list-unstyled check-list\">
\t\t\t\t\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t\t\t\t\t<input class=\"styled-checkbox type_checkbox\" id=\"breakfast\" type=\"checkbox\" value=\"Type Name 01\"/>
\t\t\t\t\t\t\t\t\t\t\t<label for=\"breakfast\">Type Name 01</label>
\t\t\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t\t\t\t\t<input class=\"styled-checkbox type_checkbox\" id=\"brunch\" type=\"checkbox\" value=\"Type Name 02\"/>
\t\t\t\t\t\t\t\t\t\t\t<label for=\"brunch\">Type Name 02</label>
\t\t\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t\t\t\t\t<input class=\"styled-checkbox type_checkbox\" id=\"lunch\" type=\"checkbox\" value=\"Type Name 03\"/>
\t\t\t\t\t\t\t\t\t\t\t<label for=\"lunch\">Type Name 03</label>
\t\t\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t\t\t\t\t<input class=\"styled-checkbox type_checkbox\" id=\"supper\" type=\"checkbox\" value=\"Type Name 04\"/>
\t\t\t\t\t\t\t\t\t\t\t<label for=\"supper\">Type Name 04</label>
\t\t\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t\t\t\t\t<input class=\"styled-checkbox type_checkbox\" id=\"dinner\" type=\"checkbox\" value=\"Type Name 05\"/>
\t\t\t\t\t\t\t\t\t\t\t<label for=\"dinner\">Type Name 05</label>
\t\t\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t\t\t\t\t<input class=\"styled-checkbox type_checkbox\" id=\"dessert\" type=\"checkbox\" value=\"Type Name 06\"/>
\t\t\t\t\t\t\t\t\t\t\t<label for=\"dessert\">Type Name 06</label>
\t\t\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t\t\t\t\t<input class=\"styled-checkbox type_checkbox\" id=\"elevenses\" type=\"checkbox\" value=\"Type Name 07\"/>
\t\t\t\t\t\t\t\t\t\t\t<label for=\"elevenses\">Type Name 07</label>
\t\t\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t\t\t\t\t<input class=\"styled-checkbox type_checkbox\" id=\"tea\" type=\"checkbox\" value=\"Type Name 08\"/>
\t\t\t\t\t\t\t\t\t\t\t<label for=\"tea\">Type Name 08</label>
\t\t\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t\t</ul>
\t\t\t\t\t\t\t\t\t<div class=\"btn-holder clear-filter\">
\t\t\t\t\t\t\t\t\t\t<a href=\"javascript:void(0)\" class=\"btn btn-link\">{{'Clear Filter'|trans}}</a>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"apply-filter\">
\t\t\t\t\t\t\t<a href=\"javascript:void(0)\" class=\"btn btn-custom btn-green\" onclick=\"searchFilter(this)\">{{'Apply Filter'|trans}}</a>
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t\t<div
\t\t\t\t\tclass=\"col-12 col-md-12 col-xl-9 product-results\">
\t\t\t\t\t<!--Start Product Small Banner-->
\t\t\t\t\t<div class=\"social-holder-box social-small-box catalog-download all-training-box all-training-box-2\">
\t\t\t\t\t\t<div class=\"social-holder-img all-training-img slide-media-desktop\">
\t\t\t\t\t\t\t<img src=\"/static/assets/images/485x166_desktop.jpg\" alt=\"small banner desktop\"/>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"social-holder-img all-training-img slide-media-mobile\">
\t\t\t\t\t\t\t<img src=\"/static/assets/images/374x128_mobile.jpg\" alt=\"small banner mobile\"/>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"social-holder-info all-training-info all-website-social\">
\t\t\t\t\t\t\t<div class=\"all-training-info-para\">
\t\t\t\t\t\t\t\t<p>{{'what do you wish to learn today'|trans}}</p>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t<div class=\"main-training-search-box-btn btn-border\">
\t\t\t\t\t\t\t\t<a href=\"javascript:void(0)\" class=\"btn btn-custom btn-lg-o-white training-btn\">{{'Find a Training'|trans}}
\t\t\t\t\t\t\t\t\t<img src=\"/static/assets/images/cooker-blue.svg\" alt=\"chef-cap\"/></a>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t\t<!--End Product Small Banner-->
\t\t\t\t\t<div
\t\t\t\t\t\tclass=\"product-box-holder\">
\t\t\t\t\t\t<!--Start Featured Recipes Section-->
\t\t\t\t\t\t<section class=\"featured-recipes-section inner-frecipes-section all-training-section website-all-training\">
\t\t\t\t\t\t\t<div class=\"featured-recipes\">
\t\t\t\t\t\t\t\t<div
\t\t\t\t\t\t\t\t\tclass=\"all-training-recip\">
\t\t\t\t\t\t\t\t\t{# {{dump(videos)}} #}
\t\t\t\t\t\t\t\t\t{% if videos|length < 1 %}
\t\t\t\t\t\t\t\t\t\t<h3>No Training Found</h3>
\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t{% for vid in videos %}
\t\t\t\t\t\t\t\t\t\t<div class=\"slide\">
\t\t\t\t\t\t\t\t\t\t\t<div class=\"slide-holder\">
\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"/{{app.request.locale}}/training_detail1/{{vid.turl}}\">
\t\t\t\t\t\t\t\t\t\t\t\t\t<figure class=\"slide-img\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img src=\"{{ vid.Videos[0].title_img.data }}\" alt=\"{{vid.videoName}}\"/>
\t\t\t\t\t\t\t\t\t\t\t\t\t</figure>
\t\t\t\t\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"slide-content\">
\t\t\t\t\t\t\t\t\t\t\t\t\t<ul class=\"list-unstyled recipe-info\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"book-green\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{vid.lesson_count}}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{'Lesson'|trans}}</li>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"course-hour-box-content-lesson custom-basic-pdng\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span><img src=\"/static/assets/images/level-01.svg\" alt=\"level-01\"/></span>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{vid.level}}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"feather-clock-green\">{{vid.Videos[0]['vid_duration'].data}}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{'Sec'|trans}}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{# {{ render(controller(
\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\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\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t 'App\\\\Helper\\\\VideoHelper::seconds2humanTimes',
\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\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\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t {'ss': vid.Videos[0][\"training_vid\"].getData().getData().getCustomSettings()['duration']}
\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\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\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\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\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 }} #}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t\t\t\t\t\t</ul>
\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"frecipes-box\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"/{{app.request.locale}}/training_detail1/{{vid.turl}}\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<h3>{{vid.videoName}}</h3>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</a>
\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\t\t\t{{vid.details}}
\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\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t{# <ul class=\"list-unstyled recipe-info\">
\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\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\t\t\t\t\t <li class=\"share\">Share</li>
\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\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\t\t\t\t\t <li class=\"like\">Like</li>
\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\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\t\t\t\t\t <li class=\"save\">Save</li>
\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\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\t\t\t\t\t </ul> #}
\t\t\t\t\t\t\t\t\t\t\t\t\t{% set user = app.session.get('loginUserName') %}
\t\t\t\t\t\t\t\t\t\t\t\t\t{% if user is not null %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<ul class=\"list-unstyled recipe-info\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"share\" onclick=\"loyaltyProgram(this,{{vid.id}},'{{vid.videoName}}',10,'Training','Share')\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span onclick=\"sharemodal('Training','{{ app.request.getSchemeAndHttpHost() ~ '/' ~ app.request.locale ~ '/training_detail/' ~ vid.turl}}','{{\" share skill knowledge with your friends\"|trans }}')\">{{'Share'|trans}}</span>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if vid.id in Liked_training_list_Ids %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class='liked'>{{'Like'|trans}}</li>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"like training_list\" onclick=\"loyaltyProgram(this,{{vid.id}},'{{vid.videoName}}',10,'Training','Like' , '{{app.request.locale}}')\">{{'Like'|trans}}</li>
\t\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\t\t<li class=\"download d-none\" onclick=\"loyaltyProgram(this,{{vid.id}},'{{vid.videoName}}',10,'Training','Save')\">{{'Download'|trans}}</li>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</ul>
\t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<ul class=\"list-unstyled recipe-info\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"share\" onclick=\"sharemodal('Training','{{ app.request.getSchemeAndHttpHost() ~ '/' ~ app.request.locale ~ '/training_detail/' ~ vid.turl}}','{{\" share skill knowledge with your friends\"|trans }}')\">{{'Share'|trans}}</li>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"like logged-out\">{{'Like'|trans}}</li>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"download d-none\">{{'Download'|trans}}</li>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</ul>
\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</div>
\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{% endfor %}
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</section>
\t\t\t\t\t\t<!--End Featured Recipes Section-->
\t\t\t\t\t\t<!--Start GFS Loyalty Program-->
\t\t\t\t\t\t{{
\t\t\t\t\t\t\tpimcore_areablock(\"content-loyalty\", {
\t\t\t\t\t\t\t\"allowed\": [\"loyalty-banner\"],
\t\t
\t\t\t\t\t\t\t})
\t\t\t\t\t\t}}
\t\t\t\t\t\t<div class=\"info-media loyalty-program loyalty-program-small loyalty-program-listing-inner loyalty-program-inner culinary-loyalty d-none\">
\t\t\t\t\t\t\t<div class=\"info-section\">
\t\t\t\t\t\t\t\t<h5>{{'Loyalty Program'|trans}}</h5>
\t\t\t\t\t\t\t\t<h4>{{ loyaltybanner.sliders[0].localizedfields.data.getLocalizedValue('heading')}}</h4>
\t\t\t\t\t\t\t\t<h3>{{ loyaltybanner.sliders[0].localizedfields.data.getLocalizedValue('heading1')}}</h3>
\t\t\t\t\t\t\t\t<p>{{ loyaltybanner.sliders[0].localizedfields.data.getLocalizedValue('description')}}</p>
\t\t\t\t\t\t\t\t<div class=\"btn-holder \">
\t\t\t\t\t\t\t\t\t<div class=\"btn-border\">
\t\t\t\t\t\t\t\t\t\t<a href=\"/{{app.request.locale}}/loyalty-program\" class=\"btn btn-custom btn-green\">{{'Discover More'|trans}}</a>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t<div class=\"newsletter-subscribe\">
\t\t\t\t\t\t\t\t\t\t<h4 class=\"cstsmLP\">\"{{'Coming Soon'|trans}}\"</h4>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t{% if app.session.get('loginUserName') is null %}
\t\t\t\t\t\t\t\t\t\t<div class=\"btn-border btn-border-black d-none\">
\t\t\t\t\t\t\t\t\t\t\t<a href=\"/{{app.request.locale}}/signup\" class=\"btn btn-custom btn-lg-o-black\">Sign-up Now!</a>
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t<div class=\"media-section\">
\t\t\t\t\t\t\t\t<img src=\"{{loyaltybanner.sliders[0].slider_image.data}}\" alt=\"loyalty banner\"/>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<!--End GFS Loyalty Program-->
\t\t\t\t\t\t<section class=\"
\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\t\t\t\t\t\t\t\t\t\t featured-recipes-section
\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\t\t\t\t\t\t\t\t\t\t inner-frecipes-section
\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\t\t\t\t\t\t\t\t\t\t chef-special-dish
\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\t\t\t\t\t\t\t\t\t\t training-featured-section
\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\t\t\t\t\t\t\t\t\t\t \">
\t\t\t\t\t\t\t<div class=\"featured-recipes\">
\t\t\t\t\t\t\t\t<div class=\"
\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\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t custom-slider
\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\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t featured-recipes-slider
\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\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t all-training-recip
\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\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{% for vid in videos | slice(6,6) %}
\t\t\t\t\t\t\t\t\t\t<div class=\"slide\">
\t\t\t\t\t\t\t\t\t\t\t<div class=\"slide-holder\">
\t\t\t\t\t\t\t\t\t\t\t\t<figure class=\"slide-img\">
\t\t\t\t\t\t\t\t\t\t\t\t\t<img src=\"{{ vid.Videos[0].title_img.data }}\" alt=\"{{vid.videoName}}\"/>
\t\t\t\t\t\t\t\t\t\t\t\t</figure>
\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"slide-content\">
\t\t\t\t\t\t\t\t\t\t\t\t\t<ul class=\"list-unstyled recipe-info\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"book-green\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{ (vid.lesson_count == 1)? vid.lesson_count ~ \" Lesson\" : vid.lesson_count ~ \" Lessons\" }}</li>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\"feather-clock-green\">{# {{ render(controller(
\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\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\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t 'App\\\\Helper\\\\VideoHelper::seconds2humanTimes',
\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\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\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t {'ss': vid.Videos[0][\"training_vid\"].getData().getData().getCustomSettings()['duration']}
\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\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\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\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\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\t\t\t\t\t\t\t\t\t\t }} #}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t\t\t\t\t\t</ul>
\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"frecipes-box\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<h3>{{vid.videoName}}</h3>
\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\t\t\t{{vid.details}}
\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\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t{% set user = app.session.get('loginUserName') %}
\t\t\t\t\t\t\t\t\t\t\t\t\t{% if user is not null %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<ul class=\"list-unstyled recipe-info\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"share\" onclick=\"loyaltyProgram(this,{{vid.id}},'{{vid.videoName}}',10,'Training','Share')\">{{'Share'|trans}}</li>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"like\" onclick=\"loyaltyProgram(this,{{vid.id}},'{{vid.videoName}}',10,'Training','Like' , '{{app.request.locale}}')\">{{'Like'|trans}}</li>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"save\" onclick=\"loyaltyProgram(this,{{vid.id}},'{{vid.videoName}}',10,'Training','Save')\">{{'Save'|trans}}</li>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</ul>
\t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<ul class=\"list-unstyled recipe-info\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"share\">{{'Share'|trans}}</li>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"like logged-out\">{{'Like'|trans}}</li>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"save\">{{'Save'|trans}}</li>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</ul>
\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</div>
\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{% endfor %}
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t<div class=\"
\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\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t custom-slider
\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\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t featured-recipes-slider
\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\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t all-training-recip
\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\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=\"slide\">
\t\t\t\t\t\t\t\t\t\t<div class=\"new_div\"></div>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t<div class=\"
\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\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t custom-slider
\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\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t featured-recipes-slider
\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\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t all-training-recip
\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\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t \"></div>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</section>
\t\t\t\t\t\t\t<div class=\"load-more d-none\">
\t\t\t\t\t\t\t\t<a href=\"javascript:void(0)\" class=\"btn btn-custom btn-outline\" id=\"load-more\" onclick=\"loadMoreProduct()\">Load more</a>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</div>
\t\t</section>
\t\t<!--End Product Box-->
\t\t{% if (app.request.locale =='ar') %}
\t\t\t{% set topMenu =\"/en/professional-training-culinary-programs\" %}
\t\t{% else %}
\t\t\t{% set topMenu =\"/ar/professional-training-culinary-programs\" %}
\t\t{% endif %}
\t\t<script>
\t\t\tvar _TopMenuLink = \"{{ topMenu }}\";
\t\t</script>
\t\t<script>
\t\t\tfunction searchFilter(e) {
let new_path = 'category_id=';
let new_chef = '&chef=';
let new_type = '&type=';
let category_count = 1
let type_count = 1
let query = '';
\$('.category_checkbox').each(function (index, value) {
if (\$(this).is(':checked')) {
if (category_count > 1) {
new_path += '_';
}
new_path += \$(this).val();
category_count++;
}
});
\$('.type_checkbox').each(function (index, value) {
if (\$(this).is(':checked')) {
if (type_count > 1) {
new_type += '_';
}
new_type += \$(this).val();
type_count++;
}
});
\$('.chef_checkbox').each(function (index, value) {
if (\$(this).is(':checked')) {
if (type_count > 1) {
new_chef += '_';
}
new_chef += \$(this).val();
type_count++;
}
});
if (\$('#search').val()) {
query = '&query=' + \$('#search').val();
}
window.location.href = '?' + new_path + new_type + new_chef + query;
}
function clearFilter(c) {
\$(c).each(function (index, value) {
\$(this).prop('checked', false);
});
}
let page = 1;
function loadMoreProduct() {
let add_query = '&';
if (!window.location.search) {
add_query = '?';
}
\$.ajax({
type: \"GET\",
url: window.location.href + add_query + 'page=' + page,
data: '',
cache: false,
beforeSend: function () {
\$('#load-more').addClass('btn-load');
},
complete: function () {
\$('#load-more').removeClass('btn-load');
},
success: function (data) {
if (data.success) {
\$('.new_div').append(data.success);
page++;
} else if (data.success == '') {
\$('#load-more').hide();
}
}
});
}
\t\t</script>
\t{% endblock %}
\t{% block footer %}
\t\t{% include \"includes/footer.html.twig\" %}
\t{% endblock %}
", "Trainings/training_listing.html.twig", "/var/www/vhosts/centric.ae/gcs.centric.ae/templates/Trainings/training_listing.html.twig");
}
}