<?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;
/* events/events.html.twig */
class __TwigTemplate_2d095905a4f16f8e586025dcdfe34aa4 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'],
];
}
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", "events/events.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "events/events.html.twig"));
$this->parent = $this->loadTemplate("layout/layout.html.twig", "events/events.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<!--Start Main Slider-->
\t\t<section class=\"main-slider-section product-main-slider product-event-slider event-page-slider\"> <div class=\"container container-lg\">
\t\t\t<div class=\"custom-slider singal-slider main-slider\">
\t\t\t\t<div class=\"slide\">
\t\t\t\t\t<div class=\"slide-media slide-media-desktop\">
\t\t\t\t\t\t<img
\t\t\t\t\t\tsrc=\"/static/assets/images/Events_Spotlight_desktop.jpg\" alt=\"Events Spotlight desktop\">
\t\t\t\t\t";
// line 19
yield "\t\t\t\t\t</div>
\t\t\t\t\t<div class=\"slide-media slide-media-mobile\">
\t\t\t\t\t\t<img
\t\t\t\t\t\tsrc=\"/static/assets/images/Events_Spotlight_mobile.jpg\" alt=\"Events Spotlight mobile\">
\t\t\t\t\t";
// line 25
yield "\t\t\t\t\t</div>
\t\t\t\t\t<div class=\"slide-content-box\">
\t\t\t\t\t\t<div class=\"slide-content-box-wrapper\">
\t\t\t\t\t\t\t<div class=\"slide-content-box-wrapper-date\">";
// line 30
yield "\t\t\t\t\t\t\t\t";
// line 31
yield "\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t<div class=\"slide-content-box-wrapper-name d-none\">
\t\t\t\t\t\t\t\t";
// line 33
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["recent_events"]) || array_key_exists("recent_events", $context) ? $context["recent_events"] : (function () { throw new RuntimeError('Variable "recent_events" does not exist.', 33, $this->source); })()), "e_name", [], "any", false, false, false, 33), "html", null, true);
yield "
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t<div class=\"slide-content-box-wrapper-list\">
\t\t\t\t\t\t\t\t<ul class=\"list-unstyled recipe-info\">
\t\t\t\t\t\t\t\t\t<li class=\"calendar-white\">N/A</li>
\t\t\t\t\t\t\t\t\t<li class=\"map-locator-white\">N/A</li>
\t\t\t\t\t\t\t\t\t";
// line 39
$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.', 39, $this->source); })()), "session", [], "any", false, false, false, 39), "get", ["loginUserName"], "method", false, false, false, 39);
// line 40
yield "\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.', 40, $this->source); })()))) {
// line 41
yield "\t\t\t\t\t\t\t\t\t\t<li class=\"share-white\" onclick=\"loyaltyProgram(this,";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["recent_events"]) || array_key_exists("recent_events", $context) ? $context["recent_events"] : (function () { throw new RuntimeError('Variable "recent_events" does not exist.', 41, $this->source); })()), "id", [], "any", false, false, false, 41), "html", null, true);
yield ",'";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["recent_events"]) || array_key_exists("recent_events", $context) ? $context["recent_events"] : (function () { throw new RuntimeError('Variable "recent_events" does not exist.', 41, $this->source); })()), "e_name", [], "any", false, false, false, 41), "html", null, true);
yield "',50,'Event','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";
} else {
// line 43
yield "\t\t\t\t\t\t\t\t\t\t<li class=\"share-white\">";
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";
}
// line 45
yield "\t\t\t\t\t\t\t\t</ul>
\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</div>
\t</section>
\t<!--End Main Slider-->
\t";
// line 55
yield "\t<!--Start Breadcrumbs-->
\t\t<div class=\"breadcrumb-holder\"> <ol class=\"breadcrumb\">
\t\t\t<li class=\"breadcrumb-item\">
\t\t\t\t<a href=\"/";
// line 58
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.', 58, $this->source); })()), "request", [], "any", false, false, false, 58), "locale", [], "any", false, false, false, 58), "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 61
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.', 61, $this->source); })()), "request", [], "any", false, false, false, 61), "locale", [], "any", false, false, false, 61), "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\">";
// line 63
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Events"), "html", null, true);
yield "</li>
\t\t</ol>
\t</div>
\t<!--End Breadcrumbs-->
\t<!--Start Info Media-->
\t<section class=\"info-media event-media event-page featureEvent feature_event\">
\t\t<div class=\"container container-sm\">
\t\t\t<div class=\"customflex\">
\t\t\t";
// line 72
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["featuredevents"]) || array_key_exists("featuredevents", $context) ? $context["featuredevents"] : (function () { throw new RuntimeError('Variable "featuredevents" does not exist.', 72, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["FeaturedEvent"]) {
// line 73
yield "\t\t\t\t<div class=\"info-section\">
\t\t\t\t\t<h5>";
// line 74
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Featured Event"), "html", null, true);
yield "</h5>
\t\t\t\t\t<h1>";
// line 75
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["FeaturedEvent"], "e_name", [], "any", false, false, false, 75), "html", null, true);
yield "</h1>
\t\t\t\t\t<p>";
// line 76
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["FeaturedEvent"], "e_description", [], "any", false, false, false, 76), "html", null, true);
yield "
\t\t\t\t\t</p>
\t\t\t\t\t";
// line 78
if ((CoreExtension::getAttribute($this->env, $this->source, $context["FeaturedEvent"], "date_time", [], "any", false, false, false, 78) > $this->extensions['Twig\Extension\CoreExtension']->formatDate("now", "Y-m-d H:i"))) {
// line 79
yield "\t\t\t\t\t\t<ul class=\"list-unstyled recipe-info in-column\">
\t\t\t\t\t\t\t<li class=\"calendar-white\">";
// line 80
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["FeaturedEvent"], "dateandtime", [], "any", false, false, false, 80), "html", null, true);
yield "</li>
\t\t\t\t\t\t\t<li class=\"map-locator-white\">";
// line 81
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["FeaturedEvent"], "location", [], "any", false, false, false, 81), "html", null, true);
yield "</li>
\t\t\t\t\t\t</ul>
\t\t\t\t\t";
}
// line 84
yield "\t\t\t\t\t<div class=\"btn-holder\">
\t\t\t\t\t\t<div class=\"btn-border\">
\t\t\t\t\t\t\t<a href=\"/";
// line 86
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.', 86, $this->source); })()), "request", [], "any", false, false, false, 86), "locale", [], "any", false, false, false, 86), "html", null, true);
yield "/events/";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["FeaturedEvent"], "url", [], "any", false, false, false, 86), "html", null, true);
yield "\" class=\"btn btn-custom btn-lg-o-wblack\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("View Event"), "html", null, true);
yield "</a>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t";
// line 88
$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.', 88, $this->source); })()), "session", [], "any", false, false, false, 88), "get", ["loginUserName"], "method", false, false, false, 88);
// line 89
yield "\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.', 89, $this->source); })()))) {
// line 90
yield "\t\t\t\t\t\t\t<ul class=\"list-unstyled recipe-info\">
\t\t\t\t\t\t\t\t<li class=\"share-white\" onclick=\"loyaltyProgram(this,";
// line 91
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["FeaturedEvent"], "id", [], "any", false, false, false, 91), "html", null, true);
yield ",'";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["FeaturedEvent"], "e_name", [], "any", false, false, false, 91), "html", null, true);
yield "',50,'Event','Share')\">
\t\t\t\t\t\t\t\t\t<span onclick=\"sharemodal('Event','";
// line 92
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.', 92, $this->source); })()), "request", [], "any", false, false, false, 92), "getSchemeAndHttpHost", [], "method", false, false, false, 92) . "/") . 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.', 92, $this->source); })()), "request", [], "any", false, false, false, 92), "locale", [], "any", false, false, false, 92)) . "/events/") . CoreExtension::getAttribute($this->env, $this->source, $context["FeaturedEvent"], "url", [], "any", false, false, false, 92)), "html", null, true);
yield "','";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(" share event 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</li>
\t\t\t\t\t\t\t</ul>
\t\t\t\t\t\t";
} else {
// line 96
yield "\t\t\t\t\t\t\t<ul class=\"list-unstyled recipe-info\">
\t\t\t\t\t\t\t\t<li class=\"share-white\" onclick=\"sharemodal('Event','";
// line 97
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.', 97, $this->source); })()), "request", [], "any", false, false, false, 97), "getSchemeAndHttpHost", [], "method", false, false, false, 97) . "/") . 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.', 97, $this->source); })()), "request", [], "any", false, false, false, 97), "locale", [], "any", false, false, false, 97)) . "/events/") . CoreExtension::getAttribute($this->env, $this->source, $context["FeaturedEvent"], "url", [], "any", false, false, false, 97)), "html", null, true);
yield "','";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(" share event 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</ul>
\t\t\t\t\t\t";
}
// line 100
yield "\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t\t<div class=\"media-section\">
\t\t\t\t
\t\t\t\t\t\t";
// line 105
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.', 105, $this->source); })()), "request", [], "any", false, false, false, 105), "locale", [], "any", false, false, false, 105) == "ar")) {
// line 106
yield "\t\t\t\t\t\t\t";
if (CoreExtension::getAttribute($this->env, $this->source, $context["FeaturedEvent"], "eventImageAr", [], "any", false, false, false, 106)) {
// line 107
yield "\t\t\t\t\t\t\t\t<video poster=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["FeaturedEvent"], "eventImageAr", [], "any", false, false, false, 107), "html", null, true);
yield "\"></video>
\t\t\t\t\t\t\t";
}
// line 109
yield "\t\t\t\t\t\t";
} else {
// line 110
yield "\t\t\t\t\t\t\t";
if (CoreExtension::getAttribute($this->env, $this->source, $context["FeaturedEvent"], "event_image", [], "any", false, false, false, 110)) {
// line 111
yield "\t\t\t\t\t\t\t\t<video poster=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["FeaturedEvent"], "event_image", [], "any", false, false, false, 111), "html", null, true);
yield "\"></video>
\t\t\t\t\t\t\t";
}
// line 113
yield "\t\t\t\t\t\t";
}
// line 114
yield "\t\t\t\t\t
\t\t\t\t\t\t
\t\t\t\t\t";
// line 118
yield "\t\t\t\t\t\t";
// line 119
yield "\t\t\t\t\t\t";
// line 121
yield "\t\t\t\t\t";
// line 125
yield "\t\t\t\t</div>
\t\t\t</div>
\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['FeaturedEvent'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 128
yield "
\t\t</div>
\t</section>
\t<!--End Info Media-->
\t";
// line 133
$context["DataValue"] = CoreExtension::getAttribute($this->env, $this->source, 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.', 133, $this->source); })()), "request", [], "any", false, false, false, 133), "query", [], "any", false, false, false, 133), "get", ["data"], "method", false, false, false, 133);
// line 134
yield "\t<!--Start Featured Recipes Section-->
\t<section class=\"featured-recipes-section inner-frecipes-section all-event-section\" id=\"results\">
\t\t<div class=\"container container-sm\">
\t\t\t<div class=\"event-selection-dropdown\">
\t\t\t\t<div class=\"event-heading\">
\t\t\t\t\t<h2 class=\"heading\">";
// line 139
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("All Events "), "html", null, true);
yield "</h2>
\t\t\t\t</div>
\t\t\t\t<div class=\"event-dropdown\">
\t\t\t\t\t<div class=\"select-holder event-dropdown-holder\">
\t\t\t\t\t\t<div class=\"custom-dropdown calendar\">
\t\t\t\t\t\t\t<select
\t\t\t\t\t\t\t\tclass=\"form-control\" id=\"event_name\" name=\"event_name\">
\t\t\t\t\t\t\t\t";
// line 147
yield "\t\t\t\t\t\t\t\t<option value=\"Past_Events\" ";
yield ((((isset($context["DataValue"]) || array_key_exists("DataValue", $context) ? $context["DataValue"] : (function () { throw new RuntimeError('Variable "DataValue" does not exist.', 147, $this->source); })()) == "Past_Events")) ? ("selected") : (""));
yield ">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Past Events"), "html", null, true);
yield "</option>
\t\t\t\t\t\t\t\t<option value=\"Upcoming_Events\" ";
// line 148
yield ((((isset($context["DataValue"]) || array_key_exists("DataValue", $context) ? $context["DataValue"] : (function () { throw new RuntimeError('Variable "DataValue" does not exist.', 148, $this->source); })()) == "Upcoming_Events")) ? ("selected") : (""));
yield ">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Upcoming Events"), "html", null, true);
yield "</option>
\t\t\t\t\t\t\t</select>
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</div>
\t\t\t<div class=\"featured-recipes\">
\t\t\t\t<div class=\"custom-slider\">
\t\t\t\t\t";
// line 157
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["events"]) || array_key_exists("events", $context) ? $context["events"] : (function () { throw new RuntimeError('Variable "events" does not exist.', 157, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["event"]) {
// line 158
yield "
\t\t\t\t\t\t<div class=\"slide\">
\t\t\t\t\t\t\t<div class=\"slide-holder\">
\t\t\t\t\t\t\t\t<figure class=\"slide-img\">
\t\t\t\t\t\t\t\t\t";
// line 162
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.', 162, $this->source); })()), "request", [], "any", false, false, false, 162), "locale", [], "any", false, false, false, 162) == "ar")) {
// line 163
yield "\t\t\t\t\t\t\t\t\t\t\t";
if (CoreExtension::getAttribute($this->env, $this->source, $context["event"], "eventImageAr", [], "any", false, false, false, 163)) {
// line 164
yield "\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"/";
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.', 164, $this->source); })()), "request", [], "any", false, false, false, 164), "locale", [], "any", false, false, false, 164), "html", null, true);
yield "/events/";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["event"], "url", [], "any", false, false, false, 164), "html", null, true);
yield "\"><img src=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["event"], "eventImageAr", [], "any", false, false, false, 164), "html", null, true);
yield "\" alt=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["event"], "e_name", [], "any", false, false, false, 164), "html", null, true);
yield "\"></a>
\t\t\t\t\t\t\t\t\t\t\t";
}
// line 166
yield "\t\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t";
} else {
// line 168
yield "\t\t\t\t\t\t\t\t\t\t\t";
if (CoreExtension::getAttribute($this->env, $this->source, $context["event"], "event_image", [], "any", false, false, false, 168)) {
// line 169
yield "\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"/";
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.', 169, $this->source); })()), "request", [], "any", false, false, false, 169), "locale", [], "any", false, false, false, 169), "html", null, true);
yield "/events/";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["event"], "url", [], "any", false, false, false, 169), "html", null, true);
yield "\"><img src=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["event"], "event_image", [], "any", false, false, false, 169), "html", null, true);
yield "\" alt=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["event"], "e_name", [], "any", false, false, false, 169), "html", null, true);
yield "\"></a>
\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 171
yield "\t\t\t\t\t\t\t\t\t\t";
}
// line 172
yield "\t\t\t\t\t\t\t\t\t";
// line 173
yield "\t\t\t\t\t\t\t\t</figure>
\t\t\t\t\t\t\t\t<div class=\"slide-content\">
\t\t\t\t\t\t\t\t\t<div class=\"frecipes-box\">
\t\t\t\t\t\t\t\t\t\t<a href=\"/";
// line 176
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.', 176, $this->source); })()), "request", [], "any", false, false, false, 176), "locale", [], "any", false, false, false, 176), "html", null, true);
yield "/events/";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["event"], "url", [], "any", false, false, false, 176), "html", null, true);
yield "\">
\t\t\t\t\t\t\t\t\t\t\t<h3>";
// line 177
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["event"], "e_name", [], "any", false, false, false, 177), "html", null, true);
yield "</h3>
\t\t\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t\t\t\t<p>";
// line 179
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["event"], "e_description", [], "any", false, false, false, 179), "html", null, true);
yield "</p>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t<ul class=\"list-unstyled recipe-info in-column\">
\t\t\t\t\t\t\t\t\t\t";
// line 182
if ((CoreExtension::getAttribute($this->env, $this->source, $context["event"], "date_time", [], "any", false, false, false, 182) > $this->extensions['Twig\Extension\CoreExtension']->formatDate("now", "Y-m-d H:i"))) {
// line 183
yield "\t\t\t\t\t\t\t\t\t\t\t<li class=\"calander-black\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["event"], "dateandtime", [], "any", false, false, false, 183), "html", null, true);
yield "</li>
\t\t\t\t\t\t\t\t\t\t\t<li class=\"feather-map-ping-black\">";
// line 184
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["event"], "location", [], "any", false, false, false, 184), "html", null, true);
yield "</li>
\t\t\t\t\t\t\t\t\t\t";
}
// line 186
yield "\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.', 186, $this->source); })()), "session", [], "any", false, false, false, 186), "get", ["loginUserName"], "method", false, false, false, 186);
// line 187
yield "\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.', 187, $this->source); })()))) {
// line 188
yield "\t\t\t\t\t\t\t\t\t\t\t<li class=\"share\" onclick=\"loyaltyProgram(this,";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["event"], "id", [], "any", false, false, false, 188), "html", null, true);
yield ",'";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["event"], "e_name", [], "any", false, false, false, 188), "html", null, true);
yield "',50,'Event','Share')\">
\t\t\t\t\t\t\t\t\t\t\t\t<span onclick=\"sharemodal('Event','";
// line 189
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["event"], "url", [], "any", false, false, false, 189), "html", null, true);
yield "','";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(" share event 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</li>
\t\t\t\t\t\t\t\t\t\t";
} else {
// line 192
yield "\t\t\t\t\t\t\t\t\t\t\t<li class=\"share\" onclick=\"sharemodal('Event','";
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.', 192, $this->source); })()), "request", [], "any", false, false, false, 192), "getSchemeAndHttpHost", [], "method", false, false, false, 192) . "/") . 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.', 192, $this->source); })()), "request", [], "any", false, false, false, 192), "locale", [], "any", false, false, false, 192)) . "/events/") . CoreExtension::getAttribute($this->env, $this->source, $context["event"], "url", [], "any", false, false, false, 192)), "html", null, true);
yield "','";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(" share event 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";
}
// line 194
yield "\t\t\t\t\t\t\t\t\t</ul>
\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";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['event'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 199
yield "
\t\t\t\t</div>
\t\t\t</div>
\t\t\t<div class=\"load-more d-none\">
\t\t\t\t<a href=\"javascript:void(0)\" class=\"btn btn-custom btn-outline btn-load\">Load more</a>
\t\t\t</div>
\t\t</div>
\t</section>
\t";
// line 209
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.', 209, $this->source); })()), "request", [], "any", false, false, false, 209), "locale", [], "any", false, false, false, 209) == "ar")) {
// line 210
yield "\t\t";
$context["topMenu"] = "/en/events";
// line 211
yield "\t";
} else {
// line 212
yield "\t\t";
$context["topMenu"] = "/ar/events";
// line 213
yield "\t";
}
// line 214
yield "\t<script type=\"text/javascript\">
\t\t\$('#event_name').change(function () {
window.location.href = \"?data=\" + \$(this).val() + \"#results\";
});
var _TopMenuLink = \"";
// line 219
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.', 219, $this->source); })()), "html", null, true);
yield "\";
\t</script>
\t<!--End Featured Recipes Section-->
\t<!--End Wrapper-->
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "events/events.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
return array ( 526 => 219, 519 => 214, 516 => 213, 513 => 212, 510 => 211, 507 => 210, 505 => 209, 493 => 199, 483 => 194, 473 => 192, 463 => 189, 456 => 188, 453 => 187, 450 => 186, 445 => 184, 440 => 183, 438 => 182, 432 => 179, 427 => 177, 421 => 176, 416 => 173, 414 => 172, 411 => 171, 399 => 169, 396 => 168, 392 => 166, 380 => 164, 377 => 163, 375 => 162, 369 => 158, 365 => 157, 351 => 148, 344 => 147, 334 => 139, 327 => 134, 325 => 133, 318 => 128, 310 => 125, 308 => 121, 306 => 119, 304 => 118, 300 => 114, 297 => 113, 291 => 111, 288 => 110, 285 => 109, 279 => 107, 276 => 106, 274 => 105, 267 => 100, 257 => 97, 254 => 96, 243 => 92, 237 => 91, 234 => 90, 231 => 89, 229 => 88, 220 => 86, 216 => 84, 210 => 81, 206 => 80, 203 => 79, 201 => 78, 196 => 76, 192 => 75, 188 => 74, 185 => 73, 181 => 72, 169 => 63, 162 => 61, 154 => 58, 149 => 55, 138 => 45, 132 => 43, 122 => 41, 119 => 40, 117 => 39, 108 => 33, 104 => 31, 102 => 30, 97 => 25, 90 => 19, 76 => 6, 63 => 5, 40 => 1,);
}
public function getSourceContext(): Source
{
return new Source("{% extends \"layout/layout.html.twig\" %}
{# {% block title %}GFS::Event{% endblock %} #}
{% block content %}
\t<!--Start Wrapper-->
\t<!--Start Main Slider-->
\t\t<section class=\"main-slider-section product-main-slider product-event-slider event-page-slider\"> <div class=\"container container-lg\">
\t\t\t<div class=\"custom-slider singal-slider main-slider\">
\t\t\t\t<div class=\"slide\">
\t\t\t\t\t<div class=\"slide-media slide-media-desktop\">
\t\t\t\t\t\t<img
\t\t\t\t\t\tsrc=\"/static/assets/images/Events_Spotlight_desktop.jpg\" alt=\"Events Spotlight desktop\">
\t\t\t\t\t{# <img src=\"/static/assets/images/product-banner-image.png\" alt=\"\" class=\"mobile-banner\"> #}
\t\t\t\t\t</div>
\t\t\t\t\t<div class=\"slide-media slide-media-mobile\">
\t\t\t\t\t\t<img
\t\t\t\t\t\tsrc=\"/static/assets/images/Events_Spotlight_mobile.jpg\" alt=\"Events Spotlight mobile\">
\t\t\t\t\t{# <img src=\"/static/assets/images/product-banner-image.png\" alt=\"\" class=\"mobile-banner\"> #}
\t\t\t\t\t</div>
\t\t\t\t\t<div class=\"slide-content-box\">
\t\t\t\t\t\t<div class=\"slide-content-box-wrapper\">
\t\t\t\t\t\t\t<div class=\"slide-content-box-wrapper-date\">{# <span>{{ recent_events.date_time|date(\"d/M\")|upper }}</span>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t <span>{{ recent_events.date_time|date(\"Y\") }}</span> #}
\t\t\t\t\t\t\t\t{# <span>N/A</span> #}
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t<div class=\"slide-content-box-wrapper-name d-none\">
\t\t\t\t\t\t\t\t{{recent_events.e_name}}
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t<div class=\"slide-content-box-wrapper-list\">
\t\t\t\t\t\t\t\t<ul class=\"list-unstyled recipe-info\">
\t\t\t\t\t\t\t\t\t<li class=\"calendar-white\">N/A</li>
\t\t\t\t\t\t\t\t\t<li class=\"map-locator-white\">N/A</li>
\t\t\t\t\t\t\t\t\t{% set user = app.session.get('loginUserName') %}
\t\t\t\t\t\t\t\t\t{% if user is not null %}
\t\t\t\t\t\t\t\t\t\t<li class=\"share-white\" onclick=\"loyaltyProgram(this,{{ recent_events.id }},'{{ recent_events.e_name }}',50,'Event','Share')\">{{'Share'|trans}}</li>
\t\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t\t<li class=\"share-white\">{{'Share'|trans}}</li>
\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t</ul>
\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</div>
\t</section>
\t<!--End Main Slider-->
\t{# {{ app.request.getScheme }}://{{ app.request.getHost }}/{{ app.request.locale }} #}
\t<!--Start Breadcrumbs-->
\t\t<div class=\"breadcrumb-holder\"> <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\">{{'Events'|trans}}</li>
\t\t</ol>
\t</div>
\t<!--End Breadcrumbs-->
\t<!--Start Info Media-->
\t<section class=\"info-media event-media event-page featureEvent feature_event\">
\t\t<div class=\"container container-sm\">
\t\t\t<div class=\"customflex\">
\t\t\t{% for FeaturedEvent in featuredevents %}
\t\t\t\t<div class=\"info-section\">
\t\t\t\t\t<h5>{{'Featured Event'|trans}}</h5>
\t\t\t\t\t<h1>{{FeaturedEvent.e_name}}</h1>
\t\t\t\t\t<p>{{FeaturedEvent.e_description}}
\t\t\t\t\t</p>
\t\t\t\t\t{% if FeaturedEvent.date_time > \"now\"|date('Y-m-d H:i') %}
\t\t\t\t\t\t<ul class=\"list-unstyled recipe-info in-column\">
\t\t\t\t\t\t\t<li class=\"calendar-white\">{{FeaturedEvent.dateandtime}}</li>
\t\t\t\t\t\t\t<li class=\"map-locator-white\">{{FeaturedEvent.location}}</li>
\t\t\t\t\t\t</ul>
\t\t\t\t\t{% endif %}
\t\t\t\t\t<div class=\"btn-holder\">
\t\t\t\t\t\t<div class=\"btn-border\">
\t\t\t\t\t\t\t<a href=\"/{{app.request.locale}}/events/{{FeaturedEvent.url}}\" class=\"btn btn-custom btn-lg-o-wblack\">{{'View Event'|trans}}</a>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t{% set user = app.session.get('loginUserName') %}
\t\t\t\t\t\t{% if user is not null %}
\t\t\t\t\t\t\t<ul class=\"list-unstyled recipe-info\">
\t\t\t\t\t\t\t\t<li class=\"share-white\" onclick=\"loyaltyProgram(this,{{ FeaturedEvent.id }},'{{ FeaturedEvent.e_name }}',50,'Event','Share')\">
\t\t\t\t\t\t\t\t\t<span onclick=\"sharemodal('Event','{{ app.request.getSchemeAndHttpHost() ~ '/' ~ app.request.locale ~ '/events/' ~ FeaturedEvent.url}}','{{ \" share event with your friends\"|trans }}')\">{{'Share'|trans}}</span>
\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t</ul>
\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t<ul class=\"list-unstyled recipe-info\">
\t\t\t\t\t\t\t\t<li class=\"share-white\" onclick=\"sharemodal('Event','{{ app.request.getSchemeAndHttpHost() ~ '/' ~ app.request.locale ~ '/events/' ~ FeaturedEvent.url}}','{{ \" share event with your friends\"|trans }}')\">{{'Share'|trans}}</li>
\t\t\t\t\t\t\t</ul>
\t\t\t\t\t\t{% endif %}
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t\t<div class=\"media-section\">
\t\t\t\t
\t\t\t\t\t\t{% if (app.request.locale =='ar') %}
\t\t\t\t\t\t\t{% if FeaturedEvent.eventImageAr %}
\t\t\t\t\t\t\t\t<video poster=\"{{FeaturedEvent.eventImageAr}}\"></video>
\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t{% if FeaturedEvent.event_image %}
\t\t\t\t\t\t\t\t<video poster=\"{{FeaturedEvent.event_image}}\"></video>
\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t{% endif %}
\t\t\t\t\t
\t\t\t\t\t\t
\t\t\t\t\t{# <video
\t\t\t\t\t\tposter=\"{{FeaturedEvent.event_image}}\"> #}
\t\t\t\t\t\t{# <source src=\"{{FeaturedEvent.videos[0].e_vodeo.data.data }}\" type=\"video/mp4\"> #}
\t\t\t\t\t\t{# Your browser does not support the video tag.
\t\t\t\t\t</video> #}
\t\t\t\t\t{# <div class=\"control-options\">
\t\t\t\t\t\t\t\t\t\t <i class=\"fas fa-play-circle\"></i>
\t\t\t\t\t\t\t\t\t\t <i class=\"fas fa-pause-circle\"></i>
\t\t\t\t\t\t\t\t\t\t </div> #}
\t\t\t\t</div>
\t\t\t</div>
\t\t\t{% endfor %}
\t\t</div>
\t</section>
\t<!--End Info Media-->
\t{% set DataValue = app.request.query.get('data') %}
\t<!--Start Featured Recipes Section-->
\t<section class=\"featured-recipes-section inner-frecipes-section all-event-section\" id=\"results\">
\t\t<div class=\"container container-sm\">
\t\t\t<div class=\"event-selection-dropdown\">
\t\t\t\t<div class=\"event-heading\">
\t\t\t\t\t<h2 class=\"heading\">{{'All Events '|trans}}</h2>
\t\t\t\t</div>
\t\t\t\t<div class=\"event-dropdown\">
\t\t\t\t\t<div class=\"select-holder event-dropdown-holder\">
\t\t\t\t\t\t<div class=\"custom-dropdown calendar\">
\t\t\t\t\t\t\t<select
\t\t\t\t\t\t\t\tclass=\"form-control\" id=\"event_name\" name=\"event_name\">
\t\t\t\t\t\t\t\t{# <option>{{'Upcoming Events'|trans}}</option> #}
\t\t\t\t\t\t\t\t<option value=\"Past_Events\" {{ DataValue == 'Past_Events' ? 'selected' : ''}}>{{'Past Events'|trans}}</option>
\t\t\t\t\t\t\t\t<option value=\"Upcoming_Events\" {{ DataValue == 'Upcoming_Events' ? 'selected' : ''}}>{{'Upcoming Events'|trans}}</option>
\t\t\t\t\t\t\t</select>
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</div>
\t\t\t<div class=\"featured-recipes\">
\t\t\t\t<div class=\"custom-slider\">
\t\t\t\t\t{% for event in events %}
\t\t\t\t\t\t<div class=\"slide\">
\t\t\t\t\t\t\t<div class=\"slide-holder\">
\t\t\t\t\t\t\t\t<figure class=\"slide-img\">
\t\t\t\t\t\t\t\t\t{% if (app.request.locale =='ar') %}
\t\t\t\t\t\t\t\t\t\t\t{% if event.eventImageAr %}
\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"/{{app.request.locale}}/events/{{event.url}}\"><img src=\"{{event.eventImageAr}}\" alt=\"{{event.e_name}}\"></a>
\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\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t\t\t{% if event.event_image %}
\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"/{{app.request.locale}}/events/{{event.url}}\"><img src=\"{{event.event_image}}\" alt=\"{{event.e_name}}\"></a>
\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t{# <a href=\"/{{app.request.locale}}/events/{{event.url}}\"><img src=\"{{event.event_image}}\" alt=\"{{event.e_name}}\"></a> #}
\t\t\t\t\t\t\t\t</figure>
\t\t\t\t\t\t\t\t<div class=\"slide-content\">
\t\t\t\t\t\t\t\t\t<div class=\"frecipes-box\">
\t\t\t\t\t\t\t\t\t\t<a href=\"/{{app.request.locale}}/events/{{event.url}}\">
\t\t\t\t\t\t\t\t\t\t\t<h3>{{event.e_name}}</h3>
\t\t\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t\t\t\t<p>{{event.e_description}}</p>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t<ul class=\"list-unstyled recipe-info in-column\">
\t\t\t\t\t\t\t\t\t\t{% if event.date_time > \"now\"|date('Y-m-d H:i') %}
\t\t\t\t\t\t\t\t\t\t\t<li class=\"calander-black\">{{event.dateandtime}}</li>
\t\t\t\t\t\t\t\t\t\t\t<li class=\"feather-map-ping-black\">{{event.location}}</li>
\t\t\t\t\t\t\t\t\t\t{% endif %}
\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{% if user is not null %}
\t\t\t\t\t\t\t\t\t\t\t<li class=\"share\" onclick=\"loyaltyProgram(this,{{ event.id }},'{{ event.e_name }}',50,'Event','Share')\">
\t\t\t\t\t\t\t\t\t\t\t\t<span onclick=\"sharemodal('Event','{{ event.url}}','{{ \" share event with your friends\"|trans }}')\">{{'Share'|trans}}</span>
\t\t\t\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t\t\t<li class=\"share\" onclick=\"sharemodal('Event','{{ app.request.getSchemeAndHttpHost() ~ '/' ~ app.request.locale ~ '/events/' ~ event.url}}','{{ \" share event with your friends\"|trans }}')\">{{'Share'|trans}}</li>
\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t</ul>
\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{% endfor %}
\t\t\t\t</div>
\t\t\t</div>
\t\t\t<div class=\"load-more d-none\">
\t\t\t\t<a href=\"javascript:void(0)\" class=\"btn btn-custom btn-outline btn-load\">Load more</a>
\t\t\t</div>
\t\t</div>
\t</section>
\t{% if (app.request.locale =='ar') %}
\t\t{% set topMenu =\"/en/events\" %}
\t{% else %}
\t\t{% set topMenu =\"/ar/events\" %}
\t{% endif %}
\t<script type=\"text/javascript\">
\t\t\$('#event_name').change(function () {
window.location.href = \"?data=\" + \$(this).val() + \"#results\";
});
var _TopMenuLink = \"{{ topMenu }}\";
\t</script>
\t<!--End Featured Recipes Section-->
\t<!--End Wrapper-->
{% endblock %}
", "events/events.html.twig", "/var/www/vhosts/centric.ae/gcs.centric.ae/templates/events/events.html.twig");
}
}