var/cache/dev/twig/0b/0b7b9550a7051cdbf0ac82a6845692b25bce863ab1557b3646d5394d0fe6f4f7.php line 50

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. /* @launidadkabul/full/main.html.twig */
  14. class __TwigTemplate_c5a531aabe47a44b65b821cc181792c66051e60558ae2de83a47b92336b13bda extends \eZ\Bundle\EzPublishDebugBundle\Twig\DebugTemplate
  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.             'metatags' => [$this'block_metatags'],
  24.             'content' => [$this'block_content'],
  25.             'modules' => [$this'block_modules'],
  26.         ];
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 1
  31.         return "@ezdesign/layout.html.twig";
  32.     }
  33.     protected function doDisplay(array $context, array $blocks = [])
  34.     {
  35.         $macros $this->macros;
  36.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  37.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@launidadkabul/full/main.html.twig"));
  38.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  39.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@launidadkabul/full/main.html.twig"));
  40.         $this->parent $this->loadTemplate("@ezdesign/layout.html.twig""@launidadkabul/full/main.html.twig"1);
  41.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  42.         
  43.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  44.         
  45.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  46.     }
  47.     // line 3
  48.     public function block_metatags($context, array $blocks = [])
  49.     {
  50.         $macros $this->macros;
  51.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  52.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metatags"));
  53.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  54.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metatags"));
  55.         // line 4
  56.         echo "    ";
  57.         $this->displayParentBlock("metatags"$context$blocks);
  58.         echo "
  59.     ";
  60.         // line 5
  61.         echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("AppBundle:Block:paginationMeta", ["locationId" => twig_get_attribute($this->env$this->source, (isset($context["location"]) || array_key_exists("location"$context) ? $context["location"] : (function () { throw new RuntimeError('Variable "location" does not exist.'5$this->source); })()), "id", [], "any"falsefalsefalse5)]));
  62.         echo "
  63.     <!--
  64.     Start of global snippet: Please do not remove
  65.     Place this snippet between the <head> and </head> tags on every page of your site.
  66.     -->
  67.     <!-- Google tag (gtag.js) -->
  68.     <script async src=\"https://www.googletagmanager.com/gtag/js?id=DC-4625548\"></script>
  69.     <script>
  70.         window.dataLayer = window.dataLayer || [];
  71.         function gtag(){dataLayer.push(arguments);}
  72.         gtag('js', new Date());
  73.         gtag('config', 'DC-4625548');
  74.     </script>
  75.     <script>
  76.     </script>
  77.     <script>
  78.         gtag('event', 'conversion', {
  79.             'allow_custom_scripts': true,
  80.             'u10': 'Landing LA UNIDAD KABUL',
  81.             'u24': 'https://launidad.movistarplus.es/',
  82.             'send_to': 'DC-4625548/movis00a/lpg_m0+standard'
  83.         });
  84.         window.addEventListener('load', function () {
  85.             document.getElementById(\"btnContratarD\").addEventListener('click', ()=>{
  86.                 console.log('Click')
  87.                 gtag('event', 'conversion', {
  88.                     'allow_custom_scripts': true,
  89.                     'u10': 'Landing LA UNIDAD KABUL',
  90.                     'u24': 'https://launidad.movistarplus.es/',
  91.                     'send_to': 'DC-4625548/movis00a/eng_b0+standard'
  92.                 });
  93.             });
  94.             document.getElementById(\"btnContratarM\").addEventListener('click', ()=>{
  95.                 console.log('Click')
  96.                 gtag('event', 'conversion', {
  97.                     'allow_custom_scripts': true,
  98.                     'u10': 'Landing LA UNIDAD KABUL',
  99.                     'u24': 'https://launidad.movistarplus.es/',
  100.                     'send_to': 'DC-4625548/movis00a/eng_b0+standard'
  101.                 });
  102.             });
  103.         }, false);
  104.     </script>
  105.     <script>
  106.         gtag('event', 'conversion', {
  107.             'allow_custom_scripts': true,
  108.             'u10': 'Landing LA UNIDAD KABUL',
  109.             'u24': 'https://launidad.movistarplus.es/',
  110.             'send_to': 'DC-4625548/movis00a/eng_v0+standard'
  111.         });
  112.     </script>
  113.     <noscript>
  114.         <img src=\"https://ad.doubleclick.net/ddm/activity/src=4625548;type=movis00a;cat=lpg_m0;u10=Landing LA UNIDAD KABUL;u24=https://launidad.movistarplus.es/;dc_lat=;dc_rdid=;tag_for_child_directed_treatment=;tfua=;npa=;gdpr=\${GDPR};gdpr_consent=\${GDPR_CONSENT_755};ord=1?\" width=\"1\" height=\"1\" alt=\"\"/>
  115.     </noscript>
  116. ";
  117.         
  118.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  119.         
  120.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  121.     }
  122.     // line 66
  123.     public function block_content($context, array $blocks = [])
  124.     {
  125.         $macros $this->macros;
  126.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  127.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  128.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  129.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  130.         // line 67
  131.         echo "    <div class=\"m-shows-header h3 ";
  132.         echo (((((((((twig_in_filter("sobre-la-serie"twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'67$this->source); })()), "request", [], "any"falsefalsefalse67), "uri", [], "any"falsefalsefalse67)) || twig_in_filter("serie"twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,         // line 68
  133. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'68$this->source); })()), "request", [], "any"falsefalsefalse68), "uri", [], "any"falsefalsefalse68))) || twig_in_filter("creacion"twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,         // line 69
  134. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'69$this->source); })()), "request", [], "any"falsefalsefalse69), "uri", [], "any"falsefalsefalse69))) || twig_in_filter("temporada-2"twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,         // line 70
  135. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'70$this->source); })()), "request", [], "any"falsefalsefalse70), "uri", [], "any"falsefalsefalse70))) || twig_in_filter("temporada-1"twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,         // line 71
  136. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'71$this->source); })()), "request", [], "any"falsefalsefalse71), "uri", [], "any"falsefalsefalse71))) || twig_in_filter("personaje"twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,         // line 72
  137. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'72$this->source); })()), "request", [], "any"falsefalsefalse72), "uri", [], "any"falsefalsefalse72))) || twig_in_filter("miriam"twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,         // line 73
  138. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'73$this->source); })()), "request", [], "any"falsefalsefalse73), "uri", [], "any"falsefalsefalse73))) || twig_in_filter("personajes"twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,         // line 74
  139. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'74$this->source); })()), "request", [], "any"falsefalsefalse74), "uri", [], "any"falsefalsefalse74)))) ? ("second-header") : (""));
  140.         // line 75
  141.         echo "\">
  142.         <div class=\"wrapper row \">
  143.             ";
  144.         // line 78
  145.         echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("AppBundle:Block:renderIconBlock", ["contentId" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["ezpublish"]) || array_key_exists("ezpublish"$context) ? $context["ezpublish"] : (function () { throw new RuntimeError('Variable "ezpublish" does not exist.'78$this->source); })()), "rootLocation", [], "any"falsefalsefalse78), "contentId", [], "any"falsefalsefalse78)]));
  146.         echo "
  147.             ";
  148.         // line 80
  149.         echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("AppBundle:Menu:header", ["locationId" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["ezpublish"]) || array_key_exists("ezpublish"$context) ? $context["ezpublish"] : (function () { throw new RuntimeError('Variable "ezpublish" does not exist.'80$this->source); })()), "rootLocation", [], "any"falsefalsefalse80), "id", [], "any"falsefalsefalse80)]));
  150.         echo "
  151.             <a href=\"#\" class=\"menu-toggle\" rel=\"follow\">
  152.                 ";
  153.         // line 83
  154.         echo twig_include($this->env$context"icons/menu.svg.twig");
  155.         echo "
  156.             </a>
  157.         </div>
  158.     </div>
  159.     ";
  160.         // line 87
  161.         $this->displayBlock('modules'$context$blocks);
  162.         
  163.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  164.         
  165.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  166.     }
  167.     public function block_modules($context, array $blocks = [])
  168.     {
  169.         $macros $this->macros;
  170.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  171.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""modules"));
  172.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  173.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""modules"));
  174.         // line 88
  175.         echo "        ";
  176.         echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("AppBundle:Block:renderBlocks", ["locationId" => twig_get_attribute($this->env$this->source, (isset($context["location"]) || array_key_exists("location"$context) ? $context["location"] : (function () { throw new RuntimeError('Variable "location" does not exist.'88$this->source); })()), "id", [], "any"falsefalsefalse88)]));
  177.         echo "
  178.     ";
  179.         
  180.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  181.         
  182.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  183.     }
  184.     public function getTemplateName()
  185.     {
  186.         return "@launidadkabul/full/main.html.twig";
  187.     }
  188.     public function isTraitable()
  189.     {
  190.         return false;
  191.     }
  192.     public function getDebugInfo()
  193.     {
  194.         return array (  208 => 88,  189 => 87,  182 => 83,  176 => 80,  171 => 78,  166 => 75,  164 => 74,  163 => 73,  162 => 72,  161 => 71,  160 => 70,  159 => 69,  158 => 68,  156 => 67,  146 => 66,  75 => 5,  70 => 4,  60 => 3,  37 => 1,);
  195.     }
  196.     public function getSourceContext()
  197.     {
  198.         return new Source("{% extends '@ezdesign/layout.html.twig' %}
  199. {% block metatags %}
  200.     {{ parent() }}
  201.     {{ render(controller('AppBundle:Block:paginationMeta', { 'locationId': location.id } )) }}
  202.     <!--
  203.     Start of global snippet: Please do not remove
  204.     Place this snippet between the <head> and </head> tags on every page of your site.
  205.     -->
  206.     <!-- Google tag (gtag.js) -->
  207.     <script async src=\"https://www.googletagmanager.com/gtag/js?id=DC-4625548\"></script>
  208.     <script>
  209.         window.dataLayer = window.dataLayer || [];
  210.         function gtag(){dataLayer.push(arguments);}
  211.         gtag('js', new Date());
  212.         gtag('config', 'DC-4625548');
  213.     </script>
  214.     <script>
  215.     </script>
  216.     <script>
  217.         gtag('event', 'conversion', {
  218.             'allow_custom_scripts': true,
  219.             'u10': 'Landing LA UNIDAD KABUL',
  220.             'u24': 'https://launidad.movistarplus.es/',
  221.             'send_to': 'DC-4625548/movis00a/lpg_m0+standard'
  222.         });
  223.         window.addEventListener('load', function () {
  224.             document.getElementById(\"btnContratarD\").addEventListener('click', ()=>{
  225.                 console.log('Click')
  226.                 gtag('event', 'conversion', {
  227.                     'allow_custom_scripts': true,
  228.                     'u10': 'Landing LA UNIDAD KABUL',
  229.                     'u24': 'https://launidad.movistarplus.es/',
  230.                     'send_to': 'DC-4625548/movis00a/eng_b0+standard'
  231.                 });
  232.             });
  233.             document.getElementById(\"btnContratarM\").addEventListener('click', ()=>{
  234.                 console.log('Click')
  235.                 gtag('event', 'conversion', {
  236.                     'allow_custom_scripts': true,
  237.                     'u10': 'Landing LA UNIDAD KABUL',
  238.                     'u24': 'https://launidad.movistarplus.es/',
  239.                     'send_to': 'DC-4625548/movis00a/eng_b0+standard'
  240.                 });
  241.             });
  242.         }, false);
  243.     </script>
  244.     <script>
  245.         gtag('event', 'conversion', {
  246.             'allow_custom_scripts': true,
  247.             'u10': 'Landing LA UNIDAD KABUL',
  248.             'u24': 'https://launidad.movistarplus.es/',
  249.             'send_to': 'DC-4625548/movis00a/eng_v0+standard'
  250.         });
  251.     </script>
  252.     <noscript>
  253.         <img src=\"https://ad.doubleclick.net/ddm/activity/src=4625548;type=movis00a;cat=lpg_m0;u10=Landing LA UNIDAD KABUL;u24=https://launidad.movistarplus.es/;dc_lat=;dc_rdid=;tag_for_child_directed_treatment=;tfua=;npa=;gdpr=\${GDPR};gdpr_consent=\${GDPR_CONSENT_755};ord=1?\" width=\"1\" height=\"1\" alt=\"\"/>
  254.     </noscript>
  255. {% endblock %}
  256. {% block content %}
  257.     <div class=\"m-shows-header h3 {{  ('sobre-la-serie' in app.request.uri or
  258.                                         'serie' in app.request.uri or
  259.                                         'creacion' in app.request.uri or
  260.                                         'temporada-2' in app.request.uri or
  261.                                         'temporada-1' in app.request.uri or
  262.                                         'personaje' in app.request.uri or
  263.                                         'miriam' in app.request.uri or
  264.                                         'personajes' in app.request.uri ) ?
  265.                                         'second-header' : '' }}\">
  266.         <div class=\"wrapper row \">
  267.             {{ render(controller('AppBundle:Block:renderIconBlock', { 'contentId': ezpublish.rootLocation.contentId } )) }}
  268.             {{ render(controller('AppBundle:Menu:header', {'locationId': ezpublish.rootLocation.id } )) }}
  269.             <a href=\"#\" class=\"menu-toggle\" rel=\"follow\">
  270.                 {{ include('icons/menu.svg.twig') }}
  271.             </a>
  272.         </div>
  273.     </div>
  274.     {% block modules %}
  275.         {{ render(controller('AppBundle:Block:renderBlocks', { 'locationId': location.id } )) }}
  276.     {% endblock %}
  277. {% endblock %}
  278. ""@launidadkabul/full/main.html.twig""/var/www/app/Resources/views/themes/launidadkabul/full/main.html.twig");
  279.     }
  280. }