var/cache/dev/twig/5d/5d0c01bba9ee5e5eadda4262b6c9cd2a5f981144200020a26494161dcddedd06.php line 59

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/bureau.html.twig */
  14. class __TwigTemplate_016807d60f23b898da18ea21a6ad9b35e4f8fde9dae9c6cdd8fc309d1b630433 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/bureau.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/bureau.html.twig"));
  39.         $this->parent = $this->loadTemplate("frontend/frontindex/add.html.twig", "frontend/frontindex/bureau.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 2
  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 3
  55.         echo "
  56. \t";
  57.         // line 4
  58.         echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("seo", ["page" => 3]));
  59.         // line 7
  60.         echo "
  61. ";
  62.         
  63.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  64.         
  65.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  66.     }
  67.     // line 10
  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 11
  76.         echo "\t<section class=\"doctors-area doctor-page\">
  77. \t\t<div class=\"container\">
  78. \t\t\t<div class=\"row\">
  79. \t\t\t\t<div class=\"col-md-6 offset-md-3 text-center\">
  80. \t\t\t\t\t<h1>";
  81.         // line 15
  82.         echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("%ATUoffice%"), "html", null, true);
  83.         echo "</h1>
  84. \t\t\t\t</div>
  85. \t\t\t</div>
  86. \t\t\t<div class=\"row mb-5\">
  87. \t\t\t\t";
  88.         // line 20
  89.         $context['_parent'] = $context;
  90.         $context['_seq'] = twig_ensure_traversable((isset($context["comites"]) || array_key_exists("comites", $context) ? $context["comites"] : (function () { throw new RuntimeError('Variable "comites" does not exist.', 20, $this->source); })()));
  91.         foreach ($context['_seq'] as $context["_key"] => $context["comite"]) {
  92.             // line 21
  93.             echo "\t\t\t\t\t<div class=\"col-lg-3 col-md-6 col-12 wow fadeInUp\" data-wow-delay=\"0.1s\">
  94. \t\t\t\t\t\t<div class=\"single-doctor\">
  95. \t\t\t\t\t\t\t<div class=\"doctor-head\">
  96. \t\t\t\t\t\t\t\t";
  97.             // line 24
  98.             if ((0 !== twig_compare(twig_get_attribute($this->env, $this->source, $context["comite"], "photo", [], "any", false, false, false, 24), null))) {
  99.                 // line 25
  100.                 echo "\t\t\t\t\t\t\t\t\t<img src=\"";
  101.                 echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(("uploads/imagesComite/" . twig_get_attribute($this->env, $this->source, $context["comite"], "photo", [], "any", false, false, false, 25))), "html", null, true);
  102.                 echo "\" style=\"object-fit: cover;width: 100%;\" alt=\"#\">
  103. \t\t\t\t\t\t\t\t";
  104.             }
  105.             // line 27
  106.             echo "\t\t\t\t\t\t\t\t<div class=\"d-head-btn\"></div>
  107. \t\t\t\t\t\t\t</div>
  108. \t\t\t\t\t\t\t<div class=\"doctor-content\">
  109. \t\t\t\t\t\t\t\t<h2>
  110. \t\t\t\t\t\t\t\t\t<a href=\"#\">";
  111.             // line 31
  112.             echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["comite"], "prenom", [], "any", false, false, false, 31), "html", null, true);
  113.             echo "
  114. \t\t\t\t\t\t\t\t\t\t";
  115.             // line 32
  116.             echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["comite"], "nom", [], "any", false, false, false, 32), "html", null, true);
  117.             echo "</a>
  118. \t\t\t\t\t\t\t\t</h2>
  119. \t\t\t\t\t\t\t\t<span>
  120. \t\t\t\t\t\t\t\t\t";
  121.             // line 35
  122.             if ((0 === twig_compare(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 35, $this->source); })()), "request", [], "any", false, false, false, 35), "locale", [], "any", false, false, false, 35), "fr"))) {
  123.                 // line 36
  124.                 echo "\t\t\t\t\t\t\t\t\t\t";
  125.                 echo twig_escape_filter($this->env, twig_capitalize_string_filter($this->env, twig_get_attribute($this->env, $this->source, $context["comite"], "posteFr", [], "any", false, false, false, 36)), "html", null, true);
  126.                 echo "
  127. \t\t\t\t\t\t\t\t\t";
  128.             } else {
  129.                 // line 38
  130.                 echo "\t\t\t\t\t\t\t\t\t\t";
  131.                 echo twig_escape_filter($this->env, twig_capitalize_string_filter($this->env, twig_get_attribute($this->env, $this->source, $context["comite"], "posteEn", [], "any", false, false, false, 38)), "html", null, true);
  132.                 echo "
  133. \t\t\t\t\t\t\t\t\t";
  134.             }
  135.             // line 40
  136.             echo "\t\t\t\t\t\t\t\t</span>
  137. \t\t\t\t\t\t\t\t<div class=\"doctor-social\">
  138. \t\t\t\t\t\t\t\t\t<a ";
  139.             // line 42
  140.             if ((0 !== twig_compare(twig_get_attribute($this->env, $this->source, $context["comite"], "facebook", [], "any", false, false, false, 42), null))) {
  141.                 echo " href=\"";
  142.                 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["comite"], "facebook", [], "any", false, false, false, 42), "html", null, true);
  143.                 echo "\" target=\"_blank\" ";
  144.             } else {
  145.                 echo " href=\"javascript:void(0)\" ";
  146.             }
  147.             echo ">
  148. \t\t\t\t\t\t\t\t\t\t<i class=\"fab fa-facebook-f\"></i>
  149. \t\t\t\t\t\t\t\t\t</a>
  150. \t\t\t\t\t\t\t\t\t<a ";
  151.             // line 45
  152.             if ((0 !== twig_compare(twig_get_attribute($this->env, $this->source, $context["comite"], "twitter", [], "any", false, false, false, 45), null))) {
  153.                 echo " href=\"";
  154.                 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["comite"], "twitter", [], "any", false, false, false, 45), "html", null, true);
  155.                 echo "\" target=\"_blank\" ";
  156.             } else {
  157.                 echo " href=\"javascript:void(0)\" ";
  158.             }
  159.             echo ">
  160. \t\t\t\t\t\t\t\t\t\t<i class=\"fab fa-twitter\"></i>
  161. \t\t\t\t\t\t\t\t\t</a>
  162. \t\t\t\t\t\t\t\t\t<a ";
  163.             // line 48
  164.             if ((0 !== twig_compare(twig_get_attribute($this->env, $this->source, $context["comite"], "linkedin", [], "any", false, false, false, 48), null))) {
  165.                 echo " href=\"";
  166.                 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["comite"], "linkedin", [], "any", false, false, false, 48), "html", null, true);
  167.                 echo "\" target=\"_blank\" ";
  168.             } else {
  169.                 echo " href=\"javascript:void(0)\" ";
  170.             }
  171.             echo ">
  172. \t\t\t\t\t\t\t\t\t\t<i class=\"fab fa-linkedin-in\"></i>
  173. \t\t\t\t\t\t\t\t\t</a>
  174. \t\t\t\t\t\t\t\t\t<a ";
  175.             // line 51
  176.             if ((0 !== twig_compare(twig_get_attribute($this->env, $this->source, $context["comite"], "instagram", [], "any", false, false, false, 51), null))) {
  177.                 echo " href=\"";
  178.                 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["comite"], "instagram", [], "any", false, false, false, 51), "html", null, true);
  179.                 echo "\" target=\"_blank\" ";
  180.             } else {
  181.                 echo " href=\"javascript:void(0)\" ";
  182.             }
  183.             echo ">
  184. \t\t\t\t\t\t\t\t\t\t<i class=\"fab fa-instagram\"></i>
  185. \t\t\t\t\t\t\t\t\t</a>
  186. \t\t\t\t\t\t\t\t</div>
  187. \t\t\t\t\t\t\t</div>
  188. \t\t\t\t\t\t</div>
  189. \t\t\t\t\t</div>
  190. \t\t\t\t";
  191.         }
  192.         $_parent = $context['_parent'];
  193.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['comite'], $context['_parent'], $context['loop']);
  194.         $context = array_intersect_key($context, $_parent) + $_parent;
  195.         // line 59
  196.         echo "\t\t\t</div>
  197. \t\t</div>
  198. \t</section>
  199. ";
  200.         
  201.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  202.         
  203.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  204.     }
  205.     public function getTemplateName()
  206.     {
  207.         return "frontend/frontindex/bureau.html.twig";
  208.     }
  209.     public function isTraitable()
  210.     {
  211.         return false;
  212.     }
  213.     public function getDebugInfo()
  214.     {
  215.         return array (  217 => 59,  197 => 51,  185 => 48,  173 => 45,  161 => 42,  157 => 40,  151 => 38,  145 => 36,  143 => 35,  137 => 32,  133 => 31,  127 => 27,  121 => 25,  119 => 24,  114 => 21,  110 => 20,  102 => 15,  96 => 11,  86 => 10,  74 => 7,  72 => 4,  69 => 3,  59 => 2,  36 => 1,);
  216.     }
  217.     public function getSourceContext()
  218.     {
  219.         return new Source("{% extends 'frontend/frontindex/add.html.twig' %}
  220. {% block seo %}
  221. \t{{ render(path(
  222.                 'seo',
  223.                 { 'page':3 }
  224.             )) }}
  225. {% endblock %}
  226. {% block body %}
  227. \t<section class=\"doctors-area doctor-page\">
  228. \t\t<div class=\"container\">
  229. \t\t\t<div class=\"row\">
  230. \t\t\t\t<div class=\"col-md-6 offset-md-3 text-center\">
  231. \t\t\t\t\t<h1>{{'%ATUoffice%'|trans}}</h1>
  232. \t\t\t\t</div>
  233. \t\t\t</div>
  234. \t\t\t<div class=\"row mb-5\">
  235. \t\t\t\t{% for comite in comites %}
  236. \t\t\t\t\t<div class=\"col-lg-3 col-md-6 col-12 wow fadeInUp\" data-wow-delay=\"0.1s\">
  237. \t\t\t\t\t\t<div class=\"single-doctor\">
  238. \t\t\t\t\t\t\t<div class=\"doctor-head\">
  239. \t\t\t\t\t\t\t\t{% if comite.photo !=null %}
  240. \t\t\t\t\t\t\t\t\t<img src=\"{{ asset ('uploads/imagesComite/' ~ comite.photo)}}\" style=\"object-fit: cover;width: 100%;\" alt=\"#\">
  241. \t\t\t\t\t\t\t\t{% endif %}
  242. \t\t\t\t\t\t\t\t<div class=\"d-head-btn\"></div>
  243. \t\t\t\t\t\t\t</div>
  244. \t\t\t\t\t\t\t<div class=\"doctor-content\">
  245. \t\t\t\t\t\t\t\t<h2>
  246. \t\t\t\t\t\t\t\t\t<a href=\"#\">{{comite.prenom}}
  247. \t\t\t\t\t\t\t\t\t\t{{comite.nom}}</a>
  248. \t\t\t\t\t\t\t\t</h2>
  249. \t\t\t\t\t\t\t\t<span>
  250. \t\t\t\t\t\t\t\t\t{% if app.request.locale =='fr' %}
  251. \t\t\t\t\t\t\t\t\t\t{{comite.posteFr|capitalize}}
  252. \t\t\t\t\t\t\t\t\t{% else %}
  253. \t\t\t\t\t\t\t\t\t\t{{comite.posteEn|capitalize}}
  254. \t\t\t\t\t\t\t\t\t{% endif %}
  255. \t\t\t\t\t\t\t\t</span>
  256. \t\t\t\t\t\t\t\t<div class=\"doctor-social\">
  257. \t\t\t\t\t\t\t\t\t<a {% if comite.facebook !=null %} href=\"{{comite.facebook}}\" target=\"_blank\" {% else %} href=\"javascript:void(0)\" {% endif %}>
  258. \t\t\t\t\t\t\t\t\t\t<i class=\"fab fa-facebook-f\"></i>
  259. \t\t\t\t\t\t\t\t\t</a>
  260. \t\t\t\t\t\t\t\t\t<a {% if comite.twitter !=null %} href=\"{{comite.twitter}}\" target=\"_blank\" {% else %} href=\"javascript:void(0)\" {% endif %}>
  261. \t\t\t\t\t\t\t\t\t\t<i class=\"fab fa-twitter\"></i>
  262. \t\t\t\t\t\t\t\t\t</a>
  263. \t\t\t\t\t\t\t\t\t<a {% if comite.linkedin !=null %} href=\"{{comite.linkedin}}\" target=\"_blank\" {% else %} href=\"javascript:void(0)\" {% endif %}>
  264. \t\t\t\t\t\t\t\t\t\t<i class=\"fab fa-linkedin-in\"></i>
  265. \t\t\t\t\t\t\t\t\t</a>
  266. \t\t\t\t\t\t\t\t\t<a {% if comite.instagram !=null %} href=\"{{comite.instagram}}\" target=\"_blank\" {% else %} href=\"javascript:void(0)\" {% endif %}>
  267. \t\t\t\t\t\t\t\t\t\t<i class=\"fab fa-instagram\"></i>
  268. \t\t\t\t\t\t\t\t\t</a>
  269. \t\t\t\t\t\t\t\t</div>
  270. \t\t\t\t\t\t\t</div>
  271. \t\t\t\t\t\t</div>
  272. \t\t\t\t\t</div>
  273. \t\t\t\t{% endfor %}
  274. \t\t\t</div>
  275. \t\t</div>
  276. \t</section>
  277. {% endblock %}
  278. ", "frontend/frontindex/bureau.html.twig", "/home/urotunisuz/www/templates/frontend/frontindex/bureau.html.twig");
  279.     }
  280. }