Файловый менеджер - Редактировать - /home/harasnat/storage/cache/e6/e663370611381fd3769176cd0414fc1eb611c15bbbd82ef2f2e39bbc2ba31239.php
Назад
<?php /* default/template/product/special.twig */ class __TwigTemplate_72206b7510c69857c6fb0e7d3e388f7d87a0d26d8396d83853ebddf6168bfa62 extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); $this->parent = false; $this->blocks = array( ); } protected function doDisplay(array $context, array $blocks = array()) { // line 1 echo (isset($context["header"]) ? $context["header"] : null); echo " <div id=\"product-search\" class=\"container\"> <ul class=\"breadcrumb\"> "; // line 4 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable((isset($context["breadcrumbs"]) ? $context["breadcrumbs"] : null)); foreach ($context['_seq'] as $context["_key"] => $context["breadcrumb"]) { // line 5 echo " <li><a href=\""; echo $this->getAttribute($context["breadcrumb"], "href", array()); echo "\">"; echo $this->getAttribute($context["breadcrumb"], "text", array()); echo "</a></li> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['breadcrumb'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 7 echo " </ul> <div class=\"row\">"; // line 8 echo (isset($context["column_left"]) ? $context["column_left"] : null); echo " "; // line 9 if (((isset($context["column_left"]) ? $context["column_left"] : null) && (isset($context["column_right"]) ? $context["column_right"] : null))) { // line 10 echo " "; $context["class"] = "col-sm-6"; // line 11 echo " "; } elseif (((isset($context["column_left"]) ? $context["column_left"] : null) || (isset($context["column_right"]) ? $context["column_right"] : null))) { // line 12 echo " "; $context["class"] = "col-sm-9"; // line 13 echo " "; } else { // line 14 echo " "; $context["class"] = "col-sm-12"; // line 15 echo " "; } // line 16 echo " <div id=\"content\" class=\""; echo (isset($context["class"]) ? $context["class"] : null); echo "\">"; echo (isset($context["content_top"]) ? $context["content_top"] : null); echo " <h2>"; // line 17 echo (isset($context["heading_title"]) ? $context["heading_title"] : null); echo "</h2> "; // line 18 if ((isset($context["products"]) ? $context["products"] : null)) { // line 19 echo " <div class=\"row\"> <div class=\"col-md-2 col-sm-6 hidden-xs\"> <div class=\"btn-group btn-group-sm\"> <button type=\"button\" id=\"list-view\" class=\"btn btn-default\" data-toggle=\"tooltip\" title=\""; // line 22 echo (isset($context["button_list"]) ? $context["button_list"] : null); echo "\"><i class=\"fa fa-th-list\"></i></button> <button type=\"button\" id=\"grid-view\" class=\"btn btn-default\" data-toggle=\"tooltip\" title=\""; // line 23 echo (isset($context["button_grid"]) ? $context["button_grid"] : null); echo "\"><i class=\"fa fa-th\"></i></button> </div> </div> <div class=\"col-md-3 col-sm-6\"> <div class=\"form-group\"><a href=\""; // line 27 echo (isset($context["compare"]) ? $context["compare"] : null); echo "\" id=\"compare-total\" class=\"btn btn-link\">"; echo (isset($context["text_compare"]) ? $context["text_compare"] : null); echo "</a></div> </div> <div class=\"col-md-4 col-xs-6\"> <div class=\"form-group input-group input-group-sm\"> <label class=\"input-group-addon\" for=\"input-sort\">"; // line 31 echo (isset($context["text_sort"]) ? $context["text_sort"] : null); echo "</label> <select id=\"input-sort\" class=\"form-control\" onchange=\"location = this.value;\"> "; // line 34 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable($context["sorts"]); foreach ($context['_seq'] as $context["_key"] => $context["sorts"]) { // line 35 echo " "; if (($this->getAttribute($context["sorts"], "value", array()) == sprintf("%s-%s", (isset($context["sort"]) ? $context["sort"] : null), (isset($context["order"]) ? $context["order"] : null)))) { // line 36 echo " <option value=\""; // line 37 echo $this->getAttribute($context["sorts"], "href", array()); echo "\" selected=\"selected\">"; echo $this->getAttribute($context["sorts"], "text", array()); echo "</option> "; } else { // line 40 echo " <option value=\""; // line 41 echo $this->getAttribute($context["sorts"], "href", array()); echo "\">"; echo $this->getAttribute($context["sorts"], "text", array()); echo "</option> "; } // line 44 echo " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['sorts'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 45 echo " </select> </div> </div> <div class=\"col-md-3 col-xs-6\"> <div class=\"form-group input-group input-group-sm\"> <label class=\"input-group-addon\" for=\"input-limit\">"; // line 51 echo (isset($context["text_limit"]) ? $context["text_limit"] : null); echo "</label> <select id=\"input-limit\" class=\"form-control\" onchange=\"location = this.value;\"> "; // line 54 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable($context["limits"]); foreach ($context['_seq'] as $context["_key"] => $context["limits"]) { // line 55 echo " "; if (($this->getAttribute($context["limits"], "value", array()) == (isset($context["limit"]) ? $context["limit"] : null))) { // line 56 echo " <option value=\""; // line 57 echo $this->getAttribute($context["limits"], "href", array()); echo "\" selected=\"selected\">"; echo $this->getAttribute($context["limits"], "text", array()); echo "</option> "; } else { // line 60 echo " <option value=\""; // line 61 echo $this->getAttribute($context["limits"], "href", array()); echo "\">"; echo $this->getAttribute($context["limits"], "text", array()); echo "</option> "; } // line 64 echo " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['limits'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 65 echo " </select> </div> </div> </div> <div class=\"row\"> "; // line 70 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable((isset($context["products"]) ? $context["products"] : null)); foreach ($context['_seq'] as $context["_key"] => $context["product"]) { // line 71 echo " <div class=\"product-layout product-list col-xs-12\"> <div class=\"product-thumb\"> <div class=\"image\"><a href=\""; // line 73 echo $this->getAttribute($context["product"], "href", array()); echo "\"><img src=\""; echo $this->getAttribute($context["product"], "thumb", array()); echo "\" alt=\""; echo $this->getAttribute($context["product"], "name", array()); echo "\" title=\""; echo $this->getAttribute($context["product"], "name", array()); echo "\" class=\"img-responsive\" /></a></div> <div> <div class=\"caption\"> <h4><a href=\""; // line 76 echo $this->getAttribute($context["product"], "href", array()); echo "\">"; echo $this->getAttribute($context["product"], "name", array()); echo "</a></h4> <p>"; // line 77 echo $this->getAttribute($context["product"], "description", array()); echo "</p> "; // line 78 if ($this->getAttribute($context["product"], "price", array())) { // line 79 echo " <p class=\"price\"> "; if ( !$this->getAttribute($context["product"], "special", array())) { // line 80 echo " "; echo $this->getAttribute($context["product"], "price", array()); echo " "; } else { // line 81 echo " <span class=\"price-new\">"; echo $this->getAttribute($context["product"], "special", array()); echo "</span> <span class=\"price-old\">"; echo $this->getAttribute($context["product"], "price", array()); echo "</span> "; } // line 82 echo " "; if ($this->getAttribute($context["product"], "tax", array())) { echo " <span class=\"price-tax\">"; echo (isset($context["text_tax"]) ? $context["text_tax"] : null); echo " "; echo $this->getAttribute($context["product"], "tax", array()); echo "</span> "; } echo " </p> "; } // line 84 echo " "; if ($this->getAttribute($context["product"], "rating", array())) { // line 85 echo " <div class=\"rating\"> "; // line 86 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(range(1, 5)); foreach ($context['_seq'] as $context["_key"] => $context["i"]) { // line 87 echo " "; if (($this->getAttribute($context["product"], "rating", array()) < $context["i"])) { echo " <span class=\"fa fa-stack\"><i class=\"fa fa-star-o fa-stack-2x\"></i></span> "; } else { echo " <span class=\"fa fa-stack\"><i class=\"fa fa-star fa-stack-2x\"></i><i class=\"fa fa-star-o fa-stack-2x\"></i></span> "; } // line 88 echo " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 89 echo " </div> "; } // line 90 echo " </div> <div class=\"button-group\"> <button type=\"button\" onclick=\"cart.add('"; // line 92 echo $this->getAttribute($context["product"], "product_id", array()); echo "', '"; echo $this->getAttribute($context["product"], "minimum", array()); echo "');\"><i class=\"fa fa-shopping-cart\"></i> <span class=\"hidden-xs hidden-sm hidden-md\">"; echo (isset($context["button_cart"]) ? $context["button_cart"] : null); echo "</span></button> <button type=\"button\" data-toggle=\"tooltip\" title=\""; // line 93 echo (isset($context["button_wishlist"]) ? $context["button_wishlist"] : null); echo "\" onclick=\"wishlist.add('"; echo $this->getAttribute($context["product"], "product_id", array()); echo "');\"><i class=\"fa fa-heart\"></i></button> <button type=\"button\" data-toggle=\"tooltip\" title=\""; // line 94 echo (isset($context["button_compare"]) ? $context["button_compare"] : null); echo "\" onclick=\"compare.add('"; echo $this->getAttribute($context["product"], "product_id", array()); echo "');\"><i class=\"fa fa-exchange\"></i></button> </div> </div> </div> </div> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['product'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 99 echo " </div> <div class=\"row\"> <div class=\"col-sm-6 text-left\">"; // line 101 echo (isset($context["pagination"]) ? $context["pagination"] : null); echo "</div> <div class=\"col-sm-6 text-right\">"; // line 102 echo (isset($context["results"]) ? $context["results"] : null); echo "</div> </div> "; } else { // line 105 echo " <p>"; echo (isset($context["text_empty"]) ? $context["text_empty"] : null); echo "</p> <div class=\"buttons\"> <div class=\"pull-right\"><a href=\""; // line 107 echo (isset($context["continue"]) ? $context["continue"] : null); echo "\" class=\"btn btn-primary\">"; echo (isset($context["button_continue"]) ? $context["button_continue"] : null); echo "</a></div> </div> "; } // line 110 echo " "; echo (isset($context["content_bottom"]) ? $context["content_bottom"] : null); echo "</div> "; // line 111 echo (isset($context["column_right"]) ? $context["column_right"] : null); echo "</div> </div> "; // line 113 echo (isset($context["footer"]) ? $context["footer"] : null); } public function getTemplateName() { return "default/template/product/special.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 359 => 113, 354 => 111, 349 => 110, 341 => 107, 335 => 105, 329 => 102, 325 => 101, 321 => 99, 307 => 94, 301 => 93, 293 => 92, 289 => 90, 285 => 89, 279 => 88, 272 => 87, 268 => 86, 265 => 85, 262 => 84, 250 => 82, 243 => 81, 237 => 80, 234 => 79, 232 => 78, 228 => 77, 222 => 76, 210 => 73, 206 => 71, 202 => 70, 195 => 65, 189 => 64, 181 => 61, 178 => 60, 170 => 57, 167 => 56, 164 => 55, 160 => 54, 154 => 51, 146 => 45, 140 => 44, 132 => 41, 129 => 40, 121 => 37, 118 => 36, 115 => 35, 111 => 34, 105 => 31, 96 => 27, 89 => 23, 85 => 22, 80 => 19, 78 => 18, 74 => 17, 67 => 16, 64 => 15, 61 => 14, 58 => 13, 55 => 12, 52 => 11, 49 => 10, 47 => 9, 43 => 8, 40 => 7, 29 => 5, 25 => 4, 19 => 1,); } } /* {{ header }}*/ /* <div id="product-search" class="container">*/ /* <ul class="breadcrumb">*/ /* {% for breadcrumb in breadcrumbs %}*/ /* <li><a href="{{ breadcrumb.href }}">{{ breadcrumb.text }}</a></li>*/ /* {% endfor %}*/ /* </ul>*/ /* <div class="row">{{ column_left }}*/ /* {% if column_left and column_right %}*/ /* {% set class = 'col-sm-6' %}*/ /* {% elseif column_left or column_right %}*/ /* {% set class = 'col-sm-9' %}*/ /* {% else %}*/ /* {% set class = 'col-sm-12' %}*/ /* {% endif %}*/ /* <div id="content" class="{{ class }}">{{ content_top }}*/ /* <h2>{{ heading_title }}</h2>*/ /* {% if products %}*/ /* <div class="row">*/ /* <div class="col-md-2 col-sm-6 hidden-xs">*/ /* <div class="btn-group btn-group-sm">*/ /* <button type="button" id="list-view" class="btn btn-default" data-toggle="tooltip" title="{{ button_list }}"><i class="fa fa-th-list"></i></button>*/ /* <button type="button" id="grid-view" class="btn btn-default" data-toggle="tooltip" title="{{ button_grid }}"><i class="fa fa-th"></i></button>*/ /* </div>*/ /* </div>*/ /* <div class="col-md-3 col-sm-6">*/ /* <div class="form-group"><a href="{{ compare }}" id="compare-total" class="btn btn-link">{{ text_compare }}</a></div>*/ /* </div>*/ /* <div class="col-md-4 col-xs-6">*/ /* <div class="form-group input-group input-group-sm">*/ /* <label class="input-group-addon" for="input-sort">{{ text_sort }}</label>*/ /* <select id="input-sort" class="form-control" onchange="location = this.value;">*/ /* */ /* {% for sorts in sorts %}*/ /* {% if sorts.value == '%s-%s'|format(sort, order) %}*/ /* */ /* <option value="{{ sorts.href }}" selected="selected">{{ sorts.text }}</option>*/ /* */ /* {% else %}*/ /* */ /* <option value="{{ sorts.href }}">{{ sorts.text }}</option>*/ /* */ /* {% endif %}*/ /* {% endfor %}*/ /* */ /* </select>*/ /* </div>*/ /* </div>*/ /* <div class="col-md-3 col-xs-6">*/ /* <div class="form-group input-group input-group-sm">*/ /* <label class="input-group-addon" for="input-limit">{{ text_limit }}</label>*/ /* <select id="input-limit" class="form-control" onchange="location = this.value;">*/ /* */ /* {% for limits in limits %}*/ /* {% if limits.value == limit %}*/ /* */ /* <option value="{{ limits.href }}" selected="selected">{{ limits.text }}</option>*/ /* */ /* {% else %}*/ /* */ /* <option value="{{ limits.href }}">{{ limits.text }}</option>*/ /* */ /* {% endif %}*/ /* {% endfor %}*/ /* */ /* </select>*/ /* </div>*/ /* </div>*/ /* </div>*/ /* <div class="row"> {% for product in products %}*/ /* <div class="product-layout product-list col-xs-12">*/ /* <div class="product-thumb">*/ /* <div class="image"><a href="{{ product.href }}"><img src="{{ product.thumb }}" alt="{{ product.name }}" title="{{ product.name }}" class="img-responsive" /></a></div>*/ /* <div>*/ /* <div class="caption">*/ /* <h4><a href="{{ product.href }}">{{ product.name }}</a></h4>*/ /* <p>{{ product.description }}</p>*/ /* {% if product.price %}*/ /* <p class="price"> {% if not product.special %}*/ /* {{ product.price }}*/ /* {% else %} <span class="price-new">{{ product.special }}</span> <span class="price-old">{{ product.price }}</span> {% endif %}*/ /* {% if product.tax %} <span class="price-tax">{{ text_tax }} {{ product.tax }}</span> {% endif %} </p>*/ /* {% endif %}*/ /* {% if product.rating %}*/ /* <div class="rating">*/ /* {% for i in 1..5 %}*/ /* {% if product.rating < i %} <span class="fa fa-stack"><i class="fa fa-star-o fa-stack-2x"></i></span> {% else %} <span class="fa fa-stack"><i class="fa fa-star fa-stack-2x"></i><i class="fa fa-star-o fa-stack-2x"></i></span> {% endif %}*/ /* {% endfor %}*/ /* </div>*/ /* {% endif %} </div>*/ /* <div class="button-group">*/ /* <button type="button" onclick="cart.add('{{ product.product_id }}', '{{ product.minimum }}');"><i class="fa fa-shopping-cart"></i> <span class="hidden-xs hidden-sm hidden-md">{{ button_cart }}</span></button>*/ /* <button type="button" data-toggle="tooltip" title="{{ button_wishlist }}" onclick="wishlist.add('{{ product.product_id }}');"><i class="fa fa-heart"></i></button>*/ /* <button type="button" data-toggle="tooltip" title="{{ button_compare }}" onclick="compare.add('{{ product.product_id }}');"><i class="fa fa-exchange"></i></button>*/ /* </div>*/ /* </div>*/ /* </div>*/ /* </div>*/ /* {% endfor %} </div>*/ /* <div class="row">*/ /* <div class="col-sm-6 text-left">{{ pagination }}</div>*/ /* <div class="col-sm-6 text-right">{{ results }}</div>*/ /* </div>*/ /* {% else %}*/ /* <p>{{ text_empty }}</p>*/ /* <div class="buttons">*/ /* <div class="pull-right"><a href="{{ continue }}" class="btn btn-primary">{{ button_continue }}</a></div>*/ /* </div>*/ /* {% endif %}*/ /* {{ content_bottom }}</div>*/ /* {{ column_right }}</div>*/ /* </div>*/ /* {{ footer }}*/
| ver. 1.4 |
Github
|
.
| PHP 8.1.33 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка