var/cache/dev/twig/10/10cf088eaf41d7628bf2e0c437e4e453.php line 53

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\CoreExtension;
  6. use Twig\Extension\SandboxExtension;
  7. use Twig\Markup;
  8. use Twig\Sandbox\SecurityError;
  9. use Twig\Sandbox\SecurityNotAllowedTagError;
  10. use Twig\Sandbox\SecurityNotAllowedFilterError;
  11. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  12. use Twig\Source;
  13. use Twig\Template;
  14. use Twig\TemplateWrapper;
  15. /* catalog/list.html.twig */
  16. class __TwigTemplate_5bcf314b41cc04b35d5d0c42d1bd50ff extends Template
  17. {
  18.     private Source $source;
  19.     /**
  20.      * @var array<string, Template>
  21.      */
  22.     private array $macros = [];
  23.     public function __construct(Environment $env)
  24.     {
  25.         parent::__construct($env);
  26.         $this->source $this->getSourceContext();
  27.         $this->blocks = [
  28.             'body' => [$this'block_body'],
  29.         ];
  30.     }
  31.     protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
  32.     {
  33.         // line 1
  34.         return "base.html.twig";
  35.     }
  36.     protected function doDisplay(array $context, array $blocks = []): iterable
  37.     {
  38.         $macros $this->macros;
  39.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  40.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""catalog/list.html.twig"));
  41.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  42.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""catalog/list.html.twig"));
  43.         $this->parent $this->loadTemplate("base.html.twig""catalog/list.html.twig"1);
  44.         yield from $this->parent->unwrap()->yield($contextarray_merge($this->blocks$blocks));
  45.         
  46.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  47.         
  48.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  49.     }
  50.     // line 3
  51.     /**
  52.      * @return iterable<null|scalar|\Stringable>
  53.      */
  54.     public function block_body(array $context, array $blocks = []): iterable
  55.     {
  56.         $macros $this->macros;
  57.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  58.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  59.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  60.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  61.         // line 4
  62.         yield "
  63. \t";
  64.         // line 5
  65.         if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), ($context["prods"] ?? null)) || (CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"falsefalsefalse5), "query", [], "any"falsefalsefalse5), "get", ["filter"], "method"falsefalsefalse5) == 1))) {
  66.             // line 6
  67.             yield "
  68. \t\t";
  69.             // line 7
  70.             $context["viewlistpath"] = $this->extensions['App\Twig\Path']->getPath(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"falsefalsefalse7), "attributes", [], "any"falsefalsefalse7), "get", ["_route"], "method"falsefalsefalse7), Twig\Extension\CoreExtension::merge(Twig\Extension\CoreExtension::merge(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"falsefalsefalse7), "attributes", [], "any"falsefalsefalse7), "all", [], "any"falsefalsefalse7), "_route_params", [], "any"falsefalsefalse7), CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"falsefalsefalse7), "query", [], "any"falsefalsefalse7), "all", [], "any"falsefalsefalse7)), ["view" => "list"]));
  71.             // line 8
  72.             yield "\t\t";
  73.             $context["viewgridpath"] = $this->extensions['App\Twig\Path']->getPath(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"falsefalsefalse8), "attributes", [], "any"falsefalsefalse8), "get", ["_route"], "method"falsefalsefalse8), Twig\Extension\CoreExtension::merge(Twig\Extension\CoreExtension::merge(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"falsefalsefalse8), "attributes", [], "any"falsefalsefalse8), "all", [], "any"falsefalsefalse8), "_route_params", [], "any"falsefalsefalse8), CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"falsefalsefalse8), "query", [], "any"falsefalsefalse8), "all", [], "any"falsefalsefalse8)), ["view" => "grid"]));
  74.             // line 9
  75.             yield "\t\t";
  76.             $context["view30path"] = $this->extensions['App\Twig\Path']->getPath(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"falsefalsefalse9), "attributes", [], "any"falsefalsefalse9), "get", ["_route"], "method"falsefalsefalse9), Twig\Extension\CoreExtension::merge(Twig\Extension\CoreExtension::merge(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"falsefalsefalse9), "attributes", [], "any"falsefalsefalse9), "all", [], "any"falsefalsefalse9), "_route_params", [], "any"falsefalsefalse9), CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"falsefalsefalse9), "query", [], "any"falsefalsefalse9), "all", [], "any"falsefalsefalse9)), ["results" => 30]));
  77.             // line 10
  78.             yield "\t\t";
  79.             $context["view60path"] = $this->extensions['App\Twig\Path']->getPath(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"falsefalsefalse10), "attributes", [], "any"falsefalsefalse10), "get", ["_route"], "method"falsefalsefalse10), Twig\Extension\CoreExtension::merge(Twig\Extension\CoreExtension::merge(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"falsefalsefalse10), "attributes", [], "any"falsefalsefalse10), "all", [], "any"falsefalsefalse10), "_route_params", [], "any"falsefalsefalse10), CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"falsefalsefalse10), "query", [], "any"falsefalsefalse10), "all", [], "any"falsefalsefalse10)), ["results" => 60]));
  80.             // line 11
  81.             yield "\t\t";
  82.             $context["view90path"] = $this->extensions['App\Twig\Path']->getPath(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"falsefalsefalse11), "attributes", [], "any"falsefalsefalse11), "get", ["_route"], "method"falsefalsefalse11), Twig\Extension\CoreExtension::merge(Twig\Extension\CoreExtension::merge(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"falsefalsefalse11), "attributes", [], "any"falsefalsefalse11), "all", [], "any"falsefalsefalse11), "_route_params", [], "any"falsefalsefalse11), CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"falsefalsefalse11), "query", [], "any"falsefalsefalse11), "all", [], "any"falsefalsefalse11)), ["results" => 90]));
  83.             // line 12
  84.             yield "
  85. \t\t";
  86.             // line 13
  87.             if ( !Twig\Extension\CoreExtension::length($this->env->getCharset(), ($context["cats"] ?? null))) {
  88.                 // line 14
  89.                 yield "\t\t\t<h1 class=\"pl-h1\">";
  90.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, ($context["page"] ?? null), "h1", [], "any"falsefalsefalse14), "html"nulltrue);
  91.                 yield "</h1>
  92. \t\t";
  93.             }
  94.             // line 16
  95.             yield "
  96. \t\t";
  97.             // line 17
  98.             if (((((($_v0 = ($context["args"] ?? null)) && is_array($_v0) || $_v0 instanceof ArrayAccess ? ($_v0[0] ?? null) : null) == "catalog") && ((((((($_v1 = ($context["args"] ?? null)) && is_array($_v1) || $_v1 instanceof ArrayAccess ? ($_v1[1] ?? null) : null) == "action") || ((($_v2 = ($context["args"] ?? null)) && is_array($_v2) || $_v2 instanceof ArrayAccess ? ($_v2[1] ?? null) : null) == "new")) || ((($_v3 = ($context["args"] ?? null)) && is_array($_v3) || $_v3 instanceof ArrayAccess ? ($_v3[1] ?? null) : null) == "pop")) || ((($_v4 = ($context["args"] ?? null)) && is_array($_v4) || $_v4 instanceof ArrayAccess ? ($_v4[1] ?? null) : null) == "mix")) || ((($_v5 = ($context["args"] ?? null)) && is_array($_v5) || $_v5 instanceof ArrayAccess ? ($_v5[1] ?? null) : null) == "onsale"))) && ((($_v6 = ($context["args"] ?? null)) && is_array($_v6) || $_v6 instanceof ArrayAccess ? ($_v6[2] ?? null) : null) == ""))) {
  99.                 // line 18
  100.                 yield "\t\t\t";
  101.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, ($context["page"] ?? null), "cont", [], "any"falsefalsefalse18), "html"nulltrue);
  102.                 yield "
  103. \t\t";
  104.             }
  105.             // line 20
  106.             yield "
  107. \t\t";
  108.             // line 21
  109.             if ((((($context["request_uri"] ?? null) == ($context["canonical"] ?? null)) &&  !Twig\Extension\CoreExtension::length($this->env->getCharset(), ($context["cats"] ?? null))) || (($context["catpage"] ?? null) == 1))) {
  110.                 // line 22
  111.                 yield "\t\t\t";
  112.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, ($context["page"] ?? null), "cont2", [], "any"falsefalsefalse22), "html"nulltrue);
  113.                 yield "
  114. \t\t";
  115.             }
  116.             // line 24
  117.             yield "
  118. \t\t";
  119.             // line 25
  120.             if ((CoreExtension::getAttribute($this->env$this->source, ($context["paginator"] ?? null), "start", [], "any"falsefalsefalse25) > 0)) {
  121.                 // line 26
  122.                 yield "\t\t\t<div class=\"hidden-xs\">
  123. \t\t\t";
  124.             }
  125.             // line 28
  126.             yield "\t\t\t";
  127.             yield CoreExtension::getAttribute($this->env$this->source, ($context["subcat_list_rendered"] ?? null), "content", [], "any"falsefalsefalse28);
  128.             yield "
  129. \t\t\t";
  130.             // line 29
  131.             if ((CoreExtension::getAttribute($this->env$this->source, ($context["paginator"] ?? null), "start", [], "any"falsefalsefalse29) > 0)) {
  132.                 // line 30
  133.                 yield "\t\t\t</div>
  134. \t\t";
  135.             }
  136.             // line 32
  137.             yield "
  138. \t\t";
  139.             // line 33
  140.             if (CoreExtension::inFilter((($_v7 = ($context["args"] ?? null)) && is_array($_v7) || $_v7 instanceof ArrayAccess ? ($_v7[1] ?? null) : null), ["new""pop""mix""onsale""search""action"])) {
  141.                 // line 34
  142.                 yield "\t\t\t";
  143.                 yield $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragmentStrategy("esi"$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("block_chars_selected_spec", ["cat_id" => ($context["cat_id"] ?? null), "cat_intname" => ((($context["cat_intname"] ?? null)) ? (($context["cat_intname"] ?? null)) : ("default")), "spec" => (($_v8 = ($context["args"] ?? null)) && is_array($_v8) || $_v8 instanceof ArrayAccess ? ($_v8[1] ?? null) : null), "filters" => ($context["filters"] ?? null)]), ["ignore_errors" => true]);
  144.                 yield "
  145. \t\t";
  146.             } else {
  147.                 // line 36
  148.                 yield "\t\t\t";
  149.                 yield $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragmentStrategy("esi"$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("block_chars_selected", ["cat_id" => ($context["cat_id"] ?? null), "cat_intname" => ($context["cat_intname"] ?? null), "filters" => ($context["filters"] ?? null)]), ["ignore_errors" => true]);
  150.                 yield "
  151. \t\t";
  152.             }
  153.             // line 38
  154.             yield "
  155. \t\t";
  156.             // line 39
  157.             if ( !((((($_v9 = ($context["args"] ?? null)) && is_array($_v9) || $_v9 instanceof ArrayAccess ? ($_v9[0] ?? null) : null) == "catalog") && ((((((($_v10 = ($context["args"] ?? null)) && is_array($_v10) || $_v10 instanceof ArrayAccess ? ($_v10[1] ?? null) : null) == "action") || ((($_v11 = ($context["args"] ?? null)) && is_array($_v11) || $_v11 instanceof ArrayAccess ? ($_v11[1] ?? null) : null) == "new")) || ((($_v12 = ($context["args"] ?? null)) && is_array($_v12) || $_v12 instanceof ArrayAccess ? ($_v12[1] ?? null) : null) == "pop")) || ((($_v13 = ($context["args"] ?? null)) && is_array($_v13) || $_v13 instanceof ArrayAccess ? ($_v13[1] ?? null) : null) == "mix")) || ((($_v14 = ($context["args"] ?? null)) && is_array($_v14) || $_v14 instanceof ArrayAccess ? ($_v14[1] ?? null) : null) == "onsale"))) &&  !Twig\Extension\CoreExtension::testEmpty((($_v15 = ($context["args"] ?? null)) && is_array($_v15) || $_v15 instanceof ArrayAccess ? ($_v15[2] ?? null) : null)))) {
  158.                 // line 40
  159.                 yield "\t\t\t";
  160.             } else {
  161.                 // line 41
  162.                 yield "\t\t\t\t<div class=\"listingPageLinks visible-xs m-cat-block-1\">
  163. \t\t\t\t\t<a href=\"";
  164.                 // line 42
  165.                 yield $this->extensions['App\Twig\Path']->getPath("prod_list_spec", ["spec" => (($_v16 = ($context["args"] ?? null)) && is_array($_v16) || $_v16 instanceof ArrayAccess ? ($_v16[1] ?? null) : null)]);
  166.                 yield "\" class=\"action-count\">
  167. \t\t\t\t\t\t<i class=\"fa fa-angle-left\"></i>&nbsp;&nbsp;
  168. \t\t\t\t\t\t";
  169.                 // line 44
  170.                 if (((($_v17 = ($context["args"] ?? null)) && is_array($_v17) || $_v17 instanceof ArrayAccess ? ($_v17[1] ?? null) : null) == "action")) {
  171.                     // line 45
  172.                     yield "\t\t\t\t\t\t\t";
  173.                     yield CoreExtension::getAttribute($this->env$this->source, ($context["labels"] ?? null), "get", ["prod-list-1"], "method"falsefalsefalse45);
  174.                     yield "
  175. \t\t\t\t\t\t";
  176.                 } elseif (((($_v18 =                 // line 46
  177. ($context["args"] ?? null)) && is_array($_v18) || $_v18 instanceof ArrayAccess ? ($_v18[1] ?? null) : null) == "new")) {
  178.                     // line 47
  179.                     yield "\t\t\t\t\t\t\t";
  180.                     yield CoreExtension::getAttribute($this->env$this->source, ($context["labels"] ?? null), "get", ["prod-list-2"], "method"falsefalsefalse47);
  181.                     yield "
  182. \t\t\t\t\t\t";
  183.                 } elseif (((($_v19 =                 // line 48
  184. ($context["args"] ?? null)) && is_array($_v19) || $_v19 instanceof ArrayAccess ? ($_v19[1] ?? null) : null) == "pop")) {
  185.                     // line 49
  186.                     yield "\t\t\t\t\t\t\t";
  187.                     yield CoreExtension::getAttribute($this->env$this->source, ($context["labels"] ?? null), "get", ["prod-list-3"], "method"falsefalsefalse49);
  188.                     yield "
  189. \t\t\t\t\t\t";
  190.                 } elseif (((($_v20 =                 // line 50
  191. ($context["args"] ?? null)) && is_array($_v20) || $_v20 instanceof ArrayAccess ? ($_v20[1] ?? null) : null) == "mix")) {
  192.                     // line 51
  193.                     yield "\t\t\t\t\t\t\t";
  194.                     yield CoreExtension::getAttribute($this->env$this->source, ($context["labels"] ?? null), "get", ["prod-list-4"], "method"falsefalsefalse51);
  195.                     yield "
  196. \t\t\t\t\t\t";
  197.                 } elseif (((($_v21 =                 // line 52
  198. ($context["args"] ?? null)) && is_array($_v21) || $_v21 instanceof ArrayAccess ? ($_v21[1] ?? null) : null) == "onsale")) {
  199.                     // line 53
  200.                     yield "\t\t\t\t\t\t\t";
  201.                     yield CoreExtension::getAttribute($this->env$this->source, ($context["labels"] ?? null), "get", ["prod-list-5"], "method"falsefalsefalse53);
  202.                     yield "
  203. \t\t\t\t\t\t";
  204.                 }
  205.                 // line 55
  206.                 yield "\t\t\t\t\t</a>
  207. \t\t\t\t\t<span class=\"pull-right action-count\">";
  208.                 // line 56
  209.                 yield CoreExtension::getAttribute($this->env$this->source, ($context["labels"] ?? null), "get", ["prod-list-6"], "method"falsefalsefalse56);
  210.                 yield ":
  211. \t\t\t\t\t\t";
  212.                 // line 57
  213.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, ($context["paginator"] ?? null), "cnt", [], "any"falsefalsefalse57), "html"nulltrue);
  214.                 yield "</span>
  215. \t\t\t\t</div>
  216. \t\t";
  217.             }
  218.             // line 60
  219.             yield "\t\t<div class=\"visible-xs m-cat-block-2\">
  220. \t\t\t<div class=\"row\">
  221. \t\t\t\t<div class=\"col-xs-4\">
  222. \t\t\t\t\t<div class=\"m-pl-sort\">";
  223.             // line 63
  224.             yield CoreExtension::getAttribute($this->env$this->source, ($context["labels"] ?? null), "get", ["prod-list-7"], "method"falsefalsefalse63);
  225.             yield "&nbsp;<i class=\"fa fa-angle-down\"></i>
  226. \t\t\t\t\t</div>
  227. \t\t\t\t</div>
  228. \t\t\t\t<div class=\"col-xs-8\">
  229. \t\t\t\t\t";
  230.             // line 67
  231.             if (((Twig\Extension\CoreExtension::length($this->env->getCharset(), ($context["prods"] ?? null)) || (CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"falsefalsefalse67), "query", [], "any"falsefalsefalse67), "get", ["filter"], "method"falsefalsefalse67) == 1)) && ($context["cat"] ?? null))) {
  232.                 // line 68
  233.                 yield "\t\t\t\t\t\t<div class=\"psb-view psb-view-1 pull-right pl-filter\">
  234. \t\t\t\t\t\t\t<a href=\"#\" class=\"list\">
  235. \t\t\t\t\t\t\t\t<i class=\"fa fa-filter\"></i>&nbsp;
  236. \t\t\t\t\t\t\t\t";
  237.                 // line 71
  238.                 yield CoreExtension::getAttribute($this->env$this->source, ($context["labels"] ?? null), "get", ["prod-list-8"], "method"falsefalsefalse71);
  239.                 yield "</a>
  240. \t\t\t\t\t\t</div>
  241. \t\t\t\t\t";
  242.             }
  243.             // line 74
  244.             yield "\t\t\t\t\t<div class=\"pull-right m-psb-delimiter\">
  245. \t\t\t\t\t\t|
  246. \t\t\t\t\t</div>
  247. \t\t\t\t\t<div class=\"pull-right m-psb-view\">
  248. \t\t\t\t\t\t<form action=\"";
  249.             // line 78
  250.             yield $this->extensions['App\Twig\Path']->getPath("redirect");
  251.             yield "\" method=\"post\">
  252. \t\t\t\t\t\t\t<button type=\"submit\" name=\"redirect\" class=\"list";
  253.             // line 79
  254.             if ((Twig\Extension\CoreExtension::testEmpty(($context["view_mode"] ?? null)) || (($context["view_mode"] ?? null) == "list"))) {
  255.                 yield "a";
  256.             }
  257.             yield "\" value=\"";
  258.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["viewlistpath"] ?? null), "html"nulltrue);
  259.             yield "\">
  260. \t\t\t\t\t\t\t\t<i class=\"fa fa-list-ul\"></i>
  261. \t\t\t\t\t\t\t</button>
  262. \t\t\t\t\t\t</form>
  263. \t\t\t\t\t\t<form action=\"";
  264.             // line 83
  265.             yield $this->extensions['App\Twig\Path']->getPath("redirect");
  266.             yield "\" method=\"post\">
  267. \t\t\t\t\t\t\t<button type=\"submit\" name=\"redirect\" class=\"grid";
  268.             // line 84
  269.             if ((($context["view_mode"] ?? null) == "grid")) {
  270.                 yield "a";
  271.             }
  272.             yield "\" value=\"";
  273.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["viewgridpath"] ?? null), "html"nulltrue);
  274.             yield "\">
  275. \t\t\t\t\t\t\t\t<i class=\"fa fa-th-large\"></i>
  276. \t\t\t\t\t\t\t</button>
  277. \t\t\t\t\t\t</form>
  278. \t\t\t\t\t</div>
  279. \t\t\t\t</div>
  280. \t\t\t</div>
  281. \t\t</div>
  282. \t\t<div class=\"pa visible-xs m-pl-sort-block\">
  283. \t\t\t";
  284.             // line 93
  285.             yield Twig\Extension\CoreExtension::include($this->env$context"catalog/block/sort.html.twig");
  286.             yield "
  287. \t\t</div>
  288. \t\t<div class=\"pc-buy\"></div>
  289. \t\t<!-- Product Sorting Bar -->
  290. \t\t<div class=\"product-sorting-bar hidden-xs\">
  291. \t\t\t<div class=\"pull-left pl-sort\">
  292. \t\t\t\t<div class=\"fl\">";
  293.             // line 100
  294.             yield CoreExtension::getAttribute($this->env$this->source, ($context["labels"] ?? null), "get", ["catalog-sort-1"], "method"falsefalsefalse100);
  295.             yield ":&nbsp;</div>
  296. \t\t\t\t<div class=\"fl pr\">
  297. \t\t\t\t\t<div class=\"pl-sort-a\">
  298. \t\t\t\t\t\t";
  299.             // line 103
  300.             if ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"falsefalsefalse103), "query", [], "any"falsefalsefalse103), "get", ["order"], "method"falsefalsefalse103) == "changed")) {
  301.                 // line 104
  302.                 yield "\t\t\t\t\t\t\t";
  303.                 yield CoreExtension::getAttribute($this->env$this->source, ($context["labels"] ?? null), "get", ["catalog-sort-2"], "method"falsefalsefalse104);
  304.                 yield "
  305. \t\t\t\t\t\t";
  306.             } elseif ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source,             // line 105
  307. ($context["app"] ?? null), "request", [], "any"falsefalsefalse105), "query", [], "any"falsefalsefalse105), "get", ["order"], "method"falsefalsefalse105) == "prior")) {
  308.                 // line 106
  309.                 yield "\t\t\t\t\t\t\t";
  310.                 yield CoreExtension::getAttribute($this->env$this->source, ($context["labels"] ?? null), "get", ["catalog-sort-3"], "method"falsefalsefalse106);
  311.                 yield "
  312. \t\t\t\t\t\t";
  313.             } elseif ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source,             // line 107
  314. ($context["app"] ?? null), "request", [], "any"falsefalsefalse107), "query", [], "any"falsefalsefalse107), "get", ["order"], "method"falsefalsefalse107) == "price")) {
  315.                 // line 108
  316.                 yield "\t\t\t\t\t\t\t";
  317.                 yield CoreExtension::getAttribute($this->env$this->source, ($context["labels"] ?? null), "get", ["catalog-sort-4"], "method"falsefalsefalse108);
  318.                 yield "
  319. \t\t\t\t\t\t";
  320.             } elseif ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source,             // line 109
  321. ($context["app"] ?? null), "request", [], "any"falsefalsefalse109), "query", [], "any"falsefalsefalse109), "get", ["order"], "method"falsefalsefalse109) == "skidka")) {
  322.                 // line 110
  323.                 yield "\t\t\t\t\t\t\t";
  324.                 yield CoreExtension::getAttribute($this->env$this->source, ($context["labels"] ?? null), "get", ["catalog-sort-8"], "method"falsefalsefalse110);
  325.                 yield "
  326. \t\t\t\t\t\t";
  327.             } else {
  328.                 // line 112
  329.                 yield "\t\t\t\t\t\t\t";
  330.                 yield CoreExtension::getAttribute($this->env$this->source, ($context["labels"] ?? null), "get", ["catalog-sort-5"], "method"falsefalsefalse112);
  331.                 yield "
  332. \t\t\t\t\t\t";
  333.             }
  334.             // line 113
  335.             yield "&nbsp;<i class=\"fa fa-angle-down\"></i>
  336. \t\t\t\t\t</div>
  337. \t\t\t\t\t<div class=\"pa pl-sort-block\">
  338. \t\t\t\t\t\t";
  339.             // line 116
  340.             yield Twig\Extension\CoreExtension::include($this->env$context"catalog/block/sort.html.twig");
  341.             yield "
  342. \t\t\t\t\t</div>
  343. \t\t\t\t</div>
  344. \t\t\t</div>
  345. \t\t\t<div class=\"pull-right pl-pcount pr\">
  346. \t\t\t\t<div class=\"fl\">";
  347.             // line 121
  348.             yield CoreExtension::getAttribute($this->env$this->source, ($context["labels"] ?? null), "get", ["prod-list-12"], "method"falsefalsefalse121);
  349.             yield ":&nbsp;</div>
  350. \t\t\t\t<div class=\"fl pr\">
  351. \t\t\t\t\t<div class=\"pl-pcount-a\">";
  352.             // line 123
  353.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["results"] ?? null), "html"nulltrue);
  354.             yield "&nbsp;<i class=\"fa fa-angle-down\"></i>
  355. \t\t\t\t\t</div>
  356. \t\t\t\t\t<div class=\"pa pl-pcount-block\">
  357. \t\t\t\t\t\t<ul>
  358. \t\t\t\t\t\t\t<li>
  359. \t\t\t\t\t\t\t\t<form action=\"";
  360.             // line 128
  361.             yield $this->extensions['App\Twig\Path']->getPath("redirect");
  362.             yield "\" method=\"post\">
  363. \t\t\t\t\t\t\t\t\t<button type=\"submit\" name=\"redirect\" value=\"";
  364.             // line 129
  365.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["view30path"] ?? null), "html"nulltrue);
  366.             yield "\">30</button>
  367. \t\t\t\t\t\t\t\t</form>
  368. \t\t\t\t\t\t\t</li>
  369. \t\t\t\t\t\t\t<li>
  370. \t\t\t\t\t\t\t\t<form action=\"";
  371.             // line 133
  372.             yield $this->extensions['App\Twig\Path']->getPath("redirect");
  373.             yield "\" method=\"post\">
  374. \t\t\t\t\t\t\t\t\t<button type=\"submit\" name=\"redirect\" value=\"";
  375.             // line 134
  376.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["view60path"] ?? null), "html"nulltrue);
  377.             yield "\">60</button>
  378. \t\t\t\t\t\t\t\t</form>
  379. \t\t\t\t\t\t\t</li>
  380. \t\t\t\t\t\t\t<li>
  381. \t\t\t\t\t\t\t\t<form action=\"";
  382.             // line 138
  383.             yield $this->extensions['App\Twig\Path']->getPath("redirect");
  384.             yield "\" method=\"post\">
  385. \t\t\t\t\t\t\t\t\t<button type=\"submit\" name=\"redirect\" value=\"";
  386.             // line 139
  387.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["view90path"] ?? null), "html"nulltrue);
  388.             yield "\">90</button>
  389. \t\t\t\t\t\t\t\t</form>
  390. \t\t\t\t\t\t\t</li>
  391. \t\t\t\t\t\t</ul>
  392. \t\t\t\t\t</div>
  393. \t\t\t\t</div>
  394. \t\t\t</div>
  395. \t\t\t<div class=\"psb-view pull-right\">
  396. \t\t\t\t";
  397.             // line 147
  398.             yield CoreExtension::getAttribute($this->env$this->source, ($context["labels"] ?? null), "get", ["prod-list-9"], "method"falsefalsefalse147);
  399.             yield ":
  400. \t\t\t\t<form action=\"";
  401.             // line 148
  402.             yield $this->extensions['App\Twig\Path']->getPath("redirect");
  403.             yield "\" method=\"post\">
  404. \t\t\t\t\t<button type=\"submit\" name=\"redirect\" class=\"list";
  405.             // line 149
  406.             if (((($context["view_mode"] ?? null) == "list") || (((CoreExtension::getAttribute($this->env$this->source, ($context["env"] ?? null), "site", [], "any"falsefalsefalse149) == CoreExtension::getAttribute($this->env$this->source, ($context["env"] ?? null), "mir", [], "any"falsefalsefalse149)) || (CoreExtension::getAttribute($this->env$this->source, ($context["env"] ?? null), "site", [], "any"falsefalsefalse149) == CoreExtension::getAttribute($this->env$this->source, ($context["env"] ?? null), "miropt", [], "any"falsefalsefalse149))) && Twig\Extension\CoreExtension::testEmpty(($context["view_mode"] ?? null))))) {
  407.                 yield "a";
  408.             }
  409.             yield "\" value=\"";
  410.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["viewlistpath"] ?? null), "html"nulltrue);
  411.             yield "\">
  412. \t\t\t\t\t\t<i class=\"fa fa-list-ul\"></i>
  413. \t\t\t\t\t\t";
  414.             // line 151
  415.             yield CoreExtension::getAttribute($this->env$this->source, ($context["labels"] ?? null), "get", ["prod-list-10"], "method"falsefalsefalse151);
  416.             yield "</button>
  417. \t\t\t\t</form>
  418. \t\t\t\t<form action=\"";
  419.             // line 153
  420.             yield $this->extensions['App\Twig\Path']->getPath("redirect");
  421.             yield "\" method=\"post\">
  422. \t\t\t\t\t<button type=\"submit\" name=\"redirect\" class=\"grid";
  423.             // line 154
  424.             if (((($context["view_mode"] ?? null) == "grid") || (((CoreExtension::getAttribute($this->env$this->source, ($context["env"] ?? null), "site", [], "any"falsefalsefalse154) == CoreExtension::getAttribute($this->env$this->source, ($context["env"] ?? null), "mir", [], "any"falsefalsefalse154)) || (CoreExtension::getAttribute($this->env$this->source, ($context["env"] ?? null), "site", [], "any"falsefalsefalse154) == CoreExtension::getAttribute($this->env$this->source, ($context["env"] ?? null), "miropt", [], "any"falsefalsefalse154))) && Twig\Extension\CoreExtension::testEmpty(($context["view_mode"] ?? null))))) {
  425.                 yield "a";
  426.             }
  427.             yield "\" value=\"";
  428.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["viewgridpath"] ?? null), "html"nulltrue);
  429.             yield "\">
  430. \t\t\t\t\t\t<i class=\"fa fa-th-large\"></i>
  431. \t\t\t\t\t\t";
  432.             // line 156
  433.             yield CoreExtension::getAttribute($this->env$this->source, ($context["labels"] ?? null), "get", ["prod-list-11"], "method"falsefalsefalse156);
  434.             yield "</button>
  435. \t\t\t\t</form>
  436. \t\t\t</div>
  437. \t\t</div>
  438. \t\t<!-- End Product Sorting Bar -->
  439. \t\t";
  440.             // line 161
  441.             if ( !Twig\Extension\CoreExtension::length($this->env->getCharset(), ($context["prods"] ?? null))) {
  442.                 // line 162
  443.                 yield "\t\t\t<div class=\"pl-empty\">";
  444.                 yield CoreExtension::getAttribute($this->env$this->source, ($context["labels"] ?? null), "get", ["prod-list-13"], "method"falsefalsefalse162);
  445.                 yield "</div>
  446. \t\t";
  447.             } else {
  448.                 // line 164
  449.                 yield "\t\t\t<div class=\"pl-block\">
  450. \t\t\t\t";
  451.                 // line 165
  452.                 $context['_parent'] = $context;
  453.                 $context['_seq'] = CoreExtension::ensureTraversable(($context["prods"] ?? null));
  454.                 $context['loop'] = [
  455.                   'parent' => $context['_parent'],
  456.                   'index0' => 0,
  457.                   'index'  => 1,
  458.                   'first'  => true,
  459.                 ];
  460.                 if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  461.                     $length count($context['_seq']);
  462.                     $context['loop']['revindex0'] = $length 1;
  463.                     $context['loop']['revindex'] = $length;
  464.                     $context['loop']['length'] = $length;
  465.                     $context['loop']['last'] = === $length;
  466.                 }
  467.                 foreach ($context['_seq'] as $context["_key"] => $context["prod"]) {
  468.                     // line 166
  469.                     yield "\t\t\t\t\t";
  470.                     $context["prodone"] = $context["prod"];
  471.                     // line 167
  472.                     yield "\t\t\t\t\t";
  473.                     if ((($context["view_mode"] ?? null) != "grid")) {
  474.                         // line 168
  475.                         yield "\t\t\t\t\t\t<div class=\"col-md-12 box-product-outer bpo-list pl-list\">
  476. \t\t\t\t\t\t\t<div class=\"bpo-loading\"></div>
  477. \t\t\t\t\t\t\t<div class=\"box-product\">
  478. \t\t\t\t\t\t\t\t<div class=\"col-md-2 col-xs-4 pl-img col-xl-pl-1\" data-img=\"pl-img-";
  479.                         // line 171
  480.                         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["prod"], "id", [], "any"falsefalsefalse171), "html"nulltrue);
  481.                         yield "\">
  482. \t\t\t\t\t\t\t\t\t<div class=\"img-wrapper pl-image-detail pl-img-thumb-";
  483.                         // line 172
  484.                         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["prod"], "id", [], "any"falsefalsefalse172), "html"nulltrue);
  485.                         yield "\">
  486. \t\t\t\t\t\t\t\t\t\t<a class=\"group list-img-thumb\" href=\"";
  487.                         // line 173
  488.                         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((((CoreExtension::getAttribute($this->env$this->source, ($context["env"] ?? null), "host_static", [], "any"falsefalsefalse173) . "/pic/prod-l/") . CoreExtension::getAttribute($this->env$this->source$context["prod"], "id", [], "any"falsefalsefalse173)) . ".jpg")), "html"nulltrue);
  489.                         yield "\" data-href=\"";
  490.                         yield $this->extensions['App\Twig\Path']->getPath("prod_cont", ["prod_id" => CoreExtension::getAttribute($this->env$this->source$context["prod"], "id", [], "any"falsefalsefalse173)]);
  491.                         yield "\">
  492. \t\t\t\t\t\t\t\t\t\t\t<img class=\"b-lazy\" src=\"";
  493.                         // line 174
  494.                         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((("loading-img" . ((($context["env_is_opt"] ?? null)) ? ("-opt") : (""))) . ".gif"), "img"), "html"nulltrue);
  495.                         yield "\" data-src=\"";
  496.                         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((((CoreExtension::getAttribute($this->env$this->source, ($context["env"] ?? null), "host_static", [], "any"falsefalsefalse174) . "/pic/prod-m/") . CoreExtension::getAttribute($this->env$this->source$context["prod"], "id", [], "any"falsefalsefalse174)) . ".jpg")), "html"nulltrue);
  497.                         yield "\" alt=\"";
  498.                         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["prod"], "name", [], "any"falsefalsefalse174), "html"nulltrue);
  499.                         yield "\">
  500. \t\t\t\t\t\t\t\t\t\t</a>
  501. \t\t\t\t\t\t\t\t\t\t<a class=\"group2 list-img-thumb\" href=\"";
  502.                         // line 176
  503.                         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((((CoreExtension::getAttribute($this->env$this->source, ($context["env"] ?? null), "host_static", [], "any"falsefalsefalse176) . "/pic/prod-l/") . CoreExtension::getAttribute($this->env$this->source$context["prod"], "id", [], "any"falsefalsefalse176)) . ".jpg")), "html"nulltrue);
  504.                         yield "\" data-href=\"";
  505.                         yield $this->extensions['App\Twig\Path']->getPath("prod_cont", ["prod_id" => CoreExtension::getAttribute($this->env$this->source$context["prod"], "id", [], "any"falsefalsefalse176)]);
  506.                         yield "\">
  507. \t\t\t\t\t\t\t\t\t\t\t<img class=\"b-lazy\" src=\"";
  508.                         // line 177
  509.                         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((("loading-img" . ((($context["env_is_opt"] ?? null)) ? ("-opt") : (""))) . ".gif"), "img"), "html"nulltrue);
  510.                         yield "\" data-src=\"";
  511.                         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((((CoreExtension::getAttribute($this->env$this->source, ($context["env"] ?? null), "host_static", [], "any"falsefalsefalse177) . "/pic/prod-m/") . CoreExtension::getAttribute($this->env$this->source$context["prod"], "id", [], "any"falsefalsefalse177)) . ".jpg")), "html"nulltrue);
  512.                         yield "\" alt=\"";
  513.                         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["prod"], "name", [], "any"falsefalsefalse177), "html"nulltrue);
  514.                         yield "\">
  515. \t\t\t\t\t\t\t\t\t\t</a>
  516. \t\t\t\t\t\t\t\t\t</div>
  517. \t\t\t\t\t\t\t\t\t<div class=\"pl-labels-";
  518.                         // line 180
  519.                         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["prod"], "id", [], "any"falsefalsefalse180), "html"nulltrue);
  520.                         yield "\">
  521. \t\t\t\t\t\t\t\t\t\t";
  522.                         // line 181
  523.                         yield Twig\Extension\CoreExtension::include($this->env$context"catalog/block/prod-labels.html.twig");
  524.                         yield "
  525. \t\t\t\t\t\t\t\t\t</div>
  526. \t\t\t\t\t\t\t\t</div>
  527. \t\t\t\t\t\t\t\t<div class=\"col-md-7 col-xs-8 col-xl-pl-2\">
  528. \t\t\t\t\t\t\t\t\t<div class=\"h6 pl-name-";
  529.                         // line 185
  530.                         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["prod"], "id", [], "any"falsefalsefalse185), "html"nulltrue);
  531.                         yield " gpl-h6\">
  532. \t\t\t\t\t\t\t\t\t\t<a href=\"";
  533.                         // line 186
  534.                         yield $this->extensions['App\Twig\Path']->getPath("prod_cont", ["prod_id" => CoreExtension::getAttribute($this->env$this->source$context["prod"], "id", [], "any"falsefalsefalse186)]);
  535.                         yield "\" title=\"";
  536.                         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["prod"], "name", [], "any"falsefalsefalse186), "html"nulltrue);
  537.                         yield "\">
  538. \t\t\t\t\t\t\t\t\t\t\t";
  539.                         // line 187
  540.                         if (CoreExtension::getAttribute($this->env$this->source$context["prod"], "pop", [], "any"falsefalsefalse187)) {
  541.                             yield "<img src=\"";
  542.                             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((("hot" CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"falsefalsefalse187), "locale", [], "any"falsefalsefalse187)) . ".png"), "img"), "html"nulltrue);
  543.                             yield "\" alt=\"hot\" class=\"prod-hot\">
  544. \t\t\t\t\t\t\t\t\t\t\t";
  545.                         }
  546.                         // line 189
  547.                         yield "\t\t\t\t\t\t\t\t\t\t\t";
  548.                         yield Twig\Extension\CoreExtension::replace(CoreExtension::getAttribute($this->env$this->source$context["prod"], "name", [], "any"falsefalsefalse189), [((" (" Twig\Extension\CoreExtension::trim(CoreExtension::getAttribute($this->env$this->source$context["prod"], "art", [], "any"falsefalsefalse189))) . ")") => (("<span class=\"gpl-art2\"> (" Twig\Extension\CoreExtension::trim(CoreExtension::getAttribute($this->env$this->source$context["prod"], "art", [], "any"falsefalsefalse189))) . ")</span>")]);
  549.                         yield "
  550. \t\t\t\t\t\t\t\t\t\t\t<span class=\"gpl-art\">...(";
  551.                         // line 190
  552.                         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["prod"], "art", [], "any"falsefalsefalse190), "html"nulltrue);
  553.                         yield ")</span>
  554. \t\t\t\t\t\t\t\t\t\t</a>
  555. \t\t\t\t\t\t\t\t\t</div>
  556. \t\t\t\t\t\t\t\t\t<div class=\"pl-colors-block\">
  557. \t\t\t\t\t\t\t\t\t\t<div class=\"pl-colors\">
  558. \t\t\t\t\t\t\t\t\t\t\t";
  559.                         // line 196
  560.                         $context['_parent'] = $context;
  561.                         $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env$this->source$context["prod"], "colors", [], "any"falsefalsefalse196));
  562.                         foreach ($context['_seq'] as $context["_key"] => $context["color"]) {
  563.                             // line 197
  564.                             yield "\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"#\" class=\"prod-select-color";
  565.                             if (($context["color"] == CoreExtension::getAttribute($this->env$this->source, ($context["prodone"] ?? null), "id", [], "any"falsefalsefalse197))) {
  566.                                 yield " active";
  567.                             }
  568.                             yield "\" data-id=\"";
  569.                             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["prod"], "id", [], "any"falsefalsefalse197), "html"nulltrue);
  570.                             yield "\" data-color=\"";
  571.                             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["color"], "html"nulltrue);
  572.                             yield "\" data-host=\"";
  573.                             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, ($context["env"] ?? null), "host_static", [], "any"falsefalsefalse197), "html"nulltrue);
  574.                             yield "\">
  575. \t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"pa pca\"><img src=\"";
  576.                             // line 198
  577.                             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("pc_active.png""img"), "html"nulltrue);
  578.                             yield "\" alt=\"\"></div>
  579. \t\t\t\t\t\t\t\t\t\t\t\t\t<img class=\"b-lazy\" src=\"";
  580.                             // line 199
  581.                             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((("loading-img" . ((CoreExtension::getAttribute($this->env$this->source, ($context["env"] ?? null), "is_opt", [], "any"falsefalsefalse199)) ? ("-opt") : (""))) . ".gif"), "img"), "html"nulltrue);
  582.                             yield "\" data-src=\"";
  583.                             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((((CoreExtension::getAttribute($this->env$this->source, ($context["env"] ?? null), "host_static", [], "any"falsefalsefalse199) . "/pic/prod-s/") . $context["color"]) . ".jpg")), "html"nulltrue);
  584.                             yield "\" width=\"32\" height=\"32\" alt=\"\">
  585. \t\t\t\t\t\t\t\t\t\t\t\t</a>
  586. \t\t\t\t\t\t\t\t\t\t\t";
  587.                         }
  588.                         $_parent $context['_parent'];
  589.                         unset($context['_seq'], $context['_key'], $context['color'], $context['_parent']);
  590.                         $context array_intersect_key($context$_parent) + $_parent;
  591.                         // line 202
  592.                         yield "\t\t\t\t\t\t\t\t\t\t</div>
  593. \t\t\t\t\t\t\t\t\t\t";
  594.                         // line 203
  595.                         if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env$this->source$context["prod"], "colors", [], "any"falsefalsefalse203)) > 9)) {
  596.                             // line 204
  597.                             yield "\t\t\t\t\t\t\t\t\t\t\t<div class=\"pl-colors-showmore\">
  598. \t\t\t\t\t\t\t\t\t\t\t\t<a href=\"#\" class=\"top-phone-2\">";
  599.                             // line 205
  600.                             yield CoreExtension::getAttribute($this->env$this->source, ($context["labels"] ?? null), "get", ["prod-list-14"], "method"falsefalsefalse205);
  601.                             yield "</a>
  602. \t\t\t\t\t\t\t\t\t\t\t</div>
  603. \t\t\t\t\t\t\t\t\t\t";
  604.                         }
  605.                         // line 208
  606.                         yield "\t\t\t\t\t\t\t\t\t</div>
  607. \t\t\t\t\t\t\t\t\t<span class=\"weight\">
  608. \t\t\t\t\t\t\t\t\t\t";
  609.                         // line 211
  610.                         yield CoreExtension::getAttribute($this->env$this->source, ($context["labels"] ?? null), "get", ["pack"], "method"falsefalsefalse211);
  611.                         yield ": &nbsp;
  612. \t\t\t\t\t\t\t\t\t\t<span class=\"pl-inpack-";
  613.                         // line 212
  614.                         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["prod"], "id", [], "any"falsefalsefalse212), "html"nulltrue);
  615.                         yield "\">";
  616.                         yield Twig\Extension\CoreExtension::include($this->env$context"catalog/block/prod-inpack.html.twig");
  617.                         yield "</span>
  618. \t\t\t\t\t\t\t\t\t</span>
  619. \t\t\t\t\t\t\t\t\t<span class=\"weight hidden-xs pl-weight-";
  620.                         // line 214
  621.                         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["prod"], "id", [], "any"falsefalsefalse214), "html"nulltrue);
  622.                         yield "\">
  623. \t\t\t\t\t\t\t\t\t\t<span class=\"ves2\">";
  624.                         // line 215
  625.                         yield CoreExtension::getAttribute($this->env$this->source, ($context["labels"] ?? null), "get", ["weight"], "method"falsefalsefalse215);
  626.                         yield ": &nbsp;</span>
  627. \t\t\t\t\t\t\t\t\t\t";
  628.                         // line 216
  629.                         yield Twig\Extension\CoreExtension::include($this->env$context"catalog/block/prod-weight.html.twig");
  630.                         yield "
  631. \t\t\t\t\t\t\t\t\t</span>
  632. \t\t\t\t\t\t\t\t</div>
  633. \t\t\t\t\t\t\t\t<div class=\"col-md-3 col-xs-12 col-xl-pl-3\">
  634. \t\t\t\t\t\t\t\t\t<div class=\"row\">
  635. \t\t\t\t\t\t\t\t\t\t<div class=\"col-xs-12 col-sm-12\">
  636. \t\t\t\t\t\t\t\t\t\t\t<div class=\"row\">
  637. \t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-xs-10 col-sm-12 nopadding\">
  638. \t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"xprice pl-xprice-";
  639.                         // line 224
  640.                         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["prod"], "id", [], "any"falsefalsefalse224), "html"nulltrue);
  641.                         yield "\">
  642. \t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  643.                         // line 225
  644.                         yield Twig\Extension\CoreExtension::include($this->env$context"catalog/block/prod-price.html.twig");
  645.                         yield "
  646. \t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  647. \t\t\t\t\t\t\t\t\t\t\t\t</div>
  648. \t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-xs-2 col-sm-12\">
  649. \t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"xform pl-form-";
  650.                         // line 229
  651.                         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["prod"], "id", [], "any"falsefalsefalse229), "html"nulltrue);
  652.                         yield "\">
  653. \t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  654.                         // line 230
  655.                         yield Twig\Extension\CoreExtension::include($this->env$context"catalog/block/prod-form.html.twig");
  656.                         yield "
  657. \t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  658. \t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"pl-wishlist-";
  659.                         // line 233
  660.                         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["prod"], "id", [], "any"falsefalsefalse233), "html"nulltrue);
  661.                         yield " pl-wishlist\">
  662. \t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  663.                         // line 234
  664.                         yield Twig\Extension\CoreExtension::include($this->env$context"catalog/block/prod-wishlist.html.twig");
  665.                         yield "
  666. \t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  667. \t\t\t\t\t\t\t\t\t\t\t\t</div>
  668. \t\t\t\t\t\t\t\t\t\t\t</div>
  669. \t\t\t\t\t\t\t\t\t\t</div>
  670. \t\t\t\t\t\t\t\t\t</div>
  671. \t\t\t\t\t\t\t\t</div>
  672. \t\t\t\t\t\t\t\t<div class=\"clear\"></div>
  673. \t\t\t\t\t\t\t</div>
  674. \t\t\t\t\t\t</div>
  675. \t\t\t\t\t";
  676.                     } else {
  677.                         // line 246
  678.                         yield "\t\t\t\t\t\t<div class=\"col-sm-4 col-md-4 col-lg-3 col-xl-3 col-xs-6 box-product-outer bpo-grid pl-grid\">
  679. \t\t\t\t\t\t\t<div class=\"bpo-loading\"></div>
  680. \t\t\t\t\t\t\t<div class=\"box-product\">
  681. \t\t\t\t\t\t\t\t<div class=\"img-wrapper pl-img-thumb-";
  682.                         // line 249
  683.                         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["prod"], "id", [], "any"falsefalsefalse249), "html"nulltrue);
  684.                         yield " pl-slider-colors\">
  685. \t\t\t\t\t\t\t\t\t<a
  686. \t\t\t\t\t\t\t\t\t\thref=\"";
  687.                         // line 251
  688.                         yield $this->extensions['App\Twig\Path']->getPath("prod_cont", ["prod_id" => CoreExtension::getAttribute($this->env$this->source$context["prod"], "id", [], "any"falsefalsefalse251)]);
  689.                         yield "\" class=\"grid-img-thumb bp-loading\">
  690. \t\t\t\t\t\t\t\t\t\t<!-- ontouchend=\"if(body.clientWidth>991) {return false;}\"-->
  691. \t\t\t\t\t\t\t\t\t\t<img
  692. \t\t\t\t\t\t\t\t\t\tclass=\"b-lazy\" src=\"";
  693.                         // line 254
  694.                         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((("loading-img" . ((($context["env_is_opt"] ?? null)) ? ("-opt") : (""))) . ".gif"), "img"), "html"nulltrue);
  695.                         yield "\" data-src=\"";
  696.                         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((((CoreExtension::getAttribute($this->env$this->source, ($context["env"] ?? null), "host_static", [], "any"falsefalsefalse254) . "/pic/prod-m/") . CoreExtension::getAttribute($this->env$this->source$context["prod"], "id", [], "any"falsefalsefalse254)) . ".jpg")), "html"nulltrue);
  697.                         yield "\" alt=\"";
  698.                         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["prod"], "name", [], "any"falsefalsefalse254), "html"nulltrue);
  699.                         yield "\" title=\"";
  700.                         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["prod"], "name", [], "any"falsefalsefalse254), "html"nulltrue);
  701.                         yield "\">
  702. \t\t\t\t\t\t\t\t\t<!-- onclick=\"<?=\\ASweb\\SEO\\GoogleTrade::gProdClick(\$prod->id)?>\"-->
  703. \t\t\t\t\t\t\t\t\t</a>
  704. \t\t\t\t\t\t\t\t\t<div
  705. \t\t\t\t\t\t\t\t\t\tclass=\"main-recomended-prods\">
  706. \t\t\t\t\t\t\t\t\t\t<!-- Full Slider -->
  707. \t\t\t\t\t\t\t\t\t\t<div class=\"container-fluid\">
  708. \t\t\t\t\t\t\t\t\t\t\t<div class=\"row\">
  709. \t\t\t\t\t\t\t\t\t\t\t\t<div class=\"pl-slider-2-";
  710.                         // line 262
  711.                         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["prod"], "id", [], "any"falsefalsefalse262), "html"nulltrue);
  712.                         yield " pl-slider-2\" data-id=\"";
  713.                         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["prod"], "id", [], "any"falsefalsefalse262), "html"nulltrue);
  714.                         yield "\">
  715. \t\t\t\t\t\t\t\t\t\t\t\t\t<a
  716. \t\t\t\t\t\t\t\t\t\t\t\t\t\thref=\"";
  717.                         // line 264
  718.                         yield $this->extensions['App\Twig\Path']->getPath("prod_cont", ["prod_id" => CoreExtension::getAttribute($this->env$this->source$context["prod"], "id", [], "any"falsefalsefalse264)]);
  719.                         yield "\" class=\"grid-img-thumb\">
  720. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<!-- ontouchend=\"if(body.clientWidth>991) {return false;}\"-->
  721. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<img src=\"";
  722.                         // line 266
  723.                         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((((CoreExtension::getAttribute($this->env$this->source, ($context["env"] ?? null), "host_static", [], "any"falsefalsefalse266) . "/pic/prod-m/") . CoreExtension::getAttribute($this->env$this->source$context["prod"], "id", [], "any"falsefalsefalse266)) . ".jpg")), "html"nulltrue);
  724.                         yield "\" alt=\"";
  725.                         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["prod"], "name", [], "any"falsefalsefalse266), "html"nulltrue);
  726.                         yield "\" title=\"";
  727.                         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["prod"], "name", [], "any"falsefalsefalse266), "html"nulltrue);
  728.                         yield "\">
  729. \t\t\t\t\t\t\t\t\t\t\t\t\t</a>
  730. \t\t\t\t\t\t\t\t\t\t\t\t\t";
  731.                         // line 268
  732.                         $context['_parent'] = $context;
  733.                         $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env$this->source$context["prod"], "photos", [], "any"falsefalsefalse268));
  734.                         foreach ($context['_seq'] as $context["_key"] => $context["photo"]) {
  735.                             // line 269
  736.                             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a
  737. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\thref=\"";
  738.                             // line 270
  739.                             yield $this->extensions['App\Twig\Path']->getPath("prod_cont", ["prod_id" => CoreExtension::getAttribute($this->env$this->source$context["prod"], "id", [], "any"falsefalsefalse270)]);
  740.                             yield "\" class=\"grid-img-thumb\">
  741. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<!-- ontouchend=\"if(body.clientWidth>991) {return false;}\"-->
  742. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img src=\"";
  743.                             // line 272
  744.                             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((((CoreExtension::getAttribute($this->env$this->source, ($context["env"] ?? null), "host_static", [], "any"falsefalsefalse272) . "/pic/photo/") . CoreExtension::getAttribute($this->env$this->source$context["photo"], "id", [], "any"falsefalsefalse272)) . ".jpg")), "html"nulltrue);
  745.                             yield "\" alt=\"\">
  746. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</a>
  747. \t\t\t\t\t\t\t\t\t\t\t\t\t";
  748.                         }
  749.                         $_parent $context['_parent'];
  750.                         unset($context['_seq'], $context['_key'], $context['photo'], $context['_parent']);
  751.                         $context array_intersect_key($context$_parent) + $_parent;
  752.                         // line 275
  753.                         yield "\t\t\t\t\t\t\t\t\t\t\t\t</div>
  754. \t\t\t\t\t\t\t\t\t\t\t</div>
  755. \t\t\t\t\t\t\t\t\t\t</div>
  756. \t\t\t\t\t\t\t\t\t\t<!-- End Full Slider -->
  757. \t\t\t\t\t\t\t\t\t</div>
  758. \t\t\t\t\t\t\t\t</div>
  759. \t\t\t\t\t\t\t\t<div class=\"pl-labels-";
  760.                         // line 281
  761.                         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["prod"], "id", [], "any"falsefalsefalse281), "html"nulltrue);
  762.                         yield "\">
  763. \t\t\t\t\t\t\t\t\t";
  764.                         // line 282
  765.                         yield Twig\Extension\CoreExtension::include($this->env$context"catalog/block/prod-labels.html.twig");
  766.                         yield "
  767. \t\t\t\t\t\t\t\t</div>
  768. \t\t\t\t\t\t\t\t<div class=\"pc-new pl-wish pl-grid-hover\">
  769. \t\t\t\t\t\t\t\t\t<div class=\"pl-grid-wishlist pl-wishlist-";
  770.                         // line 285
  771.                         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["prod"], "id", [], "any"falsefalsefalse285), "html"nulltrue);
  772.                         yield "-2\">
  773. \t\t\t\t\t\t\t\t\t\t";
  774.                         // line 286
  775.                         yield Twig\Extension\CoreExtension::include($this->env$context"catalog/block/prod-wishlist.html.twig");
  776.                         yield "
  777. \t\t\t\t\t\t\t\t\t</div>
  778. \t\t\t\t\t\t\t\t</div>
  779. \t\t\t\t\t\t\t\t<div class=\"pa visible-xs\">
  780. \t\t\t\t\t\t\t\t\t<div class=\"pc-wish pl-wishlist-";
  781.                         // line 290
  782.                         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["prod"], "id", [], "any"falsefalsefalse290), "html"nulltrue);
  783.                         yield "\">
  784. \t\t\t\t\t\t\t\t\t\t";
  785.                         // line 291
  786.                         yield Twig\Extension\CoreExtension::include($this->env$context"catalog/block/prod-wishlist-mobile.html.twig");
  787.                         yield "
  788. \t\t\t\t\t\t\t\t\t</div>
  789. \t\t\t\t\t\t\t\t</div>
  790. \t\t\t\t\t\t\t\t<div class=\"pa w100 hidden-xs pl-grid-hover\">
  791. \t\t\t\t\t\t\t\t\t<div class=\"pa pl-grid-form\">
  792. \t\t\t\t\t\t\t\t\t\t<div class=\"pgf-1\">
  793. \t\t\t\t\t\t\t\t\t\t\t<div class=\"pl-form-";
  794.                         // line 297
  795.                         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["prod"], "id", [], "any"falsefalsefalse297), "html"nulltrue);
  796.                         yield "-2\">
  797. \t\t\t\t\t\t\t\t\t\t\t\t";
  798.                         // line 298
  799.                         yield Twig\Extension\CoreExtension::include($this->env$context"catalog/block/prod-form.html.twig");
  800.                         yield "
  801. \t\t\t\t\t\t\t\t\t\t\t</div>
  802. \t\t\t\t\t\t\t\t\t\t</div>
  803. \t\t\t\t\t\t\t\t\t</div>
  804. \t\t\t\t\t\t\t\t</div>
  805. \t\t\t\t\t\t\t\t<div class=\"hidden-xs\">";
  806.                         // line 304
  807.                         yield Twig\Extension\CoreExtension::include($this->env$context"catalog/block/prod-colors.html.twig");
  808.                         yield "</div>
  809. \t\t\t\t\t\t\t\t<div class=\"h6 pl-name-";
  810.                         // line 306
  811.                         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["prod"], "id", [], "any"falsefalsefalse306), "html"nulltrue);
  812.                         yield " gpl-h6\">
  813. \t\t\t\t\t\t\t\t\t<div class=\"gpl-art\">
  814. \t\t\t\t\t\t\t\t\t\t<a href=\"";
  815.                         // line 308
  816.                         yield $this->extensions['App\Twig\Path']->getPath("prod_cont", ["prod_id" => CoreExtension::getAttribute($this->env$this->source$context["prod"], "id", [], "any"falsefalsefalse308)]);
  817.                         yield "\">...(";
  818.                         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["prod"], "art", [], "any"falsefalsefalse308), "html"nulltrue);
  819.                         yield ")</a>
  820. \t\t\t\t\t\t\t\t\t</div>
  821. \t\t\t\t\t\t\t\t\t<a href=\"";
  822.                         // line 310
  823.                         yield $this->extensions['App\Twig\Path']->getPath("prod_cont", ["prod_id" => CoreExtension::getAttribute($this->env$this->source$context["prod"], "id", [], "any"falsefalsefalse310)]);
  824.                         yield "\" title=\"";
  825.                         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["prod"], "name", [], "any"falsefalsefalse310), "html"nulltrue);
  826.                         yield "\">
  827. \t\t\t\t\t\t\t\t\t\t";
  828.                         // line 311
  829.                         if (CoreExtension::getAttribute($this->env$this->source$context["prod"], "pop", [], "any"falsefalsefalse311)) {
  830.                             yield "<img src=\"";
  831.                             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((("hot" CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"falsefalsefalse311), "locale", [], "any"falsefalsefalse311)) . ".png"), "img"), "html"nulltrue);
  832.                             yield "\" alt=\"hot\" class=\"prod-hot\">
  833. \t\t\t\t\t\t\t\t\t\t";
  834.                         }
  835.                         // line 313
  836.                         yield "\t\t\t\t\t\t\t\t\t\t";
  837.                         yield Twig\Extension\CoreExtension::replace(CoreExtension::getAttribute($this->env$this->source$context["prod"], "name", [], "any"falsefalsefalse313), [((" (" Twig\Extension\CoreExtension::trim(CoreExtension::getAttribute($this->env$this->source$context["prod"], "art", [], "any"falsefalsefalse313))) . ")") => (("<span class=\"gpl-art2\"> (" Twig\Extension\CoreExtension::trim(CoreExtension::getAttribute($this->env$this->source$context["prod"], "art", [], "any"falsefalsefalse313))) . ")</span>")]);
  838.                         yield "</a>
  839. \t\t\t\t\t\t\t\t</div>
  840. \t\t\t\t\t\t\t\t<div class=\"weight hidden-xs\">
  841. \t\t\t\t\t\t\t\t\t";
  842.                         // line 316
  843.                         yield CoreExtension::getAttribute($this->env$this->source, ($context["labels"] ?? null), "get", ["pack"], "method"falsefalsefalse316);
  844.                         yield ": &nbsp;
  845. \t\t\t\t\t\t\t\t\t<span class=\"pl-inpack-";
  846.                         // line 317
  847.                         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["prod"], "id", [], "any"falsefalsefalse317), "html"nulltrue);
  848.                         yield "\">";
  849.                         yield Twig\Extension\CoreExtension::include($this->env$context"catalog/block/prod-inpack.html.twig");
  850.                         yield "</span>
  851. \t\t\t\t\t\t\t\t</div>
  852. \t\t\t\t\t\t\t\t<div class=\"weight visible-xs\">
  853. \t\t\t\t\t\t\t\t\t";
  854.                         // line 320
  855.                         yield CoreExtension::getAttribute($this->env$this->source, ($context["labels"] ?? null), "get", ["pack"], "method"falsefalsefalse320);
  856.                         yield ": &nbsp;
  857. \t\t\t\t\t\t\t\t\t<span class=\"pl-inpack-";
  858.                         // line 321
  859.                         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["prod"], "id", [], "any"falsefalsefalse321), "html"nulltrue);
  860.                         yield "\">";
  861.                         yield Twig\Extension\CoreExtension::include($this->env$context"catalog/block/m-prod-inpack.html.twig");
  862.                         yield "</span>
  863. \t\t\t\t\t\t\t\t</div>
  864. \t\t\t\t\t\t\t\t<div class=\"xprice pl-price-";
  865.                         // line 323
  866.                         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["prod"], "id", [], "any"falsefalsefalse323), "html"nulltrue);
  867.                         yield "\">
  868. \t\t\t\t\t\t\t\t\t";
  869.                         // line 324
  870.                         yield Twig\Extension\CoreExtension::include($this->env$context"catalog/block/prod-price.html.twig");
  871.                         yield "
  872. \t\t\t\t\t\t\t\t</div>
  873. \t\t\t\t\t\t\t\t<div class=\"xform visible-xs pl-form-";
  874.                         // line 326
  875.                         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["prod"], "id", [], "any"falsefalsefalse326), "html"nulltrue);
  876.                         yield "\">
  877. \t\t\t\t\t\t\t\t\t";
  878.                         // line 327
  879.                         yield Twig\Extension\CoreExtension::include($this->env$context"catalog/block/m-prod-form.html.twig");
  880.                         yield "
  881. \t\t\t\t\t\t\t\t</div>
  882. \t\t\t\t\t\t\t</div>
  883. \t\t\t\t\t\t</div>
  884. \t\t\t\t\t";
  885.                     }
  886.                     // line 332
  887.                     yield "\t\t\t\t";
  888.                     ++$context['loop']['index0'];
  889.                     ++$context['loop']['index'];
  890.                     $context['loop']['first'] = false;
  891.                     if (isset($context['loop']['revindex0'], $context['loop']['revindex'])) {
  892.                         --$context['loop']['revindex0'];
  893.                         --$context['loop']['revindex'];
  894.                         $context['loop']['last'] = === $context['loop']['revindex0'];
  895.                     }
  896.                 }
  897.                 $_parent $context['_parent'];
  898.                 unset($context['_seq'], $context['_key'], $context['prod'], $context['_parent'], $context['loop']);
  899.                 $context array_intersect_key($context$_parent) + $_parent;
  900.                 // line 333
  901.                 yield "\t\t\t</div>
  902. \t\t";
  903.             }
  904.             // line 335
  905.             yield "
  906. \t\t<div class=\"clearfix\"></div>
  907. \t\t";
  908.             // line 337
  909.             if (Twig\Extension\CoreExtension::length($this->env->getCharset(), ($context["prods"] ?? null))) {
  910.                 // line 338
  911.                 yield "\t\t\t<div class=\"listingPageLinks\">
  912. \t\t\t\t";
  913.                 // line 339
  914.                 yield Twig\Extension\CoreExtension::include($this->env$context"block/rule/rule.html.twig");
  915.                 yield "
  916. \t\t\t</div>
  917. \t\t";
  918.             }
  919.             // line 342
  920.             yield "\t\t<div class=\"clear\"></div>
  921. \t";
  922.         } elseif (CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source,         // line 344
  923. ($context["app"] ?? null), "request", [], "any"falsefalsefalse344), "query", [], "any"falsefalsefalse344), "get", ["novinki"], "method"falsefalsefalse344)) {
  924.             // line 345
  925.             yield "
  926. \t\t<br><br><br>
  927. \t\t";
  928.             // line 347
  929.             yield CoreExtension::getAttribute($this->env$this->source, ($context["labels"] ?? null), "get", ["prod-list-15"], "method"falsefalsefalse347);
  930.             yield "
  931. \t\t<br/><br/>
  932. \t\t<a href=\"?novinki=\">";
  933.             // line 349
  934.             yield CoreExtension::getAttribute($this->env$this->source, ($context["labels"] ?? null), "get", ["prod-list-16"], "method"falsefalsefalse349);
  935.             yield "</a>
  936. \t";
  937.         } elseif (((($_v22 =         // line 351
  938. ($context["args"] ?? null)) && is_array($_v22) || $_v22 instanceof ArrayAccess ? ($_v22[1] ?? null) : null) == "search")) {
  939.             // line 352
  940.             yield "
  941. \t\t";
  942.             // line 353
  943.             if ( !Twig\Extension\CoreExtension::length($this->env->getCharset(), ($context["cats"] ?? null))) {
  944.                 // line 354
  945.                 yield "
  946. \t\t\t<h3>";
  947.                 // line 355
  948.                 yield CoreExtension::getAttribute($this->env$this->source, ($context["labels"] ?? null), "get", ["prod-list-17"], "method"falsefalsefalse355);
  949.                 yield ": \"<span class=\"search-0-q\">";
  950.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"falsefalsefalse355), "query", [], "any"falsefalsefalse355), "get", ["q"], "method"falsefalsefalse355), "html"nulltrue);
  951.                 yield "</span>\"</h3>
  952. \t\t\t<b class=\"search-b\">";
  953.                 // line 356
  954.                 yield CoreExtension::getAttribute($this->env$this->source, ($context["labels"] ?? null), "get", ["prod-list-18"], "method"falsefalsefalse356);
  955.                 yield ":</b>
  956. \t\t\t<ol class=\"search-ol\">
  957. \t\t\t\t<li>";
  958.                 // line 358
  959.                 yield CoreExtension::getAttribute($this->env$this->source, ($context["labels"] ?? null), "get", ["prod-list-19"], "method"falsefalsefalse358);
  960.                 yield "</li>
  961. \t\t\t\t<li>";
  962.                 // line 359
  963.                 yield CoreExtension::getAttribute($this->env$this->source, ($context["labels"] ?? null), "get", ["prod-list-20"], "method"falsefalsefalse359);
  964.                 yield "</li>
  965. \t\t\t\t<li>";
  966.                 // line 360
  967.                 yield CoreExtension::getAttribute($this->env$this->source, ($context["labels"] ?? null), "get", ["prod-list-21"], "method"falsefalsefalse360);
  968.                 yield "</li>
  969. \t\t\t\t<li>";
  970.                 // line 361
  971.                 yield CoreExtension::getAttribute($this->env$this->source, ($context["labels"] ?? null), "get", ["prod-list-22"], "method"falsefalsefalse361);
  972.                 yield "</li>
  973. \t\t\t</ol>
  974. \t\t";
  975.             }
  976.             // line 365
  977.             yield "
  978. \t";
  979.         } elseif ( !Twig\Extension\CoreExtension::length($this->env->getCharset(),         // line 366
  980. ($context["cats"] ?? null))) {
  981.             // line 367
  982.             yield "
  983. \t\t<br><br><br>
  984. \t\t";
  985.             // line 369
  986.             yield CoreExtension::getAttribute($this->env$this->source, ($context["labels"] ?? null), "get", ["prod-list-23"], "method"falsefalsefalse369);
  987.             yield "
  988. \t";
  989.         }
  990.         // line 372
  991.         yield "
  992. \t";
  993.         // line 373
  994.         if (($context["showcont"] ?? null)) {
  995.             // line 374
  996.             yield "
  997. \t\t<div class=\"pagecont\">
  998. \t\t\t";
  999.             // line 376
  1000.             yield ($context["cont"] ?? null);
  1001.             yield "
  1002. \t\t\t<table>
  1003. \t\t\t\t<tbody>
  1004. \t\t\t\t\t<tr>
  1005. \t\t\t\t\t\t<td style=\"text-align: left;\">✅
  1006. \t\t\t\t\t\t\t";
  1007.             // line 382
  1008.             yield CoreExtension::getAttribute($this->env$this->source, ($context["labels"] ?? null), "get", ["prodstable-1"], "method"falsefalsefalse382);
  1009.             yield "</td>
  1010. \t\t\t\t\t\t<td>";
  1011.             // line 383
  1012.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, ($context["prodstable"] ?? null), "cat", [], "any"falsefalsefalse383), "html"nulltrue);
  1013.             yield "</td>
  1014. \t\t\t\t\t</tr>
  1015. \t\t\t\t\t<tr>
  1016. \t\t\t\t\t\t<td style=\"text-align: left;\">✅
  1017. \t\t\t\t\t\t\t";
  1018.             // line 387
  1019.             yield CoreExtension::getAttribute($this->env$this->source, ($context["labels"] ?? null), "get", ["prodstable-2"], "method"falsefalsefalse387);
  1020.             yield "</td>
  1021. \t\t\t\t\t\t<td>";
  1022.             // line 388
  1023.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, ($context["prodstable"] ?? null), "cnt", [], "any"falsefalsefalse388), "html"nulltrue);
  1024.             yield "</td>
  1025. \t\t\t\t\t</tr>
  1026. \t\t\t\t\t<tr>
  1027. \t\t\t\t\t\t<td style=\"text-align: left;\">✅
  1028. \t\t\t\t\t\t\t";
  1029.             // line 392
  1030.             yield CoreExtension::getAttribute($this->env$this->source, ($context["labels"] ?? null), "get", ["prodstable-3"], "method"falsefalsefalse392);
  1031.             yield "</td>
  1032. \t\t\t\t\t\t<td>";
  1033.             // line 393
  1034.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, ($context["prodstable"] ?? null), "avgprice", [], "any"falsefalsefalse393), "html"nulltrue);
  1035.             yield "
  1036. \t\t\t\t\t\t\t";
  1037.             // line 394
  1038.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, ($context["env"] ?? null), "valuta", [], "any"falsefalsefalse394), "name", [], "any"falsefalsefalse394), "html"nulltrue);
  1039.             yield "</td>
  1040. \t\t\t\t\t</tr>
  1041. \t\t\t\t\t<tr>
  1042. \t\t\t\t\t\t<td style=\"text-align: left;\">✅
  1043. \t\t\t\t\t\t\t";
  1044.             // line 398
  1045.             yield CoreExtension::getAttribute($this->env$this->source, ($context["labels"] ?? null), "get", ["prodstable-4"], "method"falsefalsefalse398);
  1046.             yield "</td>
  1047. \t\t\t\t\t\t<td>";
  1048.             // line 399
  1049.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, ($context["prodstable"] ?? null), "minprice", [], "any"falsefalsefalse399), "html"nulltrue);
  1050.             yield "
  1051. \t\t\t\t\t\t\t";
  1052.             // line 400
  1053.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, ($context["env"] ?? null), "valuta", [], "any"falsefalsefalse400), "name", [], "any"falsefalsefalse400), "html"nulltrue);
  1054.             yield "</td>
  1055. \t\t\t\t\t</tr>
  1056. \t\t\t\t\t<tr>
  1057. \t\t\t\t\t\t<td style=\"text-align: left;\">✅
  1058. \t\t\t\t\t\t\t";
  1059.             // line 404
  1060.             yield CoreExtension::getAttribute($this->env$this->source, ($context["labels"] ?? null), "get", ["prodstable-5"], "method"falsefalsefalse404);
  1061.             yield "</td>
  1062. \t\t\t\t\t\t<td>";
  1063.             // line 405
  1064.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, ($context["prodstable"] ?? null), "maxprice", [], "any"falsefalsefalse405), "html"nulltrue);
  1065.             yield "
  1066. \t\t\t\t\t\t\t";
  1067.             // line 406
  1068.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, ($context["env"] ?? null), "valuta", [], "any"falsefalsefalse406), "name", [], "any"falsefalsefalse406), "html"nulltrue);
  1069.             yield "</td>
  1070. \t\t\t\t\t</tr>
  1071. \t\t\t\t</tbody>
  1072. \t\t\t</table>
  1073. \t\t</div>
  1074. \t";
  1075.         }
  1076.         // line 414
  1077.         yield "
  1078. ";
  1079.         
  1080.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  1081.         
  1082.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  1083.         yield from [];
  1084.     }
  1085.     /**
  1086.      * @codeCoverageIgnore
  1087.      */
  1088.     public function getTemplateName(): string
  1089.     {
  1090.         return "catalog/list.html.twig";
  1091.     }
  1092.     /**
  1093.      * @codeCoverageIgnore
  1094.      */
  1095.     public function isTraitable(): bool
  1096.     {
  1097.         return false;
  1098.     }
  1099.     /**
  1100.      * @codeCoverageIgnore
  1101.      */
  1102.     public function getDebugInfo(): array
  1103.     {
  1104.         return array (  1105 => 414,  1094 => 406,  1090 => 405,  1086 => 404,  1079 => 400,  1075 => 399,  1071 => 398,  1064 => 394,  1060 => 393,  1056 => 392,  1049 => 388,  1045 => 387,  1038 => 383,  1034 => 382,  1025 => 376,  1021 => 374,  1019 => 373,  1016 => 372,  1010 => 369,  1006 => 367,  1004 => 366,  1001 => 365,  994 => 361,  990 => 360,  986 => 359,  982 => 358,  977 => 356,  971 => 355,  968 => 354,  966 => 353,  963 => 352,  961 => 351,  956 => 349,  951 => 347,  947 => 345,  945 => 344,  941 => 342,  935 => 339,  932 => 338,  930 => 337,  926 => 335,  922 => 333,  908 => 332,  900 => 327,  896 => 326,  891 => 324,  887 => 323,  880 => 321,  876 => 320,  868 => 317,  864 => 316,  857 => 313,  850 => 311,  844 => 310,  837 => 308,  832 => 306,  827 => 304,  818 => 298,  814 => 297,  805 => 291,  801 => 290,  794 => 286,  790 => 285,  784 => 282,  780 => 281,  772 => 275,  763 => 272,  758 => 270,  755 => 269,  751 => 268,  742 => 266,  737 => 264,  730 => 262,  713 => 254,  707 => 251,  702 => 249,  697 => 246,  682 => 234,  678 => 233,  672 => 230,  668 => 229,  661 => 225,  657 => 224,  646 => 216,  642 => 215,  638 => 214,  631 => 212,  627 => 211,  622 => 208,  616 => 205,  613 => 204,  611 => 203,  608 => 202,  597 => 199,  593 => 198,  580 => 197,  576 => 196,  567 => 190,  562 => 189,  555 => 187,  549 => 186,  545 => 185,  538 => 181,  534 => 180,  524 => 177,  518 => 176,  509 => 174,  503 => 173,  499 => 172,  495 => 171,  490 => 168,  487 => 167,  484 => 166,  467 => 165,  464 => 164,  458 => 162,  456 => 161,  448 => 156,  439 => 154,  435 => 153,  430 => 151,  421 => 149,  417 => 148,  413 => 147,  402 => 139,  398 => 138,  391 => 134,  387 => 133,  380 => 129,  376 => 128,  368 => 123,  363 => 121,  355 => 116,  350 => 113,  344 => 112,  338 => 110,  336 => 109,  331 => 108,  329 => 107,  324 => 106,  322 => 105,  317 => 104,  315 => 103,  309 => 100,  299 => 93,  283 => 84,  279 => 83,  268 => 79,  264 => 78,  258 => 74,  252 => 71,  247 => 68,  245 => 67,  238 => 63,  233 => 60,  227 => 57,  223 => 56,  220 => 55,  214 => 53,  212 => 52,  207 => 51,  205 => 50,  200 => 49,  198 => 48,  193 => 47,  191 => 46,  186 => 45,  184 => 44,  179 => 42,  176 => 41,  173 => 40,  171 => 39,  168 => 38,  162 => 36,  156 => 34,  154 => 33,  151 => 32,  147 => 30,  145 => 29,  140 => 28,  136 => 26,  134 => 25,  131 => 24,  125 => 22,  123 => 21,  120 => 20,  114 => 18,  112 => 17,  109 => 16,  103 => 14,  101 => 13,  98 => 12,  95 => 11,  92 => 10,  89 => 9,  86 => 8,  84 => 7,  81 => 6,  79 => 5,  76 => 4,  63 => 3,  40 => 1,);
  1105.     }
  1106.     public function getSourceContext(): Source
  1107.     {
  1108.         return new Source("{% extends 'base.html.twig' %}
  1109. {% block body %}
  1110. \t{% if prods|length or app.request.query.get('filter') == 1 %}
  1111. \t\t{% set viewlistpath = path(app.request.attributes.get('_route'), app.request.attributes.all._route_params|merge(app.request.query.all)|merge({'view': 'list'})) %}
  1112. \t\t{% set viewgridpath = path(app.request.attributes.get('_route'), app.request.attributes.all._route_params|merge(app.request.query.all)|merge({'view': 'grid'})) %}
  1113. \t\t{% set view30path = path(app.request.attributes.get('_route'), app.request.attributes.all._route_params|merge(app.request.query.all)|merge({'results': 30})) %}
  1114. \t\t{% set view60path = path(app.request.attributes.get('_route'), app.request.attributes.all._route_params|merge(app.request.query.all)|merge({'results': 60})) %}
  1115. \t\t{% set view90path = path(app.request.attributes.get('_route'), app.request.attributes.all._route_params|merge(app.request.query.all)|merge({'results': 90})) %}
  1116. \t\t{% if not cats|length %}
  1117. \t\t\t<h1 class=\"pl-h1\">{{ page.h1 }}</h1>
  1118. \t\t{% endif %}
  1119. \t\t{% if args[0] == 'catalog' and (args[1] == 'action' or args[1] == 'new' or args[1] == 'pop' or args[1] == 'mix' or args[1] == 'onsale') and args[2] == '' %}
  1120. \t\t\t{{ page.cont }}
  1121. \t\t{% endif %}
  1122. \t\t{% if (request_uri == canonical and not cats|length) or catpage == 1 %}
  1123. \t\t\t{{ page.cont2 }}
  1124. \t\t{% endif %}
  1125. \t\t{% if paginator.start > 0 %}
  1126. \t\t\t<div class=\"hidden-xs\">
  1127. \t\t\t{% endif %}
  1128. \t\t\t{{ subcat_list_rendered.content|raw }}
  1129. \t\t\t{% if paginator.start > 0 %}
  1130. \t\t\t</div>
  1131. \t\t{% endif %}
  1132. \t\t{% if args[1] in ['new', 'pop', 'mix', 'onsale', 'search', 'action'] %}
  1133. \t\t\t{{ render_esi(url('block_chars_selected_spec', {'cat_id': cat_id, 'cat_intname': (cat_intname ? cat_intname : 'default'), 'spec': args[1], 'filters': filters}), { 'ignore_errors': true }) }}
  1134. \t\t{% else %}
  1135. \t\t\t{{ render_esi(url('block_chars_selected', {'cat_id': cat_id, 'cat_intname': cat_intname, 'filters': filters}), { 'ignore_errors': true }) }}
  1136. \t\t{% endif %}
  1137. \t\t{% if not (args[0] == 'catalog' and (args[1] == 'action' or args[1] == 'new' or args[1] == 'pop' or args[1] == 'mix' or args[1] == 'onsale') and args[2] is not empty) %}
  1138. \t\t\t{% else %}
  1139. \t\t\t\t<div class=\"listingPageLinks visible-xs m-cat-block-1\">
  1140. \t\t\t\t\t<a href=\"{{ path('prod_list_spec', {'spec': args[1] }) }}\" class=\"action-count\">
  1141. \t\t\t\t\t\t<i class=\"fa fa-angle-left\"></i>&nbsp;&nbsp;
  1142. \t\t\t\t\t\t{% if args[1] == 'action' %}
  1143. \t\t\t\t\t\t\t{{ labels.get('prod-list-1')|raw }}
  1144. \t\t\t\t\t\t{% elseif args[1] == 'new' %}
  1145. \t\t\t\t\t\t\t{{ labels.get('prod-list-2')|raw }}
  1146. \t\t\t\t\t\t{% elseif args[1] == 'pop' %}
  1147. \t\t\t\t\t\t\t{{ labels.get('prod-list-3')|raw }}
  1148. \t\t\t\t\t\t{% elseif args[1] == 'mix' %}
  1149. \t\t\t\t\t\t\t{{ labels.get('prod-list-4')|raw }}
  1150. \t\t\t\t\t\t{% elseif args[1] == 'onsale' %}
  1151. \t\t\t\t\t\t\t{{ labels.get('prod-list-5')|raw }}
  1152. \t\t\t\t\t\t{% endif %}
  1153. \t\t\t\t\t</a>
  1154. \t\t\t\t\t<span class=\"pull-right action-count\">{{ labels.get('prod-list-6')|raw }}:
  1155. \t\t\t\t\t\t{{ paginator.cnt }}</span>
  1156. \t\t\t\t</div>
  1157. \t\t{% endif %}
  1158. \t\t<div class=\"visible-xs m-cat-block-2\">
  1159. \t\t\t<div class=\"row\">
  1160. \t\t\t\t<div class=\"col-xs-4\">
  1161. \t\t\t\t\t<div class=\"m-pl-sort\">{{ labels.get('prod-list-7')|raw }}&nbsp;<i class=\"fa fa-angle-down\"></i>
  1162. \t\t\t\t\t</div>
  1163. \t\t\t\t</div>
  1164. \t\t\t\t<div class=\"col-xs-8\">
  1165. \t\t\t\t\t{% if (prods|length or app.request.query.get('filter') == 1) and cat %}
  1166. \t\t\t\t\t\t<div class=\"psb-view psb-view-1 pull-right pl-filter\">
  1167. \t\t\t\t\t\t\t<a href=\"#\" class=\"list\">
  1168. \t\t\t\t\t\t\t\t<i class=\"fa fa-filter\"></i>&nbsp;
  1169. \t\t\t\t\t\t\t\t{{ labels.get('prod-list-8')|raw }}</a>
  1170. \t\t\t\t\t\t</div>
  1171. \t\t\t\t\t{% endif %}
  1172. \t\t\t\t\t<div class=\"pull-right m-psb-delimiter\">
  1173. \t\t\t\t\t\t|
  1174. \t\t\t\t\t</div>
  1175. \t\t\t\t\t<div class=\"pull-right m-psb-view\">
  1176. \t\t\t\t\t\t<form action=\"{{ path('redirect') }}\" method=\"post\">
  1177. \t\t\t\t\t\t\t<button type=\"submit\" name=\"redirect\" class=\"list{% if view_mode is empty or view_mode == 'list' %}a{% endif %}\" value=\"{{ viewlistpath }}\">
  1178. \t\t\t\t\t\t\t\t<i class=\"fa fa-list-ul\"></i>
  1179. \t\t\t\t\t\t\t</button>
  1180. \t\t\t\t\t\t</form>
  1181. \t\t\t\t\t\t<form action=\"{{ path('redirect') }}\" method=\"post\">
  1182. \t\t\t\t\t\t\t<button type=\"submit\" name=\"redirect\" class=\"grid{% if view_mode == 'grid' %}a{% endif %}\" value=\"{{ viewgridpath }}\">
  1183. \t\t\t\t\t\t\t\t<i class=\"fa fa-th-large\"></i>
  1184. \t\t\t\t\t\t\t</button>
  1185. \t\t\t\t\t\t</form>
  1186. \t\t\t\t\t</div>
  1187. \t\t\t\t</div>
  1188. \t\t\t</div>
  1189. \t\t</div>
  1190. \t\t<div class=\"pa visible-xs m-pl-sort-block\">
  1191. \t\t\t{{ include('catalog/block/sort.html.twig') }}
  1192. \t\t</div>
  1193. \t\t<div class=\"pc-buy\"></div>
  1194. \t\t<!-- Product Sorting Bar -->
  1195. \t\t<div class=\"product-sorting-bar hidden-xs\">
  1196. \t\t\t<div class=\"pull-left pl-sort\">
  1197. \t\t\t\t<div class=\"fl\">{{ labels.get('catalog-sort-1')|raw }}:&nbsp;</div>
  1198. \t\t\t\t<div class=\"fl pr\">
  1199. \t\t\t\t\t<div class=\"pl-sort-a\">
  1200. \t\t\t\t\t\t{% if app.request.query.get('order') == 'changed' %}
  1201. \t\t\t\t\t\t\t{{ labels.get('catalog-sort-2')|raw }}
  1202. \t\t\t\t\t\t{% elseif app.request.query.get('order') == 'prior' %}
  1203. \t\t\t\t\t\t\t{{ labels.get('catalog-sort-3')|raw }}
  1204. \t\t\t\t\t\t{% elseif app.request.query.get('order') == 'price' %}
  1205. \t\t\t\t\t\t\t{{ labels.get('catalog-sort-4')|raw }}
  1206. \t\t\t\t\t\t{% elseif app.request.query.get('order') == 'skidka' %}
  1207. \t\t\t\t\t\t\t{{ labels.get('catalog-sort-8')|raw }}
  1208. \t\t\t\t\t\t{% else %}
  1209. \t\t\t\t\t\t\t{{ labels.get('catalog-sort-5')|raw }}
  1210. \t\t\t\t\t\t{% endif %}&nbsp;<i class=\"fa fa-angle-down\"></i>
  1211. \t\t\t\t\t</div>
  1212. \t\t\t\t\t<div class=\"pa pl-sort-block\">
  1213. \t\t\t\t\t\t{{ include('catalog/block/sort.html.twig') }}
  1214. \t\t\t\t\t</div>
  1215. \t\t\t\t</div>
  1216. \t\t\t</div>
  1217. \t\t\t<div class=\"pull-right pl-pcount pr\">
  1218. \t\t\t\t<div class=\"fl\">{{ labels.get('prod-list-12')|raw }}:&nbsp;</div>
  1219. \t\t\t\t<div class=\"fl pr\">
  1220. \t\t\t\t\t<div class=\"pl-pcount-a\">{{ results }}&nbsp;<i class=\"fa fa-angle-down\"></i>
  1221. \t\t\t\t\t</div>
  1222. \t\t\t\t\t<div class=\"pa pl-pcount-block\">
  1223. \t\t\t\t\t\t<ul>
  1224. \t\t\t\t\t\t\t<li>
  1225. \t\t\t\t\t\t\t\t<form action=\"{{ path('redirect') }}\" method=\"post\">
  1226. \t\t\t\t\t\t\t\t\t<button type=\"submit\" name=\"redirect\" value=\"{{ view30path }}\">30</button>
  1227. \t\t\t\t\t\t\t\t</form>
  1228. \t\t\t\t\t\t\t</li>
  1229. \t\t\t\t\t\t\t<li>
  1230. \t\t\t\t\t\t\t\t<form action=\"{{ path('redirect') }}\" method=\"post\">
  1231. \t\t\t\t\t\t\t\t\t<button type=\"submit\" name=\"redirect\" value=\"{{ view60path }}\">60</button>
  1232. \t\t\t\t\t\t\t\t</form>
  1233. \t\t\t\t\t\t\t</li>
  1234. \t\t\t\t\t\t\t<li>
  1235. \t\t\t\t\t\t\t\t<form action=\"{{ path('redirect') }}\" method=\"post\">
  1236. \t\t\t\t\t\t\t\t\t<button type=\"submit\" name=\"redirect\" value=\"{{ view90path }}\">90</button>
  1237. \t\t\t\t\t\t\t\t</form>
  1238. \t\t\t\t\t\t\t</li>
  1239. \t\t\t\t\t\t</ul>
  1240. \t\t\t\t\t</div>
  1241. \t\t\t\t</div>
  1242. \t\t\t</div>
  1243. \t\t\t<div class=\"psb-view pull-right\">
  1244. \t\t\t\t{{ labels.get('prod-list-9')|raw }}:
  1245. \t\t\t\t<form action=\"{{ path('redirect') }}\" method=\"post\">
  1246. \t\t\t\t\t<button type=\"submit\" name=\"redirect\" class=\"list{% if view_mode == 'list' or ((env.site == env.mir or env.site == env.miropt) and view_mode is empty) %}a{% endif %}\" value=\"{{ viewlistpath }}\">
  1247. \t\t\t\t\t\t<i class=\"fa fa-list-ul\"></i>
  1248. \t\t\t\t\t\t{{ labels.get('prod-list-10')|raw }}</button>
  1249. \t\t\t\t</form>
  1250. \t\t\t\t<form action=\"{{ path('redirect') }}\" method=\"post\">
  1251. \t\t\t\t\t<button type=\"submit\" name=\"redirect\" class=\"grid{% if view_mode == 'grid' or ((env.site == env.mir or env.site == env.miropt) and view_mode is empty) %}a{% endif %}\" value=\"{{ viewgridpath }}\">
  1252. \t\t\t\t\t\t<i class=\"fa fa-th-large\"></i>
  1253. \t\t\t\t\t\t{{ labels.get('prod-list-11')|raw }}</button>
  1254. \t\t\t\t</form>
  1255. \t\t\t</div>
  1256. \t\t</div>
  1257. \t\t<!-- End Product Sorting Bar -->
  1258. \t\t{% if not prods|length %}
  1259. \t\t\t<div class=\"pl-empty\">{{ labels.get('prod-list-13')|raw }}</div>
  1260. \t\t{% else %}
  1261. \t\t\t<div class=\"pl-block\">
  1262. \t\t\t\t{% for prod in prods %}
  1263. \t\t\t\t\t{% set prodone = prod %}
  1264. \t\t\t\t\t{% if view_mode != 'grid' %}
  1265. \t\t\t\t\t\t<div class=\"col-md-12 box-product-outer bpo-list pl-list\">
  1266. \t\t\t\t\t\t\t<div class=\"bpo-loading\"></div>
  1267. \t\t\t\t\t\t\t<div class=\"box-product\">
  1268. \t\t\t\t\t\t\t\t<div class=\"col-md-2 col-xs-4 pl-img col-xl-pl-1\" data-img=\"pl-img-{{ prod.id }}\">
  1269. \t\t\t\t\t\t\t\t\t<div class=\"img-wrapper pl-image-detail pl-img-thumb-{{ prod.id }}\">
  1270. \t\t\t\t\t\t\t\t\t\t<a class=\"group list-img-thumb\" href=\"{{ asset(env.host_static ~ '/pic/prod-l/' ~ prod.id ~ '.jpg') }}\" data-href=\"{{ path('prod_cont', {'prod_id': prod.id}) }}\">
  1271. \t\t\t\t\t\t\t\t\t\t\t<img class=\"b-lazy\" src=\"{{ asset('loading-img' ~ (env_is_opt ? '-opt' : '') ~ '.gif', 'img') }}\" data-src=\"{{ asset(env.host_static ~ '/pic/prod-m/' ~ prod.id ~ '.jpg') }}\" alt=\"{{ prod.name }}\">
  1272. \t\t\t\t\t\t\t\t\t\t</a>
  1273. \t\t\t\t\t\t\t\t\t\t<a class=\"group2 list-img-thumb\" href=\"{{ asset(env.host_static ~ '/pic/prod-l/' ~ prod.id ~ '.jpg') }}\" data-href=\"{{ path('prod_cont', {'prod_id': prod.id}) }}\">
  1274. \t\t\t\t\t\t\t\t\t\t\t<img class=\"b-lazy\" src=\"{{ asset('loading-img' ~ (env_is_opt ? '-opt' : '') ~ '.gif', 'img') }}\" data-src=\"{{ asset(env.host_static ~ '/pic/prod-m/' ~ prod.id ~ '.jpg') }}\" alt=\"{{ prod.name }}\">
  1275. \t\t\t\t\t\t\t\t\t\t</a>
  1276. \t\t\t\t\t\t\t\t\t</div>
  1277. \t\t\t\t\t\t\t\t\t<div class=\"pl-labels-{{ prod.id }}\">
  1278. \t\t\t\t\t\t\t\t\t\t{{ include('catalog/block/prod-labels.html.twig') }}
  1279. \t\t\t\t\t\t\t\t\t</div>
  1280. \t\t\t\t\t\t\t\t</div>
  1281. \t\t\t\t\t\t\t\t<div class=\"col-md-7 col-xs-8 col-xl-pl-2\">
  1282. \t\t\t\t\t\t\t\t\t<div class=\"h6 pl-name-{{ prod.id }} gpl-h6\">
  1283. \t\t\t\t\t\t\t\t\t\t<a href=\"{{ path('prod_cont', {'prod_id': prod.id}) }}\" title=\"{{ prod.name }}\">
  1284. \t\t\t\t\t\t\t\t\t\t\t{% if prod.pop %}<img src=\"{{ asset('hot' ~ app.request.locale ~ '.png', 'img') }}\" alt=\"hot\" class=\"prod-hot\">
  1285. \t\t\t\t\t\t\t\t\t\t\t{% endif %}
  1286. \t\t\t\t\t\t\t\t\t\t\t{{ prod.name|replace({(' (' ~ prod.art|trim ~ ')'): '<span class=\"gpl-art2\"> (' ~ prod.art|trim ~ ')</span>'})|raw }}
  1287. \t\t\t\t\t\t\t\t\t\t\t<span class=\"gpl-art\">...({{ prod.art }})</span>
  1288. \t\t\t\t\t\t\t\t\t\t</a>
  1289. \t\t\t\t\t\t\t\t\t</div>
  1290. \t\t\t\t\t\t\t\t\t<div class=\"pl-colors-block\">
  1291. \t\t\t\t\t\t\t\t\t\t<div class=\"pl-colors\">
  1292. \t\t\t\t\t\t\t\t\t\t\t{% for color in prod.colors %}
  1293. \t\t\t\t\t\t\t\t\t\t\t\t<a href=\"#\" class=\"prod-select-color{% if color == prodone.id %} active{% endif %}\" data-id=\"{{ prod.id }}\" data-color=\"{{ color }}\" data-host=\"{{ env.host_static }}\">
  1294. \t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"pa pca\"><img src=\"{{ asset('pc_active.png', 'img') }}\" alt=\"\"></div>
  1295. \t\t\t\t\t\t\t\t\t\t\t\t\t<img class=\"b-lazy\" src=\"{{ asset('loading-img' ~ (env.is_opt ? '-opt' : '') ~ '.gif', 'img') }}\" data-src=\"{{ asset(env.host_static ~ '/pic/prod-s/' ~ color ~ '.jpg') }}\" width=\"32\" height=\"32\" alt=\"\">
  1296. \t\t\t\t\t\t\t\t\t\t\t\t</a>
  1297. \t\t\t\t\t\t\t\t\t\t\t{% endfor %}
  1298. \t\t\t\t\t\t\t\t\t\t</div>
  1299. \t\t\t\t\t\t\t\t\t\t{% if prod.colors|length > 9 %}
  1300. \t\t\t\t\t\t\t\t\t\t\t<div class=\"pl-colors-showmore\">
  1301. \t\t\t\t\t\t\t\t\t\t\t\t<a href=\"#\" class=\"top-phone-2\">{{ labels.get('prod-list-14')|raw }}</a>
  1302. \t\t\t\t\t\t\t\t\t\t\t</div>
  1303. \t\t\t\t\t\t\t\t\t\t{% endif %}
  1304. \t\t\t\t\t\t\t\t\t</div>
  1305. \t\t\t\t\t\t\t\t\t<span class=\"weight\">
  1306. \t\t\t\t\t\t\t\t\t\t{{ labels.get('pack')|raw }}: &nbsp;
  1307. \t\t\t\t\t\t\t\t\t\t<span class=\"pl-inpack-{{ prod.id }}\">{{ include('catalog/block/prod-inpack.html.twig') }}</span>
  1308. \t\t\t\t\t\t\t\t\t</span>
  1309. \t\t\t\t\t\t\t\t\t<span class=\"weight hidden-xs pl-weight-{{ prod.id }}\">
  1310. \t\t\t\t\t\t\t\t\t\t<span class=\"ves2\">{{ labels.get('weight')|raw }}: &nbsp;</span>
  1311. \t\t\t\t\t\t\t\t\t\t{{ include('catalog/block/prod-weight.html.twig') }}
  1312. \t\t\t\t\t\t\t\t\t</span>
  1313. \t\t\t\t\t\t\t\t</div>
  1314. \t\t\t\t\t\t\t\t<div class=\"col-md-3 col-xs-12 col-xl-pl-3\">
  1315. \t\t\t\t\t\t\t\t\t<div class=\"row\">
  1316. \t\t\t\t\t\t\t\t\t\t<div class=\"col-xs-12 col-sm-12\">
  1317. \t\t\t\t\t\t\t\t\t\t\t<div class=\"row\">
  1318. \t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-xs-10 col-sm-12 nopadding\">
  1319. \t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"xprice pl-xprice-{{ prod.id }}\">
  1320. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{{ include('catalog/block/prod-price.html.twig') }}
  1321. \t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  1322. \t\t\t\t\t\t\t\t\t\t\t\t</div>
  1323. \t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-xs-2 col-sm-12\">
  1324. \t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"xform pl-form-{{ prod.id }}\">
  1325. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{{ include('catalog/block/prod-form.html.twig') }}
  1326. \t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  1327. \t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"pl-wishlist-{{ prod.id }} pl-wishlist\">
  1328. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{{ include('catalog/block/prod-wishlist.html.twig') }}
  1329. \t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  1330. \t\t\t\t\t\t\t\t\t\t\t\t</div>
  1331. \t\t\t\t\t\t\t\t\t\t\t</div>
  1332. \t\t\t\t\t\t\t\t\t\t</div>
  1333. \t\t\t\t\t\t\t\t\t</div>
  1334. \t\t\t\t\t\t\t\t</div>
  1335. \t\t\t\t\t\t\t\t<div class=\"clear\"></div>
  1336. \t\t\t\t\t\t\t</div>
  1337. \t\t\t\t\t\t</div>
  1338. \t\t\t\t\t{% else %}
  1339. \t\t\t\t\t\t<div class=\"col-sm-4 col-md-4 col-lg-3 col-xl-3 col-xs-6 box-product-outer bpo-grid pl-grid\">
  1340. \t\t\t\t\t\t\t<div class=\"bpo-loading\"></div>
  1341. \t\t\t\t\t\t\t<div class=\"box-product\">
  1342. \t\t\t\t\t\t\t\t<div class=\"img-wrapper pl-img-thumb-{{ prod.id }} pl-slider-colors\">
  1343. \t\t\t\t\t\t\t\t\t<a
  1344. \t\t\t\t\t\t\t\t\t\thref=\"{{ path('prod_cont', {'prod_id': prod.id}) }}\" class=\"grid-img-thumb bp-loading\">
  1345. \t\t\t\t\t\t\t\t\t\t<!-- ontouchend=\"if(body.clientWidth>991) {return false;}\"-->
  1346. \t\t\t\t\t\t\t\t\t\t<img
  1347. \t\t\t\t\t\t\t\t\t\tclass=\"b-lazy\" src=\"{{ asset('loading-img' ~ (env_is_opt ? '-opt' : '') ~ '.gif', 'img') }}\" data-src=\"{{ asset(env.host_static ~ '/pic/prod-m/' ~ prod.id ~ '.jpg') }}\" alt=\"{{ prod.name }}\" title=\"{{ prod.name }}\">
  1348. \t\t\t\t\t\t\t\t\t<!-- onclick=\"<?=\\ASweb\\SEO\\GoogleTrade::gProdClick(\$prod->id)?>\"-->
  1349. \t\t\t\t\t\t\t\t\t</a>
  1350. \t\t\t\t\t\t\t\t\t<div
  1351. \t\t\t\t\t\t\t\t\t\tclass=\"main-recomended-prods\">
  1352. \t\t\t\t\t\t\t\t\t\t<!-- Full Slider -->
  1353. \t\t\t\t\t\t\t\t\t\t<div class=\"container-fluid\">
  1354. \t\t\t\t\t\t\t\t\t\t\t<div class=\"row\">
  1355. \t\t\t\t\t\t\t\t\t\t\t\t<div class=\"pl-slider-2-{{ prod.id }} pl-slider-2\" data-id=\"{{ prod.id }}\">
  1356. \t\t\t\t\t\t\t\t\t\t\t\t\t<a
  1357. \t\t\t\t\t\t\t\t\t\t\t\t\t\thref=\"{{ path('prod_cont', {'prod_id': prod.id}) }}\" class=\"grid-img-thumb\">
  1358. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<!-- ontouchend=\"if(body.clientWidth>991) {return false;}\"-->
  1359. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<img src=\"{{ asset(env.host_static ~ '/pic/prod-m/' ~ prod.id ~ '.jpg') }}\" alt=\"{{ prod.name }}\" title=\"{{ prod.name }}\">
  1360. \t\t\t\t\t\t\t\t\t\t\t\t\t</a>
  1361. \t\t\t\t\t\t\t\t\t\t\t\t\t{% for photo in prod.photos %}
  1362. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<a
  1363. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\thref=\"{{ path('prod_cont', {'prod_id': prod.id}) }}\" class=\"grid-img-thumb\">
  1364. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<!-- ontouchend=\"if(body.clientWidth>991) {return false;}\"-->
  1365. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img src=\"{{ asset(env.host_static ~ '/pic/photo/' ~ photo.id ~ '.jpg') }}\" alt=\"\">
  1366. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</a>
  1367. \t\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
  1368. \t\t\t\t\t\t\t\t\t\t\t\t</div>
  1369. \t\t\t\t\t\t\t\t\t\t\t</div>
  1370. \t\t\t\t\t\t\t\t\t\t</div>
  1371. \t\t\t\t\t\t\t\t\t\t<!-- End Full Slider -->
  1372. \t\t\t\t\t\t\t\t\t</div>
  1373. \t\t\t\t\t\t\t\t</div>
  1374. \t\t\t\t\t\t\t\t<div class=\"pl-labels-{{ prod.id }}\">
  1375. \t\t\t\t\t\t\t\t\t{{ include('catalog/block/prod-labels.html.twig') }}
  1376. \t\t\t\t\t\t\t\t</div>
  1377. \t\t\t\t\t\t\t\t<div class=\"pc-new pl-wish pl-grid-hover\">
  1378. \t\t\t\t\t\t\t\t\t<div class=\"pl-grid-wishlist pl-wishlist-{{ prod.id }}-2\">
  1379. \t\t\t\t\t\t\t\t\t\t{{ include('catalog/block/prod-wishlist.html.twig') }}
  1380. \t\t\t\t\t\t\t\t\t</div>
  1381. \t\t\t\t\t\t\t\t</div>
  1382. \t\t\t\t\t\t\t\t<div class=\"pa visible-xs\">
  1383. \t\t\t\t\t\t\t\t\t<div class=\"pc-wish pl-wishlist-{{ prod.id }}\">
  1384. \t\t\t\t\t\t\t\t\t\t{{ include('catalog/block/prod-wishlist-mobile.html.twig') }}
  1385. \t\t\t\t\t\t\t\t\t</div>
  1386. \t\t\t\t\t\t\t\t</div>
  1387. \t\t\t\t\t\t\t\t<div class=\"pa w100 hidden-xs pl-grid-hover\">
  1388. \t\t\t\t\t\t\t\t\t<div class=\"pa pl-grid-form\">
  1389. \t\t\t\t\t\t\t\t\t\t<div class=\"pgf-1\">
  1390. \t\t\t\t\t\t\t\t\t\t\t<div class=\"pl-form-{{ prod.id }}-2\">
  1391. \t\t\t\t\t\t\t\t\t\t\t\t{{ include('catalog/block/prod-form.html.twig') }}
  1392. \t\t\t\t\t\t\t\t\t\t\t</div>
  1393. \t\t\t\t\t\t\t\t\t\t</div>
  1394. \t\t\t\t\t\t\t\t\t</div>
  1395. \t\t\t\t\t\t\t\t</div>
  1396. \t\t\t\t\t\t\t\t<div class=\"hidden-xs\">{{ include('catalog/block/prod-colors.html.twig') }}</div>
  1397. \t\t\t\t\t\t\t\t<div class=\"h6 pl-name-{{ prod.id }} gpl-h6\">
  1398. \t\t\t\t\t\t\t\t\t<div class=\"gpl-art\">
  1399. \t\t\t\t\t\t\t\t\t\t<a href=\"{{ path('prod_cont', {'prod_id': prod.id}) }}\">...({{ prod.art }})</a>
  1400. \t\t\t\t\t\t\t\t\t</div>
  1401. \t\t\t\t\t\t\t\t\t<a href=\"{{ path('prod_cont', {'prod_id': prod.id}) }}\" title=\"{{ prod.name }}\">
  1402. \t\t\t\t\t\t\t\t\t\t{% if prod.pop %}<img src=\"{{ asset('hot' ~ app.request.locale ~ '.png', 'img') }}\" alt=\"hot\" class=\"prod-hot\">
  1403. \t\t\t\t\t\t\t\t\t\t{% endif %}
  1404. \t\t\t\t\t\t\t\t\t\t{{ prod.name|replace({(' (' ~ prod.art|trim ~ ')'): '<span class=\"gpl-art2\"> (' ~ prod.art|trim ~ ')</span>'})|raw }}</a>
  1405. \t\t\t\t\t\t\t\t</div>
  1406. \t\t\t\t\t\t\t\t<div class=\"weight hidden-xs\">
  1407. \t\t\t\t\t\t\t\t\t{{ labels.get('pack')|raw }}: &nbsp;
  1408. \t\t\t\t\t\t\t\t\t<span class=\"pl-inpack-{{ prod.id }}\">{{ include('catalog/block/prod-inpack.html.twig') }}</span>
  1409. \t\t\t\t\t\t\t\t</div>
  1410. \t\t\t\t\t\t\t\t<div class=\"weight visible-xs\">
  1411. \t\t\t\t\t\t\t\t\t{{ labels.get('pack')|raw }}: &nbsp;
  1412. \t\t\t\t\t\t\t\t\t<span class=\"pl-inpack-{{ prod.id }}\">{{ include('catalog/block/m-prod-inpack.html.twig') }}</span>
  1413. \t\t\t\t\t\t\t\t</div>
  1414. \t\t\t\t\t\t\t\t<div class=\"xprice pl-price-{{ prod.id }}\">
  1415. \t\t\t\t\t\t\t\t\t{{ include('catalog/block/prod-price.html.twig') }}
  1416. \t\t\t\t\t\t\t\t</div>
  1417. \t\t\t\t\t\t\t\t<div class=\"xform visible-xs pl-form-{{ prod.id }}\">
  1418. \t\t\t\t\t\t\t\t\t{{ include('catalog/block/m-prod-form.html.twig') }}
  1419. \t\t\t\t\t\t\t\t</div>
  1420. \t\t\t\t\t\t\t</div>
  1421. \t\t\t\t\t\t</div>
  1422. \t\t\t\t\t{% endif %}
  1423. \t\t\t\t{% endfor %}
  1424. \t\t\t</div>
  1425. \t\t{% endif %}
  1426. \t\t<div class=\"clearfix\"></div>
  1427. \t\t{% if prods|length %}
  1428. \t\t\t<div class=\"listingPageLinks\">
  1429. \t\t\t\t{{ include('block/rule/rule.html.twig') }}
  1430. \t\t\t</div>
  1431. \t\t{% endif %}
  1432. \t\t<div class=\"clear\"></div>
  1433. \t{% elseif app.request.query.get('novinki') %}
  1434. \t\t<br><br><br>
  1435. \t\t{{ labels.get('prod-list-15')|raw }}
  1436. \t\t<br/><br/>
  1437. \t\t<a href=\"?novinki=\">{{ labels.get('prod-list-16')|raw }}</a>
  1438. \t{% elseif args[1]=='search' %}
  1439. \t\t{% if not cats|length %}
  1440. \t\t\t<h3>{{ labels.get('prod-list-17')|raw }}: \"<span class=\"search-0-q\">{{ app.request.query.get('q') }}</span>\"</h3>
  1441. \t\t\t<b class=\"search-b\">{{ labels.get('prod-list-18')|raw }}:</b>
  1442. \t\t\t<ol class=\"search-ol\">
  1443. \t\t\t\t<li>{{ labels.get('prod-list-19')|raw }}</li>
  1444. \t\t\t\t<li>{{ labels.get('prod-list-20')|raw }}</li>
  1445. \t\t\t\t<li>{{ labels.get('prod-list-21')|raw }}</li>
  1446. \t\t\t\t<li>{{ labels.get('prod-list-22')|raw }}</li>
  1447. \t\t\t</ol>
  1448. \t\t{% endif %}
  1449. \t{% elseif not cats|length %}
  1450. \t\t<br><br><br>
  1451. \t\t{{ labels.get('prod-list-23')|raw }}
  1452. \t{% endif %}
  1453. \t{% if showcont %}
  1454. \t\t<div class=\"pagecont\">
  1455. \t\t\t{{ cont|raw }}
  1456. \t\t\t<table>
  1457. \t\t\t\t<tbody>
  1458. \t\t\t\t\t<tr>
  1459. \t\t\t\t\t\t<td style=\"text-align: left;\">✅
  1460. \t\t\t\t\t\t\t{{ labels.get('prodstable-1')|raw }}</td>
  1461. \t\t\t\t\t\t<td>{{ prodstable.cat }}</td>
  1462. \t\t\t\t\t</tr>
  1463. \t\t\t\t\t<tr>
  1464. \t\t\t\t\t\t<td style=\"text-align: left;\">✅
  1465. \t\t\t\t\t\t\t{{ labels.get('prodstable-2')|raw }}</td>
  1466. \t\t\t\t\t\t<td>{{ prodstable.cnt }}</td>
  1467. \t\t\t\t\t</tr>
  1468. \t\t\t\t\t<tr>
  1469. \t\t\t\t\t\t<td style=\"text-align: left;\">✅
  1470. \t\t\t\t\t\t\t{{ labels.get('prodstable-3')|raw }}</td>
  1471. \t\t\t\t\t\t<td>{{ prodstable.avgprice }}
  1472. \t\t\t\t\t\t\t{{ env.valuta.name }}</td>
  1473. \t\t\t\t\t</tr>
  1474. \t\t\t\t\t<tr>
  1475. \t\t\t\t\t\t<td style=\"text-align: left;\">✅
  1476. \t\t\t\t\t\t\t{{ labels.get('prodstable-4')|raw }}</td>
  1477. \t\t\t\t\t\t<td>{{ prodstable.minprice }}
  1478. \t\t\t\t\t\t\t{{ env.valuta.name }}</td>
  1479. \t\t\t\t\t</tr>
  1480. \t\t\t\t\t<tr>
  1481. \t\t\t\t\t\t<td style=\"text-align: left;\">✅
  1482. \t\t\t\t\t\t\t{{ labels.get('prodstable-5')|raw }}</td>
  1483. \t\t\t\t\t\t<td>{{ prodstable.maxprice }}
  1484. \t\t\t\t\t\t\t{{ env.valuta.name }}</td>
  1485. \t\t\t\t\t</tr>
  1486. \t\t\t\t</tbody>
  1487. \t\t\t</table>
  1488. \t\t</div>
  1489. \t{% endif %}
  1490. {% endblock %}
  1491. ""catalog/list.html.twig""/home/mirbusin.ru/public_html/templates/catalog/list.html.twig");
  1492.     }
  1493. }