var/cache/dev/twig/77/7746db9cfacf59d57a650f88cba71b5e171b442a74739b1dff3b65e17402492f.php line 49

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/revuescientifique.html.twig */
  14. class __TwigTemplate_0bb799c2af638d028b28b003f2d7fd7572d625ec2f7fe4b6782560af1b43b7d0 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/revuescientifique.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/revuescientifique.html.twig"));
  39.         $this->parent = $this->loadTemplate("frontend/frontindex/add.html.twig", "frontend/frontindex/revuescientifique.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" => 13]));
  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 "
  77. \t<section class=\"service-area p-5\">
  78. \t\t<div class=\"container\">
  79. \t\t\t<div class=\"row\">
  80. \t\t\t\t<div class=\"col-lg-8 offset-lg-2 col-12\">
  81. \t\t\t\t\t<div class=\"section-title\">
  82. \t\t\t\t\t\t<h1>";
  83.         // line 17
  84.         echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("%revueScientifique%"), "html", null, true);
  85.         echo "</h1>
  86. \t\t\t\t\t</div>
  87. \t\t\t\t</div>
  88. \t\t\t</div>
  89. \t\t\t<div class=\"row\">
  90. \t\t\t\t";
  91.         // line 22
  92.         $context['_parent'] = $context;
  93.         $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); })()));
  94.         foreach ($context['_seq'] as $context["_key"] => $context["revue"]) {
  95.             // line 23
  96.             echo "\t\t\t\t\t<div class=\"col-md-4 wow fadeInUp\" data-wow-delay=\"0.1s\">
  97. \t\t\t\t\t\t<div class=\"single-doctor\">
  98. \t\t\t\t\t\t\t<div class=\"doctor-head\">
  99. \t\t\t\t\t\t\t\t<img src=\"";
  100.             // line 26
  101.             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);
  102.             echo "\" alt=\"";
  103.             echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["revue"], "titre", [], "any", false, false, false, 26), "html", null, true);
  104.             echo "\">
  105. \t\t\t\t\t\t\t\t<div class=\"d-head-btn\">
  106. \t\t\t\t\t\t\t\t\t<a ";
  107.             // line 28
  108.             if ((0 !== twig_compare(twig_get_attribute($this->env, $this->source, $context["revue"], "lien", [], "any", false, false, false, 28), null))) {
  109.                 echo " href=\"";
  110.                 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["revue"], "lien", [], "any", false, false, false, 28), "html", null, true);
  111.                 echo "\" ";
  112.             } else {
  113.                 echo " href=\"";
  114.                 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);
  115.                 echo "\" ";
  116.             }
  117.             echo " class=\"theme-btn primary\" target=\"_blank\">";
  118.             echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("%LirePlus%"), "html", null, true);
  119.             echo "</a>
  120. \t\t\t\t\t\t\t\t</div>
  121. \t\t\t\t\t\t\t</div>
  122. \t\t\t\t\t\t\t<div class=\"doctor-content\">
  123. \t\t\t\t\t\t\t\t<h2>
  124. \t\t\t\t\t\t\t\t\t<a href=\"";
  125.             // line 33
  126.             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);
  127.             echo "\" target=\"_blank\">";
  128.             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);
  129.             echo "</a>
  130. \t\t\t\t\t\t\t\t</h2>
  131. \t\t\t\t\t\t\t\t";
  132.             // line 35
  133.             if ((0 !== twig_compare(twig_get_attribute($this->env, $this->source, $context["revue"], "lien", [], "any", false, false, false, 35), null))) {
  134.                 // line 36
  135.                 echo "\t\t\t\t\t\t\t\t\t<span>
  136. \t\t\t\t\t\t\t\t\t\t<a href=\"";
  137.                 // line 37
  138.                 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["revue"], "lien", [], "any", false, false, false, 37), "html", null, true);
  139.                 echo "\" target=\"_blank\">
  140. \t\t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-globe\"></i>
  141. \t\t\t\t\t\t\t\t\t\t\t";
  142.                 // line 39
  143.                 echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("%Visitezsite%"), "html", null, true);
  144.                 echo "</a>
  145. \t\t\t\t\t\t\t\t\t</span>
  146. \t\t\t\t\t\t\t\t";
  147.             } else {
  148.                 // line 42
  149.                 echo "\t\t\t\t\t\t\t\t\t<span>
  150. \t\t\t\t\t\t\t\t\t\t<a href=\"";
  151.                 // line 43
  152.                 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);
  153.                 echo "\" target=\"_blank\">
  154. \t\t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-file\"></i>
  155. \t\t\t\t\t\t\t\t\t\t\t";
  156.                 // line 45
  157.                 echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("%voirPdf%"), "html", null, true);
  158.                 echo "</a>
  159. \t\t\t\t\t\t\t\t\t</span>
  160. \t\t\t\t\t\t\t\t";
  161.             }
  162.             // line 48
  163.             echo "\t\t\t\t\t\t\t\t";
  164.             // line 49
  165.             echo "
  166. \t\t\t\t\t\t\t</div>
  167. \t\t\t\t\t\t</div>
  168. \t\t\t\t\t</div>
  169. \t\t\t\t";
  170.         }
  171.         $_parent = $context['_parent'];
  172.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['revue'], $context['_parent'], $context['loop']);
  173.         $context = array_intersect_key($context, $_parent) + $_parent;
  174.         // line 54
  175.         echo "\t\t\t</div>
  176. \t\t\t<div class=\"row\">
  177. \t\t\t\t<div class=\"col-12\">
  178. \t\t\t\t\t";
  179.         // line 57
  180.         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); })()));
  181.         echo "</div>
  182. \t\t\t</div>
  183. \t\t</div>
  184. \t</section>
  185. ";
  186.         
  187.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  188.         
  189.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  190.     }
  191.     public function getTemplateName()
  192.     {
  193.         return "frontend/frontindex/revuescientifique.html.twig";
  194.     }
  195.     public function isTraitable()
  196.     {
  197.         return false;
  198.     }
  199.     public function getDebugInfo()
  200.     {
  201.         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,);
  202.     }
  203.     public function getSourceContext()
  204.     {
  205.         return new Source("{% extends 'frontend/frontindex/add.html.twig' %}
  206. {% block seo %}
  207. \t{{ render(path(
  208. \t\t'seo',
  209. \t\t{ 'page':13 }
  210. \t)) }}
  211. {% endblock %}
  212. {% block body %}
  213. \t<section class=\"service-area p-5\">
  214. \t\t<div class=\"container\">
  215. \t\t\t<div class=\"row\">
  216. \t\t\t\t<div class=\"col-lg-8 offset-lg-2 col-12\">
  217. \t\t\t\t\t<div class=\"section-title\">
  218. \t\t\t\t\t\t<h1>{{'%revueScientifique%'|trans}}</h1>
  219. \t\t\t\t\t</div>
  220. \t\t\t\t</div>
  221. \t\t\t</div>
  222. \t\t\t<div class=\"row\">
  223. \t\t\t\t{% for revue in revues  %}
  224. \t\t\t\t\t<div class=\"col-md-4 wow fadeInUp\" data-wow-delay=\"0.1s\">
  225. \t\t\t\t\t\t<div class=\"single-doctor\">
  226. \t\t\t\t\t\t\t<div class=\"doctor-head\">
  227. \t\t\t\t\t\t\t\t<img src=\"{{asset('uploads/imagesRevue/' ~ revue.image )}}\" alt=\"{{revue.titre}}\">
  228. \t\t\t\t\t\t\t\t<div class=\"d-head-btn\">
  229. \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>
  230. \t\t\t\t\t\t\t\t</div>
  231. \t\t\t\t\t\t\t</div>
  232. \t\t\t\t\t\t\t<div class=\"doctor-content\">
  233. \t\t\t\t\t\t\t\t<h2>
  234. \t\t\t\t\t\t\t\t\t<a href=\"{{asset('uploads/pdfRevue/' ~ revue.pdf)}}\" target=\"_blank\">{{revue.titre|capitalize}}</a>
  235. \t\t\t\t\t\t\t\t</h2>
  236. \t\t\t\t\t\t\t\t{% if revue.lien !=null %}
  237. \t\t\t\t\t\t\t\t\t<span>
  238. \t\t\t\t\t\t\t\t\t\t<a href=\"{{revue.lien}}\" target=\"_blank\">
  239. \t\t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-globe\"></i>
  240. \t\t\t\t\t\t\t\t\t\t\t{{'%Visitezsite%'|trans}}</a>
  241. \t\t\t\t\t\t\t\t\t</span>
  242. \t\t\t\t\t\t\t\t{% else %}
  243. \t\t\t\t\t\t\t\t\t<span>
  244. \t\t\t\t\t\t\t\t\t\t<a href=\"{{asset('uploads/pdfRevue/' ~ revue.pdf)}}\" target=\"_blank\">
  245. \t\t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-file\"></i>
  246. \t\t\t\t\t\t\t\t\t\t\t{{'%voirPdf%'|trans}}</a>
  247. \t\t\t\t\t\t\t\t\t</span>
  248. \t\t\t\t\t\t\t\t{% endif %}
  249. \t\t\t\t\t\t\t\t{# <span>{{'%revueScientifique%'|trans}}</span> #}
  250. \t\t\t\t\t\t\t</div>
  251. \t\t\t\t\t\t</div>
  252. \t\t\t\t\t</div>
  253. \t\t\t\t{% endfor %}
  254. \t\t\t</div>
  255. \t\t\t<div class=\"row\">
  256. \t\t\t\t<div class=\"col-12\">
  257. \t\t\t\t\t{{ knp_pagination_render(revues) }}</div>
  258. \t\t\t</div>
  259. \t\t</div>
  260. \t</section>
  261. {% endblock %}
  262. ", "frontend/frontindex/revuescientifique.html.twig", "/home/urotunisuz/www/templates/frontend/frontindex/revuescientifique.html.twig");
  263.     }
  264. }