var/cache/dev/twig/fa/fa35715da9e93cb996f052018b746841efc0d269ed8d8ece6493419b0cc46d48.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/listMediaVideo.html.twig */
  14. class __TwigTemplate_b7f05de2fc9c24af704c235373c82ae3994114243250e8b06a5ec522cb76501a 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/listMediaVideo.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/listMediaVideo.html.twig"));
  39.         $this->parent = $this->loadTemplate("frontend/frontindex/add.html.twig", "frontend/frontindex/listMediaVideo.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 3
  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 4
  55.         echo "
  56. \t";
  57.         // line 5
  58.         echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("seo", ["page" => 19]));
  59.         // line 8
  60.         echo "
  61. ";
  62.         
  63.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  64.         
  65.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  66.     }
  67.     // line 11
  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 12
  76.         echo "\t<section class=\"breadcrumbs\" style=\"background-image:url('../front-assets/assets/img/breadcrumb-bg.jpg')\">
  77. \t\t<div class=\"container\">
  78. \t\t\t<div class=\"row\">
  79. \t\t\t\t<div class=\"col-lg-6 offset-lg-3 col-12\">
  80. \t\t\t\t\t<div class=\"breadcrumb-content\">
  81. \t\t\t\t\t\t<h1>";
  82.         // line 17
  83.         echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("%video%"), "html", null, true);
  84.         echo "</h1>
  85. \t\t\t\t\t\t<ul class=\"breadcrumb-menu\">
  86. \t\t\t\t\t\t\t<li>
  87. \t\t\t\t\t\t\t\t<a href=\"";
  88.         // line 20
  89.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_accueil");
  90.         echo "\">";
  91.         echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("%Home%"), "html", null, true);
  92.         echo "</a>
  93. \t\t\t\t\t\t\t\t<i class=\"fa fa-angle-double-right\"></i>
  94. \t\t\t\t\t\t\t</li>
  95. \t\t\t\t\t\t\t<li class=\"text-white\">";
  96.         // line 23
  97.         echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("%video%"), "html", null, true);
  98.         echo "</li>
  99. \t\t\t\t\t\t</ul>
  100. \t\t\t\t\t</div>
  101. \t\t\t\t</div>
  102. \t\t\t</div>
  103. \t\t</div>
  104. \t</section>
  105. \t<section class=\"doctors-area doctor-page\">
  106. \t\t<div class=\"container\">
  107. \t\t\t<div class=\"row\">
  108. \t\t\t\t";
  109.         // line 33
  110.         $context['_parent'] = $context;
  111.         $context['_seq'] = twig_ensure_traversable((isset($context["medias"]) || array_key_exists("medias", $context) ? $context["medias"] : (function () { throw new RuntimeError('Variable "medias" does not exist.', 33, $this->source); })()));
  112.         foreach ($context['_seq'] as $context["_key"] => $context["media"]) {
  113.             // line 34
  114.             echo "\t\t\t\t\t<div class=\"col-md-4 mb-2\">
  115. \t\t\t\t\t\t<div class=\"department-image\">
  116. \t\t\t\t\t\t\t";
  117.             // line 36
  118.             if ((null === twig_get_attribute($this->env, $this->source, $context["media"], "urlImage", [], "any", false, false, false, 36))) {
  119.                 // line 37
  120.                 echo "\t\t\t\t\t\t\t\t<img src=\"";
  121.                 echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("front-assets/assets/img/logo1.png"), "html", null, true);
  122.                 echo "\" style=\"height:251px\" alt=\"#\">
  123. \t\t\t\t\t\t\t";
  124.             } else {
  125.                 // line 39
  126.                 echo "\t\t\t\t\t\t\t\t<img src=\"";
  127.                 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, 39))), "html", null, true);
  128.                 echo "\" style=\"height:251px\" alt=\"#\">
  129. \t\t\t\t\t\t\t";
  130.             }
  131.             // line 41
  132.             echo "\t\t\t\t\t\t\t<div class=\"video-main\">
  133. \t\t\t\t\t\t\t\t<div class=\"promo-video\">
  134. \t\t\t\t\t\t\t\t\t<div class=\"waves-block\">
  135. \t\t\t\t\t\t\t\t\t\t<div class=\"waves wave-1\"></div>
  136. \t\t\t\t\t\t\t\t\t\t<div class=\"waves wave-2\"></div>
  137. \t\t\t\t\t\t\t\t\t\t<div class=\"waves wave-3\"></div>
  138. \t\t\t\t\t\t\t\t\t</div>
  139. \t\t\t\t\t\t\t\t</div>
  140. \t\t\t\t\t\t\t\t<a href=\"";
  141.             // line 49
  142.             echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["media"], "urlVideo", [], "any", false, false, false, 49), "html", null, true);
  143.             echo "\" class=\"video video-popup mfp-iframe\">
  144. \t\t\t\t\t\t\t\t\t<i class=\"fa fa-play\"></i>
  145. \t\t\t\t\t\t\t\t</a>
  146. \t\t\t\t\t\t\t</div>
  147. \t\t\t\t\t\t</div>
  148. \t\t\t\t\t\t<h2 class=\"text-center h6\">
  149. \t\t\t\t\t\t\t<strong>";
  150.             // line 55
  151.             echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["media"], "titre", [], "any", false, false, false, 55), "html", null, true);
  152.             echo "</strong>
  153. \t\t\t\t\t\t</h2>
  154. \t\t\t\t\t</div>
  155. \t\t\t\t";
  156.         }
  157.         $_parent = $context['_parent'];
  158.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['media'], $context['_parent'], $context['loop']);
  159.         $context = array_intersect_key($context, $_parent) + $_parent;
  160.         // line 59
  161.         echo "\t\t\t</div>
  162. \t\t\t<div class=\"row\">
  163. \t\t\t\t<div class=\"col-12\">
  164. \t\t\t\t\t";
  165.         // line 62
  166.         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.', 62, $this->source); })()));
  167.         echo "
  168. \t\t\t\t</div>
  169. \t\t\t</div>
  170. \t\t</div>
  171. \t</section>
  172. ";
  173.         
  174.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  175.         
  176.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  177.     }
  178.     public function getTemplateName()
  179.     {
  180.         return "frontend/frontindex/listMediaVideo.html.twig";
  181.     }
  182.     public function isTraitable()
  183.     {
  184.         return false;
  185.     }
  186.     public function getDebugInfo()
  187.     {
  188.         return array (  186 => 62,  181 => 59,  171 => 55,  162 => 49,  152 => 41,  146 => 39,  140 => 37,  138 => 36,  134 => 34,  130 => 33,  117 => 23,  109 => 20,  103 => 17,  96 => 12,  86 => 11,  74 => 8,  72 => 5,  69 => 4,  59 => 3,  36 => 1,);
  189.     }
  190.     public function getSourceContext()
  191.     {
  192.         return new Source("{% extends 'frontend/frontindex/add.html.twig' %}
  193. {% block seo %}
  194. \t{{ render(path(
  195.         'seo',
  196.         { 'page':19 }
  197.     )) }}
  198. {% endblock %}
  199. {% block body %}
  200. \t<section class=\"breadcrumbs\" style=\"background-image:url('../front-assets/assets/img/breadcrumb-bg.jpg')\">
  201. \t\t<div class=\"container\">
  202. \t\t\t<div class=\"row\">
  203. \t\t\t\t<div class=\"col-lg-6 offset-lg-3 col-12\">
  204. \t\t\t\t\t<div class=\"breadcrumb-content\">
  205. \t\t\t\t\t\t<h1>{{'%video%'|trans}}</h1>
  206. \t\t\t\t\t\t<ul class=\"breadcrumb-menu\">
  207. \t\t\t\t\t\t\t<li>
  208. \t\t\t\t\t\t\t\t<a href=\"{{path('app_accueil')}}\">{{'%Home%'|trans}}</a>
  209. \t\t\t\t\t\t\t\t<i class=\"fa fa-angle-double-right\"></i>
  210. \t\t\t\t\t\t\t</li>
  211. \t\t\t\t\t\t\t<li class=\"text-white\">{{'%video%'|trans}}</li>
  212. \t\t\t\t\t\t</ul>
  213. \t\t\t\t\t</div>
  214. \t\t\t\t</div>
  215. \t\t\t</div>
  216. \t\t</div>
  217. \t</section>
  218. \t<section class=\"doctors-area doctor-page\">
  219. \t\t<div class=\"container\">
  220. \t\t\t<div class=\"row\">
  221. \t\t\t\t{% for media in medias %}
  222. \t\t\t\t\t<div class=\"col-md-4 mb-2\">
  223. \t\t\t\t\t\t<div class=\"department-image\">
  224. \t\t\t\t\t\t\t{% if media.urlImage is null  %}
  225. \t\t\t\t\t\t\t\t<img src=\"{{ asset ('front-assets/assets/img/logo1.png') }}\" style=\"height:251px\" alt=\"#\">
  226. \t\t\t\t\t\t\t{% else %}
  227. \t\t\t\t\t\t\t\t<img src=\"{{ asset('uploads/images/' ~ media.urlImage) }}\" style=\"height:251px\" alt=\"#\">
  228. \t\t\t\t\t\t\t{% endif %}
  229. \t\t\t\t\t\t\t<div class=\"video-main\">
  230. \t\t\t\t\t\t\t\t<div class=\"promo-video\">
  231. \t\t\t\t\t\t\t\t\t<div class=\"waves-block\">
  232. \t\t\t\t\t\t\t\t\t\t<div class=\"waves wave-1\"></div>
  233. \t\t\t\t\t\t\t\t\t\t<div class=\"waves wave-2\"></div>
  234. \t\t\t\t\t\t\t\t\t\t<div class=\"waves wave-3\"></div>
  235. \t\t\t\t\t\t\t\t\t</div>
  236. \t\t\t\t\t\t\t\t</div>
  237. \t\t\t\t\t\t\t\t<a href=\"{{ media.urlVideo }}\" class=\"video video-popup mfp-iframe\">
  238. \t\t\t\t\t\t\t\t\t<i class=\"fa fa-play\"></i>
  239. \t\t\t\t\t\t\t\t</a>
  240. \t\t\t\t\t\t\t</div>
  241. \t\t\t\t\t\t</div>
  242. \t\t\t\t\t\t<h2 class=\"text-center h6\">
  243. \t\t\t\t\t\t\t<strong>{{media.titre}}</strong>
  244. \t\t\t\t\t\t</h2>
  245. \t\t\t\t\t</div>
  246. \t\t\t\t{% endfor %}
  247. \t\t\t</div>
  248. \t\t\t<div class=\"row\">
  249. \t\t\t\t<div class=\"col-12\">
  250. \t\t\t\t\t{{ knp_pagination_render(medias) }}
  251. \t\t\t\t</div>
  252. \t\t\t</div>
  253. \t\t</div>
  254. \t</section>
  255. {% endblock %}
  256. ", "frontend/frontindex/listMediaVideo.html.twig", "/home/urotunisuz/www/templates/frontend/frontindex/listMediaVideo.html.twig");
  257.     }
  258. }