var/cache/dev/twig/b0/b011e367f62092bb1a638248e92cdbd2e3b92dd5785bdd1feea7fddb8e4bd91e.php line 72

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* frontend/frontindex/listMediaImage.html.twig */
  14. class __TwigTemplate_498e8c2bded2e5f4682930bc0042702312b85a4c30f518f40d2ad5c2604da1de extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source = $this->getSourceContext();
  22.         $this->blocks = [
  23.             'seo' => [$this, 'block_seo'],
  24.             'body' => [$this, 'block_body'],
  25.         ];
  26.     }
  27.     protected function doGetParent(array $context)
  28.     {
  29.         // line 1
  30.         return "frontend/frontindex/add.html.twig";
  31.     }
  32.     protected function doDisplay(array $context, array $blocks = [])
  33.     {
  34.         $macros = $this->macros;
  35.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  36.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "frontend/frontindex/listMediaImage.html.twig"));
  37.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  38.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "frontend/frontindex/listMediaImage.html.twig"));
  39.         $this->parent = $this->loadTemplate("frontend/frontindex/add.html.twig", "frontend/frontindex/listMediaImage.html.twig", 1);
  40.         $this->parent->display($context, array_merge($this->blocks, $blocks));
  41.         
  42.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  43.         
  44.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  45.     }
  46.     // line 3
  47.     public function block_seo($context, array $blocks = [])
  48.     {
  49.         $macros = $this->macros;
  50.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  51.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "seo"));
  52.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  53.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "seo"));
  54.         // line 4
  55.         echo "
  56. \t";
  57.         // line 5
  58.         echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("seo", ["page" => 20]));
  59.         // line 8
  60.         echo "
  61. ";
  62.         
  63.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  64.         
  65.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  66.     }
  67.     // line 11
  68.     public function block_body($context, array $blocks = [])
  69.     {
  70.         $macros = $this->macros;
  71.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  72.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
  73.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  74.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
  75.         // line 12
  76.         echo "\t<section class=\"breadcrumbs\" style=\"background-image:url('../front-assets/assets/img/breadcrumb-bg.jpg')\">
  77. \t\t<div class=\"container\">
  78. \t\t\t<div class=\"row\">
  79. \t\t\t\t<div class=\"col-lg-6 offset-lg-3 col-12\">
  80. \t\t\t\t\t<div class=\"breadcrumb-content\">
  81. \t\t\t\t\t\t<h1>";
  82.         // line 17
  83.         echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("%image%"), "html", null, true);
  84.         echo "</h1>
  85. \t\t\t\t\t\t<ul class=\"breadcrumb-menu\">
  86. \t\t\t\t\t\t\t<li>
  87. \t\t\t\t\t\t\t\t<a href=\"";
  88.         // line 20
  89.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_accueil");
  90.         echo "\">";
  91.         echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("%Home%"), "html", null, true);
  92.         echo "</a>
  93. \t\t\t\t\t\t\t\t<i class=\"fa fa-angle-double-right\"></i>
  94. \t\t\t\t\t\t\t</li>
  95. \t\t\t\t\t\t\t<li class=\"text-white\">";
  96.         // line 23
  97.         echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("%image%"), "html", null, true);
  98.         echo "</li>
  99. \t\t\t\t\t\t</ul>
  100. \t\t\t\t\t</div>
  101. \t\t\t\t</div>
  102. \t\t\t</div>
  103. \t\t</div>
  104. \t</section>
  105. \t<section class=\"doctors-area doctor-page\">
  106. \t\t<div class=\"container\">
  107. \t\t\t<div id=\"accordion\">
  108. \t\t\t\t<div class=\"row\">
  109. \t\t\t\t\t<p>
  110. \t\t\t\t\t\t";
  111.         // line 35
  112.         $context['_parent'] = $context;
  113.         $context['_seq'] = twig_ensure_traversable((isset($context["yearImage"]) || array_key_exists("yearImage", $context) ? $context["yearImage"] : (function () { throw new RuntimeError('Variable "yearImage" does not exist.', 35, $this->source); })()));
  114.         foreach ($context['_seq'] as $context["key"] => $context["yearImag"]) {
  115.             // line 36
  116.             echo "\t\t\t\t\t\t\t<div class=\"col-md-3\" id=\"heading";
  117.             echo twig_escape_filter($this->env, $context["key"], "html", null, true);
  118.             echo "\">
  119. \t\t\t\t\t\t\t\t<button class=\"btn btn-outline-info btn-lg btn-block\" data-toggle=\"collapse\" data-target=\"#collapse";
  120.             // line 37
  121.             echo twig_escape_filter($this->env, $context["key"], "html", null, true);
  122.             echo "\" aria-expanded=\"true\" aria-controls=\"collapse";
  123.             echo twig_escape_filter($this->env, $context["key"], "html", null, true);
  124.             echo "\">";
  125.             echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["yearImag"], "year", [], "any", false, false, false, 37), "html", null, true);
  126.             echo "</button>
  127. \t\t\t\t\t\t\t</div>
  128. \t\t\t\t\t\t";
  129.         }
  130.         $_parent = $context['_parent'];
  131.         unset($context['_seq'], $context['_iterated'], $context['key'], $context['yearImag'], $context['_parent'], $context['loop']);
  132.         $context = array_intersect_key($context, $_parent) + $_parent;
  133.         // line 40
  134.         echo "\t\t\t\t\t</p>
  135. \t\t\t\t</div>
  136. \t\t\t\t<div class=\"row mt-3\">
  137. \t\t\t\t\t";
  138.         // line 43
  139.         $context['_parent'] = $context;
  140.         $context['_seq'] = twig_ensure_traversable((isset($context["yearImage"]) || array_key_exists("yearImage", $context) ? $context["yearImage"] : (function () { throw new RuntimeError('Variable "yearImage" does not exist.', 43, $this->source); })()));
  141.         foreach ($context['_seq'] as $context["key"] => $context["yearImag"]) {
  142.             // line 44
  143.             echo "\t\t\t\t\t\t<div id=\"collapse";
  144.             echo twig_escape_filter($this->env, $context["key"], "html", null, true);
  145.             echo "\" class=\"col-md-12 wow fadeInLeft collapse ";
  146.             if ((0 === twig_compare($context["key"], 0))) {
  147.                 echo "show";
  148.             }
  149.             echo "\" data-wow-delay=\"0.1s\" style=\"width: 100%;\" aria-labelledby=\"heading";
  150.             echo twig_escape_filter($this->env, $context["key"], "html", null, true);
  151.             echo "\" data-parent=\"#accordion\">
  152. \t\t\t\t\t\t\t<div class=\"card card-body p-0 m-0\">
  153. \t\t\t\t\t\t\t\t<div id=\"accordion1\">
  154. \t\t\t\t\t\t\t\t\t";
  155.             // line 47
  156.             $context['_parent'] = $context;
  157.             $context['_seq'] = twig_ensure_traversable((isset($context["categorieImages"]) || array_key_exists("categorieImages", $context) ? $context["categorieImages"] : (function () { throw new RuntimeError('Variable "categorieImages" does not exist.', 47, $this->source); })()));
  158.             foreach ($context['_seq'] as $context["_key"] => $context["categorieImage"]) {
  159.                 // line 48
  160.                 echo "\t\t\t\t\t\t\t\t\t\t<div class=\"card m-0 cardMediaImage\">
  161. \t\t\t\t\t\t\t\t\t\t\t<div class=\"card-header cardHeaderMediaImage\" id=\"heading";
  162.                 // line 49
  163.                 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["categorieImage"], "id", [], "any", false, false, false, 49), "html", null, true);
  164.                 echo twig_escape_filter($this->env, $context["key"], "html", null, true);
  165.                 echo "\">
  166. \t\t\t\t\t\t\t\t\t\t\t\t<h2 class=\"mb-0 h5\">
  167. \t\t\t\t\t\t\t\t\t\t\t\t\t<button class=\"btn btn-link\" data-toggle=\"collapse\" data-target=\"#collapse";
  168.                 // line 51
  169.                 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["categorieImage"], "id", [], "any", false, false, false, 51), "html", null, true);
  170.                 echo twig_escape_filter($this->env, $context["key"], "html", null, true);
  171.                 echo "\" aria-expanded=\"true\" aria-controls=\"collapse";
  172.                 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["categorieImage"], "id", [], "any", false, false, false, 51), "html", null, true);
  173.                 echo twig_escape_filter($this->env, $context["key"], "html", null, true);
  174.                 echo "\">
  175. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<strong>
  176. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  177.                 // line 53
  178.                 if ((0 === twig_compare(twig_get_attribute($this->env, $this->source, $context["categorieImage"], "categorie", [], "any", false, false, false, 53), "Congrès national"))) {
  179.                     // line 54
  180.                     echo "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  181.                     echo twig_escape_filter($this->env, twig_capitalize_string_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("%categorienational%")), "html", null, true);
  182.                     echo "
  183. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  184.                 } else {
  185.                     // line 56
  186.                     echo "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  187.                     echo twig_escape_filter($this->env, twig_capitalize_string_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("%autres%")), "html", null, true);
  188.                     echo "
  189. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  190.                 }
  191.                 // line 58
  192.                 echo "\t\t\t\t\t\t\t\t\t\t\t\t\t\t</strong>
  193. \t\t\t\t\t\t\t\t\t\t\t\t\t</button>
  194. \t\t\t\t\t\t\t\t\t\t\t\t</h2>
  195. \t\t\t\t\t\t\t\t\t\t\t</div>
  196. \t\t\t\t\t\t\t\t\t\t\t<div id=\"collapse";
  197.                 // line 63
  198.                 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["categorieImage"], "id", [], "any", false, false, false, 63), "html", null, true);
  199.                 echo twig_escape_filter($this->env, $context["key"], "html", null, true);
  200.                 echo "\" class=\"collapse";
  201.                 if ((0 === twig_compare(twig_get_attribute($this->env, $this->source, $context["categorieImage"], "id", [], "any", false, false, false, 63), 8))) {
  202.                     echo " show";
  203.                 }
  204.                 echo "\" aria-labelledby=\"heading";
  205.                 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["categorieImage"], "id", [], "any", false, false, false, 63), "html", null, true);
  206.                 echo twig_escape_filter($this->env, $context["key"], "html", null, true);
  207.                 echo "\" data-parent=\"#accordion1\">
  208. \t\t\t\t\t\t\t\t\t\t\t\t<div class=\"card-body\">
  209. \t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"row\">
  210. \t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  211.                 // line 66
  212.                 $context['_parent'] = $context;
  213.                 $context['_seq'] = twig_ensure_traversable((isset($context["medias"]) || array_key_exists("medias", $context) ? $context["medias"] : (function () { throw new RuntimeError('Variable "medias" does not exist.', 66, $this->source); })()));
  214.                 foreach ($context['_seq'] as $context["_key"] => $context["media"]) {
  215.                     // line 67
  216.                     echo "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  217.                     if (((0 === twig_compare(twig_date_format_filter($this->env, twig_get_attribute($this->env, $this->source, $context["media"], "date", [], "any", false, false, false, 67), "Y"), twig_get_attribute($this->env, $this->source, $context["yearImag"], "year", [], "any", false, false, false, 67))) && (0 === twig_compare(twig_get_attribute($this->env, $this->source, $context["media"], "categorie", [], "any", false, false, false, 67), twig_get_attribute($this->env, $this->source, $context["categorieImage"], "categorie", [], "any", false, false, false, 67))))) {
  218.                         // line 68
  219.                         echo "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-md-4 m-0 p-0\">
  220. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<button type=\"button\" class=\"btn m-0 p-0\" data-toggle=\"modal\" data-target=\"#exampleModalCenter";
  221.                         // line 69
  222.                         echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["media"], "id", [], "any", false, false, false, 69), "html", null, true);
  223.                         echo "\">
  224. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img src=\"";
  225.                         // line 70
  226.                         echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(("uploads/imagesMedia/" . twig_get_attribute($this->env, $this->source, $context["media"], "image", [], "any", false, false, false, 70))), "html", null, true);
  227.                         echo "\" width=\"366px\">
  228. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</button>
  229. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<!-- Modal -->
  230. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"modal fade\" id=\"exampleModalCenter";
  231.                         // line 73
  232.                         echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["media"], "id", [], "any", false, false, false, 73), "html", null, true);
  233.                         echo "\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"exampleModalCenterTitle";
  234.                         echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["media"], "id", [], "any", false, false, false, 73), "html", null, true);
  235.                         echo "\" aria-hidden=\"true\">
  236. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"modal-dialog modal-lg\" role=\"document\">
  237. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"modal-content\">
  238. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"modal-header\">
  239. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<h3 class=\"modal-title\" id=\"exampleModalLongTitle";
  240.                         // line 77
  241.                         echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["media"], "id", [], "any", false, false, false, 77), "html", null, true);
  242.                         echo "\">";
  243.                         echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["media"], "label", [], "any", false, false, false, 77), "html", null, true);
  244.                         echo "</h3>
  245. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\">
  246. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span aria-hidden=\"true\">&times;</span>
  247. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</button>
  248. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  249. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"modal-body\">
  250. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img src=\"";
  251.                         // line 83
  252.                         echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(("uploads/imagesMedia/" . twig_get_attribute($this->env, $this->source, $context["media"], "image", [], "any", false, false, false, 83))), "html", null, true);
  253.                         echo "\" width=\"100%\">
  254. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  255. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"modal-footer\">
  256. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<button type=\"button\" class=\"btn btn-secondary\" data-dismiss=\"modal\">";
  257.                         // line 86
  258.                         echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("%Close%"), "html", null, true);
  259.                         echo "</button>
  260. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  261. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  262. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  263. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  264. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  265.                         // line 94
  266.                         echo "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  267. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  268.                     }
  269.                     // line 96
  270.                     echo "\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  271.                 }
  272.                 $_parent = $context['_parent'];
  273.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['media'], $context['_parent'], $context['loop']);
  274.                 $context = array_intersect_key($context, $_parent) + $_parent;
  275.                 // line 97
  276.                 echo "\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  277. \t\t\t\t\t\t\t\t\t\t\t\t\t";
  278.                 // line 103
  279.                 echo "\t\t\t\t\t\t\t\t\t\t\t\t</div>
  280. \t\t\t\t\t\t\t\t\t\t\t</div>
  281. \t\t\t\t\t\t\t\t\t\t</div>
  282. \t\t\t\t\t\t\t\t\t";
  283.             }
  284.             $_parent = $context['_parent'];
  285.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['categorieImage'], $context['_parent'], $context['loop']);
  286.             $context = array_intersect_key($context, $_parent) + $_parent;
  287.             // line 107
  288.             echo "\t\t\t\t\t\t\t\t</div>
  289. \t\t\t\t\t\t\t</div>
  290. \t\t\t\t\t\t</div>
  291. \t\t\t\t\t";
  292.         }
  293.         $_parent = $context['_parent'];
  294.         unset($context['_seq'], $context['_iterated'], $context['key'], $context['yearImag'], $context['_parent'], $context['loop']);
  295.         $context = array_intersect_key($context, $_parent) + $_parent;
  296.         // line 111
  297.         echo "\t\t\t\t</div>
  298. \t\t\t</div>
  299. \t\t</div>
  300. \t</section>
  301. ";
  302.         
  303.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  304.         
  305.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  306.     }
  307.     public function getTemplateName()
  308.     {
  309.         return "frontend/frontindex/listMediaImage.html.twig";
  310.     }
  311.     public function isTraitable()
  312.     {
  313.         return false;
  314.     }
  315.     public function getDebugInfo()
  316.     {
  317.         return array (  318 => 111,  309 => 107,  300 => 103,  297 => 97,  291 => 96,  287 => 94,  279 => 86,  273 => 83,  262 => 77,  253 => 73,  247 => 70,  243 => 69,  240 => 68,  237 => 67,  233 => 66,  219 => 63,  212 => 58,  206 => 56,  200 => 54,  198 => 53,  189 => 51,  183 => 49,  180 => 48,  176 => 47,  163 => 44,  159 => 43,  154 => 40,  141 => 37,  136 => 36,  132 => 35,  117 => 23,  109 => 20,  103 => 17,  96 => 12,  86 => 11,  74 => 8,  72 => 5,  69 => 4,  59 => 3,  36 => 1,);
  318.     }
  319.     public function getSourceContext()
  320.     {
  321.         return new Source("{% extends 'frontend/frontindex/add.html.twig' %}
  322. {% block seo %}
  323. \t{{ render(path(
  324. \t\t'seo',
  325. \t\t{ 'page':20 }
  326. \t)) }}
  327. {% endblock %}
  328. {% block body %}
  329. \t<section class=\"breadcrumbs\" style=\"background-image:url('../front-assets/assets/img/breadcrumb-bg.jpg')\">
  330. \t\t<div class=\"container\">
  331. \t\t\t<div class=\"row\">
  332. \t\t\t\t<div class=\"col-lg-6 offset-lg-3 col-12\">
  333. \t\t\t\t\t<div class=\"breadcrumb-content\">
  334. \t\t\t\t\t\t<h1>{{'%image%'|trans}}</h1>
  335. \t\t\t\t\t\t<ul class=\"breadcrumb-menu\">
  336. \t\t\t\t\t\t\t<li>
  337. \t\t\t\t\t\t\t\t<a href=\"{{path('app_accueil')}}\">{{'%Home%'|trans}}</a>
  338. \t\t\t\t\t\t\t\t<i class=\"fa fa-angle-double-right\"></i>
  339. \t\t\t\t\t\t\t</li>
  340. \t\t\t\t\t\t\t<li class=\"text-white\">{{'%image%'|trans}}</li>
  341. \t\t\t\t\t\t</ul>
  342. \t\t\t\t\t</div>
  343. \t\t\t\t</div>
  344. \t\t\t</div>
  345. \t\t</div>
  346. \t</section>
  347. \t<section class=\"doctors-area doctor-page\">
  348. \t\t<div class=\"container\">
  349. \t\t\t<div id=\"accordion\">
  350. \t\t\t\t<div class=\"row\">
  351. \t\t\t\t\t<p>
  352. \t\t\t\t\t\t{% for key, yearImag in yearImage %}
  353. \t\t\t\t\t\t\t<div class=\"col-md-3\" id=\"heading{{key}}\">
  354. \t\t\t\t\t\t\t\t<button class=\"btn btn-outline-info btn-lg btn-block\" data-toggle=\"collapse\" data-target=\"#collapse{{key}}\" aria-expanded=\"true\" aria-controls=\"collapse{{key}}\">{{yearImag.year}}</button>
  355. \t\t\t\t\t\t\t</div>
  356. \t\t\t\t\t\t{% endfor %}
  357. \t\t\t\t\t</p>
  358. \t\t\t\t</div>
  359. \t\t\t\t<div class=\"row mt-3\">
  360. \t\t\t\t\t{% for key, yearImag in yearImage %}
  361. \t\t\t\t\t\t<div id=\"collapse{{key}}\" class=\"col-md-12 wow fadeInLeft collapse {% if key==0 %}show{% endif %}\" data-wow-delay=\"0.1s\" style=\"width: 100%;\" aria-labelledby=\"heading{{key}}\" data-parent=\"#accordion\">
  362. \t\t\t\t\t\t\t<div class=\"card card-body p-0 m-0\">
  363. \t\t\t\t\t\t\t\t<div id=\"accordion1\">
  364. \t\t\t\t\t\t\t\t\t{% for categorieImage in categorieImages %}
  365. \t\t\t\t\t\t\t\t\t\t<div class=\"card m-0 cardMediaImage\">
  366. \t\t\t\t\t\t\t\t\t\t\t<div class=\"card-header cardHeaderMediaImage\" id=\"heading{{categorieImage.id}}{{key}}\">
  367. \t\t\t\t\t\t\t\t\t\t\t\t<h2 class=\"mb-0 h5\">
  368. \t\t\t\t\t\t\t\t\t\t\t\t\t<button class=\"btn btn-link\" data-toggle=\"collapse\" data-target=\"#collapse{{categorieImage.id}}{{key}}\" aria-expanded=\"true\" aria-controls=\"collapse{{categorieImage.id}}{{key}}\">
  369. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<strong>
  370. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if categorieImage.categorie=='Congrès national' %}
  371. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{'%categorienational%'|trans|capitalize}}
  372. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
  373. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{'%autres%'|trans|capitalize}}
  374. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  375. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</strong>
  376. \t\t\t\t\t\t\t\t\t\t\t\t\t</button>
  377. \t\t\t\t\t\t\t\t\t\t\t\t</h2>
  378. \t\t\t\t\t\t\t\t\t\t\t</div>
  379. \t\t\t\t\t\t\t\t\t\t\t<div id=\"collapse{{categorieImage.id}}{{key}}\" class=\"collapse{% if categorieImage.id == 8 %} show{% endif %}\" aria-labelledby=\"heading{{categorieImage.id}}{{key}}\" data-parent=\"#accordion1\">
  380. \t\t\t\t\t\t\t\t\t\t\t\t<div class=\"card-body\">
  381. \t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"row\">
  382. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{% for media in medias %}
  383. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if media.date|date('Y') == yearImag.year and media.categorie == categorieImage.categorie %}
  384. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-md-4 m-0 p-0\">
  385. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<button type=\"button\" class=\"btn m-0 p-0\" data-toggle=\"modal\" data-target=\"#exampleModalCenter{{media.id}}\">
  386. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img src=\"{{ asset('uploads/imagesMedia/' ~ media.image) }}\" width=\"366px\">
  387. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</button>
  388. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<!-- Modal -->
  389. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"modal fade\" id=\"exampleModalCenter{{media.id}}\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"exampleModalCenterTitle{{media.id}}\" aria-hidden=\"true\">
  390. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"modal-dialog modal-lg\" role=\"document\">
  391. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"modal-content\">
  392. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"modal-header\">
  393. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<h3 class=\"modal-title\" id=\"exampleModalLongTitle{{media.id}}\">{{media.label}}</h3>
  394. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\">
  395. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span aria-hidden=\"true\">&times;</span>
  396. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</button>
  397. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  398. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"modal-body\">
  399. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img src=\"{{ asset('uploads/imagesMedia/' ~ media.image) }}\" width=\"100%\">
  400. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  401. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"modal-footer\">
  402. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<button type=\"button\" class=\"btn btn-secondary\" data-dismiss=\"modal\">{{'%Close%'|trans}}</button>
  403. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  404. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  405. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  406. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  407. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{# <div class=\"icon \">
  408. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\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\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\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>
  418. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\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> #}
  419. \t\t\t\t\t\t\t\t\t\t\t\t</div>
  420. \t\t\t\t\t\t\t\t\t\t\t</div>
  421. \t\t\t\t\t\t\t\t\t\t</div>
  422. \t\t\t\t\t\t\t\t\t{% endfor %}
  423. \t\t\t\t\t\t\t\t</div>
  424. \t\t\t\t\t\t\t</div>
  425. \t\t\t\t\t\t</div>
  426. \t\t\t\t\t{% endfor %}
  427. \t\t\t\t</div>
  428. \t\t\t</div>
  429. \t\t</div>
  430. \t</section>
  431. {% endblock %}
  432. ", "frontend/frontindex/listMediaImage.html.twig", "/home/urotunisuz/www/templates/frontend/frontindex/listMediaImage.html.twig");
  433.     }
  434. }