var/cache/dev/twig/02/02914f32f552d9b025856f8078112eb1e9bf86dbb2db0eb4171a497e07518fc3.php line 39

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/videoEducativePatient.html.twig */
  14. class __TwigTemplate_6cbacc0be5385a6c0a8a1fc043d120f42ed7591b85cb1ea3b859088d89e959a5 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/videoEducativePatient.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/videoEducativePatient.html.twig"));
  39.         $this->parent = $this->loadTemplate("frontend/frontindex/add.html.twig", "frontend/frontindex/videoEducativePatient.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" => 24]));
  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, twig_capitalize_string_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("%videoEducativePatient%")), "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["medias"]) || array_key_exists("medias", $context) ? $context["medias"] : (function () { throw new RuntimeError('Variable "medias" does not exist.', 22, $this->source); })()));
  94.         foreach ($context['_seq'] as $context["_key"] => $context["media"]) {
  95.             // line 23
  96.             echo "\t\t\t\t\t<div class=\"col-md-4 mb-2\">
  97. \t\t\t\t\t\t<div class=\"department-image\">
  98. \t\t\t\t\t\t\t";
  99.             // line 25
  100.             if ((null === twig_get_attribute($this->env, $this->source, $context["media"], "urlImage", [], "any", false, false, false, 25))) {
  101.                 // line 26
  102.                 echo "\t\t\t\t\t\t\t\t<img src=\"";
  103.                 echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("front-assets/assets/img/logo1.png"), "html", null, true);
  104.                 echo "\" style=\"height:251px\" alt=\"#\">
  105. \t\t\t\t\t\t\t";
  106.             } else {
  107.                 // line 28
  108.                 echo "\t\t\t\t\t\t\t\t<img src=\"";
  109.                 echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(("uploads/images/" . twig_get_attribute($this->env, $this->source, $context["media"], "urlImage", [], "any", false, false, false, 28))), "html", null, true);
  110.                 echo "\" style=\"height:251px\" alt=\"#\">
  111. \t\t\t\t\t\t\t";
  112.             }
  113.             // line 30
  114.             echo "\t\t\t\t\t\t\t<div class=\"video-main\">
  115. \t\t\t\t\t\t\t\t<div class=\"promo-video\">
  116. \t\t\t\t\t\t\t\t\t<div class=\"waves-block\">
  117. \t\t\t\t\t\t\t\t\t\t<div class=\"waves wave-1\"></div>
  118. \t\t\t\t\t\t\t\t\t\t<div class=\"waves wave-2\"></div>
  119. \t\t\t\t\t\t\t\t\t\t<div class=\"waves wave-3\"></div>
  120. \t\t\t\t\t\t\t\t\t</div>
  121. \t\t\t\t\t\t\t\t</div>
  122. \t\t\t\t\t\t\t\t<a href=\"";
  123.             // line 38
  124.             echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["media"], "urlVideo", [], "any", false, false, false, 38), "html", null, true);
  125.             echo "\" class=\"video video-popup mfp-iframe\">
  126. \t\t\t\t\t\t\t\t\t<i class=\"fa fa-play\"></i>
  127. \t\t\t\t\t\t\t\t</a>
  128. \t\t\t\t\t\t\t</div>
  129. \t\t\t\t\t\t</div>
  130. \t\t\t\t\t\t<h2 class=\"text-center h6\">
  131. \t\t\t\t\t\t\t<strong>
  132. \t\t\t\t\t\t\t\t<span>";
  133.             // line 45
  134.             echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["media"], "titre", [], "any", false, false, false, 45), "html", null, true);
  135.             echo "</span>
  136. \t\t\t\t\t\t\t</strong>
  137. \t\t\t\t\t\t</h2>
  138. \t\t\t\t\t</div>
  139. \t\t\t\t";
  140.         }
  141.         $_parent = $context['_parent'];
  142.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['media'], $context['_parent'], $context['loop']);
  143.         $context = array_intersect_key($context, $_parent) + $_parent;
  144.         // line 50
  145.         echo "\t\t\t</div>
  146. \t\t\t<div class=\"row\">
  147. \t\t\t\t<div class=\"col-12\">
  148. \t\t\t\t\t";
  149.         // line 53
  150.         echo $this->extensions['Knp\Bundle\PaginatorBundle\Twig\Extension\PaginationExtension']->render($this->env, (isset($context["medias"]) || array_key_exists("medias", $context) ? $context["medias"] : (function () { throw new RuntimeError('Variable "medias" does not exist.', 53, $this->source); })()));
  151.         echo "
  152. \t\t\t\t</div>
  153. \t\t\t</div>
  154. \t\t</div>
  155. \t</section>
  156. ";
  157.         
  158.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  159.         
  160.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  161.     }
  162.     public function getTemplateName()
  163.     {
  164.         return "frontend/frontindex/videoEducativePatient.html.twig";
  165.     }
  166.     public function isTraitable()
  167.     {
  168.         return false;
  169.     }
  170.     public function getDebugInfo()
  171.     {
  172.         return array (  170 => 53,  165 => 50,  154 => 45,  144 => 38,  134 => 30,  128 => 28,  122 => 26,  120 => 25,  116 => 23,  112 => 22,  104 => 17,  96 => 11,  86 => 10,  74 => 7,  72 => 4,  69 => 3,  59 => 2,  36 => 1,);
  173.     }
  174.     public function getSourceContext()
  175.     {
  176.         return new Source("{% extends 'frontend/frontindex/add.html.twig' %}
  177. {% block seo %}
  178. \t{{ render(path(
  179. \t\t'seo',
  180. \t\t{ 'page':24 }
  181. \t)) }}
  182. {% endblock %}
  183. {% block body %}
  184. \t<section class=\"service-area p-5\">
  185. \t\t<div class=\"container\">
  186. \t\t\t<div class=\"row\">
  187. \t\t\t\t<div class=\"col-lg-8 offset-lg-2 col-12\">
  188. \t\t\t\t\t<div class=\"section-title\">
  189. \t\t\t\t\t\t<h1>{{'%videoEducativePatient%'|trans|capitalize}}</h1>
  190. \t\t\t\t\t</div>
  191. \t\t\t\t</div>
  192. \t\t\t</div>
  193. \t\t\t<div class=\"row\">
  194. \t\t\t\t{% for media in medias %}
  195. \t\t\t\t\t<div class=\"col-md-4 mb-2\">
  196. \t\t\t\t\t\t<div class=\"department-image\">
  197. \t\t\t\t\t\t\t{% if media.urlImage is null  %}
  198. \t\t\t\t\t\t\t\t<img src=\"{{ asset ('front-assets/assets/img/logo1.png') }}\" style=\"height:251px\" alt=\"#\">
  199. \t\t\t\t\t\t\t{% else %}
  200. \t\t\t\t\t\t\t\t<img src=\"{{ asset('uploads/images/' ~ media.urlImage) }}\" style=\"height:251px\" alt=\"#\">
  201. \t\t\t\t\t\t\t{% endif %}
  202. \t\t\t\t\t\t\t<div class=\"video-main\">
  203. \t\t\t\t\t\t\t\t<div class=\"promo-video\">
  204. \t\t\t\t\t\t\t\t\t<div class=\"waves-block\">
  205. \t\t\t\t\t\t\t\t\t\t<div class=\"waves wave-1\"></div>
  206. \t\t\t\t\t\t\t\t\t\t<div class=\"waves wave-2\"></div>
  207. \t\t\t\t\t\t\t\t\t\t<div class=\"waves wave-3\"></div>
  208. \t\t\t\t\t\t\t\t\t</div>
  209. \t\t\t\t\t\t\t\t</div>
  210. \t\t\t\t\t\t\t\t<a href=\"{{ media.urlVideo }}\" class=\"video video-popup mfp-iframe\">
  211. \t\t\t\t\t\t\t\t\t<i class=\"fa fa-play\"></i>
  212. \t\t\t\t\t\t\t\t</a>
  213. \t\t\t\t\t\t\t</div>
  214. \t\t\t\t\t\t</div>
  215. \t\t\t\t\t\t<h2 class=\"text-center h6\">
  216. \t\t\t\t\t\t\t<strong>
  217. \t\t\t\t\t\t\t\t<span>{{media.titre}}</span>
  218. \t\t\t\t\t\t\t</strong>
  219. \t\t\t\t\t\t</h2>
  220. \t\t\t\t\t</div>
  221. \t\t\t\t{% endfor %}
  222. \t\t\t</div>
  223. \t\t\t<div class=\"row\">
  224. \t\t\t\t<div class=\"col-12\">
  225. \t\t\t\t\t{{ knp_pagination_render(medias) }}
  226. \t\t\t\t</div>
  227. \t\t\t</div>
  228. \t\t</div>
  229. \t</section>
  230. {% endblock %}
  231. ", "frontend/frontindex/videoEducativePatient.html.twig", "/home/urotunisuz/www/templates/frontend/frontindex/videoEducativePatient.html.twig");
  232.     }
  233. }