<?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/listMediaVideo.html.twig */
class __TwigTemplate_b7f05de2fc9c24af704c235373c82ae3994114243250e8b06a5ec522cb76501a 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/listMediaVideo.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/listMediaVideo.html.twig"));
$this->parent = $this->loadTemplate("frontend/frontindex/add.html.twig", "frontend/frontindex/listMediaVideo.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 3
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 4
echo "
\t";
// line 5
echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("seo", ["page" => 19]));
// line 8
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 11
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 12
echo "\t<section class=\"breadcrumbs\" style=\"background-image:url('../front-assets/assets/img/breadcrumb-bg.jpg')\">
\t\t<div class=\"container\">
\t\t\t<div class=\"row\">
\t\t\t\t<div class=\"col-lg-6 offset-lg-3 col-12\">
\t\t\t\t\t<div class=\"breadcrumb-content\">
\t\t\t\t\t\t<h1>";
// line 17
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("%video%"), "html", null, true);
echo "</h1>
\t\t\t\t\t\t<ul class=\"breadcrumb-menu\">
\t\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t\t<a href=\"";
// line 20
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_accueil");
echo "\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("%Home%"), "html", null, true);
echo "</a>
\t\t\t\t\t\t\t\t<i class=\"fa fa-angle-double-right\"></i>
\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t<li class=\"text-white\">";
// line 23
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("%video%"), "html", null, true);
echo "</li>
\t\t\t\t\t\t</ul>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</div>
\t\t</div>
\t</section>
\t<section class=\"doctors-area doctor-page\">
\t\t<div class=\"container\">
\t\t\t<div class=\"row\">
\t\t\t\t";
// line 33
$context['_parent'] = $context;
$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); })()));
foreach ($context['_seq'] as $context["_key"] => $context["media"]) {
// line 34
echo "\t\t\t\t\t<div class=\"col-md-4 mb-2\">
\t\t\t\t\t\t<div class=\"department-image\">
\t\t\t\t\t\t\t";
// line 36
if ((null === twig_get_attribute($this->env, $this->source, $context["media"], "urlImage", [], "any", false, false, false, 36))) {
// line 37
echo "\t\t\t\t\t\t\t\t<img src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("front-assets/assets/img/logo1.png"), "html", null, true);
echo "\" style=\"height:251px\" alt=\"#\">
\t\t\t\t\t\t\t";
} else {
// line 39
echo "\t\t\t\t\t\t\t\t<img src=\"";
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);
echo "\" style=\"height:251px\" alt=\"#\">
\t\t\t\t\t\t\t";
}
// line 41
echo "\t\t\t\t\t\t\t<div class=\"video-main\">
\t\t\t\t\t\t\t\t<div class=\"promo-video\">
\t\t\t\t\t\t\t\t\t<div class=\"waves-block\">
\t\t\t\t\t\t\t\t\t\t<div class=\"waves wave-1\"></div>
\t\t\t\t\t\t\t\t\t\t<div class=\"waves wave-2\"></div>
\t\t\t\t\t\t\t\t\t\t<div class=\"waves wave-3\"></div>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t<a href=\"";
// line 49
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["media"], "urlVideo", [], "any", false, false, false, 49), "html", null, true);
echo "\" class=\"video video-popup mfp-iframe\">
\t\t\t\t\t\t\t\t\t<i class=\"fa fa-play\"></i>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<h2 class=\"text-center h6\">
\t\t\t\t\t\t\t<strong>";
// line 55
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["media"], "titre", [], "any", false, false, false, 55), "html", null, true);
echo "</strong>
\t\t\t\t\t\t</h2>
\t\t\t\t\t</div>
\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['media'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 59
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 62
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); })()));
echo "
\t\t\t\t</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/listMediaVideo.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("{% extends 'frontend/frontindex/add.html.twig' %}
{% block seo %}
\t{{ render(path(
'seo',
{ 'page':19 }
)) }}
{% endblock %}
{% block body %}
\t<section class=\"breadcrumbs\" style=\"background-image:url('../front-assets/assets/img/breadcrumb-bg.jpg')\">
\t\t<div class=\"container\">
\t\t\t<div class=\"row\">
\t\t\t\t<div class=\"col-lg-6 offset-lg-3 col-12\">
\t\t\t\t\t<div class=\"breadcrumb-content\">
\t\t\t\t\t\t<h1>{{'%video%'|trans}}</h1>
\t\t\t\t\t\t<ul class=\"breadcrumb-menu\">
\t\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t\t<a href=\"{{path('app_accueil')}}\">{{'%Home%'|trans}}</a>
\t\t\t\t\t\t\t\t<i class=\"fa fa-angle-double-right\"></i>
\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t<li class=\"text-white\">{{'%video%'|trans}}</li>
\t\t\t\t\t\t</ul>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</div>
\t\t</div>
\t</section>
\t<section class=\"doctors-area doctor-page\">
\t\t<div class=\"container\">
\t\t\t<div class=\"row\">
\t\t\t\t{% for media in medias %}
\t\t\t\t\t<div class=\"col-md-4 mb-2\">
\t\t\t\t\t\t<div class=\"department-image\">
\t\t\t\t\t\t\t{% if media.urlImage is null %}
\t\t\t\t\t\t\t\t<img src=\"{{ asset ('front-assets/assets/img/logo1.png') }}\" style=\"height:251px\" alt=\"#\">
\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t<img src=\"{{ asset('uploads/images/' ~ media.urlImage) }}\" style=\"height:251px\" alt=\"#\">
\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t<div class=\"video-main\">
\t\t\t\t\t\t\t\t<div class=\"promo-video\">
\t\t\t\t\t\t\t\t\t<div class=\"waves-block\">
\t\t\t\t\t\t\t\t\t\t<div class=\"waves wave-1\"></div>
\t\t\t\t\t\t\t\t\t\t<div class=\"waves wave-2\"></div>
\t\t\t\t\t\t\t\t\t\t<div class=\"waves wave-3\"></div>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t<a href=\"{{ media.urlVideo }}\" class=\"video video-popup mfp-iframe\">
\t\t\t\t\t\t\t\t\t<i class=\"fa fa-play\"></i>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<h2 class=\"text-center h6\">
\t\t\t\t\t\t\t<strong>{{media.titre}}</strong>
\t\t\t\t\t\t</h2>
\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(medias) }}
\t\t\t\t</div>
\t\t\t</div>
\t\t</div>
\t</section>
{% endblock %}
", "frontend/frontindex/listMediaVideo.html.twig", "/home/urotunisuz/www/templates/frontend/frontindex/listMediaVideo.html.twig");
}
}