<?php
use 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;
/* frontend/frontindex/bureau.html.twig */
class __TwigTemplate_016807d60f23b898da18ea21a6ad9b35e4f8fde9dae9c6cdd8fc309d1b630433 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'seo' => [$this, 'block_seo'],
'body' => [$this, 'block_body'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "frontend/frontindex/add.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "frontend/frontindex/bureau.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "frontend/frontindex/bureau.html.twig"));
$this->parent = $this->loadTemplate("frontend/frontindex/add.html.twig", "frontend/frontindex/bureau.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 2
public function block_seo($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "seo"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "seo"));
// line 3
echo "
\t";
// line 4
echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("seo", ["page" => 3]));
// line 7
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 10
public function block_body($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
// line 11
echo "\t<section class=\"doctors-area doctor-page\">
\t\t<div class=\"container\">
\t\t\t<div class=\"row\">
\t\t\t\t<div class=\"col-md-6 offset-md-3 text-center\">
\t\t\t\t\t<h1>";
// line 15
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("%ATUoffice%"), "html", null, true);
echo "</h1>
\t\t\t\t</div>
\t\t\t</div>
\t\t\t<div class=\"row mb-5\">
\t\t\t\t";
// line 20
$context['_parent'] = $context;
$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); })()));
foreach ($context['_seq'] as $context["_key"] => $context["comite"]) {
// line 21
echo "\t\t\t\t\t<div class=\"col-lg-3 col-md-6 col-12 wow fadeInUp\" data-wow-delay=\"0.1s\">
\t\t\t\t\t\t<div class=\"single-doctor\">
\t\t\t\t\t\t\t<div class=\"doctor-head\">
\t\t\t\t\t\t\t\t";
// line 24
if ((0 !== twig_compare(twig_get_attribute($this->env, $this->source, $context["comite"], "photo", [], "any", false, false, false, 24), null))) {
// line 25
echo "\t\t\t\t\t\t\t\t\t<img src=\"";
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);
echo "\" style=\"object-fit: cover;width: 100%;\" alt=\"#\">
\t\t\t\t\t\t\t\t";
}
// line 27
echo "\t\t\t\t\t\t\t\t<div class=\"d-head-btn\"></div>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t<div class=\"doctor-content\">
\t\t\t\t\t\t\t\t<h2>
\t\t\t\t\t\t\t\t\t<a href=\"#\">";
// line 31
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["comite"], "prenom", [], "any", false, false, false, 31), "html", null, true);
echo "
\t\t\t\t\t\t\t\t\t\t";
// line 32
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["comite"], "nom", [], "any", false, false, false, 32), "html", null, true);
echo "</a>
\t\t\t\t\t\t\t\t</h2>
\t\t\t\t\t\t\t\t<span>
\t\t\t\t\t\t\t\t\t";
// line 35
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"))) {
// line 36
echo "\t\t\t\t\t\t\t\t\t\t";
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);
echo "
\t\t\t\t\t\t\t\t\t";
} else {
// line 38
echo "\t\t\t\t\t\t\t\t\t\t";
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);
echo "
\t\t\t\t\t\t\t\t\t";
}
// line 40
echo "\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t\t<div class=\"doctor-social\">
\t\t\t\t\t\t\t\t\t<a ";
// line 42
if ((0 !== twig_compare(twig_get_attribute($this->env, $this->source, $context["comite"], "facebook", [], "any", false, false, false, 42), null))) {
echo " href=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["comite"], "facebook", [], "any", false, false, false, 42), "html", null, true);
echo "\" target=\"_blank\" ";
} else {
echo " href=\"javascript:void(0)\" ";
}
echo ">
\t\t\t\t\t\t\t\t\t\t<i class=\"fab fa-facebook-f\"></i>
\t\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t\t\t<a ";
// line 45
if ((0 !== twig_compare(twig_get_attribute($this->env, $this->source, $context["comite"], "twitter", [], "any", false, false, false, 45), null))) {
echo " href=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["comite"], "twitter", [], "any", false, false, false, 45), "html", null, true);
echo "\" target=\"_blank\" ";
} else {
echo " href=\"javascript:void(0)\" ";
}
echo ">
\t\t\t\t\t\t\t\t\t\t<i class=\"fab fa-twitter\"></i>
\t\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t\t\t<a ";
// line 48
if ((0 !== twig_compare(twig_get_attribute($this->env, $this->source, $context["comite"], "linkedin", [], "any", false, false, false, 48), null))) {
echo " href=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["comite"], "linkedin", [], "any", false, false, false, 48), "html", null, true);
echo "\" target=\"_blank\" ";
} else {
echo " href=\"javascript:void(0)\" ";
}
echo ">
\t\t\t\t\t\t\t\t\t\t<i class=\"fab fa-linkedin-in\"></i>
\t\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t\t\t<a ";
// line 51
if ((0 !== twig_compare(twig_get_attribute($this->env, $this->source, $context["comite"], "instagram", [], "any", false, false, false, 51), null))) {
echo " href=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["comite"], "instagram", [], "any", false, false, false, 51), "html", null, true);
echo "\" target=\"_blank\" ";
} else {
echo " href=\"javascript:void(0)\" ";
}
echo ">
\t\t\t\t\t\t\t\t\t\t<i class=\"fab fa-instagram\"></i>
\t\t\t\t\t\t\t\t\t</a>
\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</div>
\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['comite'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 59
echo "\t\t\t</div>
\t\t</div>
\t</section>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "frontend/frontindex/bureau.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("{% extends 'frontend/frontindex/add.html.twig' %}
{% block seo %}
\t{{ render(path(
'seo',
{ 'page':3 }
)) }}
{% endblock %}
{% block body %}
\t<section class=\"doctors-area doctor-page\">
\t\t<div class=\"container\">
\t\t\t<div class=\"row\">
\t\t\t\t<div class=\"col-md-6 offset-md-3 text-center\">
\t\t\t\t\t<h1>{{'%ATUoffice%'|trans}}</h1>
\t\t\t\t</div>
\t\t\t</div>
\t\t\t<div class=\"row mb-5\">
\t\t\t\t{% for comite in comites %}
\t\t\t\t\t<div class=\"col-lg-3 col-md-6 col-12 wow fadeInUp\" data-wow-delay=\"0.1s\">
\t\t\t\t\t\t<div class=\"single-doctor\">
\t\t\t\t\t\t\t<div class=\"doctor-head\">
\t\t\t\t\t\t\t\t{% if comite.photo !=null %}
\t\t\t\t\t\t\t\t\t<img src=\"{{ asset ('uploads/imagesComite/' ~ comite.photo)}}\" style=\"object-fit: cover;width: 100%;\" alt=\"#\">
\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t<div class=\"d-head-btn\"></div>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t<div class=\"doctor-content\">
\t\t\t\t\t\t\t\t<h2>
\t\t\t\t\t\t\t\t\t<a href=\"#\">{{comite.prenom}}
\t\t\t\t\t\t\t\t\t\t{{comite.nom}}</a>
\t\t\t\t\t\t\t\t</h2>
\t\t\t\t\t\t\t\t<span>
\t\t\t\t\t\t\t\t\t{% if app.request.locale =='fr' %}
\t\t\t\t\t\t\t\t\t\t{{comite.posteFr|capitalize}}
\t\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t\t{{comite.posteEn|capitalize}}
\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t\t<div class=\"doctor-social\">
\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 %}>
\t\t\t\t\t\t\t\t\t\t<i class=\"fab fa-facebook-f\"></i>
\t\t\t\t\t\t\t\t\t</a>
\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 %}>
\t\t\t\t\t\t\t\t\t\t<i class=\"fab fa-twitter\"></i>
\t\t\t\t\t\t\t\t\t</a>
\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 %}>
\t\t\t\t\t\t\t\t\t\t<i class=\"fab fa-linkedin-in\"></i>
\t\t\t\t\t\t\t\t\t</a>
\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 %}>
\t\t\t\t\t\t\t\t\t\t<i class=\"fab fa-instagram\"></i>
\t\t\t\t\t\t\t\t\t</a>
\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</div>
\t\t\t\t{% endfor %}
\t\t\t</div>
\t\t</div>
\t</section>
{% endblock %}
", "frontend/frontindex/bureau.html.twig", "/home/urotunisuz/www/templates/frontend/frontindex/bureau.html.twig");
}
}