var/cache/dev/twig/61/61bd27260bf685307b81b7b5bbeeab94.php line 88
<?phpuse Twig\Environment;use Twig\Error\LoaderError;use Twig\Error\RuntimeError;use Twig\Extension\SandboxExtension;use Twig\Markup;use Twig\Sandbox\SecurityError;use Twig\Sandbox\SecurityNotAllowedTagError;use Twig\Sandbox\SecurityNotAllowedFilterError;use Twig\Sandbox\SecurityNotAllowedFunctionError;use Twig\Source;use Twig\Template;/* magasins/details.html.twig */class __TwigTemplate_f75dbf7ed1c52851cc49c0d245df1ad2 extends Template{private $source;private $macros = [];public function __construct(Environment $env){parent::__construct($env);$this->source = $this->getSourceContext();$this->blocks = ['title' => [$this, 'block_title'],'body' => [$this, 'block_body'],];}protected function doGetParent(array $context){// line 1return "base.html.twig";}protected function doDisplay(array $context, array $blocks = []){$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", "magasins/details.html.twig"));$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "magasins/details.html.twig"));$this->parent = $this->loadTemplate("base.html.twig", "magasins/details.html.twig", 1);$this->parent->display($context, array_merge($this->blocks, $blocks));$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);}// line 3public function block_title($context, array $blocks = []){$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", "title"));$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);}// line 5public function block_body($context, array $blocks = []){$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", "body"));$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));// line 6echo "\t";echo twig_include($this->env, $context, "partials/base/_title-section.html.twig", ["name" => twig_get_attribute($this->env, $this->source, (isset($context["magasins"]) || array_key_exists("magasins", $context) ? $context["magasins"] : (function () { throw new RuntimeError('Variable "magasins" does not exist.', 6, $this->source); })()), "title", [], "any", false, false, false, 6)]);echo "\t<section class=\"ec-page-content section-space-p\">\t\t<div class=\"container\">\t\t\t<div class=\"row\">\t\t\t\t<div class=\"ec-common-wrapper\">\t\t\t\t\t<div class=\"row\">\t\t\t\t\t\t<div class=\"col-md-6 ec-cms-block ec-abcms-block text-center\">\t\t\t\t\t\t\t<div class=\"ec-cms-block-inner\">\t\t\t\t\t\t\t\t<img class=\"a-img\" src=\"";// line 14echo twig_escape_filter($this->env, $this->env->getRuntime('Vich\UploaderBundle\Twig\Extension\UploaderExtensionRuntime')->asset((isset($context["magasins"]) || array_key_exists("magasins", $context) ? $context["magasins"] : (function () { throw new RuntimeError('Variable "magasins" does not exist.', 14, $this->source); })())), "html", null, true);echo "\" alt=\"about\" style=\"width: 50%!important;\">\t\t\t\t\t\t\t</div>\t\t\t\t\t\t</div>\t\t\t\t\t\t<div class=\"col-md-6 ec-cms-block ec-abcms-block\">\t\t\t\t\t\t\t<div class=\"ec-cms-block-inner\">\t\t\t\t\t\t\t\t<p>";// line 19echo twig_get_attribute($this->env, $this->source, (isset($context["magasins"]) || array_key_exists("magasins", $context) ? $context["magasins"] : (function () { throw new RuntimeError('Variable "magasins" does not exist.', 19, $this->source); })()), "description", [], "any", false, false, false, 19);echo "</p>\t\t\t\t\t\t\t\t<p class=\"bold\">Localisation : <span class=\"bold\">";// line 20echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["magasins"]) || array_key_exists("magasins", $context) ? $context["magasins"] : (function () { throw new RuntimeError('Variable "magasins" does not exist.', 20, $this->source); })()), "localisation", [], "any", false, false, false, 20), "html", null, true);echo "</span></p>\t\t\t\t\t\t\t\t<p>Téléphone : <span class=\"bold\">";// line 21echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["magasins"]) || array_key_exists("magasins", $context) ? $context["magasins"] : (function () { throw new RuntimeError('Variable "magasins" does not exist.', 21, $this->source); })()), "telephone", [], "any", false, false, false, 21), "html", null, true);echo "</span></p>\t\t\t\t\t\t\t\t<p>Ouvert du lundi à dimanche : <span class=\"bold\">";// line 22echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["magasins"]) || array_key_exists("magasins", $context) ? $context["magasins"] : (function () { throw new RuntimeError('Variable "magasins" does not exist.', 22, $this->source); })()), "horaire", [], "any", false, false, false, 22), "html", null, true);echo "</span></p>\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\t";// line 28if (((( !(null === twig_get_attribute($this->env, $this->source, (isset($context["magasins"]) || array_key_exists("magasins", $context) ? $context["magasins"] : (function () { throw new RuntimeError('Variable "magasins" does not exist.', 28, $this->source); })()), "image1", [], "any", false, false, false, 28)) && !(null === twig_get_attribute($this->env, $this->source, (isset($context["magasins"]) || array_key_exists("magasins", $context) ? $context["magasins"] : (function () { throw new RuntimeError('Variable "magasins" does not exist.', 28, $this->source); })()), "image2", [], "any", false, false, false, 28))) && !(null === twig_get_attribute($this->env, $this->source, (isset($context["magasins"]) || array_key_exists("magasins", $context) ? $context["magasins"] : (function () { throw new RuntimeError('Variable "magasins" does not exist.', 28, $this->source); })()), "image3", [], "any", false, false, false, 28))) && !(null === twig_get_attribute($this->env, $this->source, (isset($context["magasins"]) || array_key_exists("magasins", $context) ? $context["magasins"] : (function () { throw new RuntimeError('Variable "magasins" does not exist.', 28, $this->source); })()), "image4", [], "any", false, false, false, 28)))) {// line 29echo "\t\t\t\t<div class=\"row\" style=\"margin-top: 50px;\">\t\t\t\t\t<div class=\"col-md-3 ec-cms-block ec-abcms-block text-center\">\t\t\t\t\t\t<div class=\"ec-cms-block-inner\">\t\t\t\t\t\t\t<img class=\"a-img\" src=\"/images/magasins/";// line 32echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["magasins"]) || array_key_exists("magasins", $context) ? $context["magasins"] : (function () { throw new RuntimeError('Variable "magasins" does not exist.', 32, $this->source); })()), "image1", [], "any", false, false, false, 32), "html", null, true);echo "\" alt=\"about\">\t\t\t\t\t\t</div>\t\t\t\t\t</div>\t\t\t\t\t<div class=\"col-md-3 ec-cms-block ec-abcms-block text-center\">\t\t\t\t\t\t<div class=\"ec-cms-block-inner\">\t\t\t\t\t\t\t<img class=\"a-img\" src=\"/images/magasins/";// line 37echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["magasins"]) || array_key_exists("magasins", $context) ? $context["magasins"] : (function () { throw new RuntimeError('Variable "magasins" does not exist.', 37, $this->source); })()), "image2", [], "any", false, false, false, 37), "html", null, true);echo "\" alt=\"about\">\t\t\t\t\t\t</div>\t\t\t\t\t</div>\t\t\t\t\t<div class=\"col-md-3 ec-cms-block ec-abcms-block text-center\">\t\t\t\t\t\t<div class=\"ec-cms-block-inner\">\t\t\t\t\t\t\t<img class=\"a-img\" src=\"/images/magasins/";// line 42echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["magasins"]) || array_key_exists("magasins", $context) ? $context["magasins"] : (function () { throw new RuntimeError('Variable "magasins" does not exist.', 42, $this->source); })()), "image3", [], "any", false, false, false, 42), "html", null, true);echo "\" alt=\"about\">\t\t\t\t\t\t</div>\t\t\t\t\t</div>\t\t\t\t\t<div class=\"col-md-3 ec-cms-block ec-abcms-block text-center\">\t\t\t\t\t\t<div class=\"ec-cms-block-inner\">\t\t\t\t\t\t\t<img class=\"a-img\" src=\"/images/magasins/";// line 47echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["magasins"]) || array_key_exists("magasins", $context) ? $context["magasins"] : (function () { throw new RuntimeError('Variable "magasins" does not exist.', 47, $this->source); })()), "image4", [], "any", false, false, false, 47), "html", null, true);echo "\" alt=\"about\">\t\t\t\t\t\t</div>\t\t\t\t\t</div>\t\t\t\t</div>\t\t\t";} else {// line 52echo "\t\t\t<div class=\"row\" style=\"margin-top: 50px;\">\t\t\t\t<div class=\"col-md-12\">\t\t\t\t\t<p style=\"text-align: center;\">Pas d'images dans la gallérie</p>\t\t\t\t</div>\t\t\t</div>\t\t\t";}// line 58echo "\t\t</div>\t</section>";$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);}/*** @codeCoverageIgnore*/public function getTemplateName(){return "magasins/details.html.twig";}/*** @codeCoverageIgnore*/public function isTraitable(){return false;}/*** @codeCoverageIgnore*/public function getDebugInfo(){return array ( 175 => 58, 167 => 52, 159 => 47, 151 => 42, 143 => 37, 135 => 32, 130 => 29, 128 => 28, 119 => 22, 115 => 21, 111 => 20, 107 => 19, 99 => 14, 87 => 6, 77 => 5, 59 => 3, 36 => 1,);}public function getSourceContext(){return new Source("{% extends 'base.html.twig' %}{% block title %}{% endblock %}{% block body %}\t{{include('partials/base/_title-section.html.twig', {'name': magasins.title})}}\t<section class=\"ec-page-content section-space-p\">\t\t<div class=\"container\">\t\t\t<div class=\"row\">\t\t\t\t<div class=\"ec-common-wrapper\">\t\t\t\t\t<div class=\"row\">\t\t\t\t\t\t<div class=\"col-md-6 ec-cms-block ec-abcms-block text-center\">\t\t\t\t\t\t\t<div class=\"ec-cms-block-inner\">\t\t\t\t\t\t\t\t<img class=\"a-img\" src=\"{{ vich_uploader_asset(magasins) }}\" alt=\"about\" style=\"width: 50%!important;\">\t\t\t\t\t\t\t</div>\t\t\t\t\t\t</div>\t\t\t\t\t\t<div class=\"col-md-6 ec-cms-block ec-abcms-block\">\t\t\t\t\t\t\t<div class=\"ec-cms-block-inner\">\t\t\t\t\t\t\t\t<p>{{magasins.description | raw}}</p>\t\t\t\t\t\t\t\t<p class=\"bold\">Localisation : <span class=\"bold\">{{magasins.localisation}}</span></p>\t\t\t\t\t\t\t\t<p>Téléphone : <span class=\"bold\">{{magasins.telephone}}</span></p>\t\t\t\t\t\t\t\t<p>Ouvert du lundi à dimanche : <span class=\"bold\">{{magasins.horaire}}</span></p>\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\t{% if magasins.image1 is not none and magasins.image2 is not none and magasins.image3 is not none and magasins.image4 is not none%}\t\t\t\t<div class=\"row\" style=\"margin-top: 50px;\">\t\t\t\t\t<div class=\"col-md-3 ec-cms-block ec-abcms-block text-center\">\t\t\t\t\t\t<div class=\"ec-cms-block-inner\">\t\t\t\t\t\t\t<img class=\"a-img\" src=\"/images/magasins/{{magasins.image1}}\" alt=\"about\">\t\t\t\t\t\t</div>\t\t\t\t\t</div>\t\t\t\t\t<div class=\"col-md-3 ec-cms-block ec-abcms-block text-center\">\t\t\t\t\t\t<div class=\"ec-cms-block-inner\">\t\t\t\t\t\t\t<img class=\"a-img\" src=\"/images/magasins/{{magasins.image2}}\" alt=\"about\">\t\t\t\t\t\t</div>\t\t\t\t\t</div>\t\t\t\t\t<div class=\"col-md-3 ec-cms-block ec-abcms-block text-center\">\t\t\t\t\t\t<div class=\"ec-cms-block-inner\">\t\t\t\t\t\t\t<img class=\"a-img\" src=\"/images/magasins/{{magasins.image3}}\" alt=\"about\">\t\t\t\t\t\t</div>\t\t\t\t\t</div>\t\t\t\t\t<div class=\"col-md-3 ec-cms-block ec-abcms-block text-center\">\t\t\t\t\t\t<div class=\"ec-cms-block-inner\">\t\t\t\t\t\t\t<img class=\"a-img\" src=\"/images/magasins/{{magasins.image4}}\" alt=\"about\">\t\t\t\t\t\t</div>\t\t\t\t\t</div>\t\t\t\t</div>\t\t\t{% else %}\t\t\t<div class=\"row\" style=\"margin-top: 50px;\">\t\t\t\t<div class=\"col-md-12\">\t\t\t\t\t<p style=\"text-align: center;\">Pas d'images dans la gallérie</p>\t\t\t\t</div>\t\t\t</div>\t\t\t{% endif %}\t\t</div>\t</section>{% endblock %}", "magasins/details.html.twig", "/home/lode2496/public_html/templates/magasins/details.html.twig");}}