<?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/revuescientifique.html.twig */
class __TwigTemplate_0bb799c2af638d028b28b003f2d7fd7572d625ec2f7fe4b6782560af1b43b7d0 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/revuescientifique.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/revuescientifique.html.twig"));
$this->parent = $this->loadTemplate("frontend/frontindex/add.html.twig", "frontend/frontindex/revuescientifique.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" => 13]));
// 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("%revueScientifique%"), "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["revues"]) || array_key_exists("revues", $context) ? $context["revues"] : (function () { throw new RuntimeError('Variable "revues" does not exist.', 22, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["revue"]) {
// 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/imagesRevue/" . twig_get_attribute($this->env, $this->source, $context["revue"], "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["revue"], "titre", [], "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["revue"], "lien", [], "any", false, false, false, 28), null))) {
echo " href=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["revue"], "lien", [], "any", false, false, false, 28), "html", null, true);
echo "\" ";
} else {
echo " href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(("uploads/pdfRevue/" . twig_get_attribute($this->env, $this->source, $context["revue"], "pdf", [], "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\">
\t\t\t\t\t\t\t\t<h2>
\t\t\t\t\t\t\t\t\t<a href=\"";
// line 33
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(("uploads/pdfRevue/" . twig_get_attribute($this->env, $this->source, $context["revue"], "pdf", [], "any", false, false, false, 33))), "html", null, true);
echo "\" target=\"_blank\">";
echo twig_escape_filter($this->env, twig_capitalize_string_filter($this->env, twig_get_attribute($this->env, $this->source, $context["revue"], "titre", [], "any", false, false, false, 33)), "html", null, true);
echo "</a>
\t\t\t\t\t\t\t\t</h2>
\t\t\t\t\t\t\t\t";
// line 35
if ((0 !== twig_compare(twig_get_attribute($this->env, $this->source, $context["revue"], "lien", [], "any", false, false, false, 35), null))) {
// line 36
echo "\t\t\t\t\t\t\t\t\t<span>
\t\t\t\t\t\t\t\t\t\t<a href=\"";
// line 37
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["revue"], "lien", [], "any", false, false, false, 37), "html", null, true);
echo "\" target=\"_blank\">
\t\t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-globe\"></i>
\t\t\t\t\t\t\t\t\t\t\t";
// line 39
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("%Visitezsite%"), "html", null, true);
echo "</a>
\t\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t\t";
} else {
// line 42
echo "\t\t\t\t\t\t\t\t\t<span>
\t\t\t\t\t\t\t\t\t\t<a href=\"";
// line 43
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(("uploads/pdfRevue/" . twig_get_attribute($this->env, $this->source, $context["revue"], "pdf", [], "any", false, false, false, 43))), "html", null, true);
echo "\" target=\"_blank\">
\t\t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-file\"></i>
\t\t\t\t\t\t\t\t\t\t\t";
// line 45
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("%voirPdf%"), "html", null, true);
echo "</a>
\t\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t\t";
}
// line 48
echo "\t\t\t\t\t\t\t\t";
// line 49
echo "
\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['revue'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 54
echo "\t\t\t</div>
\t\t\t<div class=\"row\">
\t\t\t\t<div class=\"col-12\">
\t\t\t\t\t";
// line 57
echo $this->extensions['Knp\Bundle\PaginatorBundle\Twig\Extension\PaginationExtension']->render($this->env, (isset($context["revues"]) || array_key_exists("revues", $context) ? $context["revues"] : (function () { throw new RuntimeError('Variable "revues" does not exist.', 57, $this->source); })()));
echo "</div>
\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/revuescientifique.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 200 => 57, 195 => 54, 185 => 49, 183 => 48, 177 => 45, 172 => 43, 169 => 42, 163 => 39, 158 => 37, 155 => 36, 153 => 35, 146 => 33, 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':13 }
\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>{{'%revueScientifique%'|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 revue in revues %}
\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/imagesRevue/' ~ revue.image )}}\" alt=\"{{revue.titre}}\">
\t\t\t\t\t\t\t\t<div class=\"d-head-btn\">
\t\t\t\t\t\t\t\t\t<a {% if revue.lien!=null %} href=\"{{revue.lien}}\" {% else %} href=\"{{asset('uploads/pdfRevue/' ~ revue.pdf)}}\" {% 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\">
\t\t\t\t\t\t\t\t<h2>
\t\t\t\t\t\t\t\t\t<a href=\"{{asset('uploads/pdfRevue/' ~ revue.pdf)}}\" target=\"_blank\">{{revue.titre|capitalize}}</a>
\t\t\t\t\t\t\t\t</h2>
\t\t\t\t\t\t\t\t{% if revue.lien !=null %}
\t\t\t\t\t\t\t\t\t<span>
\t\t\t\t\t\t\t\t\t\t<a href=\"{{revue.lien}}\" target=\"_blank\">
\t\t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-globe\"></i>
\t\t\t\t\t\t\t\t\t\t\t{{'%Visitezsite%'|trans}}</a>
\t\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t<span>
\t\t\t\t\t\t\t\t\t\t<a href=\"{{asset('uploads/pdfRevue/' ~ revue.pdf)}}\" target=\"_blank\">
\t\t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-file\"></i>
\t\t\t\t\t\t\t\t\t\t\t{{'%voirPdf%'|trans}}</a>
\t\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t{# <span>{{'%revueScientifique%'|trans}}</span> #}
\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\t<div class=\"row\">
\t\t\t\t<div class=\"col-12\">
\t\t\t\t\t{{ knp_pagination_render(revues) }}</div>
\t\t\t</div>
\t\t</div>
\t</section>
{% endblock %}
", "frontend/frontindex/revuescientifique.html.twig", "/home/urotunisuz/www/templates/frontend/frontindex/revuescientifique.html.twig");
}
}