var/cache/dev/twig/9d/9d38b3e5f0c1f33d743facaf8fa0fd59259514288f939613c9a10e960e20f7e4.php line 245

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. /* items/index.html.twig */
  14. class __TwigTemplate_ea3366528d2f7eed49bf716ca54d3dd5fb57c3e5924e9b857c9d40464bc58a97 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.             'title' => [$this'block_title'],
  24.             'body' => [$this'block_body'],
  25.             'header' => [$this'block_header'],
  26.             'content' => [$this'block_content'],
  27.             'aside' => [$this'block_aside'],
  28.             'principal' => [$this'block_principal'],
  29.             'javascripts' => [$this'block_javascripts'],
  30.         ];
  31.     }
  32.     protected function doGetParent(array $context)
  33.     {
  34.         // line 1
  35.         return "base.html.twig";
  36.     }
  37.     protected function doDisplay(array $context, array $blocks = [])
  38.     {
  39.         $macros $this->macros;
  40.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  41.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""items/index.html.twig"));
  42.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  43.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""items/index.html.twig"));
  44.         $this->parent $this->loadTemplate("base.html.twig""items/index.html.twig"1);
  45.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  46.         
  47.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  48.         
  49.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  50.     }
  51.     // line 3
  52.     public function block_title($context, array $blocks = [])
  53.     {
  54.         $macros $this->macros;
  55.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  56.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  57.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  58.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  59.         echo "Items!";
  60.         
  61.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  62.         
  63.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  64.     }
  65.     // line 5
  66.     public function block_body($context, array $blocks = [])
  67.     {
  68.         $macros $this->macros;
  69.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  70.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  71.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  72.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  73.         // line 6
  74.         echo "
  75.     ";
  76.         // line 8
  77.         $this->displayBlock('header'$context$blocks);
  78.         // line 12
  79.         echo "
  80.     ";
  81.         // line 14
  82.         $this->displayBlock('content'$context$blocks);
  83.         // line 99
  84.         echo "
  85.     ";
  86.         // line 101
  87.         $this->displayBlock('javascripts'$context$blocks);
  88.         
  89.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  90.         
  91.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  92.     }
  93.     // line 8
  94.     public function block_header($context, array $blocks = [])
  95.     {
  96.         $macros $this->macros;
  97.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  98.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""header"));
  99.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  100.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""header"));
  101.         // line 9
  102.         echo "        ";
  103.         $context["menu"] = "foo";
  104.         // line 10
  105.         echo "        ";
  106.         $this->displayParentBlock("header"$context$blocks);
  107.         echo "
  108.     ";
  109.         
  110.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  111.         
  112.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  113.     }
  114.     // line 14
  115.     public function block_content($context, array $blocks = [])
  116.     {
  117.         $macros $this->macros;
  118.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  119.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  120.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  121.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  122.         // line 15
  123.         echo "        <div id=\"main\" role=\"main\" class=\"container-fluid\">
  124.             <!-- contained-->
  125.             <div class=\"contained\">
  126.                 ";
  127.         // line 18
  128.         $this->displayBlock('aside'$context$blocks);
  129.         // line 21
  130.         echo "                ";
  131.         $this->displayBlock('principal'$context$blocks);
  132.         // line 96
  133.         echo "            </div>
  134.         </div>
  135.     ";
  136.         
  137.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  138.         
  139.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  140.     }
  141.     // line 18
  142.     public function block_aside($context, array $blocks = [])
  143.     {
  144.         $macros $this->macros;
  145.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  146.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""aside"));
  147.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  148.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""aside"));
  149.         // line 19
  150.         echo "                    ";
  151.         $this->loadTemplate("aside.html.twig""items/index.html.twig"19)->display($context);
  152.         // line 20
  153.         echo "                ";
  154.         
  155.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  156.         
  157.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  158.     }
  159.     // line 21
  160.     public function block_principal($context, array $blocks = [])
  161.     {
  162.         $macros $this->macros;
  163.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  164.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""principal"));
  165.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  166.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""principal"));
  167.         // line 22
  168.         echo "                    <div id=\"page-content\">
  169.                         <div class=\"container-fluid clearfix\">
  170.                             <div id=\"contenedor\"> <!-- contenedor flex -->
  171.                                 ";
  172.         // line 25
  173.         if ((isset($context["items"]) || array_key_exists("items"$context))) {
  174.             // line 26
  175.             echo "                                    ";
  176.             $context['_parent'] = $context;
  177.             $context['_seq'] = twig_ensure_traversable((isset($context["items"]) || array_key_exists("items"$context) ? $context["items"] : (function () { throw new RuntimeError('Variable "items" does not exist.'26$this->source); })()));
  178.             foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
  179.                 // line 27
  180.                 echo "                                        <div class=\"item\">
  181.                                             <div class=\"contenido\">
  182.                                                 <div>
  183.                                                     <img src=\"";
  184.                 // line 30
  185.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/iconos/Sombra Wishlist.png"), "html"nulltrue);
  186.                 echo "\">
  187.                                                 </div>
  188.                                                 <div>
  189.                                                     <img src=\"";
  190.                 // line 33
  191.                 echo twig_escape_filter($this->env, (isset($context["rutaimg"]) || array_key_exists("rutaimg"$context) ? $context["rutaimg"] : (function () { throw new RuntimeError('Variable "rutaimg" does not exist.'33$this->source); })()), "html"nulltrue);
  192.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["item"], "filename", [], "any"falsefalsefalse33), "html"nulltrue);
  193.                 echo ".png\"  alt=\"\" style=\"max-width: 128px\"/>
  194.                                                 </div>
  195.                                             </div>
  196.                                             <div class=\"details\">
  197.                                                 <span><input type=\"checkbox\" name=\"";
  198.                 // line 37
  199.                 echo twig_escape_filter($this->env, (isset($context["typeName"]) || array_key_exists("typeName"$context) ? $context["typeName"] : (function () { throw new RuntimeError('Variable "typeName" does not exist.'37$this->source); })()), "html"nulltrue);
  200.                 echo "[";
  201.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["item"], "id", [], "any"falsefalsefalse37), "html"nulltrue);
  202.                 echo "]\" value=\"";
  203.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["item"], "internalid", [], "any"falsefalsefalse37), "html"nulltrue);
  204.                 echo "\">";
  205.                 echo twig_escape_filter($this->envtwig_title_string_filter($this->env$this->extensions['App\Twig\TwigExtension']->translateItem(twig_get_attribute($this->env$this->source$context["item"], "internalid", [], "any"falsefalsefalse37), (isset($context["type"]) || array_key_exists("type"$context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.'37$this->source); })()))), "html"nulltrue);
  206.                 echo "</span><br>
  207.                                                 ";
  208.                 // line 38
  209.                 if (twig_get_attribute($this->env$this->source$context["item"], "buy", [], "any"truetruefalse38)) {
  210.                     echo "<img src=\"";
  211.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/iconos/baya.png"), "html"nulltrue);
  212.                     echo "\">";
  213.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["item"], "buy", [], "any"falsefalsefalse38), "html"nulltrue);
  214.                     echo " ";
  215.                 }
  216.                 // line 39
  217.                 echo "                                            </div>
  218.                                         </div>
  219.                                     ";
  220.             }
  221.             $_parent $context['_parent'];
  222.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
  223.             $context array_intersect_key($context$_parent) + $_parent;
  224.             // line 42
  225.             echo "                                ";
  226.         }
  227.         // line 43
  228.         echo "                                <div class=\"clearfix\"></div>
  229.                             </div>
  230.                             ";
  231.         // line 47
  232.         if ((isset($context["maxPages"]) || array_key_exists("maxPages"$context))) {
  233.             // line 48
  234.             echo "                            <div class=\"paginate\">
  235.                                 ";
  236.             // line 49
  237.             if (=== twig_compare((isset($context["maxPages"]) || array_key_exists("maxPages"$context) ? $context["maxPages"] : (function () { throw new RuntimeError('Variable "maxPages" does not exist.'49$this->source); })()), 1)) {
  238.                 // line 50
  239.                 echo "
  240.                                     ";
  241.                 // line 51
  242.                 if (=== twig_compare((isset($context["thisPage"]) || array_key_exists("thisPage"$context) ? $context["thisPage"] : (function () { throw new RuntimeError('Variable "thisPage" does not exist.'51$this->source); })()), 1)) {
  243.                     // line 52
  244.                     echo "
  245.                                         ";
  246.                     // line 53
  247.                     if ((isset($context["category"]) || array_key_exists("category"$context))) {
  248.                         // line 54
  249.                         echo "                                            <a href=\"";
  250.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("items_type_category", ["type" => (isset($context["typeName"]) || array_key_exists("typeName"$context) ? $context["typeName"] : (function () { throw new RuntimeError('Variable "typeName" does not exist.'54$this->source); })()), "currentPage" => ((-=== twig_compare(((isset($context["thisPage"]) || array_key_exists("thisPage"$context) ? $context["thisPage"] : (function () { throw new RuntimeError('Variable "thisPage" does not exist.'54$this->source); })()) - 1), 1)) ? (1) : (((isset($context["thisPage"]) || array_key_exists("thisPage"$context) ? $context["thisPage"] : (function () { throw new RuntimeError('Variable "thisPage" does not exist.'54$this->source); })()) - 1))), "category" => (isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'54$this->source); })())]), "html"nulltrue);
  251.                         echo "\"><i class=\"fas fa-angle-left\"></i></a>
  252.                                         ";
  253.                     } else {
  254.                         // line 57
  255.                         echo "                                            <a href=\"";
  256.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("items_type", ["type" => (isset($context["typeName"]) || array_key_exists("typeName"$context) ? $context["typeName"] : (function () { throw new RuntimeError('Variable "typeName" does not exist.'57$this->source); })()), "currentPage" => ((-=== twig_compare(((isset($context["thisPage"]) || array_key_exists("thisPage"$context) ? $context["thisPage"] : (function () { throw new RuntimeError('Variable "thisPage" does not exist.'57$this->source); })()) - 1), 1)) ? (1) : (((isset($context["thisPage"]) || array_key_exists("thisPage"$context) ? $context["thisPage"] : (function () { throw new RuntimeError('Variable "thisPage" does not exist.'57$this->source); })()) - 1)))]), "html"nulltrue);
  257.                         echo "\"><i class=\"fas fa-angle-left\"></i></a>
  258.                                         ";
  259.                     }
  260.                     // line 59
  261.                     echo "                                    ";
  262.                 }
  263.                 // line 60
  264.                 echo "
  265.                                     ";
  266.                 // line 62
  267.                 echo "                                    ";
  268.                 $context['_parent'] = $context;
  269.                 $context['_seq'] = twig_ensure_traversable(range(1, (isset($context["maxPages"]) || array_key_exists("maxPages"$context) ? $context["maxPages"] : (function () { throw new RuntimeError('Variable "maxPages" does not exist.'62$this->source); })())));
  270.                 foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
  271.                     // line 63
  272.                     echo "
  273.                                         ";
  274.                     // line 64
  275.                     if (=== twig_compare($context["i"], (isset($context["thisPage"]) || array_key_exists("thisPage"$context) ? $context["thisPage"] : (function () { throw new RuntimeError('Variable "thisPage" does not exist.'64$this->source); })()))) {
  276.                         // line 65
  277.                         echo "                                            <a class=\"currentpage\">";
  278.                         echo twig_escape_filter($this->env$context["i"], "html"nulltrue);
  279.                         echo "</a>
  280.                                         ";
  281.                     } else {
  282.                         // line 67
  283.                         echo "                                            ";
  284.                         if ((((=== twig_compare((isset($context["maxPages"]) || array_key_exists("maxPages"$context) ? $context["maxPages"] : (function () { throw new RuntimeError('Variable "maxPages" does not exist.'67$this->source); })()), 10) && -=== twig_compare($context["i"], ((isset($context["thisPage"]) || array_key_exists("thisPage"$context) ? $context["thisPage"] : (function () { throw new RuntimeError('Variable "thisPage" does not exist.'67$this->source); })()) + 6))) && === twig_compare($context["i"], ((isset($context["thisPage"]) || array_key_exists("thisPage"$context) ? $context["thisPage"] : (function () { throw new RuntimeError('Variable "thisPage" does not exist.'67$this->source); })()) - 6))) || (-=== twig_compare($context["i"], 9) && -=== twig_compare((isset($context["thisPage"]) || array_key_exists("thisPage"$context) ? $context["thisPage"] : (function () { throw new RuntimeError('Variable "thisPage" does not exist.'67$this->source); })()), 9)))) {
  285.                             // line 68
  286.                             echo "                                                ";
  287.                             if ((isset($context["category"]) || array_key_exists("category"$context))) {
  288.                                 // line 69
  289.                                 echo "                                                    <a href=\"";
  290.                                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("items_type_category", ["type" => (isset($context["typeName"]) || array_key_exists("typeName"$context) ? $context["typeName"] : (function () { throw new RuntimeError('Variable "typeName" does not exist.'69$this->source); })()), "currentPage" => $context["i"], "category" => (isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'69$this->source); })())]), "html"nulltrue);
  291.                                 echo "\">";
  292.                                 echo twig_escape_filter($this->env$context["i"], "html"nulltrue);
  293.                                 echo "</a>
  294.                                                 ";
  295.                             } else {
  296.                                 // line 71
  297.                                 echo "                                                    <a href=\"";
  298.                                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("items_type", ["type" => (isset($context["typeName"]) || array_key_exists("typeName"$context) ? $context["typeName"] : (function () { throw new RuntimeError('Variable "typeName" does not exist.'71$this->source); })()), "currentPage" => $context["i"]]), "html"nulltrue);
  299.                                 echo "\">";
  300.                                 echo twig_escape_filter($this->env$context["i"], "html"nulltrue);
  301.                                 echo "</a>
  302.                                                 ";
  303.                             }
  304.                             // line 73
  305.                             echo "                                            ";
  306.                         } else {
  307.                             // line 74
  308.                             echo "
  309.                                             ";
  310.                         }
  311.                         // line 76
  312.                         echo "                                        ";
  313.                     }
  314.                     // line 77
  315.                     echo "
  316.                                     ";
  317.                 }
  318.                 $_parent $context['_parent'];
  319.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
  320.                 $context array_intersect_key($context$_parent) + $_parent;
  321.                 // line 79
  322.                 echo "
  323.                                     ";
  324.                 // line 81
  325.                 echo "                                    ";
  326.                 if (-=== twig_compare((isset($context["thisPage"]) || array_key_exists("thisPage"$context) ? $context["thisPage"] : (function () { throw new RuntimeError('Variable "thisPage" does not exist.'81$this->source); })()), (isset($context["maxPages"]) || array_key_exists("maxPages"$context) ? $context["maxPages"] : (function () { throw new RuntimeError('Variable "maxPages" does not exist.'81$this->source); })()))) {
  327.                     // line 82
  328.                     echo "
  329.                                         ";
  330.                     // line 83
  331.                     if ((isset($context["category"]) || array_key_exists("category"$context))) {
  332.                         // line 84
  333.                         echo "                                            <a href=\"";
  334.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("items_type_category", ["type" => (isset($context["typeName"]) || array_key_exists("typeName"$context) ? $context["typeName"] : (function () { throw new RuntimeError('Variable "typeName" does not exist.'84$this->source); })()), "currentPage" => ((>= twig_compare(((isset($context["thisPage"]) || array_key_exists("thisPage"$context) ? $context["thisPage"] : (function () { throw new RuntimeError('Variable "thisPage" does not exist.'84$this->source); })()) + 1), (isset($context["maxPages"]) || array_key_exists("maxPages"$context) ? $context["maxPages"] : (function () { throw new RuntimeError('Variable "maxPages" does not exist.'84$this->source); })()))) ? (((isset($context["thisPage"]) || array_key_exists("thisPage"$context) ? $context["thisPage"] : (function () { throw new RuntimeError('Variable "thisPage" does not exist.'84$this->source); })()) + 1)) : ((isset($context["thisPage"]) || array_key_exists("thisPage"$context) ? $context["thisPage"] : (function () { throw new RuntimeError('Variable "thisPage" does not exist.'84$this->source); })()))), "category" => (isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'84$this->source); })())]), "html"nulltrue);
  335.                         echo "\"><i class=\"fas fa-angle-right\"></i></a>
  336.                                         ";
  337.                     } else {
  338.                         // line 86
  339.                         echo "                                            <a href=\"";
  340.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("items_type", ["type" => (isset($context["typeName"]) || array_key_exists("typeName"$context) ? $context["typeName"] : (function () { throw new RuntimeError('Variable "typeName" does not exist.'86$this->source); })()), "currentPage" => ((>= twig_compare(((isset($context["thisPage"]) || array_key_exists("thisPage"$context) ? $context["thisPage"] : (function () { throw new RuntimeError('Variable "thisPage" does not exist.'86$this->source); })()) + 1), (isset($context["maxPages"]) || array_key_exists("maxPages"$context) ? $context["maxPages"] : (function () { throw new RuntimeError('Variable "maxPages" does not exist.'86$this->source); })()))) ? (((isset($context["thisPage"]) || array_key_exists("thisPage"$context) ? $context["thisPage"] : (function () { throw new RuntimeError('Variable "thisPage" does not exist.'86$this->source); })()) + 1)) : ((isset($context["thisPage"]) || array_key_exists("thisPage"$context) ? $context["thisPage"] : (function () { throw new RuntimeError('Variable "thisPage" does not exist.'86$this->source); })())))]), "html"nulltrue);
  341.                         echo "\"><i class=\"fas fa-angle-right\"></i></a>
  342.                                         ";
  343.                     }
  344.                     // line 88
  345.                     echo "                                    ";
  346.                 }
  347.                 // line 89
  348.                 echo "
  349.                                 ";
  350.             }
  351.             // line 91
  352.             echo "                            ";
  353.         }
  354.         // line 92
  355.         echo "                        </div>
  356.                     </div>
  357.                 </div>
  358.                 ";
  359.         
  360.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  361.         
  362.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  363.     }
  364.     // line 101
  365.     public function block_javascripts($context, array $blocks = [])
  366.     {
  367.         $macros $this->macros;
  368.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  369.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  370.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  371.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  372.         // line 102
  373.         echo "        ";
  374.         echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("app");
  375.         echo "
  376.     ";
  377.         
  378.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  379.         
  380.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  381.     }
  382.     public function getTemplateName()
  383.     {
  384.         return "items/index.html.twig";
  385.     }
  386.     public function isTraitable()
  387.     {
  388.         return false;
  389.     }
  390.     public function getDebugInfo()
  391.     {
  392.         return array (  423 => 102,  413 => 101,  400 => 92,  397 => 91,  393 => 89,  390 => 88,  384 => 86,  378 => 84,  376 => 83,  373 => 82,  370 => 81,  367 => 79,  360 => 77,  357 => 76,  353 => 74,  350 => 73,  342 => 71,  334 => 69,  331 => 68,  328 => 67,  322 => 65,  320 => 64,  317 => 63,  312 => 62,  309 => 60,  306 => 59,  300 => 57,  293 => 54,  291 => 53,  288 => 52,  286 => 51,  283 => 50,  281 => 49,  278 => 48,  276 => 47,  270 => 43,  267 => 42,  259 => 39,  251 => 38,  241 => 37,  233 => 33,  227 => 30,  222 => 27,  217 => 26,  215 => 25,  210 => 22,  200 => 21,  190 => 20,  187 => 19,  177 => 18,  165 => 96,  162 => 21,  160 => 18,  155 => 15,  145 => 14,  132 => 10,  129 => 9,  119 => 8,  109 => 101,  105 => 99,  103 => 14,  99 => 12,  97 => 8,  93 => 6,  83 => 5,  64 => 3,  41 => 1,);
  393.     }
  394.     public function getSourceContext()
  395.     {
  396.         return new Source("{% extends 'base.html.twig' %}
  397. {% block title %}Items!{% endblock %}
  398. {% block body %}
  399.     {% block header %}
  400.         {% set menu = 'foo' %}
  401.         {{ parent() }}
  402.     {% endblock %}
  403.     {% block content %}
  404.         <div id=\"main\" role=\"main\" class=\"container-fluid\">
  405.             <!-- contained-->
  406.             <div class=\"contained\">
  407.                 {% block aside %}
  408.                     {% include 'aside.html.twig' %}
  409.                 {% endblock %}
  410.                 {% block principal %}
  411.                     <div id=\"page-content\">
  412.                         <div class=\"container-fluid clearfix\">
  413.                             <div id=\"contenedor\"> <!-- contenedor flex -->
  414.                                 {% if items is defined %}
  415.                                     {% for item in items %}
  416.                                         <div class=\"item\">
  417.                                             <div class=\"contenido\">
  418.                                                 <div>
  419.                                                     <img src=\"{{ asset('build/iconos/Sombra Wishlist.png') }}\">
  420.                                                 </div>
  421.                                                 <div>
  422.                                                     <img src=\"{{ rutaimg }}{{ item.filename }}.png\"  alt=\"\" style=\"max-width: 128px\"/>
  423.                                                 </div>
  424.                                             </div>
  425.                                             <div class=\"details\">
  426.                                                 <span><input type=\"checkbox\" name=\"{{ typeName }}[{{ item.id }}]\" value=\"{{ item.internalid }}\">{{ translateItem(item.internalid, type)|title }}</span><br>
  427.                                                 {% if item.buy is defined %}<img src=\"{{ asset('build/iconos/baya.png') }}\">{{ item.buy }} {% endif %}
  428.                                             </div>
  429.                                         </div>
  430.                                     {% endfor %}
  431.                                 {% endif %}
  432.                                 <div class=\"clearfix\"></div>
  433.                             </div>
  434.                             {% if maxPages is defined %}
  435.                             <div class=\"paginate\">
  436.                                 {% if maxPages > 1 %}
  437.                                     {%if thisPage > 1 %}
  438.                                         {% if category is defined %}
  439.                                             <a href=\"{{ path('items_type_category', {type: typeName, currentPage: thisPage-1 < 1 ? 1 : thisPage-1, category: category}) }}\"><i class=\"fas fa-angle-left\"></i></a>
  440.                                         {% else %}
  441.                                             <a href=\"{{ path('items_type', {type: typeName, currentPage: thisPage-1 < 1 ? 1 : thisPage-1}) }}\"><i class=\"fas fa-angle-left\"></i></a>
  442.                                         {% endif %}
  443.                                     {% endif %}
  444.                                     {# Render each page number #}
  445.                                     {% for i in 1..maxPages %}
  446.                                         {% if i==thisPage %}
  447.                                             <a class=\"currentpage\">{{ i }}</a>
  448.                                         {% else %}
  449.                                             {% if (maxPages>10 and i < thisPage+6 and i > thisPage-6) or (i < 9 and thisPage<9)   %}
  450.                                                 {% if category is defined %}
  451.                                                     <a href=\"{{ path('items_type_category', { type: typeName, currentPage: i, category: category}) }}\">{{ i }}</a>
  452.                                                 {% else %}
  453.                                                     <a href=\"{{ path('items_type', {type: typeName, currentPage: i}) }}\">{{ i }}</a>
  454.                                                 {% endif %}
  455.                                             {%  else %}
  456.                                             {% endif %}
  457.                                         {% endif %}
  458.                                     {% endfor %}
  459.                                     {# `ยป` arrow #}
  460.                                     {%if thisPage < maxPages %}
  461.                                         {% if category is defined %}
  462.                                             <a href=\"{{ path('items_type_category', {type: typeName, currentPage: thisPage+1 <= maxPages ? thisPage+1 : thisPage, category: category}) }}\"><i class=\"fas fa-angle-right\"></i></a>
  463.                                         {% else %}
  464.                                             <a href=\"{{ path('items_type', { type: typeName, currentPage: thisPage+1 <= maxPages ? thisPage+1 : thisPage}) }}\"><i class=\"fas fa-angle-right\"></i></a>
  465.                                         {% endif %}
  466.                                     {% endif %}
  467.                                 {% endif %}
  468.                             {% endif %}
  469.                         </div>
  470.                     </div>
  471.                 </div>
  472.                 {% endblock %}
  473.             </div>
  474.         </div>
  475.     {% endblock %}
  476.     {% block javascripts %}
  477.         {{ encore_entry_script_tags('app') }}
  478.     {% endblock %}
  479. {% endblock %}
  480. ""items/index.html.twig""/home/www/www/acnh/templates/items/index.html.twig");
  481.     }
  482. }