<?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/recommandationInternational.html.twig */
class __TwigTemplate_cfecda3eab501c02964e564579dd32289f0eab3069e1fd25c79c0fdc3dd50d6d 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/recommandationInternational.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/recommandationInternational.html.twig"));
$this->parent = $this->loadTemplate("frontend/frontindex/add.html.twig", "frontend/frontindex/recommandationInternational.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" => 12]));
// 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=\"service-area p-5\">
\t\t<div class=\"container\">
\t\t\t<div class=\"row\">
\t\t\t\t<div class=\"col-lg-8 offset-lg-2 col-12\">
\t\t\t\t\t<div class=\"section-title\">
\t\t\t\t\t\t<h1>";
// line 17
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("%recommandationInter%"), "html", null, true);
echo "</h1>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</div>
\t\t\t<div class=\"row\">
\t\t\t\t";
// line 22
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["recommandations"]) || array_key_exists("recommandations", $context) ? $context["recommandations"] : (function () { throw new RuntimeError('Variable "recommandations" does not exist.', 22, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["recommandation"]) {
// line 23
echo "\t\t\t\t\t<div class=\"col-md-4 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<img src=\"";
// line 26
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(("uploads/imagesRecommandation/" . twig_get_attribute($this->env, $this->source, $context["recommandation"], "image", [], "any", false, false, false, 26))), "html", null, true);
echo "\" alt=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["recommandation"], "titreFr", [], "any", false, false, false, 26), "html", null, true);
echo "\">
\t\t\t\t\t\t\t\t<div class=\"d-head-btn\">
\t\t\t\t\t\t\t\t\t<a ";
// line 28
if ((0 !== twig_compare(twig_get_attribute($this->env, $this->source, $context["recommandation"], "pdf", [], "any", false, false, false, 28), null))) {
echo " href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(("uploads/pdfRecommandation/" . twig_get_attribute($this->env, $this->source, $context["recommandation"], "pdf", [], "any", false, false, false, 28))), "html", null, true);
echo "\" ";
} elseif ((0 !== twig_compare(twig_get_attribute($this->env, $this->source, $context["recommandation"], "lien", [], "any", false, false, false, 28), null))) {
echo " href=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["recommandation"], "lien", [], "any", false, false, false, 28), "html", null, true);
echo "\" ";
}
echo " class=\"theme-btn primary\" target=\"_blank\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("%LirePlus%"), "html", null, true);
echo "</a>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t<div class=\"doctor-content pt-3\">
\t\t\t\t\t\t\t\t<h5";
// line 32
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("%recommandationInter%"), "html", null, true);
echo "</span ";
if (((-1 === twig_compare(twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, $context["recommandation"], "titreEn", [], "any", false, false, false, 32)), 35)) || (-1 === twig_compare(twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, $context["recommandation"], "titreFr", [], "any", false, false, false, 32)), 35)))) {
echo "class=\"pb-4\"";
}
echo " > <a ";
if ((0 !== twig_compare(twig_get_attribute($this->env, $this->source, $context["recommandation"], "pdf", [], "any", false, false, false, 32), null))) {
echo "href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(("uploads/pdfRecommandation/" . twig_get_attribute($this->env, $this->source, $context["recommandation"], "pdf", [], "any", false, false, false, 32))), "html", null, true);
echo "\"";
} elseif ((0 !== twig_compare(twig_get_attribute($this->env, $this->source, $context["recommandation"], "lien", [], "any", false, false, false, 32), null))) {
echo "href=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["recommandation"], "lien", [], "any", false, false, false, 32), "html", null, true);
echo "\"";
}
echo " target=\"_blank\">";
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.', 32, $this->source); })()), "request", [], "any", false, false, false, 32), "locale", [], "any", false, false, false, 32), "fr"))) {
echo " ";
echo twig_escape_filter($this->env, twig_capitalize_string_filter($this->env, twig_get_attribute($this->env, $this->source, $context["recommandation"], "titreFr", [], "any", false, false, false, 32)), "html", null, true);
echo " ";
} elseif ((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.', 32, $this->source); })()), "request", [], "any", false, false, false, 32), "locale", [], "any", false, false, false, 32), "en"))) {
echo " ";
echo twig_escape_filter($this->env, twig_capitalize_string_filter($this->env, twig_get_attribute($this->env, $this->source, $context["recommandation"], "titreEn", [], "any", false, false, false, 32)), "html", null, true);
echo " ";
}
echo " </a> </h5> <span>></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['_iterated'], $context['_key'], $context['recommandation'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 36
echo "\t\t\t\t</div>
\t\t\t\t<div class=\"row\">
\t\t\t\t\t<div class=\"col-12\">
\t\t\t\t\t\t";
// line 39
echo $this->extensions['Knp\Bundle\PaginatorBundle\Twig\Extension\PaginationExtension']->render($this->env, (isset($context["recommandations"]) || array_key_exists("recommandations", $context) ? $context["recommandations"] : (function () { throw new RuntimeError('Variable "recommandations" does not exist.', 39, $this->source); })()));
echo "
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</div>
\t\t</section>
\t";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "frontend/frontindex/recommandationInternational.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 184 => 39, 179 => 36, 145 => 32, 128 => 28, 121 => 26, 116 => 23, 112 => 22, 104 => 17, 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(
\t\t'seo',
\t\t{ 'page':12 }
\t)) }}
{% endblock %}
{% block body %}
\t<section class=\"service-area p-5\">
\t\t<div class=\"container\">
\t\t\t<div class=\"row\">
\t\t\t\t<div class=\"col-lg-8 offset-lg-2 col-12\">
\t\t\t\t\t<div class=\"section-title\">
\t\t\t\t\t\t<h1>{{'%recommandationInter%'|trans}}</h1>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</div>
\t\t\t<div class=\"row\">
\t\t\t\t{% for recommandation in recommandations %}
\t\t\t\t\t<div class=\"col-md-4 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<img src=\"{{asset('uploads/imagesRecommandation/' ~ recommandation.image )}}\" alt=\"{{recommandation.titreFr}}\">
\t\t\t\t\t\t\t\t<div class=\"d-head-btn\">
\t\t\t\t\t\t\t\t\t<a {% if recommandation.pdf!=null %} href=\"{{asset('uploads/pdfRecommandation/' ~ recommandation.pdf )}}\" {% elseif recommandation.lien!=null %} href=\"{{recommandation.lien}}\" {% endif %} class=\"theme-btn primary\" target=\"_blank\">{{'%LirePlus%'|trans}}</a>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t<div class=\"doctor-content pt-3\">
\t\t\t\t\t\t\t\t<h5{{'%recommandationInter%'|trans}}</span {% if recommandation.titreEn|length < 35 or recommandation.titreFr|length < 35 %}class=\"pb-4\"{% endif %} > <a {% if recommandation.pdf!=null %}href=\"{{asset('uploads/pdfRecommandation/' ~ recommandation.pdf )}}\"{% elseif recommandation.lien!=null %}href=\"{{recommandation.lien}}\"{% endif %} target=\"_blank\">{% if app.request.locale=='fr' %} {{recommandation.titreFr|capitalize}} {% elseif app.request.locale =='en' %} {{recommandation.titreEn|capitalize}} {% endif %} </a> </h5> <span>></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\t<div class=\"row\">
\t\t\t\t\t<div class=\"col-12\">
\t\t\t\t\t\t{{ knp_pagination_render(recommandations) }}
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</div>
\t\t</section>
\t{% endblock %}
", "frontend/frontindex/recommandationInternational.html.twig", "/home/urotunisuz/www/templates/frontend/frontindex/recommandationInternational.html.twig");
}
}