Showing
65 changed files
with
23 additions
and
15572 deletions
| 1 | -{"uk-ua":{"language_id":"1","name":"\u0423\u043a\u0440\u0430\u0457\u043d\u0441\u044c\u043a\u0430","code":"uk-ua","locale":"uk_UA.UTF-8,uk_UA,uk-ua,uk,ukrainian","image":"uk-ua.png","directory":"uk-ua","sort_order":"1","status":"1"}} | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | -<?php | ||
| 2 | - | ||
| 3 | -use Twig\Environment; | ||
| 4 | -use Twig\Error\LoaderError; | ||
| 5 | -use Twig\Error\RuntimeError; | ||
| 6 | -use Twig\Extension\CoreExtension; | ||
| 7 | -use Twig\Extension\SandboxExtension; | ||
| 8 | -use Twig\Markup; | ||
| 9 | -use Twig\Sandbox\SecurityError; | ||
| 10 | -use Twig\Sandbox\SecurityNotAllowedTagError; | ||
| 11 | -use Twig\Sandbox\SecurityNotAllowedFilterError; | ||
| 12 | -use Twig\Sandbox\SecurityNotAllowedFunctionError; | ||
| 13 | -use Twig\Source; | ||
| 14 | -use Twig\Template; | ||
| 15 | - | ||
| 16 | -/* common/dashboard.twig */ | ||
| 17 | -class __TwigTemplate_645f308cbd17f5ff13697d9f140791d6 extends Template | ||
| 18 | -{ | ||
| 19 | - private $source; | ||
| 20 | - private $macros = []; | ||
| 21 | - | ||
| 22 | - public function __construct(Environment $env) | ||
| 23 | - { | ||
| 24 | - parent::__construct($env); | ||
| 25 | - | ||
| 26 | - $this->source = $this->getSourceContext(); | ||
| 27 | - | ||
| 28 | - $this->parent = false; | ||
| 29 | - | ||
| 30 | - $this->blocks = [ | ||
| 31 | - ]; | ||
| 32 | - } | ||
| 33 | - | ||
| 34 | - protected function doDisplay(array $context, array $blocks = []) | ||
| 35 | - { | ||
| 36 | - $macros = $this->macros; | ||
| 37 | - // line 1 | ||
| 38 | - yield ($context["header"] ?? null); | ||
| 39 | - yield ($context["column_left"] ?? null); | ||
| 40 | - yield " | ||
| 41 | -<div id=\"content\"> | ||
| 42 | - <div class=\"page-header\"> | ||
| 43 | - <div class=\"container-fluid\"> | ||
| 44 | - <div class=\"pull-right\"> | ||
| 45 | - <button type=\"button\" id=\"button-developer\" title=\""; | ||
| 46 | - // line 6 | ||
| 47 | - yield ($context["button_developer"] ?? null); | ||
| 48 | - yield "\" data-loading-text=\""; | ||
| 49 | - yield ($context["text_loading"] ?? null); | ||
| 50 | - yield "\" class=\"btn btn-info\"><i class=\"fa fa-cog\"></i></button> | ||
| 51 | - </div> | ||
| 52 | - <h1>"; | ||
| 53 | - // line 8 | ||
| 54 | - yield ($context["heading_title"] ?? null); | ||
| 55 | - yield "</h1> | ||
| 56 | - <ul class=\"breadcrumb\"> | ||
| 57 | - "; | ||
| 58 | - // line 10 | ||
| 59 | - $context['_parent'] = $context; | ||
| 60 | - $context['_seq'] = CoreExtension::ensureTraversable(($context["breadcrumbs"] ?? null)); | ||
| 61 | - foreach ($context['_seq'] as $context["_key"] => $context["breadcrumb"]) { | ||
| 62 | - // line 11 | ||
| 63 | - yield " <li><a href=\""; | ||
| 64 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["breadcrumb"], "href", [], "any", false, false, false, 11); | ||
| 65 | - yield "\">"; | ||
| 66 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["breadcrumb"], "text", [], "any", false, false, false, 11); | ||
| 67 | - yield "</a></li> | ||
| 68 | - "; | ||
| 69 | - } | ||
| 70 | - $_parent = $context['_parent']; | ||
| 71 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['breadcrumb'], $context['_parent'], $context['loop']); | ||
| 72 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 73 | - // line 13 | ||
| 74 | - yield " </ul> | ||
| 75 | - </div> | ||
| 76 | - </div> | ||
| 77 | - <div class=\"container-fluid\">"; | ||
| 78 | - // line 16 | ||
| 79 | - if (($context["error_install"] ?? null)) { | ||
| 80 | - // line 17 | ||
| 81 | - yield " <div class=\"alert alert-danger alert-dismissible\"> | ||
| 82 | - <button type=\"button\" class=\"close pull-right\" data-dismiss=\"alert\">×</button> | ||
| 83 | - <i class=\"fa fa-exclamation-circle\"></i> "; | ||
| 84 | - // line 19 | ||
| 85 | - yield ($context["error_install"] ?? null); | ||
| 86 | - yield "</div> | ||
| 87 | - "; | ||
| 88 | - } | ||
| 89 | - // line 21 | ||
| 90 | - yield " "; | ||
| 91 | - $context['_parent'] = $context; | ||
| 92 | - $context['_seq'] = CoreExtension::ensureTraversable(($context["rows"] ?? null)); | ||
| 93 | - foreach ($context['_seq'] as $context["_key"] => $context["row"]) { | ||
| 94 | - // line 22 | ||
| 95 | - yield " <div class=\"row\">"; | ||
| 96 | - $context['_parent'] = $context; | ||
| 97 | - $context['_seq'] = CoreExtension::ensureTraversable($context["row"]); | ||
| 98 | - foreach ($context['_seq'] as $context["_key"] => $context["dashboard_1"]) { | ||
| 99 | - // line 23 | ||
| 100 | - yield " "; | ||
| 101 | - $context["class"] = Twig\Extension\CoreExtension::sprintf("col-lg-%s %s", CoreExtension::getAttribute($this->env, $this->source, $context["dashboard_1"], "width", [], "any", false, false, false, 23), "col-md-3 col-sm-6"); | ||
| 102 | - // line 24 | ||
| 103 | - yield " "; | ||
| 104 | - $context['_parent'] = $context; | ||
| 105 | - $context['_seq'] = CoreExtension::ensureTraversable($context["row"]); | ||
| 106 | - foreach ($context['_seq'] as $context["_key"] => $context["dashboard_2"]) { | ||
| 107 | - // line 25 | ||
| 108 | - yield " "; | ||
| 109 | - if ((CoreExtension::getAttribute($this->env, $this->source, $context["dashboard_2"], "width", [], "any", false, false, false, 25) > 3)) { | ||
| 110 | - // line 26 | ||
| 111 | - yield " "; | ||
| 112 | - $context["class"] = Twig\Extension\CoreExtension::sprintf("col-lg-%s %s", CoreExtension::getAttribute($this->env, $this->source, $context["dashboard_1"], "width", [], "any", false, false, false, 26), "col-md-12 col-sm-12"); | ||
| 113 | - // line 27 | ||
| 114 | - yield " "; | ||
| 115 | - } | ||
| 116 | - // line 28 | ||
| 117 | - yield " "; | ||
| 118 | - } | ||
| 119 | - $_parent = $context['_parent']; | ||
| 120 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['dashboard_2'], $context['_parent'], $context['loop']); | ||
| 121 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 122 | - // line 29 | ||
| 123 | - yield " <div class=\""; | ||
| 124 | - yield ($context["class"] ?? null); | ||
| 125 | - yield "\">"; | ||
| 126 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["dashboard_1"], "output", [], "any", false, false, false, 29); | ||
| 127 | - yield "</div> | ||
| 128 | - "; | ||
| 129 | - } | ||
| 130 | - $_parent = $context['_parent']; | ||
| 131 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['dashboard_1'], $context['_parent'], $context['loop']); | ||
| 132 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 133 | - // line 30 | ||
| 134 | - yield "</div> | ||
| 135 | - "; | ||
| 136 | - } | ||
| 137 | - $_parent = $context['_parent']; | ||
| 138 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['row'], $context['_parent'], $context['loop']); | ||
| 139 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 140 | - // line 31 | ||
| 141 | - yield "</div> | ||
| 142 | - "; | ||
| 143 | - // line 32 | ||
| 144 | - yield ($context["security"] ?? null); | ||
| 145 | - yield " | ||
| 146 | - <script type=\"text/javascript\"><!-- | ||
| 147 | -\$('#button-developer').on('click', function() { | ||
| 148 | -\t\$.ajax({ | ||
| 149 | -\t\turl: 'index.php?route=common/developer&user_token="; | ||
| 150 | - // line 36 | ||
| 151 | - yield ($context["user_token"] ?? null); | ||
| 152 | - yield "', | ||
| 153 | -\t\tdataType: 'html', | ||
| 154 | -\t\tbeforeSend: function() { | ||
| 155 | -\t\t\t\$('#button-developer').button('loading'); | ||
| 156 | -\t\t}, | ||
| 157 | -\t\tcomplete: function() { | ||
| 158 | -\t\t\t\$('#button-developer').button('reset'); | ||
| 159 | -\t\t}, | ||
| 160 | -\t\tsuccess: function(html) { | ||
| 161 | -\t\t\t\$('#modal-developer').remove(); | ||
| 162 | -\t\t\t | ||
| 163 | -\t\t\t\$('body').prepend('<div id=\"modal-developer\" class=\"modal\">' + html + '</div>'); | ||
| 164 | -\t\t\t | ||
| 165 | -\t\t\t\$('#modal-developer').modal('show'); | ||
| 166 | -\t\t}, | ||
| 167 | -\t\terror: function(xhr, ajaxOptions, thrownError) { | ||
| 168 | -\t\t\talert(thrownError + \"\\r\\n\" + xhr.statusText + \"\\r\\n\" + xhr.responseText); | ||
| 169 | -\t\t} | ||
| 170 | -\t});\t | ||
| 171 | -});\t | ||
| 172 | -//--></script> | ||
| 173 | -</div> | ||
| 174 | -"; | ||
| 175 | - // line 58 | ||
| 176 | - yield ($context["footer"] ?? null); | ||
| 177 | - return; yield ''; | ||
| 178 | - } | ||
| 179 | - | ||
| 180 | - /** | ||
| 181 | - * @codeCoverageIgnore | ||
| 182 | - */ | ||
| 183 | - public function getTemplateName() | ||
| 184 | - { | ||
| 185 | - return "common/dashboard.twig"; | ||
| 186 | - } | ||
| 187 | - | ||
| 188 | - /** | ||
| 189 | - * @codeCoverageIgnore | ||
| 190 | - */ | ||
| 191 | - public function isTraitable() | ||
| 192 | - { | ||
| 193 | - return false; | ||
| 194 | - } | ||
| 195 | - | ||
| 196 | - /** | ||
| 197 | - * @codeCoverageIgnore | ||
| 198 | - */ | ||
| 199 | - public function getDebugInfo() | ||
| 200 | - { | ||
| 201 | - return array ( 176 => 58, 151 => 36, 144 => 32, 141 => 31, 134 => 30, 123 => 29, 117 => 28, 114 => 27, 111 => 26, 108 => 25, 103 => 24, 100 => 23, 95 => 22, 90 => 21, 85 => 19, 81 => 17, 79 => 16, 74 => 13, 63 => 11, 59 => 10, 54 => 8, 47 => 6, 38 => 1,); | ||
| 202 | - } | ||
| 203 | - | ||
| 204 | - public function getSourceContext() | ||
| 205 | - { | ||
| 206 | - return new Source("", "common/dashboard.twig", ""); | ||
| 207 | - } | ||
| 208 | -} |
| 1 | -<?php | ||
| 2 | - | ||
| 3 | -use Twig\Environment; | ||
| 4 | -use Twig\Error\LoaderError; | ||
| 5 | -use Twig\Error\RuntimeError; | ||
| 6 | -use Twig\Extension\CoreExtension; | ||
| 7 | -use Twig\Extension\SandboxExtension; | ||
| 8 | -use Twig\Markup; | ||
| 9 | -use Twig\Sandbox\SecurityError; | ||
| 10 | -use Twig\Sandbox\SecurityNotAllowedTagError; | ||
| 11 | -use Twig\Sandbox\SecurityNotAllowedFilterError; | ||
| 12 | -use Twig\Sandbox\SecurityNotAllowedFunctionError; | ||
| 13 | -use Twig\Source; | ||
| 14 | -use Twig\Template; | ||
| 15 | - | ||
| 16 | -/* extension/dashboard/chart_info.twig */ | ||
| 17 | -class __TwigTemplate_63e40ddc5483dc8145e6e44276a3aaaa extends Template | ||
| 18 | -{ | ||
| 19 | - private $source; | ||
| 20 | - private $macros = []; | ||
| 21 | - | ||
| 22 | - public function __construct(Environment $env) | ||
| 23 | - { | ||
| 24 | - parent::__construct($env); | ||
| 25 | - | ||
| 26 | - $this->source = $this->getSourceContext(); | ||
| 27 | - | ||
| 28 | - $this->parent = false; | ||
| 29 | - | ||
| 30 | - $this->blocks = [ | ||
| 31 | - ]; | ||
| 32 | - } | ||
| 33 | - | ||
| 34 | - protected function doDisplay(array $context, array $blocks = []) | ||
| 35 | - { | ||
| 36 | - $macros = $this->macros; | ||
| 37 | - // line 1 | ||
| 38 | - yield "<div class=\"panel panel-default\"> | ||
| 39 | - <div class=\"panel-heading\"> | ||
| 40 | - <div class=\"pull-right\"><a href=\"#\" class=\"dropdown-toggle\" data-toggle=\"dropdown\"><i class=\"fa fa-calendar\"></i> <i class=\"caret\"></i></a> | ||
| 41 | - <ul id=\"range\" class=\"dropdown-menu dropdown-menu-right\"> | ||
| 42 | - <li><a href=\"day\">"; | ||
| 43 | - // line 5 | ||
| 44 | - yield ($context["text_day"] ?? null); | ||
| 45 | - yield "</a></li> | ||
| 46 | - <li><a href=\"week\">"; | ||
| 47 | - // line 6 | ||
| 48 | - yield ($context["text_week"] ?? null); | ||
| 49 | - yield "</a></li> | ||
| 50 | - <li class=\"active\"><a href=\"month\">"; | ||
| 51 | - // line 7 | ||
| 52 | - yield ($context["text_month"] ?? null); | ||
| 53 | - yield "</a></li> | ||
| 54 | - <li><a href=\"year\">"; | ||
| 55 | - // line 8 | ||
| 56 | - yield ($context["text_year"] ?? null); | ||
| 57 | - yield "</a></li> | ||
| 58 | - </ul> | ||
| 59 | - </div> | ||
| 60 | - <h3 class=\"panel-title\"><i class=\"fa fa-bar-chart-o\"></i> "; | ||
| 61 | - // line 11 | ||
| 62 | - yield ($context["heading_title"] ?? null); | ||
| 63 | - yield "</h3> | ||
| 64 | - </div> | ||
| 65 | - <div class=\"panel-body\"> | ||
| 66 | - <div id=\"chart-sale\" style=\"width: 100%; height: 260px;\"></div> | ||
| 67 | - </div> | ||
| 68 | -</div> | ||
| 69 | -<script type=\"text/javascript\" src=\"view/javascript/jquery/flot/jquery.flot.js\"></script> | ||
| 70 | -<script type=\"text/javascript\" src=\"view/javascript/jquery/flot/jquery.flot.resize.min.js\"></script> | ||
| 71 | -<script type=\"text/javascript\"><!-- | ||
| 72 | -\$('#range a').on('click', function(e) { | ||
| 73 | -\te.preventDefault(); | ||
| 74 | -\t | ||
| 75 | -\t\$(this).parent().parent().find('li').removeClass('active'); | ||
| 76 | -\t | ||
| 77 | -\t\$(this).parent().addClass('active'); | ||
| 78 | -\t | ||
| 79 | -\t\$.ajax({ | ||
| 80 | -\t\ttype: 'get', | ||
| 81 | -\t\turl: 'index.php?route=extension/dashboard/chart/chart&user_token="; | ||
| 82 | - // line 29 | ||
| 83 | - yield ($context["user_token"] ?? null); | ||
| 84 | - yield "&range=' + \$(this).attr('href'), | ||
| 85 | -\t\tdataType: 'json', | ||
| 86 | -\t\tsuccess: function(json) { | ||
| 87 | - if (typeof json['order'] == 'undefined') { return false; } | ||
| 88 | -\t\t\t | ||
| 89 | -\t\t\tvar option = {\t | ||
| 90 | -\t\t\t\tshadowSize: 0, | ||
| 91 | -\t\t\t\tcolors: ['#9FD5F1', '#1065D2'], | ||
| 92 | -\t\t\t\tbars: { | ||
| 93 | -\t\t\t\t\tshow: true, | ||
| 94 | -\t\t\t\t\tfill: true, | ||
| 95 | -\t\t\t\t\tlineWidth: 1 | ||
| 96 | -\t\t\t\t}, | ||
| 97 | -\t\t\t\tgrid: { | ||
| 98 | -\t\t\t\t\tbackgroundColor: '#FFFFFF', | ||
| 99 | -\t\t\t\t\thoverable: true | ||
| 100 | -\t\t\t\t}, | ||
| 101 | -\t\t\t\tpoints: { | ||
| 102 | -\t\t\t\t\tshow: false | ||
| 103 | -\t\t\t\t}, | ||
| 104 | -\t\t\t\txaxis: { | ||
| 105 | -\t\t\t\t\tshow: true, | ||
| 106 | - \t\tticks: json['xaxis'] | ||
| 107 | -\t\t\t\t} | ||
| 108 | -\t\t\t} | ||
| 109 | -\t\t\t | ||
| 110 | -\t\t\t\$.plot('#chart-sale', [json['order'], json['customer']], option);\t | ||
| 111 | -\t\t\t\t\t | ||
| 112 | -\t\t\t\$('#chart-sale').bind('plothover', function(event, pos, item) { | ||
| 113 | -\t\t\t\t\$('.tooltip').remove(); | ||
| 114 | -\t\t\t | ||
| 115 | -\t\t\t\tif (item) { | ||
| 116 | -\t\t\t\t\t\$('<div id=\"tooltip\" class=\"tooltip top in\"><div class=\"tooltip-arrow\"></div><div class=\"tooltip-inner\">' + item.datapoint[1].toFixed(2) + '</div></div>').prependTo('body'); | ||
| 117 | -\t\t\t\t\t | ||
| 118 | -\t\t\t\t\t\$('#tooltip').css({ | ||
| 119 | -\t\t\t\t\t\tposition: 'absolute', | ||
| 120 | -\t\t\t\t\t\tleft: item.pageX - (\$('#tooltip').outerWidth() / 2), | ||
| 121 | -\t\t\t\t\t\ttop: item.pageY - \$('#tooltip').outerHeight(), | ||
| 122 | -\t\t\t\t\t\tpointer: 'cusror' | ||
| 123 | -\t\t\t\t\t}).fadeIn('slow');\t | ||
| 124 | -\t\t\t\t\t | ||
| 125 | -\t\t\t\t\t\$('#chart-sale').css('cursor', 'pointer');\t\t | ||
| 126 | -\t\t\t \t} else { | ||
| 127 | -\t\t\t\t\t\$('#chart-sale').css('cursor', 'auto'); | ||
| 128 | -\t\t\t\t} | ||
| 129 | -\t\t\t}); | ||
| 130 | -\t\t}, | ||
| 131 | - error: function(xhr, ajaxOptions, thrownError) { | ||
| 132 | - alert(thrownError + \"\\r\\n\" + xhr.statusText + \"\\r\\n\" + xhr.responseText); | ||
| 133 | - } | ||
| 134 | -\t}); | ||
| 135 | -}); | ||
| 136 | - | ||
| 137 | -\$('#range .active a').trigger('click'); | ||
| 138 | -//--></script> "; | ||
| 139 | - return; yield ''; | ||
| 140 | - } | ||
| 141 | - | ||
| 142 | - /** | ||
| 143 | - * @codeCoverageIgnore | ||
| 144 | - */ | ||
| 145 | - public function getTemplateName() | ||
| 146 | - { | ||
| 147 | - return "extension/dashboard/chart_info.twig"; | ||
| 148 | - } | ||
| 149 | - | ||
| 150 | - /** | ||
| 151 | - * @codeCoverageIgnore | ||
| 152 | - */ | ||
| 153 | - public function isTraitable() | ||
| 154 | - { | ||
| 155 | - return false; | ||
| 156 | - } | ||
| 157 | - | ||
| 158 | - /** | ||
| 159 | - * @codeCoverageIgnore | ||
| 160 | - */ | ||
| 161 | - public function getDebugInfo() | ||
| 162 | - { | ||
| 163 | - return array ( 83 => 29, 62 => 11, 56 => 8, 52 => 7, 48 => 6, 44 => 5, 38 => 1,); | ||
| 164 | - } | ||
| 165 | - | ||
| 166 | - public function getSourceContext() | ||
| 167 | - { | ||
| 168 | - return new Source("", "extension/dashboard/chart_info.twig", ""); | ||
| 169 | - } | ||
| 170 | -} |
strg/cache/template/10/10d1feef94cc850ccfb4958522a4e5ce5946f6ce380ae747581c31a800833155.php
deleted
100644 → 0
| 1 | -<?php | ||
| 2 | - | ||
| 3 | -use Twig\Environment; | ||
| 4 | -use Twig\Error\LoaderError; | ||
| 5 | -use Twig\Error\RuntimeError; | ||
| 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 | - | ||
| 15 | -/* default/template/product/review.twig */ | ||
| 16 | -class __TwigTemplate_18920efd05b3a9626f33dc9a01db1aa6006fbec243a4499698f76b8f260ccd04 extends \Twig\Template | ||
| 17 | -{ | ||
| 18 | - private $source; | ||
| 19 | - private $macros = []; | ||
| 20 | - | ||
| 21 | - public function __construct(Environment $env) | ||
| 22 | - { | ||
| 23 | - parent::__construct($env); | ||
| 24 | - | ||
| 25 | - $this->source = $this->getSourceContext(); | ||
| 26 | - | ||
| 27 | - $this->parent = false; | ||
| 28 | - | ||
| 29 | - $this->blocks = [ | ||
| 30 | - ]; | ||
| 31 | - } | ||
| 32 | - | ||
| 33 | - protected function doDisplay(array $context, array $blocks = []) | ||
| 34 | - { | ||
| 35 | - $macros = $this->macros; | ||
| 36 | - // line 1 | ||
| 37 | - if (($context["reviews"] ?? null)) { | ||
| 38 | - // line 2 | ||
| 39 | - $context['_parent'] = $context; | ||
| 40 | - $context['_seq'] = twig_ensure_traversable(($context["reviews"] ?? null)); | ||
| 41 | - foreach ($context['_seq'] as $context["_key"] => $context["review"]) { | ||
| 42 | - // line 3 | ||
| 43 | - echo "<table class=\"table table-striped table-bordered\"> | ||
| 44 | - <tr> | ||
| 45 | - <td style=\"width: 50%;\"><strong>"; | ||
| 46 | - // line 5 | ||
| 47 | - echo twig_get_attribute($this->env, $this->source, $context["review"], "author", [], "any", false, false, false, 5); | ||
| 48 | - echo "</strong></td> | ||
| 49 | - <td class=\"text-right\">"; | ||
| 50 | - // line 6 | ||
| 51 | - echo twig_get_attribute($this->env, $this->source, $context["review"], "date_added", [], "any", false, false, false, 6); | ||
| 52 | - echo "</td> | ||
| 53 | - </tr> | ||
| 54 | - <tr> | ||
| 55 | - <td colspan=\"2\"><p>"; | ||
| 56 | - // line 9 | ||
| 57 | - echo twig_get_attribute($this->env, $this->source, $context["review"], "text", [], "any", false, false, false, 9); | ||
| 58 | - echo "</p> | ||
| 59 | - "; | ||
| 60 | - // line 10 | ||
| 61 | - $context['_parent'] = $context; | ||
| 62 | - $context['_seq'] = twig_ensure_traversable(range(1, 5)); | ||
| 63 | - foreach ($context['_seq'] as $context["_key"] => $context["i"]) { | ||
| 64 | - // line 11 | ||
| 65 | - echo " "; | ||
| 66 | - if ((twig_get_attribute($this->env, $this->source, $context["review"], "rating", [], "any", false, false, false, 11) < $context["i"])) { | ||
| 67 | - echo " <span class=\"fa fa-stack\"><i class=\"fa fa-star-o fa-stack-2x\"></i></span> "; | ||
| 68 | - } else { | ||
| 69 | - 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> "; | ||
| 70 | - } | ||
| 71 | - // line 12 | ||
| 72 | - echo " "; | ||
| 73 | - } | ||
| 74 | - $_parent = $context['_parent']; | ||
| 75 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']); | ||
| 76 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 77 | - echo "</td> | ||
| 78 | - </tr> | ||
| 79 | -</table> | ||
| 80 | -"; | ||
| 81 | - } | ||
| 82 | - $_parent = $context['_parent']; | ||
| 83 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['review'], $context['_parent'], $context['loop']); | ||
| 84 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 85 | - // line 16 | ||
| 86 | - echo "<div class=\"row\"> | ||
| 87 | - <div class=\"col-sm-6 text-left\">"; | ||
| 88 | - // line 17 | ||
| 89 | - echo ($context["pagination"] ?? null); | ||
| 90 | - echo "</div> | ||
| 91 | - <div class=\"col-sm-6 text-right\">"; | ||
| 92 | - // line 18 | ||
| 93 | - echo ($context["results"] ?? null); | ||
| 94 | - echo "</div> | ||
| 95 | -</div> | ||
| 96 | -"; | ||
| 97 | - } else { | ||
| 98 | - // line 21 | ||
| 99 | - echo "<p>"; | ||
| 100 | - echo ($context["text_no_reviews"] ?? null); | ||
| 101 | - echo "</p> | ||
| 102 | -"; | ||
| 103 | - } | ||
| 104 | - } | ||
| 105 | - | ||
| 106 | - public function getTemplateName() | ||
| 107 | - { | ||
| 108 | - return "default/template/product/review.twig"; | ||
| 109 | - } | ||
| 110 | - | ||
| 111 | - public function isTraitable() | ||
| 112 | - { | ||
| 113 | - return false; | ||
| 114 | - } | ||
| 115 | - | ||
| 116 | - public function getDebugInfo() | ||
| 117 | - { | ||
| 118 | - return array ( 99 => 21, 93 => 18, 89 => 17, 86 => 16, 72 => 12, 65 => 11, 61 => 10, 57 => 9, 51 => 6, 47 => 5, 43 => 3, 39 => 2, 37 => 1,); | ||
| 119 | - } | ||
| 120 | - | ||
| 121 | - public function getSourceContext() | ||
| 122 | - { | ||
| 123 | - return new Source("", "default/template/product/review.twig", ""); | ||
| 124 | - } | ||
| 125 | -} |
| 1 | -<?php | ||
| 2 | - | ||
| 3 | -use Twig\Environment; | ||
| 4 | -use Twig\Error\LoaderError; | ||
| 5 | -use Twig\Error\RuntimeError; | ||
| 6 | -use Twig\Extension\CoreExtension; | ||
| 7 | -use Twig\Extension\SandboxExtension; | ||
| 8 | -use Twig\Markup; | ||
| 9 | -use Twig\Sandbox\SecurityError; | ||
| 10 | -use Twig\Sandbox\SecurityNotAllowedTagError; | ||
| 11 | -use Twig\Sandbox\SecurityNotAllowedFilterError; | ||
| 12 | -use Twig\Sandbox\SecurityNotAllowedFunctionError; | ||
| 13 | -use Twig\Source; | ||
| 14 | -use Twig\Template; | ||
| 15 | - | ||
| 16 | -/* extension/dashboard/recent_info.twig */ | ||
| 17 | -class __TwigTemplate_7fde69e7068a0fa95656f79ed81865a0 extends Template | ||
| 18 | -{ | ||
| 19 | - private $source; | ||
| 20 | - private $macros = []; | ||
| 21 | - | ||
| 22 | - public function __construct(Environment $env) | ||
| 23 | - { | ||
| 24 | - parent::__construct($env); | ||
| 25 | - | ||
| 26 | - $this->source = $this->getSourceContext(); | ||
| 27 | - | ||
| 28 | - $this->parent = false; | ||
| 29 | - | ||
| 30 | - $this->blocks = [ | ||
| 31 | - ]; | ||
| 32 | - } | ||
| 33 | - | ||
| 34 | - protected function doDisplay(array $context, array $blocks = []) | ||
| 35 | - { | ||
| 36 | - $macros = $this->macros; | ||
| 37 | - // line 1 | ||
| 38 | - yield "<div class=\"panel panel-default\"> | ||
| 39 | - <div class=\"panel-heading\"> | ||
| 40 | - <h3 class=\"panel-title\"><i class=\"fa fa-shopping-cart\"></i> "; | ||
| 41 | - // line 3 | ||
| 42 | - yield ($context["heading_title"] ?? null); | ||
| 43 | - yield "</h3> | ||
| 44 | - </div> | ||
| 45 | - <div class=\"table-responsive\"> | ||
| 46 | - <table class=\"table\"> | ||
| 47 | - <thead> | ||
| 48 | - <tr> | ||
| 49 | - <td class=\"text-right\">"; | ||
| 50 | - // line 9 | ||
| 51 | - yield ($context["column_order_id"] ?? null); | ||
| 52 | - yield "</td> | ||
| 53 | - <td>"; | ||
| 54 | - // line 10 | ||
| 55 | - yield ($context["column_customer"] ?? null); | ||
| 56 | - yield "</td> | ||
| 57 | - <td>"; | ||
| 58 | - // line 11 | ||
| 59 | - yield ($context["column_status"] ?? null); | ||
| 60 | - yield "</td> | ||
| 61 | - <td>"; | ||
| 62 | - // line 12 | ||
| 63 | - yield ($context["column_date_added"] ?? null); | ||
| 64 | - yield "</td> | ||
| 65 | - <td class=\"text-right\">"; | ||
| 66 | - // line 13 | ||
| 67 | - yield ($context["column_total"] ?? null); | ||
| 68 | - yield "</td> | ||
| 69 | - <td class=\"text-right\">"; | ||
| 70 | - // line 14 | ||
| 71 | - yield ($context["column_action"] ?? null); | ||
| 72 | - yield "</td> | ||
| 73 | - </tr> | ||
| 74 | - </thead> | ||
| 75 | - <tbody> | ||
| 76 | - "; | ||
| 77 | - // line 18 | ||
| 78 | - if (($context["orders"] ?? null)) { | ||
| 79 | - // line 19 | ||
| 80 | - yield " "; | ||
| 81 | - $context['_parent'] = $context; | ||
| 82 | - $context['_seq'] = CoreExtension::ensureTraversable(($context["orders"] ?? null)); | ||
| 83 | - foreach ($context['_seq'] as $context["_key"] => $context["order"]) { | ||
| 84 | - // line 20 | ||
| 85 | - yield " <tr> | ||
| 86 | - <td class=\"text-right\">"; | ||
| 87 | - // line 21 | ||
| 88 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["order"], "order_id", [], "any", false, false, false, 21); | ||
| 89 | - yield "</td> | ||
| 90 | - <td>"; | ||
| 91 | - // line 22 | ||
| 92 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["order"], "customer", [], "any", false, false, false, 22); | ||
| 93 | - yield "</td> | ||
| 94 | - <td>"; | ||
| 95 | - // line 23 | ||
| 96 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["order"], "status", [], "any", false, false, false, 23); | ||
| 97 | - yield "</td> | ||
| 98 | - <td>"; | ||
| 99 | - // line 24 | ||
| 100 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["order"], "date_added", [], "any", false, false, false, 24); | ||
| 101 | - yield "</td> | ||
| 102 | - <td class=\"text-right\">"; | ||
| 103 | - // line 25 | ||
| 104 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["order"], "total", [], "any", false, false, false, 25); | ||
| 105 | - yield "</td> | ||
| 106 | - <td class=\"text-right\"><a href=\""; | ||
| 107 | - // line 26 | ||
| 108 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["order"], "view", [], "any", false, false, false, 26); | ||
| 109 | - yield "\" data-toggle=\"tooltip\" title=\""; | ||
| 110 | - yield ($context["button_view"] ?? null); | ||
| 111 | - yield "\" class=\"btn btn-info\"><i class=\"fa fa-eye\"></i></a></td> | ||
| 112 | - </tr> | ||
| 113 | - "; | ||
| 114 | - } | ||
| 115 | - $_parent = $context['_parent']; | ||
| 116 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['order'], $context['_parent'], $context['loop']); | ||
| 117 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 118 | - // line 29 | ||
| 119 | - yield " "; | ||
| 120 | - } else { | ||
| 121 | - // line 30 | ||
| 122 | - yield " <tr> | ||
| 123 | - <td class=\"text-center\" colspan=\"6\">"; | ||
| 124 | - // line 31 | ||
| 125 | - yield ($context["text_no_results"] ?? null); | ||
| 126 | - yield "</td> | ||
| 127 | - </tr> | ||
| 128 | - "; | ||
| 129 | - } | ||
| 130 | - // line 34 | ||
| 131 | - yield " </tbody> | ||
| 132 | - </table> | ||
| 133 | - </div> | ||
| 134 | -</div> | ||
| 135 | -"; | ||
| 136 | - return; yield ''; | ||
| 137 | - } | ||
| 138 | - | ||
| 139 | - /** | ||
| 140 | - * @codeCoverageIgnore | ||
| 141 | - */ | ||
| 142 | - public function getTemplateName() | ||
| 143 | - { | ||
| 144 | - return "extension/dashboard/recent_info.twig"; | ||
| 145 | - } | ||
| 146 | - | ||
| 147 | - /** | ||
| 148 | - * @codeCoverageIgnore | ||
| 149 | - */ | ||
| 150 | - public function isTraitable() | ||
| 151 | - { | ||
| 152 | - return false; | ||
| 153 | - } | ||
| 154 | - | ||
| 155 | - /** | ||
| 156 | - * @codeCoverageIgnore | ||
| 157 | - */ | ||
| 158 | - public function getDebugInfo() | ||
| 159 | - { | ||
| 160 | - return array ( 131 => 34, 125 => 31, 122 => 30, 119 => 29, 108 => 26, 104 => 25, 100 => 24, 96 => 23, 92 => 22, 88 => 21, 85 => 20, 80 => 19, 78 => 18, 71 => 14, 67 => 13, 63 => 12, 59 => 11, 55 => 10, 51 => 9, 42 => 3, 38 => 1,); | ||
| 161 | - } | ||
| 162 | - | ||
| 163 | - public function getSourceContext() | ||
| 164 | - { | ||
| 165 | - return new Source("", "extension/dashboard/recent_info.twig", ""); | ||
| 166 | - } | ||
| 167 | -} |
strg/cache/template/17/177636735370dd32c848bddfdc7d5b30763895b868fae9b9f5b770b04dde40e9.php
deleted
100644 → 0
| 1 | -<?php | ||
| 2 | - | ||
| 3 | -use Twig\Environment; | ||
| 4 | -use Twig\Error\LoaderError; | ||
| 5 | -use Twig\Error\RuntimeError; | ||
| 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 | - | ||
| 15 | -/* default/template/extension/module/featured.twig */ | ||
| 16 | -class __TwigTemplate_c784c8d8ddcacc3ea47bcbed8b9a441b62083520d32c19779c35181dd0f828f0 extends \Twig\Template | ||
| 17 | -{ | ||
| 18 | - private $source; | ||
| 19 | - private $macros = []; | ||
| 20 | - | ||
| 21 | - public function __construct(Environment $env) | ||
| 22 | - { | ||
| 23 | - parent::__construct($env); | ||
| 24 | - | ||
| 25 | - $this->source = $this->getSourceContext(); | ||
| 26 | - | ||
| 27 | - $this->parent = false; | ||
| 28 | - | ||
| 29 | - $this->blocks = [ | ||
| 30 | - ]; | ||
| 31 | - } | ||
| 32 | - | ||
| 33 | - protected function doDisplay(array $context, array $blocks = []) | ||
| 34 | - { | ||
| 35 | - $macros = $this->macros; | ||
| 36 | - // line 1 | ||
| 37 | - echo "<h3>"; | ||
| 38 | - echo ($context["heading_title"] ?? null); | ||
| 39 | - echo "</h3> | ||
| 40 | -<div class=\"row\"> | ||
| 41 | - "; | ||
| 42 | - // line 3 | ||
| 43 | - $context['_parent'] = $context; | ||
| 44 | - $context['_seq'] = twig_ensure_traversable(($context["products"] ?? null)); | ||
| 45 | - foreach ($context['_seq'] as $context["_key"] => $context["product"]) { | ||
| 46 | - // line 4 | ||
| 47 | - echo " <div class=\"product-layout col-lg-3 col-md-3 col-sm-6 col-xs-12\"> | ||
| 48 | - <div class=\"product-thumb transition\"> | ||
| 49 | - <div class=\"image\"><a href=\""; | ||
| 50 | - // line 6 | ||
| 51 | - echo twig_get_attribute($this->env, $this->source, $context["product"], "href", [], "any", false, false, false, 6); | ||
| 52 | - echo "\"><img src=\""; | ||
| 53 | - echo twig_get_attribute($this->env, $this->source, $context["product"], "thumb", [], "any", false, false, false, 6); | ||
| 54 | - echo "\" alt=\""; | ||
| 55 | - echo twig_get_attribute($this->env, $this->source, $context["product"], "name", [], "any", false, false, false, 6); | ||
| 56 | - echo "\" title=\""; | ||
| 57 | - echo twig_get_attribute($this->env, $this->source, $context["product"], "name", [], "any", false, false, false, 6); | ||
| 58 | - echo "\" class=\"img-responsive\" /></a></div> | ||
| 59 | - <div class=\"caption\"> | ||
| 60 | - <h4><a href=\""; | ||
| 61 | - // line 8 | ||
| 62 | - echo twig_get_attribute($this->env, $this->source, $context["product"], "href", [], "any", false, false, false, 8); | ||
| 63 | - echo "\">"; | ||
| 64 | - echo twig_get_attribute($this->env, $this->source, $context["product"], "name", [], "any", false, false, false, 8); | ||
| 65 | - echo "</a></h4> | ||
| 66 | - <p>"; | ||
| 67 | - // line 9 | ||
| 68 | - echo twig_get_attribute($this->env, $this->source, $context["product"], "description", [], "any", false, false, false, 9); | ||
| 69 | - echo "</p> | ||
| 70 | - "; | ||
| 71 | - // line 10 | ||
| 72 | - if (twig_get_attribute($this->env, $this->source, $context["product"], "rating", [], "any", false, false, false, 10)) { | ||
| 73 | - // line 11 | ||
| 74 | - echo " <div class=\"rating\"> | ||
| 75 | - "; | ||
| 76 | - // line 12 | ||
| 77 | - $context['_parent'] = $context; | ||
| 78 | - $context['_seq'] = twig_ensure_traversable(5); | ||
| 79 | - foreach ($context['_seq'] as $context["_key"] => $context["i"]) { | ||
| 80 | - // line 13 | ||
| 81 | - echo " "; | ||
| 82 | - if ((twig_get_attribute($this->env, $this->source, $context["product"], "rating", [], "any", false, false, false, 13) < $context["i"])) { | ||
| 83 | - // line 14 | ||
| 84 | - echo " <span class=\"fa fa-stack\"><i class=\"fa fa-star-o fa-stack-2x\"></i></span> | ||
| 85 | - "; | ||
| 86 | - } else { | ||
| 87 | - // line 16 | ||
| 88 | - 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> | ||
| 89 | - "; | ||
| 90 | - } | ||
| 91 | - // line 18 | ||
| 92 | - echo " "; | ||
| 93 | - } | ||
| 94 | - $_parent = $context['_parent']; | ||
| 95 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']); | ||
| 96 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 97 | - // line 19 | ||
| 98 | - echo " </div> | ||
| 99 | - "; | ||
| 100 | - } | ||
| 101 | - // line 21 | ||
| 102 | - echo " "; | ||
| 103 | - if (twig_get_attribute($this->env, $this->source, $context["product"], "price", [], "any", false, false, false, 21)) { | ||
| 104 | - // line 22 | ||
| 105 | - echo " <p class=\"price\"> | ||
| 106 | - "; | ||
| 107 | - // line 23 | ||
| 108 | - if ( !twig_get_attribute($this->env, $this->source, $context["product"], "special", [], "any", false, false, false, 23)) { | ||
| 109 | - // line 24 | ||
| 110 | - echo " "; | ||
| 111 | - echo twig_get_attribute($this->env, $this->source, $context["product"], "price", [], "any", false, false, false, 24); | ||
| 112 | - echo " | ||
| 113 | - "; | ||
| 114 | - } else { | ||
| 115 | - // line 26 | ||
| 116 | - echo " <span class=\"price-new\">"; | ||
| 117 | - echo twig_get_attribute($this->env, $this->source, $context["product"], "special", [], "any", false, false, false, 26); | ||
| 118 | - echo "</span> <span class=\"price-old\">"; | ||
| 119 | - echo twig_get_attribute($this->env, $this->source, $context["product"], "price", [], "any", false, false, false, 26); | ||
| 120 | - echo "</span> | ||
| 121 | - "; | ||
| 122 | - } | ||
| 123 | - // line 28 | ||
| 124 | - echo " "; | ||
| 125 | - if (twig_get_attribute($this->env, $this->source, $context["product"], "tax", [], "any", false, false, false, 28)) { | ||
| 126 | - // line 29 | ||
| 127 | - echo " <span class=\"price-tax\">"; | ||
| 128 | - echo ($context["text_tax"] ?? null); | ||
| 129 | - echo " "; | ||
| 130 | - echo twig_get_attribute($this->env, $this->source, $context["product"], "tax", [], "any", false, false, false, 29); | ||
| 131 | - echo "</span> | ||
| 132 | - "; | ||
| 133 | - } | ||
| 134 | - // line 31 | ||
| 135 | - echo " </p> | ||
| 136 | - "; | ||
| 137 | - } | ||
| 138 | - // line 33 | ||
| 139 | - echo " </div> | ||
| 140 | - <div class=\"button-group\"> | ||
| 141 | - <button type=\"button\" onclick=\"cart.add('"; | ||
| 142 | - // line 35 | ||
| 143 | - echo twig_get_attribute($this->env, $this->source, $context["product"], "product_id", [], "any", false, false, false, 35); | ||
| 144 | - echo "');\"><i class=\"fa fa-shopping-cart\"></i> <span class=\"hidden-xs hidden-sm hidden-md\">"; | ||
| 145 | - echo ($context["button_cart"] ?? null); | ||
| 146 | - echo "</span></button> | ||
| 147 | - <button type=\"button\" data-toggle=\"tooltip\" title=\""; | ||
| 148 | - // line 36 | ||
| 149 | - echo ($context["button_wishlist"] ?? null); | ||
| 150 | - echo "\" onclick=\"wishlist.add('"; | ||
| 151 | - echo twig_get_attribute($this->env, $this->source, $context["product"], "product_id", [], "any", false, false, false, 36); | ||
| 152 | - echo "');\"><i class=\"fa fa-heart\"></i></button> | ||
| 153 | - <button type=\"button\" data-toggle=\"tooltip\" title=\""; | ||
| 154 | - // line 37 | ||
| 155 | - echo ($context["button_compare"] ?? null); | ||
| 156 | - echo "\" onclick=\"compare.add('"; | ||
| 157 | - echo twig_get_attribute($this->env, $this->source, $context["product"], "product_id", [], "any", false, false, false, 37); | ||
| 158 | - echo "');\"><i class=\"fa fa-exchange\"></i></button> | ||
| 159 | - </div> | ||
| 160 | - </div> | ||
| 161 | - </div> | ||
| 162 | - "; | ||
| 163 | - } | ||
| 164 | - $_parent = $context['_parent']; | ||
| 165 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['product'], $context['_parent'], $context['loop']); | ||
| 166 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 167 | - // line 42 | ||
| 168 | - echo "</div> | ||
| 169 | -"; | ||
| 170 | - } | ||
| 171 | - | ||
| 172 | - public function getTemplateName() | ||
| 173 | - { | ||
| 174 | - return "default/template/extension/module/featured.twig"; | ||
| 175 | - } | ||
| 176 | - | ||
| 177 | - public function isTraitable() | ||
| 178 | - { | ||
| 179 | - return false; | ||
| 180 | - } | ||
| 181 | - | ||
| 182 | - public function getDebugInfo() | ||
| 183 | - { | ||
| 184 | - return array ( 168 => 42, 155 => 37, 149 => 36, 143 => 35, 139 => 33, 135 => 31, 127 => 29, 124 => 28, 116 => 26, 110 => 24, 108 => 23, 105 => 22, 102 => 21, 98 => 19, 92 => 18, 88 => 16, 84 => 14, 81 => 13, 77 => 12, 74 => 11, 72 => 10, 68 => 9, 62 => 8, 51 => 6, 47 => 4, 43 => 3, 37 => 1,); | ||
| 185 | - } | ||
| 186 | - | ||
| 187 | - public function getSourceContext() | ||
| 188 | - { | ||
| 189 | - return new Source("", "default/template/extension/module/featured.twig", ""); | ||
| 190 | - } | ||
| 191 | -} |
| 1 | -<?php | ||
| 2 | - | ||
| 3 | -use Twig\Environment; | ||
| 4 | -use Twig\Error\LoaderError; | ||
| 5 | -use Twig\Error\RuntimeError; | ||
| 6 | -use Twig\Extension\CoreExtension; | ||
| 7 | -use Twig\Extension\SandboxExtension; | ||
| 8 | -use Twig\Markup; | ||
| 9 | -use Twig\Sandbox\SecurityError; | ||
| 10 | -use Twig\Sandbox\SecurityNotAllowedTagError; | ||
| 11 | -use Twig\Sandbox\SecurityNotAllowedFilterError; | ||
| 12 | -use Twig\Sandbox\SecurityNotAllowedFunctionError; | ||
| 13 | -use Twig\Source; | ||
| 14 | -use Twig\Template; | ||
| 15 | - | ||
| 16 | -/* default/template/extension/module/featured.twig */ | ||
| 17 | -class __TwigTemplate_83bfbef6815bf06560c4a9255f06f0b6 extends Template | ||
| 18 | -{ | ||
| 19 | - private $source; | ||
| 20 | - private $macros = []; | ||
| 21 | - | ||
| 22 | - public function __construct(Environment $env) | ||
| 23 | - { | ||
| 24 | - parent::__construct($env); | ||
| 25 | - | ||
| 26 | - $this->source = $this->getSourceContext(); | ||
| 27 | - | ||
| 28 | - $this->parent = false; | ||
| 29 | - | ||
| 30 | - $this->blocks = [ | ||
| 31 | - ]; | ||
| 32 | - } | ||
| 33 | - | ||
| 34 | - protected function doDisplay(array $context, array $blocks = []) | ||
| 35 | - { | ||
| 36 | - $macros = $this->macros; | ||
| 37 | - // line 1 | ||
| 38 | - yield "<h3>"; | ||
| 39 | - yield ($context["heading_title"] ?? null); | ||
| 40 | - yield "</h3> | ||
| 41 | -<div class=\"row\"> | ||
| 42 | - "; | ||
| 43 | - // line 3 | ||
| 44 | - $context['_parent'] = $context; | ||
| 45 | - $context['_seq'] = CoreExtension::ensureTraversable(($context["products"] ?? null)); | ||
| 46 | - foreach ($context['_seq'] as $context["_key"] => $context["product"]) { | ||
| 47 | - // line 4 | ||
| 48 | - yield " <div class=\"product-layout col-lg-3 col-md-3 col-sm-6 col-xs-12\"> | ||
| 49 | - <div class=\"product-thumb transition\"> | ||
| 50 | - <div class=\"image\"><a href=\""; | ||
| 51 | - // line 6 | ||
| 52 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["product"], "href", [], "any", false, false, false, 6); | ||
| 53 | - yield "\"><img src=\""; | ||
| 54 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["product"], "thumb", [], "any", false, false, false, 6); | ||
| 55 | - yield "\" alt=\""; | ||
| 56 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["product"], "name", [], "any", false, false, false, 6); | ||
| 57 | - yield "\" title=\""; | ||
| 58 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["product"], "name", [], "any", false, false, false, 6); | ||
| 59 | - yield "\" class=\"img-responsive\" /></a></div> | ||
| 60 | - <div class=\"caption\"> | ||
| 61 | - <h4><a href=\""; | ||
| 62 | - // line 8 | ||
| 63 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["product"], "href", [], "any", false, false, false, 8); | ||
| 64 | - yield "\">"; | ||
| 65 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["product"], "name", [], "any", false, false, false, 8); | ||
| 66 | - yield "</a></h4> | ||
| 67 | - <p>"; | ||
| 68 | - // line 9 | ||
| 69 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["product"], "description", [], "any", false, false, false, 9); | ||
| 70 | - yield "</p> | ||
| 71 | - "; | ||
| 72 | - // line 10 | ||
| 73 | - if (CoreExtension::getAttribute($this->env, $this->source, $context["product"], "rating", [], "any", false, false, false, 10)) { | ||
| 74 | - // line 11 | ||
| 75 | - yield " <div class=\"rating\"> | ||
| 76 | - "; | ||
| 77 | - // line 12 | ||
| 78 | - $context['_parent'] = $context; | ||
| 79 | - $context['_seq'] = CoreExtension::ensureTraversable(5); | ||
| 80 | - foreach ($context['_seq'] as $context["_key"] => $context["i"]) { | ||
| 81 | - // line 13 | ||
| 82 | - yield " "; | ||
| 83 | - if ((CoreExtension::getAttribute($this->env, $this->source, $context["product"], "rating", [], "any", false, false, false, 13) < $context["i"])) { | ||
| 84 | - // line 14 | ||
| 85 | - yield " <span class=\"fa fa-stack\"><i class=\"fa fa-star-o fa-stack-2x\"></i></span> | ||
| 86 | - "; | ||
| 87 | - } else { | ||
| 88 | - // line 16 | ||
| 89 | - yield " <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> | ||
| 90 | - "; | ||
| 91 | - } | ||
| 92 | - // line 18 | ||
| 93 | - yield " "; | ||
| 94 | - } | ||
| 95 | - $_parent = $context['_parent']; | ||
| 96 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']); | ||
| 97 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 98 | - // line 19 | ||
| 99 | - yield " </div> | ||
| 100 | - "; | ||
| 101 | - } | ||
| 102 | - // line 21 | ||
| 103 | - yield " "; | ||
| 104 | - if (CoreExtension::getAttribute($this->env, $this->source, $context["product"], "price", [], "any", false, false, false, 21)) { | ||
| 105 | - // line 22 | ||
| 106 | - yield " <p class=\"price\"> | ||
| 107 | - "; | ||
| 108 | - // line 23 | ||
| 109 | - if ( !CoreExtension::getAttribute($this->env, $this->source, $context["product"], "special", [], "any", false, false, false, 23)) { | ||
| 110 | - // line 24 | ||
| 111 | - yield " "; | ||
| 112 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["product"], "price", [], "any", false, false, false, 24); | ||
| 113 | - yield " | ||
| 114 | - "; | ||
| 115 | - } else { | ||
| 116 | - // line 26 | ||
| 117 | - yield " <span class=\"price-new\">"; | ||
| 118 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["product"], "special", [], "any", false, false, false, 26); | ||
| 119 | - yield "</span> <span class=\"price-old\">"; | ||
| 120 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["product"], "price", [], "any", false, false, false, 26); | ||
| 121 | - yield "</span> | ||
| 122 | - "; | ||
| 123 | - } | ||
| 124 | - // line 28 | ||
| 125 | - yield " "; | ||
| 126 | - if (CoreExtension::getAttribute($this->env, $this->source, $context["product"], "tax", [], "any", false, false, false, 28)) { | ||
| 127 | - // line 29 | ||
| 128 | - yield " <span class=\"price-tax\">"; | ||
| 129 | - yield ($context["text_tax"] ?? null); | ||
| 130 | - yield " "; | ||
| 131 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["product"], "tax", [], "any", false, false, false, 29); | ||
| 132 | - yield "</span> | ||
| 133 | - "; | ||
| 134 | - } | ||
| 135 | - // line 31 | ||
| 136 | - yield " </p> | ||
| 137 | - "; | ||
| 138 | - } | ||
| 139 | - // line 33 | ||
| 140 | - yield " </div> | ||
| 141 | - <div class=\"button-group\"> | ||
| 142 | - <button type=\"button\" onclick=\"cart.add('"; | ||
| 143 | - // line 35 | ||
| 144 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["product"], "product_id", [], "any", false, false, false, 35); | ||
| 145 | - yield "');\"><i class=\"fa fa-shopping-cart\"></i> <span class=\"hidden-xs hidden-sm hidden-md\">"; | ||
| 146 | - yield ($context["button_cart"] ?? null); | ||
| 147 | - yield "</span></button> | ||
| 148 | - <button type=\"button\" data-toggle=\"tooltip\" title=\""; | ||
| 149 | - // line 36 | ||
| 150 | - yield ($context["button_wishlist"] ?? null); | ||
| 151 | - yield "\" onclick=\"wishlist.add('"; | ||
| 152 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["product"], "product_id", [], "any", false, false, false, 36); | ||
| 153 | - yield "');\"><i class=\"fa fa-heart\"></i></button> | ||
| 154 | - <button type=\"button\" data-toggle=\"tooltip\" title=\""; | ||
| 155 | - // line 37 | ||
| 156 | - yield ($context["button_compare"] ?? null); | ||
| 157 | - yield "\" onclick=\"compare.add('"; | ||
| 158 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["product"], "product_id", [], "any", false, false, false, 37); | ||
| 159 | - yield "');\"><i class=\"fa fa-exchange\"></i></button> | ||
| 160 | - </div> | ||
| 161 | - </div> | ||
| 162 | - </div> | ||
| 163 | - "; | ||
| 164 | - } | ||
| 165 | - $_parent = $context['_parent']; | ||
| 166 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['product'], $context['_parent'], $context['loop']); | ||
| 167 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 168 | - // line 42 | ||
| 169 | - yield "</div> | ||
| 170 | -"; | ||
| 171 | - return; yield ''; | ||
| 172 | - } | ||
| 173 | - | ||
| 174 | - /** | ||
| 175 | - * @codeCoverageIgnore | ||
| 176 | - */ | ||
| 177 | - public function getTemplateName() | ||
| 178 | - { | ||
| 179 | - return "default/template/extension/module/featured.twig"; | ||
| 180 | - } | ||
| 181 | - | ||
| 182 | - /** | ||
| 183 | - * @codeCoverageIgnore | ||
| 184 | - */ | ||
| 185 | - public function isTraitable() | ||
| 186 | - { | ||
| 187 | - return false; | ||
| 188 | - } | ||
| 189 | - | ||
| 190 | - /** | ||
| 191 | - * @codeCoverageIgnore | ||
| 192 | - */ | ||
| 193 | - public function getDebugInfo() | ||
| 194 | - { | ||
| 195 | - return array ( 169 => 42, 156 => 37, 150 => 36, 144 => 35, 140 => 33, 136 => 31, 128 => 29, 125 => 28, 117 => 26, 111 => 24, 109 => 23, 106 => 22, 103 => 21, 99 => 19, 93 => 18, 89 => 16, 85 => 14, 82 => 13, 78 => 12, 75 => 11, 73 => 10, 69 => 9, 63 => 8, 52 => 6, 48 => 4, 44 => 3, 38 => 1,); | ||
| 196 | - } | ||
| 197 | - | ||
| 198 | - public function getSourceContext() | ||
| 199 | - { | ||
| 200 | - return new Source("", "default/template/extension/module/featured.twig", ""); | ||
| 201 | - } | ||
| 202 | -} |
| 1 | -<?php | ||
| 2 | - | ||
| 3 | -use Twig\Environment; | ||
| 4 | -use Twig\Error\LoaderError; | ||
| 5 | -use Twig\Error\RuntimeError; | ||
| 6 | -use Twig\Extension\CoreExtension; | ||
| 7 | -use Twig\Extension\SandboxExtension; | ||
| 8 | -use Twig\Markup; | ||
| 9 | -use Twig\Sandbox\SecurityError; | ||
| 10 | -use Twig\Sandbox\SecurityNotAllowedTagError; | ||
| 11 | -use Twig\Sandbox\SecurityNotAllowedFilterError; | ||
| 12 | -use Twig\Sandbox\SecurityNotAllowedFunctionError; | ||
| 13 | -use Twig\Source; | ||
| 14 | -use Twig\Template; | ||
| 15 | - | ||
| 16 | -/* default/template/common/cart.twig */ | ||
| 17 | -class __TwigTemplate_1689113732a81c49ad473b69c9220dbd extends Template | ||
| 18 | -{ | ||
| 19 | - private $source; | ||
| 20 | - private $macros = []; | ||
| 21 | - | ||
| 22 | - public function __construct(Environment $env) | ||
| 23 | - { | ||
| 24 | - parent::__construct($env); | ||
| 25 | - | ||
| 26 | - $this->source = $this->getSourceContext(); | ||
| 27 | - | ||
| 28 | - $this->parent = false; | ||
| 29 | - | ||
| 30 | - $this->blocks = [ | ||
| 31 | - ]; | ||
| 32 | - } | ||
| 33 | - | ||
| 34 | - protected function doDisplay(array $context, array $blocks = []) | ||
| 35 | - { | ||
| 36 | - $macros = $this->macros; | ||
| 37 | - // line 1 | ||
| 38 | - yield "<div id=\"cart\" class=\"btn-group btn-block\"> | ||
| 39 | - <button type=\"button\" data-toggle=\"dropdown\" data-loading-text=\""; | ||
| 40 | - // line 2 | ||
| 41 | - yield ($context["text_loading"] ?? null); | ||
| 42 | - yield "\" class=\"btn btn-inverse btn-block btn-lg dropdown-toggle\"><i class=\"fa fa-shopping-cart\"></i> <span id=\"cart-total\">"; | ||
| 43 | - yield ($context["text_items"] ?? null); | ||
| 44 | - yield "</span></button> | ||
| 45 | - <ul class=\"dropdown-menu pull-right\"> | ||
| 46 | - "; | ||
| 47 | - // line 4 | ||
| 48 | - if ((($context["products"] ?? null) || ($context["vouchers"] ?? null))) { | ||
| 49 | - // line 5 | ||
| 50 | - yield " <li> | ||
| 51 | - <table class=\"table table-striped\"> | ||
| 52 | - "; | ||
| 53 | - // line 7 | ||
| 54 | - $context['_parent'] = $context; | ||
| 55 | - $context['_seq'] = CoreExtension::ensureTraversable(($context["products"] ?? null)); | ||
| 56 | - foreach ($context['_seq'] as $context["_key"] => $context["product"]) { | ||
| 57 | - // line 8 | ||
| 58 | - yield " <tr> | ||
| 59 | - <td class=\"text-center\">"; | ||
| 60 | - // line 9 | ||
| 61 | - if (CoreExtension::getAttribute($this->env, $this->source, $context["product"], "thumb", [], "any", false, false, false, 9)) { | ||
| 62 | - yield " <a href=\""; | ||
| 63 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["product"], "href", [], "any", false, false, false, 9); | ||
| 64 | - yield "\"><img src=\""; | ||
| 65 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["product"], "thumb", [], "any", false, false, false, 9); | ||
| 66 | - yield "\" alt=\""; | ||
| 67 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["product"], "name", [], "any", false, false, false, 9); | ||
| 68 | - yield "\" title=\""; | ||
| 69 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["product"], "name", [], "any", false, false, false, 9); | ||
| 70 | - yield "\" class=\"img-thumbnail\" /></a> "; | ||
| 71 | - } | ||
| 72 | - yield "</td> | ||
| 73 | - <td class=\"text-left\"><a href=\""; | ||
| 74 | - // line 10 | ||
| 75 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["product"], "href", [], "any", false, false, false, 10); | ||
| 76 | - yield "\">"; | ||
| 77 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["product"], "name", [], "any", false, false, false, 10); | ||
| 78 | - yield "</a> "; | ||
| 79 | - if (CoreExtension::getAttribute($this->env, $this->source, $context["product"], "option", [], "any", false, false, false, 10)) { | ||
| 80 | - // line 11 | ||
| 81 | - yield " "; | ||
| 82 | - $context['_parent'] = $context; | ||
| 83 | - $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, $context["product"], "option", [], "any", false, false, false, 11)); | ||
| 84 | - foreach ($context['_seq'] as $context["_key"] => $context["option"]) { | ||
| 85 | - yield " <br /> | ||
| 86 | - - <small>"; | ||
| 87 | - // line 12 | ||
| 88 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["option"], "name", [], "any", false, false, false, 12); | ||
| 89 | - yield " "; | ||
| 90 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["option"], "value", [], "any", false, false, false, 12); | ||
| 91 | - yield "</small> "; | ||
| 92 | - } | ||
| 93 | - $_parent = $context['_parent']; | ||
| 94 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['option'], $context['_parent'], $context['loop']); | ||
| 95 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 96 | - // line 13 | ||
| 97 | - yield " "; | ||
| 98 | - } | ||
| 99 | - // line 14 | ||
| 100 | - yield " "; | ||
| 101 | - if (CoreExtension::getAttribute($this->env, $this->source, $context["product"], "recurring", [], "any", false, false, false, 14)) { | ||
| 102 | - yield " <br /> | ||
| 103 | - - <small>"; | ||
| 104 | - // line 15 | ||
| 105 | - yield ($context["text_recurring"] ?? null); | ||
| 106 | - yield " "; | ||
| 107 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["product"], "recurring", [], "any", false, false, false, 15); | ||
| 108 | - yield "</small> "; | ||
| 109 | - } | ||
| 110 | - yield "</td> | ||
| 111 | - <td class=\"text-right\">x "; | ||
| 112 | - // line 16 | ||
| 113 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["product"], "quantity", [], "any", false, false, false, 16); | ||
| 114 | - yield "</td> | ||
| 115 | - <td class=\"text-right\">"; | ||
| 116 | - // line 17 | ||
| 117 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["product"], "total", [], "any", false, false, false, 17); | ||
| 118 | - yield "</td> | ||
| 119 | - <td class=\"text-center\"><button type=\"button\" onclick=\"cart.remove('"; | ||
| 120 | - // line 18 | ||
| 121 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["product"], "cart_id", [], "any", false, false, false, 18); | ||
| 122 | - yield "');\" title=\""; | ||
| 123 | - yield ($context["button_remove"] ?? null); | ||
| 124 | - yield "\" class=\"btn btn-danger btn-xs\"><i class=\"fa fa-times\"></i></button></td> | ||
| 125 | - </tr> | ||
| 126 | - "; | ||
| 127 | - } | ||
| 128 | - $_parent = $context['_parent']; | ||
| 129 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['product'], $context['_parent'], $context['loop']); | ||
| 130 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 131 | - // line 21 | ||
| 132 | - yield " "; | ||
| 133 | - $context['_parent'] = $context; | ||
| 134 | - $context['_seq'] = CoreExtension::ensureTraversable(($context["vouchers"] ?? null)); | ||
| 135 | - foreach ($context['_seq'] as $context["_key"] => $context["voucher"]) { | ||
| 136 | - // line 22 | ||
| 137 | - yield " <tr> | ||
| 138 | - <td class=\"text-center\"></td> | ||
| 139 | - <td class=\"text-left\">"; | ||
| 140 | - // line 24 | ||
| 141 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["voucher"], "description", [], "any", false, false, false, 24); | ||
| 142 | - yield "</td> | ||
| 143 | - <td class=\"text-right\">x 1</td> | ||
| 144 | - <td class=\"text-right\">"; | ||
| 145 | - // line 26 | ||
| 146 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["voucher"], "amount", [], "any", false, false, false, 26); | ||
| 147 | - yield "</td> | ||
| 148 | - <td class=\"text-center text-danger\"><button type=\"button\" onclick=\"voucher.remove('"; | ||
| 149 | - // line 27 | ||
| 150 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["voucher"], "key", [], "any", false, false, false, 27); | ||
| 151 | - yield "');\" title=\""; | ||
| 152 | - yield ($context["button_remove"] ?? null); | ||
| 153 | - yield "\" class=\"btn btn-danger btn-xs\"><i class=\"fa fa-times\"></i></button></td> | ||
| 154 | - </tr> | ||
| 155 | - "; | ||
| 156 | - } | ||
| 157 | - $_parent = $context['_parent']; | ||
| 158 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['voucher'], $context['_parent'], $context['loop']); | ||
| 159 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 160 | - // line 30 | ||
| 161 | - yield " </table> | ||
| 162 | - </li> | ||
| 163 | - <li> | ||
| 164 | - <div> | ||
| 165 | - <table class=\"table table-bordered\"> | ||
| 166 | - "; | ||
| 167 | - // line 35 | ||
| 168 | - $context['_parent'] = $context; | ||
| 169 | - $context['_seq'] = CoreExtension::ensureTraversable(($context["totals"] ?? null)); | ||
| 170 | - foreach ($context['_seq'] as $context["_key"] => $context["total"]) { | ||
| 171 | - // line 36 | ||
| 172 | - yield " <tr> | ||
| 173 | - <td class=\"text-right\"><strong>"; | ||
| 174 | - // line 37 | ||
| 175 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["total"], "title", [], "any", false, false, false, 37); | ||
| 176 | - yield "</strong></td> | ||
| 177 | - <td class=\"text-right\">"; | ||
| 178 | - // line 38 | ||
| 179 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["total"], "text", [], "any", false, false, false, 38); | ||
| 180 | - yield "</td> | ||
| 181 | - </tr> | ||
| 182 | - "; | ||
| 183 | - } | ||
| 184 | - $_parent = $context['_parent']; | ||
| 185 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['total'], $context['_parent'], $context['loop']); | ||
| 186 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 187 | - // line 41 | ||
| 188 | - yield " </table> | ||
| 189 | - <p class=\"text-right\"><a href=\""; | ||
| 190 | - // line 42 | ||
| 191 | - yield ($context["cart"] ?? null); | ||
| 192 | - yield "\"><strong><i class=\"fa fa-shopping-cart\"></i> "; | ||
| 193 | - yield ($context["text_cart"] ?? null); | ||
| 194 | - yield "</strong></a> <a href=\""; | ||
| 195 | - yield ($context["checkout"] ?? null); | ||
| 196 | - yield "\"><strong><i class=\"fa fa-share\"></i> "; | ||
| 197 | - yield ($context["text_checkout"] ?? null); | ||
| 198 | - yield "</strong></a></p> | ||
| 199 | - </div> | ||
| 200 | - </li> | ||
| 201 | - "; | ||
| 202 | - } else { | ||
| 203 | - // line 46 | ||
| 204 | - yield " <li> | ||
| 205 | - <p class=\"text-center\">"; | ||
| 206 | - // line 47 | ||
| 207 | - yield ($context["text_empty"] ?? null); | ||
| 208 | - yield "</p> | ||
| 209 | - </li> | ||
| 210 | - "; | ||
| 211 | - } | ||
| 212 | - // line 50 | ||
| 213 | - yield " </ul> | ||
| 214 | -</div> | ||
| 215 | -"; | ||
| 216 | - return; yield ''; | ||
| 217 | - } | ||
| 218 | - | ||
| 219 | - /** | ||
| 220 | - * @codeCoverageIgnore | ||
| 221 | - */ | ||
| 222 | - public function getTemplateName() | ||
| 223 | - { | ||
| 224 | - return "default/template/common/cart.twig"; | ||
| 225 | - } | ||
| 226 | - | ||
| 227 | - /** | ||
| 228 | - * @codeCoverageIgnore | ||
| 229 | - */ | ||
| 230 | - public function isTraitable() | ||
| 231 | - { | ||
| 232 | - return false; | ||
| 233 | - } | ||
| 234 | - | ||
| 235 | - /** | ||
| 236 | - * @codeCoverageIgnore | ||
| 237 | - */ | ||
| 238 | - public function getDebugInfo() | ||
| 239 | - { | ||
| 240 | - return array ( 213 => 50, 207 => 47, 204 => 46, 191 => 42, 188 => 41, 179 => 38, 175 => 37, 172 => 36, 168 => 35, 161 => 30, 150 => 27, 146 => 26, 141 => 24, 137 => 22, 132 => 21, 121 => 18, 117 => 17, 113 => 16, 105 => 15, 100 => 14, 97 => 13, 88 => 12, 81 => 11, 75 => 10, 61 => 9, 58 => 8, 54 => 7, 50 => 5, 48 => 4, 41 => 2, 38 => 1,); | ||
| 241 | - } | ||
| 242 | - | ||
| 243 | - public function getSourceContext() | ||
| 244 | - { | ||
| 245 | - return new Source("", "default/template/common/cart.twig", ""); | ||
| 246 | - } | ||
| 247 | -} |
strg/cache/template/21/21619497ff43dab6397ce80300fba2aea27d1425391cb23cc22a011de4baadee.php
deleted
100644 → 0
| 1 | -<?php | ||
| 2 | - | ||
| 3 | -use Twig\Environment; | ||
| 4 | -use Twig\Error\LoaderError; | ||
| 5 | -use Twig\Error\RuntimeError; | ||
| 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 | - | ||
| 15 | -/* default/template/common/content_top.twig */ | ||
| 16 | -class __TwigTemplate_cd031aef338eff64aafe64f5009a200ae7b66868fce497eca2c8bd2013135d85 extends \Twig\Template | ||
| 17 | -{ | ||
| 18 | - private $source; | ||
| 19 | - private $macros = []; | ||
| 20 | - | ||
| 21 | - public function __construct(Environment $env) | ||
| 22 | - { | ||
| 23 | - parent::__construct($env); | ||
| 24 | - | ||
| 25 | - $this->source = $this->getSourceContext(); | ||
| 26 | - | ||
| 27 | - $this->parent = false; | ||
| 28 | - | ||
| 29 | - $this->blocks = [ | ||
| 30 | - ]; | ||
| 31 | - } | ||
| 32 | - | ||
| 33 | - protected function doDisplay(array $context, array $blocks = []) | ||
| 34 | - { | ||
| 35 | - $macros = $this->macros; | ||
| 36 | - // line 1 | ||
| 37 | - $context['_parent'] = $context; | ||
| 38 | - $context['_seq'] = twig_ensure_traversable(($context["modules"] ?? null)); | ||
| 39 | - foreach ($context['_seq'] as $context["_key"] => $context["module"]) { | ||
| 40 | - // line 2 | ||
| 41 | - echo $context["module"]; | ||
| 42 | - echo " | ||
| 43 | -"; | ||
| 44 | - } | ||
| 45 | - $_parent = $context['_parent']; | ||
| 46 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['module'], $context['_parent'], $context['loop']); | ||
| 47 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 48 | - } | ||
| 49 | - | ||
| 50 | - public function getTemplateName() | ||
| 51 | - { | ||
| 52 | - return "default/template/common/content_top.twig"; | ||
| 53 | - } | ||
| 54 | - | ||
| 55 | - public function isTraitable() | ||
| 56 | - { | ||
| 57 | - return false; | ||
| 58 | - } | ||
| 59 | - | ||
| 60 | - public function getDebugInfo() | ||
| 61 | - { | ||
| 62 | - return array ( 41 => 2, 37 => 1,); | ||
| 63 | - } | ||
| 64 | - | ||
| 65 | - public function getSourceContext() | ||
| 66 | - { | ||
| 67 | - return new Source("", "default/template/common/content_top.twig", ""); | ||
| 68 | - } | ||
| 69 | -} |
| 1 | -<?php | ||
| 2 | - | ||
| 3 | -use Twig\Environment; | ||
| 4 | -use Twig\Error\LoaderError; | ||
| 5 | -use Twig\Error\RuntimeError; | ||
| 6 | -use Twig\Extension\CoreExtension; | ||
| 7 | -use Twig\Extension\SandboxExtension; | ||
| 8 | -use Twig\Markup; | ||
| 9 | -use Twig\Sandbox\SecurityError; | ||
| 10 | -use Twig\Sandbox\SecurityNotAllowedTagError; | ||
| 11 | -use Twig\Sandbox\SecurityNotAllowedFilterError; | ||
| 12 | -use Twig\Sandbox\SecurityNotAllowedFunctionError; | ||
| 13 | -use Twig\Source; | ||
| 14 | -use Twig\Template; | ||
| 15 | - | ||
| 16 | -/* catalog/category_list.twig */ | ||
| 17 | -class __TwigTemplate_d1a959a3f3ddc9efd9fd01861e8e554d extends Template | ||
| 18 | -{ | ||
| 19 | - private $source; | ||
| 20 | - private $macros = []; | ||
| 21 | - | ||
| 22 | - public function __construct(Environment $env) | ||
| 23 | - { | ||
| 24 | - parent::__construct($env); | ||
| 25 | - | ||
| 26 | - $this->source = $this->getSourceContext(); | ||
| 27 | - | ||
| 28 | - $this->parent = false; | ||
| 29 | - | ||
| 30 | - $this->blocks = [ | ||
| 31 | - ]; | ||
| 32 | - } | ||
| 33 | - | ||
| 34 | - protected function doDisplay(array $context, array $blocks = []) | ||
| 35 | - { | ||
| 36 | - $macros = $this->macros; | ||
| 37 | - // line 1 | ||
| 38 | - yield ($context["header"] ?? null); | ||
| 39 | - yield ($context["column_left"] ?? null); | ||
| 40 | - yield " | ||
| 41 | -<div id=\"content\"> | ||
| 42 | - <div class=\"page-header\"> | ||
| 43 | - <div class=\"container-fluid\"> | ||
| 44 | - <div class=\"pull-right\"><a href=\""; | ||
| 45 | - // line 5 | ||
| 46 | - yield ($context["add"] ?? null); | ||
| 47 | - yield "\" data-toggle=\"tooltip\" title=\""; | ||
| 48 | - yield ($context["button_add"] ?? null); | ||
| 49 | - yield "\" class=\"btn btn-primary\"><i class=\"fa fa-plus\"></i></a> | ||
| 50 | -\t <a href=\""; | ||
| 51 | - // line 6 | ||
| 52 | - yield ($context["repair"] ?? null); | ||
| 53 | - yield "\" data-toggle=\"tooltip\" title=\""; | ||
| 54 | - yield ($context["button_rebuild"] ?? null); | ||
| 55 | - yield "\" class=\"btn btn-default\"><i class=\"fa fa-refresh\"></i></a> | ||
| 56 | -\t\t<button type=\"submit\" form=\"form-category\" formaction=\""; | ||
| 57 | - // line 7 | ||
| 58 | - yield ($context["enabled"] ?? null); | ||
| 59 | - yield "\" data-toggle=\"tooltip\" title=\""; | ||
| 60 | - yield ($context["button_enable"] ?? null); | ||
| 61 | - yield "\" class=\"btn btn-default\"><i class=\"fa fa-play\"></i></button> | ||
| 62 | -\t\t<button type=\"submit\" form=\"form-category\" formaction=\""; | ||
| 63 | - // line 8 | ||
| 64 | - yield ($context["disabled"] ?? null); | ||
| 65 | - yield "\" data-toggle=\"tooltip\" title=\""; | ||
| 66 | - yield ($context["button_disable"] ?? null); | ||
| 67 | - yield "\" class=\"btn btn-default\"><i class=\"fa fa-pause\"></i></button> | ||
| 68 | -\t\t<button type=\"button\" form=\"form-category\" formaction=\""; | ||
| 69 | - // line 9 | ||
| 70 | - yield ($context["delete"] ?? null); | ||
| 71 | - yield "\" data-toggle=\"tooltip\" title=\""; | ||
| 72 | - yield ($context["button_delete"] ?? null); | ||
| 73 | - yield "\" class=\"btn btn-danger\" onclick=\"confirm('"; | ||
| 74 | - yield ($context["text_confirm"] ?? null); | ||
| 75 | - yield "') ? \$('#form-category').submit() : false;\"><i class=\"fa fa-trash-o\"></i></button> | ||
| 76 | - </div> | ||
| 77 | - <h1>"; | ||
| 78 | - // line 11 | ||
| 79 | - yield ($context["heading_title"] ?? null); | ||
| 80 | - yield "</h1> | ||
| 81 | - <ul class=\"breadcrumb\"> | ||
| 82 | - "; | ||
| 83 | - // line 13 | ||
| 84 | - $context['_parent'] = $context; | ||
| 85 | - $context['_seq'] = CoreExtension::ensureTraversable(($context["breadcrumbs"] ?? null)); | ||
| 86 | - foreach ($context['_seq'] as $context["_key"] => $context["breadcrumb"]) { | ||
| 87 | - // line 14 | ||
| 88 | - yield " <li><a href=\""; | ||
| 89 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["breadcrumb"], "href", [], "any", false, false, false, 14); | ||
| 90 | - yield "\">"; | ||
| 91 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["breadcrumb"], "text", [], "any", false, false, false, 14); | ||
| 92 | - yield "</a></li> | ||
| 93 | - "; | ||
| 94 | - } | ||
| 95 | - $_parent = $context['_parent']; | ||
| 96 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['breadcrumb'], $context['_parent'], $context['loop']); | ||
| 97 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 98 | - // line 16 | ||
| 99 | - yield " </ul> | ||
| 100 | - </div> | ||
| 101 | - </div> | ||
| 102 | - <div class=\"container-fluid\"> | ||
| 103 | - "; | ||
| 104 | - // line 20 | ||
| 105 | - if (($context["error_warning"] ?? null)) { | ||
| 106 | - // line 21 | ||
| 107 | - yield " <div class=\"alert alert-danger alert-dismissible\"><i class=\"fa fa-exclamation-circle\"></i> "; | ||
| 108 | - yield ($context["error_warning"] ?? null); | ||
| 109 | - yield " | ||
| 110 | - <button type=\"button\" class=\"close\" data-dismiss=\"alert\">×</button> | ||
| 111 | - </div> | ||
| 112 | - "; | ||
| 113 | - } | ||
| 114 | - // line 25 | ||
| 115 | - yield " "; | ||
| 116 | - if (($context["success"] ?? null)) { | ||
| 117 | - // line 26 | ||
| 118 | - yield " <div class=\"alert alert-success alert-dismissible\"><i class=\"fa fa-check-circle\"></i> "; | ||
| 119 | - yield ($context["success"] ?? null); | ||
| 120 | - yield " | ||
| 121 | - <button type=\"button\" class=\"close\" data-dismiss=\"alert\">×</button> | ||
| 122 | - </div> | ||
| 123 | - "; | ||
| 124 | - } | ||
| 125 | - // line 30 | ||
| 126 | - yield " <div class=\"panel panel-default\"> | ||
| 127 | - <div class=\"panel-heading\"> | ||
| 128 | - <h3 class=\"panel-title\"><i class=\"fa fa-list\"></i> "; | ||
| 129 | - // line 32 | ||
| 130 | - yield ($context["text_list"] ?? null); | ||
| 131 | - yield "</h3> | ||
| 132 | - </div> | ||
| 133 | - <div class=\"panel-body\"> | ||
| 134 | - <form action=\""; | ||
| 135 | - // line 35 | ||
| 136 | - yield ($context["delete"] ?? null); | ||
| 137 | - yield "\" method=\"post\" enctype=\"multipart/form-data\" id=\"form-category\"> | ||
| 138 | - <div class=\"table-responsive\"> | ||
| 139 | - <table class=\"table table-bordered table-hover\"> | ||
| 140 | - <thead> | ||
| 141 | - <tr> | ||
| 142 | - <td style=\"width: 1px;\" class=\"text-center\"><input type=\"checkbox\" onclick=\"\$('input[name*=\\'selected\\']').prop('checked', this.checked);\" /></td> | ||
| 143 | - <td class=\"text-left\">"; | ||
| 144 | - // line 41 | ||
| 145 | - yield ($context["column_name"] ?? null); | ||
| 146 | - yield "</td> | ||
| 147 | - <td class=\"text-right\">"; | ||
| 148 | - // line 42 | ||
| 149 | - yield ($context["column_sort_order"] ?? null); | ||
| 150 | - yield "</td> | ||
| 151 | -\t\t\t\t <td class=\"text-right\">"; | ||
| 152 | - // line 43 | ||
| 153 | - if ((($context["sort"] ?? null) == "noindex")) { | ||
| 154 | - // line 44 | ||
| 155 | - yield " <a href=\""; | ||
| 156 | - yield ($context["sort_noindex"] ?? null); | ||
| 157 | - yield "\" class=\""; | ||
| 158 | - yield Twig\Extension\CoreExtension::lower($this->env->getCharset(), ($context["order"] ?? null)); | ||
| 159 | - yield "\">"; | ||
| 160 | - yield ($context["column_noindex"] ?? null); | ||
| 161 | - yield "</a> | ||
| 162 | - "; | ||
| 163 | - } else { | ||
| 164 | - // line 46 | ||
| 165 | - yield " <a href=\""; | ||
| 166 | - yield ($context["sort_noindex"] ?? null); | ||
| 167 | - yield "\">"; | ||
| 168 | - yield ($context["column_noindex"] ?? null); | ||
| 169 | - yield "</a> | ||
| 170 | -\t\t\t\t\t"; | ||
| 171 | - } | ||
| 172 | - // line 47 | ||
| 173 | - yield "</td> | ||
| 174 | - <td class=\"text-right\">"; | ||
| 175 | - // line 48 | ||
| 176 | - yield ($context["column_action"] ?? null); | ||
| 177 | - yield "</td> | ||
| 178 | - </tr> | ||
| 179 | - </thead> | ||
| 180 | - <tbody> | ||
| 181 | - "; | ||
| 182 | - // line 52 | ||
| 183 | - if (($context["categories"] ?? null)) { | ||
| 184 | - // line 53 | ||
| 185 | - yield " "; | ||
| 186 | - $context['_parent'] = $context; | ||
| 187 | - $context['_seq'] = CoreExtension::ensureTraversable(($context["categories"] ?? null)); | ||
| 188 | - foreach ($context['_seq'] as $context["_key"] => $context["category"]) { | ||
| 189 | - // line 54 | ||
| 190 | - yield " <tr> | ||
| 191 | - <td class=\"text-center\">"; | ||
| 192 | - // line 55 | ||
| 193 | - if (CoreExtension::inFilter(CoreExtension::getAttribute($this->env, $this->source, $context["category"], "category_id", [], "any", false, false, false, 55), ($context["selected"] ?? null))) { | ||
| 194 | - // line 56 | ||
| 195 | - yield " <input type=\"checkbox\" name=\"selected[]\" value=\""; | ||
| 196 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["category"], "category_id", [], "any", false, false, false, 56); | ||
| 197 | - yield "\" checked=\"checked\" /> | ||
| 198 | - "; | ||
| 199 | - } else { | ||
| 200 | - // line 58 | ||
| 201 | - yield " <input type=\"checkbox\" name=\"selected[]\" value=\""; | ||
| 202 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["category"], "category_id", [], "any", false, false, false, 58); | ||
| 203 | - yield "\" /> | ||
| 204 | - "; | ||
| 205 | - } | ||
| 206 | - // line 59 | ||
| 207 | - yield "</td> | ||
| 208 | -\t\t\t\t "; | ||
| 209 | - // line 60 | ||
| 210 | - if (CoreExtension::getAttribute($this->env, $this->source, $context["category"], "href", [], "any", false, false, false, 60)) { | ||
| 211 | - // line 61 | ||
| 212 | - yield " <td class=\"left\">"; | ||
| 213 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["category"], "indent", [], "any", false, false, false, 61); | ||
| 214 | - yield "<a href=\""; | ||
| 215 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["category"], "href", [], "any", false, false, false, 61); | ||
| 216 | - yield "\">"; | ||
| 217 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["category"], "name", [], "any", false, false, false, 61); | ||
| 218 | - yield "</a> <i class=\"fa fa-sort-desc\"></i></td> | ||
| 219 | -\t\t\t\t\t"; | ||
| 220 | - } else { | ||
| 221 | - // line 63 | ||
| 222 | - yield " <td class=\"left\">"; | ||
| 223 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["category"], "indent", [], "any", false, false, false, 63); | ||
| 224 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["category"], "name", [], "any", false, false, false, 63); | ||
| 225 | - yield "</td> | ||
| 226 | - "; | ||
| 227 | - } | ||
| 228 | - // line 65 | ||
| 229 | - yield " <td class=\"text-right\">"; | ||
| 230 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["category"], "sort_order", [], "any", false, false, false, 65); | ||
| 231 | - yield "</td> | ||
| 232 | -\t\t\t\t <td class=\"text-right\">"; | ||
| 233 | - // line 66 | ||
| 234 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["category"], "noindex", [], "any", false, false, false, 66); | ||
| 235 | - yield "</td> | ||
| 236 | - <td class=\"text-right\"> | ||
| 237 | -\t\t\t\t\t<a target=\"_blank\" href=\""; | ||
| 238 | - // line 68 | ||
| 239 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["category"], "href_shop", [], "any", false, false, false, 68); | ||
| 240 | - yield "\" data-toggle=\"tooltip\" title=\""; | ||
| 241 | - yield ($context["button_shop"] ?? null); | ||
| 242 | - yield "\" class=\"btn btn-success\"><i class=\"fa fa-eye\"></i></a> | ||
| 243 | -\t\t\t\t\t<a href=\""; | ||
| 244 | - // line 69 | ||
| 245 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["category"], "edit", [], "any", false, false, false, 69); | ||
| 246 | - yield "\" data-toggle=\"tooltip\" title=\""; | ||
| 247 | - yield ($context["button_edit"] ?? null); | ||
| 248 | - yield "\" class=\"btn btn-primary\"><i class=\"fa fa-pencil\"></i></a> | ||
| 249 | -\t\t\t\t </td> | ||
| 250 | - </tr> | ||
| 251 | - "; | ||
| 252 | - } | ||
| 253 | - $_parent = $context['_parent']; | ||
| 254 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['category'], $context['_parent'], $context['loop']); | ||
| 255 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 256 | - // line 73 | ||
| 257 | - yield " "; | ||
| 258 | - } else { | ||
| 259 | - // line 74 | ||
| 260 | - yield " <tr> | ||
| 261 | - <td class=\"text-center\" colspan=\"4\">"; | ||
| 262 | - // line 75 | ||
| 263 | - yield ($context["text_no_results"] ?? null); | ||
| 264 | - yield "</td> | ||
| 265 | - </tr> | ||
| 266 | - "; | ||
| 267 | - } | ||
| 268 | - // line 78 | ||
| 269 | - yield " </tbody> | ||
| 270 | - </table> | ||
| 271 | - </div> | ||
| 272 | - </form> | ||
| 273 | - <div class=\"row\"> | ||
| 274 | - <div class=\"col-sm-6 text-left\">"; | ||
| 275 | - // line 83 | ||
| 276 | - yield ($context["pagination"] ?? null); | ||
| 277 | - yield "</div> | ||
| 278 | - <div class=\"col-sm-6 text-right\">"; | ||
| 279 | - // line 84 | ||
| 280 | - yield ($context["results"] ?? null); | ||
| 281 | - yield "</div> | ||
| 282 | - </div> | ||
| 283 | - </div> | ||
| 284 | - </div> | ||
| 285 | - </div> | ||
| 286 | - | ||
| 287 | - <script type=\"text/javascript\"><!-- | ||
| 288 | -// IE and Edge fix! | ||
| 289 | -\$('button[form=\\'form-category\\']').on('click', function(e) { | ||
| 290 | -\t\$('#form-category').attr('action', \$(this).attr('formaction')); | ||
| 291 | -}); | ||
| 292 | - //--></script> | ||
| 293 | -</div> | ||
| 294 | -"; | ||
| 295 | - // line 97 | ||
| 296 | - yield ($context["footer"] ?? null); | ||
| 297 | - return; yield ''; | ||
| 298 | - } | ||
| 299 | - | ||
| 300 | - /** | ||
| 301 | - * @codeCoverageIgnore | ||
| 302 | - */ | ||
| 303 | - public function getTemplateName() | ||
| 304 | - { | ||
| 305 | - return "catalog/category_list.twig"; | ||
| 306 | - } | ||
| 307 | - | ||
| 308 | - /** | ||
| 309 | - * @codeCoverageIgnore | ||
| 310 | - */ | ||
| 311 | - public function isTraitable() | ||
| 312 | - { | ||
| 313 | - return false; | ||
| 314 | - } | ||
| 315 | - | ||
| 316 | - /** | ||
| 317 | - * @codeCoverageIgnore | ||
| 318 | - */ | ||
| 319 | - public function getDebugInfo() | ||
| 320 | - { | ||
| 321 | - return array ( 296 => 97, 280 => 84, 276 => 83, 269 => 78, 263 => 75, 260 => 74, 257 => 73, 245 => 69, 239 => 68, 234 => 66, 229 => 65, 222 => 63, 212 => 61, 210 => 60, 207 => 59, 201 => 58, 195 => 56, 193 => 55, 190 => 54, 185 => 53, 183 => 52, 176 => 48, 173 => 47, 165 => 46, 155 => 44, 153 => 43, 149 => 42, 145 => 41, 136 => 35, 130 => 32, 126 => 30, 118 => 26, 115 => 25, 107 => 21, 105 => 20, 99 => 16, 88 => 14, 84 => 13, 79 => 11, 70 => 9, 64 => 8, 58 => 7, 52 => 6, 46 => 5, 38 => 1,); | ||
| 322 | - } | ||
| 323 | - | ||
| 324 | - public function getSourceContext() | ||
| 325 | - { | ||
| 326 | - return new Source("", "catalog/category_list.twig", ""); | ||
| 327 | - } | ||
| 328 | -} |
| 1 | -<?php | ||
| 2 | - | ||
| 3 | -use Twig\Environment; | ||
| 4 | -use Twig\Error\LoaderError; | ||
| 5 | -use Twig\Error\RuntimeError; | ||
| 6 | -use Twig\Extension\CoreExtension; | ||
| 7 | -use Twig\Extension\SandboxExtension; | ||
| 8 | -use Twig\Markup; | ||
| 9 | -use Twig\Sandbox\SecurityError; | ||
| 10 | -use Twig\Sandbox\SecurityNotAllowedTagError; | ||
| 11 | -use Twig\Sandbox\SecurityNotAllowedFilterError; | ||
| 12 | -use Twig\Sandbox\SecurityNotAllowedFunctionError; | ||
| 13 | -use Twig\Source; | ||
| 14 | -use Twig\Template; | ||
| 15 | - | ||
| 16 | -/* common/security.twig */ | ||
| 17 | -class __TwigTemplate_fd0094b311699d2489da3e5c09c36f51 extends Template | ||
| 18 | -{ | ||
| 19 | - private $source; | ||
| 20 | - private $macros = []; | ||
| 21 | - | ||
| 22 | - public function __construct(Environment $env) | ||
| 23 | - { | ||
| 24 | - parent::__construct($env); | ||
| 25 | - | ||
| 26 | - $this->source = $this->getSourceContext(); | ||
| 27 | - | ||
| 28 | - $this->parent = false; | ||
| 29 | - | ||
| 30 | - $this->blocks = [ | ||
| 31 | - ]; | ||
| 32 | - } | ||
| 33 | - | ||
| 34 | - protected function doDisplay(array $context, array $blocks = []) | ||
| 35 | - { | ||
| 36 | - $macros = $this->macros; | ||
| 37 | - // line 1 | ||
| 38 | - yield "<div id=\"modal-security\" class=\"modal\"> | ||
| 39 | - <div class=\"modal-dialog\"> | ||
| 40 | - <div class=\"modal-content\"> | ||
| 41 | - <div class=\"modal-header\"> | ||
| 42 | - <button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-hidden=\"true\">×</button> | ||
| 43 | - <h4 class=\"modal-title text-danger\"><i class=\"fa fa-exclamation-triangle\"></i> "; | ||
| 44 | - // line 6 | ||
| 45 | - yield ($context["heading_title"] ?? null); | ||
| 46 | - yield "</h4> | ||
| 47 | - </div> | ||
| 48 | - <div class=\"modal-body\"> | ||
| 49 | - <div class=\"alert alert-info\"><i class=\"fa fa-exclamation-circle\"></i> "; | ||
| 50 | - // line 9 | ||
| 51 | - yield ($context["text_security"] ?? null); | ||
| 52 | - yield "</div> | ||
| 53 | - <form class=\"form-horizontal\"> | ||
| 54 | - <fieldset> | ||
| 55 | - <legend>"; | ||
| 56 | - // line 12 | ||
| 57 | - yield ($context["text_choose"] ?? null); | ||
| 58 | - yield "</legend> | ||
| 59 | - <div class=\"form-group\"> | ||
| 60 | - <select name=\"type\" id=\"input-type\" class=\"form-control\"> | ||
| 61 | - <option value=\"automatic\">"; | ||
| 62 | - // line 15 | ||
| 63 | - yield ($context["text_automatic"] ?? null); | ||
| 64 | - yield "</option> | ||
| 65 | - <option value=\"manual\">"; | ||
| 66 | - // line 16 | ||
| 67 | - yield ($context["text_manual"] ?? null); | ||
| 68 | - yield "</option> | ||
| 69 | - </select> | ||
| 70 | - </div> | ||
| 71 | - </fieldset> | ||
| 72 | - <fieldset id=\"collapse-automatic\" class=\"collapse\"> | ||
| 73 | - <legend>"; | ||
| 74 | - // line 21 | ||
| 75 | - yield ($context["text_automatic"] ?? null); | ||
| 76 | - yield "</legend> | ||
| 77 | - <div class=\"form-group\"> | ||
| 78 | - <div class=\"input-group\"> | ||
| 79 | - <div class=\"input-group-btn dropdown\"> | ||
| 80 | - <button type=\"button\" id=\"button-path\" data-toggle=\"dropdown\" class=\"btn btn-default\">"; | ||
| 81 | - // line 25 | ||
| 82 | - yield ($context["document_root"] ?? null); | ||
| 83 | - yield " <span class=\"caret\"></span></button> | ||
| 84 | - <ul class=\"dropdown-menu\"> | ||
| 85 | - "; | ||
| 86 | - // line 27 | ||
| 87 | - $context['_parent'] = $context; | ||
| 88 | - $context['_seq'] = CoreExtension::ensureTraversable(($context["paths"] ?? null)); | ||
| 89 | - foreach ($context['_seq'] as $context["_key"] => $context["path"]) { | ||
| 90 | - // line 28 | ||
| 91 | - yield " "; | ||
| 92 | - if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), $context["path"]) > Twig\Extension\CoreExtension::length($this->env->getCharset(), ($context["document_root"] ?? null)))) { | ||
| 93 | - // line 29 | ||
| 94 | - yield " <li><a href=\""; | ||
| 95 | - yield $context["path"]; | ||
| 96 | - yield "\"><i class=\"fa fa-exclamation-triangle fa-fw text-danger\"></i> "; | ||
| 97 | - yield $context["path"]; | ||
| 98 | - yield "</a></li> | ||
| 99 | - "; | ||
| 100 | - } else { | ||
| 101 | - // line 31 | ||
| 102 | - yield " <li><a href=\""; | ||
| 103 | - yield $context["path"]; | ||
| 104 | - yield "\"><i class=\"fa fa-check-circle fa-fw text-success\"></i> "; | ||
| 105 | - yield $context["path"]; | ||
| 106 | - yield "</a></li> | ||
| 107 | - "; | ||
| 108 | - } | ||
| 109 | - // line 33 | ||
| 110 | - yield " "; | ||
| 111 | - } | ||
| 112 | - $_parent = $context['_parent']; | ||
| 113 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['path'], $context['_parent'], $context['loop']); | ||
| 114 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 115 | - // line 34 | ||
| 116 | - yield " </ul> | ||
| 117 | - </div> | ||
| 118 | - <input type=\"text\" name=\"directory\" value=\"storage\" placeholder=\""; | ||
| 119 | - // line 36 | ||
| 120 | - yield ($context["entry_directory"] ?? null); | ||
| 121 | - yield "\" class=\"form-control\" /> | ||
| 122 | - <div class=\"input-group-btn\"> | ||
| 123 | - <button type=\"button\" id=\"button-move\" data-loading-text=\""; | ||
| 124 | - // line 38 | ||
| 125 | - yield ($context["text_loading"] ?? null); | ||
| 126 | - yield "\" class=\"btn btn-danger\"><i class=\"fa fa-exclamation-triangle\"></i> "; | ||
| 127 | - yield ($context["button_move"] ?? null); | ||
| 128 | - yield "</button> | ||
| 129 | - </div> | ||
| 130 | - </div> | ||
| 131 | - <input type=\"hidden\" name=\"path\" value=\""; | ||
| 132 | - // line 41 | ||
| 133 | - yield ($context["document_root"] ?? null); | ||
| 134 | - yield "\" /> | ||
| 135 | - </div> | ||
| 136 | - </fieldset> | ||
| 137 | - <fieldset id=\"collapse-manual\" class=\"collapse\"> | ||
| 138 | - <legend>"; | ||
| 139 | - // line 45 | ||
| 140 | - yield ($context["text_manual"] ?? null); | ||
| 141 | - yield "</legend> | ||
| 142 | - <div class=\"form-group\"> | ||
| 143 | - <div style=\"height: 300px; overflow-y: scroll;\" class=\"form-control\" disabled=\"disabled\"></div> | ||
| 144 | - </div> | ||
| 145 | - </fieldset> | ||
| 146 | - </form> | ||
| 147 | - </div> | ||
| 148 | - </div> | ||
| 149 | - </div> | ||
| 150 | -</div> | ||
| 151 | -<script type=\"text/javascript\"><!-- | ||
| 152 | -\$(document).ready(function() { | ||
| 153 | -\t\$('#modal-security').modal('show'); | ||
| 154 | -}); | ||
| 155 | - | ||
| 156 | -\$('#modal-security select[name=\\'type\\']').on('change', function() { | ||
| 157 | -\t\$('#modal-security fieldset.collapse').removeClass('in'); | ||
| 158 | -\t | ||
| 159 | -\t\$('#modal-security #collapse-' + \$(this).val()).addClass('in'); | ||
| 160 | -}); | ||
| 161 | - | ||
| 162 | -\$('#modal-security select[name=\\'type\\']').trigger('change'); | ||
| 163 | - | ||
| 164 | -\$('#modal-security .dropdown-menu a').on('click', function(e) { | ||
| 165 | -\te.preventDefault(); | ||
| 166 | -\t | ||
| 167 | -\t\$('#modal-security #button-path').html(\$(this).html() + ' <span class=\"caret\"></span>'); | ||
| 168 | -\t | ||
| 169 | -\t\$('#modal-security input[name=\\'path\\']').val(\$(this).attr('href')); | ||
| 170 | -}); | ||
| 171 | - | ||
| 172 | - | ||
| 173 | -\$('#modal-security .dropdown-menu a').on('click', function(e) { | ||
| 174 | -\te.preventDefault(); | ||
| 175 | -\t | ||
| 176 | -\t\$('#button-path').html(\$(this).text() + ' <span class=\"caret\"></span>'); | ||
| 177 | -\t | ||
| 178 | -\t\$('input[name=\\'path\\']').val(\$(this).attr('href')); | ||
| 179 | -\t | ||
| 180 | -\t\$('input[name=\\'path\\']').trigger('change'); | ||
| 181 | -}); | ||
| 182 | - | ||
| 183 | -\$('#button-move').on('click', function() { | ||
| 184 | -\tvar element = this; | ||
| 185 | -\t | ||
| 186 | -\t\$.ajax({ | ||
| 187 | -\t\turl: 'index.php?route=common/security/move&user_token="; | ||
| 188 | - // line 91 | ||
| 189 | - yield ($context["user_token"] ?? null); | ||
| 190 | - yield "', | ||
| 191 | -\t\ttype: 'post', | ||
| 192 | -\t\tdata: \$('input[name=\\'path\\'], input[name=\\'directory\\']'), | ||
| 193 | -\t\tdataType: 'json', | ||
| 194 | -\t\tcrossDomain: true, | ||
| 195 | -\t\tbeforeSend: function() { | ||
| 196 | -\t\t\t\$(element).button('loading'); | ||
| 197 | -\t\t}, | ||
| 198 | -\t\tcomplete: function() { | ||
| 199 | -\t\t\t\$(element).button('reset'); | ||
| 200 | -\t\t}, | ||
| 201 | -\t\tsuccess: function(json) { | ||
| 202 | -\t\t\t\$('.alert-dismissible').remove(); | ||
| 203 | - | ||
| 204 | -\t\t\tif (json['error']) { | ||
| 205 | -\t\t\t\t\$('#modal-security .modal-body').prepend('<div class=\"alert alert-danger alert-dismissible\"><i class=\"fa fa-exclamation-circle\"></i> ' + json['error'] + ' <button type=\"button\" class=\"close\" data-dismiss=\"alert\">×</button></div>'); | ||
| 206 | -\t\t\t} | ||
| 207 | - | ||
| 208 | -\t\t\tif (json['success']) { | ||
| 209 | -\t\t\t\t\$('#modal-security .modal-body').prepend('<div class=\"alert alert-success alert-dismissible\"><i class=\"fa fa-check-circle\"></i> ' + json['success'] + ' <button type=\"button\" class=\"close\" data-dismiss=\"alert\">×</button></div>'); | ||
| 210 | -\t\t\t} | ||
| 211 | -\t\t}, | ||
| 212 | -\t\terror: function(xhr, ajaxOptions, thrownError) { | ||
| 213 | -\t\t\talert(thrownError + \"\\r\\n\" + xhr.statusText + \"\\r\\n\" + xhr.responseText); | ||
| 214 | -\t\t} | ||
| 215 | -\t}); | ||
| 216 | -}); | ||
| 217 | - | ||
| 218 | -\$('#modal-security select[name=\\'type\\']').on('change', function () { | ||
| 219 | -\thtml = '<ol>'; | ||
| 220 | -\thtml += '<li><p>"; | ||
| 221 | - // line 121 | ||
| 222 | - yield ($context["text_move"] ?? null); | ||
| 223 | - yield "</p>'; | ||
| 224 | -\thtml += '<p><strong>"; | ||
| 225 | - // line 122 | ||
| 226 | - yield ($context["storage"] ?? null); | ||
| 227 | - yield "</strong></p>'; | ||
| 228 | -\thtml += '<p>"; | ||
| 229 | - // line 123 | ||
| 230 | - yield ($context["text_to"] ?? null); | ||
| 231 | - yield "</p>'; | ||
| 232 | -\thtml += '<p><strong>' + \$('#modal-security input[name=\\'path\\']').val() + \$('#modal-security input[name=\\'directory\\']').val() + '/</strong></p></li>'; | ||
| 233 | -\thtml += '<li><p>"; | ||
| 234 | - // line 125 | ||
| 235 | - yield ($context["text_config"] ?? null); | ||
| 236 | - yield "</p>'; | ||
| 237 | -\thtml += '<p><strong>define(\\'DIR_STORAGE\\', DIR_SYSTEM . \\'storage/\\');</strong></p>'; | ||
| 238 | -\thtml += '<p>to</p>'; | ||
| 239 | -\thtml += '<p><strong>define(\\'DIR_STORAGE\\', \\'' + \$('#modal-security input[name=\\'path\\']').val() + \$('#modal-security input[name=\\'directory\\']').val() + '/\\');</strong></p></li>'; | ||
| 240 | -\thtml += '<li><p>"; | ||
| 241 | - // line 129 | ||
| 242 | - yield ($context["text_admin"] ?? null); | ||
| 243 | - yield "</p>'; | ||
| 244 | -\thtml += '<p><strong>define(\\'DIR_STORAGE\\', DIR_SYSTEM . \\'storage/\\');</strong></p>'; | ||
| 245 | -\thtml += '<p>to</p>'; | ||
| 246 | -\thtml += '<p><strong>define(\\'DIR_STORAGE\\', \\'' + \$('#modal-security input[name=\\'path\\']').val() + \$('#modal-security input[name=\\'directory\\']').val() + '/\\');</strong></p></li>'; | ||
| 247 | - html += '</ol>'; | ||
| 248 | -\t | ||
| 249 | -\t\$('#collapse-manual .form-control').html(html); | ||
| 250 | -}); | ||
| 251 | - | ||
| 252 | -\$('input[name=\\'path\\']').trigger('change'); | ||
| 253 | -//--></script>"; | ||
| 254 | - return; yield ''; | ||
| 255 | - } | ||
| 256 | - | ||
| 257 | - /** | ||
| 258 | - * @codeCoverageIgnore | ||
| 259 | - */ | ||
| 260 | - public function getTemplateName() | ||
| 261 | - { | ||
| 262 | - return "common/security.twig"; | ||
| 263 | - } | ||
| 264 | - | ||
| 265 | - /** | ||
| 266 | - * @codeCoverageIgnore | ||
| 267 | - */ | ||
| 268 | - public function isTraitable() | ||
| 269 | - { | ||
| 270 | - return false; | ||
| 271 | - } | ||
| 272 | - | ||
| 273 | - /** | ||
| 274 | - * @codeCoverageIgnore | ||
| 275 | - */ | ||
| 276 | - public function getDebugInfo() | ||
| 277 | - { | ||
| 278 | - return array ( 242 => 129, 235 => 125, 230 => 123, 226 => 122, 222 => 121, 189 => 91, 140 => 45, 133 => 41, 125 => 38, 120 => 36, 116 => 34, 110 => 33, 102 => 31, 94 => 29, 91 => 28, 87 => 27, 82 => 25, 75 => 21, 67 => 16, 63 => 15, 57 => 12, 51 => 9, 45 => 6, 38 => 1,); | ||
| 279 | - } | ||
| 280 | - | ||
| 281 | - public function getSourceContext() | ||
| 282 | - { | ||
| 283 | - return new Source("", "common/security.twig", ""); | ||
| 284 | - } | ||
| 285 | -} |
strg/cache/template/27/277b3f8f18af1e017b211cdc487cf228226d5ee89ccb51af3808d8b21a0118fe.php
deleted
100644 → 0
| 1 | -<?php | ||
| 2 | - | ||
| 3 | -use Twig\Environment; | ||
| 4 | -use Twig\Error\LoaderError; | ||
| 5 | -use Twig\Error\RuntimeError; | ||
| 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 | - | ||
| 15 | -/* default/template/common/language.twig */ | ||
| 16 | -class __TwigTemplate_f2994740b617d18e23ed8ab68913987326a3cfc1c1d49dd8113141a20b4fdd61 extends \Twig\Template | ||
| 17 | -{ | ||
| 18 | - private $source; | ||
| 19 | - private $macros = []; | ||
| 20 | - | ||
| 21 | - public function __construct(Environment $env) | ||
| 22 | - { | ||
| 23 | - parent::__construct($env); | ||
| 24 | - | ||
| 25 | - $this->source = $this->getSourceContext(); | ||
| 26 | - | ||
| 27 | - $this->parent = false; | ||
| 28 | - | ||
| 29 | - $this->blocks = [ | ||
| 30 | - ]; | ||
| 31 | - } | ||
| 32 | - | ||
| 33 | - protected function doDisplay(array $context, array $blocks = []) | ||
| 34 | - { | ||
| 35 | - $macros = $this->macros; | ||
| 36 | - // line 1 | ||
| 37 | - if ((twig_length_filter($this->env, ($context["languages"] ?? null)) > 1)) { | ||
| 38 | - // line 2 | ||
| 39 | - echo "<div class=\"pull-left\"> | ||
| 40 | - <form action=\""; | ||
| 41 | - // line 3 | ||
| 42 | - echo ($context["action"] ?? null); | ||
| 43 | - echo "\" method=\"post\" enctype=\"multipart/form-data\" id=\"form-language\"> | ||
| 44 | - <div class=\"btn-group\"> | ||
| 45 | - <button class=\"btn btn-link dropdown-toggle\" data-toggle=\"dropdown\"> | ||
| 46 | - "; | ||
| 47 | - // line 6 | ||
| 48 | - $context['_parent'] = $context; | ||
| 49 | - $context['_seq'] = twig_ensure_traversable(($context["languages"] ?? null)); | ||
| 50 | - foreach ($context['_seq'] as $context["_key"] => $context["language"]) { | ||
| 51 | - // line 7 | ||
| 52 | - echo " "; | ||
| 53 | - if ((twig_get_attribute($this->env, $this->source, $context["language"], "code", [], "any", false, false, false, 7) == ($context["code"] ?? null))) { | ||
| 54 | - echo " | ||
| 55 | - <img src=\"catalog/language/"; | ||
| 56 | - // line 8 | ||
| 57 | - echo twig_get_attribute($this->env, $this->source, $context["language"], "code", [], "any", false, false, false, 8); | ||
| 58 | - echo "/"; | ||
| 59 | - echo twig_get_attribute($this->env, $this->source, $context["language"], "code", [], "any", false, false, false, 8); | ||
| 60 | - echo ".png\" alt=\""; | ||
| 61 | - echo twig_get_attribute($this->env, $this->source, $context["language"], "name", [], "any", false, false, false, 8); | ||
| 62 | - echo "\" title=\""; | ||
| 63 | - echo twig_get_attribute($this->env, $this->source, $context["language"], "name", [], "any", false, false, false, 8); | ||
| 64 | - echo "\"> | ||
| 65 | - "; | ||
| 66 | - } | ||
| 67 | - // line 10 | ||
| 68 | - echo " "; | ||
| 69 | - } | ||
| 70 | - $_parent = $context['_parent']; | ||
| 71 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['language'], $context['_parent'], $context['loop']); | ||
| 72 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 73 | - // line 11 | ||
| 74 | - echo " <span class=\"hidden-xs hidden-sm hidden-md\">"; | ||
| 75 | - echo ($context["text_language"] ?? null); | ||
| 76 | - echo "</span> <i class=\"fa fa-caret-down\"></i></button> | ||
| 77 | - <ul class=\"dropdown-menu\"> | ||
| 78 | - "; | ||
| 79 | - // line 13 | ||
| 80 | - $context['_parent'] = $context; | ||
| 81 | - $context['_seq'] = twig_ensure_traversable(($context["languages"] ?? null)); | ||
| 82 | - foreach ($context['_seq'] as $context["_key"] => $context["language"]) { | ||
| 83 | - // line 14 | ||
| 84 | - echo " <li> | ||
| 85 | - <button class=\"btn btn-link btn-block language-select\" type=\"button\" name=\""; | ||
| 86 | - // line 15 | ||
| 87 | - echo twig_get_attribute($this->env, $this->source, $context["language"], "code", [], "any", false, false, false, 15); | ||
| 88 | - echo "\"><img src=\"catalog/language/"; | ||
| 89 | - echo twig_get_attribute($this->env, $this->source, $context["language"], "code", [], "any", false, false, false, 15); | ||
| 90 | - echo "/"; | ||
| 91 | - echo twig_get_attribute($this->env, $this->source, $context["language"], "code", [], "any", false, false, false, 15); | ||
| 92 | - echo ".png\" alt=\""; | ||
| 93 | - echo twig_get_attribute($this->env, $this->source, $context["language"], "name", [], "any", false, false, false, 15); | ||
| 94 | - echo "\" title=\""; | ||
| 95 | - echo twig_get_attribute($this->env, $this->source, $context["language"], "name", [], "any", false, false, false, 15); | ||
| 96 | - echo "\" /> "; | ||
| 97 | - echo twig_get_attribute($this->env, $this->source, $context["language"], "name", [], "any", false, false, false, 15); | ||
| 98 | - echo "</button> | ||
| 99 | - </li> | ||
| 100 | - "; | ||
| 101 | - } | ||
| 102 | - $_parent = $context['_parent']; | ||
| 103 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['language'], $context['_parent'], $context['loop']); | ||
| 104 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 105 | - // line 18 | ||
| 106 | - echo " </ul> | ||
| 107 | - </div> | ||
| 108 | - <input type=\"hidden\" name=\"code\" value=\"\" /> | ||
| 109 | - <input type=\"hidden\" name=\"redirect\" value=\""; | ||
| 110 | - // line 21 | ||
| 111 | - echo ($context["redirect"] ?? null); | ||
| 112 | - echo "\" /> | ||
| 113 | - </form> | ||
| 114 | -</div> | ||
| 115 | -"; | ||
| 116 | - } | ||
| 117 | - } | ||
| 118 | - | ||
| 119 | - public function getTemplateName() | ||
| 120 | - { | ||
| 121 | - return "default/template/common/language.twig"; | ||
| 122 | - } | ||
| 123 | - | ||
| 124 | - public function isTraitable() | ||
| 125 | - { | ||
| 126 | - return false; | ||
| 127 | - } | ||
| 128 | - | ||
| 129 | - public function getDebugInfo() | ||
| 130 | - { | ||
| 131 | - return array ( 111 => 21, 106 => 18, 87 => 15, 84 => 14, 80 => 13, 74 => 11, 68 => 10, 57 => 8, 52 => 7, 48 => 6, 42 => 3, 39 => 2, 37 => 1,); | ||
| 132 | - } | ||
| 133 | - | ||
| 134 | - public function getSourceContext() | ||
| 135 | - { | ||
| 136 | - return new Source("", "default/template/common/language.twig", ""); | ||
| 137 | - } | ||
| 138 | -} |
| 1 | -<?php | ||
| 2 | - | ||
| 3 | -use Twig\Environment; | ||
| 4 | -use Twig\Error\LoaderError; | ||
| 5 | -use Twig\Error\RuntimeError; | ||
| 6 | -use Twig\Extension\CoreExtension; | ||
| 7 | -use Twig\Extension\SandboxExtension; | ||
| 8 | -use Twig\Markup; | ||
| 9 | -use Twig\Sandbox\SecurityError; | ||
| 10 | -use Twig\Sandbox\SecurityNotAllowedTagError; | ||
| 11 | -use Twig\Sandbox\SecurityNotAllowedFilterError; | ||
| 12 | -use Twig\Sandbox\SecurityNotAllowedFunctionError; | ||
| 13 | -use Twig\Source; | ||
| 14 | -use Twig\Template; | ||
| 15 | - | ||
| 16 | -/* default/template/blog/menu.twig */ | ||
| 17 | -class __TwigTemplate_035228b126f7856a7956ece659d42675 extends Template | ||
| 18 | -{ | ||
| 19 | - private $source; | ||
| 20 | - private $macros = []; | ||
| 21 | - | ||
| 22 | - public function __construct(Environment $env) | ||
| 23 | - { | ||
| 24 | - parent::__construct($env); | ||
| 25 | - | ||
| 26 | - $this->source = $this->getSourceContext(); | ||
| 27 | - | ||
| 28 | - $this->parent = false; | ||
| 29 | - | ||
| 30 | - $this->blocks = [ | ||
| 31 | - ]; | ||
| 32 | - } | ||
| 33 | - | ||
| 34 | - protected function doDisplay(array $context, array $blocks = []) | ||
| 35 | - { | ||
| 36 | - $macros = $this->macros; | ||
| 37 | - // line 1 | ||
| 38 | - yield "\t<div class=\"pull-left\"> | ||
| 39 | -\t<div class=\"btn-group\"> | ||
| 40 | - <button class=\"btn btn-link dropdown-toggle\" data-toggle=\"dropdown\"> | ||
| 41 | -\t<i class=\"fa fa-book\"></i> <span class=\"hidden-xs hidden-sm hidden-md\">"; | ||
| 42 | - // line 4 | ||
| 43 | - yield ($context["text_blog"] ?? null); | ||
| 44 | - yield "</span> <i class=\"fa fa-caret-down\"></i> | ||
| 45 | -\t</button> | ||
| 46 | -\t<ul class=\"dropdown-menu\"> | ||
| 47 | -\t"; | ||
| 48 | - // line 7 | ||
| 49 | - $context['_parent'] = $context; | ||
| 50 | - $context['_seq'] = CoreExtension::ensureTraversable(($context["categories"] ?? null)); | ||
| 51 | - foreach ($context['_seq'] as $context["_key"] => $context["category"]) { | ||
| 52 | - // line 8 | ||
| 53 | - yield " "; | ||
| 54 | - if (CoreExtension::getAttribute($this->env, $this->source, $context["category"], "children", [], "any", false, false, false, 8)) { | ||
| 55 | - // line 9 | ||
| 56 | - yield " <li><a href=\""; | ||
| 57 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["category"], "href", [], "any", false, false, false, 9); | ||
| 58 | - yield "\">"; | ||
| 59 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["category"], "name", [], "any", false, false, false, 9); | ||
| 60 | - yield "</a></li> | ||
| 61 | - "; | ||
| 62 | - // line 10 | ||
| 63 | - $context['_parent'] = $context; | ||
| 64 | - $context['_seq'] = CoreExtension::ensureTraversable(Twig\Extension\CoreExtension::batch(CoreExtension::getAttribute($this->env, $this->source, $context["category"], "children", [], "any", false, false, false, 10), (Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, $context["category"], "children", [], "any", false, false, false, 10)) / Twig\Extension\CoreExtension::round(CoreExtension::getAttribute($this->env, $this->source, $context["category"], "column", [], "any", false, false, false, 10), 1, "ceil")))); | ||
| 65 | - foreach ($context['_seq'] as $context["_key"] => $context["children"]) { | ||
| 66 | - yield " | ||
| 67 | -\t\t\t\t"; | ||
| 68 | - // line 11 | ||
| 69 | - $context['_parent'] = $context; | ||
| 70 | - $context['_seq'] = CoreExtension::ensureTraversable($context["children"]); | ||
| 71 | - foreach ($context['_seq'] as $context["_key"] => $context["child"]) { | ||
| 72 | - // line 12 | ||
| 73 | - yield " <li><a href=\""; | ||
| 74 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["child"], "href", [], "any", false, false, false, 12); | ||
| 75 | - yield "\"><i class=\"fa fa-angle-right\"></i> "; | ||
| 76 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["child"], "name", [], "any", false, false, false, 12); | ||
| 77 | - yield "</a></li> | ||
| 78 | -\t\t\t\t"; | ||
| 79 | - } | ||
| 80 | - $_parent = $context['_parent']; | ||
| 81 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['child'], $context['_parent'], $context['loop']); | ||
| 82 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 83 | - // line 14 | ||
| 84 | - yield "\t\t\t"; | ||
| 85 | - } | ||
| 86 | - $_parent = $context['_parent']; | ||
| 87 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['children'], $context['_parent'], $context['loop']); | ||
| 88 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 89 | - // line 15 | ||
| 90 | - yield "\t\t"; | ||
| 91 | - } else { | ||
| 92 | - // line 16 | ||
| 93 | - yield " <li><a href=\""; | ||
| 94 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["category"], "href", [], "any", false, false, false, 16); | ||
| 95 | - yield "\">"; | ||
| 96 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["category"], "name", [], "any", false, false, false, 16); | ||
| 97 | - yield "</a></li> | ||
| 98 | - "; | ||
| 99 | - } | ||
| 100 | - // line 18 | ||
| 101 | - yield "\t"; | ||
| 102 | - } | ||
| 103 | - $_parent = $context['_parent']; | ||
| 104 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['category'], $context['_parent'], $context['loop']); | ||
| 105 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 106 | - // line 19 | ||
| 107 | - yield "\t<li><a href=\""; | ||
| 108 | - yield ($context["blog"] ?? null); | ||
| 109 | - yield "\" class=\"see-all\">"; | ||
| 110 | - yield ($context["text_all"] ?? null); | ||
| 111 | - yield " "; | ||
| 112 | - yield ($context["text_blog"] ?? null); | ||
| 113 | - yield "</a></li> | ||
| 114 | -\t</ul> | ||
| 115 | -\t</div> | ||
| 116 | -\t</div>"; | ||
| 117 | - return; yield ''; | ||
| 118 | - } | ||
| 119 | - | ||
| 120 | - /** | ||
| 121 | - * @codeCoverageIgnore | ||
| 122 | - */ | ||
| 123 | - public function getTemplateName() | ||
| 124 | - { | ||
| 125 | - return "default/template/blog/menu.twig"; | ||
| 126 | - } | ||
| 127 | - | ||
| 128 | - /** | ||
| 129 | - * @codeCoverageIgnore | ||
| 130 | - */ | ||
| 131 | - public function isTraitable() | ||
| 132 | - { | ||
| 133 | - return false; | ||
| 134 | - } | ||
| 135 | - | ||
| 136 | - /** | ||
| 137 | - * @codeCoverageIgnore | ||
| 138 | - */ | ||
| 139 | - public function getDebugInfo() | ||
| 140 | - { | ||
| 141 | - return array ( 107 => 19, 101 => 18, 93 => 16, 90 => 15, 84 => 14, 73 => 12, 69 => 11, 63 => 10, 56 => 9, 53 => 8, 49 => 7, 43 => 4, 38 => 1,); | ||
| 142 | - } | ||
| 143 | - | ||
| 144 | - public function getSourceContext() | ||
| 145 | - { | ||
| 146 | - return new Source("", "default/template/blog/menu.twig", ""); | ||
| 147 | - } | ||
| 148 | -} |
| 1 | -<?php | ||
| 2 | - | ||
| 3 | -use Twig\Environment; | ||
| 4 | -use Twig\Error\LoaderError; | ||
| 5 | -use Twig\Error\RuntimeError; | ||
| 6 | -use Twig\Extension\CoreExtension; | ||
| 7 | -use Twig\Extension\SandboxExtension; | ||
| 8 | -use Twig\Markup; | ||
| 9 | -use Twig\Sandbox\SecurityError; | ||
| 10 | -use Twig\Sandbox\SecurityNotAllowedTagError; | ||
| 11 | -use Twig\Sandbox\SecurityNotAllowedFilterError; | ||
| 12 | -use Twig\Sandbox\SecurityNotAllowedFunctionError; | ||
| 13 | -use Twig\Source; | ||
| 14 | -use Twig\Template; | ||
| 15 | - | ||
| 16 | -/* default/template/common/language.twig */ | ||
| 17 | -class __TwigTemplate_caff0536ccb09d1b99e9e12dcb40cd76 extends Template | ||
| 18 | -{ | ||
| 19 | - private $source; | ||
| 20 | - private $macros = []; | ||
| 21 | - | ||
| 22 | - public function __construct(Environment $env) | ||
| 23 | - { | ||
| 24 | - parent::__construct($env); | ||
| 25 | - | ||
| 26 | - $this->source = $this->getSourceContext(); | ||
| 27 | - | ||
| 28 | - $this->parent = false; | ||
| 29 | - | ||
| 30 | - $this->blocks = [ | ||
| 31 | - ]; | ||
| 32 | - } | ||
| 33 | - | ||
| 34 | - protected function doDisplay(array $context, array $blocks = []) | ||
| 35 | - { | ||
| 36 | - $macros = $this->macros; | ||
| 37 | - // line 1 | ||
| 38 | - if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), ($context["languages"] ?? null)) > 1)) { | ||
| 39 | - // line 2 | ||
| 40 | - yield "<div class=\"pull-left\"> | ||
| 41 | - <form action=\""; | ||
| 42 | - // line 3 | ||
| 43 | - yield ($context["action"] ?? null); | ||
| 44 | - yield "\" method=\"post\" enctype=\"multipart/form-data\" id=\"form-language\"> | ||
| 45 | - <div class=\"btn-group\"> | ||
| 46 | - <button class=\"btn btn-link dropdown-toggle\" data-toggle=\"dropdown\"> | ||
| 47 | - "; | ||
| 48 | - // line 6 | ||
| 49 | - $context['_parent'] = $context; | ||
| 50 | - $context['_seq'] = CoreExtension::ensureTraversable(($context["languages"] ?? null)); | ||
| 51 | - foreach ($context['_seq'] as $context["_key"] => $context["language"]) { | ||
| 52 | - // line 7 | ||
| 53 | - yield " "; | ||
| 54 | - if ((CoreExtension::getAttribute($this->env, $this->source, $context["language"], "code", [], "any", false, false, false, 7) == ($context["code"] ?? null))) { | ||
| 55 | - yield " | ||
| 56 | - <img src=\"catalog/language/"; | ||
| 57 | - // line 8 | ||
| 58 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["language"], "code", [], "any", false, false, false, 8); | ||
| 59 | - yield "/"; | ||
| 60 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["language"], "code", [], "any", false, false, false, 8); | ||
| 61 | - yield ".png\" alt=\""; | ||
| 62 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["language"], "name", [], "any", false, false, false, 8); | ||
| 63 | - yield "\" title=\""; | ||
| 64 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["language"], "name", [], "any", false, false, false, 8); | ||
| 65 | - yield "\"> | ||
| 66 | - "; | ||
| 67 | - } | ||
| 68 | - // line 10 | ||
| 69 | - yield " "; | ||
| 70 | - } | ||
| 71 | - $_parent = $context['_parent']; | ||
| 72 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['language'], $context['_parent'], $context['loop']); | ||
| 73 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 74 | - // line 11 | ||
| 75 | - yield " <span class=\"hidden-xs hidden-sm hidden-md\">"; | ||
| 76 | - yield ($context["text_language"] ?? null); | ||
| 77 | - yield "</span> <i class=\"fa fa-caret-down\"></i></button> | ||
| 78 | - <ul class=\"dropdown-menu\"> | ||
| 79 | - "; | ||
| 80 | - // line 13 | ||
| 81 | - $context['_parent'] = $context; | ||
| 82 | - $context['_seq'] = CoreExtension::ensureTraversable(($context["languages"] ?? null)); | ||
| 83 | - foreach ($context['_seq'] as $context["_key"] => $context["language"]) { | ||
| 84 | - // line 14 | ||
| 85 | - yield " <li> | ||
| 86 | - <button class=\"btn btn-link btn-block language-select\" type=\"button\" name=\""; | ||
| 87 | - // line 15 | ||
| 88 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["language"], "code", [], "any", false, false, false, 15); | ||
| 89 | - yield "\"><img src=\"catalog/language/"; | ||
| 90 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["language"], "code", [], "any", false, false, false, 15); | ||
| 91 | - yield "/"; | ||
| 92 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["language"], "code", [], "any", false, false, false, 15); | ||
| 93 | - yield ".png\" alt=\""; | ||
| 94 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["language"], "name", [], "any", false, false, false, 15); | ||
| 95 | - yield "\" title=\""; | ||
| 96 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["language"], "name", [], "any", false, false, false, 15); | ||
| 97 | - yield "\" /> "; | ||
| 98 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["language"], "name", [], "any", false, false, false, 15); | ||
| 99 | - yield "</button> | ||
| 100 | - </li> | ||
| 101 | - "; | ||
| 102 | - } | ||
| 103 | - $_parent = $context['_parent']; | ||
| 104 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['language'], $context['_parent'], $context['loop']); | ||
| 105 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 106 | - // line 18 | ||
| 107 | - yield " </ul> | ||
| 108 | - </div> | ||
| 109 | - <input type=\"hidden\" name=\"code\" value=\"\" /> | ||
| 110 | - <input type=\"hidden\" name=\"redirect\" value=\""; | ||
| 111 | - // line 21 | ||
| 112 | - yield ($context["redirect"] ?? null); | ||
| 113 | - yield "\" /> | ||
| 114 | - </form> | ||
| 115 | -</div> | ||
| 116 | -"; | ||
| 117 | - } | ||
| 118 | - return; yield ''; | ||
| 119 | - } | ||
| 120 | - | ||
| 121 | - /** | ||
| 122 | - * @codeCoverageIgnore | ||
| 123 | - */ | ||
| 124 | - public function getTemplateName() | ||
| 125 | - { | ||
| 126 | - return "default/template/common/language.twig"; | ||
| 127 | - } | ||
| 128 | - | ||
| 129 | - /** | ||
| 130 | - * @codeCoverageIgnore | ||
| 131 | - */ | ||
| 132 | - public function isTraitable() | ||
| 133 | - { | ||
| 134 | - return false; | ||
| 135 | - } | ||
| 136 | - | ||
| 137 | - /** | ||
| 138 | - * @codeCoverageIgnore | ||
| 139 | - */ | ||
| 140 | - public function getDebugInfo() | ||
| 141 | - { | ||
| 142 | - return array ( 112 => 21, 107 => 18, 88 => 15, 85 => 14, 81 => 13, 75 => 11, 69 => 10, 58 => 8, 53 => 7, 49 => 6, 43 => 3, 40 => 2, 38 => 1,); | ||
| 143 | - } | ||
| 144 | - | ||
| 145 | - public function getSourceContext() | ||
| 146 | - { | ||
| 147 | - return new Source("", "default/template/common/language.twig", ""); | ||
| 148 | - } | ||
| 149 | -} |
strg/cache/template/31/31d2afbdf741d3750f1b57b5a28c08f634d99eaada59a87238a62eda00823605.php
deleted
100644 → 0
| 1 | -<?php | ||
| 2 | - | ||
| 3 | -use Twig\Environment; | ||
| 4 | -use Twig\Error\LoaderError; | ||
| 5 | -use Twig\Error\RuntimeError; | ||
| 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 | - | ||
| 15 | -/* default/template/common/header.twig */ | ||
| 16 | -class __TwigTemplate_56db892b8a133b7ae13f1f5544db751b101f9b9098c9e859d8c2b5dde2bf8fd8 extends \Twig\Template | ||
| 17 | -{ | ||
| 18 | - private $source; | ||
| 19 | - private $macros = []; | ||
| 20 | - | ||
| 21 | - public function __construct(Environment $env) | ||
| 22 | - { | ||
| 23 | - parent::__construct($env); | ||
| 24 | - | ||
| 25 | - $this->source = $this->getSourceContext(); | ||
| 26 | - | ||
| 27 | - $this->parent = false; | ||
| 28 | - | ||
| 29 | - $this->blocks = [ | ||
| 30 | - ]; | ||
| 31 | - } | ||
| 32 | - | ||
| 33 | - protected function doDisplay(array $context, array $blocks = []) | ||
| 34 | - { | ||
| 35 | - $macros = $this->macros; | ||
| 36 | - // line 1 | ||
| 37 | - echo "<!DOCTYPE html> | ||
| 38 | -<!--[if IE]><![endif]--> | ||
| 39 | -<!--[if IE 8 ]><html dir=\""; | ||
| 40 | - // line 3 | ||
| 41 | - echo ($context["direction"] ?? null); | ||
| 42 | - echo "\" lang=\""; | ||
| 43 | - echo ($context["lang"] ?? null); | ||
| 44 | - echo "\" class=\"ie8\"><![endif]--> | ||
| 45 | -<!--[if IE 9 ]><html dir=\""; | ||
| 46 | - // line 4 | ||
| 47 | - echo ($context["direction"] ?? null); | ||
| 48 | - echo "\" lang=\""; | ||
| 49 | - echo ($context["lang"] ?? null); | ||
| 50 | - echo "\" class=\"ie9\"><![endif]--> | ||
| 51 | -<!--[if (gt IE 9)|!(IE)]><!--> | ||
| 52 | -<html dir=\""; | ||
| 53 | - // line 6 | ||
| 54 | - echo ($context["direction"] ?? null); | ||
| 55 | - echo "\" lang=\""; | ||
| 56 | - echo ($context["lang"] ?? null); | ||
| 57 | - echo "\"> | ||
| 58 | -<!--<![endif]--> | ||
| 59 | -<head> | ||
| 60 | -<meta charset=\"UTF-8\" /> | ||
| 61 | -<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\"> | ||
| 62 | -<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\"> | ||
| 63 | -<title>"; | ||
| 64 | - // line 12 | ||
| 65 | - echo ($context["title"] ?? null); | ||
| 66 | - echo "</title> | ||
| 67 | -"; | ||
| 68 | - // line 13 | ||
| 69 | - if (($context["robots"] ?? null)) { | ||
| 70 | - // line 14 | ||
| 71 | - echo "<meta name=\"robots\" content=\""; | ||
| 72 | - echo ($context["robots"] ?? null); | ||
| 73 | - echo "\" /> | ||
| 74 | -"; | ||
| 75 | - } | ||
| 76 | - // line 16 | ||
| 77 | - echo "<base href=\""; | ||
| 78 | - echo ($context["base"] ?? null); | ||
| 79 | - echo "\" /> | ||
| 80 | -"; | ||
| 81 | - // line 17 | ||
| 82 | - if (($context["description"] ?? null)) { | ||
| 83 | - // line 18 | ||
| 84 | - echo "<meta name=\"description\" content=\""; | ||
| 85 | - echo ($context["description"] ?? null); | ||
| 86 | - echo "\" /> | ||
| 87 | -"; | ||
| 88 | - } | ||
| 89 | - // line 20 | ||
| 90 | - if (($context["keywords"] ?? null)) { | ||
| 91 | - // line 21 | ||
| 92 | - echo "<meta name=\"keywords\" content=\""; | ||
| 93 | - echo ($context["keywords"] ?? null); | ||
| 94 | - echo "\" /> | ||
| 95 | -"; | ||
| 96 | - } | ||
| 97 | - // line 23 | ||
| 98 | - echo "<meta property=\"og:title\" content=\""; | ||
| 99 | - echo ($context["title"] ?? null); | ||
| 100 | - echo "\" /> | ||
| 101 | -<meta property=\"og:type\" content=\"website\" /> | ||
| 102 | -<meta property=\"og:url\" content=\""; | ||
| 103 | - // line 25 | ||
| 104 | - echo ($context["og_url"] ?? null); | ||
| 105 | - echo "\" /> | ||
| 106 | -"; | ||
| 107 | - // line 26 | ||
| 108 | - if (($context["og_image"] ?? null)) { | ||
| 109 | - // line 27 | ||
| 110 | - echo "<meta property=\"og:image\" content=\""; | ||
| 111 | - echo ($context["og_image"] ?? null); | ||
| 112 | - echo "\" /> | ||
| 113 | -"; | ||
| 114 | - } else { | ||
| 115 | - // line 29 | ||
| 116 | - echo "<meta property=\"og:image\" content=\""; | ||
| 117 | - echo ($context["logo"] ?? null); | ||
| 118 | - echo "\" /> | ||
| 119 | -"; | ||
| 120 | - } | ||
| 121 | - // line 31 | ||
| 122 | - echo "<meta property=\"og:site_name\" content=\""; | ||
| 123 | - echo ($context["name"] ?? null); | ||
| 124 | - echo "\" /> | ||
| 125 | -<script src=\"catalog/view/javascript/jquery/jquery-2.1.1.min.js\" type=\"text/javascript\"></script> | ||
| 126 | -<link href=\"catalog/view/javascript/bootstrap/css/bootstrap.min.css\" rel=\"stylesheet\" media=\"screen\" /> | ||
| 127 | -<script src=\"catalog/view/javascript/bootstrap/js/bootstrap.min.js\" type=\"text/javascript\"></script> | ||
| 128 | -<link href=\"catalog/view/javascript/font-awesome/css/font-awesome.min.css\" rel=\"stylesheet\" type=\"text/css\" /> | ||
| 129 | -<link href=\"//fonts.googleapis.com/css?family=Open+Sans:400,400i,300,700\" rel=\"stylesheet\" type=\"text/css\" /> | ||
| 130 | -<link href=\"catalog/view/theme/default/stylesheet/stylesheet.css\" rel=\"stylesheet\"> | ||
| 131 | -"; | ||
| 132 | - // line 38 | ||
| 133 | - $context['_parent'] = $context; | ||
| 134 | - $context['_seq'] = twig_ensure_traversable(($context["styles"] ?? null)); | ||
| 135 | - foreach ($context['_seq'] as $context["_key"] => $context["style"]) { | ||
| 136 | - // line 39 | ||
| 137 | - echo "<link href=\""; | ||
| 138 | - echo twig_get_attribute($this->env, $this->source, $context["style"], "href", [], "any", false, false, false, 39); | ||
| 139 | - echo "\" type=\"text/css\" rel=\""; | ||
| 140 | - echo twig_get_attribute($this->env, $this->source, $context["style"], "rel", [], "any", false, false, false, 39); | ||
| 141 | - echo "\" media=\""; | ||
| 142 | - echo twig_get_attribute($this->env, $this->source, $context["style"], "media", [], "any", false, false, false, 39); | ||
| 143 | - echo "\" /> | ||
| 144 | -"; | ||
| 145 | - } | ||
| 146 | - $_parent = $context['_parent']; | ||
| 147 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['style'], $context['_parent'], $context['loop']); | ||
| 148 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 149 | - // line 41 | ||
| 150 | - $context['_parent'] = $context; | ||
| 151 | - $context['_seq'] = twig_ensure_traversable(($context["scripts"] ?? null)); | ||
| 152 | - foreach ($context['_seq'] as $context["_key"] => $context["script"]) { | ||
| 153 | - // line 42 | ||
| 154 | - echo "<script src=\""; | ||
| 155 | - echo $context["script"]; | ||
| 156 | - echo "\" type=\"text/javascript\"></script> | ||
| 157 | -"; | ||
| 158 | - } | ||
| 159 | - $_parent = $context['_parent']; | ||
| 160 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['script'], $context['_parent'], $context['loop']); | ||
| 161 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 162 | - // line 44 | ||
| 163 | - echo "<script src=\"catalog/view/javascript/common.js\" type=\"text/javascript\"></script> | ||
| 164 | -"; | ||
| 165 | - // line 45 | ||
| 166 | - $context['_parent'] = $context; | ||
| 167 | - $context['_seq'] = twig_ensure_traversable(($context["links"] ?? null)); | ||
| 168 | - foreach ($context['_seq'] as $context["_key"] => $context["link"]) { | ||
| 169 | - // line 46 | ||
| 170 | - echo "<link href=\""; | ||
| 171 | - echo twig_get_attribute($this->env, $this->source, $context["link"], "href", [], "any", false, false, false, 46); | ||
| 172 | - echo "\" rel=\""; | ||
| 173 | - echo twig_get_attribute($this->env, $this->source, $context["link"], "rel", [], "any", false, false, false, 46); | ||
| 174 | - echo "\" /> | ||
| 175 | -"; | ||
| 176 | - } | ||
| 177 | - $_parent = $context['_parent']; | ||
| 178 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['link'], $context['_parent'], $context['loop']); | ||
| 179 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 180 | - // line 48 | ||
| 181 | - $context['_parent'] = $context; | ||
| 182 | - $context['_seq'] = twig_ensure_traversable(($context["analytics"] ?? null)); | ||
| 183 | - foreach ($context['_seq'] as $context["_key"] => $context["analytic"]) { | ||
| 184 | - // line 49 | ||
| 185 | - echo $context["analytic"]; | ||
| 186 | - echo " | ||
| 187 | -"; | ||
| 188 | - } | ||
| 189 | - $_parent = $context['_parent']; | ||
| 190 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['analytic'], $context['_parent'], $context['loop']); | ||
| 191 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 192 | - // line 51 | ||
| 193 | - echo "</head> | ||
| 194 | -<body> | ||
| 195 | -<nav id=\"top\"> | ||
| 196 | - <div class=\"container\">"; | ||
| 197 | - // line 54 | ||
| 198 | - echo ($context["currency"] ?? null); | ||
| 199 | - echo " | ||
| 200 | - "; | ||
| 201 | - // line 55 | ||
| 202 | - echo ($context["language"] ?? null); | ||
| 203 | - echo " | ||
| 204 | -\t"; | ||
| 205 | - // line 56 | ||
| 206 | - echo ($context["blog_menu"] ?? null); | ||
| 207 | - echo " | ||
| 208 | - <div id=\"top-links\" class=\"nav pull-right\"> | ||
| 209 | - <ul class=\"list-inline\"> | ||
| 210 | - <li><a href=\""; | ||
| 211 | - // line 59 | ||
| 212 | - echo ($context["contact"] ?? null); | ||
| 213 | - echo "\"><i class=\"fa fa-phone\"></i></a> <span class=\"hidden-xs hidden-sm hidden-md\">"; | ||
| 214 | - echo ($context["telephone"] ?? null); | ||
| 215 | - echo "</span></li> | ||
| 216 | - <li class=\"dropdown\"><a href=\""; | ||
| 217 | - // line 60 | ||
| 218 | - echo ($context["account"] ?? null); | ||
| 219 | - echo "\" title=\""; | ||
| 220 | - echo ($context["text_account"] ?? null); | ||
| 221 | - echo "\" class=\"dropdown-toggle\" data-toggle=\"dropdown\"><i class=\"fa fa-user\"></i> <span class=\"hidden-xs hidden-sm hidden-md\">"; | ||
| 222 | - echo ($context["text_account"] ?? null); | ||
| 223 | - echo "</span> <span class=\"caret\"></span></a> | ||
| 224 | - <ul class=\"dropdown-menu dropdown-menu-right\"> | ||
| 225 | - "; | ||
| 226 | - // line 62 | ||
| 227 | - if (($context["logged"] ?? null)) { | ||
| 228 | - // line 63 | ||
| 229 | - echo " <li><a href=\""; | ||
| 230 | - echo ($context["account"] ?? null); | ||
| 231 | - echo "\">"; | ||
| 232 | - echo ($context["text_account"] ?? null); | ||
| 233 | - echo "</a></li> | ||
| 234 | - <li><a href=\""; | ||
| 235 | - // line 64 | ||
| 236 | - echo ($context["order"] ?? null); | ||
| 237 | - echo "\">"; | ||
| 238 | - echo ($context["text_order"] ?? null); | ||
| 239 | - echo "</a></li> | ||
| 240 | - <li><a href=\""; | ||
| 241 | - // line 65 | ||
| 242 | - echo ($context["transaction"] ?? null); | ||
| 243 | - echo "\">"; | ||
| 244 | - echo ($context["text_transaction"] ?? null); | ||
| 245 | - echo "</a></li> | ||
| 246 | - <li><a href=\""; | ||
| 247 | - // line 66 | ||
| 248 | - echo ($context["download"] ?? null); | ||
| 249 | - echo "\">"; | ||
| 250 | - echo ($context["text_download"] ?? null); | ||
| 251 | - echo "</a></li> | ||
| 252 | - <li><a href=\""; | ||
| 253 | - // line 67 | ||
| 254 | - echo ($context["logout"] ?? null); | ||
| 255 | - echo "\">"; | ||
| 256 | - echo ($context["text_logout"] ?? null); | ||
| 257 | - echo "</a></li> | ||
| 258 | - "; | ||
| 259 | - } else { | ||
| 260 | - // line 69 | ||
| 261 | - echo " <li><a href=\""; | ||
| 262 | - echo ($context["register"] ?? null); | ||
| 263 | - echo "\">"; | ||
| 264 | - echo ($context["text_register"] ?? null); | ||
| 265 | - echo "</a></li> | ||
| 266 | - <li><a href=\""; | ||
| 267 | - // line 70 | ||
| 268 | - echo ($context["login"] ?? null); | ||
| 269 | - echo "\">"; | ||
| 270 | - echo ($context["text_login"] ?? null); | ||
| 271 | - echo "</a></li> | ||
| 272 | - "; | ||
| 273 | - } | ||
| 274 | - // line 72 | ||
| 275 | - echo " </ul> | ||
| 276 | - </li> | ||
| 277 | - <li><a href=\""; | ||
| 278 | - // line 74 | ||
| 279 | - echo ($context["wishlist"] ?? null); | ||
| 280 | - echo "\" id=\"wishlist-total\" title=\""; | ||
| 281 | - echo ($context["text_wishlist"] ?? null); | ||
| 282 | - echo "\"><i class=\"fa fa-heart\"></i> <span class=\"hidden-xs hidden-sm hidden-md\">"; | ||
| 283 | - echo ($context["text_wishlist"] ?? null); | ||
| 284 | - echo "</span></a></li> | ||
| 285 | - <li><a href=\""; | ||
| 286 | - // line 75 | ||
| 287 | - echo ($context["shopping_cart"] ?? null); | ||
| 288 | - echo "\" title=\""; | ||
| 289 | - echo ($context["text_shopping_cart"] ?? null); | ||
| 290 | - echo "\"><i class=\"fa fa-shopping-cart\"></i> <span class=\"hidden-xs hidden-sm hidden-md\">"; | ||
| 291 | - echo ($context["text_shopping_cart"] ?? null); | ||
| 292 | - echo "</span></a></li> | ||
| 293 | - <li><a href=\""; | ||
| 294 | - // line 76 | ||
| 295 | - echo ($context["checkout"] ?? null); | ||
| 296 | - echo "\" title=\""; | ||
| 297 | - echo ($context["text_checkout"] ?? null); | ||
| 298 | - echo "\"><i class=\"fa fa-share\"></i> <span class=\"hidden-xs hidden-sm hidden-md\">"; | ||
| 299 | - echo ($context["text_checkout"] ?? null); | ||
| 300 | - echo "</span></a></li> | ||
| 301 | - </ul> | ||
| 302 | - </div> | ||
| 303 | - </div> | ||
| 304 | -</nav> | ||
| 305 | -<header> | ||
| 306 | - <div class=\"container\"> | ||
| 307 | - <div class=\"row\"> | ||
| 308 | - <div class=\"col-sm-4\"> | ||
| 309 | -\t\t<div id=\"logo\"> | ||
| 310 | - "; | ||
| 311 | - // line 86 | ||
| 312 | - if (($context["logo"] ?? null)) { | ||
| 313 | - // line 87 | ||
| 314 | - echo " "; | ||
| 315 | - if ((($context["home"] ?? null) == ($context["og_url"] ?? null))) { | ||
| 316 | - // line 88 | ||
| 317 | - echo " <img src=\""; | ||
| 318 | - echo ($context["logo"] ?? null); | ||
| 319 | - echo "\" title=\""; | ||
| 320 | - echo ($context["name"] ?? null); | ||
| 321 | - echo "\" alt=\""; | ||
| 322 | - echo ($context["name"] ?? null); | ||
| 323 | - echo "\" class=\"img-responsive\" /> | ||
| 324 | - "; | ||
| 325 | - } else { | ||
| 326 | - // line 90 | ||
| 327 | - echo " <a href=\""; | ||
| 328 | - echo ($context["home"] ?? null); | ||
| 329 | - echo "\"><img src=\""; | ||
| 330 | - echo ($context["logo"] ?? null); | ||
| 331 | - echo "\" title=\""; | ||
| 332 | - echo ($context["name"] ?? null); | ||
| 333 | - echo "\" alt=\""; | ||
| 334 | - echo ($context["name"] ?? null); | ||
| 335 | - echo "\" class=\"img-responsive\" /></a> | ||
| 336 | - "; | ||
| 337 | - } | ||
| 338 | - // line 92 | ||
| 339 | - echo " "; | ||
| 340 | - } else { | ||
| 341 | - // line 93 | ||
| 342 | - echo " <h1><a href=\""; | ||
| 343 | - echo ($context["home"] ?? null); | ||
| 344 | - echo "\">"; | ||
| 345 | - echo ($context["name"] ?? null); | ||
| 346 | - echo "</a></h1> | ||
| 347 | - "; | ||
| 348 | - } | ||
| 349 | - // line 95 | ||
| 350 | - echo "\t\t</div> | ||
| 351 | - </div> | ||
| 352 | - <div class=\"col-sm-5\">"; | ||
| 353 | - // line 97 | ||
| 354 | - echo ($context["search"] ?? null); | ||
| 355 | - echo "</div> | ||
| 356 | - <div class=\"col-sm-3\">"; | ||
| 357 | - // line 98 | ||
| 358 | - echo ($context["cart"] ?? null); | ||
| 359 | - echo "</div> | ||
| 360 | - </div> | ||
| 361 | - </div> | ||
| 362 | -</header> | ||
| 363 | -"; | ||
| 364 | - // line 102 | ||
| 365 | - echo ($context["menu"] ?? null); | ||
| 366 | - echo " | ||
| 367 | -"; | ||
| 368 | - } | ||
| 369 | - | ||
| 370 | - public function getTemplateName() | ||
| 371 | - { | ||
| 372 | - return "default/template/common/header.twig"; | ||
| 373 | - } | ||
| 374 | - | ||
| 375 | - public function isTraitable() | ||
| 376 | - { | ||
| 377 | - return false; | ||
| 378 | - } | ||
| 379 | - | ||
| 380 | - public function getDebugInfo() | ||
| 381 | - { | ||
| 382 | - return array ( 365 => 102, 358 => 98, 354 => 97, 350 => 95, 342 => 93, 339 => 92, 327 => 90, 317 => 88, 314 => 87, 312 => 86, 295 => 76, 287 => 75, 279 => 74, 275 => 72, 268 => 70, 261 => 69, 254 => 67, 248 => 66, 242 => 65, 236 => 64, 229 => 63, 227 => 62, 218 => 60, 212 => 59, 206 => 56, 202 => 55, 198 => 54, 193 => 51, 185 => 49, 181 => 48, 170 => 46, 166 => 45, 163 => 44, 154 => 42, 150 => 41, 137 => 39, 133 => 38, 122 => 31, 116 => 29, 110 => 27, 108 => 26, 104 => 25, 98 => 23, 92 => 21, 90 => 20, 84 => 18, 82 => 17, 77 => 16, 71 => 14, 69 => 13, 65 => 12, 54 => 6, 47 => 4, 41 => 3, 37 => 1,); | ||
| 383 | - } | ||
| 384 | - | ||
| 385 | - public function getSourceContext() | ||
| 386 | - { | ||
| 387 | - return new Source("", "default/template/common/header.twig", ""); | ||
| 388 | - } | ||
| 389 | -} |
| 1 | -<?php | ||
| 2 | - | ||
| 3 | -use Twig\Environment; | ||
| 4 | -use Twig\Error\LoaderError; | ||
| 5 | -use Twig\Error\RuntimeError; | ||
| 6 | -use Twig\Extension\CoreExtension; | ||
| 7 | -use Twig\Extension\SandboxExtension; | ||
| 8 | -use Twig\Markup; | ||
| 9 | -use Twig\Sandbox\SecurityError; | ||
| 10 | -use Twig\Sandbox\SecurityNotAllowedTagError; | ||
| 11 | -use Twig\Sandbox\SecurityNotAllowedFilterError; | ||
| 12 | -use Twig\Sandbox\SecurityNotAllowedFunctionError; | ||
| 13 | -use Twig\Source; | ||
| 14 | -use Twig\Template; | ||
| 15 | - | ||
| 16 | -/* catalog/attribute_group_list.twig */ | ||
| 17 | -class __TwigTemplate_35848acc7825c34a9e0ad4039214feb5 extends Template | ||
| 18 | -{ | ||
| 19 | - private $source; | ||
| 20 | - private $macros = []; | ||
| 21 | - | ||
| 22 | - public function __construct(Environment $env) | ||
| 23 | - { | ||
| 24 | - parent::__construct($env); | ||
| 25 | - | ||
| 26 | - $this->source = $this->getSourceContext(); | ||
| 27 | - | ||
| 28 | - $this->parent = false; | ||
| 29 | - | ||
| 30 | - $this->blocks = [ | ||
| 31 | - ]; | ||
| 32 | - } | ||
| 33 | - | ||
| 34 | - protected function doDisplay(array $context, array $blocks = []) | ||
| 35 | - { | ||
| 36 | - $macros = $this->macros; | ||
| 37 | - // line 1 | ||
| 38 | - yield ($context["header"] ?? null); | ||
| 39 | - yield ($context["column_left"] ?? null); | ||
| 40 | - yield " | ||
| 41 | -<div id=\"content\"> | ||
| 42 | - <div class=\"page-header\"> | ||
| 43 | - <div class=\"container-fluid\"> | ||
| 44 | - <div class=\"pull-right\"><a href=\""; | ||
| 45 | - // line 5 | ||
| 46 | - yield ($context["add"] ?? null); | ||
| 47 | - yield "\" data-toggle=\"tooltip\" title=\""; | ||
| 48 | - yield ($context["button_add"] ?? null); | ||
| 49 | - yield "\" class=\"btn btn-primary\"><i class=\"fa fa-plus\"></i></a> | ||
| 50 | - <button type=\"button\" data-toggle=\"tooltip\" title=\""; | ||
| 51 | - // line 6 | ||
| 52 | - yield ($context["button_delete"] ?? null); | ||
| 53 | - yield "\" class=\"btn btn-danger\" onclick=\"confirm('"; | ||
| 54 | - yield ($context["text_confirm"] ?? null); | ||
| 55 | - yield "') ? \$('#form-attribute-group').submit() : false;\"><i class=\"fa fa-trash-o\"></i></button> | ||
| 56 | - </div> | ||
| 57 | - <h1>"; | ||
| 58 | - // line 8 | ||
| 59 | - yield ($context["heading_title"] ?? null); | ||
| 60 | - yield "</h1> | ||
| 61 | - <ul class=\"breadcrumb\"> | ||
| 62 | - "; | ||
| 63 | - // line 10 | ||
| 64 | - $context['_parent'] = $context; | ||
| 65 | - $context['_seq'] = CoreExtension::ensureTraversable(($context["breadcrumbs"] ?? null)); | ||
| 66 | - foreach ($context['_seq'] as $context["_key"] => $context["breadcrumb"]) { | ||
| 67 | - // line 11 | ||
| 68 | - yield " <li><a href=\""; | ||
| 69 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["breadcrumb"], "href", [], "any", false, false, false, 11); | ||
| 70 | - yield "\">"; | ||
| 71 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["breadcrumb"], "text", [], "any", false, false, false, 11); | ||
| 72 | - yield "</a></li> | ||
| 73 | - "; | ||
| 74 | - } | ||
| 75 | - $_parent = $context['_parent']; | ||
| 76 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['breadcrumb'], $context['_parent'], $context['loop']); | ||
| 77 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 78 | - // line 13 | ||
| 79 | - yield " </ul> | ||
| 80 | - </div> | ||
| 81 | - </div> | ||
| 82 | - <div class=\"container-fluid\"> | ||
| 83 | - "; | ||
| 84 | - // line 17 | ||
| 85 | - if (($context["error_warning"] ?? null)) { | ||
| 86 | - // line 18 | ||
| 87 | - yield " <div class=\"alert alert-danger alert-dismissible\"><i class=\"fa fa-exclamation-circle\"></i> "; | ||
| 88 | - yield ($context["error_warning"] ?? null); | ||
| 89 | - yield " | ||
| 90 | - <button type=\"button\" class=\"close\" data-dismiss=\"alert\">×</button> | ||
| 91 | - </div> | ||
| 92 | - "; | ||
| 93 | - } | ||
| 94 | - // line 22 | ||
| 95 | - yield " "; | ||
| 96 | - if (($context["success"] ?? null)) { | ||
| 97 | - // line 23 | ||
| 98 | - yield " <div class=\"alert alert-success alert-dismissible\"><i class=\"fa fa-check-circle\"></i> "; | ||
| 99 | - yield ($context["success"] ?? null); | ||
| 100 | - yield " | ||
| 101 | - <button type=\"button\" class=\"close\" data-dismiss=\"alert\">×</button> | ||
| 102 | - </div> | ||
| 103 | - "; | ||
| 104 | - } | ||
| 105 | - // line 27 | ||
| 106 | - yield " <div class=\"panel panel-default\"> | ||
| 107 | - <div class=\"panel-heading\"> | ||
| 108 | - <h3 class=\"panel-title\"><i class=\"fa fa-list\"></i> "; | ||
| 109 | - // line 29 | ||
| 110 | - yield ($context["text_list"] ?? null); | ||
| 111 | - yield "</h3> | ||
| 112 | - </div> | ||
| 113 | - <div class=\"panel-body\"> | ||
| 114 | - <form action=\""; | ||
| 115 | - // line 32 | ||
| 116 | - yield ($context["delete"] ?? null); | ||
| 117 | - yield "\" method=\"post\" enctype=\"multipart/form-data\" id=\"form-attribute-group\"> | ||
| 118 | - <div class=\"table-responsive\"> | ||
| 119 | - <table class=\"table table-bordered table-hover\"> | ||
| 120 | - <thead> | ||
| 121 | - <tr> | ||
| 122 | - <td style=\"width: 1px;\" class=\"text-center\"><input type=\"checkbox\" onclick=\"\$('input[name*=\\'selected\\']').prop('checked', this.checked);\" /></td> | ||
| 123 | - <td class=\"text-left\">"; | ||
| 124 | - // line 38 | ||
| 125 | - if ((($context["sort"] ?? null) == "agd.name")) { | ||
| 126 | - // line 39 | ||
| 127 | - yield " <a href=\""; | ||
| 128 | - yield ($context["sort_name"] ?? null); | ||
| 129 | - yield "\" class=\""; | ||
| 130 | - yield Twig\Extension\CoreExtension::lower($this->env->getCharset(), ($context["order"] ?? null)); | ||
| 131 | - yield "\">"; | ||
| 132 | - yield ($context["column_name"] ?? null); | ||
| 133 | - yield "</a> | ||
| 134 | - "; | ||
| 135 | - } else { | ||
| 136 | - // line 41 | ||
| 137 | - yield " <a href=\""; | ||
| 138 | - yield ($context["sort_name"] ?? null); | ||
| 139 | - yield "\">"; | ||
| 140 | - yield ($context["column_name"] ?? null); | ||
| 141 | - yield "</a> | ||
| 142 | - "; | ||
| 143 | - } | ||
| 144 | - // line 42 | ||
| 145 | - yield "</td> | ||
| 146 | - <td class=\"text-right\">"; | ||
| 147 | - // line 43 | ||
| 148 | - if ((($context["sort"] ?? null) == "ag.sort_order")) { | ||
| 149 | - // line 44 | ||
| 150 | - yield " <a href=\""; | ||
| 151 | - yield ($context["sort_sort_order"] ?? null); | ||
| 152 | - yield "\" class=\""; | ||
| 153 | - yield Twig\Extension\CoreExtension::lower($this->env->getCharset(), ($context["order"] ?? null)); | ||
| 154 | - yield "\">"; | ||
| 155 | - yield ($context["column_sort_order"] ?? null); | ||
| 156 | - yield "</a> | ||
| 157 | - "; | ||
| 158 | - } else { | ||
| 159 | - // line 46 | ||
| 160 | - yield " <a href=\""; | ||
| 161 | - yield ($context["sort_sort_order"] ?? null); | ||
| 162 | - yield "\">"; | ||
| 163 | - yield ($context["column_sort_order"] ?? null); | ||
| 164 | - yield "</a> | ||
| 165 | - "; | ||
| 166 | - } | ||
| 167 | - // line 47 | ||
| 168 | - yield "</td> | ||
| 169 | - <td class=\"text-right\">"; | ||
| 170 | - // line 48 | ||
| 171 | - yield ($context["column_action"] ?? null); | ||
| 172 | - yield "</td> | ||
| 173 | - </tr> | ||
| 174 | - </thead> | ||
| 175 | - <tbody> | ||
| 176 | - "; | ||
| 177 | - // line 52 | ||
| 178 | - if (($context["attribute_groups"] ?? null)) { | ||
| 179 | - // line 53 | ||
| 180 | - yield " "; | ||
| 181 | - $context['_parent'] = $context; | ||
| 182 | - $context['_seq'] = CoreExtension::ensureTraversable(($context["attribute_groups"] ?? null)); | ||
| 183 | - foreach ($context['_seq'] as $context["_key"] => $context["attribute_group"]) { | ||
| 184 | - // line 54 | ||
| 185 | - yield " <tr> | ||
| 186 | - <td class=\"text-center\">"; | ||
| 187 | - // line 55 | ||
| 188 | - if (CoreExtension::inFilter(CoreExtension::getAttribute($this->env, $this->source, $context["attribute_group"], "attribute_group_id", [], "any", false, false, false, 55), ($context["selected"] ?? null))) { | ||
| 189 | - // line 56 | ||
| 190 | - yield " <input type=\"checkbox\" name=\"selected[]\" value=\""; | ||
| 191 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["attribute_group"], "attribute_group_id", [], "any", false, false, false, 56); | ||
| 192 | - yield "\" checked=\"checked\" /> | ||
| 193 | - "; | ||
| 194 | - } else { | ||
| 195 | - // line 58 | ||
| 196 | - yield " <input type=\"checkbox\" name=\"selected[]\" value=\""; | ||
| 197 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["attribute_group"], "attribute_group_id", [], "any", false, false, false, 58); | ||
| 198 | - yield "\" /> | ||
| 199 | - "; | ||
| 200 | - } | ||
| 201 | - // line 59 | ||
| 202 | - yield "</td> | ||
| 203 | - <td class=\"text-left\">"; | ||
| 204 | - // line 60 | ||
| 205 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["attribute_group"], "name", [], "any", false, false, false, 60); | ||
| 206 | - yield "</td> | ||
| 207 | - <td class=\"text-right\">"; | ||
| 208 | - // line 61 | ||
| 209 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["attribute_group"], "sort_order", [], "any", false, false, false, 61); | ||
| 210 | - yield "</td> | ||
| 211 | - <td class=\"text-right\"><a href=\""; | ||
| 212 | - // line 62 | ||
| 213 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["attribute_group"], "edit", [], "any", false, false, false, 62); | ||
| 214 | - yield "\" data-toggle=\"tooltip\" title=\""; | ||
| 215 | - yield ($context["button_edit"] ?? null); | ||
| 216 | - yield "\" class=\"btn btn-primary\"><i class=\"fa fa-pencil\"></i></a></td> | ||
| 217 | - </tr> | ||
| 218 | - "; | ||
| 219 | - } | ||
| 220 | - $_parent = $context['_parent']; | ||
| 221 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['attribute_group'], $context['_parent'], $context['loop']); | ||
| 222 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 223 | - // line 65 | ||
| 224 | - yield " "; | ||
| 225 | - } else { | ||
| 226 | - // line 66 | ||
| 227 | - yield " <tr> | ||
| 228 | - <td class=\"text-center\" colspan=\"4\">"; | ||
| 229 | - // line 67 | ||
| 230 | - yield ($context["text_no_results"] ?? null); | ||
| 231 | - yield "</td> | ||
| 232 | - </tr> | ||
| 233 | - "; | ||
| 234 | - } | ||
| 235 | - // line 70 | ||
| 236 | - yield " </tbody> | ||
| 237 | - </table> | ||
| 238 | - </div> | ||
| 239 | - </form> | ||
| 240 | - <div class=\"row\"> | ||
| 241 | - <div class=\"col-sm-6 text-left\">"; | ||
| 242 | - // line 75 | ||
| 243 | - yield ($context["pagination"] ?? null); | ||
| 244 | - yield "</div> | ||
| 245 | - <div class=\"col-sm-6 text-right\">"; | ||
| 246 | - // line 76 | ||
| 247 | - yield ($context["results"] ?? null); | ||
| 248 | - yield "</div> | ||
| 249 | - </div> | ||
| 250 | - </div> | ||
| 251 | - </div> | ||
| 252 | - </div> | ||
| 253 | -</div> | ||
| 254 | -"; | ||
| 255 | - // line 82 | ||
| 256 | - yield ($context["footer"] ?? null); | ||
| 257 | - yield " | ||
| 258 | -"; | ||
| 259 | - return; yield ''; | ||
| 260 | - } | ||
| 261 | - | ||
| 262 | - /** | ||
| 263 | - * @codeCoverageIgnore | ||
| 264 | - */ | ||
| 265 | - public function getTemplateName() | ||
| 266 | - { | ||
| 267 | - return "catalog/attribute_group_list.twig"; | ||
| 268 | - } | ||
| 269 | - | ||
| 270 | - /** | ||
| 271 | - * @codeCoverageIgnore | ||
| 272 | - */ | ||
| 273 | - public function isTraitable() | ||
| 274 | - { | ||
| 275 | - return false; | ||
| 276 | - } | ||
| 277 | - | ||
| 278 | - /** | ||
| 279 | - * @codeCoverageIgnore | ||
| 280 | - */ | ||
| 281 | - public function getDebugInfo() | ||
| 282 | - { | ||
| 283 | - return array ( 256 => 82, 247 => 76, 243 => 75, 236 => 70, 230 => 67, 227 => 66, 224 => 65, 213 => 62, 209 => 61, 205 => 60, 202 => 59, 196 => 58, 190 => 56, 188 => 55, 185 => 54, 180 => 53, 178 => 52, 171 => 48, 168 => 47, 160 => 46, 150 => 44, 148 => 43, 145 => 42, 137 => 41, 127 => 39, 125 => 38, 116 => 32, 110 => 29, 106 => 27, 98 => 23, 95 => 22, 87 => 18, 85 => 17, 79 => 13, 68 => 11, 64 => 10, 59 => 8, 52 => 6, 46 => 5, 38 => 1,); | ||
| 284 | - } | ||
| 285 | - | ||
| 286 | - public function getSourceContext() | ||
| 287 | - { | ||
| 288 | - return new Source("", "catalog/attribute_group_list.twig", ""); | ||
| 289 | - } | ||
| 290 | -} |
strg/cache/template/3c/3c2d07a081e189b8a7cf368fffcbf1582839df40d9a16dce7801d0ea27bc44b1.php
deleted
100644 → 0
| 1 | -<?php | ||
| 2 | - | ||
| 3 | -use Twig\Environment; | ||
| 4 | -use Twig\Error\LoaderError; | ||
| 5 | -use Twig\Error\RuntimeError; | ||
| 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 | - | ||
| 15 | -/* default/template/common/menu.twig */ | ||
| 16 | -class __TwigTemplate_dee2b551e81ab88b08f07c26c62e8cbdd06acc5efe9fe9367a5ce7392b5a178b extends \Twig\Template | ||
| 17 | -{ | ||
| 18 | - private $source; | ||
| 19 | - private $macros = []; | ||
| 20 | - | ||
| 21 | - public function __construct(Environment $env) | ||
| 22 | - { | ||
| 23 | - parent::__construct($env); | ||
| 24 | - | ||
| 25 | - $this->source = $this->getSourceContext(); | ||
| 26 | - | ||
| 27 | - $this->parent = false; | ||
| 28 | - | ||
| 29 | - $this->blocks = [ | ||
| 30 | - ]; | ||
| 31 | - } | ||
| 32 | - | ||
| 33 | - protected function doDisplay(array $context, array $blocks = []) | ||
| 34 | - { | ||
| 35 | - $macros = $this->macros; | ||
| 36 | - // line 1 | ||
| 37 | - if (($context["categories"] ?? null)) { | ||
| 38 | - // line 2 | ||
| 39 | - echo "<div class=\"container\"> | ||
| 40 | - <nav id=\"menu\" class=\"navbar\"> | ||
| 41 | - <div class=\"navbar-header\"><span id=\"category\" class=\"visible-xs\">"; | ||
| 42 | - // line 4 | ||
| 43 | - echo ($context["text_category"] ?? null); | ||
| 44 | - echo "</span> | ||
| 45 | - <button type=\"button\" class=\"btn btn-navbar navbar-toggle\" data-toggle=\"collapse\" data-target=\".navbar-ex1-collapse\"><i class=\"fa fa-bars\"></i></button> | ||
| 46 | - </div> | ||
| 47 | - <div class=\"collapse navbar-collapse navbar-ex1-collapse\"> | ||
| 48 | - <ul class=\"nav navbar-nav\"> | ||
| 49 | - "; | ||
| 50 | - // line 9 | ||
| 51 | - $context['_parent'] = $context; | ||
| 52 | - $context['_seq'] = twig_ensure_traversable(($context["categories"] ?? null)); | ||
| 53 | - foreach ($context['_seq'] as $context["_key"] => $context["category"]) { | ||
| 54 | - // line 10 | ||
| 55 | - echo " "; | ||
| 56 | - if (twig_get_attribute($this->env, $this->source, $context["category"], "children", [], "any", false, false, false, 10)) { | ||
| 57 | - // line 11 | ||
| 58 | - echo " <li class=\"dropdown\"><a href=\""; | ||
| 59 | - echo twig_get_attribute($this->env, $this->source, $context["category"], "href", [], "any", false, false, false, 11); | ||
| 60 | - echo "\" class=\"dropdown-toggle\" data-toggle=\"dropdown\">"; | ||
| 61 | - echo twig_get_attribute($this->env, $this->source, $context["category"], "name", [], "any", false, false, false, 11); | ||
| 62 | - echo "</a> | ||
| 63 | - <div class=\"dropdown-menu\"> | ||
| 64 | - <div class=\"dropdown-inner\"> "; | ||
| 65 | - // line 13 | ||
| 66 | - $context['_parent'] = $context; | ||
| 67 | - $context['_seq'] = twig_ensure_traversable(twig_array_batch(twig_get_attribute($this->env, $this->source, $context["category"], "children", [], "any", false, false, false, 13), (twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, $context["category"], "children", [], "any", false, false, false, 13)) / twig_round(twig_get_attribute($this->env, $this->source, $context["category"], "column", [], "any", false, false, false, 13), 1, "ceil")))); | ||
| 68 | - foreach ($context['_seq'] as $context["_key"] => $context["children"]) { | ||
| 69 | - // line 14 | ||
| 70 | - echo " <ul class=\"list-unstyled\"> | ||
| 71 | - "; | ||
| 72 | - // line 15 | ||
| 73 | - $context['_parent'] = $context; | ||
| 74 | - $context['_seq'] = twig_ensure_traversable($context["children"]); | ||
| 75 | - foreach ($context['_seq'] as $context["_key"] => $context["child"]) { | ||
| 76 | - // line 16 | ||
| 77 | - echo " <li><a href=\""; | ||
| 78 | - echo twig_get_attribute($this->env, $this->source, $context["child"], "href", [], "any", false, false, false, 16); | ||
| 79 | - echo "\">"; | ||
| 80 | - echo twig_get_attribute($this->env, $this->source, $context["child"], "name", [], "any", false, false, false, 16); | ||
| 81 | - echo "</a></li> | ||
| 82 | - "; | ||
| 83 | - } | ||
| 84 | - $_parent = $context['_parent']; | ||
| 85 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['child'], $context['_parent'], $context['loop']); | ||
| 86 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 87 | - // line 18 | ||
| 88 | - echo " </ul> | ||
| 89 | - "; | ||
| 90 | - } | ||
| 91 | - $_parent = $context['_parent']; | ||
| 92 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['children'], $context['_parent'], $context['loop']); | ||
| 93 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 94 | - // line 19 | ||
| 95 | - echo "</div> | ||
| 96 | - <a href=\""; | ||
| 97 | - // line 20 | ||
| 98 | - echo twig_get_attribute($this->env, $this->source, $context["category"], "href", [], "any", false, false, false, 20); | ||
| 99 | - echo "\" class=\"see-all\">"; | ||
| 100 | - echo ($context["text_all"] ?? null); | ||
| 101 | - echo " "; | ||
| 102 | - echo twig_get_attribute($this->env, $this->source, $context["category"], "name", [], "any", false, false, false, 20); | ||
| 103 | - echo "</a> </div> | ||
| 104 | - </li> | ||
| 105 | - "; | ||
| 106 | - } else { | ||
| 107 | - // line 23 | ||
| 108 | - echo " <li><a href=\""; | ||
| 109 | - echo twig_get_attribute($this->env, $this->source, $context["category"], "href", [], "any", false, false, false, 23); | ||
| 110 | - echo "\">"; | ||
| 111 | - echo twig_get_attribute($this->env, $this->source, $context["category"], "name", [], "any", false, false, false, 23); | ||
| 112 | - echo "</a></li> | ||
| 113 | - "; | ||
| 114 | - } | ||
| 115 | - // line 25 | ||
| 116 | - echo " "; | ||
| 117 | - } | ||
| 118 | - $_parent = $context['_parent']; | ||
| 119 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['category'], $context['_parent'], $context['loop']); | ||
| 120 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 121 | - // line 26 | ||
| 122 | - echo " </ul> | ||
| 123 | - </div> | ||
| 124 | - </nav> | ||
| 125 | -</div> | ||
| 126 | -"; | ||
| 127 | - } | ||
| 128 | - // line 30 | ||
| 129 | - echo " "; | ||
| 130 | - } | ||
| 131 | - | ||
| 132 | - public function getTemplateName() | ||
| 133 | - { | ||
| 134 | - return "default/template/common/menu.twig"; | ||
| 135 | - } | ||
| 136 | - | ||
| 137 | - public function isTraitable() | ||
| 138 | - { | ||
| 139 | - return false; | ||
| 140 | - } | ||
| 141 | - | ||
| 142 | - public function getDebugInfo() | ||
| 143 | - { | ||
| 144 | - return array ( 129 => 30, 122 => 26, 116 => 25, 108 => 23, 98 => 20, 95 => 19, 88 => 18, 77 => 16, 73 => 15, 70 => 14, 66 => 13, 58 => 11, 55 => 10, 51 => 9, 43 => 4, 39 => 2, 37 => 1,); | ||
| 145 | - } | ||
| 146 | - | ||
| 147 | - public function getSourceContext() | ||
| 148 | - { | ||
| 149 | - return new Source("", "default/template/common/menu.twig", ""); | ||
| 150 | - } | ||
| 151 | -} |
strg/cache/template/55/553192aee59f1a602790d70892717a00fa6943fb998451029d5c7d7e73a1d9c6.php
deleted
100644 → 0
| 1 | -<?php | ||
| 2 | - | ||
| 3 | -use Twig\Environment; | ||
| 4 | -use Twig\Error\LoaderError; | ||
| 5 | -use Twig\Error\RuntimeError; | ||
| 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 | - | ||
| 15 | -/* install/step_1.twig */ | ||
| 16 | -class __TwigTemplate_4c297b6c38896feda5794f3cb7f06c3ad2036741a13f604b6b55e191db4ab7ef extends \Twig\Template | ||
| 17 | -{ | ||
| 18 | - private $source; | ||
| 19 | - private $macros = []; | ||
| 20 | - | ||
| 21 | - public function __construct(Environment $env) | ||
| 22 | - { | ||
| 23 | - parent::__construct($env); | ||
| 24 | - | ||
| 25 | - $this->source = $this->getSourceContext(); | ||
| 26 | - | ||
| 27 | - $this->parent = false; | ||
| 28 | - | ||
| 29 | - $this->blocks = [ | ||
| 30 | - ]; | ||
| 31 | - } | ||
| 32 | - | ||
| 33 | - protected function doDisplay(array $context, array $blocks = []) | ||
| 34 | - { | ||
| 35 | - $macros = $this->macros; | ||
| 36 | - // line 1 | ||
| 37 | - echo ($context["header"] ?? null); | ||
| 38 | - echo " | ||
| 39 | -<div class=\"container\"> | ||
| 40 | - <header> | ||
| 41 | - <div class=\"row\"> | ||
| 42 | - <div class=\"col-sm-6\"> | ||
| 43 | - <h1 class=\"pull-left\">1<small>/4</small></h1> | ||
| 44 | - <h3>"; | ||
| 45 | - // line 7 | ||
| 46 | - echo ($context["heading_title"] ?? null); | ||
| 47 | - echo "<br> | ||
| 48 | - <small>"; | ||
| 49 | - // line 8 | ||
| 50 | - echo ($context["text_step_1"] ?? null); | ||
| 51 | - echo "</small></h3> | ||
| 52 | - </div> | ||
| 53 | - <div class=\"col-sm-6\"> | ||
| 54 | - <div id=\"logo\" class=\"pull-right hidden-xs\"><img src=\"view/image/logo.png\" alt=\"ocStore\" title=\"ocStore\" /></div> | ||
| 55 | - </div> | ||
| 56 | - </div> | ||
| 57 | - </header> | ||
| 58 | - <div class=\"row\"> | ||
| 59 | - <div class=\"col-sm-9\"> | ||
| 60 | - <form action=\""; | ||
| 61 | - // line 17 | ||
| 62 | - echo ($context["action"] ?? null); | ||
| 63 | - echo "\" method=\"post\" enctype=\"multipart/form-data\"> | ||
| 64 | - <div class=\"terms\">"; | ||
| 65 | - // line 18 | ||
| 66 | - echo ($context["text_terms"] ?? null); | ||
| 67 | - echo "</div> | ||
| 68 | - <div class=\"buttons\"> | ||
| 69 | - <div class=\"pull-right\"> | ||
| 70 | - <input type=\"submit\" value=\""; | ||
| 71 | - // line 21 | ||
| 72 | - echo ($context["button_continue"] ?? null); | ||
| 73 | - echo "\" class=\"btn btn-primary\" /> | ||
| 74 | - </div> | ||
| 75 | - </div> | ||
| 76 | - </form> | ||
| 77 | - </div> | ||
| 78 | - <div class=\"col-sm-3\">"; | ||
| 79 | - // line 26 | ||
| 80 | - echo ($context["column_left"] ?? null); | ||
| 81 | - echo "</div> | ||
| 82 | - </div> | ||
| 83 | -</div> | ||
| 84 | -"; | ||
| 85 | - // line 29 | ||
| 86 | - echo ($context["footer"] ?? null); | ||
| 87 | - } | ||
| 88 | - | ||
| 89 | - public function getTemplateName() | ||
| 90 | - { | ||
| 91 | - return "install/step_1.twig"; | ||
| 92 | - } | ||
| 93 | - | ||
| 94 | - public function isTraitable() | ||
| 95 | - { | ||
| 96 | - return false; | ||
| 97 | - } | ||
| 98 | - | ||
| 99 | - public function getDebugInfo() | ||
| 100 | - { | ||
| 101 | - return array ( 86 => 29, 80 => 26, 72 => 21, 66 => 18, 62 => 17, 50 => 8, 46 => 7, 37 => 1,); | ||
| 102 | - } | ||
| 103 | - | ||
| 104 | - public function getSourceContext() | ||
| 105 | - { | ||
| 106 | - return new Source("", "install/step_1.twig", ""); | ||
| 107 | - } | ||
| 108 | -} |
| 1 | -<?php | ||
| 2 | - | ||
| 3 | -use Twig\Environment; | ||
| 4 | -use Twig\Error\LoaderError; | ||
| 5 | -use Twig\Error\RuntimeError; | ||
| 6 | -use Twig\Extension\CoreExtension; | ||
| 7 | -use Twig\Extension\SandboxExtension; | ||
| 8 | -use Twig\Markup; | ||
| 9 | -use Twig\Sandbox\SecurityError; | ||
| 10 | -use Twig\Sandbox\SecurityNotAllowedTagError; | ||
| 11 | -use Twig\Sandbox\SecurityNotAllowedFilterError; | ||
| 12 | -use Twig\Sandbox\SecurityNotAllowedFunctionError; | ||
| 13 | -use Twig\Source; | ||
| 14 | -use Twig\Template; | ||
| 15 | - | ||
| 16 | -/* default/template/common/footer.twig */ | ||
| 17 | -class __TwigTemplate_78f2983509b129bcbae4e5bc5c67ba84 extends Template | ||
| 18 | -{ | ||
| 19 | - private $source; | ||
| 20 | - private $macros = []; | ||
| 21 | - | ||
| 22 | - public function __construct(Environment $env) | ||
| 23 | - { | ||
| 24 | - parent::__construct($env); | ||
| 25 | - | ||
| 26 | - $this->source = $this->getSourceContext(); | ||
| 27 | - | ||
| 28 | - $this->parent = false; | ||
| 29 | - | ||
| 30 | - $this->blocks = [ | ||
| 31 | - ]; | ||
| 32 | - } | ||
| 33 | - | ||
| 34 | - protected function doDisplay(array $context, array $blocks = []) | ||
| 35 | - { | ||
| 36 | - $macros = $this->macros; | ||
| 37 | - // line 1 | ||
| 38 | - yield "<footer> | ||
| 39 | - <div class=\"container\"> | ||
| 40 | - <div class=\"row\"> | ||
| 41 | - "; | ||
| 42 | - // line 4 | ||
| 43 | - if (($context["informations"] ?? null)) { | ||
| 44 | - // line 5 | ||
| 45 | - yield " <div class=\"col-sm-3\"> | ||
| 46 | - <h5>"; | ||
| 47 | - // line 6 | ||
| 48 | - yield ($context["text_information"] ?? null); | ||
| 49 | - yield "</h5> | ||
| 50 | - <ul class=\"list-unstyled\"> | ||
| 51 | - "; | ||
| 52 | - // line 8 | ||
| 53 | - $context['_parent'] = $context; | ||
| 54 | - $context['_seq'] = CoreExtension::ensureTraversable(($context["informations"] ?? null)); | ||
| 55 | - foreach ($context['_seq'] as $context["_key"] => $context["information"]) { | ||
| 56 | - // line 9 | ||
| 57 | - yield " <li><a href=\""; | ||
| 58 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["information"], "href", [], "any", false, false, false, 9); | ||
| 59 | - yield "\">"; | ||
| 60 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["information"], "title", [], "any", false, false, false, 9); | ||
| 61 | - yield "</a></li> | ||
| 62 | - "; | ||
| 63 | - } | ||
| 64 | - $_parent = $context['_parent']; | ||
| 65 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['information'], $context['_parent'], $context['loop']); | ||
| 66 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 67 | - // line 11 | ||
| 68 | - yield " </ul> | ||
| 69 | - </div> | ||
| 70 | - "; | ||
| 71 | - } | ||
| 72 | - // line 14 | ||
| 73 | - yield " <div class=\"col-sm-3\"> | ||
| 74 | - <h5>"; | ||
| 75 | - // line 15 | ||
| 76 | - yield ($context["text_service"] ?? null); | ||
| 77 | - yield "</h5> | ||
| 78 | - <ul class=\"list-unstyled\"> | ||
| 79 | - <li><a href=\""; | ||
| 80 | - // line 17 | ||
| 81 | - yield ($context["contact"] ?? null); | ||
| 82 | - yield "\">"; | ||
| 83 | - yield ($context["text_contact"] ?? null); | ||
| 84 | - yield "</a></li> | ||
| 85 | - <li><a href=\""; | ||
| 86 | - // line 18 | ||
| 87 | - yield ($context["return"] ?? null); | ||
| 88 | - yield "\">"; | ||
| 89 | - yield ($context["text_return"] ?? null); | ||
| 90 | - yield "</a></li> | ||
| 91 | - <li><a href=\""; | ||
| 92 | - // line 19 | ||
| 93 | - yield ($context["sitemap"] ?? null); | ||
| 94 | - yield "\">"; | ||
| 95 | - yield ($context["text_sitemap"] ?? null); | ||
| 96 | - yield "</a></li> | ||
| 97 | - </ul> | ||
| 98 | - </div> | ||
| 99 | - <div class=\"col-sm-3\"> | ||
| 100 | - <h5>"; | ||
| 101 | - // line 23 | ||
| 102 | - yield ($context["text_extra"] ?? null); | ||
| 103 | - yield "</h5> | ||
| 104 | - <ul class=\"list-unstyled\"> | ||
| 105 | - <li><a href=\""; | ||
| 106 | - // line 25 | ||
| 107 | - yield ($context["manufacturer"] ?? null); | ||
| 108 | - yield "\">"; | ||
| 109 | - yield ($context["text_manufacturer"] ?? null); | ||
| 110 | - yield "</a></li> | ||
| 111 | - <li><a href=\""; | ||
| 112 | - // line 26 | ||
| 113 | - yield ($context["voucher"] ?? null); | ||
| 114 | - yield "\">"; | ||
| 115 | - yield ($context["text_voucher"] ?? null); | ||
| 116 | - yield "</a></li> | ||
| 117 | - <li><a href=\""; | ||
| 118 | - // line 27 | ||
| 119 | - yield ($context["affiliate"] ?? null); | ||
| 120 | - yield "\">"; | ||
| 121 | - yield ($context["text_affiliate"] ?? null); | ||
| 122 | - yield "</a></li> | ||
| 123 | - <li><a href=\""; | ||
| 124 | - // line 28 | ||
| 125 | - yield ($context["special"] ?? null); | ||
| 126 | - yield "\">"; | ||
| 127 | - yield ($context["text_special"] ?? null); | ||
| 128 | - yield "</a></li> | ||
| 129 | - </ul> | ||
| 130 | - </div> | ||
| 131 | - <div class=\"col-sm-3\"> | ||
| 132 | - <h5>"; | ||
| 133 | - // line 32 | ||
| 134 | - yield ($context["text_account"] ?? null); | ||
| 135 | - yield "</h5> | ||
| 136 | - <ul class=\"list-unstyled\"> | ||
| 137 | - <li><a href=\""; | ||
| 138 | - // line 34 | ||
| 139 | - yield ($context["account"] ?? null); | ||
| 140 | - yield "\">"; | ||
| 141 | - yield ($context["text_account"] ?? null); | ||
| 142 | - yield "</a></li> | ||
| 143 | - <li><a href=\""; | ||
| 144 | - // line 35 | ||
| 145 | - yield ($context["order"] ?? null); | ||
| 146 | - yield "\">"; | ||
| 147 | - yield ($context["text_order"] ?? null); | ||
| 148 | - yield "</a></li> | ||
| 149 | - <li><a href=\""; | ||
| 150 | - // line 36 | ||
| 151 | - yield ($context["wishlist"] ?? null); | ||
| 152 | - yield "\">"; | ||
| 153 | - yield ($context["text_wishlist"] ?? null); | ||
| 154 | - yield "</a></li> | ||
| 155 | - <li><a href=\""; | ||
| 156 | - // line 37 | ||
| 157 | - yield ($context["newsletter"] ?? null); | ||
| 158 | - yield "\">"; | ||
| 159 | - yield ($context["text_newsletter"] ?? null); | ||
| 160 | - yield "</a></li> | ||
| 161 | - </ul> | ||
| 162 | - </div> | ||
| 163 | - </div> | ||
| 164 | - <hr> | ||
| 165 | - <p>"; | ||
| 166 | - // line 42 | ||
| 167 | - yield ($context["powered"] ?? null); | ||
| 168 | - yield "</p> | ||
| 169 | - </div> | ||
| 170 | -</footer> | ||
| 171 | -"; | ||
| 172 | - // line 45 | ||
| 173 | - $context['_parent'] = $context; | ||
| 174 | - $context['_seq'] = CoreExtension::ensureTraversable(($context["styles"] ?? null)); | ||
| 175 | - foreach ($context['_seq'] as $context["_key"] => $context["style"]) { | ||
| 176 | - // line 46 | ||
| 177 | - yield "<link href=\""; | ||
| 178 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["style"], "href", [], "any", false, false, false, 46); | ||
| 179 | - yield "\" type=\"text/css\" rel=\""; | ||
| 180 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["style"], "rel", [], "any", false, false, false, 46); | ||
| 181 | - yield "\" media=\""; | ||
| 182 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["style"], "media", [], "any", false, false, false, 46); | ||
| 183 | - yield "\" /> | ||
| 184 | -"; | ||
| 185 | - } | ||
| 186 | - $_parent = $context['_parent']; | ||
| 187 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['style'], $context['_parent'], $context['loop']); | ||
| 188 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 189 | - // line 48 | ||
| 190 | - $context['_parent'] = $context; | ||
| 191 | - $context['_seq'] = CoreExtension::ensureTraversable(($context["scripts"] ?? null)); | ||
| 192 | - foreach ($context['_seq'] as $context["_key"] => $context["script"]) { | ||
| 193 | - // line 49 | ||
| 194 | - yield "<script src=\""; | ||
| 195 | - yield $context["script"]; | ||
| 196 | - yield "\" type=\"text/javascript\"></script> | ||
| 197 | -"; | ||
| 198 | - } | ||
| 199 | - $_parent = $context['_parent']; | ||
| 200 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['script'], $context['_parent'], $context['loop']); | ||
| 201 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 202 | - // line 51 | ||
| 203 | - yield "<!-- | ||
| 204 | -OpenCart is open source software and you are free to remove the powered by OpenCart if you want, but its generally accepted practise to make a small donation. | ||
| 205 | -Please donate via PayPal to donate@opencart.com | ||
| 206 | -//--> | ||
| 207 | -</body></html>"; | ||
| 208 | - return; yield ''; | ||
| 209 | - } | ||
| 210 | - | ||
| 211 | - /** | ||
| 212 | - * @codeCoverageIgnore | ||
| 213 | - */ | ||
| 214 | - public function getTemplateName() | ||
| 215 | - { | ||
| 216 | - return "default/template/common/footer.twig"; | ||
| 217 | - } | ||
| 218 | - | ||
| 219 | - /** | ||
| 220 | - * @codeCoverageIgnore | ||
| 221 | - */ | ||
| 222 | - public function isTraitable() | ||
| 223 | - { | ||
| 224 | - return false; | ||
| 225 | - } | ||
| 226 | - | ||
| 227 | - /** | ||
| 228 | - * @codeCoverageIgnore | ||
| 229 | - */ | ||
| 230 | - public function getDebugInfo() | ||
| 231 | - { | ||
| 232 | - return array ( 203 => 51, 194 => 49, 190 => 48, 177 => 46, 173 => 45, 167 => 42, 157 => 37, 151 => 36, 145 => 35, 139 => 34, 134 => 32, 125 => 28, 119 => 27, 113 => 26, 107 => 25, 102 => 23, 93 => 19, 87 => 18, 81 => 17, 76 => 15, 73 => 14, 68 => 11, 57 => 9, 53 => 8, 48 => 6, 45 => 5, 43 => 4, 38 => 1,); | ||
| 233 | - } | ||
| 234 | - | ||
| 235 | - public function getSourceContext() | ||
| 236 | - { | ||
| 237 | - return new Source("", "default/template/common/footer.twig", ""); | ||
| 238 | - } | ||
| 239 | -} |
strg/cache/template/61/611c585c5adb6169d19164f9df1b01e6ad9cb1a0029d13d2f2355cc0a20d0cb4.php
deleted
100644 → 0
| 1 | -<?php | ||
| 2 | - | ||
| 3 | -use Twig\Environment; | ||
| 4 | -use Twig\Error\LoaderError; | ||
| 5 | -use Twig\Error\RuntimeError; | ||
| 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 | - | ||
| 15 | -/* default/template/common/home.twig */ | ||
| 16 | -class __TwigTemplate_afa29637b6792a8ca030276dcd307b3bd6cc9b21a88cd815a05248463ea71c03 extends \Twig\Template | ||
| 17 | -{ | ||
| 18 | - private $source; | ||
| 19 | - private $macros = []; | ||
| 20 | - | ||
| 21 | - public function __construct(Environment $env) | ||
| 22 | - { | ||
| 23 | - parent::__construct($env); | ||
| 24 | - | ||
| 25 | - $this->source = $this->getSourceContext(); | ||
| 26 | - | ||
| 27 | - $this->parent = false; | ||
| 28 | - | ||
| 29 | - $this->blocks = [ | ||
| 30 | - ]; | ||
| 31 | - } | ||
| 32 | - | ||
| 33 | - protected function doDisplay(array $context, array $blocks = []) | ||
| 34 | - { | ||
| 35 | - $macros = $this->macros; | ||
| 36 | - // line 1 | ||
| 37 | - echo ($context["header"] ?? null); | ||
| 38 | - echo " | ||
| 39 | -<div id=\"common-home\" class=\"container\"> | ||
| 40 | - <div class=\"row\">"; | ||
| 41 | - // line 3 | ||
| 42 | - echo ($context["column_left"] ?? null); | ||
| 43 | - echo " | ||
| 44 | - "; | ||
| 45 | - // line 4 | ||
| 46 | - if ((($context["column_left"] ?? null) && ($context["column_right"] ?? null))) { | ||
| 47 | - // line 5 | ||
| 48 | - echo " "; | ||
| 49 | - $context["class"] = "col-sm-6"; | ||
| 50 | - // line 6 | ||
| 51 | - echo " "; | ||
| 52 | - } elseif ((($context["column_left"] ?? null) || ($context["column_right"] ?? null))) { | ||
| 53 | - // line 7 | ||
| 54 | - echo " "; | ||
| 55 | - $context["class"] = "col-sm-9"; | ||
| 56 | - // line 8 | ||
| 57 | - echo " "; | ||
| 58 | - } else { | ||
| 59 | - // line 9 | ||
| 60 | - echo " "; | ||
| 61 | - $context["class"] = "col-sm-12"; | ||
| 62 | - // line 10 | ||
| 63 | - echo " "; | ||
| 64 | - } | ||
| 65 | - // line 11 | ||
| 66 | - echo " <div id=\"content\" class=\""; | ||
| 67 | - echo ($context["class"] ?? null); | ||
| 68 | - echo "\">"; | ||
| 69 | - echo ($context["content_top"] ?? null); | ||
| 70 | - echo ($context["content_bottom"] ?? null); | ||
| 71 | - echo "</div> | ||
| 72 | - "; | ||
| 73 | - // line 12 | ||
| 74 | - echo ($context["column_right"] ?? null); | ||
| 75 | - echo "</div> | ||
| 76 | -</div> | ||
| 77 | -"; | ||
| 78 | - // line 14 | ||
| 79 | - echo ($context["footer"] ?? null); | ||
| 80 | - } | ||
| 81 | - | ||
| 82 | - public function getTemplateName() | ||
| 83 | - { | ||
| 84 | - return "default/template/common/home.twig"; | ||
| 85 | - } | ||
| 86 | - | ||
| 87 | - public function isTraitable() | ||
| 88 | - { | ||
| 89 | - return false; | ||
| 90 | - } | ||
| 91 | - | ||
| 92 | - public function getDebugInfo() | ||
| 93 | - { | ||
| 94 | - return array ( 79 => 14, 74 => 12, 66 => 11, 63 => 10, 60 => 9, 57 => 8, 54 => 7, 51 => 6, 48 => 5, 46 => 4, 42 => 3, 37 => 1,); | ||
| 95 | - } | ||
| 96 | - | ||
| 97 | - public function getSourceContext() | ||
| 98 | - { | ||
| 99 | - return new Source("", "default/template/common/home.twig", ""); | ||
| 100 | - } | ||
| 101 | -} |
strg/cache/template/65/65f475cfb8b2c10a7ca5c10bc85ebaad4f40f713309bf6e93e59ab3959685757.php
deleted
100644 → 0
| 1 | -<?php | ||
| 2 | - | ||
| 3 | -use Twig\Environment; | ||
| 4 | -use Twig\Error\LoaderError; | ||
| 5 | -use Twig\Error\RuntimeError; | ||
| 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 | - | ||
| 15 | -/* default/template/common/footer.twig */ | ||
| 16 | -class __TwigTemplate_095914b04076c5765a8029522dfff278289ca928a3a097ff1599ca56143b6229 extends \Twig\Template | ||
| 17 | -{ | ||
| 18 | - private $source; | ||
| 19 | - private $macros = []; | ||
| 20 | - | ||
| 21 | - public function __construct(Environment $env) | ||
| 22 | - { | ||
| 23 | - parent::__construct($env); | ||
| 24 | - | ||
| 25 | - $this->source = $this->getSourceContext(); | ||
| 26 | - | ||
| 27 | - $this->parent = false; | ||
| 28 | - | ||
| 29 | - $this->blocks = [ | ||
| 30 | - ]; | ||
| 31 | - } | ||
| 32 | - | ||
| 33 | - protected function doDisplay(array $context, array $blocks = []) | ||
| 34 | - { | ||
| 35 | - $macros = $this->macros; | ||
| 36 | - // line 1 | ||
| 37 | - echo "<footer> | ||
| 38 | - <div class=\"container\"> | ||
| 39 | - <div class=\"row\"> | ||
| 40 | - "; | ||
| 41 | - // line 4 | ||
| 42 | - if (($context["informations"] ?? null)) { | ||
| 43 | - // line 5 | ||
| 44 | - echo " <div class=\"col-sm-3\"> | ||
| 45 | - <h5>"; | ||
| 46 | - // line 6 | ||
| 47 | - echo ($context["text_information"] ?? null); | ||
| 48 | - echo "</h5> | ||
| 49 | - <ul class=\"list-unstyled\"> | ||
| 50 | - "; | ||
| 51 | - // line 8 | ||
| 52 | - $context['_parent'] = $context; | ||
| 53 | - $context['_seq'] = twig_ensure_traversable(($context["informations"] ?? null)); | ||
| 54 | - foreach ($context['_seq'] as $context["_key"] => $context["information"]) { | ||
| 55 | - // line 9 | ||
| 56 | - echo " <li><a href=\""; | ||
| 57 | - echo twig_get_attribute($this->env, $this->source, $context["information"], "href", [], "any", false, false, false, 9); | ||
| 58 | - echo "\">"; | ||
| 59 | - echo twig_get_attribute($this->env, $this->source, $context["information"], "title", [], "any", false, false, false, 9); | ||
| 60 | - echo "</a></li> | ||
| 61 | - "; | ||
| 62 | - } | ||
| 63 | - $_parent = $context['_parent']; | ||
| 64 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['information'], $context['_parent'], $context['loop']); | ||
| 65 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 66 | - // line 11 | ||
| 67 | - echo " </ul> | ||
| 68 | - </div> | ||
| 69 | - "; | ||
| 70 | - } | ||
| 71 | - // line 14 | ||
| 72 | - echo " <div class=\"col-sm-3\"> | ||
| 73 | - <h5>"; | ||
| 74 | - // line 15 | ||
| 75 | - echo ($context["text_service"] ?? null); | ||
| 76 | - echo "</h5> | ||
| 77 | - <ul class=\"list-unstyled\"> | ||
| 78 | - <li><a href=\""; | ||
| 79 | - // line 17 | ||
| 80 | - echo ($context["contact"] ?? null); | ||
| 81 | - echo "\">"; | ||
| 82 | - echo ($context["text_contact"] ?? null); | ||
| 83 | - echo "</a></li> | ||
| 84 | - <li><a href=\""; | ||
| 85 | - // line 18 | ||
| 86 | - echo ($context["return"] ?? null); | ||
| 87 | - echo "\">"; | ||
| 88 | - echo ($context["text_return"] ?? null); | ||
| 89 | - echo "</a></li> | ||
| 90 | - <li><a href=\""; | ||
| 91 | - // line 19 | ||
| 92 | - echo ($context["sitemap"] ?? null); | ||
| 93 | - echo "\">"; | ||
| 94 | - echo ($context["text_sitemap"] ?? null); | ||
| 95 | - echo "</a></li> | ||
| 96 | - </ul> | ||
| 97 | - </div> | ||
| 98 | - <div class=\"col-sm-3\"> | ||
| 99 | - <h5>"; | ||
| 100 | - // line 23 | ||
| 101 | - echo ($context["text_extra"] ?? null); | ||
| 102 | - echo "</h5> | ||
| 103 | - <ul class=\"list-unstyled\"> | ||
| 104 | - <li><a href=\""; | ||
| 105 | - // line 25 | ||
| 106 | - echo ($context["manufacturer"] ?? null); | ||
| 107 | - echo "\">"; | ||
| 108 | - echo ($context["text_manufacturer"] ?? null); | ||
| 109 | - echo "</a></li> | ||
| 110 | - <li><a href=\""; | ||
| 111 | - // line 26 | ||
| 112 | - echo ($context["voucher"] ?? null); | ||
| 113 | - echo "\">"; | ||
| 114 | - echo ($context["text_voucher"] ?? null); | ||
| 115 | - echo "</a></li> | ||
| 116 | - <li><a href=\""; | ||
| 117 | - // line 27 | ||
| 118 | - echo ($context["affiliate"] ?? null); | ||
| 119 | - echo "\">"; | ||
| 120 | - echo ($context["text_affiliate"] ?? null); | ||
| 121 | - echo "</a></li> | ||
| 122 | - <li><a href=\""; | ||
| 123 | - // line 28 | ||
| 124 | - echo ($context["special"] ?? null); | ||
| 125 | - echo "\">"; | ||
| 126 | - echo ($context["text_special"] ?? null); | ||
| 127 | - echo "</a></li> | ||
| 128 | - </ul> | ||
| 129 | - </div> | ||
| 130 | - <div class=\"col-sm-3\"> | ||
| 131 | - <h5>"; | ||
| 132 | - // line 32 | ||
| 133 | - echo ($context["text_account"] ?? null); | ||
| 134 | - echo "</h5> | ||
| 135 | - <ul class=\"list-unstyled\"> | ||
| 136 | - <li><a href=\""; | ||
| 137 | - // line 34 | ||
| 138 | - echo ($context["account"] ?? null); | ||
| 139 | - echo "\">"; | ||
| 140 | - echo ($context["text_account"] ?? null); | ||
| 141 | - echo "</a></li> | ||
| 142 | - <li><a href=\""; | ||
| 143 | - // line 35 | ||
| 144 | - echo ($context["order"] ?? null); | ||
| 145 | - echo "\">"; | ||
| 146 | - echo ($context["text_order"] ?? null); | ||
| 147 | - echo "</a></li> | ||
| 148 | - <li><a href=\""; | ||
| 149 | - // line 36 | ||
| 150 | - echo ($context["wishlist"] ?? null); | ||
| 151 | - echo "\">"; | ||
| 152 | - echo ($context["text_wishlist"] ?? null); | ||
| 153 | - echo "</a></li> | ||
| 154 | - <li><a href=\""; | ||
| 155 | - // line 37 | ||
| 156 | - echo ($context["newsletter"] ?? null); | ||
| 157 | - echo "\">"; | ||
| 158 | - echo ($context["text_newsletter"] ?? null); | ||
| 159 | - echo "</a></li> | ||
| 160 | - </ul> | ||
| 161 | - </div> | ||
| 162 | - </div> | ||
| 163 | - <hr> | ||
| 164 | - <p>"; | ||
| 165 | - // line 42 | ||
| 166 | - echo ($context["powered"] ?? null); | ||
| 167 | - echo "</p> | ||
| 168 | - </div> | ||
| 169 | -</footer> | ||
| 170 | -"; | ||
| 171 | - // line 45 | ||
| 172 | - $context['_parent'] = $context; | ||
| 173 | - $context['_seq'] = twig_ensure_traversable(($context["styles"] ?? null)); | ||
| 174 | - foreach ($context['_seq'] as $context["_key"] => $context["style"]) { | ||
| 175 | - // line 46 | ||
| 176 | - echo "<link href=\""; | ||
| 177 | - echo twig_get_attribute($this->env, $this->source, $context["style"], "href", [], "any", false, false, false, 46); | ||
| 178 | - echo "\" type=\"text/css\" rel=\""; | ||
| 179 | - echo twig_get_attribute($this->env, $this->source, $context["style"], "rel", [], "any", false, false, false, 46); | ||
| 180 | - echo "\" media=\""; | ||
| 181 | - echo twig_get_attribute($this->env, $this->source, $context["style"], "media", [], "any", false, false, false, 46); | ||
| 182 | - echo "\" /> | ||
| 183 | -"; | ||
| 184 | - } | ||
| 185 | - $_parent = $context['_parent']; | ||
| 186 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['style'], $context['_parent'], $context['loop']); | ||
| 187 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 188 | - // line 48 | ||
| 189 | - $context['_parent'] = $context; | ||
| 190 | - $context['_seq'] = twig_ensure_traversable(($context["scripts"] ?? null)); | ||
| 191 | - foreach ($context['_seq'] as $context["_key"] => $context["script"]) { | ||
| 192 | - // line 49 | ||
| 193 | - echo "<script src=\""; | ||
| 194 | - echo $context["script"]; | ||
| 195 | - echo "\" type=\"text/javascript\"></script> | ||
| 196 | -"; | ||
| 197 | - } | ||
| 198 | - $_parent = $context['_parent']; | ||
| 199 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['script'], $context['_parent'], $context['loop']); | ||
| 200 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 201 | - // line 51 | ||
| 202 | - echo "<!-- | ||
| 203 | -OpenCart is open source software and you are free to remove the powered by OpenCart if you want, but its generally accepted practise to make a small donation. | ||
| 204 | -Please donate via PayPal to donate@opencart.com | ||
| 205 | -//--> | ||
| 206 | -</body></html>"; | ||
| 207 | - } | ||
| 208 | - | ||
| 209 | - public function getTemplateName() | ||
| 210 | - { | ||
| 211 | - return "default/template/common/footer.twig"; | ||
| 212 | - } | ||
| 213 | - | ||
| 214 | - public function isTraitable() | ||
| 215 | - { | ||
| 216 | - return false; | ||
| 217 | - } | ||
| 218 | - | ||
| 219 | - public function getDebugInfo() | ||
| 220 | - { | ||
| 221 | - return array ( 202 => 51, 193 => 49, 189 => 48, 176 => 46, 172 => 45, 166 => 42, 156 => 37, 150 => 36, 144 => 35, 138 => 34, 133 => 32, 124 => 28, 118 => 27, 112 => 26, 106 => 25, 101 => 23, 92 => 19, 86 => 18, 80 => 17, 75 => 15, 72 => 14, 67 => 11, 56 => 9, 52 => 8, 47 => 6, 44 => 5, 42 => 4, 37 => 1,); | ||
| 222 | - } | ||
| 223 | - | ||
| 224 | - public function getSourceContext() | ||
| 225 | - { | ||
| 226 | - return new Source("", "default/template/common/footer.twig", ""); | ||
| 227 | - } | ||
| 228 | -} |
strg/cache/template/6c/6ce9b8c86dd9f64a564d408319f47f0b59ceec961abe05fbb11706b801abd4cc.php
deleted
100644 → 0
| 1 | -<?php | ||
| 2 | - | ||
| 3 | -use Twig\Environment; | ||
| 4 | -use Twig\Error\LoaderError; | ||
| 5 | -use Twig\Error\RuntimeError; | ||
| 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 | - | ||
| 15 | -/* common/column_left.twig */ | ||
| 16 | -class __TwigTemplate_0f26b9c9327b25ba06f2e1da065dd767f46a8bab863a584b1d0176305e9d624c extends \Twig\Template | ||
| 17 | -{ | ||
| 18 | - private $source; | ||
| 19 | - private $macros = []; | ||
| 20 | - | ||
| 21 | - public function __construct(Environment $env) | ||
| 22 | - { | ||
| 23 | - parent::__construct($env); | ||
| 24 | - | ||
| 25 | - $this->source = $this->getSourceContext(); | ||
| 26 | - | ||
| 27 | - $this->parent = false; | ||
| 28 | - | ||
| 29 | - $this->blocks = [ | ||
| 30 | - ]; | ||
| 31 | - } | ||
| 32 | - | ||
| 33 | - protected function doDisplay(array $context, array $blocks = []) | ||
| 34 | - { | ||
| 35 | - $macros = $this->macros; | ||
| 36 | - // line 1 | ||
| 37 | - echo "<ul class=\"list-group\"> | ||
| 38 | - "; | ||
| 39 | - // line 2 | ||
| 40 | - if ((twig_slice($this->env, ($context["route"] ?? null), 0, 8) != "upgrade/")) { | ||
| 41 | - // line 3 | ||
| 42 | - echo " "; | ||
| 43 | - if ((($context["route"] ?? null) == "install/step_1")) { | ||
| 44 | - // line 4 | ||
| 45 | - echo " <li class=\"list-group-item\"><b>"; | ||
| 46 | - echo ($context["text_license"] ?? null); | ||
| 47 | - echo "</b></li> | ||
| 48 | - "; | ||
| 49 | - } else { | ||
| 50 | - // line 6 | ||
| 51 | - echo " <li class=\"list-group-item\">"; | ||
| 52 | - echo ($context["text_license"] ?? null); | ||
| 53 | - echo "</li> | ||
| 54 | - "; | ||
| 55 | - } | ||
| 56 | - // line 8 | ||
| 57 | - echo " "; | ||
| 58 | - if ((($context["route"] ?? null) == "install/step_2")) { | ||
| 59 | - // line 9 | ||
| 60 | - echo " <li class=\"list-group-item\"><b>"; | ||
| 61 | - echo ($context["text_installation"] ?? null); | ||
| 62 | - echo "</b></li> | ||
| 63 | - "; | ||
| 64 | - } else { | ||
| 65 | - // line 11 | ||
| 66 | - echo " <li class=\"list-group-item\">"; | ||
| 67 | - echo ($context["text_installation"] ?? null); | ||
| 68 | - echo "</li> | ||
| 69 | - "; | ||
| 70 | - } | ||
| 71 | - // line 13 | ||
| 72 | - echo " "; | ||
| 73 | - if ((($context["route"] ?? null) == "install/step_3")) { | ||
| 74 | - // line 14 | ||
| 75 | - echo " <li class=\"list-group-item\"><b>"; | ||
| 76 | - echo ($context["text_configuration"] ?? null); | ||
| 77 | - echo "</b></li> | ||
| 78 | - "; | ||
| 79 | - } else { | ||
| 80 | - // line 16 | ||
| 81 | - echo " <li class=\"list-group-item\">"; | ||
| 82 | - echo ($context["text_configuration"] ?? null); | ||
| 83 | - echo "</li> | ||
| 84 | - "; | ||
| 85 | - } | ||
| 86 | - // line 18 | ||
| 87 | - echo " "; | ||
| 88 | - } else { | ||
| 89 | - // line 19 | ||
| 90 | - echo " "; | ||
| 91 | - if ((($context["route"] ?? null) == "upgrade/upgrade")) { | ||
| 92 | - // line 20 | ||
| 93 | - echo " <li class=\"list-group-item\"><b>"; | ||
| 94 | - echo ($context["text_upgrade"] ?? null); | ||
| 95 | - echo "</b></li> | ||
| 96 | - "; | ||
| 97 | - } else { | ||
| 98 | - // line 22 | ||
| 99 | - echo " <li class=\"list-group-item\">"; | ||
| 100 | - echo ($context["text_upgrade"] ?? null); | ||
| 101 | - echo "</li> | ||
| 102 | - "; | ||
| 103 | - } | ||
| 104 | - // line 24 | ||
| 105 | - echo " "; | ||
| 106 | - if ((($context["route"] ?? null) == "upgrade/upgrade/success")) { | ||
| 107 | - // line 25 | ||
| 108 | - echo " <li class=\"list-group-item\"><b>"; | ||
| 109 | - echo ($context["text_finished"] ?? null); | ||
| 110 | - echo "</b></li> | ||
| 111 | - "; | ||
| 112 | - } else { | ||
| 113 | - // line 27 | ||
| 114 | - echo " <li class=\"list-group-item\">"; | ||
| 115 | - echo ($context["text_finished"] ?? null); | ||
| 116 | - echo "</li> | ||
| 117 | - "; | ||
| 118 | - } | ||
| 119 | - // line 29 | ||
| 120 | - echo " "; | ||
| 121 | - } | ||
| 122 | - // line 30 | ||
| 123 | - echo "</ul> | ||
| 124 | -<form action=\""; | ||
| 125 | - // line 31 | ||
| 126 | - echo ($context["action"] ?? null); | ||
| 127 | - echo "\" method=\"post\" enctype=\"multipart/form-data\" id=\"language\"> | ||
| 128 | - <ul class=\"list-group\"> | ||
| 129 | - <li class=\"list-group-item\"> | ||
| 130 | - <div class=\"dropdown\"> | ||
| 131 | - <button class=\"btn btn-default dropdown-toggle\" type=\"button\" data-toggle=\"dropdown\">"; | ||
| 132 | - // line 35 | ||
| 133 | - echo ($context["text_language"] ?? null); | ||
| 134 | - echo " <span class=\"caret\"></span></button> | ||
| 135 | - <ul class=\"dropdown-menu\"> | ||
| 136 | - "; | ||
| 137 | - // line 37 | ||
| 138 | - $context['_parent'] = $context; | ||
| 139 | - $context['_seq'] = twig_ensure_traversable(($context["languages"] ?? null)); | ||
| 140 | - foreach ($context['_seq'] as $context["_key"] => $context["language"]) { | ||
| 141 | - // line 38 | ||
| 142 | - echo " <li><a href=\""; | ||
| 143 | - echo $context["language"]; | ||
| 144 | - echo "\"><img src=\"language/"; | ||
| 145 | - echo $context["language"]; | ||
| 146 | - echo "/"; | ||
| 147 | - echo $context["language"]; | ||
| 148 | - echo ".png\" /></a></li> | ||
| 149 | - "; | ||
| 150 | - } | ||
| 151 | - $_parent = $context['_parent']; | ||
| 152 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['language'], $context['_parent'], $context['loop']); | ||
| 153 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 154 | - // line 40 | ||
| 155 | - echo " </ul> | ||
| 156 | - </div> | ||
| 157 | - </li> | ||
| 158 | - </ul> | ||
| 159 | - <input type=\"hidden\" name=\"code\" value=\"\" /> | ||
| 160 | - <input type=\"hidden\" name=\"redirect\" value=\""; | ||
| 161 | - // line 45 | ||
| 162 | - echo ($context["redirect"] ?? null); | ||
| 163 | - echo "\" /> | ||
| 164 | -</form> | ||
| 165 | -<script type=\"text/javascript\"><!-- | ||
| 166 | -// Language | ||
| 167 | -\$('#language a').on('click', function(e) { | ||
| 168 | -\te.preventDefault(); | ||
| 169 | - | ||
| 170 | -\t\$('#language input[name=\\'code\\']').val(\$(this).attr('href')); | ||
| 171 | - | ||
| 172 | -\t\$('#language').submit(); | ||
| 173 | -}); | ||
| 174 | ---></script> | ||
| 175 | -"; | ||
| 176 | - } | ||
| 177 | - | ||
| 178 | - public function getTemplateName() | ||
| 179 | - { | ||
| 180 | - return "common/column_left.twig"; | ||
| 181 | - } | ||
| 182 | - | ||
| 183 | - public function isTraitable() | ||
| 184 | - { | ||
| 185 | - return false; | ||
| 186 | - } | ||
| 187 | - | ||
| 188 | - public function getDebugInfo() | ||
| 189 | - { | ||
| 190 | - return array ( 162 => 45, 155 => 40, 142 => 38, 138 => 37, 133 => 35, 126 => 31, 123 => 30, 120 => 29, 114 => 27, 108 => 25, 105 => 24, 99 => 22, 93 => 20, 90 => 19, 87 => 18, 81 => 16, 75 => 14, 72 => 13, 66 => 11, 60 => 9, 57 => 8, 51 => 6, 45 => 4, 42 => 3, 40 => 2, 37 => 1,); | ||
| 191 | - } | ||
| 192 | - | ||
| 193 | - public function getSourceContext() | ||
| 194 | - { | ||
| 195 | - return new Source("", "common/column_left.twig", ""); | ||
| 196 | - } | ||
| 197 | -} |
| 1 | -<?php | ||
| 2 | - | ||
| 3 | -use Twig\Environment; | ||
| 4 | -use Twig\Error\LoaderError; | ||
| 5 | -use Twig\Error\RuntimeError; | ||
| 6 | -use Twig\Extension\CoreExtension; | ||
| 7 | -use Twig\Extension\SandboxExtension; | ||
| 8 | -use Twig\Markup; | ||
| 9 | -use Twig\Sandbox\SecurityError; | ||
| 10 | -use Twig\Sandbox\SecurityNotAllowedTagError; | ||
| 11 | -use Twig\Sandbox\SecurityNotAllowedFilterError; | ||
| 12 | -use Twig\Sandbox\SecurityNotAllowedFunctionError; | ||
| 13 | -use Twig\Source; | ||
| 14 | -use Twig\Template; | ||
| 15 | - | ||
| 16 | -/* extension/dashboard/customer_info.twig */ | ||
| 17 | -class __TwigTemplate_659781e46f5c784590b47fed2ed45b74 extends Template | ||
| 18 | -{ | ||
| 19 | - private $source; | ||
| 20 | - private $macros = []; | ||
| 21 | - | ||
| 22 | - public function __construct(Environment $env) | ||
| 23 | - { | ||
| 24 | - parent::__construct($env); | ||
| 25 | - | ||
| 26 | - $this->source = $this->getSourceContext(); | ||
| 27 | - | ||
| 28 | - $this->parent = false; | ||
| 29 | - | ||
| 30 | - $this->blocks = [ | ||
| 31 | - ]; | ||
| 32 | - } | ||
| 33 | - | ||
| 34 | - protected function doDisplay(array $context, array $blocks = []) | ||
| 35 | - { | ||
| 36 | - $macros = $this->macros; | ||
| 37 | - // line 1 | ||
| 38 | - yield "<div class=\"tile tile-primary\"> | ||
| 39 | - <div class=\"tile-heading\">"; | ||
| 40 | - // line 2 | ||
| 41 | - yield ($context["heading_title"] ?? null); | ||
| 42 | - yield " <span class=\"pull-right\"> | ||
| 43 | - "; | ||
| 44 | - // line 3 | ||
| 45 | - if ((($context["percentage"] ?? null) > 0)) { | ||
| 46 | - // line 4 | ||
| 47 | - yield " <i class=\"fa fa-caret-up\"></i> | ||
| 48 | - "; | ||
| 49 | - } elseif (( // line 5 | ||
| 50 | -($context["percentage"] ?? null) < 0)) { | ||
| 51 | - // line 6 | ||
| 52 | - yield " <i class=\"fa fa-caret-down\"></i> | ||
| 53 | - "; | ||
| 54 | - } | ||
| 55 | - // line 8 | ||
| 56 | - yield " "; | ||
| 57 | - yield ($context["percentage"] ?? null); | ||
| 58 | - yield "%</span></div> | ||
| 59 | - <div class=\"tile-body\"><i class=\"fa fa-user\"></i> | ||
| 60 | - <h2 class=\"pull-right\">"; | ||
| 61 | - // line 10 | ||
| 62 | - yield ($context["total"] ?? null); | ||
| 63 | - yield "</h2> | ||
| 64 | - </div> | ||
| 65 | - <div class=\"tile-footer\"><a href=\""; | ||
| 66 | - // line 12 | ||
| 67 | - yield ($context["customer"] ?? null); | ||
| 68 | - yield "\">"; | ||
| 69 | - yield ($context["text_view"] ?? null); | ||
| 70 | - yield "</a></div> | ||
| 71 | -</div> | ||
| 72 | -"; | ||
| 73 | - return; yield ''; | ||
| 74 | - } | ||
| 75 | - | ||
| 76 | - /** | ||
| 77 | - * @codeCoverageIgnore | ||
| 78 | - */ | ||
| 79 | - public function getTemplateName() | ||
| 80 | - { | ||
| 81 | - return "extension/dashboard/customer_info.twig"; | ||
| 82 | - } | ||
| 83 | - | ||
| 84 | - /** | ||
| 85 | - * @codeCoverageIgnore | ||
| 86 | - */ | ||
| 87 | - public function isTraitable() | ||
| 88 | - { | ||
| 89 | - return false; | ||
| 90 | - } | ||
| 91 | - | ||
| 92 | - /** | ||
| 93 | - * @codeCoverageIgnore | ||
| 94 | - */ | ||
| 95 | - public function getDebugInfo() | ||
| 96 | - { | ||
| 97 | - return array ( 67 => 12, 62 => 10, 56 => 8, 52 => 6, 50 => 5, 47 => 4, 45 => 3, 41 => 2, 38 => 1,); | ||
| 98 | - } | ||
| 99 | - | ||
| 100 | - public function getSourceContext() | ||
| 101 | - { | ||
| 102 | - return new Source("", "extension/dashboard/customer_info.twig", ""); | ||
| 103 | - } | ||
| 104 | -} |
strg/cache/template/76/76eef1435adc59884b4a2d9819c802d67275eb5bb8e635ccc5f3e54e13891b5d.php
deleted
100644 → 0
| 1 | -<?php | ||
| 2 | - | ||
| 3 | -use Twig\Environment; | ||
| 4 | -use Twig\Error\LoaderError; | ||
| 5 | -use Twig\Error\RuntimeError; | ||
| 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 | - | ||
| 15 | -/* default/template/extension/module/banner.twig */ | ||
| 16 | -class __TwigTemplate_9216e8c0a91492b2711969861742c88676fbf2c7049554ca627d2ff700fbe872 extends \Twig\Template | ||
| 17 | -{ | ||
| 18 | - private $source; | ||
| 19 | - private $macros = []; | ||
| 20 | - | ||
| 21 | - public function __construct(Environment $env) | ||
| 22 | - { | ||
| 23 | - parent::__construct($env); | ||
| 24 | - | ||
| 25 | - $this->source = $this->getSourceContext(); | ||
| 26 | - | ||
| 27 | - $this->parent = false; | ||
| 28 | - | ||
| 29 | - $this->blocks = [ | ||
| 30 | - ]; | ||
| 31 | - } | ||
| 32 | - | ||
| 33 | - protected function doDisplay(array $context, array $blocks = []) | ||
| 34 | - { | ||
| 35 | - $macros = $this->macros; | ||
| 36 | - // line 1 | ||
| 37 | - echo "<div class=\"swiper-viewport\"> | ||
| 38 | - <div id=\"banner"; | ||
| 39 | - // line 2 | ||
| 40 | - echo ($context["module"] ?? null); | ||
| 41 | - echo "\" class=\"swiper-container\"> | ||
| 42 | - <div class=\"swiper-wrapper\">"; | ||
| 43 | - // line 3 | ||
| 44 | - $context['_parent'] = $context; | ||
| 45 | - $context['_seq'] = twig_ensure_traversable(($context["banners"] ?? null)); | ||
| 46 | - foreach ($context['_seq'] as $context["_key"] => $context["banner"]) { | ||
| 47 | - // line 4 | ||
| 48 | - echo " <div class=\"swiper-slide\">"; | ||
| 49 | - if (twig_get_attribute($this->env, $this->source, $context["banner"], "link", [], "any", false, false, false, 4)) { | ||
| 50 | - echo "<a href=\""; | ||
| 51 | - echo twig_get_attribute($this->env, $this->source, $context["banner"], "link", [], "any", false, false, false, 4); | ||
| 52 | - echo "\"><img src=\""; | ||
| 53 | - echo twig_get_attribute($this->env, $this->source, $context["banner"], "image", [], "any", false, false, false, 4); | ||
| 54 | - echo "\" alt=\""; | ||
| 55 | - echo twig_get_attribute($this->env, $this->source, $context["banner"], "title", [], "any", false, false, false, 4); | ||
| 56 | - echo "\" class=\"img-responsive\" /></a>"; | ||
| 57 | - } else { | ||
| 58 | - echo "<img src=\""; | ||
| 59 | - echo twig_get_attribute($this->env, $this->source, $context["banner"], "image", [], "any", false, false, false, 4); | ||
| 60 | - echo "\" alt=\""; | ||
| 61 | - echo twig_get_attribute($this->env, $this->source, $context["banner"], "title", [], "any", false, false, false, 4); | ||
| 62 | - echo "\" class=\"img-responsive\" />"; | ||
| 63 | - } | ||
| 64 | - echo "</div> | ||
| 65 | - "; | ||
| 66 | - } | ||
| 67 | - $_parent = $context['_parent']; | ||
| 68 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['banner'], $context['_parent'], $context['loop']); | ||
| 69 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 70 | - // line 5 | ||
| 71 | - echo "</div> | ||
| 72 | - </div> | ||
| 73 | -</div> | ||
| 74 | -<script type=\"text/javascript\"><!-- | ||
| 75 | -\$('#banner"; | ||
| 76 | - // line 9 | ||
| 77 | - echo ($context["module"] ?? null); | ||
| 78 | - echo "').swiper({ | ||
| 79 | -\teffect: 'fade', | ||
| 80 | -\tautoplay: 2500, | ||
| 81 | - autoplayDisableOnInteraction: false | ||
| 82 | -}); | ||
| 83 | ---></script> "; | ||
| 84 | - } | ||
| 85 | - | ||
| 86 | - public function getTemplateName() | ||
| 87 | - { | ||
| 88 | - return "default/template/extension/module/banner.twig"; | ||
| 89 | - } | ||
| 90 | - | ||
| 91 | - public function isTraitable() | ||
| 92 | - { | ||
| 93 | - return false; | ||
| 94 | - } | ||
| 95 | - | ||
| 96 | - public function getDebugInfo() | ||
| 97 | - { | ||
| 98 | - return array ( 77 => 9, 71 => 5, 48 => 4, 44 => 3, 40 => 2, 37 => 1,); | ||
| 99 | - } | ||
| 100 | - | ||
| 101 | - public function getSourceContext() | ||
| 102 | - { | ||
| 103 | - return new Source("", "default/template/extension/module/banner.twig", ""); | ||
| 104 | - } | ||
| 105 | -} |
| 1 | -<?php | ||
| 2 | - | ||
| 3 | -use Twig\Environment; | ||
| 4 | -use Twig\Error\LoaderError; | ||
| 5 | -use Twig\Error\RuntimeError; | ||
| 6 | -use Twig\Extension\CoreExtension; | ||
| 7 | -use Twig\Extension\SandboxExtension; | ||
| 8 | -use Twig\Markup; | ||
| 9 | -use Twig\Sandbox\SecurityError; | ||
| 10 | -use Twig\Sandbox\SecurityNotAllowedTagError; | ||
| 11 | -use Twig\Sandbox\SecurityNotAllowedFilterError; | ||
| 12 | -use Twig\Sandbox\SecurityNotAllowedFunctionError; | ||
| 13 | -use Twig\Source; | ||
| 14 | -use Twig\Template; | ||
| 15 | - | ||
| 16 | -/* extension/dashboard/order_info.twig */ | ||
| 17 | -class __TwigTemplate_fc712c5b5b70dfee284d07321debaaa9 extends Template | ||
| 18 | -{ | ||
| 19 | - private $source; | ||
| 20 | - private $macros = []; | ||
| 21 | - | ||
| 22 | - public function __construct(Environment $env) | ||
| 23 | - { | ||
| 24 | - parent::__construct($env); | ||
| 25 | - | ||
| 26 | - $this->source = $this->getSourceContext(); | ||
| 27 | - | ||
| 28 | - $this->parent = false; | ||
| 29 | - | ||
| 30 | - $this->blocks = [ | ||
| 31 | - ]; | ||
| 32 | - } | ||
| 33 | - | ||
| 34 | - protected function doDisplay(array $context, array $blocks = []) | ||
| 35 | - { | ||
| 36 | - $macros = $this->macros; | ||
| 37 | - // line 1 | ||
| 38 | - yield "<div class=\"tile tile-primary\"> | ||
| 39 | - <div class=\"tile-heading\">"; | ||
| 40 | - // line 2 | ||
| 41 | - yield ($context["heading_title"] ?? null); | ||
| 42 | - yield " <span class=\"pull-right\"> | ||
| 43 | - "; | ||
| 44 | - // line 3 | ||
| 45 | - if ((($context["percentage"] ?? null) > 0)) { | ||
| 46 | - yield " | ||
| 47 | - <i class=\"fa fa-caret-up\"></i> | ||
| 48 | - "; | ||
| 49 | - } elseif (( // line 5 | ||
| 50 | -($context["percentage"] ?? null) < 0)) { | ||
| 51 | - // line 6 | ||
| 52 | - yield " <i class=\"fa fa-caret-down\"></i> | ||
| 53 | - "; | ||
| 54 | - } | ||
| 55 | - // line 8 | ||
| 56 | - yield " "; | ||
| 57 | - yield ($context["percentage"] ?? null); | ||
| 58 | - yield "%</span></div> | ||
| 59 | - <div class=\"tile-body\"><i class=\"fa fa-shopping-cart\"></i> | ||
| 60 | - <h2 class=\"pull-right\">"; | ||
| 61 | - // line 10 | ||
| 62 | - yield ($context["total"] ?? null); | ||
| 63 | - yield "</h2> | ||
| 64 | - </div> | ||
| 65 | - <div class=\"tile-footer\"><a href=\""; | ||
| 66 | - // line 12 | ||
| 67 | - yield ($context["order"] ?? null); | ||
| 68 | - yield "\">"; | ||
| 69 | - yield ($context["text_view"] ?? null); | ||
| 70 | - yield "</a></div> | ||
| 71 | -</div> | ||
| 72 | -"; | ||
| 73 | - return; yield ''; | ||
| 74 | - } | ||
| 75 | - | ||
| 76 | - /** | ||
| 77 | - * @codeCoverageIgnore | ||
| 78 | - */ | ||
| 79 | - public function getTemplateName() | ||
| 80 | - { | ||
| 81 | - return "extension/dashboard/order_info.twig"; | ||
| 82 | - } | ||
| 83 | - | ||
| 84 | - /** | ||
| 85 | - * @codeCoverageIgnore | ||
| 86 | - */ | ||
| 87 | - public function isTraitable() | ||
| 88 | - { | ||
| 89 | - return false; | ||
| 90 | - } | ||
| 91 | - | ||
| 92 | - /** | ||
| 93 | - * @codeCoverageIgnore | ||
| 94 | - */ | ||
| 95 | - public function getDebugInfo() | ||
| 96 | - { | ||
| 97 | - return array ( 67 => 12, 62 => 10, 56 => 8, 52 => 6, 50 => 5, 45 => 3, 41 => 2, 38 => 1,); | ||
| 98 | - } | ||
| 99 | - | ||
| 100 | - public function getSourceContext() | ||
| 101 | - { | ||
| 102 | - return new Source("", "extension/dashboard/order_info.twig", ""); | ||
| 103 | - } | ||
| 104 | -} |
strg/cache/template/7a/7a6eb93afffbb0d2b630b4e1cba020b11563cbe407b96445c8bb040a8683a862.php
deleted
100644 → 0
| 1 | -<?php | ||
| 2 | - | ||
| 3 | -use Twig\Environment; | ||
| 4 | -use Twig\Error\LoaderError; | ||
| 5 | -use Twig\Error\RuntimeError; | ||
| 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 | - | ||
| 15 | -/* default/template/product/category.twig */ | ||
| 16 | -class __TwigTemplate_ecede05931945df38d4a5502c7356047b96dd0efa138f07ca7d56ceb21c8cd7c extends \Twig\Template | ||
| 17 | -{ | ||
| 18 | - private $source; | ||
| 19 | - private $macros = []; | ||
| 20 | - | ||
| 21 | - public function __construct(Environment $env) | ||
| 22 | - { | ||
| 23 | - parent::__construct($env); | ||
| 24 | - | ||
| 25 | - $this->source = $this->getSourceContext(); | ||
| 26 | - | ||
| 27 | - $this->parent = false; | ||
| 28 | - | ||
| 29 | - $this->blocks = [ | ||
| 30 | - ]; | ||
| 31 | - } | ||
| 32 | - | ||
| 33 | - protected function doDisplay(array $context, array $blocks = []) | ||
| 34 | - { | ||
| 35 | - $macros = $this->macros; | ||
| 36 | - // line 1 | ||
| 37 | - echo ($context["header"] ?? null); | ||
| 38 | - echo " | ||
| 39 | -<div id=\"product-category\" class=\"container\"> | ||
| 40 | - <ul class=\"breadcrumb\"> | ||
| 41 | - "; | ||
| 42 | - // line 4 | ||
| 43 | - $context['_parent'] = $context; | ||
| 44 | - $context['_seq'] = twig_ensure_traversable(($context["breadcrumbs"] ?? null)); | ||
| 45 | - foreach ($context['_seq'] as $context["_key"] => $context["breadcrumb"]) { | ||
| 46 | - // line 5 | ||
| 47 | - echo " <li><a href=\""; | ||
| 48 | - echo twig_get_attribute($this->env, $this->source, $context["breadcrumb"], "href", [], "any", false, false, false, 5); | ||
| 49 | - echo "\">"; | ||
| 50 | - echo twig_get_attribute($this->env, $this->source, $context["breadcrumb"], "text", [], "any", false, false, false, 5); | ||
| 51 | - echo "</a></li> | ||
| 52 | - "; | ||
| 53 | - } | ||
| 54 | - $_parent = $context['_parent']; | ||
| 55 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['breadcrumb'], $context['_parent'], $context['loop']); | ||
| 56 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 57 | - // line 7 | ||
| 58 | - echo " </ul> | ||
| 59 | - <div class=\"row\">"; | ||
| 60 | - // line 8 | ||
| 61 | - echo ($context["column_left"] ?? null); | ||
| 62 | - echo " | ||
| 63 | - "; | ||
| 64 | - // line 9 | ||
| 65 | - if ((($context["column_left"] ?? null) && ($context["column_right"] ?? null))) { | ||
| 66 | - // line 10 | ||
| 67 | - echo " "; | ||
| 68 | - $context["class"] = "col-sm-6"; | ||
| 69 | - // line 11 | ||
| 70 | - echo " "; | ||
| 71 | - } elseif ((($context["column_left"] ?? null) || ($context["column_right"] ?? null))) { | ||
| 72 | - // line 12 | ||
| 73 | - echo " "; | ||
| 74 | - $context["class"] = "col-sm-9"; | ||
| 75 | - // line 13 | ||
| 76 | - echo " "; | ||
| 77 | - } else { | ||
| 78 | - // line 14 | ||
| 79 | - echo " "; | ||
| 80 | - $context["class"] = "col-sm-12"; | ||
| 81 | - // line 15 | ||
| 82 | - echo " "; | ||
| 83 | - } | ||
| 84 | - // line 16 | ||
| 85 | - echo " <div id=\"content\" class=\""; | ||
| 86 | - echo ($context["class"] ?? null); | ||
| 87 | - echo "\">"; | ||
| 88 | - echo ($context["content_top"] ?? null); | ||
| 89 | - echo " | ||
| 90 | - <h1>"; | ||
| 91 | - // line 17 | ||
| 92 | - echo ($context["heading_title"] ?? null); | ||
| 93 | - echo "</h1> | ||
| 94 | - "; | ||
| 95 | - // line 18 | ||
| 96 | - if ((($context["thumb"] ?? null) || ($context["description"] ?? null))) { | ||
| 97 | - // line 19 | ||
| 98 | - echo " <div class=\"row\"> "; | ||
| 99 | - if (($context["thumb"] ?? null)) { | ||
| 100 | - // line 20 | ||
| 101 | - echo " <div class=\"col-sm-2\"><img src=\""; | ||
| 102 | - echo ($context["thumb"] ?? null); | ||
| 103 | - echo "\" alt=\""; | ||
| 104 | - echo ($context["heading_title"] ?? null); | ||
| 105 | - echo "\" title=\""; | ||
| 106 | - echo ($context["heading_title"] ?? null); | ||
| 107 | - echo "\" class=\"img-thumbnail\" /></div> | ||
| 108 | - "; | ||
| 109 | - } | ||
| 110 | - // line 22 | ||
| 111 | - echo " "; | ||
| 112 | - if (($context["description"] ?? null)) { | ||
| 113 | - // line 23 | ||
| 114 | - echo " <div class=\"col-sm-10\">"; | ||
| 115 | - echo ($context["description"] ?? null); | ||
| 116 | - echo "</div> | ||
| 117 | - "; | ||
| 118 | - } | ||
| 119 | - // line 24 | ||
| 120 | - echo "</div> | ||
| 121 | - <hr> | ||
| 122 | - "; | ||
| 123 | - } | ||
| 124 | - // line 27 | ||
| 125 | - echo " "; | ||
| 126 | - if (($context["categories"] ?? null)) { | ||
| 127 | - // line 28 | ||
| 128 | - echo " <h3>"; | ||
| 129 | - echo ($context["text_refine"] ?? null); | ||
| 130 | - echo "</h3> | ||
| 131 | - "; | ||
| 132 | - // line 29 | ||
| 133 | - if ((twig_length_filter($this->env, ($context["categories"] ?? null)) <= 5)) { | ||
| 134 | - // line 30 | ||
| 135 | - echo " <div class=\"row\"> | ||
| 136 | - <div class=\"col-sm-3\"> | ||
| 137 | - <ul> | ||
| 138 | - "; | ||
| 139 | - // line 33 | ||
| 140 | - $context['_parent'] = $context; | ||
| 141 | - $context['_seq'] = twig_ensure_traversable(($context["categories"] ?? null)); | ||
| 142 | - foreach ($context['_seq'] as $context["_key"] => $context["category"]) { | ||
| 143 | - // line 34 | ||
| 144 | - echo " <li><a href=\""; | ||
| 145 | - echo twig_get_attribute($this->env, $this->source, $context["category"], "href", [], "any", false, false, false, 34); | ||
| 146 | - echo "\">"; | ||
| 147 | - echo twig_get_attribute($this->env, $this->source, $context["category"], "name", [], "any", false, false, false, 34); | ||
| 148 | - echo "</a></li> | ||
| 149 | - "; | ||
| 150 | - } | ||
| 151 | - $_parent = $context['_parent']; | ||
| 152 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['category'], $context['_parent'], $context['loop']); | ||
| 153 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 154 | - // line 36 | ||
| 155 | - echo " </ul> | ||
| 156 | - </div> | ||
| 157 | - </div> | ||
| 158 | - "; | ||
| 159 | - } else { | ||
| 160 | - // line 40 | ||
| 161 | - echo " <div class=\"row\">"; | ||
| 162 | - $context['_parent'] = $context; | ||
| 163 | - $context['_seq'] = twig_ensure_traversable(twig_array_batch(($context["categories"] ?? null), twig_round((twig_length_filter($this->env, ($context["categories"] ?? null)) / 4), 1, "ceil"))); | ||
| 164 | - foreach ($context['_seq'] as $context["_key"] => $context["category"]) { | ||
| 165 | - // line 41 | ||
| 166 | - echo " <div class=\"col-sm-3\"> | ||
| 167 | - <ul> | ||
| 168 | - "; | ||
| 169 | - // line 43 | ||
| 170 | - $context['_parent'] = $context; | ||
| 171 | - $context['_seq'] = twig_ensure_traversable($context["category"]); | ||
| 172 | - foreach ($context['_seq'] as $context["_key"] => $context["child"]) { | ||
| 173 | - // line 44 | ||
| 174 | - echo " <li><a href=\""; | ||
| 175 | - echo twig_get_attribute($this->env, $this->source, $context["child"], "href", [], "any", false, false, false, 44); | ||
| 176 | - echo "\">"; | ||
| 177 | - echo twig_get_attribute($this->env, $this->source, $context["child"], "name", [], "any", false, false, false, 44); | ||
| 178 | - echo "</a></li> | ||
| 179 | - "; | ||
| 180 | - } | ||
| 181 | - $_parent = $context['_parent']; | ||
| 182 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['child'], $context['_parent'], $context['loop']); | ||
| 183 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 184 | - // line 46 | ||
| 185 | - echo " </ul> | ||
| 186 | - </div> | ||
| 187 | - "; | ||
| 188 | - } | ||
| 189 | - $_parent = $context['_parent']; | ||
| 190 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['category'], $context['_parent'], $context['loop']); | ||
| 191 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 192 | - // line 48 | ||
| 193 | - echo "</div> | ||
| 194 | - <br /> | ||
| 195 | - "; | ||
| 196 | - } | ||
| 197 | - // line 51 | ||
| 198 | - echo " "; | ||
| 199 | - } | ||
| 200 | - // line 52 | ||
| 201 | - echo " "; | ||
| 202 | - if (($context["products"] ?? null)) { | ||
| 203 | - // line 53 | ||
| 204 | - echo " <div class=\"row\"> | ||
| 205 | - <div class=\"col-md-2 col-sm-6 hidden-xs\"> | ||
| 206 | - <div class=\"btn-group btn-group-sm\"> | ||
| 207 | - <button type=\"button\" id=\"list-view\" class=\"btn btn-default\" data-toggle=\"tooltip\" title=\""; | ||
| 208 | - // line 56 | ||
| 209 | - echo ($context["button_list"] ?? null); | ||
| 210 | - echo "\"><i class=\"fa fa-th-list\"></i></button> | ||
| 211 | - <button type=\"button\" id=\"grid-view\" class=\"btn btn-default\" data-toggle=\"tooltip\" title=\""; | ||
| 212 | - // line 57 | ||
| 213 | - echo ($context["button_grid"] ?? null); | ||
| 214 | - echo "\"><i class=\"fa fa-th\"></i></button> | ||
| 215 | - </div> | ||
| 216 | - </div> | ||
| 217 | - <div class=\"col-md-3 col-sm-6\"> | ||
| 218 | - <div class=\"form-group\"><a href=\""; | ||
| 219 | - // line 61 | ||
| 220 | - echo ($context["compare"] ?? null); | ||
| 221 | - echo "\" id=\"compare-total\" class=\"btn btn-link\">"; | ||
| 222 | - echo ($context["text_compare"] ?? null); | ||
| 223 | - echo "</a></div> | ||
| 224 | - </div> | ||
| 225 | - <div class=\"col-md-4 col-xs-6\"> | ||
| 226 | - <div class=\"form-group input-group input-group-sm\"> | ||
| 227 | - <label class=\"input-group-addon\" for=\"input-sort\">"; | ||
| 228 | - // line 65 | ||
| 229 | - echo ($context["text_sort"] ?? null); | ||
| 230 | - echo "</label> | ||
| 231 | - <select id=\"input-sort\" class=\"form-control\" onchange=\"location = this.value;\"> | ||
| 232 | - | ||
| 233 | - | ||
| 234 | - | ||
| 235 | - "; | ||
| 236 | - // line 70 | ||
| 237 | - $context['_parent'] = $context; | ||
| 238 | - $context['_seq'] = twig_ensure_traversable($context["sorts"]); | ||
| 239 | - foreach ($context['_seq'] as $context["_key"] => $context["sorts"]) { | ||
| 240 | - // line 71 | ||
| 241 | - echo " "; | ||
| 242 | - if ((twig_get_attribute($this->env, $this->source, $context["sorts"], "value", [], "any", false, false, false, 71) == sprintf("%s-%s", ($context["sort"] ?? null), ($context["order"] ?? null)))) { | ||
| 243 | - // line 72 | ||
| 244 | - echo " | ||
| 245 | - | ||
| 246 | - | ||
| 247 | - <option value=\""; | ||
| 248 | - // line 75 | ||
| 249 | - echo twig_get_attribute($this->env, $this->source, $context["sorts"], "href", [], "any", false, false, false, 75); | ||
| 250 | - echo "\" selected=\"selected\">"; | ||
| 251 | - echo twig_get_attribute($this->env, $this->source, $context["sorts"], "text", [], "any", false, false, false, 75); | ||
| 252 | - echo "</option> | ||
| 253 | - | ||
| 254 | - | ||
| 255 | - | ||
| 256 | - "; | ||
| 257 | - } else { | ||
| 258 | - // line 80 | ||
| 259 | - echo " | ||
| 260 | - | ||
| 261 | - | ||
| 262 | - <option value=\""; | ||
| 263 | - // line 83 | ||
| 264 | - echo twig_get_attribute($this->env, $this->source, $context["sorts"], "href", [], "any", false, false, false, 83); | ||
| 265 | - echo "\">"; | ||
| 266 | - echo twig_get_attribute($this->env, $this->source, $context["sorts"], "text", [], "any", false, false, false, 83); | ||
| 267 | - echo "</option> | ||
| 268 | - | ||
| 269 | - | ||
| 270 | - | ||
| 271 | - "; | ||
| 272 | - } | ||
| 273 | - // line 88 | ||
| 274 | - echo " "; | ||
| 275 | - } | ||
| 276 | - $_parent = $context['_parent']; | ||
| 277 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['sorts'], $context['_parent'], $context['loop']); | ||
| 278 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 279 | - // line 89 | ||
| 280 | - echo " | ||
| 281 | - | ||
| 282 | - | ||
| 283 | - </select> | ||
| 284 | - </div> | ||
| 285 | - </div> | ||
| 286 | - <div class=\"col-md-3 col-xs-6\"> | ||
| 287 | - <div class=\"form-group input-group input-group-sm\"> | ||
| 288 | - <label class=\"input-group-addon\" for=\"input-limit\">"; | ||
| 289 | - // line 97 | ||
| 290 | - echo ($context["text_limit"] ?? null); | ||
| 291 | - echo "</label> | ||
| 292 | - <select id=\"input-limit\" class=\"form-control\" onchange=\"location = this.value;\"> | ||
| 293 | - | ||
| 294 | - | ||
| 295 | - | ||
| 296 | - "; | ||
| 297 | - // line 102 | ||
| 298 | - $context['_parent'] = $context; | ||
| 299 | - $context['_seq'] = twig_ensure_traversable($context["limits"]); | ||
| 300 | - foreach ($context['_seq'] as $context["_key"] => $context["limits"]) { | ||
| 301 | - // line 103 | ||
| 302 | - echo " "; | ||
| 303 | - if ((twig_get_attribute($this->env, $this->source, $context["limits"], "value", [], "any", false, false, false, 103) == ($context["limit"] ?? null))) { | ||
| 304 | - // line 104 | ||
| 305 | - echo " | ||
| 306 | - | ||
| 307 | - | ||
| 308 | - <option value=\""; | ||
| 309 | - // line 107 | ||
| 310 | - echo twig_get_attribute($this->env, $this->source, $context["limits"], "href", [], "any", false, false, false, 107); | ||
| 311 | - echo "\" selected=\"selected\">"; | ||
| 312 | - echo twig_get_attribute($this->env, $this->source, $context["limits"], "text", [], "any", false, false, false, 107); | ||
| 313 | - echo "</option> | ||
| 314 | - | ||
| 315 | - | ||
| 316 | - | ||
| 317 | - "; | ||
| 318 | - } else { | ||
| 319 | - // line 112 | ||
| 320 | - echo " | ||
| 321 | - | ||
| 322 | - | ||
| 323 | - <option value=\""; | ||
| 324 | - // line 115 | ||
| 325 | - echo twig_get_attribute($this->env, $this->source, $context["limits"], "href", [], "any", false, false, false, 115); | ||
| 326 | - echo "\">"; | ||
| 327 | - echo twig_get_attribute($this->env, $this->source, $context["limits"], "text", [], "any", false, false, false, 115); | ||
| 328 | - echo "</option> | ||
| 329 | - | ||
| 330 | - | ||
| 331 | - | ||
| 332 | - "; | ||
| 333 | - } | ||
| 334 | - // line 120 | ||
| 335 | - echo " "; | ||
| 336 | - } | ||
| 337 | - $_parent = $context['_parent']; | ||
| 338 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['limits'], $context['_parent'], $context['loop']); | ||
| 339 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 340 | - // line 121 | ||
| 341 | - echo " | ||
| 342 | - | ||
| 343 | - | ||
| 344 | - </select> | ||
| 345 | - </div> | ||
| 346 | - </div> | ||
| 347 | - </div> | ||
| 348 | - <div class=\"row\"> "; | ||
| 349 | - // line 128 | ||
| 350 | - $context['_parent'] = $context; | ||
| 351 | - $context['_seq'] = twig_ensure_traversable(($context["products"] ?? null)); | ||
| 352 | - foreach ($context['_seq'] as $context["_key"] => $context["product"]) { | ||
| 353 | - // line 129 | ||
| 354 | - echo " <div class=\"product-layout product-list col-xs-12\"> | ||
| 355 | - <div class=\"product-thumb\"> | ||
| 356 | - <div class=\"image\"><a href=\""; | ||
| 357 | - // line 131 | ||
| 358 | - echo twig_get_attribute($this->env, $this->source, $context["product"], "href", [], "any", false, false, false, 131); | ||
| 359 | - echo "\"><img src=\""; | ||
| 360 | - echo twig_get_attribute($this->env, $this->source, $context["product"], "thumb", [], "any", false, false, false, 131); | ||
| 361 | - echo "\" alt=\""; | ||
| 362 | - echo twig_get_attribute($this->env, $this->source, $context["product"], "name", [], "any", false, false, false, 131); | ||
| 363 | - echo "\" title=\""; | ||
| 364 | - echo twig_get_attribute($this->env, $this->source, $context["product"], "name", [], "any", false, false, false, 131); | ||
| 365 | - echo "\" class=\"img-responsive\" /></a></div> | ||
| 366 | - <div> | ||
| 367 | - <div class=\"caption\"> | ||
| 368 | - <h4><a href=\""; | ||
| 369 | - // line 134 | ||
| 370 | - echo twig_get_attribute($this->env, $this->source, $context["product"], "href", [], "any", false, false, false, 134); | ||
| 371 | - echo "\">"; | ||
| 372 | - echo twig_get_attribute($this->env, $this->source, $context["product"], "name", [], "any", false, false, false, 134); | ||
| 373 | - echo "</a></h4> | ||
| 374 | - <p>"; | ||
| 375 | - // line 135 | ||
| 376 | - echo twig_get_attribute($this->env, $this->source, $context["product"], "description", [], "any", false, false, false, 135); | ||
| 377 | - echo "</p> | ||
| 378 | - "; | ||
| 379 | - // line 136 | ||
| 380 | - if (twig_get_attribute($this->env, $this->source, $context["product"], "price", [], "any", false, false, false, 136)) { | ||
| 381 | - // line 137 | ||
| 382 | - echo " <p class=\"price\"> "; | ||
| 383 | - if ( !twig_get_attribute($this->env, $this->source, $context["product"], "special", [], "any", false, false, false, 137)) { | ||
| 384 | - // line 138 | ||
| 385 | - echo " "; | ||
| 386 | - echo twig_get_attribute($this->env, $this->source, $context["product"], "price", [], "any", false, false, false, 138); | ||
| 387 | - echo " | ||
| 388 | - "; | ||
| 389 | - } else { | ||
| 390 | - // line 139 | ||
| 391 | - echo " <span class=\"price-new\">"; | ||
| 392 | - echo twig_get_attribute($this->env, $this->source, $context["product"], "special", [], "any", false, false, false, 139); | ||
| 393 | - echo "</span> <span class=\"price-old\">"; | ||
| 394 | - echo twig_get_attribute($this->env, $this->source, $context["product"], "price", [], "any", false, false, false, 139); | ||
| 395 | - echo "</span> "; | ||
| 396 | - } | ||
| 397 | - // line 140 | ||
| 398 | - echo " "; | ||
| 399 | - if (twig_get_attribute($this->env, $this->source, $context["product"], "tax", [], "any", false, false, false, 140)) { | ||
| 400 | - echo " <span class=\"price-tax\">"; | ||
| 401 | - echo ($context["text_tax"] ?? null); | ||
| 402 | - echo " "; | ||
| 403 | - echo twig_get_attribute($this->env, $this->source, $context["product"], "tax", [], "any", false, false, false, 140); | ||
| 404 | - echo "</span> "; | ||
| 405 | - } | ||
| 406 | - echo " </p> | ||
| 407 | - "; | ||
| 408 | - } | ||
| 409 | - // line 142 | ||
| 410 | - echo " "; | ||
| 411 | - if (twig_get_attribute($this->env, $this->source, $context["product"], "rating", [], "any", false, false, false, 142)) { | ||
| 412 | - // line 143 | ||
| 413 | - echo " <div class=\"rating\"> "; | ||
| 414 | - $context['_parent'] = $context; | ||
| 415 | - $context['_seq'] = twig_ensure_traversable(range(1, 5)); | ||
| 416 | - foreach ($context['_seq'] as $context["_key"] => $context["i"]) { | ||
| 417 | - // line 144 | ||
| 418 | - echo " "; | ||
| 419 | - if ((twig_get_attribute($this->env, $this->source, $context["product"], "rating", [], "any", false, false, false, 144) < $context["i"])) { | ||
| 420 | - echo " <span class=\"fa fa-stack\"><i class=\"fa fa-star-o fa-stack-2x\"></i></span> "; | ||
| 421 | - } else { | ||
| 422 | - 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>"; | ||
| 423 | - } | ||
| 424 | - // line 145 | ||
| 425 | - echo " "; | ||
| 426 | - } | ||
| 427 | - $_parent = $context['_parent']; | ||
| 428 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']); | ||
| 429 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 430 | - echo " </div> | ||
| 431 | - "; | ||
| 432 | - } | ||
| 433 | - // line 146 | ||
| 434 | - echo " </div> | ||
| 435 | - <div class=\"button-group\"> | ||
| 436 | - <button type=\"button\" onclick=\"cart.add('"; | ||
| 437 | - // line 148 | ||
| 438 | - echo twig_get_attribute($this->env, $this->source, $context["product"], "product_id", [], "any", false, false, false, 148); | ||
| 439 | - echo "', '"; | ||
| 440 | - echo twig_get_attribute($this->env, $this->source, $context["product"], "minimum", [], "any", false, false, false, 148); | ||
| 441 | - echo "');\"><i class=\"fa fa-shopping-cart\"></i> <span class=\"hidden-xs hidden-sm hidden-md\">"; | ||
| 442 | - echo ($context["button_cart"] ?? null); | ||
| 443 | - echo "</span></button> | ||
| 444 | - <button type=\"button\" data-toggle=\"tooltip\" title=\""; | ||
| 445 | - // line 149 | ||
| 446 | - echo ($context["button_wishlist"] ?? null); | ||
| 447 | - echo "\" onclick=\"wishlist.add('"; | ||
| 448 | - echo twig_get_attribute($this->env, $this->source, $context["product"], "product_id", [], "any", false, false, false, 149); | ||
| 449 | - echo "');\"><i class=\"fa fa-heart\"></i></button> | ||
| 450 | - <button type=\"button\" data-toggle=\"tooltip\" title=\""; | ||
| 451 | - // line 150 | ||
| 452 | - echo ($context["button_compare"] ?? null); | ||
| 453 | - echo "\" onclick=\"compare.add('"; | ||
| 454 | - echo twig_get_attribute($this->env, $this->source, $context["product"], "product_id", [], "any", false, false, false, 150); | ||
| 455 | - echo "');\"><i class=\"fa fa-exchange\"></i></button> | ||
| 456 | - </div> | ||
| 457 | - </div> | ||
| 458 | - </div> | ||
| 459 | - </div> | ||
| 460 | - "; | ||
| 461 | - } | ||
| 462 | - $_parent = $context['_parent']; | ||
| 463 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['product'], $context['_parent'], $context['loop']); | ||
| 464 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 465 | - // line 155 | ||
| 466 | - echo " </div> | ||
| 467 | - <div class=\"row\"> | ||
| 468 | - <div class=\"col-sm-6 text-left\">"; | ||
| 469 | - // line 157 | ||
| 470 | - echo ($context["pagination"] ?? null); | ||
| 471 | - echo "</div> | ||
| 472 | - <div class=\"col-sm-6 text-right\">"; | ||
| 473 | - // line 158 | ||
| 474 | - echo ($context["results"] ?? null); | ||
| 475 | - echo "</div> | ||
| 476 | - </div> | ||
| 477 | - "; | ||
| 478 | - } | ||
| 479 | - // line 161 | ||
| 480 | - echo " "; | ||
| 481 | - if (( !($context["categories"] ?? null) && !($context["products"] ?? null))) { | ||
| 482 | - // line 162 | ||
| 483 | - echo " <p>"; | ||
| 484 | - echo ($context["text_empty"] ?? null); | ||
| 485 | - echo "</p> | ||
| 486 | - <div class=\"buttons\"> | ||
| 487 | - <div class=\"pull-right\"><a href=\""; | ||
| 488 | - // line 164 | ||
| 489 | - echo ($context["continue"] ?? null); | ||
| 490 | - echo "\" class=\"btn btn-primary\">"; | ||
| 491 | - echo ($context["button_continue"] ?? null); | ||
| 492 | - echo "</a></div> | ||
| 493 | - </div> | ||
| 494 | - "; | ||
| 495 | - } | ||
| 496 | - // line 167 | ||
| 497 | - echo " "; | ||
| 498 | - echo ($context["content_bottom"] ?? null); | ||
| 499 | - echo "</div> | ||
| 500 | - "; | ||
| 501 | - // line 168 | ||
| 502 | - echo ($context["column_right"] ?? null); | ||
| 503 | - echo "</div> | ||
| 504 | -</div> | ||
| 505 | -"; | ||
| 506 | - // line 170 | ||
| 507 | - echo ($context["footer"] ?? null); | ||
| 508 | - echo " | ||
| 509 | -"; | ||
| 510 | - } | ||
| 511 | - | ||
| 512 | - public function getTemplateName() | ||
| 513 | - { | ||
| 514 | - return "default/template/product/category.twig"; | ||
| 515 | - } | ||
| 516 | - | ||
| 517 | - public function isTraitable() | ||
| 518 | - { | ||
| 519 | - return false; | ||
| 520 | - } | ||
| 521 | - | ||
| 522 | - public function getDebugInfo() | ||
| 523 | - { | ||
| 524 | - return array ( 507 => 170, 502 => 168, 497 => 167, 489 => 164, 483 => 162, 480 => 161, 474 => 158, 470 => 157, 466 => 155, 452 => 150, 446 => 149, 438 => 148, 434 => 146, 425 => 145, 418 => 144, 413 => 143, 410 => 142, 398 => 140, 391 => 139, 385 => 138, 382 => 137, 380 => 136, 376 => 135, 370 => 134, 358 => 131, 354 => 129, 350 => 128, 341 => 121, 335 => 120, 325 => 115, 320 => 112, 310 => 107, 305 => 104, 302 => 103, 298 => 102, 290 => 97, 280 => 89, 274 => 88, 264 => 83, 259 => 80, 249 => 75, 244 => 72, 241 => 71, 237 => 70, 229 => 65, 220 => 61, 213 => 57, 209 => 56, 204 => 53, 201 => 52, 198 => 51, 193 => 48, 185 => 46, 174 => 44, 170 => 43, 166 => 41, 161 => 40, 155 => 36, 144 => 34, 140 => 33, 135 => 30, 133 => 29, 128 => 28, 125 => 27, 120 => 24, 114 => 23, 111 => 22, 101 => 20, 98 => 19, 96 => 18, 92 => 17, 85 => 16, 82 => 15, 79 => 14, 76 => 13, 73 => 12, 70 => 11, 67 => 10, 65 => 9, 61 => 8, 58 => 7, 47 => 5, 43 => 4, 37 => 1,); | ||
| 525 | - } | ||
| 526 | - | ||
| 527 | - public function getSourceContext() | ||
| 528 | - { | ||
| 529 | - return new Source("", "default/template/product/category.twig", ""); | ||
| 530 | - } | ||
| 531 | -} |
| 1 | -<?php | ||
| 2 | - | ||
| 3 | -use Twig\Environment; | ||
| 4 | -use Twig\Error\LoaderError; | ||
| 5 | -use Twig\Error\RuntimeError; | ||
| 6 | -use Twig\Extension\CoreExtension; | ||
| 7 | -use Twig\Extension\SandboxExtension; | ||
| 8 | -use Twig\Markup; | ||
| 9 | -use Twig\Sandbox\SecurityError; | ||
| 10 | -use Twig\Sandbox\SecurityNotAllowedTagError; | ||
| 11 | -use Twig\Sandbox\SecurityNotAllowedFilterError; | ||
| 12 | -use Twig\Sandbox\SecurityNotAllowedFunctionError; | ||
| 13 | -use Twig\Source; | ||
| 14 | -use Twig\Template; | ||
| 15 | - | ||
| 16 | -/* catalog/filter_list.twig */ | ||
| 17 | -class __TwigTemplate_d95c088d7733e57012df3773cd391ac6 extends Template | ||
| 18 | -{ | ||
| 19 | - private $source; | ||
| 20 | - private $macros = []; | ||
| 21 | - | ||
| 22 | - public function __construct(Environment $env) | ||
| 23 | - { | ||
| 24 | - parent::__construct($env); | ||
| 25 | - | ||
| 26 | - $this->source = $this->getSourceContext(); | ||
| 27 | - | ||
| 28 | - $this->parent = false; | ||
| 29 | - | ||
| 30 | - $this->blocks = [ | ||
| 31 | - ]; | ||
| 32 | - } | ||
| 33 | - | ||
| 34 | - protected function doDisplay(array $context, array $blocks = []) | ||
| 35 | - { | ||
| 36 | - $macros = $this->macros; | ||
| 37 | - // line 1 | ||
| 38 | - yield ($context["header"] ?? null); | ||
| 39 | - yield ($context["column_left"] ?? null); | ||
| 40 | - yield " | ||
| 41 | -<div id=\"content\"> | ||
| 42 | - <div class=\"page-header\"> | ||
| 43 | - <div class=\"container-fluid\"> | ||
| 44 | - <div class=\"pull-right\"><a href=\""; | ||
| 45 | - // line 5 | ||
| 46 | - yield ($context["add"] ?? null); | ||
| 47 | - yield "\" data-toggle=\"tooltip\" title=\""; | ||
| 48 | - yield ($context["button_add"] ?? null); | ||
| 49 | - yield "\" class=\"btn btn-primary\"><i class=\"fa fa-plus\"></i></a> | ||
| 50 | - <button type=\"button\" data-toggle=\"tooltip\" title=\""; | ||
| 51 | - // line 6 | ||
| 52 | - yield ($context["button_delete"] ?? null); | ||
| 53 | - yield "\" class=\"btn btn-danger\" onclick=\"confirm('"; | ||
| 54 | - yield ($context["text_confirm"] ?? null); | ||
| 55 | - yield "') ? \$('#form-filter').submit() : false;\"><i class=\"fa fa-trash-o\"></i></button> | ||
| 56 | - </div> | ||
| 57 | - <h1>"; | ||
| 58 | - // line 8 | ||
| 59 | - yield ($context["heading_title"] ?? null); | ||
| 60 | - yield "</h1> | ||
| 61 | - <ul class=\"breadcrumb\"> | ||
| 62 | - "; | ||
| 63 | - // line 10 | ||
| 64 | - $context['_parent'] = $context; | ||
| 65 | - $context['_seq'] = CoreExtension::ensureTraversable(($context["breadcrumbs"] ?? null)); | ||
| 66 | - foreach ($context['_seq'] as $context["_key"] => $context["breadcrumb"]) { | ||
| 67 | - // line 11 | ||
| 68 | - yield " <li><a href=\""; | ||
| 69 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["breadcrumb"], "href", [], "any", false, false, false, 11); | ||
| 70 | - yield "\">"; | ||
| 71 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["breadcrumb"], "text", [], "any", false, false, false, 11); | ||
| 72 | - yield "</a></li> | ||
| 73 | - "; | ||
| 74 | - } | ||
| 75 | - $_parent = $context['_parent']; | ||
| 76 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['breadcrumb'], $context['_parent'], $context['loop']); | ||
| 77 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 78 | - // line 13 | ||
| 79 | - yield " </ul> | ||
| 80 | - </div> | ||
| 81 | - </div> | ||
| 82 | - <div class=\"container-fluid\"> | ||
| 83 | - "; | ||
| 84 | - // line 17 | ||
| 85 | - if (($context["error_warning"] ?? null)) { | ||
| 86 | - // line 18 | ||
| 87 | - yield " <div class=\"alert alert-danger alert-dismissible\"><i class=\"fa fa-exclamation-circle\"></i> "; | ||
| 88 | - yield ($context["error_warning"] ?? null); | ||
| 89 | - yield " | ||
| 90 | - <button type=\"button\" class=\"close\" data-dismiss=\"alert\">×</button> | ||
| 91 | - </div> | ||
| 92 | - "; | ||
| 93 | - } | ||
| 94 | - // line 22 | ||
| 95 | - yield " "; | ||
| 96 | - if (($context["success"] ?? null)) { | ||
| 97 | - // line 23 | ||
| 98 | - yield " <div class=\"alert alert-success alert-dismissible\"><i class=\"fa fa-check-circle\"></i> "; | ||
| 99 | - yield ($context["success"] ?? null); | ||
| 100 | - yield " | ||
| 101 | - <button type=\"button\" class=\"close\" data-dismiss=\"alert\">×</button> | ||
| 102 | - </div> | ||
| 103 | - "; | ||
| 104 | - } | ||
| 105 | - // line 27 | ||
| 106 | - yield " <div class=\"panel panel-default\"> | ||
| 107 | - <div class=\"panel-heading\"> | ||
| 108 | - <h3 class=\"panel-title\"><i class=\"fa fa-list\"></i> "; | ||
| 109 | - // line 29 | ||
| 110 | - yield ($context["text_list"] ?? null); | ||
| 111 | - yield "</h3> | ||
| 112 | - </div> | ||
| 113 | - <div class=\"panel-body\"> | ||
| 114 | - <form action=\""; | ||
| 115 | - // line 32 | ||
| 116 | - yield ($context["delete"] ?? null); | ||
| 117 | - yield "\" method=\"post\" enctype=\"multipart/form-data\" id=\"form-filter\"> | ||
| 118 | - <div class=\"table-responsive\"> | ||
| 119 | - <table class=\"table table-bordered table-hover\"> | ||
| 120 | - <thead> | ||
| 121 | - <tr> | ||
| 122 | - <td style=\"width: 1px;\" class=\"text-center\"><input type=\"checkbox\" onclick=\"\$('input[name*=\\'selected\\']').prop('checked', this.checked);\" /></td> | ||
| 123 | - <td class=\"text-left\">"; | ||
| 124 | - // line 38 | ||
| 125 | - if ((($context["sort"] ?? null) == "fgd.name")) { | ||
| 126 | - // line 39 | ||
| 127 | - yield " <a href=\""; | ||
| 128 | - yield ($context["sort_name"] ?? null); | ||
| 129 | - yield "\" class=\""; | ||
| 130 | - yield Twig\Extension\CoreExtension::lower($this->env->getCharset(), ($context["order"] ?? null)); | ||
| 131 | - yield "\">"; | ||
| 132 | - yield ($context["column_group"] ?? null); | ||
| 133 | - yield "</a> | ||
| 134 | - "; | ||
| 135 | - } else { | ||
| 136 | - // line 41 | ||
| 137 | - yield " <a href=\""; | ||
| 138 | - yield ($context["sort_name"] ?? null); | ||
| 139 | - yield "\">"; | ||
| 140 | - yield ($context["column_group"] ?? null); | ||
| 141 | - yield "</a> | ||
| 142 | - "; | ||
| 143 | - } | ||
| 144 | - // line 42 | ||
| 145 | - yield "</td> | ||
| 146 | - <td class=\"text-right\">"; | ||
| 147 | - // line 43 | ||
| 148 | - if ((($context["sort"] ?? null) == "fg.sort_order")) { | ||
| 149 | - // line 44 | ||
| 150 | - yield " <a href=\""; | ||
| 151 | - yield ($context["sort_sort_order"] ?? null); | ||
| 152 | - yield "\" class=\""; | ||
| 153 | - yield Twig\Extension\CoreExtension::lower($this->env->getCharset(), ($context["order"] ?? null)); | ||
| 154 | - yield "\">"; | ||
| 155 | - yield ($context["column_sort_order"] ?? null); | ||
| 156 | - yield "</a> | ||
| 157 | - "; | ||
| 158 | - } else { | ||
| 159 | - // line 46 | ||
| 160 | - yield " <a href=\""; | ||
| 161 | - yield ($context["sort_sort_order"] ?? null); | ||
| 162 | - yield "\">"; | ||
| 163 | - yield ($context["column_sort_order"] ?? null); | ||
| 164 | - yield "</a> | ||
| 165 | - "; | ||
| 166 | - } | ||
| 167 | - // line 47 | ||
| 168 | - yield "</td> | ||
| 169 | - <td class=\"text-right\">"; | ||
| 170 | - // line 48 | ||
| 171 | - yield ($context["column_action"] ?? null); | ||
| 172 | - yield "</td> | ||
| 173 | - </tr> | ||
| 174 | - </thead> | ||
| 175 | - <tbody> | ||
| 176 | - "; | ||
| 177 | - // line 52 | ||
| 178 | - if (($context["filters"] ?? null)) { | ||
| 179 | - // line 53 | ||
| 180 | - yield " "; | ||
| 181 | - $context['_parent'] = $context; | ||
| 182 | - $context['_seq'] = CoreExtension::ensureTraversable(($context["filters"] ?? null)); | ||
| 183 | - foreach ($context['_seq'] as $context["_key"] => $context["filter"]) { | ||
| 184 | - // line 54 | ||
| 185 | - yield " <tr> | ||
| 186 | - <td class=\"text-center\">"; | ||
| 187 | - // line 55 | ||
| 188 | - if (CoreExtension::inFilter(CoreExtension::getAttribute($this->env, $this->source, $context["filter"], "filter_group_id", [], "any", false, false, false, 55), ($context["selected"] ?? null))) { | ||
| 189 | - // line 56 | ||
| 190 | - yield " <input type=\"checkbox\" name=\"selected[]\" value=\""; | ||
| 191 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["filter"], "filter_group_id", [], "any", false, false, false, 56); | ||
| 192 | - yield "\" checked=\"checked\" /> | ||
| 193 | - "; | ||
| 194 | - } else { | ||
| 195 | - // line 58 | ||
| 196 | - yield " <input type=\"checkbox\" name=\"selected[]\" value=\""; | ||
| 197 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["filter"], "filter_group_id", [], "any", false, false, false, 58); | ||
| 198 | - yield "\" /> | ||
| 199 | - "; | ||
| 200 | - } | ||
| 201 | - // line 59 | ||
| 202 | - yield "</td> | ||
| 203 | - <td class=\"text-left\">"; | ||
| 204 | - // line 60 | ||
| 205 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["filter"], "name", [], "any", false, false, false, 60); | ||
| 206 | - yield "</td> | ||
| 207 | - <td class=\"text-right\">"; | ||
| 208 | - // line 61 | ||
| 209 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["filter"], "sort_order", [], "any", false, false, false, 61); | ||
| 210 | - yield "</td> | ||
| 211 | - <td class=\"text-right\"><a href=\""; | ||
| 212 | - // line 62 | ||
| 213 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["filter"], "edit", [], "any", false, false, false, 62); | ||
| 214 | - yield "\" data-toggle=\"tooltip\" title=\""; | ||
| 215 | - yield ($context["button_edit"] ?? null); | ||
| 216 | - yield "\" class=\"btn btn-primary\"><i class=\"fa fa-pencil\"></i></a></td> | ||
| 217 | - </tr> | ||
| 218 | - "; | ||
| 219 | - } | ||
| 220 | - $_parent = $context['_parent']; | ||
| 221 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['filter'], $context['_parent'], $context['loop']); | ||
| 222 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 223 | - // line 65 | ||
| 224 | - yield " "; | ||
| 225 | - } else { | ||
| 226 | - // line 66 | ||
| 227 | - yield " <tr> | ||
| 228 | - <td class=\"text-center\" colspan=\"4\">"; | ||
| 229 | - // line 67 | ||
| 230 | - yield ($context["text_no_results"] ?? null); | ||
| 231 | - yield "</td> | ||
| 232 | - </tr> | ||
| 233 | - "; | ||
| 234 | - } | ||
| 235 | - // line 70 | ||
| 236 | - yield " </tbody> | ||
| 237 | - </table> | ||
| 238 | - </div> | ||
| 239 | - </form> | ||
| 240 | - <div class=\"row\"> | ||
| 241 | - <div class=\"col-sm-6 text-left\">"; | ||
| 242 | - // line 75 | ||
| 243 | - yield ($context["pagination"] ?? null); | ||
| 244 | - yield "</div> | ||
| 245 | - <div class=\"col-sm-6 text-right\">"; | ||
| 246 | - // line 76 | ||
| 247 | - yield ($context["results"] ?? null); | ||
| 248 | - yield "</div> | ||
| 249 | - </div> | ||
| 250 | - </div> | ||
| 251 | - </div> | ||
| 252 | - </div> | ||
| 253 | -</div> | ||
| 254 | -"; | ||
| 255 | - // line 82 | ||
| 256 | - yield ($context["footer"] ?? null); | ||
| 257 | - return; yield ''; | ||
| 258 | - } | ||
| 259 | - | ||
| 260 | - /** | ||
| 261 | - * @codeCoverageIgnore | ||
| 262 | - */ | ||
| 263 | - public function getTemplateName() | ||
| 264 | - { | ||
| 265 | - return "catalog/filter_list.twig"; | ||
| 266 | - } | ||
| 267 | - | ||
| 268 | - /** | ||
| 269 | - * @codeCoverageIgnore | ||
| 270 | - */ | ||
| 271 | - public function isTraitable() | ||
| 272 | - { | ||
| 273 | - return false; | ||
| 274 | - } | ||
| 275 | - | ||
| 276 | - /** | ||
| 277 | - * @codeCoverageIgnore | ||
| 278 | - */ | ||
| 279 | - public function getDebugInfo() | ||
| 280 | - { | ||
| 281 | - return array ( 256 => 82, 247 => 76, 243 => 75, 236 => 70, 230 => 67, 227 => 66, 224 => 65, 213 => 62, 209 => 61, 205 => 60, 202 => 59, 196 => 58, 190 => 56, 188 => 55, 185 => 54, 180 => 53, 178 => 52, 171 => 48, 168 => 47, 160 => 46, 150 => 44, 148 => 43, 145 => 42, 137 => 41, 127 => 39, 125 => 38, 116 => 32, 110 => 29, 106 => 27, 98 => 23, 95 => 22, 87 => 18, 85 => 17, 79 => 13, 68 => 11, 64 => 10, 59 => 8, 52 => 6, 46 => 5, 38 => 1,); | ||
| 282 | - } | ||
| 283 | - | ||
| 284 | - public function getSourceContext() | ||
| 285 | - { | ||
| 286 | - return new Source("", "catalog/filter_list.twig", ""); | ||
| 287 | - } | ||
| 288 | -} |
| 1 | -<?php | ||
| 2 | - | ||
| 3 | -use Twig\Environment; | ||
| 4 | -use Twig\Error\LoaderError; | ||
| 5 | -use Twig\Error\RuntimeError; | ||
| 6 | -use Twig\Extension\CoreExtension; | ||
| 7 | -use Twig\Extension\SandboxExtension; | ||
| 8 | -use Twig\Markup; | ||
| 9 | -use Twig\Sandbox\SecurityError; | ||
| 10 | -use Twig\Sandbox\SecurityNotAllowedTagError; | ||
| 11 | -use Twig\Sandbox\SecurityNotAllowedFilterError; | ||
| 12 | -use Twig\Sandbox\SecurityNotAllowedFunctionError; | ||
| 13 | -use Twig\Source; | ||
| 14 | -use Twig\Template; | ||
| 15 | - | ||
| 16 | -/* default/template/product/review.twig */ | ||
| 17 | -class __TwigTemplate_589bddb68b64212c3aca6e8ecabb81b5 extends Template | ||
| 18 | -{ | ||
| 19 | - private $source; | ||
| 20 | - private $macros = []; | ||
| 21 | - | ||
| 22 | - public function __construct(Environment $env) | ||
| 23 | - { | ||
| 24 | - parent::__construct($env); | ||
| 25 | - | ||
| 26 | - $this->source = $this->getSourceContext(); | ||
| 27 | - | ||
| 28 | - $this->parent = false; | ||
| 29 | - | ||
| 30 | - $this->blocks = [ | ||
| 31 | - ]; | ||
| 32 | - } | ||
| 33 | - | ||
| 34 | - protected function doDisplay(array $context, array $blocks = []) | ||
| 35 | - { | ||
| 36 | - $macros = $this->macros; | ||
| 37 | - // line 1 | ||
| 38 | - if (($context["reviews"] ?? null)) { | ||
| 39 | - // line 2 | ||
| 40 | - $context['_parent'] = $context; | ||
| 41 | - $context['_seq'] = CoreExtension::ensureTraversable(($context["reviews"] ?? null)); | ||
| 42 | - foreach ($context['_seq'] as $context["_key"] => $context["review"]) { | ||
| 43 | - // line 3 | ||
| 44 | - yield "<table class=\"table table-striped table-bordered\"> | ||
| 45 | - <tr> | ||
| 46 | - <td style=\"width: 50%;\"><strong>"; | ||
| 47 | - // line 5 | ||
| 48 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["review"], "author", [], "any", false, false, false, 5); | ||
| 49 | - yield "</strong></td> | ||
| 50 | - <td class=\"text-right\">"; | ||
| 51 | - // line 6 | ||
| 52 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["review"], "date_added", [], "any", false, false, false, 6); | ||
| 53 | - yield "</td> | ||
| 54 | - </tr> | ||
| 55 | - <tr> | ||
| 56 | - <td colspan=\"2\"><p>"; | ||
| 57 | - // line 9 | ||
| 58 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["review"], "text", [], "any", false, false, false, 9); | ||
| 59 | - yield "</p> | ||
| 60 | - "; | ||
| 61 | - // line 10 | ||
| 62 | - $context['_parent'] = $context; | ||
| 63 | - $context['_seq'] = CoreExtension::ensureTraversable(range(1, 5)); | ||
| 64 | - foreach ($context['_seq'] as $context["_key"] => $context["i"]) { | ||
| 65 | - // line 11 | ||
| 66 | - yield " "; | ||
| 67 | - if ((CoreExtension::getAttribute($this->env, $this->source, $context["review"], "rating", [], "any", false, false, false, 11) < $context["i"])) { | ||
| 68 | - yield " <span class=\"fa fa-stack\"><i class=\"fa fa-star-o fa-stack-2x\"></i></span> "; | ||
| 69 | - } else { | ||
| 70 | - yield " <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> "; | ||
| 71 | - } | ||
| 72 | - // line 12 | ||
| 73 | - yield " "; | ||
| 74 | - } | ||
| 75 | - $_parent = $context['_parent']; | ||
| 76 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']); | ||
| 77 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 78 | - yield "</td> | ||
| 79 | - </tr> | ||
| 80 | -</table> | ||
| 81 | -"; | ||
| 82 | - } | ||
| 83 | - $_parent = $context['_parent']; | ||
| 84 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['review'], $context['_parent'], $context['loop']); | ||
| 85 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 86 | - // line 16 | ||
| 87 | - yield "<div class=\"row\"> | ||
| 88 | - <div class=\"col-sm-6 text-left\">"; | ||
| 89 | - // line 17 | ||
| 90 | - yield ($context["pagination"] ?? null); | ||
| 91 | - yield "</div> | ||
| 92 | - <div class=\"col-sm-6 text-right\">"; | ||
| 93 | - // line 18 | ||
| 94 | - yield ($context["results"] ?? null); | ||
| 95 | - yield "</div> | ||
| 96 | -</div> | ||
| 97 | -"; | ||
| 98 | - } else { | ||
| 99 | - // line 21 | ||
| 100 | - yield "<p>"; | ||
| 101 | - yield ($context["text_no_reviews"] ?? null); | ||
| 102 | - yield "</p> | ||
| 103 | -"; | ||
| 104 | - } | ||
| 105 | - return; yield ''; | ||
| 106 | - } | ||
| 107 | - | ||
| 108 | - /** | ||
| 109 | - * @codeCoverageIgnore | ||
| 110 | - */ | ||
| 111 | - public function getTemplateName() | ||
| 112 | - { | ||
| 113 | - return "default/template/product/review.twig"; | ||
| 114 | - } | ||
| 115 | - | ||
| 116 | - /** | ||
| 117 | - * @codeCoverageIgnore | ||
| 118 | - */ | ||
| 119 | - public function isTraitable() | ||
| 120 | - { | ||
| 121 | - return false; | ||
| 122 | - } | ||
| 123 | - | ||
| 124 | - /** | ||
| 125 | - * @codeCoverageIgnore | ||
| 126 | - */ | ||
| 127 | - public function getDebugInfo() | ||
| 128 | - { | ||
| 129 | - return array ( 100 => 21, 94 => 18, 90 => 17, 87 => 16, 73 => 12, 66 => 11, 62 => 10, 58 => 9, 52 => 6, 48 => 5, 44 => 3, 40 => 2, 38 => 1,); | ||
| 130 | - } | ||
| 131 | - | ||
| 132 | - public function getSourceContext() | ||
| 133 | - { | ||
| 134 | - return new Source("", "default/template/product/review.twig", ""); | ||
| 135 | - } | ||
| 136 | -} |
| 1 | -<?php | ||
| 2 | - | ||
| 3 | -use Twig\Environment; | ||
| 4 | -use Twig\Error\LoaderError; | ||
| 5 | -use Twig\Error\RuntimeError; | ||
| 6 | -use Twig\Extension\CoreExtension; | ||
| 7 | -use Twig\Extension\SandboxExtension; | ||
| 8 | -use Twig\Markup; | ||
| 9 | -use Twig\Sandbox\SecurityError; | ||
| 10 | -use Twig\Sandbox\SecurityNotAllowedTagError; | ||
| 11 | -use Twig\Sandbox\SecurityNotAllowedFilterError; | ||
| 12 | -use Twig\Sandbox\SecurityNotAllowedFunctionError; | ||
| 13 | -use Twig\Source; | ||
| 14 | -use Twig\Template; | ||
| 15 | - | ||
| 16 | -/* extension/dashboard/activity_info.twig */ | ||
| 17 | -class __TwigTemplate_fdea16af57e6671a4e31a6367df42457 extends Template | ||
| 18 | -{ | ||
| 19 | - private $source; | ||
| 20 | - private $macros = []; | ||
| 21 | - | ||
| 22 | - public function __construct(Environment $env) | ||
| 23 | - { | ||
| 24 | - parent::__construct($env); | ||
| 25 | - | ||
| 26 | - $this->source = $this->getSourceContext(); | ||
| 27 | - | ||
| 28 | - $this->parent = false; | ||
| 29 | - | ||
| 30 | - $this->blocks = [ | ||
| 31 | - ]; | ||
| 32 | - } | ||
| 33 | - | ||
| 34 | - protected function doDisplay(array $context, array $blocks = []) | ||
| 35 | - { | ||
| 36 | - $macros = $this->macros; | ||
| 37 | - // line 1 | ||
| 38 | - yield "<div class=\"panel panel-default\"> | ||
| 39 | - <div class=\"panel-heading\"> | ||
| 40 | - <h3 class=\"panel-title\"><i class=\"fa fa-calendar\"></i> "; | ||
| 41 | - // line 3 | ||
| 42 | - yield ($context["heading_title"] ?? null); | ||
| 43 | - yield "</h3> | ||
| 44 | - </div> | ||
| 45 | - <ul class=\"list-group\"> | ||
| 46 | - "; | ||
| 47 | - // line 6 | ||
| 48 | - if (($context["activities"] ?? null)) { | ||
| 49 | - // line 7 | ||
| 50 | - yield " "; | ||
| 51 | - $context['_parent'] = $context; | ||
| 52 | - $context['_seq'] = CoreExtension::ensureTraversable(($context["activities"] ?? null)); | ||
| 53 | - foreach ($context['_seq'] as $context["_key"] => $context["activity"]) { | ||
| 54 | - // line 8 | ||
| 55 | - yield " <li class=\"list-group-item\">"; | ||
| 56 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["activity"], "comment", [], "any", false, false, false, 8); | ||
| 57 | - yield "<br /> | ||
| 58 | - <small class=\"text-muted\"><i class=\"fa fa-clock-o\"></i> "; | ||
| 59 | - // line 9 | ||
| 60 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["activity"], "date_added", [], "any", false, false, false, 9); | ||
| 61 | - yield "</small></li> | ||
| 62 | - "; | ||
| 63 | - } | ||
| 64 | - $_parent = $context['_parent']; | ||
| 65 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['activity'], $context['_parent'], $context['loop']); | ||
| 66 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 67 | - // line 11 | ||
| 68 | - yield " "; | ||
| 69 | - } else { | ||
| 70 | - // line 12 | ||
| 71 | - yield " <li class=\"list-group-item text-center\">"; | ||
| 72 | - yield ($context["text_no_results"] ?? null); | ||
| 73 | - yield "</li> | ||
| 74 | - "; | ||
| 75 | - } | ||
| 76 | - // line 14 | ||
| 77 | - yield " </ul> | ||
| 78 | -</div>"; | ||
| 79 | - return; yield ''; | ||
| 80 | - } | ||
| 81 | - | ||
| 82 | - /** | ||
| 83 | - * @codeCoverageIgnore | ||
| 84 | - */ | ||
| 85 | - public function getTemplateName() | ||
| 86 | - { | ||
| 87 | - return "extension/dashboard/activity_info.twig"; | ||
| 88 | - } | ||
| 89 | - | ||
| 90 | - /** | ||
| 91 | - * @codeCoverageIgnore | ||
| 92 | - */ | ||
| 93 | - public function isTraitable() | ||
| 94 | - { | ||
| 95 | - return false; | ||
| 96 | - } | ||
| 97 | - | ||
| 98 | - /** | ||
| 99 | - * @codeCoverageIgnore | ||
| 100 | - */ | ||
| 101 | - public function getDebugInfo() | ||
| 102 | - { | ||
| 103 | - return array ( 77 => 14, 71 => 12, 68 => 11, 60 => 9, 55 => 8, 50 => 7, 48 => 6, 42 => 3, 38 => 1,); | ||
| 104 | - } | ||
| 105 | - | ||
| 106 | - public function getSourceContext() | ||
| 107 | - { | ||
| 108 | - return new Source("", "extension/dashboard/activity_info.twig", ""); | ||
| 109 | - } | ||
| 110 | -} |
strg/cache/template/87/8723e7122221df40c16d4c33f0db96e94fae8f9aa29e94dbee34d3d53b03f6ce.php
deleted
100644 → 0
| 1 | -<?php | ||
| 2 | - | ||
| 3 | -use Twig\Environment; | ||
| 4 | -use Twig\Error\LoaderError; | ||
| 5 | -use Twig\Error\RuntimeError; | ||
| 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 | - | ||
| 15 | -/* default/template/common/cart.twig */ | ||
| 16 | -class __TwigTemplate_9654ec28c61d728d9159c8acb019a6ffe643f74c157d75b6a1f46dd6b40818af extends \Twig\Template | ||
| 17 | -{ | ||
| 18 | - private $source; | ||
| 19 | - private $macros = []; | ||
| 20 | - | ||
| 21 | - public function __construct(Environment $env) | ||
| 22 | - { | ||
| 23 | - parent::__construct($env); | ||
| 24 | - | ||
| 25 | - $this->source = $this->getSourceContext(); | ||
| 26 | - | ||
| 27 | - $this->parent = false; | ||
| 28 | - | ||
| 29 | - $this->blocks = [ | ||
| 30 | - ]; | ||
| 31 | - } | ||
| 32 | - | ||
| 33 | - protected function doDisplay(array $context, array $blocks = []) | ||
| 34 | - { | ||
| 35 | - $macros = $this->macros; | ||
| 36 | - // line 1 | ||
| 37 | - echo "<div id=\"cart\" class=\"btn-group btn-block\"> | ||
| 38 | - <button type=\"button\" data-toggle=\"dropdown\" data-loading-text=\""; | ||
| 39 | - // line 2 | ||
| 40 | - echo ($context["text_loading"] ?? null); | ||
| 41 | - echo "\" class=\"btn btn-inverse btn-block btn-lg dropdown-toggle\"><i class=\"fa fa-shopping-cart\"></i> <span id=\"cart-total\">"; | ||
| 42 | - echo ($context["text_items"] ?? null); | ||
| 43 | - echo "</span></button> | ||
| 44 | - <ul class=\"dropdown-menu pull-right\"> | ||
| 45 | - "; | ||
| 46 | - // line 4 | ||
| 47 | - if ((($context["products"] ?? null) || ($context["vouchers"] ?? null))) { | ||
| 48 | - // line 5 | ||
| 49 | - echo " <li> | ||
| 50 | - <table class=\"table table-striped\"> | ||
| 51 | - "; | ||
| 52 | - // line 7 | ||
| 53 | - $context['_parent'] = $context; | ||
| 54 | - $context['_seq'] = twig_ensure_traversable(($context["products"] ?? null)); | ||
| 55 | - foreach ($context['_seq'] as $context["_key"] => $context["product"]) { | ||
| 56 | - // line 8 | ||
| 57 | - echo " <tr> | ||
| 58 | - <td class=\"text-center\">"; | ||
| 59 | - // line 9 | ||
| 60 | - if (twig_get_attribute($this->env, $this->source, $context["product"], "thumb", [], "any", false, false, false, 9)) { | ||
| 61 | - echo " <a href=\""; | ||
| 62 | - echo twig_get_attribute($this->env, $this->source, $context["product"], "href", [], "any", false, false, false, 9); | ||
| 63 | - echo "\"><img src=\""; | ||
| 64 | - echo twig_get_attribute($this->env, $this->source, $context["product"], "thumb", [], "any", false, false, false, 9); | ||
| 65 | - echo "\" alt=\""; | ||
| 66 | - echo twig_get_attribute($this->env, $this->source, $context["product"], "name", [], "any", false, false, false, 9); | ||
| 67 | - echo "\" title=\""; | ||
| 68 | - echo twig_get_attribute($this->env, $this->source, $context["product"], "name", [], "any", false, false, false, 9); | ||
| 69 | - echo "\" class=\"img-thumbnail\" /></a> "; | ||
| 70 | - } | ||
| 71 | - echo "</td> | ||
| 72 | - <td class=\"text-left\"><a href=\""; | ||
| 73 | - // line 10 | ||
| 74 | - echo twig_get_attribute($this->env, $this->source, $context["product"], "href", [], "any", false, false, false, 10); | ||
| 75 | - echo "\">"; | ||
| 76 | - echo twig_get_attribute($this->env, $this->source, $context["product"], "name", [], "any", false, false, false, 10); | ||
| 77 | - echo "</a> "; | ||
| 78 | - if (twig_get_attribute($this->env, $this->source, $context["product"], "option", [], "any", false, false, false, 10)) { | ||
| 79 | - // line 11 | ||
| 80 | - echo " "; | ||
| 81 | - $context['_parent'] = $context; | ||
| 82 | - $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["product"], "option", [], "any", false, false, false, 11)); | ||
| 83 | - foreach ($context['_seq'] as $context["_key"] => $context["option"]) { | ||
| 84 | - echo " <br /> | ||
| 85 | - - <small>"; | ||
| 86 | - // line 12 | ||
| 87 | - echo twig_get_attribute($this->env, $this->source, $context["option"], "name", [], "any", false, false, false, 12); | ||
| 88 | - echo " "; | ||
| 89 | - echo twig_get_attribute($this->env, $this->source, $context["option"], "value", [], "any", false, false, false, 12); | ||
| 90 | - echo "</small> "; | ||
| 91 | - } | ||
| 92 | - $_parent = $context['_parent']; | ||
| 93 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['option'], $context['_parent'], $context['loop']); | ||
| 94 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 95 | - // line 13 | ||
| 96 | - echo " "; | ||
| 97 | - } | ||
| 98 | - // line 14 | ||
| 99 | - echo " "; | ||
| 100 | - if (twig_get_attribute($this->env, $this->source, $context["product"], "recurring", [], "any", false, false, false, 14)) { | ||
| 101 | - echo " <br /> | ||
| 102 | - - <small>"; | ||
| 103 | - // line 15 | ||
| 104 | - echo ($context["text_recurring"] ?? null); | ||
| 105 | - echo " "; | ||
| 106 | - echo twig_get_attribute($this->env, $this->source, $context["product"], "recurring", [], "any", false, false, false, 15); | ||
| 107 | - echo "</small> "; | ||
| 108 | - } | ||
| 109 | - echo "</td> | ||
| 110 | - <td class=\"text-right\">x "; | ||
| 111 | - // line 16 | ||
| 112 | - echo twig_get_attribute($this->env, $this->source, $context["product"], "quantity", [], "any", false, false, false, 16); | ||
| 113 | - echo "</td> | ||
| 114 | - <td class=\"text-right\">"; | ||
| 115 | - // line 17 | ||
| 116 | - echo twig_get_attribute($this->env, $this->source, $context["product"], "total", [], "any", false, false, false, 17); | ||
| 117 | - echo "</td> | ||
| 118 | - <td class=\"text-center\"><button type=\"button\" onclick=\"cart.remove('"; | ||
| 119 | - // line 18 | ||
| 120 | - echo twig_get_attribute($this->env, $this->source, $context["product"], "cart_id", [], "any", false, false, false, 18); | ||
| 121 | - echo "');\" title=\""; | ||
| 122 | - echo ($context["button_remove"] ?? null); | ||
| 123 | - echo "\" class=\"btn btn-danger btn-xs\"><i class=\"fa fa-times\"></i></button></td> | ||
| 124 | - </tr> | ||
| 125 | - "; | ||
| 126 | - } | ||
| 127 | - $_parent = $context['_parent']; | ||
| 128 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['product'], $context['_parent'], $context['loop']); | ||
| 129 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 130 | - // line 21 | ||
| 131 | - echo " "; | ||
| 132 | - $context['_parent'] = $context; | ||
| 133 | - $context['_seq'] = twig_ensure_traversable(($context["vouchers"] ?? null)); | ||
| 134 | - foreach ($context['_seq'] as $context["_key"] => $context["voucher"]) { | ||
| 135 | - // line 22 | ||
| 136 | - echo " <tr> | ||
| 137 | - <td class=\"text-center\"></td> | ||
| 138 | - <td class=\"text-left\">"; | ||
| 139 | - // line 24 | ||
| 140 | - echo twig_get_attribute($this->env, $this->source, $context["voucher"], "description", [], "any", false, false, false, 24); | ||
| 141 | - echo "</td> | ||
| 142 | - <td class=\"text-right\">x 1</td> | ||
| 143 | - <td class=\"text-right\">"; | ||
| 144 | - // line 26 | ||
| 145 | - echo twig_get_attribute($this->env, $this->source, $context["voucher"], "amount", [], "any", false, false, false, 26); | ||
| 146 | - echo "</td> | ||
| 147 | - <td class=\"text-center text-danger\"><button type=\"button\" onclick=\"voucher.remove('"; | ||
| 148 | - // line 27 | ||
| 149 | - echo twig_get_attribute($this->env, $this->source, $context["voucher"], "key", [], "any", false, false, false, 27); | ||
| 150 | - echo "');\" title=\""; | ||
| 151 | - echo ($context["button_remove"] ?? null); | ||
| 152 | - echo "\" class=\"btn btn-danger btn-xs\"><i class=\"fa fa-times\"></i></button></td> | ||
| 153 | - </tr> | ||
| 154 | - "; | ||
| 155 | - } | ||
| 156 | - $_parent = $context['_parent']; | ||
| 157 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['voucher'], $context['_parent'], $context['loop']); | ||
| 158 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 159 | - // line 30 | ||
| 160 | - echo " </table> | ||
| 161 | - </li> | ||
| 162 | - <li> | ||
| 163 | - <div> | ||
| 164 | - <table class=\"table table-bordered\"> | ||
| 165 | - "; | ||
| 166 | - // line 35 | ||
| 167 | - $context['_parent'] = $context; | ||
| 168 | - $context['_seq'] = twig_ensure_traversable(($context["totals"] ?? null)); | ||
| 169 | - foreach ($context['_seq'] as $context["_key"] => $context["total"]) { | ||
| 170 | - // line 36 | ||
| 171 | - echo " <tr> | ||
| 172 | - <td class=\"text-right\"><strong>"; | ||
| 173 | - // line 37 | ||
| 174 | - echo twig_get_attribute($this->env, $this->source, $context["total"], "title", [], "any", false, false, false, 37); | ||
| 175 | - echo "</strong></td> | ||
| 176 | - <td class=\"text-right\">"; | ||
| 177 | - // line 38 | ||
| 178 | - echo twig_get_attribute($this->env, $this->source, $context["total"], "text", [], "any", false, false, false, 38); | ||
| 179 | - echo "</td> | ||
| 180 | - </tr> | ||
| 181 | - "; | ||
| 182 | - } | ||
| 183 | - $_parent = $context['_parent']; | ||
| 184 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['total'], $context['_parent'], $context['loop']); | ||
| 185 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 186 | - // line 41 | ||
| 187 | - echo " </table> | ||
| 188 | - <p class=\"text-right\"><a href=\""; | ||
| 189 | - // line 42 | ||
| 190 | - echo ($context["cart"] ?? null); | ||
| 191 | - echo "\"><strong><i class=\"fa fa-shopping-cart\"></i> "; | ||
| 192 | - echo ($context["text_cart"] ?? null); | ||
| 193 | - echo "</strong></a> <a href=\""; | ||
| 194 | - echo ($context["checkout"] ?? null); | ||
| 195 | - echo "\"><strong><i class=\"fa fa-share\"></i> "; | ||
| 196 | - echo ($context["text_checkout"] ?? null); | ||
| 197 | - echo "</strong></a></p> | ||
| 198 | - </div> | ||
| 199 | - </li> | ||
| 200 | - "; | ||
| 201 | - } else { | ||
| 202 | - // line 46 | ||
| 203 | - echo " <li> | ||
| 204 | - <p class=\"text-center\">"; | ||
| 205 | - // line 47 | ||
| 206 | - echo ($context["text_empty"] ?? null); | ||
| 207 | - echo "</p> | ||
| 208 | - </li> | ||
| 209 | - "; | ||
| 210 | - } | ||
| 211 | - // line 50 | ||
| 212 | - echo " </ul> | ||
| 213 | -</div> | ||
| 214 | -"; | ||
| 215 | - } | ||
| 216 | - | ||
| 217 | - public function getTemplateName() | ||
| 218 | - { | ||
| 219 | - return "default/template/common/cart.twig"; | ||
| 220 | - } | ||
| 221 | - | ||
| 222 | - public function isTraitable() | ||
| 223 | - { | ||
| 224 | - return false; | ||
| 225 | - } | ||
| 226 | - | ||
| 227 | - public function getDebugInfo() | ||
| 228 | - { | ||
| 229 | - return array ( 212 => 50, 206 => 47, 203 => 46, 190 => 42, 187 => 41, 178 => 38, 174 => 37, 171 => 36, 167 => 35, 160 => 30, 149 => 27, 145 => 26, 140 => 24, 136 => 22, 131 => 21, 120 => 18, 116 => 17, 112 => 16, 104 => 15, 99 => 14, 96 => 13, 87 => 12, 80 => 11, 74 => 10, 60 => 9, 57 => 8, 53 => 7, 49 => 5, 47 => 4, 40 => 2, 37 => 1,); | ||
| 230 | - } | ||
| 231 | - | ||
| 232 | - public function getSourceContext() | ||
| 233 | - { | ||
| 234 | - return new Source("", "default/template/common/cart.twig", ""); | ||
| 235 | - } | ||
| 236 | -} |
strg/cache/template/92/92c81fb03ab15cb82be4070c33c87787a780dfa3630b180388b12bb000aeff6b.php
deleted
100644 → 0
| 1 | -<?php | ||
| 2 | - | ||
| 3 | -use Twig\Environment; | ||
| 4 | -use Twig\Error\LoaderError; | ||
| 5 | -use Twig\Error\RuntimeError; | ||
| 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 | - | ||
| 15 | -/* common/header.twig */ | ||
| 16 | -class __TwigTemplate_9e1e9be69d7e6401ebebb93e8b55a60c37f6bd697ad410e43b601d290644978f extends \Twig\Template | ||
| 17 | -{ | ||
| 18 | - private $source; | ||
| 19 | - private $macros = []; | ||
| 20 | - | ||
| 21 | - public function __construct(Environment $env) | ||
| 22 | - { | ||
| 23 | - parent::__construct($env); | ||
| 24 | - | ||
| 25 | - $this->source = $this->getSourceContext(); | ||
| 26 | - | ||
| 27 | - $this->parent = false; | ||
| 28 | - | ||
| 29 | - $this->blocks = [ | ||
| 30 | - ]; | ||
| 31 | - } | ||
| 32 | - | ||
| 33 | - protected function doDisplay(array $context, array $blocks = []) | ||
| 34 | - { | ||
| 35 | - $macros = $this->macros; | ||
| 36 | - // line 1 | ||
| 37 | - echo "<!DOCTYPE html> | ||
| 38 | -<html lang=\"en\"> | ||
| 39 | -<head> | ||
| 40 | -<meta charset=\"UTF-8\" /> | ||
| 41 | -<title>"; | ||
| 42 | - // line 5 | ||
| 43 | - echo ($context["title"] ?? null); | ||
| 44 | - echo "</title> | ||
| 45 | -<base href=\""; | ||
| 46 | - // line 6 | ||
| 47 | - echo ($context["base"] ?? null); | ||
| 48 | - echo "\" /> | ||
| 49 | -<script type=\"text/javascript\" src=\"view/javascript/jquery/jquery-2.1.1.min.js\"></script> | ||
| 50 | -<link href=\"view/javascript/bootstrap/css/bootstrap.css\" rel=\"stylesheet\" media=\"screen\" /> | ||
| 51 | -<script src=\"view/javascript/bootstrap/js/bootstrap.js\" type=\"text/javascript\"></script> | ||
| 52 | -<link href=\"view/javascript/font-awesome/css/font-awesome.min.css\" type=\"text/css\" rel=\"stylesheet\" /> | ||
| 53 | -<link href=\"//fonts.googleapis.com/css?family=Open+Sans:400,400i,300,700\" rel=\"stylesheet\" type=\"text/css\" /> | ||
| 54 | -<link rel=\"stylesheet\" type=\"text/css\" href=\"view/stylesheet/stylesheet.css\" /> | ||
| 55 | -</head> | ||
| 56 | -<body>"; | ||
| 57 | - } | ||
| 58 | - | ||
| 59 | - public function getTemplateName() | ||
| 60 | - { | ||
| 61 | - return "common/header.twig"; | ||
| 62 | - } | ||
| 63 | - | ||
| 64 | - public function isTraitable() | ||
| 65 | - { | ||
| 66 | - return false; | ||
| 67 | - } | ||
| 68 | - | ||
| 69 | - public function getDebugInfo() | ||
| 70 | - { | ||
| 71 | - return array ( 47 => 6, 43 => 5, 37 => 1,); | ||
| 72 | - } | ||
| 73 | - | ||
| 74 | - public function getSourceContext() | ||
| 75 | - { | ||
| 76 | - return new Source("", "common/header.twig", ""); | ||
| 77 | - } | ||
| 78 | -} |
strg/cache/template/93/9380d2f9cb52ce0b4801dd00b8447cf7cc2e1686bbecbf35b5ec8adf3ed19faa.php
deleted
100644 → 0
| 1 | -<?php | ||
| 2 | - | ||
| 3 | -use Twig\Environment; | ||
| 4 | -use Twig\Error\LoaderError; | ||
| 5 | -use Twig\Error\RuntimeError; | ||
| 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 | - | ||
| 15 | -/* default/template/error/not_found.twig */ | ||
| 16 | -class __TwigTemplate_af0ae301916cc5e35b5d33f3d5dc78315e7f6383fc653f1551802f2eb3b53153 extends \Twig\Template | ||
| 17 | -{ | ||
| 18 | - private $source; | ||
| 19 | - private $macros = []; | ||
| 20 | - | ||
| 21 | - public function __construct(Environment $env) | ||
| 22 | - { | ||
| 23 | - parent::__construct($env); | ||
| 24 | - | ||
| 25 | - $this->source = $this->getSourceContext(); | ||
| 26 | - | ||
| 27 | - $this->parent = false; | ||
| 28 | - | ||
| 29 | - $this->blocks = [ | ||
| 30 | - ]; | ||
| 31 | - } | ||
| 32 | - | ||
| 33 | - protected function doDisplay(array $context, array $blocks = []) | ||
| 34 | - { | ||
| 35 | - $macros = $this->macros; | ||
| 36 | - // line 1 | ||
| 37 | - echo ($context["header"] ?? null); | ||
| 38 | - echo " | ||
| 39 | -<div id=\"error-not-found\" class=\"container\"> | ||
| 40 | - <ul class=\"breadcrumb\"> | ||
| 41 | - "; | ||
| 42 | - // line 4 | ||
| 43 | - $context['_parent'] = $context; | ||
| 44 | - $context['_seq'] = twig_ensure_traversable(($context["breadcrumbs"] ?? null)); | ||
| 45 | - foreach ($context['_seq'] as $context["_key"] => $context["breadcrumb"]) { | ||
| 46 | - // line 5 | ||
| 47 | - echo " <li><a href=\""; | ||
| 48 | - echo twig_get_attribute($this->env, $this->source, $context["breadcrumb"], "href", [], "any", false, false, false, 5); | ||
| 49 | - echo "\">"; | ||
| 50 | - echo twig_get_attribute($this->env, $this->source, $context["breadcrumb"], "text", [], "any", false, false, false, 5); | ||
| 51 | - echo "</a></li> | ||
| 52 | - "; | ||
| 53 | - } | ||
| 54 | - $_parent = $context['_parent']; | ||
| 55 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['breadcrumb'], $context['_parent'], $context['loop']); | ||
| 56 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 57 | - // line 7 | ||
| 58 | - echo " </ul> | ||
| 59 | - <div class=\"row\">"; | ||
| 60 | - // line 8 | ||
| 61 | - echo ($context["column_left"] ?? null); | ||
| 62 | - echo " | ||
| 63 | - "; | ||
| 64 | - // line 9 | ||
| 65 | - if ((($context["column_left"] ?? null) && ($context["column_right"] ?? null))) { | ||
| 66 | - // line 10 | ||
| 67 | - echo " "; | ||
| 68 | - $context["class"] = "col-sm-6"; | ||
| 69 | - // line 11 | ||
| 70 | - echo " "; | ||
| 71 | - } elseif ((($context["column_left"] ?? null) || ($context["column_right"] ?? null))) { | ||
| 72 | - // line 12 | ||
| 73 | - echo " "; | ||
| 74 | - $context["class"] = "col-sm-9"; | ||
| 75 | - // line 13 | ||
| 76 | - echo " "; | ||
| 77 | - } else { | ||
| 78 | - // line 14 | ||
| 79 | - echo " "; | ||
| 80 | - $context["class"] = "col-sm-12"; | ||
| 81 | - // line 15 | ||
| 82 | - echo " "; | ||
| 83 | - } | ||
| 84 | - // line 16 | ||
| 85 | - echo " <div id=\"content\" class=\""; | ||
| 86 | - echo ($context["class"] ?? null); | ||
| 87 | - echo "\">"; | ||
| 88 | - echo ($context["content_top"] ?? null); | ||
| 89 | - echo " | ||
| 90 | - <h1>"; | ||
| 91 | - // line 17 | ||
| 92 | - echo ($context["heading_title"] ?? null); | ||
| 93 | - echo "</h1> | ||
| 94 | - <p>"; | ||
| 95 | - // line 18 | ||
| 96 | - echo ($context["text_error"] ?? null); | ||
| 97 | - echo "</p> | ||
| 98 | - <div class=\"buttons clearfix\"> | ||
| 99 | - <div class=\"pull-right\"><a href=\""; | ||
| 100 | - // line 20 | ||
| 101 | - echo ($context["continue"] ?? null); | ||
| 102 | - echo "\" class=\"btn btn-primary\">"; | ||
| 103 | - echo ($context["button_continue"] ?? null); | ||
| 104 | - echo "</a></div> | ||
| 105 | - </div> | ||
| 106 | - "; | ||
| 107 | - // line 22 | ||
| 108 | - echo ($context["content_bottom"] ?? null); | ||
| 109 | - echo "</div> | ||
| 110 | - "; | ||
| 111 | - // line 23 | ||
| 112 | - echo ($context["column_right"] ?? null); | ||
| 113 | - echo "</div> | ||
| 114 | -</div> | ||
| 115 | -"; | ||
| 116 | - // line 25 | ||
| 117 | - echo ($context["footer"] ?? null); | ||
| 118 | - echo " | ||
| 119 | -"; | ||
| 120 | - } | ||
| 121 | - | ||
| 122 | - public function getTemplateName() | ||
| 123 | - { | ||
| 124 | - return "default/template/error/not_found.twig"; | ||
| 125 | - } | ||
| 126 | - | ||
| 127 | - public function isTraitable() | ||
| 128 | - { | ||
| 129 | - return false; | ||
| 130 | - } | ||
| 131 | - | ||
| 132 | - public function getDebugInfo() | ||
| 133 | - { | ||
| 134 | - return array ( 117 => 25, 112 => 23, 108 => 22, 101 => 20, 96 => 18, 92 => 17, 85 => 16, 82 => 15, 79 => 14, 76 => 13, 73 => 12, 70 => 11, 67 => 10, 65 => 9, 61 => 8, 58 => 7, 47 => 5, 43 => 4, 37 => 1,); | ||
| 135 | - } | ||
| 136 | - | ||
| 137 | - public function getSourceContext() | ||
| 138 | - { | ||
| 139 | - return new Source("", "default/template/error/not_found.twig", ""); | ||
| 140 | - } | ||
| 141 | -} |
| 1 | -<?php | ||
| 2 | - | ||
| 3 | -use Twig\Environment; | ||
| 4 | -use Twig\Error\LoaderError; | ||
| 5 | -use Twig\Error\RuntimeError; | ||
| 6 | -use Twig\Extension\CoreExtension; | ||
| 7 | -use Twig\Extension\SandboxExtension; | ||
| 8 | -use Twig\Markup; | ||
| 9 | -use Twig\Sandbox\SecurityError; | ||
| 10 | -use Twig\Sandbox\SecurityNotAllowedTagError; | ||
| 11 | -use Twig\Sandbox\SecurityNotAllowedFilterError; | ||
| 12 | -use Twig\Sandbox\SecurityNotAllowedFunctionError; | ||
| 13 | -use Twig\Source; | ||
| 14 | -use Twig\Template; | ||
| 15 | - | ||
| 16 | -/* extension/dashboard/domovoy_info.twig */ | ||
| 17 | -class __TwigTemplate_b1758d9c4903630aabd74a1f3e3987a5 extends Template | ||
| 18 | -{ | ||
| 19 | - private $source; | ||
| 20 | - private $macros = []; | ||
| 21 | - | ||
| 22 | - public function __construct(Environment $env) | ||
| 23 | - { | ||
| 24 | - parent::__construct($env); | ||
| 25 | - | ||
| 26 | - $this->source = $this->getSourceContext(); | ||
| 27 | - | ||
| 28 | - $this->parent = false; | ||
| 29 | - | ||
| 30 | - $this->blocks = [ | ||
| 31 | - ]; | ||
| 32 | - } | ||
| 33 | - | ||
| 34 | - protected function doDisplay(array $context, array $blocks = []) | ||
| 35 | - { | ||
| 36 | - $macros = $this->macros; | ||
| 37 | - // line 1 | ||
| 38 | - yield "<div id=\"domovoy\" class=\"panel panel-default\"> | ||
| 39 | - <div class=\"panel-heading\"> | ||
| 40 | - <h3 class=\"panel-title\"><i class=\"fa fa-calendar\"></i> "; | ||
| 41 | - // line 3 | ||
| 42 | - yield ($context["heading_title"] ?? null); | ||
| 43 | - yield "</h3> | ||
| 44 | - <button type=\"button\" id=\"button-phpinfo\" title=\""; | ||
| 45 | - // line 4 | ||
| 46 | - yield ($context["text_phpinfo"] ?? null); | ||
| 47 | - yield "\" class=\"btn btn-info\">phpinfo</button> | ||
| 48 | - "; | ||
| 49 | - // line 5 | ||
| 50 | - if (($context["phpversion"] ?? null)) { | ||
| 51 | - // line 6 | ||
| 52 | - yield " <button type=\"button\" title=\""; | ||
| 53 | - yield ($context["text_copy"] ?? null); | ||
| 54 | - yield "\" onclick=\"copyToClipboard('#phpversion')\" class=\"btn\"><i | ||
| 55 | - class=\"fa fa-php\"></i> <span id=\"phpversion\">PHP "; | ||
| 56 | - // line 7 | ||
| 57 | - yield ($context["phpversion"] ?? null); | ||
| 58 | - yield "</span></button>"; | ||
| 59 | - } | ||
| 60 | - // line 8 | ||
| 61 | - yield " "; | ||
| 62 | - if (($context["database_version"] ?? null)) { | ||
| 63 | - // line 9 | ||
| 64 | - yield " <button type=\"button\" title=\""; | ||
| 65 | - yield ($context["text_copy"] ?? null); | ||
| 66 | - yield "\" onclick=\"copyToClipboard('#database_version')\" class=\"btn\"><i | ||
| 67 | - class=\"fa fa-database\"></i> <span id=\"database_version\">"; | ||
| 68 | - // line 10 | ||
| 69 | - yield ($context["database_version"] ?? null); | ||
| 70 | - yield "</span> | ||
| 71 | - </button>"; | ||
| 72 | - } | ||
| 73 | - // line 12 | ||
| 74 | - yield " "; | ||
| 75 | - if (($context["ioncube_version"] ?? null)) { | ||
| 76 | - // line 13 | ||
| 77 | - yield " <button type=\"button\" title=\""; | ||
| 78 | - yield ($context["text_copy"] ?? null); | ||
| 79 | - yield "\" onclick=\"copyToClipboard('#ioncube_version')\" class=\"btn\"><i | ||
| 80 | - class=\"fa fa-square\"></i> <span id=\"ioncube_version\">ionCube "; | ||
| 81 | - // line 14 | ||
| 82 | - yield ($context["ioncube_version"] ?? null); | ||
| 83 | - yield "</span> | ||
| 84 | - </button>"; | ||
| 85 | - } | ||
| 86 | - // line 16 | ||
| 87 | - yield " "; | ||
| 88 | - if (($context["disk_free_space"] ?? null)) { | ||
| 89 | - // line 17 | ||
| 90 | - yield " <button type=\"button\" title=\""; | ||
| 91 | - yield ($context["text_copy"] ?? null); | ||
| 92 | - yield "\" onclick=\"copyToClipboard('#disk_free_space')\" class=\"btn"; | ||
| 93 | - if (($context["disk_free_space_warning"] ?? null)) { | ||
| 94 | - yield " btn-danger"; | ||
| 95 | - } | ||
| 96 | - yield "\"><i | ||
| 97 | - class=\"fa fa-hdd-o\"></i> <span | ||
| 98 | - id=\"disk_free_space\">"; | ||
| 99 | - // line 19 | ||
| 100 | - yield ($context["text_disk_free_space"] ?? null); | ||
| 101 | - yield " "; | ||
| 102 | - yield CoreExtension::getAttribute($this->env, $this->source, ($context["disk_free_space"] ?? null), "size", [], "any", false, false, false, 19); | ||
| 103 | - yield CoreExtension::getAttribute($this->env, $this->source, ($context["disk_free_space"] ?? null), "unit", [], "any", false, false, false, 19); | ||
| 104 | - yield "</span> | ||
| 105 | - </button>"; | ||
| 106 | - } | ||
| 107 | - // line 21 | ||
| 108 | - yield " <div class=\"pull-right\"> | ||
| 109 | - <a title=\""; | ||
| 110 | - // line 22 | ||
| 111 | - yield ($context["text_setting"] ?? null); | ||
| 112 | - yield "\" href=\""; | ||
| 113 | - yield ($context["setting"] ?? null); | ||
| 114 | - yield "\" class=\"close\"><i class=\"fa fa-cog fa-2x \"></i></a> | ||
| 115 | - </div> | ||
| 116 | - </div> | ||
| 117 | - <div class=\"alert-body\"></div> | ||
| 118 | - <ul class=\"list-group\"> | ||
| 119 | - <li class=\"list-group-item\"> | ||
| 120 | - <table class=\"table table-bordered\"> | ||
| 121 | - <tr> | ||
| 122 | - <td> | ||
| 123 | - <button type=\"button\" value=\"theme\" data-toggle=\"tooltip\" title=\""; | ||
| 124 | - // line 31 | ||
| 125 | - yield ($context["button_refresh"] ?? null); | ||
| 126 | - yield "\" | ||
| 127 | - class=\"btn btn-warning\"><i class=\"fa fa-refresh\"></i></button> | ||
| 128 | - <div class=\"btn-group\" data-toggle=\"buttons\"> | ||
| 129 | - "; | ||
| 130 | - // line 34 | ||
| 131 | - if (($context["developer_theme"] ?? null)) { | ||
| 132 | - // line 35 | ||
| 133 | - yield " <label class=\"btn btn-success active\" "; | ||
| 134 | - if ( !($context["eval"] ?? null)) { | ||
| 135 | - yield "disabled=\"disabled\""; | ||
| 136 | - } | ||
| 137 | - yield "> | ||
| 138 | - <input type=\"radio\" name=\"developer_theme\" value=\"1\" autocomplete=\"off\" | ||
| 139 | - "; | ||
| 140 | - // line 37 | ||
| 141 | - if ( !($context["eval"] ?? null)) { | ||
| 142 | - yield "disabled=\"disabled\""; | ||
| 143 | - } | ||
| 144 | - yield " checked/> | ||
| 145 | - "; | ||
| 146 | - // line 38 | ||
| 147 | - yield ($context["button_on"] ?? null); | ||
| 148 | - yield " | ||
| 149 | - </label> | ||
| 150 | - "; | ||
| 151 | - } else { | ||
| 152 | - // line 41 | ||
| 153 | - yield " <label class=\"btn btn-success\" "; | ||
| 154 | - if ( !($context["eval"] ?? null)) { | ||
| 155 | - yield "disabled=\"disabled\""; | ||
| 156 | - } | ||
| 157 | - yield "> | ||
| 158 | - <input type=\"radio\" name=\"developer_theme\" value=\"1\" autocomplete=\"off\" | ||
| 159 | - "; | ||
| 160 | - // line 43 | ||
| 161 | - if ( !($context["eval"] ?? null)) { | ||
| 162 | - yield "disabled=\"disabled\""; | ||
| 163 | - } | ||
| 164 | - yield "/> | ||
| 165 | - "; | ||
| 166 | - // line 44 | ||
| 167 | - yield ($context["button_on"] ?? null); | ||
| 168 | - yield " | ||
| 169 | - </label> | ||
| 170 | - "; | ||
| 171 | - } | ||
| 172 | - // line 47 | ||
| 173 | - yield " "; | ||
| 174 | - if ( !($context["developer_theme"] ?? null)) { | ||
| 175 | - // line 48 | ||
| 176 | - yield " <label class=\"btn btn-danger active\" "; | ||
| 177 | - if ( !($context["eval"] ?? null)) { | ||
| 178 | - yield "disabled=\"disabled\""; | ||
| 179 | - } | ||
| 180 | - yield "> | ||
| 181 | - <input type=\"radio\" name=\"developer_theme\" value=\"0\" autocomplete=\"off\" | ||
| 182 | - "; | ||
| 183 | - // line 50 | ||
| 184 | - if ( !($context["eval"] ?? null)) { | ||
| 185 | - yield "disabled=\"disabled\""; | ||
| 186 | - } | ||
| 187 | - yield " checked/> | ||
| 188 | - "; | ||
| 189 | - // line 51 | ||
| 190 | - yield ($context["button_off"] ?? null); | ||
| 191 | - yield " | ||
| 192 | - </label> | ||
| 193 | - "; | ||
| 194 | - } else { | ||
| 195 | - // line 54 | ||
| 196 | - yield " <label class=\"btn btn-danger\" "; | ||
| 197 | - if ( !($context["eval"] ?? null)) { | ||
| 198 | - yield "disabled=\"disabled\""; | ||
| 199 | - } | ||
| 200 | - yield "> | ||
| 201 | - <input type=\"radio\" name=\"developer_theme\" value=\"0\" autocomplete=\"off\" | ||
| 202 | - "; | ||
| 203 | - // line 56 | ||
| 204 | - if ( !($context["eval"] ?? null)) { | ||
| 205 | - yield "disabled=\"disabled\""; | ||
| 206 | - } | ||
| 207 | - yield "/> | ||
| 208 | - "; | ||
| 209 | - // line 57 | ||
| 210 | - yield ($context["button_off"] ?? null); | ||
| 211 | - yield " | ||
| 212 | - </label> | ||
| 213 | - "; | ||
| 214 | - } | ||
| 215 | - // line 59 | ||
| 216 | - yield "</div> "; | ||
| 217 | - yield ($context["entry_theme_cache"] ?? null); | ||
| 218 | - yield " | ||
| 219 | - </td> | ||
| 220 | - <td> | ||
| 221 | - <button type=\"button\" value=\"sass\" data-toggle=\"tooltip\" title=\""; | ||
| 222 | - // line 62 | ||
| 223 | - yield ($context["button_refresh"] ?? null); | ||
| 224 | - yield "\" | ||
| 225 | - class=\"btn btn-warning\"><i class=\"fa fa-refresh\"></i></button> | ||
| 226 | - <div class=\"btn-group\" data-toggle=\"buttons\">"; | ||
| 227 | - // line 64 | ||
| 228 | - if (($context["developer_sass"] ?? null)) { | ||
| 229 | - // line 65 | ||
| 230 | - yield " <label class=\"btn btn-success active\"> | ||
| 231 | - <input type=\"radio\" name=\"developer_sass\" value=\"1\" autocomplete=\"off\" checked> | ||
| 232 | - "; | ||
| 233 | - // line 67 | ||
| 234 | - yield ($context["button_on"] ?? null); | ||
| 235 | - yield "</label> | ||
| 236 | - "; | ||
| 237 | - } else { | ||
| 238 | - // line 69 | ||
| 239 | - yield " <label class=\"btn btn-success\"> | ||
| 240 | - <input type=\"radio\" name=\"developer_sass\" value=\"1\" autocomplete=\"off\"> | ||
| 241 | - "; | ||
| 242 | - // line 71 | ||
| 243 | - yield ($context["button_on"] ?? null); | ||
| 244 | - yield "</label> | ||
| 245 | - "; | ||
| 246 | - } | ||
| 247 | - // line 73 | ||
| 248 | - yield " "; | ||
| 249 | - if ( !($context["developer_sass"] ?? null)) { | ||
| 250 | - // line 74 | ||
| 251 | - yield " <label class=\"btn btn-danger active\"> | ||
| 252 | - <input type=\"radio\" name=\"developer_sass\" value=\"0\" autocomplete=\"off\" checked> | ||
| 253 | - "; | ||
| 254 | - // line 76 | ||
| 255 | - yield ($context["button_off"] ?? null); | ||
| 256 | - yield "</label> | ||
| 257 | - "; | ||
| 258 | - } else { | ||
| 259 | - // line 78 | ||
| 260 | - yield " <label class=\"btn btn-danger\"> | ||
| 261 | - <input type=\"radio\" name=\"developer_sass\" value=\"0\" autocomplete=\"off\"> | ||
| 262 | - "; | ||
| 263 | - // line 80 | ||
| 264 | - yield ($context["button_off"] ?? null); | ||
| 265 | - yield "</label> | ||
| 266 | - "; | ||
| 267 | - } | ||
| 268 | - // line 81 | ||
| 269 | - yield "</div> "; | ||
| 270 | - yield ($context["entry_sass"] ?? null); | ||
| 271 | - yield "</td> | ||
| 272 | - <td class=\"text-right\">"; | ||
| 273 | - // line 82 | ||
| 274 | - yield ($context["entry_modification_cache"] ?? null); | ||
| 275 | - yield " <a id=\"odmod-refresh\" data-toggle=\"tooltip\" | ||
| 276 | - title=\""; | ||
| 277 | - // line 83 | ||
| 278 | - yield ($context["button_refresh"] ?? null); | ||
| 279 | - yield "\" | ||
| 280 | - class=\"btn btn-warning\"><i | ||
| 281 | - class=\"fa fa-refresh\"></i></a></td> | ||
| 282 | - <td class=\"text-right\">"; | ||
| 283 | - // line 86 | ||
| 284 | - yield ($context["entry_allcache"] ?? null); | ||
| 285 | - yield " | ||
| 286 | - <button type=\"button\" value=\"allcache\" data-toggle=\"tooltip\" title=\""; | ||
| 287 | - // line 87 | ||
| 288 | - yield ($context["button_refresh"] ?? null); | ||
| 289 | - yield "\" | ||
| 290 | - class=\"btn btn-warning\"><i class=\"fa fa-refresh\"></i></button> | ||
| 291 | - </td> | ||
| 292 | - </tr> | ||
| 293 | - </table> | ||
| 294 | - </li> | ||
| 295 | - "; | ||
| 296 | - // line 93 | ||
| 297 | - if (($context["disk_free_space_warning"] ?? null)) { | ||
| 298 | - // line 94 | ||
| 299 | - yield " <li class=\"list-group-item\">"; | ||
| 300 | - yield ($context["disk_free_space_warning"] ?? null); | ||
| 301 | - yield "</li> | ||
| 302 | - "; | ||
| 303 | - } | ||
| 304 | - // line 96 | ||
| 305 | - yield " "; | ||
| 306 | - if ( !($context["developer_theme"] ?? null)) { | ||
| 307 | - // line 97 | ||
| 308 | - yield " <li class=\"list-group-item\"><span class=\"btn-warning btn-xs\">"; | ||
| 309 | - yield ($context["text_warning"] ?? null); | ||
| 310 | - yield "</span> "; | ||
| 311 | - yield ($context["text_twig_off_warning"] ?? null); | ||
| 312 | - yield "</li> | ||
| 313 | - "; | ||
| 314 | - } | ||
| 315 | - // line 99 | ||
| 316 | - yield " "; | ||
| 317 | - if (($context["folders"] ?? null)) { | ||
| 318 | - // line 100 | ||
| 319 | - yield " "; | ||
| 320 | - $context['_parent'] = $context; | ||
| 321 | - $context['_seq'] = CoreExtension::ensureTraversable(($context["folders"] ?? null)); | ||
| 322 | - foreach ($context['_seq'] as $context["_key"] => $context["folder"]) { | ||
| 323 | - // line 101 | ||
| 324 | - yield " <li class=\"list-group-item\"> | ||
| 325 | - <button type=\"button\" value=\""; | ||
| 326 | - // line 102 | ||
| 327 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["folder"], "key", [], "any", false, false, false, 102); | ||
| 328 | - yield "\" data-toggle=\"tooltip\" title=\""; | ||
| 329 | - yield ($context["text_clear"] ?? null); | ||
| 330 | - yield "\" | ||
| 331 | - class=\"btn btn-warning clearFolder\" data-original-title=\""; | ||
| 332 | - // line 103 | ||
| 333 | - yield ($context["button_refresh"] ?? null); | ||
| 334 | - yield "\"><i | ||
| 335 | - class=\"fa fa-refresh\"></i></button> | ||
| 336 | - <button type=\"button\" value=\""; | ||
| 337 | - // line 105 | ||
| 338 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["folder"], "key", [], "any", false, false, false, 105); | ||
| 339 | - yield "\" data-toggle=\"tooltip\" title=\""; | ||
| 340 | - yield ($context["text_calculate"] ?? null); | ||
| 341 | - yield "\" | ||
| 342 | - class=\"btn btn-success calcFolder\" data-original-title=\""; | ||
| 343 | - // line 106 | ||
| 344 | - yield ($context["button_refresh"] ?? null); | ||
| 345 | - yield "\"><i | ||
| 346 | - class=\"fa fa-cogs\"></i></button> | ||
| 347 | - "; | ||
| 348 | - // line 108 | ||
| 349 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["folder"], "name", [], "any", false, false, false, 108); | ||
| 350 | - yield "<span | ||
| 351 | - class=\"textFolder\">"; | ||
| 352 | - // line 109 | ||
| 353 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["folder"], "size", [], "any", false, false, false, 109); | ||
| 354 | - yield " "; | ||
| 355 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["folder"], "files", [], "any", false, false, false, 109); | ||
| 356 | - if ( !CoreExtension::getAttribute($this->env, $this->source, $context["folder"], "warning_size", [], "any", false, false, false, 109)) { | ||
| 357 | - yield ($context["text_normal"] ?? null); | ||
| 358 | - } else { | ||
| 359 | - yield " "; | ||
| 360 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["folder"], "warning_size", [], "any", false, false, false, 109); | ||
| 361 | - yield " "; | ||
| 362 | - } | ||
| 363 | - yield "</span> | ||
| 364 | - </li> | ||
| 365 | - "; | ||
| 366 | - } | ||
| 367 | - $_parent = $context['_parent']; | ||
| 368 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['folder'], $context['_parent'], $context['loop']); | ||
| 369 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 370 | - // line 112 | ||
| 371 | - yield " "; | ||
| 372 | - } | ||
| 373 | - // line 113 | ||
| 374 | - yield " | ||
| 375 | - <li class=\"list-group-item\"> | ||
| 376 | - "; | ||
| 377 | - // line 115 | ||
| 378 | - if (($context["danger_funtions"] ?? null)) { | ||
| 379 | - // line 116 | ||
| 380 | - yield " <span class=\"btn-warning btn-xs\">"; | ||
| 381 | - yield ($context["text_warning"] ?? null); | ||
| 382 | - yield "</span> "; | ||
| 383 | - yield ($context["text_danger_info"] ?? null); | ||
| 384 | - yield " | ||
| 385 | - <span>"; | ||
| 386 | - // line 117 | ||
| 387 | - yield ($context["danger_funtions"] ?? null); | ||
| 388 | - yield "</span> | ||
| 389 | - "; | ||
| 390 | - } else { | ||
| 391 | - // line 119 | ||
| 392 | - yield " <span class=\"btn-warning btn-xs\">"; | ||
| 393 | - yield ($context["text_normal"] ?? null); | ||
| 394 | - yield "</span> "; | ||
| 395 | - yield ($context["text_danger_info_normal"] ?? null); | ||
| 396 | - yield " | ||
| 397 | - "; | ||
| 398 | - } | ||
| 399 | - // line 121 | ||
| 400 | - yield " </li> | ||
| 401 | - <li class=\"list-group-item\"> | ||
| 402 | - "; | ||
| 403 | - // line 123 | ||
| 404 | - if (($context["warning_funtions"] ?? null)) { | ||
| 405 | - // line 124 | ||
| 406 | - yield " <span class=\"btn-warning btn-xs\">"; | ||
| 407 | - yield ($context["text_warning"] ?? null); | ||
| 408 | - yield "</span> "; | ||
| 409 | - yield ($context["text_warning_info"] ?? null); | ||
| 410 | - yield " | ||
| 411 | - <span>"; | ||
| 412 | - // line 125 | ||
| 413 | - yield ($context["warning_funtions"] ?? null); | ||
| 414 | - yield "</span> | ||
| 415 | - "; | ||
| 416 | - } else { | ||
| 417 | - // line 127 | ||
| 418 | - yield " <span class=\"btn-warning btn-xs\">"; | ||
| 419 | - yield ($context["text_normal"] ?? null); | ||
| 420 | - yield "</span> "; | ||
| 421 | - yield ($context["text_warning_info_normal"] ?? null); | ||
| 422 | - yield " | ||
| 423 | - "; | ||
| 424 | - } | ||
| 425 | - // line 129 | ||
| 426 | - yield " </li> | ||
| 427 | - "; | ||
| 428 | - // line 130 | ||
| 429 | - if (($context["activities"] ?? null)) { | ||
| 430 | - // line 131 | ||
| 431 | - yield " "; | ||
| 432 | - $context['_parent'] = $context; | ||
| 433 | - $context['_seq'] = CoreExtension::ensureTraversable(($context["activities"] ?? null)); | ||
| 434 | - foreach ($context['_seq'] as $context["_key"] => $context["activity"]) { | ||
| 435 | - // line 132 | ||
| 436 | - yield " <li class=\"list-group-item\">"; | ||
| 437 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["activity"], "comment", [], "any", false, false, false, 132); | ||
| 438 | - yield "<br/> | ||
| 439 | - <small class=\"text-muted\"><i class=\"fa fa-clock-o\"></i> "; | ||
| 440 | - // line 133 | ||
| 441 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["activity"], "date_added", [], "any", false, false, false, 133); | ||
| 442 | - yield "</small></li> | ||
| 443 | - "; | ||
| 444 | - } | ||
| 445 | - $_parent = $context['_parent']; | ||
| 446 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['activity'], $context['_parent'], $context['loop']); | ||
| 447 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 448 | - // line 135 | ||
| 449 | - yield " "; | ||
| 450 | - } | ||
| 451 | - // line 136 | ||
| 452 | - yield " | ||
| 453 | - </ul> | ||
| 454 | -</div> | ||
| 455 | -<style> | ||
| 456 | - #domovoy .btn-group label { | ||
| 457 | - background: #a9a9a9 | ||
| 458 | - } | ||
| 459 | - | ||
| 460 | - #domovoy .btn-group label.btn-success.active { | ||
| 461 | - background-color: #4cb64c; | ||
| 462 | - } | ||
| 463 | - | ||
| 464 | - #domovoy .btn-group label.btn-danger.active { | ||
| 465 | - background-color: #d0321e; | ||
| 466 | - } | ||
| 467 | -</style> | ||
| 468 | -<script type=\"text/javascript\"><!-- | ||
| 469 | - \$('#button-phpinfo').on('click', function () { | ||
| 470 | - \$.ajax({ | ||
| 471 | - url: 'index.php?route=extension/dashboard/domovoy/phpinfo&user_token="; | ||
| 472 | - // line 155 | ||
| 473 | - yield ($context["user_token"] ?? null); | ||
| 474 | - yield "', | ||
| 475 | - dataType: 'html', | ||
| 476 | - beforeSend: function () { | ||
| 477 | - \$('#modal-phpinfo').button('loading'); | ||
| 478 | - }, | ||
| 479 | - complete: function () { | ||
| 480 | - \$('#modal-phpinfo').button('reset'); | ||
| 481 | - }, | ||
| 482 | - success: function (html) { | ||
| 483 | - \$('#modal-phpinfo').remove(); | ||
| 484 | - | ||
| 485 | - \$('body').prepend('<div id=\"modal-phpinfo\" class=\"modal\">' + html + '</div>'); | ||
| 486 | - | ||
| 487 | - \$('#modal-phpinfo').modal('show'); | ||
| 488 | - }, | ||
| 489 | - error: function (xhr, ajaxOptions, thrownError) { | ||
| 490 | - alert(thrownError + \"\\r\\n\" + xhr.statusText + \"\\r\\n\" + xhr.responseText); | ||
| 491 | - } | ||
| 492 | - }); | ||
| 493 | - }); | ||
| 494 | - | ||
| 495 | - | ||
| 496 | - function setTooltip(element) { | ||
| 497 | - \$(element).tooltip('enable'); | ||
| 498 | - \$(element).tooltip('hide') | ||
| 499 | - .attr('data-original-title', '"; | ||
| 500 | - // line 180 | ||
| 501 | - yield ($context["text_copied"] ?? null); | ||
| 502 | - yield "') | ||
| 503 | - .tooltip('show'); | ||
| 504 | - } | ||
| 505 | - | ||
| 506 | - function hideTooltip(element) { | ||
| 507 | - setTimeout(function () { | ||
| 508 | - \$(element).tooltip('disable'); | ||
| 509 | - }, 1000); | ||
| 510 | - } | ||
| 511 | - | ||
| 512 | - function copyToClipboard(element) { | ||
| 513 | - var \$temp = \$(\"<input>\"); | ||
| 514 | - \$(\"body\").append(\$temp); | ||
| 515 | - \$temp.val(\$(element).text()).select(); | ||
| 516 | - document.execCommand(\"copy\"); | ||
| 517 | - setTooltip(element); | ||
| 518 | - hideTooltip(element); | ||
| 519 | - \$temp.remove(); | ||
| 520 | - } | ||
| 521 | - | ||
| 522 | - function calcFolder(element) { | ||
| 523 | - | ||
| 524 | - \$.ajax({ | ||
| 525 | - url: 'index.php?route=extension/dashboard/domovoy/calc&dir=' + \$(element).attr('value') + '&user_token="; | ||
| 526 | - // line 203 | ||
| 527 | - yield ($context["user_token"] ?? null); | ||
| 528 | - yield "', | ||
| 529 | - dataType: 'json', | ||
| 530 | - beforeSend: function () { | ||
| 531 | - \$(element).button('loading'); | ||
| 532 | - }, | ||
| 533 | - complete: function () { | ||
| 534 | - \$(element).button('reset'); | ||
| 535 | - \$(element).tooltip('disable'); | ||
| 536 | - }, | ||
| 537 | - success: function (json) { | ||
| 538 | - \$('.alert-dismissible').remove(); | ||
| 539 | - | ||
| 540 | - if (json['error']) { | ||
| 541 | - \$(element).parent().find('.textFolder').html(json['error']['warning']); | ||
| 542 | - } | ||
| 543 | - | ||
| 544 | - if (json['success']) { | ||
| 545 | - \$(element).parent().find('.textFolder').html(json['success']); | ||
| 546 | - } | ||
| 547 | - }, | ||
| 548 | - error: function (xhr, ajaxOptions, thrownError) { | ||
| 549 | - alert(thrownError + \"\\r\\n\" + xhr.statusText + \"\\r\\n\" + xhr.responseText); | ||
| 550 | - } | ||
| 551 | - }); | ||
| 552 | - | ||
| 553 | - } | ||
| 554 | - | ||
| 555 | - \$('#domovoy button.clearFolder').on('click', function () { | ||
| 556 | - var element = this; | ||
| 557 | - | ||
| 558 | - \$.ajax({ | ||
| 559 | - url: 'index.php?route=extension/dashboard/domovoy/clear&dir=' + \$(element).attr('value') + '&user_token="; | ||
| 560 | - // line 234 | ||
| 561 | - yield ($context["user_token"] ?? null); | ||
| 562 | - yield "', | ||
| 563 | - dataType: 'json', | ||
| 564 | - beforeSend: function () { | ||
| 565 | - \$(element).button('loading'); | ||
| 566 | - }, | ||
| 567 | - complete: function () { | ||
| 568 | - \$(element).button('reset'); | ||
| 569 | - }, | ||
| 570 | - success: function (json) { | ||
| 571 | - \$('.alert-dismissible').remove(); | ||
| 572 | - | ||
| 573 | - if (json['error']) { | ||
| 574 | - \$(element).parent().prepend('<div class=\"alert alert-danger alert-dismissible\"><i class=\"fa fa-exclamation-circle\"></i> ' + json['error']['warning'] + ' <button type=\"button\" class=\"close\" data-dismiss=\"alert\">×</button></div>'); | ||
| 575 | - } | ||
| 576 | - | ||
| 577 | - if (json['success']) { | ||
| 578 | - \$(element).parent().prepend('<div class=\"alert alert-success alert-dismissible\"><i class=\"fa fa-check-circle\"></i> ' + json['success'] + ' <button type=\"button\" class=\"close\" data-dismiss=\"alert\">×</button></div>'); | ||
| 579 | - setTimeout(function () { | ||
| 580 | - calcFolder(element); | ||
| 581 | - }, 2000); | ||
| 582 | - } | ||
| 583 | - }, | ||
| 584 | - error: function (xhr, ajaxOptions, thrownError) { | ||
| 585 | - alert(thrownError + \"\\r\\n\" + xhr.statusText + \"\\r\\n\" + xhr.responseText); | ||
| 586 | - } | ||
| 587 | - }); | ||
| 588 | - }); | ||
| 589 | - | ||
| 590 | - \$('#domovoy button.calcFolder').on('click', function () { | ||
| 591 | - var element = this; | ||
| 592 | - | ||
| 593 | - calcFolder(element); | ||
| 594 | - }); | ||
| 595 | - //--></script> | ||
| 596 | -<script type=\"text/javascript\"><!-- | ||
| 597 | - \$('#domovoy input[name=\\'developer_theme\\'], input[name=\\'developer_sass\\']').on('change', function () { | ||
| 598 | - \$.ajax({ | ||
| 599 | - url: 'index.php?route=common/developer/edit&user_token="; | ||
| 600 | - // line 271 | ||
| 601 | - yield ($context["user_token"] ?? null); | ||
| 602 | - yield "', | ||
| 603 | - type: 'post', | ||
| 604 | - data: \$('input[name=\\'developer_theme\\']:checked, input[name=\\'developer_sass\\']:checked'), | ||
| 605 | - dataType: 'json', | ||
| 606 | - beforeSend: function () { | ||
| 607 | - \$('input[name=\\'developer_theme\\'], input[name=\\'developer_sass\\']').prop('disabled', true); | ||
| 608 | - }, | ||
| 609 | - complete: function () { | ||
| 610 | - \$('input[name=\\'developer_theme\\'], input[name=\\'developer_sass\\']').prop('disabled', false); | ||
| 611 | - }, | ||
| 612 | - success: function (json) { | ||
| 613 | - \$('.alert-dismissible').remove(); | ||
| 614 | - | ||
| 615 | - if (json['error']) { | ||
| 616 | - \$('#domovoy .alert-body').prepend('<div class=\"alert alert-danger alert-dismissible\"><i class=\"fa fa-exclamation-circle\"></i> ' + json['error']['warning'] + ' <button type=\"button\" class=\"close\" data-dismiss=\"alert\">×</button></div>'); | ||
| 617 | - } | ||
| 618 | - | ||
| 619 | - if (json['success']) { | ||
| 620 | - \$('#domovoy .alert-body').prepend('<div class=\"alert alert-success alert-dismissible\"><i class=\"fa fa-check-circle\"></i> ' + json['success'] + ' <button type=\"button\" class=\"close\" data-dismiss=\"alert\">×</button></div>'); | ||
| 621 | - } | ||
| 622 | - }, | ||
| 623 | - error: function (xhr, ajaxOptions, thrownError) { | ||
| 624 | - alert(thrownError + \"\\r\\n\" + xhr.statusText + \"\\r\\n\" + xhr.responseText); | ||
| 625 | - } | ||
| 626 | - }); | ||
| 627 | - }); | ||
| 628 | - | ||
| 629 | - \$('#domovoy table button').on('click', function () { | ||
| 630 | - var element = this; | ||
| 631 | - | ||
| 632 | - \$.ajax({ | ||
| 633 | - url: 'index.php?route=common/developer/' + \$(element).attr('value') + '&user_token="; | ||
| 634 | - // line 302 | ||
| 635 | - yield ($context["user_token"] ?? null); | ||
| 636 | - yield "', | ||
| 637 | - dataType: 'json', | ||
| 638 | - beforeSend: function () { | ||
| 639 | - \$(element).button('loading'); | ||
| 640 | - }, | ||
| 641 | - complete: function () { | ||
| 642 | - \$(element).button('reset'); | ||
| 643 | - }, | ||
| 644 | - success: function (json) { | ||
| 645 | - \$('.alert-dismissible').remove(); | ||
| 646 | - | ||
| 647 | - if (json['error']) { | ||
| 648 | - \$('#domovoy .alert-body').prepend('<div class=\"alert alert-danger alert-dismissible\"><i class=\"fa fa-exclamation-circle\"></i> ' + json['error']['warning'] + ' <button type=\"button\" class=\"close\" data-dismiss=\"alert\">×</button></div>'); | ||
| 649 | - } | ||
| 650 | - | ||
| 651 | - if (json['success']) { | ||
| 652 | - \$('#domovoy .alert-body').prepend('<div class=\"alert alert-success alert-dismissible\"><i class=\"fa fa-check-circle\"></i> ' + json['success'] + ' <button type=\"button\" class=\"close\" data-dismiss=\"alert\">×</button></div>'); | ||
| 653 | - } | ||
| 654 | - }, | ||
| 655 | - error: function (xhr, ajaxOptions, thrownError) { | ||
| 656 | - alert(thrownError + \"\\r\\n\" + xhr.statusText + \"\\r\\n\" + xhr.responseText); | ||
| 657 | - } | ||
| 658 | - }); | ||
| 659 | - }); | ||
| 660 | - | ||
| 661 | - \$('#odmod-refresh').on('click', function () { | ||
| 662 | - var element = this; | ||
| 663 | - | ||
| 664 | - \$.ajax({ | ||
| 665 | - url: 'index.php?route=marketplace/modification/refresh&user_token="; | ||
| 666 | - // line 331 | ||
| 667 | - yield ($context["user_token"] ?? null); | ||
| 668 | - yield "', | ||
| 669 | - dataType: 'json', | ||
| 670 | - complete: function () { | ||
| 671 | - \$(element).button('reset'); | ||
| 672 | - \$('.alert-dismissible').remove(); | ||
| 673 | - \$('#domovoy .alert-body').prepend('<div class=\"alert alert-success alert-dismissible\"><i class=\"fa fa-check-circle\"></i> "; | ||
| 674 | - // line 336 | ||
| 675 | - yield ($context["text_ocmod_cache_success"] ?? null); | ||
| 676 | - yield " <button type=\"button\" class=\"close\" data-dismiss=\"alert\">×</button></div>'); | ||
| 677 | - } | ||
| 678 | - }); | ||
| 679 | - }); | ||
| 680 | - //--></script>"; | ||
| 681 | - return; yield ''; | ||
| 682 | - } | ||
| 683 | - | ||
| 684 | - /** | ||
| 685 | - * @codeCoverageIgnore | ||
| 686 | - */ | ||
| 687 | - public function getTemplateName() | ||
| 688 | - { | ||
| 689 | - return "extension/dashboard/domovoy_info.twig"; | ||
| 690 | - } | ||
| 691 | - | ||
| 692 | - /** | ||
| 693 | - * @codeCoverageIgnore | ||
| 694 | - */ | ||
| 695 | - public function isTraitable() | ||
| 696 | - { | ||
| 697 | - return false; | ||
| 698 | - } | ||
| 699 | - | ||
| 700 | - /** | ||
| 701 | - * @codeCoverageIgnore | ||
| 702 | - */ | ||
| 703 | - public function getDebugInfo() | ||
| 704 | - { | ||
| 705 | - return array ( 675 => 336, 667 => 331, 635 => 302, 601 => 271, 561 => 234, 527 => 203, 501 => 180, 473 => 155, 452 => 136, 449 => 135, 441 => 133, 436 => 132, 431 => 131, 429 => 130, 426 => 129, 418 => 127, 413 => 125, 406 => 124, 404 => 123, 400 => 121, 392 => 119, 387 => 117, 380 => 116, 378 => 115, 374 => 113, 371 => 112, 353 => 109, 349 => 108, 344 => 106, 338 => 105, 333 => 103, 327 => 102, 324 => 101, 319 => 100, 316 => 99, 308 => 97, 305 => 96, 299 => 94, 297 => 93, 288 => 87, 284 => 86, 278 => 83, 274 => 82, 269 => 81, 264 => 80, 260 => 78, 255 => 76, 251 => 74, 248 => 73, 243 => 71, 239 => 69, 234 => 67, 230 => 65, 228 => 64, 223 => 62, 216 => 59, 210 => 57, 204 => 56, 196 => 54, 190 => 51, 184 => 50, 176 => 48, 173 => 47, 167 => 44, 161 => 43, 153 => 41, 147 => 38, 141 => 37, 133 => 35, 131 => 34, 125 => 31, 111 => 22, 108 => 21, 100 => 19, 90 => 17, 87 => 16, 82 => 14, 77 => 13, 74 => 12, 69 => 10, 64 => 9, 61 => 8, 57 => 7, 52 => 6, 50 => 5, 46 => 4, 42 => 3, 38 => 1,); | ||
| 706 | - } | ||
| 707 | - | ||
| 708 | - public function getSourceContext() | ||
| 709 | - { | ||
| 710 | - return new Source("", "extension/dashboard/domovoy_info.twig", ""); | ||
| 711 | - } | ||
| 712 | -} |
strg/cache/template/95/95cc4ece17f7712de208e79a4f5b5b8539a8690f59db493715977269b714fb04.php
deleted
100644 → 0
| 1 | -<?php | ||
| 2 | - | ||
| 3 | -use Twig\Environment; | ||
| 4 | -use Twig\Error\LoaderError; | ||
| 5 | -use Twig\Error\RuntimeError; | ||
| 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 | - | ||
| 15 | -/* default/template/common/search.twig */ | ||
| 16 | -class __TwigTemplate_e077406cf252d73d0cbbf4a31dcbfb441ad8cc3b747eb6f43576687e0f118c58 extends \Twig\Template | ||
| 17 | -{ | ||
| 18 | - private $source; | ||
| 19 | - private $macros = []; | ||
| 20 | - | ||
| 21 | - public function __construct(Environment $env) | ||
| 22 | - { | ||
| 23 | - parent::__construct($env); | ||
| 24 | - | ||
| 25 | - $this->source = $this->getSourceContext(); | ||
| 26 | - | ||
| 27 | - $this->parent = false; | ||
| 28 | - | ||
| 29 | - $this->blocks = [ | ||
| 30 | - ]; | ||
| 31 | - } | ||
| 32 | - | ||
| 33 | - protected function doDisplay(array $context, array $blocks = []) | ||
| 34 | - { | ||
| 35 | - $macros = $this->macros; | ||
| 36 | - // line 1 | ||
| 37 | - echo "<div id=\"search\" class=\"input-group\"> | ||
| 38 | - <input type=\"text\" name=\"search\" value=\""; | ||
| 39 | - // line 2 | ||
| 40 | - echo ($context["search"] ?? null); | ||
| 41 | - echo "\" placeholder=\""; | ||
| 42 | - echo ($context["text_search"] ?? null); | ||
| 43 | - echo "\" class=\"form-control input-lg\" /> | ||
| 44 | - <span class=\"input-group-btn\"> | ||
| 45 | - <button type=\"button\" class=\"btn btn-default btn-lg\"><i class=\"fa fa-search\"></i></button> | ||
| 46 | - </span> | ||
| 47 | -</div>"; | ||
| 48 | - } | ||
| 49 | - | ||
| 50 | - public function getTemplateName() | ||
| 51 | - { | ||
| 52 | - return "default/template/common/search.twig"; | ||
| 53 | - } | ||
| 54 | - | ||
| 55 | - public function isTraitable() | ||
| 56 | - { | ||
| 57 | - return false; | ||
| 58 | - } | ||
| 59 | - | ||
| 60 | - public function getDebugInfo() | ||
| 61 | - { | ||
| 62 | - return array ( 40 => 2, 37 => 1,); | ||
| 63 | - } | ||
| 64 | - | ||
| 65 | - public function getSourceContext() | ||
| 66 | - { | ||
| 67 | - return new Source("", "default/template/common/search.twig", ""); | ||
| 68 | - } | ||
| 69 | -} |
strg/cache/template/98/9830e9117d100ba8215f3ebc2c6ae2a015b025d5fef5e671bd6c158ed7e95f81.php
deleted
100644 → 0
| 1 | -<?php | ||
| 2 | - | ||
| 3 | -use Twig\Environment; | ||
| 4 | -use Twig\Error\LoaderError; | ||
| 5 | -use Twig\Error\RuntimeError; | ||
| 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 | - | ||
| 15 | -/* install/step_4.twig */ | ||
| 16 | -class __TwigTemplate_0cfacc6460d0e7c35b44e4ca7f20fc23a058a184ea432285e0b41d7296cad73a extends \Twig\Template | ||
| 17 | -{ | ||
| 18 | - private $source; | ||
| 19 | - private $macros = []; | ||
| 20 | - | ||
| 21 | - public function __construct(Environment $env) | ||
| 22 | - { | ||
| 23 | - parent::__construct($env); | ||
| 24 | - | ||
| 25 | - $this->source = $this->getSourceContext(); | ||
| 26 | - | ||
| 27 | - $this->parent = false; | ||
| 28 | - | ||
| 29 | - $this->blocks = [ | ||
| 30 | - ]; | ||
| 31 | - } | ||
| 32 | - | ||
| 33 | - protected function doDisplay(array $context, array $blocks = []) | ||
| 34 | - { | ||
| 35 | - $macros = $this->macros; | ||
| 36 | - // line 1 | ||
| 37 | - echo ($context["header"] ?? null); | ||
| 38 | - echo " | ||
| 39 | -<div class=\"container\"> | ||
| 40 | - <header> | ||
| 41 | - <div class=\"row\"> | ||
| 42 | - <div class=\"col-sm-6\"> | ||
| 43 | - <h1 class=\"pull-left\">4 | ||
| 44 | - <small>/4</small> | ||
| 45 | - </h1> | ||
| 46 | - <h3>"; | ||
| 47 | - // line 9 | ||
| 48 | - echo ($context["heading_title"] ?? null); | ||
| 49 | - echo " | ||
| 50 | - <br> | ||
| 51 | - <small>"; | ||
| 52 | - // line 11 | ||
| 53 | - echo ($context["text_step_4"] ?? null); | ||
| 54 | - echo "</small> | ||
| 55 | - </h3> | ||
| 56 | - </div> | ||
| 57 | - <div class=\"col-sm-6\"> | ||
| 58 | - <div id=\"logo\" class=\"pull-right hidden-xs\"><img src=\"view/image/logo.png\" alt=\"OpenCart\" title=\"OpenCart\" /></div> | ||
| 59 | - </div> | ||
| 60 | - </div> | ||
| 61 | - </header> | ||
| 62 | - <div class=\"alert alert-danger alert-dismissible\"><i class=\"fa fa-exclamation-circle\"></i> "; | ||
| 63 | - // line 19 | ||
| 64 | - echo ($context["error_warning"] ?? null); | ||
| 65 | - echo " <button type=\"button\" class=\"close\" data-dismiss=\"alert\">×</button></div> | ||
| 66 | - <div class=\"visit\"> | ||
| 67 | - <div class=\"row\"> | ||
| 68 | - <div class=\"col-sm-5 col-sm-offset-1 text-center\"> | ||
| 69 | - <p><i class=\"fa fa-shopping-cart fa-5x\"></i></p> | ||
| 70 | - <a href=\"../\" class=\"btn btn-secondary\">"; | ||
| 71 | - // line 24 | ||
| 72 | - echo ($context["text_catalog"] ?? null); | ||
| 73 | - echo "</a> | ||
| 74 | - </div> | ||
| 75 | - <div class=\"col-sm-5 text-center\"> | ||
| 76 | - <p><i class=\"fa fa-cog fa-5x white\"></i></p> | ||
| 77 | - <a href=\"../admin/\" class=\"btn btn-secondary\">"; | ||
| 78 | - // line 28 | ||
| 79 | - echo ($context["text_admin"] ?? null); | ||
| 80 | - echo "</a> | ||
| 81 | - </div> | ||
| 82 | - </div> | ||
| 83 | - </div> | ||
| 84 | - <div class=\"modules\"> | ||
| 85 | - <div class=\"row\" id=\"extension\"> | ||
| 86 | - <h2 class=\"text-center\"><i class=\"fa fa-circle-o-notch fa-spin\"></i> "; | ||
| 87 | - // line 34 | ||
| 88 | - echo ($context["text_loading"] ?? null); | ||
| 89 | - echo "</h2> | ||
| 90 | - </div> | ||
| 91 | - <div class=\"row\"> | ||
| 92 | - <div class=\"col-sm-12 text-center\"><a href=\"https://opencartforum.com/files/?utm_source=ocstore3_install&utm_medium=store_link&utm_campaign=ocstore3_install\" target=\"_BLANK\" class=\"btn btn-default\">"; | ||
| 93 | - // line 37 | ||
| 94 | - echo ($context["text_extension"] ?? null); | ||
| 95 | - echo "</a></div> | ||
| 96 | - </div> | ||
| 97 | - </div> | ||
| 98 | - <div class=\"mailing\"> | ||
| 99 | - <div class=\"row\"> | ||
| 100 | - <div class=\"col-sm-12\"><i class=\"fa fa-envelope-o fa-5x\"></i> | ||
| 101 | - <h3>"; | ||
| 102 | - // line 43 | ||
| 103 | - echo ($context["text_mail"] ?? null); | ||
| 104 | - echo " | ||
| 105 | - <br/> | ||
| 106 | - <small>"; | ||
| 107 | - // line 45 | ||
| 108 | - echo ($context["text_mail_description"] ?? null); | ||
| 109 | - echo "</small> | ||
| 110 | - </h3> | ||
| 111 | - <a href=\"https://ocstore.com/subscribe/\" target=\"_BLANK\" class=\"btn btn-secondary\">"; | ||
| 112 | - // line 47 | ||
| 113 | - echo ($context["button_mail"] ?? null); | ||
| 114 | - echo "</a> | ||
| 115 | - </div> | ||
| 116 | - </div> | ||
| 117 | - </div> | ||
| 118 | - <div class=\"support text-center\"> | ||
| 119 | - <div class=\"row\"> | ||
| 120 | - <div class=\"col-sm-4\"> | ||
| 121 | - <a href=\"https://www.facebook.com/opencartforum\" class=\"icon transition\"><i class=\"fa fa-facebook fa-4x\"></i></a> | ||
| 122 | - <h3>"; | ||
| 123 | - // line 55 | ||
| 124 | - echo ($context["text_facebook"] ?? null); | ||
| 125 | - echo "</h3> | ||
| 126 | - <p>"; | ||
| 127 | - // line 56 | ||
| 128 | - echo ($context["text_facebook_description"] ?? null); | ||
| 129 | - echo "</p> | ||
| 130 | - <a href=\"https://www.facebook.com/opencartforum\">"; | ||
| 131 | - // line 57 | ||
| 132 | - echo ($context["text_facebook_visit"] ?? null); | ||
| 133 | - echo "</a> | ||
| 134 | - </div> | ||
| 135 | - <div class=\"col-sm-4\"> | ||
| 136 | - <a href=\"https://opencartforum.com/?utm_source=ocstore_install&utm_medium=forum_link&utm_campaign=ocstore_install\" class=\"icon transition\"><i class=\"fa fa-comments fa-4x\"></i></a> | ||
| 137 | - <h3>"; | ||
| 138 | - // line 61 | ||
| 139 | - echo ($context["text_forum"] ?? null); | ||
| 140 | - echo "</h3> | ||
| 141 | - <p>"; | ||
| 142 | - // line 62 | ||
| 143 | - echo ($context["text_forum_description"] ?? null); | ||
| 144 | - echo "</p> | ||
| 145 | - <a href=\"https://opencartforum.com/?utm_source=ocstore_install&utm_medium=forum_link&utm_campaign=ocstore_install\">"; | ||
| 146 | - // line 63 | ||
| 147 | - echo ($context["text_forum_visit"] ?? null); | ||
| 148 | - echo "</a> | ||
| 149 | - </div> | ||
| 150 | - <div class=\"col-sm-4\"> | ||
| 151 | - <a href=\"https://dedicated.ocstore.com/?utm_source=ocstore3_install\" class=\"icon transition\"><i class=\"fa fa-user fa-4x\"></i></a> | ||
| 152 | - <h3>"; | ||
| 153 | - // line 67 | ||
| 154 | - echo ($context["text_commercial"] ?? null); | ||
| 155 | - echo "</h3> | ||
| 156 | - <p>"; | ||
| 157 | - // line 68 | ||
| 158 | - echo ($context["text_commercial_description"] ?? null); | ||
| 159 | - echo "</p> | ||
| 160 | - <a href=\"https://dedicated.ocstore.com/?utm_source=ocstore3_install\" target=\"_BLANK\">"; | ||
| 161 | - // line 69 | ||
| 162 | - echo ($context["text_commercial_visit"] ?? null); | ||
| 163 | - echo "</a> | ||
| 164 | - </div> | ||
| 165 | - </div> | ||
| 166 | - </div> | ||
| 167 | -</div> | ||
| 168 | -"; | ||
| 169 | - // line 74 | ||
| 170 | - echo ($context["footer"] ?? null); | ||
| 171 | - echo " | ||
| 172 | -<script type=\"text/javascript\"><!-- | ||
| 173 | - \$(document).ready(function() { | ||
| 174 | - \$.ajax({ | ||
| 175 | - url: '"; | ||
| 176 | - // line 78 | ||
| 177 | - echo ($context["extension"] ?? null); | ||
| 178 | - echo "', | ||
| 179 | - type: 'post', | ||
| 180 | - dataType: 'json', | ||
| 181 | - success: function(json) { | ||
| 182 | - if (json['extensions']) { | ||
| 183 | - html = ''; | ||
| 184 | - | ||
| 185 | - for (i = 0; i < json['extensions'].length; i++) { | ||
| 186 | - extension = json['extensions'][i]; | ||
| 187 | - | ||
| 188 | - html += '<div class=\"col-sm-6 module\">'; | ||
| 189 | - html += ' <a class=\"thumbnail pull-left\" href=\"' + extension['href'] + '\"><img src=\"' + extension['image'] + '\" alt=\"' + extension['name'] + '\" /></a>'; | ||
| 190 | - html += ' <h5>' + extension['name'] + '</h5>'; | ||
| 191 | - html += ' <p>' + extension['price'] + ' <a target=\"_BLANK\" href=\"' + extension['href'] + '\">"; | ||
| 192 | - // line 91 | ||
| 193 | - echo ($context["text_view"] ?? null); | ||
| 194 | - echo "</a></p>'; | ||
| 195 | - html += ' <div class=\"clearfix\"></div>'; | ||
| 196 | - html += '</div>'; | ||
| 197 | - } | ||
| 198 | - | ||
| 199 | - \$('#extension').html(html); | ||
| 200 | - } else { | ||
| 201 | - \$('#extension').fadeOut(); | ||
| 202 | - } | ||
| 203 | - } | ||
| 204 | - }); | ||
| 205 | - }); | ||
| 206 | - //--></script> | ||
| 207 | -"; | ||
| 208 | - } | ||
| 209 | - | ||
| 210 | - public function getTemplateName() | ||
| 211 | - { | ||
| 212 | - return "install/step_4.twig"; | ||
| 213 | - } | ||
| 214 | - | ||
| 215 | - public function isTraitable() | ||
| 216 | - { | ||
| 217 | - return false; | ||
| 218 | - } | ||
| 219 | - | ||
| 220 | - public function getDebugInfo() | ||
| 221 | - { | ||
| 222 | - return array ( 193 => 91, 177 => 78, 170 => 74, 162 => 69, 158 => 68, 154 => 67, 147 => 63, 143 => 62, 139 => 61, 132 => 57, 128 => 56, 124 => 55, 113 => 47, 108 => 45, 103 => 43, 94 => 37, 88 => 34, 79 => 28, 72 => 24, 64 => 19, 53 => 11, 48 => 9, 37 => 1,); | ||
| 223 | - } | ||
| 224 | - | ||
| 225 | - public function getSourceContext() | ||
| 226 | - { | ||
| 227 | - return new Source("", "install/step_4.twig", ""); | ||
| 228 | - } | ||
| 229 | -} |
strg/cache/template/9a/9a8ce4603505a8da476c74dfbd37849a3cf3f9225c86b4b8f568ab287df73b96.php
deleted
100644 → 0
| 1 | -<?php | ||
| 2 | - | ||
| 3 | -use Twig\Environment; | ||
| 4 | -use Twig\Error\LoaderError; | ||
| 5 | -use Twig\Error\RuntimeError; | ||
| 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 | - | ||
| 15 | -/* common/footer.twig */ | ||
| 16 | -class __TwigTemplate_00218df58a7753524afd32b0fe75b21d9026fe4dbf9f9039de4b218143c3ecb0 extends \Twig\Template | ||
| 17 | -{ | ||
| 18 | - private $source; | ||
| 19 | - private $macros = []; | ||
| 20 | - | ||
| 21 | - public function __construct(Environment $env) | ||
| 22 | - { | ||
| 23 | - parent::__construct($env); | ||
| 24 | - | ||
| 25 | - $this->source = $this->getSourceContext(); | ||
| 26 | - | ||
| 27 | - $this->parent = false; | ||
| 28 | - | ||
| 29 | - $this->blocks = [ | ||
| 30 | - ]; | ||
| 31 | - } | ||
| 32 | - | ||
| 33 | - protected function doDisplay(array $context, array $blocks = []) | ||
| 34 | - { | ||
| 35 | - $macros = $this->macros; | ||
| 36 | - // line 1 | ||
| 37 | - echo "<footer> | ||
| 38 | - <div class=\"container\"><a href=\"https://ocstore.com/?utm_source=ocstore3\" target=\"_blank\">"; | ||
| 39 | - // line 2 | ||
| 40 | - echo ($context["text_project"] ?? null); | ||
| 41 | - echo "</a>|<a href=\"https://docs.ocstore.com/?utm_source=ocstore3\" target=\"_blank\">"; | ||
| 42 | - echo ($context["text_documentation"] ?? null); | ||
| 43 | - echo "</a>|<a href=\"https://opencartforum.com/?utm_source=ocstore3\" target=\"_blank\">"; | ||
| 44 | - echo ($context["text_support"] ?? null); | ||
| 45 | - echo "</a><br /> | ||
| 46 | - </div> | ||
| 47 | -</footer> | ||
| 48 | -</body></html> | ||
| 49 | -"; | ||
| 50 | - } | ||
| 51 | - | ||
| 52 | - public function getTemplateName() | ||
| 53 | - { | ||
| 54 | - return "common/footer.twig"; | ||
| 55 | - } | ||
| 56 | - | ||
| 57 | - public function isTraitable() | ||
| 58 | - { | ||
| 59 | - return false; | ||
| 60 | - } | ||
| 61 | - | ||
| 62 | - public function getDebugInfo() | ||
| 63 | - { | ||
| 64 | - return array ( 40 => 2, 37 => 1,); | ||
| 65 | - } | ||
| 66 | - | ||
| 67 | - public function getSourceContext() | ||
| 68 | - { | ||
| 69 | - return new Source("", "common/footer.twig", ""); | ||
| 70 | - } | ||
| 71 | -} |
strg/cache/template/a7/a74c3b216b8300618d334e0f45674763135fa389cb1778aa4991344ad6427278.php
deleted
100644 → 0
| 1 | -<?php | ||
| 2 | - | ||
| 3 | -use Twig\Environment; | ||
| 4 | -use Twig\Error\LoaderError; | ||
| 5 | -use Twig\Error\RuntimeError; | ||
| 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 | - | ||
| 15 | -/* default/template/common/column_right.twig */ | ||
| 16 | -class __TwigTemplate_332e181c7599efe3eb9016853ca69ee7e4e4203659124c84f7afc0efd1b7b0de extends \Twig\Template | ||
| 17 | -{ | ||
| 18 | - private $source; | ||
| 19 | - private $macros = []; | ||
| 20 | - | ||
| 21 | - public function __construct(Environment $env) | ||
| 22 | - { | ||
| 23 | - parent::__construct($env); | ||
| 24 | - | ||
| 25 | - $this->source = $this->getSourceContext(); | ||
| 26 | - | ||
| 27 | - $this->parent = false; | ||
| 28 | - | ||
| 29 | - $this->blocks = [ | ||
| 30 | - ]; | ||
| 31 | - } | ||
| 32 | - | ||
| 33 | - protected function doDisplay(array $context, array $blocks = []) | ||
| 34 | - { | ||
| 35 | - $macros = $this->macros; | ||
| 36 | - // line 1 | ||
| 37 | - if (($context["modules"] ?? null)) { | ||
| 38 | - // line 2 | ||
| 39 | - echo "<aside id=\"column-right\" class=\"col-sm-3 hidden-xs\"> | ||
| 40 | - "; | ||
| 41 | - // line 3 | ||
| 42 | - $context['_parent'] = $context; | ||
| 43 | - $context['_seq'] = twig_ensure_traversable(($context["modules"] ?? null)); | ||
| 44 | - foreach ($context['_seq'] as $context["_key"] => $context["module"]) { | ||
| 45 | - // line 4 | ||
| 46 | - echo " "; | ||
| 47 | - echo $context["module"]; | ||
| 48 | - echo " | ||
| 49 | - "; | ||
| 50 | - } | ||
| 51 | - $_parent = $context['_parent']; | ||
| 52 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['module'], $context['_parent'], $context['loop']); | ||
| 53 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 54 | - // line 6 | ||
| 55 | - echo "</aside> | ||
| 56 | -"; | ||
| 57 | - } | ||
| 58 | - } | ||
| 59 | - | ||
| 60 | - public function getTemplateName() | ||
| 61 | - { | ||
| 62 | - return "default/template/common/column_right.twig"; | ||
| 63 | - } | ||
| 64 | - | ||
| 65 | - public function isTraitable() | ||
| 66 | - { | ||
| 67 | - return false; | ||
| 68 | - } | ||
| 69 | - | ||
| 70 | - public function getDebugInfo() | ||
| 71 | - { | ||
| 72 | - return array ( 55 => 6, 46 => 4, 42 => 3, 39 => 2, 37 => 1,); | ||
| 73 | - } | ||
| 74 | - | ||
| 75 | - public function getSourceContext() | ||
| 76 | - { | ||
| 77 | - return new Source("", "default/template/common/column_right.twig", ""); | ||
| 78 | - } | ||
| 79 | -} |
strg/cache/template/a9/a99c53568ff8be278211598b0742a2b41a1d171b5741eb11fa0387fca20eaf49.php
deleted
100644 → 0
| 1 | -<?php | ||
| 2 | - | ||
| 3 | -use Twig\Environment; | ||
| 4 | -use Twig\Error\LoaderError; | ||
| 5 | -use Twig\Error\RuntimeError; | ||
| 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 | - | ||
| 15 | -/* default/template/extension/module/category.twig */ | ||
| 16 | -class __TwigTemplate_f118bf5e29f101449e4e20a11f48c9a364b7fd6a8dc317bab750ee2e7023cb0b extends \Twig\Template | ||
| 17 | -{ | ||
| 18 | - private $source; | ||
| 19 | - private $macros = []; | ||
| 20 | - | ||
| 21 | - public function __construct(Environment $env) | ||
| 22 | - { | ||
| 23 | - parent::__construct($env); | ||
| 24 | - | ||
| 25 | - $this->source = $this->getSourceContext(); | ||
| 26 | - | ||
| 27 | - $this->parent = false; | ||
| 28 | - | ||
| 29 | - $this->blocks = [ | ||
| 30 | - ]; | ||
| 31 | - } | ||
| 32 | - | ||
| 33 | - protected function doDisplay(array $context, array $blocks = []) | ||
| 34 | - { | ||
| 35 | - $macros = $this->macros; | ||
| 36 | - // line 1 | ||
| 37 | - echo "<div class=\"list-group\"> | ||
| 38 | - "; | ||
| 39 | - // line 2 | ||
| 40 | - $context['_parent'] = $context; | ||
| 41 | - $context['_seq'] = twig_ensure_traversable(($context["categories"] ?? null)); | ||
| 42 | - foreach ($context['_seq'] as $context["_key"] => $context["category"]) { | ||
| 43 | - // line 3 | ||
| 44 | - echo " "; | ||
| 45 | - if ((twig_get_attribute($this->env, $this->source, $context["category"], "category_id", [], "any", false, false, false, 3) == ($context["category_id"] ?? null))) { | ||
| 46 | - echo " | ||
| 47 | - <a href=\""; | ||
| 48 | - // line 4 | ||
| 49 | - echo twig_get_attribute($this->env, $this->source, $context["category"], "href", [], "any", false, false, false, 4); | ||
| 50 | - echo "\" class=\"list-group-item active\">"; | ||
| 51 | - echo twig_get_attribute($this->env, $this->source, $context["category"], "name", [], "any", false, false, false, 4); | ||
| 52 | - echo "</a> | ||
| 53 | - "; | ||
| 54 | - // line 5 | ||
| 55 | - if (twig_get_attribute($this->env, $this->source, $context["category"], "children", [], "any", false, false, false, 5)) { | ||
| 56 | - // line 6 | ||
| 57 | - echo " "; | ||
| 58 | - $context['_parent'] = $context; | ||
| 59 | - $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["category"], "children", [], "any", false, false, false, 6)); | ||
| 60 | - foreach ($context['_seq'] as $context["_key"] => $context["child"]) { | ||
| 61 | - // line 7 | ||
| 62 | - echo " "; | ||
| 63 | - if ((twig_get_attribute($this->env, $this->source, $context["child"], "category_id", [], "any", false, false, false, 7) == ($context["child_id"] ?? null))) { | ||
| 64 | - // line 8 | ||
| 65 | - echo " <a href=\""; | ||
| 66 | - echo twig_get_attribute($this->env, $this->source, $context["child"], "href", [], "any", false, false, false, 8); | ||
| 67 | - echo "\" class=\"list-group-item active\"> - "; | ||
| 68 | - echo twig_get_attribute($this->env, $this->source, $context["child"], "name", [], "any", false, false, false, 8); | ||
| 69 | - echo "</a> | ||
| 70 | - "; | ||
| 71 | - } else { | ||
| 72 | - // line 9 | ||
| 73 | - echo " | ||
| 74 | - <a href=\""; | ||
| 75 | - // line 10 | ||
| 76 | - echo twig_get_attribute($this->env, $this->source, $context["child"], "href", [], "any", false, false, false, 10); | ||
| 77 | - echo "\" class=\"list-group-item\"> - "; | ||
| 78 | - echo twig_get_attribute($this->env, $this->source, $context["child"], "name", [], "any", false, false, false, 10); | ||
| 79 | - echo "</a> | ||
| 80 | - "; | ||
| 81 | - } | ||
| 82 | - // line 12 | ||
| 83 | - echo " "; | ||
| 84 | - } | ||
| 85 | - $_parent = $context['_parent']; | ||
| 86 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['child'], $context['_parent'], $context['loop']); | ||
| 87 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 88 | - // line 13 | ||
| 89 | - echo " "; | ||
| 90 | - } | ||
| 91 | - // line 14 | ||
| 92 | - echo " "; | ||
| 93 | - } else { | ||
| 94 | - echo " <a href=\""; | ||
| 95 | - echo twig_get_attribute($this->env, $this->source, $context["category"], "href", [], "any", false, false, false, 14); | ||
| 96 | - echo "\" class=\"list-group-item\">"; | ||
| 97 | - echo twig_get_attribute($this->env, $this->source, $context["category"], "name", [], "any", false, false, false, 14); | ||
| 98 | - echo "</a> | ||
| 99 | - "; | ||
| 100 | - } | ||
| 101 | - // line 16 | ||
| 102 | - echo " "; | ||
| 103 | - } | ||
| 104 | - $_parent = $context['_parent']; | ||
| 105 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['category'], $context['_parent'], $context['loop']); | ||
| 106 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 107 | - // line 17 | ||
| 108 | - echo "</div> | ||
| 109 | -"; | ||
| 110 | - } | ||
| 111 | - | ||
| 112 | - public function getTemplateName() | ||
| 113 | - { | ||
| 114 | - return "default/template/extension/module/category.twig"; | ||
| 115 | - } | ||
| 116 | - | ||
| 117 | - public function isTraitable() | ||
| 118 | - { | ||
| 119 | - return false; | ||
| 120 | - } | ||
| 121 | - | ||
| 122 | - public function getDebugInfo() | ||
| 123 | - { | ||
| 124 | - return array ( 108 => 17, 102 => 16, 92 => 14, 89 => 13, 83 => 12, 76 => 10, 73 => 9, 65 => 8, 62 => 7, 57 => 6, 55 => 5, 49 => 4, 44 => 3, 40 => 2, 37 => 1,); | ||
| 125 | - } | ||
| 126 | - | ||
| 127 | - public function getSourceContext() | ||
| 128 | - { | ||
| 129 | - return new Source("", "default/template/extension/module/category.twig", ""); | ||
| 130 | - } | ||
| 131 | -} |
| 1 | -<?php | ||
| 2 | - | ||
| 3 | -use Twig\Environment; | ||
| 4 | -use Twig\Error\LoaderError; | ||
| 5 | -use Twig\Error\RuntimeError; | ||
| 6 | -use Twig\Extension\CoreExtension; | ||
| 7 | -use Twig\Extension\SandboxExtension; | ||
| 8 | -use Twig\Markup; | ||
| 9 | -use Twig\Sandbox\SecurityError; | ||
| 10 | -use Twig\Sandbox\SecurityNotAllowedTagError; | ||
| 11 | -use Twig\Sandbox\SecurityNotAllowedFilterError; | ||
| 12 | -use Twig\Sandbox\SecurityNotAllowedFunctionError; | ||
| 13 | -use Twig\Source; | ||
| 14 | -use Twig\Template; | ||
| 15 | - | ||
| 16 | -/* extension/dashboard/sale_info.twig */ | ||
| 17 | -class __TwigTemplate_c1447253c420b4175648a20d461c39d7 extends Template | ||
| 18 | -{ | ||
| 19 | - private $source; | ||
| 20 | - private $macros = []; | ||
| 21 | - | ||
| 22 | - public function __construct(Environment $env) | ||
| 23 | - { | ||
| 24 | - parent::__construct($env); | ||
| 25 | - | ||
| 26 | - $this->source = $this->getSourceContext(); | ||
| 27 | - | ||
| 28 | - $this->parent = false; | ||
| 29 | - | ||
| 30 | - $this->blocks = [ | ||
| 31 | - ]; | ||
| 32 | - } | ||
| 33 | - | ||
| 34 | - protected function doDisplay(array $context, array $blocks = []) | ||
| 35 | - { | ||
| 36 | - $macros = $this->macros; | ||
| 37 | - // line 1 | ||
| 38 | - yield "<div class=\"tile tile-primary\"> | ||
| 39 | - <div class=\"tile-heading\">"; | ||
| 40 | - // line 2 | ||
| 41 | - yield ($context["heading_title"] ?? null); | ||
| 42 | - yield " <span class=\"pull-right\"> | ||
| 43 | - "; | ||
| 44 | - // line 3 | ||
| 45 | - if ((($context["percentage"] ?? null) > 0)) { | ||
| 46 | - // line 4 | ||
| 47 | - yield " <i class=\"fa fa-caret-up\"></i> | ||
| 48 | - "; | ||
| 49 | - } elseif (( // line 5 | ||
| 50 | -($context["percentage"] ?? null) < 0)) { | ||
| 51 | - // line 6 | ||
| 52 | - yield " <i class=\"fa fa-caret-down\"></i> | ||
| 53 | - "; | ||
| 54 | - } | ||
| 55 | - // line 8 | ||
| 56 | - yield " "; | ||
| 57 | - yield ($context["percentage"] ?? null); | ||
| 58 | - yield "%</span></div> | ||
| 59 | - <div class=\"tile-body\"><i class=\"fa fa-credit-card\"></i> | ||
| 60 | - <h2 class=\"pull-right\">"; | ||
| 61 | - // line 10 | ||
| 62 | - yield ($context["total"] ?? null); | ||
| 63 | - yield "</h2> | ||
| 64 | - </div> | ||
| 65 | - <div class=\"tile-footer\"><a href=\""; | ||
| 66 | - // line 12 | ||
| 67 | - yield ($context["sale"] ?? null); | ||
| 68 | - yield "\">"; | ||
| 69 | - yield ($context["text_view"] ?? null); | ||
| 70 | - yield "</a></div> | ||
| 71 | -</div> | ||
| 72 | -"; | ||
| 73 | - return; yield ''; | ||
| 74 | - } | ||
| 75 | - | ||
| 76 | - /** | ||
| 77 | - * @codeCoverageIgnore | ||
| 78 | - */ | ||
| 79 | - public function getTemplateName() | ||
| 80 | - { | ||
| 81 | - return "extension/dashboard/sale_info.twig"; | ||
| 82 | - } | ||
| 83 | - | ||
| 84 | - /** | ||
| 85 | - * @codeCoverageIgnore | ||
| 86 | - */ | ||
| 87 | - public function isTraitable() | ||
| 88 | - { | ||
| 89 | - return false; | ||
| 90 | - } | ||
| 91 | - | ||
| 92 | - /** | ||
| 93 | - * @codeCoverageIgnore | ||
| 94 | - */ | ||
| 95 | - public function getDebugInfo() | ||
| 96 | - { | ||
| 97 | - return array ( 67 => 12, 62 => 10, 56 => 8, 52 => 6, 50 => 5, 47 => 4, 45 => 3, 41 => 2, 38 => 1,); | ||
| 98 | - } | ||
| 99 | - | ||
| 100 | - public function getSourceContext() | ||
| 101 | - { | ||
| 102 | - return new Source("", "extension/dashboard/sale_info.twig", ""); | ||
| 103 | - } | ||
| 104 | -} |
| 1 | -<?php | ||
| 2 | - | ||
| 3 | -use Twig\Environment; | ||
| 4 | -use Twig\Error\LoaderError; | ||
| 5 | -use Twig\Error\RuntimeError; | ||
| 6 | -use Twig\Extension\CoreExtension; | ||
| 7 | -use Twig\Extension\SandboxExtension; | ||
| 8 | -use Twig\Markup; | ||
| 9 | -use Twig\Sandbox\SecurityError; | ||
| 10 | -use Twig\Sandbox\SecurityNotAllowedTagError; | ||
| 11 | -use Twig\Sandbox\SecurityNotAllowedFilterError; | ||
| 12 | -use Twig\Sandbox\SecurityNotAllowedFunctionError; | ||
| 13 | -use Twig\Source; | ||
| 14 | -use Twig\Template; | ||
| 15 | - | ||
| 16 | -/* default/template/product/product.twig */ | ||
| 17 | -class __TwigTemplate_328f5db7481ef361dc5779d8d28ae51d extends Template | ||
| 18 | -{ | ||
| 19 | - private $source; | ||
| 20 | - private $macros = []; | ||
| 21 | - | ||
| 22 | - public function __construct(Environment $env) | ||
| 23 | - { | ||
| 24 | - parent::__construct($env); | ||
| 25 | - | ||
| 26 | - $this->source = $this->getSourceContext(); | ||
| 27 | - | ||
| 28 | - $this->parent = false; | ||
| 29 | - | ||
| 30 | - $this->blocks = [ | ||
| 31 | - ]; | ||
| 32 | - } | ||
| 33 | - | ||
| 34 | - protected function doDisplay(array $context, array $blocks = []) | ||
| 35 | - { | ||
| 36 | - $macros = $this->macros; | ||
| 37 | - // line 1 | ||
| 38 | - yield ($context["header"] ?? null); | ||
| 39 | - yield " | ||
| 40 | -<div id=\"product-product\" class=\"container\"> | ||
| 41 | - <ul class=\"breadcrumb\"> | ||
| 42 | - "; | ||
| 43 | - // line 4 | ||
| 44 | - $context['_parent'] = $context; | ||
| 45 | - $context['_seq'] = CoreExtension::ensureTraversable(($context["breadcrumbs"] ?? null)); | ||
| 46 | - foreach ($context['_seq'] as $context["_key"] => $context["breadcrumb"]) { | ||
| 47 | - // line 5 | ||
| 48 | - yield " <li><a href=\""; | ||
| 49 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["breadcrumb"], "href", [], "any", false, false, false, 5); | ||
| 50 | - yield "\">"; | ||
| 51 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["breadcrumb"], "text", [], "any", false, false, false, 5); | ||
| 52 | - yield "</a></li> | ||
| 53 | - "; | ||
| 54 | - } | ||
| 55 | - $_parent = $context['_parent']; | ||
| 56 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['breadcrumb'], $context['_parent'], $context['loop']); | ||
| 57 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 58 | - // line 7 | ||
| 59 | - yield " </ul> | ||
| 60 | - <div class=\"row\">"; | ||
| 61 | - // line 8 | ||
| 62 | - yield ($context["column_left"] ?? null); | ||
| 63 | - yield " | ||
| 64 | - "; | ||
| 65 | - // line 9 | ||
| 66 | - if ((($context["column_left"] ?? null) && ($context["column_right"] ?? null))) { | ||
| 67 | - // line 10 | ||
| 68 | - yield " "; | ||
| 69 | - $context["class"] = "col-sm-6"; | ||
| 70 | - // line 11 | ||
| 71 | - yield " "; | ||
| 72 | - } elseif ((($context["column_left"] ?? null) || ($context["column_right"] ?? null))) { | ||
| 73 | - // line 12 | ||
| 74 | - yield " "; | ||
| 75 | - $context["class"] = "col-sm-9"; | ||
| 76 | - // line 13 | ||
| 77 | - yield " "; | ||
| 78 | - } else { | ||
| 79 | - // line 14 | ||
| 80 | - yield " "; | ||
| 81 | - $context["class"] = "col-sm-12"; | ||
| 82 | - // line 15 | ||
| 83 | - yield " "; | ||
| 84 | - } | ||
| 85 | - // line 16 | ||
| 86 | - yield " <div id=\"content\" class=\""; | ||
| 87 | - yield ($context["class"] ?? null); | ||
| 88 | - yield "\">"; | ||
| 89 | - yield ($context["content_top"] ?? null); | ||
| 90 | - yield " | ||
| 91 | - <div class=\"row\"> "; | ||
| 92 | - // line 17 | ||
| 93 | - if ((($context["column_left"] ?? null) || ($context["column_right"] ?? null))) { | ||
| 94 | - // line 18 | ||
| 95 | - yield " "; | ||
| 96 | - $context["class"] = "col-sm-6"; | ||
| 97 | - // line 19 | ||
| 98 | - yield " "; | ||
| 99 | - } else { | ||
| 100 | - // line 20 | ||
| 101 | - yield " "; | ||
| 102 | - $context["class"] = "col-sm-8"; | ||
| 103 | - // line 21 | ||
| 104 | - yield " "; | ||
| 105 | - } | ||
| 106 | - // line 22 | ||
| 107 | - yield " <div class=\""; | ||
| 108 | - yield ($context["class"] ?? null); | ||
| 109 | - yield "\"> "; | ||
| 110 | - if ((($context["thumb"] ?? null) || ($context["images"] ?? null))) { | ||
| 111 | - // line 23 | ||
| 112 | - yield " <ul class=\"thumbnails\"> | ||
| 113 | - "; | ||
| 114 | - // line 24 | ||
| 115 | - if (($context["thumb"] ?? null)) { | ||
| 116 | - // line 25 | ||
| 117 | - yield " <li><a class=\"thumbnail\" href=\""; | ||
| 118 | - yield ($context["popup"] ?? null); | ||
| 119 | - yield "\" title=\""; | ||
| 120 | - yield ($context["heading_title"] ?? null); | ||
| 121 | - yield "\"><img src=\""; | ||
| 122 | - yield ($context["thumb"] ?? null); | ||
| 123 | - yield "\" title=\""; | ||
| 124 | - yield ($context["heading_title"] ?? null); | ||
| 125 | - yield "\" alt=\""; | ||
| 126 | - yield ($context["heading_title"] ?? null); | ||
| 127 | - yield "\" /></a></li> | ||
| 128 | - "; | ||
| 129 | - } | ||
| 130 | - // line 27 | ||
| 131 | - yield " "; | ||
| 132 | - if (($context["images"] ?? null)) { | ||
| 133 | - // line 28 | ||
| 134 | - yield " "; | ||
| 135 | - $context['_parent'] = $context; | ||
| 136 | - $context['_seq'] = CoreExtension::ensureTraversable(($context["images"] ?? null)); | ||
| 137 | - foreach ($context['_seq'] as $context["_key"] => $context["image"]) { | ||
| 138 | - // line 29 | ||
| 139 | - yield " <li class=\"image-additional\"><a class=\"thumbnail\" href=\""; | ||
| 140 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["image"], "popup", [], "any", false, false, false, 29); | ||
| 141 | - yield "\" title=\""; | ||
| 142 | - yield ($context["heading_title"] ?? null); | ||
| 143 | - yield "\"> <img src=\""; | ||
| 144 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["image"], "thumb", [], "any", false, false, false, 29); | ||
| 145 | - yield "\" title=\""; | ||
| 146 | - yield ($context["heading_title"] ?? null); | ||
| 147 | - yield "\" alt=\""; | ||
| 148 | - yield ($context["heading_title"] ?? null); | ||
| 149 | - yield "\" /></a></li> | ||
| 150 | - "; | ||
| 151 | - } | ||
| 152 | - $_parent = $context['_parent']; | ||
| 153 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['image'], $context['_parent'], $context['loop']); | ||
| 154 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 155 | - // line 31 | ||
| 156 | - yield " "; | ||
| 157 | - } | ||
| 158 | - // line 32 | ||
| 159 | - yield " </ul> | ||
| 160 | - "; | ||
| 161 | - } | ||
| 162 | - // line 34 | ||
| 163 | - yield " <ul class=\"nav nav-tabs\"> | ||
| 164 | - <li class=\"active\"><a href=\"#tab-description\" data-toggle=\"tab\">"; | ||
| 165 | - // line 35 | ||
| 166 | - yield ($context["tab_description"] ?? null); | ||
| 167 | - yield "</a></li> | ||
| 168 | - "; | ||
| 169 | - // line 36 | ||
| 170 | - if (($context["attribute_groups"] ?? null)) { | ||
| 171 | - // line 37 | ||
| 172 | - yield " <li><a href=\"#tab-specification\" data-toggle=\"tab\">"; | ||
| 173 | - yield ($context["tab_attribute"] ?? null); | ||
| 174 | - yield "</a></li> | ||
| 175 | - "; | ||
| 176 | - } | ||
| 177 | - // line 39 | ||
| 178 | - yield " "; | ||
| 179 | - if (($context["review_status"] ?? null)) { | ||
| 180 | - // line 40 | ||
| 181 | - yield " <li><a href=\"#tab-review\" data-toggle=\"tab\">"; | ||
| 182 | - yield ($context["tab_review"] ?? null); | ||
| 183 | - yield "</a></li> | ||
| 184 | - "; | ||
| 185 | - } | ||
| 186 | - // line 42 | ||
| 187 | - yield " </ul> | ||
| 188 | - <div class=\"tab-content\"> | ||
| 189 | - <div class=\"tab-pane active\" id=\"tab-description\">"; | ||
| 190 | - // line 44 | ||
| 191 | - yield ($context["description"] ?? null); | ||
| 192 | - yield "</div> | ||
| 193 | - "; | ||
| 194 | - // line 45 | ||
| 195 | - if (($context["attribute_groups"] ?? null)) { | ||
| 196 | - // line 46 | ||
| 197 | - yield " <div class=\"tab-pane\" id=\"tab-specification\"> | ||
| 198 | - <table class=\"table table-bordered\"> | ||
| 199 | - "; | ||
| 200 | - // line 48 | ||
| 201 | - $context['_parent'] = $context; | ||
| 202 | - $context['_seq'] = CoreExtension::ensureTraversable(($context["attribute_groups"] ?? null)); | ||
| 203 | - foreach ($context['_seq'] as $context["_key"] => $context["attribute_group"]) { | ||
| 204 | - // line 49 | ||
| 205 | - yield " <thead> | ||
| 206 | - <tr> | ||
| 207 | - <td colspan=\"2\"><strong>"; | ||
| 208 | - // line 51 | ||
| 209 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["attribute_group"], "name", [], "any", false, false, false, 51); | ||
| 210 | - yield "</strong></td> | ||
| 211 | - </tr> | ||
| 212 | - </thead> | ||
| 213 | - <tbody> | ||
| 214 | - "; | ||
| 215 | - // line 55 | ||
| 216 | - $context['_parent'] = $context; | ||
| 217 | - $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, $context["attribute_group"], "attribute", [], "any", false, false, false, 55)); | ||
| 218 | - foreach ($context['_seq'] as $context["_key"] => $context["attribute"]) { | ||
| 219 | - // line 56 | ||
| 220 | - yield " <tr> | ||
| 221 | - <td>"; | ||
| 222 | - // line 57 | ||
| 223 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["attribute"], "name", [], "any", false, false, false, 57); | ||
| 224 | - yield "</td> | ||
| 225 | - <td>"; | ||
| 226 | - // line 58 | ||
| 227 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["attribute"], "text", [], "any", false, false, false, 58); | ||
| 228 | - yield "</td> | ||
| 229 | - </tr> | ||
| 230 | - "; | ||
| 231 | - } | ||
| 232 | - $_parent = $context['_parent']; | ||
| 233 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['attribute'], $context['_parent'], $context['loop']); | ||
| 234 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 235 | - // line 61 | ||
| 236 | - yield " </tbody> | ||
| 237 | - "; | ||
| 238 | - } | ||
| 239 | - $_parent = $context['_parent']; | ||
| 240 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['attribute_group'], $context['_parent'], $context['loop']); | ||
| 241 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 242 | - // line 63 | ||
| 243 | - yield " </table> | ||
| 244 | - </div> | ||
| 245 | - "; | ||
| 246 | - } | ||
| 247 | - // line 66 | ||
| 248 | - yield " "; | ||
| 249 | - if (($context["review_status"] ?? null)) { | ||
| 250 | - // line 67 | ||
| 251 | - yield " <div class=\"tab-pane\" id=\"tab-review\"> | ||
| 252 | - <form class=\"form-horizontal\" id=\"form-review\"> | ||
| 253 | - <div id=\"review\"></div> | ||
| 254 | - <h2>"; | ||
| 255 | - // line 70 | ||
| 256 | - yield ($context["text_write"] ?? null); | ||
| 257 | - yield "</h2> | ||
| 258 | - "; | ||
| 259 | - // line 71 | ||
| 260 | - if (($context["review_guest"] ?? null)) { | ||
| 261 | - // line 72 | ||
| 262 | - yield " <div class=\"form-group required\"> | ||
| 263 | - <div class=\"col-sm-12\"> | ||
| 264 | - <label class=\"control-label\" for=\"input-name\">"; | ||
| 265 | - // line 74 | ||
| 266 | - yield ($context["entry_name"] ?? null); | ||
| 267 | - yield "</label> | ||
| 268 | - <input type=\"text\" name=\"name\" value=\""; | ||
| 269 | - // line 75 | ||
| 270 | - yield ($context["customer_name"] ?? null); | ||
| 271 | - yield "\" id=\"input-name\" class=\"form-control\" /> | ||
| 272 | - </div> | ||
| 273 | - </div> | ||
| 274 | - <div class=\"form-group required\"> | ||
| 275 | - <div class=\"col-sm-12\"> | ||
| 276 | - <label class=\"control-label\" for=\"input-review\">"; | ||
| 277 | - // line 80 | ||
| 278 | - yield ($context["entry_review"] ?? null); | ||
| 279 | - yield "</label> | ||
| 280 | - <textarea name=\"text\" rows=\"5\" id=\"input-review\" class=\"form-control\"></textarea> | ||
| 281 | - <div class=\"help-block\">"; | ||
| 282 | - // line 82 | ||
| 283 | - yield ($context["text_note"] ?? null); | ||
| 284 | - yield "</div> | ||
| 285 | - </div> | ||
| 286 | - </div> | ||
| 287 | - <div class=\"form-group required\"> | ||
| 288 | - <div class=\"col-sm-12\"> | ||
| 289 | - <label class=\"control-label\">"; | ||
| 290 | - // line 87 | ||
| 291 | - yield ($context["entry_rating"] ?? null); | ||
| 292 | - yield "</label> | ||
| 293 | - "; | ||
| 294 | - // line 88 | ||
| 295 | - yield ($context["entry_bad"] ?? null); | ||
| 296 | - yield " | ||
| 297 | - <input type=\"radio\" name=\"rating\" value=\"1\" /> | ||
| 298 | - | ||
| 299 | - <input type=\"radio\" name=\"rating\" value=\"2\" /> | ||
| 300 | - | ||
| 301 | - <input type=\"radio\" name=\"rating\" value=\"3\" /> | ||
| 302 | - | ||
| 303 | - <input type=\"radio\" name=\"rating\" value=\"4\" /> | ||
| 304 | - | ||
| 305 | - <input type=\"radio\" name=\"rating\" value=\"5\" /> | ||
| 306 | - "; | ||
| 307 | - // line 98 | ||
| 308 | - yield ($context["entry_good"] ?? null); | ||
| 309 | - yield "</div> | ||
| 310 | - </div> | ||
| 311 | - "; | ||
| 312 | - // line 100 | ||
| 313 | - yield ($context["captcha"] ?? null); | ||
| 314 | - yield " | ||
| 315 | - <div class=\"buttons clearfix\"> | ||
| 316 | - <div class=\"pull-right\"> | ||
| 317 | - <button type=\"button\" id=\"button-review\" data-loading-text=\""; | ||
| 318 | - // line 103 | ||
| 319 | - yield ($context["text_loading"] ?? null); | ||
| 320 | - yield "\" class=\"btn btn-primary\">"; | ||
| 321 | - yield ($context["button_continue"] ?? null); | ||
| 322 | - yield "</button> | ||
| 323 | - </div> | ||
| 324 | - </div> | ||
| 325 | - "; | ||
| 326 | - } else { | ||
| 327 | - // line 107 | ||
| 328 | - yield " "; | ||
| 329 | - yield ($context["text_login"] ?? null); | ||
| 330 | - yield " | ||
| 331 | - "; | ||
| 332 | - } | ||
| 333 | - // line 109 | ||
| 334 | - yield " </form> | ||
| 335 | - </div> | ||
| 336 | - "; | ||
| 337 | - } | ||
| 338 | - // line 111 | ||
| 339 | - yield "</div> | ||
| 340 | - </div> | ||
| 341 | - "; | ||
| 342 | - // line 113 | ||
| 343 | - if ((($context["column_left"] ?? null) || ($context["column_right"] ?? null))) { | ||
| 344 | - // line 114 | ||
| 345 | - yield " "; | ||
| 346 | - $context["class"] = "col-sm-6"; | ||
| 347 | - // line 115 | ||
| 348 | - yield " "; | ||
| 349 | - } else { | ||
| 350 | - // line 116 | ||
| 351 | - yield " "; | ||
| 352 | - $context["class"] = "col-sm-4"; | ||
| 353 | - // line 117 | ||
| 354 | - yield " "; | ||
| 355 | - } | ||
| 356 | - // line 118 | ||
| 357 | - yield " <div class=\""; | ||
| 358 | - yield ($context["class"] ?? null); | ||
| 359 | - yield "\"> | ||
| 360 | - <div class=\"btn-group\"> | ||
| 361 | - <button type=\"button\" data-toggle=\"tooltip\" class=\"btn btn-default\" title=\""; | ||
| 362 | - // line 120 | ||
| 363 | - yield ($context["button_wishlist"] ?? null); | ||
| 364 | - yield "\" onclick=\"wishlist.add('"; | ||
| 365 | - yield ($context["product_id"] ?? null); | ||
| 366 | - yield "');\"><i class=\"fa fa-heart\"></i></button> | ||
| 367 | - <button type=\"button\" data-toggle=\"tooltip\" class=\"btn btn-default\" title=\""; | ||
| 368 | - // line 121 | ||
| 369 | - yield ($context["button_compare"] ?? null); | ||
| 370 | - yield "\" onclick=\"compare.add('"; | ||
| 371 | - yield ($context["product_id"] ?? null); | ||
| 372 | - yield "');\"><i class=\"fa fa-exchange\"></i></button> | ||
| 373 | - </div> | ||
| 374 | - <h1>"; | ||
| 375 | - // line 123 | ||
| 376 | - yield ($context["heading_title"] ?? null); | ||
| 377 | - yield "</h1> | ||
| 378 | - <ul class=\"list-unstyled\"> | ||
| 379 | - "; | ||
| 380 | - // line 125 | ||
| 381 | - if (($context["manufacturer"] ?? null)) { | ||
| 382 | - // line 126 | ||
| 383 | - yield " <li>"; | ||
| 384 | - yield ($context["text_manufacturer"] ?? null); | ||
| 385 | - yield " <a href=\""; | ||
| 386 | - yield ($context["manufacturers"] ?? null); | ||
| 387 | - yield "\">"; | ||
| 388 | - yield ($context["manufacturer"] ?? null); | ||
| 389 | - yield "</a></li> | ||
| 390 | - "; | ||
| 391 | - } | ||
| 392 | - // line 128 | ||
| 393 | - yield " <li>"; | ||
| 394 | - yield ($context["text_model"] ?? null); | ||
| 395 | - yield " "; | ||
| 396 | - yield ($context["model"] ?? null); | ||
| 397 | - yield "</li> | ||
| 398 | - "; | ||
| 399 | - // line 129 | ||
| 400 | - if (($context["reward"] ?? null)) { | ||
| 401 | - // line 130 | ||
| 402 | - yield " <li>"; | ||
| 403 | - yield ($context["text_reward"] ?? null); | ||
| 404 | - yield " "; | ||
| 405 | - yield ($context["reward"] ?? null); | ||
| 406 | - yield "</li> | ||
| 407 | - "; | ||
| 408 | - } | ||
| 409 | - // line 132 | ||
| 410 | - yield " <li>"; | ||
| 411 | - yield ($context["text_stock"] ?? null); | ||
| 412 | - yield " "; | ||
| 413 | - yield ($context["stock"] ?? null); | ||
| 414 | - yield "</li> | ||
| 415 | - </ul> | ||
| 416 | - "; | ||
| 417 | - // line 134 | ||
| 418 | - if (($context["price"] ?? null)) { | ||
| 419 | - // line 135 | ||
| 420 | - yield " <ul class=\"list-unstyled\"> | ||
| 421 | - "; | ||
| 422 | - // line 136 | ||
| 423 | - if ( !($context["special"] ?? null)) { | ||
| 424 | - // line 137 | ||
| 425 | - yield " <li> | ||
| 426 | - <h2>"; | ||
| 427 | - // line 138 | ||
| 428 | - yield ($context["price"] ?? null); | ||
| 429 | - yield "</h2> | ||
| 430 | - </li> | ||
| 431 | - "; | ||
| 432 | - } else { | ||
| 433 | - // line 141 | ||
| 434 | - yield " <li><span style=\"text-decoration: line-through;\">"; | ||
| 435 | - yield ($context["price"] ?? null); | ||
| 436 | - yield "</span></li> | ||
| 437 | - <li> | ||
| 438 | - <h2>"; | ||
| 439 | - // line 143 | ||
| 440 | - yield ($context["special"] ?? null); | ||
| 441 | - yield "</h2> | ||
| 442 | - </li> | ||
| 443 | - "; | ||
| 444 | - } | ||
| 445 | - // line 146 | ||
| 446 | - yield " "; | ||
| 447 | - if (($context["tax"] ?? null)) { | ||
| 448 | - // line 147 | ||
| 449 | - yield " <li>"; | ||
| 450 | - yield ($context["text_tax"] ?? null); | ||
| 451 | - yield " "; | ||
| 452 | - yield ($context["tax"] ?? null); | ||
| 453 | - yield "</li> | ||
| 454 | - "; | ||
| 455 | - } | ||
| 456 | - // line 149 | ||
| 457 | - yield " "; | ||
| 458 | - if (($context["points"] ?? null)) { | ||
| 459 | - // line 150 | ||
| 460 | - yield " <li>"; | ||
| 461 | - yield ($context["text_points"] ?? null); | ||
| 462 | - yield " "; | ||
| 463 | - yield ($context["points"] ?? null); | ||
| 464 | - yield "</li> | ||
| 465 | - "; | ||
| 466 | - } | ||
| 467 | - // line 152 | ||
| 468 | - yield " "; | ||
| 469 | - if (($context["discounts"] ?? null)) { | ||
| 470 | - // line 153 | ||
| 471 | - yield " <li> | ||
| 472 | - <hr> | ||
| 473 | - </li> | ||
| 474 | - "; | ||
| 475 | - // line 156 | ||
| 476 | - $context['_parent'] = $context; | ||
| 477 | - $context['_seq'] = CoreExtension::ensureTraversable(($context["discounts"] ?? null)); | ||
| 478 | - foreach ($context['_seq'] as $context["_key"] => $context["discount"]) { | ||
| 479 | - // line 157 | ||
| 480 | - yield " <li>"; | ||
| 481 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["discount"], "quantity", [], "any", false, false, false, 157); | ||
| 482 | - yield ($context["text_discount"] ?? null); | ||
| 483 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["discount"], "price", [], "any", false, false, false, 157); | ||
| 484 | - yield "</li> | ||
| 485 | - "; | ||
| 486 | - } | ||
| 487 | - $_parent = $context['_parent']; | ||
| 488 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['discount'], $context['_parent'], $context['loop']); | ||
| 489 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 490 | - // line 159 | ||
| 491 | - yield " "; | ||
| 492 | - } | ||
| 493 | - // line 160 | ||
| 494 | - yield " </ul> | ||
| 495 | - "; | ||
| 496 | - } | ||
| 497 | - // line 162 | ||
| 498 | - yield " <div id=\"product\"> "; | ||
| 499 | - if (($context["options"] ?? null)) { | ||
| 500 | - // line 163 | ||
| 501 | - yield " <hr> | ||
| 502 | - <h3>"; | ||
| 503 | - // line 164 | ||
| 504 | - yield ($context["text_option"] ?? null); | ||
| 505 | - yield "</h3> | ||
| 506 | - "; | ||
| 507 | - // line 165 | ||
| 508 | - $context['_parent'] = $context; | ||
| 509 | - $context['_seq'] = CoreExtension::ensureTraversable(($context["options"] ?? null)); | ||
| 510 | - foreach ($context['_seq'] as $context["_key"] => $context["option"]) { | ||
| 511 | - // line 166 | ||
| 512 | - yield " "; | ||
| 513 | - if ((CoreExtension::getAttribute($this->env, $this->source, $context["option"], "type", [], "any", false, false, false, 166) == "select")) { | ||
| 514 | - // line 167 | ||
| 515 | - yield " <div class=\"form-group"; | ||
| 516 | - if (CoreExtension::getAttribute($this->env, $this->source, $context["option"], "required", [], "any", false, false, false, 167)) { | ||
| 517 | - yield " required "; | ||
| 518 | - } | ||
| 519 | - yield "\"> | ||
| 520 | - <label class=\"control-label\" for=\"input-option"; | ||
| 521 | - // line 168 | ||
| 522 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["option"], "product_option_id", [], "any", false, false, false, 168); | ||
| 523 | - yield "\">"; | ||
| 524 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["option"], "name", [], "any", false, false, false, 168); | ||
| 525 | - yield "</label> | ||
| 526 | - <select name=\"option["; | ||
| 527 | - // line 169 | ||
| 528 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["option"], "product_option_id", [], "any", false, false, false, 169); | ||
| 529 | - yield "]\" id=\"input-option"; | ||
| 530 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["option"], "product_option_id", [], "any", false, false, false, 169); | ||
| 531 | - yield "\" class=\"form-control\"> | ||
| 532 | - <option value=\"\">"; | ||
| 533 | - // line 170 | ||
| 534 | - yield ($context["text_select"] ?? null); | ||
| 535 | - yield "</option> | ||
| 536 | - "; | ||
| 537 | - // line 171 | ||
| 538 | - $context['_parent'] = $context; | ||
| 539 | - $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, $context["option"], "product_option_value", [], "any", false, false, false, 171)); | ||
| 540 | - foreach ($context['_seq'] as $context["_key"] => $context["option_value"]) { | ||
| 541 | - // line 172 | ||
| 542 | - yield " <option value=\""; | ||
| 543 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["option_value"], "product_option_value_id", [], "any", false, false, false, 172); | ||
| 544 | - yield "\">"; | ||
| 545 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["option_value"], "name", [], "any", false, false, false, 172); | ||
| 546 | - yield " | ||
| 547 | - "; | ||
| 548 | - // line 173 | ||
| 549 | - if (CoreExtension::getAttribute($this->env, $this->source, $context["option_value"], "price", [], "any", false, false, false, 173)) { | ||
| 550 | - // line 174 | ||
| 551 | - yield " ("; | ||
| 552 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["option_value"], "price_prefix", [], "any", false, false, false, 174); | ||
| 553 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["option_value"], "price", [], "any", false, false, false, 174); | ||
| 554 | - yield ") | ||
| 555 | - "; | ||
| 556 | - } | ||
| 557 | - // line 175 | ||
| 558 | - yield " </option> | ||
| 559 | - "; | ||
| 560 | - } | ||
| 561 | - $_parent = $context['_parent']; | ||
| 562 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['option_value'], $context['_parent'], $context['loop']); | ||
| 563 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 564 | - // line 177 | ||
| 565 | - yield " </select> | ||
| 566 | - </div> | ||
| 567 | - "; | ||
| 568 | - } | ||
| 569 | - // line 180 | ||
| 570 | - yield " "; | ||
| 571 | - if ((CoreExtension::getAttribute($this->env, $this->source, $context["option"], "type", [], "any", false, false, false, 180) == "radio")) { | ||
| 572 | - // line 181 | ||
| 573 | - yield " <div class=\"form-group"; | ||
| 574 | - if (CoreExtension::getAttribute($this->env, $this->source, $context["option"], "required", [], "any", false, false, false, 181)) { | ||
| 575 | - yield " required "; | ||
| 576 | - } | ||
| 577 | - yield "\"> | ||
| 578 | - <label class=\"control-label\">"; | ||
| 579 | - // line 182 | ||
| 580 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["option"], "name", [], "any", false, false, false, 182); | ||
| 581 | - yield "</label> | ||
| 582 | - <div id=\"input-option"; | ||
| 583 | - // line 183 | ||
| 584 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["option"], "product_option_id", [], "any", false, false, false, 183); | ||
| 585 | - yield "\"> "; | ||
| 586 | - $context['_parent'] = $context; | ||
| 587 | - $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, $context["option"], "product_option_value", [], "any", false, false, false, 183)); | ||
| 588 | - foreach ($context['_seq'] as $context["_key"] => $context["option_value"]) { | ||
| 589 | - // line 184 | ||
| 590 | - yield " <div class=\"radio\"> | ||
| 591 | - <label> | ||
| 592 | - <input type=\"radio\" name=\"option["; | ||
| 593 | - // line 186 | ||
| 594 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["option"], "product_option_id", [], "any", false, false, false, 186); | ||
| 595 | - yield "]\" value=\""; | ||
| 596 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["option_value"], "product_option_value_id", [], "any", false, false, false, 186); | ||
| 597 | - yield "\" /> | ||
| 598 | - "; | ||
| 599 | - // line 187 | ||
| 600 | - if (CoreExtension::getAttribute($this->env, $this->source, $context["option_value"], "image", [], "any", false, false, false, 187)) { | ||
| 601 | - yield " <img src=\""; | ||
| 602 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["option_value"], "image", [], "any", false, false, false, 187); | ||
| 603 | - yield "\" alt=\""; | ||
| 604 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["option_value"], "name", [], "any", false, false, false, 187); | ||
| 605 | - yield " "; | ||
| 606 | - if (CoreExtension::getAttribute($this->env, $this->source, $context["option_value"], "price", [], "any", false, false, false, 187)) { | ||
| 607 | - yield " "; | ||
| 608 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["option_value"], "price_prefix", [], "any", false, false, false, 187); | ||
| 609 | - yield " "; | ||
| 610 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["option_value"], "price", [], "any", false, false, false, 187); | ||
| 611 | - yield " "; | ||
| 612 | - } | ||
| 613 | - yield "\" class=\"img-thumbnail\" /> "; | ||
| 614 | - } | ||
| 615 | - yield " | ||
| 616 | - "; | ||
| 617 | - // line 188 | ||
| 618 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["option_value"], "name", [], "any", false, false, false, 188); | ||
| 619 | - yield " | ||
| 620 | - "; | ||
| 621 | - // line 189 | ||
| 622 | - if (CoreExtension::getAttribute($this->env, $this->source, $context["option_value"], "price", [], "any", false, false, false, 189)) { | ||
| 623 | - // line 190 | ||
| 624 | - yield " ("; | ||
| 625 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["option_value"], "price_prefix", [], "any", false, false, false, 190); | ||
| 626 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["option_value"], "price", [], "any", false, false, false, 190); | ||
| 627 | - yield ") | ||
| 628 | - "; | ||
| 629 | - } | ||
| 630 | - // line 191 | ||
| 631 | - yield " </label> | ||
| 632 | - </div> | ||
| 633 | - "; | ||
| 634 | - } | ||
| 635 | - $_parent = $context['_parent']; | ||
| 636 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['option_value'], $context['_parent'], $context['loop']); | ||
| 637 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 638 | - // line 193 | ||
| 639 | - yield " </div> | ||
| 640 | - </div> | ||
| 641 | - "; | ||
| 642 | - } | ||
| 643 | - // line 196 | ||
| 644 | - yield " "; | ||
| 645 | - if ((CoreExtension::getAttribute($this->env, $this->source, $context["option"], "type", [], "any", false, false, false, 196) == "checkbox")) { | ||
| 646 | - // line 197 | ||
| 647 | - yield " <div class=\"form-group"; | ||
| 648 | - if (CoreExtension::getAttribute($this->env, $this->source, $context["option"], "required", [], "any", false, false, false, 197)) { | ||
| 649 | - yield " required "; | ||
| 650 | - } | ||
| 651 | - yield "\"> | ||
| 652 | - <label class=\"control-label\">"; | ||
| 653 | - // line 198 | ||
| 654 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["option"], "name", [], "any", false, false, false, 198); | ||
| 655 | - yield "</label> | ||
| 656 | - <div id=\"input-option"; | ||
| 657 | - // line 199 | ||
| 658 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["option"], "product_option_id", [], "any", false, false, false, 199); | ||
| 659 | - yield "\"> "; | ||
| 660 | - $context['_parent'] = $context; | ||
| 661 | - $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, $context["option"], "product_option_value", [], "any", false, false, false, 199)); | ||
| 662 | - foreach ($context['_seq'] as $context["_key"] => $context["option_value"]) { | ||
| 663 | - // line 200 | ||
| 664 | - yield " <div class=\"checkbox\"> | ||
| 665 | - <label> | ||
| 666 | - <input type=\"checkbox\" name=\"option["; | ||
| 667 | - // line 202 | ||
| 668 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["option"], "product_option_id", [], "any", false, false, false, 202); | ||
| 669 | - yield "][]\" value=\""; | ||
| 670 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["option_value"], "product_option_value_id", [], "any", false, false, false, 202); | ||
| 671 | - yield "\" /> | ||
| 672 | - "; | ||
| 673 | - // line 203 | ||
| 674 | - if (CoreExtension::getAttribute($this->env, $this->source, $context["option_value"], "image", [], "any", false, false, false, 203)) { | ||
| 675 | - yield " <img src=\""; | ||
| 676 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["option_value"], "image", [], "any", false, false, false, 203); | ||
| 677 | - yield "\" alt=\""; | ||
| 678 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["option_value"], "name", [], "any", false, false, false, 203); | ||
| 679 | - yield " "; | ||
| 680 | - if (CoreExtension::getAttribute($this->env, $this->source, $context["option_value"], "price", [], "any", false, false, false, 203)) { | ||
| 681 | - yield " "; | ||
| 682 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["option_value"], "price_prefix", [], "any", false, false, false, 203); | ||
| 683 | - yield " "; | ||
| 684 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["option_value"], "price", [], "any", false, false, false, 203); | ||
| 685 | - yield " "; | ||
| 686 | - } | ||
| 687 | - yield "\" class=\"img-thumbnail\" /> "; | ||
| 688 | - } | ||
| 689 | - // line 204 | ||
| 690 | - yield " "; | ||
| 691 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["option_value"], "name", [], "any", false, false, false, 204); | ||
| 692 | - yield " | ||
| 693 | - "; | ||
| 694 | - // line 205 | ||
| 695 | - if (CoreExtension::getAttribute($this->env, $this->source, $context["option_value"], "price", [], "any", false, false, false, 205)) { | ||
| 696 | - // line 206 | ||
| 697 | - yield " ("; | ||
| 698 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["option_value"], "price_prefix", [], "any", false, false, false, 206); | ||
| 699 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["option_value"], "price", [], "any", false, false, false, 206); | ||
| 700 | - yield ") | ||
| 701 | - "; | ||
| 702 | - } | ||
| 703 | - // line 207 | ||
| 704 | - yield " </label> | ||
| 705 | - </div> | ||
| 706 | - "; | ||
| 707 | - } | ||
| 708 | - $_parent = $context['_parent']; | ||
| 709 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['option_value'], $context['_parent'], $context['loop']); | ||
| 710 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 711 | - // line 209 | ||
| 712 | - yield " </div> | ||
| 713 | - </div> | ||
| 714 | - "; | ||
| 715 | - } | ||
| 716 | - // line 212 | ||
| 717 | - yield " "; | ||
| 718 | - if ((CoreExtension::getAttribute($this->env, $this->source, $context["option"], "type", [], "any", false, false, false, 212) == "text")) { | ||
| 719 | - // line 213 | ||
| 720 | - yield " <div class=\"form-group"; | ||
| 721 | - if (CoreExtension::getAttribute($this->env, $this->source, $context["option"], "required", [], "any", false, false, false, 213)) { | ||
| 722 | - yield " required "; | ||
| 723 | - } | ||
| 724 | - yield "\"> | ||
| 725 | - <label class=\"control-label\" for=\"input-option"; | ||
| 726 | - // line 214 | ||
| 727 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["option"], "product_option_id", [], "any", false, false, false, 214); | ||
| 728 | - yield "\">"; | ||
| 729 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["option"], "name", [], "any", false, false, false, 214); | ||
| 730 | - yield "</label> | ||
| 731 | - <input type=\"text\" name=\"option["; | ||
| 732 | - // line 215 | ||
| 733 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["option"], "product_option_id", [], "any", false, false, false, 215); | ||
| 734 | - yield "]\" value=\""; | ||
| 735 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["option"], "value", [], "any", false, false, false, 215); | ||
| 736 | - yield "\" placeholder=\""; | ||
| 737 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["option"], "name", [], "any", false, false, false, 215); | ||
| 738 | - yield "\" id=\"input-option"; | ||
| 739 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["option"], "product_option_id", [], "any", false, false, false, 215); | ||
| 740 | - yield "\" class=\"form-control\" /> | ||
| 741 | - </div> | ||
| 742 | - "; | ||
| 743 | - } | ||
| 744 | - // line 218 | ||
| 745 | - yield " "; | ||
| 746 | - if ((CoreExtension::getAttribute($this->env, $this->source, $context["option"], "type", [], "any", false, false, false, 218) == "textarea")) { | ||
| 747 | - // line 219 | ||
| 748 | - yield " <div class=\"form-group"; | ||
| 749 | - if (CoreExtension::getAttribute($this->env, $this->source, $context["option"], "required", [], "any", false, false, false, 219)) { | ||
| 750 | - yield " required "; | ||
| 751 | - } | ||
| 752 | - yield "\"> | ||
| 753 | - <label class=\"control-label\" for=\"input-option"; | ||
| 754 | - // line 220 | ||
| 755 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["option"], "product_option_id", [], "any", false, false, false, 220); | ||
| 756 | - yield "\">"; | ||
| 757 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["option"], "name", [], "any", false, false, false, 220); | ||
| 758 | - yield "</label> | ||
| 759 | - <textarea name=\"option["; | ||
| 760 | - // line 221 | ||
| 761 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["option"], "product_option_id", [], "any", false, false, false, 221); | ||
| 762 | - yield "]\" rows=\"5\" placeholder=\""; | ||
| 763 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["option"], "name", [], "any", false, false, false, 221); | ||
| 764 | - yield "\" id=\"input-option"; | ||
| 765 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["option"], "product_option_id", [], "any", false, false, false, 221); | ||
| 766 | - yield "\" class=\"form-control\">"; | ||
| 767 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["option"], "value", [], "any", false, false, false, 221); | ||
| 768 | - yield "</textarea> | ||
| 769 | - </div> | ||
| 770 | - "; | ||
| 771 | - } | ||
| 772 | - // line 224 | ||
| 773 | - yield " "; | ||
| 774 | - if ((CoreExtension::getAttribute($this->env, $this->source, $context["option"], "type", [], "any", false, false, false, 224) == "file")) { | ||
| 775 | - // line 225 | ||
| 776 | - yield " <div class=\"form-group"; | ||
| 777 | - if (CoreExtension::getAttribute($this->env, $this->source, $context["option"], "required", [], "any", false, false, false, 225)) { | ||
| 778 | - yield " required "; | ||
| 779 | - } | ||
| 780 | - yield "\"> | ||
| 781 | - <label class=\"control-label\">"; | ||
| 782 | - // line 226 | ||
| 783 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["option"], "name", [], "any", false, false, false, 226); | ||
| 784 | - yield "</label> | ||
| 785 | - <button type=\"button\" id=\"button-upload"; | ||
| 786 | - // line 227 | ||
| 787 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["option"], "product_option_id", [], "any", false, false, false, 227); | ||
| 788 | - yield "\" data-loading-text=\""; | ||
| 789 | - yield ($context["text_loading"] ?? null); | ||
| 790 | - yield "\" class=\"btn btn-default btn-block\"><i class=\"fa fa-upload\"></i> "; | ||
| 791 | - yield ($context["button_upload"] ?? null); | ||
| 792 | - yield "</button> | ||
| 793 | - <input type=\"hidden\" name=\"option["; | ||
| 794 | - // line 228 | ||
| 795 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["option"], "product_option_id", [], "any", false, false, false, 228); | ||
| 796 | - yield "]\" value=\"\" id=\"input-option"; | ||
| 797 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["option"], "product_option_id", [], "any", false, false, false, 228); | ||
| 798 | - yield "\" /> | ||
| 799 | - </div> | ||
| 800 | - "; | ||
| 801 | - } | ||
| 802 | - // line 231 | ||
| 803 | - yield " "; | ||
| 804 | - if ((CoreExtension::getAttribute($this->env, $this->source, $context["option"], "type", [], "any", false, false, false, 231) == "date")) { | ||
| 805 | - // line 232 | ||
| 806 | - yield " <div class=\"form-group"; | ||
| 807 | - if (CoreExtension::getAttribute($this->env, $this->source, $context["option"], "required", [], "any", false, false, false, 232)) { | ||
| 808 | - yield " required "; | ||
| 809 | - } | ||
| 810 | - yield "\"> | ||
| 811 | - <label class=\"control-label\" for=\"input-option"; | ||
| 812 | - // line 233 | ||
| 813 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["option"], "product_option_id", [], "any", false, false, false, 233); | ||
| 814 | - yield "\">"; | ||
| 815 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["option"], "name", [], "any", false, false, false, 233); | ||
| 816 | - yield "</label> | ||
| 817 | - <div class=\"input-group date\"> | ||
| 818 | - <input type=\"text\" name=\"option["; | ||
| 819 | - // line 235 | ||
| 820 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["option"], "product_option_id", [], "any", false, false, false, 235); | ||
| 821 | - yield "]\" value=\""; | ||
| 822 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["option"], "value", [], "any", false, false, false, 235); | ||
| 823 | - yield "\" data-date-format=\"YYYY-MM-DD\" id=\"input-option"; | ||
| 824 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["option"], "product_option_id", [], "any", false, false, false, 235); | ||
| 825 | - yield "\" class=\"form-control\" /> | ||
| 826 | - <span class=\"input-group-btn\"> | ||
| 827 | - <button class=\"btn btn-default\" type=\"button\"><i class=\"fa fa-calendar\"></i></button> | ||
| 828 | - </span></div> | ||
| 829 | - </div> | ||
| 830 | - "; | ||
| 831 | - } | ||
| 832 | - // line 241 | ||
| 833 | - yield " "; | ||
| 834 | - if ((CoreExtension::getAttribute($this->env, $this->source, $context["option"], "type", [], "any", false, false, false, 241) == "datetime")) { | ||
| 835 | - // line 242 | ||
| 836 | - yield " <div class=\"form-group"; | ||
| 837 | - if (CoreExtension::getAttribute($this->env, $this->source, $context["option"], "required", [], "any", false, false, false, 242)) { | ||
| 838 | - yield " required "; | ||
| 839 | - } | ||
| 840 | - yield "\"> | ||
| 841 | - <label class=\"control-label\" for=\"input-option"; | ||
| 842 | - // line 243 | ||
| 843 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["option"], "product_option_id", [], "any", false, false, false, 243); | ||
| 844 | - yield "\">"; | ||
| 845 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["option"], "name", [], "any", false, false, false, 243); | ||
| 846 | - yield "</label> | ||
| 847 | - <div class=\"input-group datetime\"> | ||
| 848 | - <input type=\"text\" name=\"option["; | ||
| 849 | - // line 245 | ||
| 850 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["option"], "product_option_id", [], "any", false, false, false, 245); | ||
| 851 | - yield "]\" value=\""; | ||
| 852 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["option"], "value", [], "any", false, false, false, 245); | ||
| 853 | - yield "\" data-date-format=\"YYYY-MM-DD HH:mm\" id=\"input-option"; | ||
| 854 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["option"], "product_option_id", [], "any", false, false, false, 245); | ||
| 855 | - yield "\" class=\"form-control\" /> | ||
| 856 | - <span class=\"input-group-btn\"> | ||
| 857 | - <button type=\"button\" class=\"btn btn-default\"><i class=\"fa fa-calendar\"></i></button> | ||
| 858 | - </span></div> | ||
| 859 | - </div> | ||
| 860 | - "; | ||
| 861 | - } | ||
| 862 | - // line 251 | ||
| 863 | - yield " "; | ||
| 864 | - if ((CoreExtension::getAttribute($this->env, $this->source, $context["option"], "type", [], "any", false, false, false, 251) == "time")) { | ||
| 865 | - // line 252 | ||
| 866 | - yield " <div class=\"form-group"; | ||
| 867 | - if (CoreExtension::getAttribute($this->env, $this->source, $context["option"], "required", [], "any", false, false, false, 252)) { | ||
| 868 | - yield " required "; | ||
| 869 | - } | ||
| 870 | - yield "\"> | ||
| 871 | - <label class=\"control-label\" for=\"input-option"; | ||
| 872 | - // line 253 | ||
| 873 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["option"], "product_option_id", [], "any", false, false, false, 253); | ||
| 874 | - yield "\">"; | ||
| 875 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["option"], "name", [], "any", false, false, false, 253); | ||
| 876 | - yield "</label> | ||
| 877 | - <div class=\"input-group time\"> | ||
| 878 | - <input type=\"text\" name=\"option["; | ||
| 879 | - // line 255 | ||
| 880 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["option"], "product_option_id", [], "any", false, false, false, 255); | ||
| 881 | - yield "]\" value=\""; | ||
| 882 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["option"], "value", [], "any", false, false, false, 255); | ||
| 883 | - yield "\" data-date-format=\"HH:mm\" id=\"input-option"; | ||
| 884 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["option"], "product_option_id", [], "any", false, false, false, 255); | ||
| 885 | - yield "\" class=\"form-control\" /> | ||
| 886 | - <span class=\"input-group-btn\"> | ||
| 887 | - <button type=\"button\" class=\"btn btn-default\"><i class=\"fa fa-calendar\"></i></button> | ||
| 888 | - </span></div> | ||
| 889 | - </div> | ||
| 890 | - "; | ||
| 891 | - } | ||
| 892 | - // line 261 | ||
| 893 | - yield " "; | ||
| 894 | - } | ||
| 895 | - $_parent = $context['_parent']; | ||
| 896 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['option'], $context['_parent'], $context['loop']); | ||
| 897 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 898 | - // line 262 | ||
| 899 | - yield " "; | ||
| 900 | - } | ||
| 901 | - // line 263 | ||
| 902 | - yield " "; | ||
| 903 | - if (($context["recurrings"] ?? null)) { | ||
| 904 | - // line 264 | ||
| 905 | - yield " <hr> | ||
| 906 | - <h3>"; | ||
| 907 | - // line 265 | ||
| 908 | - yield ($context["text_payment_recurring"] ?? null); | ||
| 909 | - yield "</h3> | ||
| 910 | - <div class=\"form-group required\"> | ||
| 911 | - <select name=\"recurring_id\" class=\"form-control\"> | ||
| 912 | - <option value=\"\">"; | ||
| 913 | - // line 268 | ||
| 914 | - yield ($context["text_select"] ?? null); | ||
| 915 | - yield "</option> | ||
| 916 | - "; | ||
| 917 | - // line 269 | ||
| 918 | - $context['_parent'] = $context; | ||
| 919 | - $context['_seq'] = CoreExtension::ensureTraversable(($context["recurrings"] ?? null)); | ||
| 920 | - foreach ($context['_seq'] as $context["_key"] => $context["recurring"]) { | ||
| 921 | - // line 270 | ||
| 922 | - yield " <option value=\""; | ||
| 923 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["recurring"], "recurring_id", [], "any", false, false, false, 270); | ||
| 924 | - yield "\">"; | ||
| 925 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["recurring"], "name", [], "any", false, false, false, 270); | ||
| 926 | - yield "</option> | ||
| 927 | - "; | ||
| 928 | - } | ||
| 929 | - $_parent = $context['_parent']; | ||
| 930 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['recurring'], $context['_parent'], $context['loop']); | ||
| 931 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 932 | - // line 272 | ||
| 933 | - yield " </select> | ||
| 934 | - <div class=\"help-block\" id=\"recurring-description\"></div> | ||
| 935 | - </div> | ||
| 936 | - "; | ||
| 937 | - } | ||
| 938 | - // line 276 | ||
| 939 | - yield " <div class=\"form-group\"> | ||
| 940 | - <label class=\"control-label\" for=\"input-quantity\">"; | ||
| 941 | - // line 277 | ||
| 942 | - yield ($context["entry_qty"] ?? null); | ||
| 943 | - yield "</label> | ||
| 944 | - <input type=\"text\" name=\"quantity\" value=\""; | ||
| 945 | - // line 278 | ||
| 946 | - yield ($context["minimum"] ?? null); | ||
| 947 | - yield "\" size=\"2\" id=\"input-quantity\" class=\"form-control\" /> | ||
| 948 | - <input type=\"hidden\" name=\"product_id\" value=\""; | ||
| 949 | - // line 279 | ||
| 950 | - yield ($context["product_id"] ?? null); | ||
| 951 | - yield "\" /> | ||
| 952 | - <br /> | ||
| 953 | - <button type=\"button\" id=\"button-cart\" data-loading-text=\""; | ||
| 954 | - // line 281 | ||
| 955 | - yield ($context["text_loading"] ?? null); | ||
| 956 | - yield "\" class=\"btn btn-primary btn-lg btn-block\">"; | ||
| 957 | - yield ($context["button_cart"] ?? null); | ||
| 958 | - yield "</button> | ||
| 959 | - </div> | ||
| 960 | - "; | ||
| 961 | - // line 283 | ||
| 962 | - if ((($context["minimum"] ?? null) > 1)) { | ||
| 963 | - // line 284 | ||
| 964 | - yield " <div class=\"alert alert-info\"><i class=\"fa fa-info-circle\"></i> "; | ||
| 965 | - yield ($context["text_minimum"] ?? null); | ||
| 966 | - yield "</div> | ||
| 967 | - "; | ||
| 968 | - } | ||
| 969 | - // line 285 | ||
| 970 | - yield "</div> | ||
| 971 | - "; | ||
| 972 | - // line 286 | ||
| 973 | - if (($context["review_status"] ?? null)) { | ||
| 974 | - // line 287 | ||
| 975 | - yield " <div class=\"rating\"> | ||
| 976 | - <p>"; | ||
| 977 | - // line 288 | ||
| 978 | - $context['_parent'] = $context; | ||
| 979 | - $context['_seq'] = CoreExtension::ensureTraversable(range(1, 5)); | ||
| 980 | - foreach ($context['_seq'] as $context["_key"] => $context["i"]) { | ||
| 981 | - // line 289 | ||
| 982 | - yield " "; | ||
| 983 | - if ((($context["rating"] ?? null) < $context["i"])) { | ||
| 984 | - yield "<span class=\"fa fa-stack\"><i class=\"fa fa-star-o fa-stack-1x\"></i></span>"; | ||
| 985 | - } else { | ||
| 986 | - yield "<span class=\"fa fa-stack\"><i class=\"fa fa-star fa-stack-1x\"></i><i class=\"fa fa-star-o fa-stack-1x\"></i></span>"; | ||
| 987 | - } | ||
| 988 | - // line 290 | ||
| 989 | - yield " "; | ||
| 990 | - } | ||
| 991 | - $_parent = $context['_parent']; | ||
| 992 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']); | ||
| 993 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 994 | - yield " <a href=\"\" onclick=\"\$('a[href=\\'#tab-review\\']').trigger('click'); return false;\">"; | ||
| 995 | - yield ($context["reviews"] ?? null); | ||
| 996 | - yield "</a> / <a href=\"\" onclick=\"\$('a[href=\\'#tab-review\\']').trigger('click'); return false;\">"; | ||
| 997 | - yield ($context["text_write"] ?? null); | ||
| 998 | - yield "</a></p> | ||
| 999 | - <hr> | ||
| 1000 | - <!-- AddThis Button BEGIN --> | ||
| 1001 | - <div class=\"addthis_toolbox addthis_default_style\" data-url=\""; | ||
| 1002 | - // line 293 | ||
| 1003 | - yield ($context["share"] ?? null); | ||
| 1004 | - yield "\"><a class=\"addthis_button_facebook_like\" fb:like:layout=\"button_count\"></a> <a class=\"addthis_button_tweet\"></a> <a class=\"addthis_button_pinterest_pinit\"></a> <a class=\"addthis_counter addthis_pill_style\"></a></div> | ||
| 1005 | - <script type=\"text/javascript\" src=\"//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-515eeaf54693130e\"></script> | ||
| 1006 | - <!-- AddThis Button END --> | ||
| 1007 | - </div> | ||
| 1008 | - "; | ||
| 1009 | - } | ||
| 1010 | - // line 297 | ||
| 1011 | - yield " </div> | ||
| 1012 | - </div> | ||
| 1013 | - "; | ||
| 1014 | - // line 299 | ||
| 1015 | - if (($context["products"] ?? null)) { | ||
| 1016 | - // line 300 | ||
| 1017 | - yield " <h3>"; | ||
| 1018 | - yield ($context["text_related"] ?? null); | ||
| 1019 | - yield "</h3> | ||
| 1020 | - <div class=\"row\"> "; | ||
| 1021 | - // line 301 | ||
| 1022 | - $context["i"] = 0; | ||
| 1023 | - // line 302 | ||
| 1024 | - yield " "; | ||
| 1025 | - $context['_parent'] = $context; | ||
| 1026 | - $context['_seq'] = CoreExtension::ensureTraversable(($context["products"] ?? null)); | ||
| 1027 | - foreach ($context['_seq'] as $context["_key"] => $context["product"]) { | ||
| 1028 | - // line 303 | ||
| 1029 | - yield " "; | ||
| 1030 | - if ((($context["column_left"] ?? null) && ($context["column_right"] ?? null))) { | ||
| 1031 | - // line 304 | ||
| 1032 | - yield " "; | ||
| 1033 | - $context["class"] = "col-xs-8 col-sm-6"; | ||
| 1034 | - // line 305 | ||
| 1035 | - yield " "; | ||
| 1036 | - } elseif ((($context["column_left"] ?? null) || ($context["column_right"] ?? null))) { | ||
| 1037 | - // line 306 | ||
| 1038 | - yield " "; | ||
| 1039 | - $context["class"] = "col-xs-6 col-md-4"; | ||
| 1040 | - // line 307 | ||
| 1041 | - yield " "; | ||
| 1042 | - } else { | ||
| 1043 | - // line 308 | ||
| 1044 | - yield " "; | ||
| 1045 | - $context["class"] = "col-xs-6 col-sm-3"; | ||
| 1046 | - // line 309 | ||
| 1047 | - yield " "; | ||
| 1048 | - } | ||
| 1049 | - // line 310 | ||
| 1050 | - yield " <div class=\""; | ||
| 1051 | - yield ($context["class"] ?? null); | ||
| 1052 | - yield "\"> | ||
| 1053 | - <div class=\"product-thumb transition\"> | ||
| 1054 | - <div class=\"image\"><a href=\""; | ||
| 1055 | - // line 312 | ||
| 1056 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["product"], "href", [], "any", false, false, false, 312); | ||
| 1057 | - yield "\"><img src=\""; | ||
| 1058 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["product"], "thumb", [], "any", false, false, false, 312); | ||
| 1059 | - yield "\" alt=\""; | ||
| 1060 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["product"], "name", [], "any", false, false, false, 312); | ||
| 1061 | - yield "\" title=\""; | ||
| 1062 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["product"], "name", [], "any", false, false, false, 312); | ||
| 1063 | - yield "\" class=\"img-responsive\" /></a></div> | ||
| 1064 | - <div class=\"caption\"> | ||
| 1065 | - <h4><a href=\""; | ||
| 1066 | - // line 314 | ||
| 1067 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["product"], "href", [], "any", false, false, false, 314); | ||
| 1068 | - yield "\">"; | ||
| 1069 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["product"], "name", [], "any", false, false, false, 314); | ||
| 1070 | - yield "</a></h4> | ||
| 1071 | - <p>"; | ||
| 1072 | - // line 315 | ||
| 1073 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["product"], "description", [], "any", false, false, false, 315); | ||
| 1074 | - yield "</p> | ||
| 1075 | - "; | ||
| 1076 | - // line 316 | ||
| 1077 | - if (CoreExtension::getAttribute($this->env, $this->source, $context["product"], "rating", [], "any", false, false, false, 316)) { | ||
| 1078 | - // line 317 | ||
| 1079 | - yield " <div class=\"rating\"> "; | ||
| 1080 | - $context['_parent'] = $context; | ||
| 1081 | - $context['_seq'] = CoreExtension::ensureTraversable(range(1, 5)); | ||
| 1082 | - foreach ($context['_seq'] as $context["_key"] => $context["j"]) { | ||
| 1083 | - // line 318 | ||
| 1084 | - yield " "; | ||
| 1085 | - if ((CoreExtension::getAttribute($this->env, $this->source, $context["product"], "rating", [], "any", false, false, false, 318) < $context["j"])) { | ||
| 1086 | - yield " <span class=\"fa fa-stack\"><i class=\"fa fa-star-o fa-stack-1x\"></i></span> "; | ||
| 1087 | - } else { | ||
| 1088 | - yield " <span class=\"fa fa-stack\"><i class=\"fa fa-star fa-stack-1x\"></i><i class=\"fa fa-star-o fa-stack-1x\"></i></span> "; | ||
| 1089 | - } | ||
| 1090 | - // line 319 | ||
| 1091 | - yield " "; | ||
| 1092 | - } | ||
| 1093 | - $_parent = $context['_parent']; | ||
| 1094 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['j'], $context['_parent'], $context['loop']); | ||
| 1095 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 1096 | - yield " </div> | ||
| 1097 | - "; | ||
| 1098 | - } | ||
| 1099 | - // line 321 | ||
| 1100 | - yield " "; | ||
| 1101 | - if (CoreExtension::getAttribute($this->env, $this->source, $context["product"], "price", [], "any", false, false, false, 321)) { | ||
| 1102 | - // line 322 | ||
| 1103 | - yield " <p class=\"price\"> "; | ||
| 1104 | - if ( !CoreExtension::getAttribute($this->env, $this->source, $context["product"], "special", [], "any", false, false, false, 322)) { | ||
| 1105 | - // line 323 | ||
| 1106 | - yield " "; | ||
| 1107 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["product"], "price", [], "any", false, false, false, 323); | ||
| 1108 | - yield " | ||
| 1109 | - "; | ||
| 1110 | - } else { | ||
| 1111 | - // line 324 | ||
| 1112 | - yield " <span class=\"price-new\">"; | ||
| 1113 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["product"], "special", [], "any", false, false, false, 324); | ||
| 1114 | - yield "</span> <span class=\"price-old\">"; | ||
| 1115 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["product"], "price", [], "any", false, false, false, 324); | ||
| 1116 | - yield "</span> "; | ||
| 1117 | - } | ||
| 1118 | - // line 325 | ||
| 1119 | - yield " "; | ||
| 1120 | - if (CoreExtension::getAttribute($this->env, $this->source, $context["product"], "tax", [], "any", false, false, false, 325)) { | ||
| 1121 | - yield " <span class=\"price-tax\">"; | ||
| 1122 | - yield ($context["text_tax"] ?? null); | ||
| 1123 | - yield " "; | ||
| 1124 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["product"], "tax", [], "any", false, false, false, 325); | ||
| 1125 | - yield "</span> "; | ||
| 1126 | - } | ||
| 1127 | - yield " </p> | ||
| 1128 | - "; | ||
| 1129 | - } | ||
| 1130 | - // line 326 | ||
| 1131 | - yield " </div> | ||
| 1132 | - <div class=\"button-group\"> | ||
| 1133 | - <button type=\"button\" onclick=\"cart.add('"; | ||
| 1134 | - // line 328 | ||
| 1135 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["product"], "product_id", [], "any", false, false, false, 328); | ||
| 1136 | - yield "', '"; | ||
| 1137 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["product"], "minimum", [], "any", false, false, false, 328); | ||
| 1138 | - yield "');\"><span class=\"hidden-xs hidden-sm hidden-md\">"; | ||
| 1139 | - yield ($context["button_cart"] ?? null); | ||
| 1140 | - yield "</span> <i class=\"fa fa-shopping-cart\"></i></button> | ||
| 1141 | - <button type=\"button\" data-toggle=\"tooltip\" title=\""; | ||
| 1142 | - // line 329 | ||
| 1143 | - yield ($context["button_wishlist"] ?? null); | ||
| 1144 | - yield "\" onclick=\"wishlist.add('"; | ||
| 1145 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["product"], "product_id", [], "any", false, false, false, 329); | ||
| 1146 | - yield "');\"><i class=\"fa fa-heart\"></i></button> | ||
| 1147 | - <button type=\"button\" data-toggle=\"tooltip\" title=\""; | ||
| 1148 | - // line 330 | ||
| 1149 | - yield ($context["button_compare"] ?? null); | ||
| 1150 | - yield "\" onclick=\"compare.add('"; | ||
| 1151 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["product"], "product_id", [], "any", false, false, false, 330); | ||
| 1152 | - yield "');\"><i class=\"fa fa-exchange\"></i></button> | ||
| 1153 | - </div> | ||
| 1154 | - </div> | ||
| 1155 | - </div> | ||
| 1156 | - "; | ||
| 1157 | - // line 334 | ||
| 1158 | - if (((($context["column_left"] ?? null) && ($context["column_right"] ?? null)) && (((($context["i"] ?? null) + 1) % 2) == 0))) { | ||
| 1159 | - // line 335 | ||
| 1160 | - yield " <div class=\"clearfix visible-md visible-sm\"></div> | ||
| 1161 | - "; | ||
| 1162 | - } elseif (( // line 336 | ||
| 1163 | -($context["column_left"] ?? null) || (($context["column_right"] ?? null) && (((($context["i"] ?? null) + 1) % 3) == 0)))) { | ||
| 1164 | - // line 337 | ||
| 1165 | - yield " <div class=\"clearfix visible-md\"></div> | ||
| 1166 | - "; | ||
| 1167 | - } elseif (((( // line 338 | ||
| 1168 | -($context["i"] ?? null) + 1) % 4) == 0)) { | ||
| 1169 | - // line 339 | ||
| 1170 | - yield " <div class=\"clearfix visible-md\"></div> | ||
| 1171 | - "; | ||
| 1172 | - } | ||
| 1173 | - // line 341 | ||
| 1174 | - yield " "; | ||
| 1175 | - $context["i"] = (($context["i"] ?? null) + 1); | ||
| 1176 | - // line 342 | ||
| 1177 | - yield " "; | ||
| 1178 | - } | ||
| 1179 | - $_parent = $context['_parent']; | ||
| 1180 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['product'], $context['_parent'], $context['loop']); | ||
| 1181 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 1182 | - yield " </div> | ||
| 1183 | - "; | ||
| 1184 | - } | ||
| 1185 | - // line 344 | ||
| 1186 | - yield " "; | ||
| 1187 | - if (($context["tags"] ?? null)) { | ||
| 1188 | - // line 345 | ||
| 1189 | - yield " <p>"; | ||
| 1190 | - yield ($context["text_tags"] ?? null); | ||
| 1191 | - yield " | ||
| 1192 | - "; | ||
| 1193 | - // line 346 | ||
| 1194 | - $context['_parent'] = $context; | ||
| 1195 | - $context['_seq'] = CoreExtension::ensureTraversable(range(0, (Twig\Extension\CoreExtension::length($this->env->getCharset(), ($context["tags"] ?? null)) - 1))); | ||
| 1196 | - foreach ($context['_seq'] as $context["_key"] => $context["i"]) { | ||
| 1197 | - // line 347 | ||
| 1198 | - yield " "; | ||
| 1199 | - if (($context["i"] < (Twig\Extension\CoreExtension::length($this->env->getCharset(), ($context["tags"] ?? null)) - 1))) { | ||
| 1200 | - yield " <a href=\""; | ||
| 1201 | - yield CoreExtension::getAttribute($this->env, $this->source, (($__internal_compile_0 = ($context["tags"] ?? null)) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0[$context["i"]] ?? null) : null), "href", [], "any", false, false, false, 347); | ||
| 1202 | - yield "\">"; | ||
| 1203 | - yield CoreExtension::getAttribute($this->env, $this->source, (($__internal_compile_1 = ($context["tags"] ?? null)) && is_array($__internal_compile_1) || $__internal_compile_1 instanceof ArrayAccess ? ($__internal_compile_1[$context["i"]] ?? null) : null), "tag", [], "any", false, false, false, 347); | ||
| 1204 | - yield "</a>, | ||
| 1205 | - "; | ||
| 1206 | - } else { | ||
| 1207 | - // line 348 | ||
| 1208 | - yield " <a href=\""; | ||
| 1209 | - yield CoreExtension::getAttribute($this->env, $this->source, (($__internal_compile_2 = ($context["tags"] ?? null)) && is_array($__internal_compile_2) || $__internal_compile_2 instanceof ArrayAccess ? ($__internal_compile_2[$context["i"]] ?? null) : null), "href", [], "any", false, false, false, 348); | ||
| 1210 | - yield "\">"; | ||
| 1211 | - yield CoreExtension::getAttribute($this->env, $this->source, (($__internal_compile_3 = ($context["tags"] ?? null)) && is_array($__internal_compile_3) || $__internal_compile_3 instanceof ArrayAccess ? ($__internal_compile_3[$context["i"]] ?? null) : null), "tag", [], "any", false, false, false, 348); | ||
| 1212 | - yield "</a> "; | ||
| 1213 | - } | ||
| 1214 | - // line 349 | ||
| 1215 | - yield " "; | ||
| 1216 | - } | ||
| 1217 | - $_parent = $context['_parent']; | ||
| 1218 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']); | ||
| 1219 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 1220 | - yield " </p> | ||
| 1221 | - "; | ||
| 1222 | - } | ||
| 1223 | - // line 351 | ||
| 1224 | - yield " "; | ||
| 1225 | - yield ($context["content_bottom"] ?? null); | ||
| 1226 | - yield "</div> | ||
| 1227 | - "; | ||
| 1228 | - // line 352 | ||
| 1229 | - yield ($context["column_right"] ?? null); | ||
| 1230 | - yield "</div> | ||
| 1231 | -</div> | ||
| 1232 | -<script type=\"text/javascript\"><!-- | ||
| 1233 | -\$('select[name=\\'recurring_id\\'], input[name=\"quantity\"]').change(function(){ | ||
| 1234 | -\t\$.ajax({ | ||
| 1235 | -\t\turl: 'index.php?route=product/product/getRecurringDescription', | ||
| 1236 | -\t\ttype: 'post', | ||
| 1237 | -\t\tdata: \$('input[name=\\'product_id\\'], input[name=\\'quantity\\'], select[name=\\'recurring_id\\']'), | ||
| 1238 | -\t\tdataType: 'json', | ||
| 1239 | -\t\tbeforeSend: function() { | ||
| 1240 | -\t\t\t\$('#recurring-description').html(''); | ||
| 1241 | -\t\t}, | ||
| 1242 | -\t\tsuccess: function(json) { | ||
| 1243 | -\t\t\t\$('.alert-dismissible, .text-danger').remove(); | ||
| 1244 | - | ||
| 1245 | -\t\t\tif (json['success']) { | ||
| 1246 | -\t\t\t\t\$('#recurring-description').html(json['success']); | ||
| 1247 | -\t\t\t} | ||
| 1248 | -\t\t} | ||
| 1249 | -\t}); | ||
| 1250 | -}); | ||
| 1251 | -//--></script> | ||
| 1252 | -<script type=\"text/javascript\"><!-- | ||
| 1253 | -\$('#button-cart').on('click', function() { | ||
| 1254 | -\t\$.ajax({ | ||
| 1255 | -\t\turl: 'index.php?route=checkout/cart/add', | ||
| 1256 | -\t\ttype: 'post', | ||
| 1257 | -\t\tdata: \$('#product input[type=\\'text\\'], #product input[type=\\'hidden\\'], #product input[type=\\'radio\\']:checked, #product input[type=\\'checkbox\\']:checked, #product select, #product textarea'), | ||
| 1258 | -\t\tdataType: 'json', | ||
| 1259 | -\t\tbeforeSend: function() { | ||
| 1260 | -\t\t\t\$('#button-cart').button('loading'); | ||
| 1261 | -\t\t}, | ||
| 1262 | -\t\tcomplete: function() { | ||
| 1263 | -\t\t\t\$('#button-cart').button('reset'); | ||
| 1264 | -\t\t}, | ||
| 1265 | -\t\tsuccess: function(json) { | ||
| 1266 | -\t\t\t\$('.alert-dismissible, .text-danger').remove(); | ||
| 1267 | -\t\t\t\$('.form-group').removeClass('has-error'); | ||
| 1268 | - | ||
| 1269 | -\t\t\tif (json['error']) { | ||
| 1270 | -\t\t\t\tif (json['error']['option']) { | ||
| 1271 | -\t\t\t\t\tfor (i in json['error']['option']) { | ||
| 1272 | -\t\t\t\t\t\tvar element = \$('#input-option' + i.replace('_', '-')); | ||
| 1273 | - | ||
| 1274 | -\t\t\t\t\t\tif (element.parent().hasClass('input-group')) { | ||
| 1275 | -\t\t\t\t\t\t\telement.parent().after('<div class=\"text-danger\">' + json['error']['option'][i] + '</div>'); | ||
| 1276 | -\t\t\t\t\t\t} else { | ||
| 1277 | -\t\t\t\t\t\t\telement.after('<div class=\"text-danger\">' + json['error']['option'][i] + '</div>'); | ||
| 1278 | -\t\t\t\t\t\t} | ||
| 1279 | -\t\t\t\t\t} | ||
| 1280 | -\t\t\t\t} | ||
| 1281 | - | ||
| 1282 | -\t\t\t\tif (json['error']['recurring']) { | ||
| 1283 | -\t\t\t\t\t\$('select[name=\\'recurring_id\\']').after('<div class=\"text-danger\">' + json['error']['recurring'] + '</div>'); | ||
| 1284 | -\t\t\t\t} | ||
| 1285 | - | ||
| 1286 | -\t\t\t\t// Highlight any found errors | ||
| 1287 | -\t\t\t\t\$('.text-danger').parent().addClass('has-error'); | ||
| 1288 | -\t\t\t} | ||
| 1289 | - | ||
| 1290 | -\t\t\tif (json['success']) { | ||
| 1291 | -\t\t\t\t\$('.breadcrumb').after('<div class=\"alert alert-success alert-dismissible\">' + json['success'] + '<button type=\"button\" class=\"close\" data-dismiss=\"alert\">×</button></div>'); | ||
| 1292 | - | ||
| 1293 | -\t\t\t\t\$('#cart > button').html('<span id=\"cart-total\"><i class=\"fa fa-shopping-cart\"></i> ' + json['total'] + '</span>'); | ||
| 1294 | - | ||
| 1295 | -\t\t\t\t\$('html, body').animate({ scrollTop: 0 }, 'slow'); | ||
| 1296 | - | ||
| 1297 | -\t\t\t\t\$('#cart > ul').load('index.php?route=common/cart/info ul li'); | ||
| 1298 | -\t\t\t} | ||
| 1299 | -\t\t}, | ||
| 1300 | - error: function(xhr, ajaxOptions, thrownError) { | ||
| 1301 | - alert(thrownError + \"\\r\\n\" + xhr.statusText + \"\\r\\n\" + xhr.responseText); | ||
| 1302 | - } | ||
| 1303 | -\t}); | ||
| 1304 | -}); | ||
| 1305 | -//--></script> | ||
| 1306 | -<script type=\"text/javascript\"><!-- | ||
| 1307 | -\$('.date').datetimepicker({ | ||
| 1308 | -\tlanguage: '"; | ||
| 1309 | - // line 430 | ||
| 1310 | - yield ($context["datepicker"] ?? null); | ||
| 1311 | - yield "', | ||
| 1312 | -\tpickTime: false | ||
| 1313 | -}); | ||
| 1314 | - | ||
| 1315 | -\$('.datetime').datetimepicker({ | ||
| 1316 | -\tlanguage: '"; | ||
| 1317 | - // line 435 | ||
| 1318 | - yield ($context["datepicker"] ?? null); | ||
| 1319 | - yield "', | ||
| 1320 | -\tpickDate: true, | ||
| 1321 | -\tpickTime: true | ||
| 1322 | -}); | ||
| 1323 | - | ||
| 1324 | -\$('.time').datetimepicker({ | ||
| 1325 | -\tlanguage: '"; | ||
| 1326 | - // line 441 | ||
| 1327 | - yield ($context["datepicker"] ?? null); | ||
| 1328 | - yield "', | ||
| 1329 | -\tpickDate: false | ||
| 1330 | -}); | ||
| 1331 | - | ||
| 1332 | -\$('button[id^=\\'button-upload\\']').on('click', function() { | ||
| 1333 | -\tvar node = this; | ||
| 1334 | - | ||
| 1335 | -\t\$('#form-upload').remove(); | ||
| 1336 | - | ||
| 1337 | -\t\$('body').prepend('<form enctype=\"multipart/form-data\" id=\"form-upload\" style=\"display: none;\"><input type=\"file\" name=\"file\" /></form>'); | ||
| 1338 | - | ||
| 1339 | -\t\$('#form-upload input[name=\\'file\\']').trigger('click'); | ||
| 1340 | - | ||
| 1341 | -\tif (typeof timer != 'undefined') { | ||
| 1342 | - \tclearInterval(timer); | ||
| 1343 | -\t} | ||
| 1344 | - | ||
| 1345 | -\ttimer = setInterval(function() { | ||
| 1346 | -\t\tif (\$('#form-upload input[name=\\'file\\']').val() != '') { | ||
| 1347 | -\t\t\tclearInterval(timer); | ||
| 1348 | - | ||
| 1349 | -\t\t\t\$.ajax({ | ||
| 1350 | -\t\t\t\turl: 'index.php?route=tool/upload', | ||
| 1351 | -\t\t\t\ttype: 'post', | ||
| 1352 | -\t\t\t\tdataType: 'json', | ||
| 1353 | -\t\t\t\tdata: new FormData(\$('#form-upload')[0]), | ||
| 1354 | -\t\t\t\tcache: false, | ||
| 1355 | -\t\t\t\tcontentType: false, | ||
| 1356 | -\t\t\t\tprocessData: false, | ||
| 1357 | -\t\t\t\tbeforeSend: function() { | ||
| 1358 | -\t\t\t\t\t\$(node).button('loading'); | ||
| 1359 | -\t\t\t\t}, | ||
| 1360 | -\t\t\t\tcomplete: function() { | ||
| 1361 | -\t\t\t\t\t\$(node).button('reset'); | ||
| 1362 | -\t\t\t\t}, | ||
| 1363 | -\t\t\t\tsuccess: function(json) { | ||
| 1364 | -\t\t\t\t\t\$('.text-danger').remove(); | ||
| 1365 | - | ||
| 1366 | -\t\t\t\t\tif (json['error']) { | ||
| 1367 | -\t\t\t\t\t\t\$(node).parent().find('input').after('<div class=\"text-danger\">' + json['error'] + '</div>'); | ||
| 1368 | -\t\t\t\t\t} | ||
| 1369 | - | ||
| 1370 | -\t\t\t\t\tif (json['success']) { | ||
| 1371 | -\t\t\t\t\t\talert(json['success']); | ||
| 1372 | - | ||
| 1373 | -\t\t\t\t\t\t\$(node).parent().find('input').val(json['code']); | ||
| 1374 | -\t\t\t\t\t} | ||
| 1375 | -\t\t\t\t}, | ||
| 1376 | -\t\t\t\terror: function(xhr, ajaxOptions, thrownError) { | ||
| 1377 | -\t\t\t\t\talert(thrownError + \"\\r\\n\" + xhr.statusText + \"\\r\\n\" + xhr.responseText); | ||
| 1378 | -\t\t\t\t} | ||
| 1379 | -\t\t\t}); | ||
| 1380 | -\t\t} | ||
| 1381 | -\t}, 500); | ||
| 1382 | -}); | ||
| 1383 | -//--></script> | ||
| 1384 | -<script type=\"text/javascript\"><!-- | ||
| 1385 | -\$('#review').delegate('.pagination a', 'click', function(e) { | ||
| 1386 | - e.preventDefault(); | ||
| 1387 | - | ||
| 1388 | - \$('#review').fadeOut('slow'); | ||
| 1389 | - | ||
| 1390 | - \$('#review').load(this.href); | ||
| 1391 | - | ||
| 1392 | - \$('#review').fadeIn('slow'); | ||
| 1393 | -}); | ||
| 1394 | - | ||
| 1395 | -\$('#review').load('index.php?route=product/product/review&product_id="; | ||
| 1396 | - // line 508 | ||
| 1397 | - yield ($context["product_id"] ?? null); | ||
| 1398 | - yield "'); | ||
| 1399 | - | ||
| 1400 | -\$('#button-review').on('click', function() { | ||
| 1401 | -\t\$.ajax({ | ||
| 1402 | -\t\turl: 'index.php?route=product/product/write&product_id="; | ||
| 1403 | - // line 512 | ||
| 1404 | - yield ($context["product_id"] ?? null); | ||
| 1405 | - yield "', | ||
| 1406 | -\t\ttype: 'post', | ||
| 1407 | -\t\tdataType: 'json', | ||
| 1408 | -\t\tdata: \$(\"#form-review\").serialize(), | ||
| 1409 | -\t\tbeforeSend: function() { | ||
| 1410 | -\t\t\t\$('#button-review').button('loading'); | ||
| 1411 | -\t\t}, | ||
| 1412 | -\t\tcomplete: function() { | ||
| 1413 | -\t\t\t\$('#button-review').button('reset'); | ||
| 1414 | -\t\t}, | ||
| 1415 | -\t\tsuccess: function(json) { | ||
| 1416 | -\t\t\t\$('.alert-dismissible').remove(); | ||
| 1417 | - | ||
| 1418 | -\t\t\tif (json['error']) { | ||
| 1419 | -\t\t\t\t\$('#review').after('<div class=\"alert alert-danger alert-dismissible\"><i class=\"fa fa-exclamation-circle\"></i> ' + json['error'] + '</div>'); | ||
| 1420 | -\t\t\t} | ||
| 1421 | - | ||
| 1422 | -\t\t\tif (json['success']) { | ||
| 1423 | -\t\t\t\t\$('#review').after('<div class=\"alert alert-success alert-dismissible\"><i class=\"fa fa-check-circle\"></i> ' + json['success'] + '</div>'); | ||
| 1424 | - | ||
| 1425 | -\t\t\t\t\$('input[name=\\'name\\']').val(''); | ||
| 1426 | -\t\t\t\t\$('textarea[name=\\'text\\']').val(''); | ||
| 1427 | -\t\t\t\t\$('input[name=\\'rating\\']:checked').prop('checked', false); | ||
| 1428 | -\t\t\t} | ||
| 1429 | -\t\t} | ||
| 1430 | -\t}); | ||
| 1431 | -}); | ||
| 1432 | - | ||
| 1433 | -\$(document).ready(function() { | ||
| 1434 | -\t\$('.thumbnails').magnificPopup({ | ||
| 1435 | -\t\ttype:'image', | ||
| 1436 | -\t\tdelegate: 'a', | ||
| 1437 | -\t\tgallery: { | ||
| 1438 | -\t\t\tenabled: true | ||
| 1439 | -\t\t} | ||
| 1440 | -\t}); | ||
| 1441 | -}); | ||
| 1442 | -//--></script> | ||
| 1443 | -"; | ||
| 1444 | - // line 550 | ||
| 1445 | - yield ($context["footer"] ?? null); | ||
| 1446 | - yield " | ||
| 1447 | -"; | ||
| 1448 | - return; yield ''; | ||
| 1449 | - } | ||
| 1450 | - | ||
| 1451 | - /** | ||
| 1452 | - * @codeCoverageIgnore | ||
| 1453 | - */ | ||
| 1454 | - public function getTemplateName() | ||
| 1455 | - { | ||
| 1456 | - return "default/template/product/product.twig"; | ||
| 1457 | - } | ||
| 1458 | - | ||
| 1459 | - /** | ||
| 1460 | - * @codeCoverageIgnore | ||
| 1461 | - */ | ||
| 1462 | - public function isTraitable() | ||
| 1463 | - { | ||
| 1464 | - return false; | ||
| 1465 | - } | ||
| 1466 | - | ||
| 1467 | - /** | ||
| 1468 | - * @codeCoverageIgnore | ||
| 1469 | - */ | ||
| 1470 | - public function getDebugInfo() | ||
| 1471 | - { | ||
| 1472 | - return array ( 1445 => 550, 1404 => 512, 1397 => 508, 1327 => 441, 1318 => 435, 1310 => 430, 1229 => 352, 1224 => 351, 1215 => 349, 1208 => 348, 1198 => 347, 1194 => 346, 1189 => 345, 1186 => 344, 1177 => 342, 1174 => 341, 1170 => 339, 1168 => 338, 1165 => 337, 1163 => 336, 1160 => 335, 1158 => 334, 1149 => 330, 1143 => 329, 1135 => 328, 1131 => 326, 1119 => 325, 1112 => 324, 1106 => 323, 1103 => 322, 1100 => 321, 1091 => 319, 1084 => 318, 1079 => 317, 1077 => 316, 1073 => 315, 1067 => 314, 1056 => 312, 1050 => 310, 1047 => 309, 1044 => 308, 1041 => 307, 1038 => 306, 1035 => 305, 1032 => 304, 1029 => 303, 1024 => 302, 1022 => 301, 1017 => 300, 1015 => 299, 1011 => 297, 1003 => 293, 989 => 290, 982 => 289, 978 => 288, 975 => 287, 973 => 286, 970 => 285, 964 => 284, 962 => 283, 955 => 281, 950 => 279, 946 => 278, 942 => 277, 939 => 276, 933 => 272, 922 => 270, 918 => 269, 914 => 268, 908 => 265, 905 => 264, 902 => 263, 899 => 262, 893 => 261, 880 => 255, 873 => 253, 866 => 252, 863 => 251, 850 => 245, 843 => 243, 836 => 242, 833 => 241, 820 => 235, 813 => 233, 806 => 232, 803 => 231, 795 => 228, 787 => 227, 783 => 226, 776 => 225, 773 => 224, 761 => 221, 755 => 220, 748 => 219, 745 => 218, 733 => 215, 727 => 214, 720 => 213, 717 => 212, 712 => 209, 704 => 207, 697 => 206, 695 => 205, 690 => 204, 674 => 203, 668 => 202, 664 => 200, 658 => 199, 654 => 198, 647 => 197, 644 => 196, 639 => 193, 631 => 191, 624 => 190, 622 => 189, 618 => 188, 600 => 187, 594 => 186, 590 => 184, 584 => 183, 580 => 182, 573 => 181, 570 => 180, 565 => 177, 558 => 175, 551 => 174, 549 => 173, 542 => 172, 538 => 171, 534 => 170, 528 => 169, 522 => 168, 515 => 167, 512 => 166, 508 => 165, 504 => 164, 501 => 163, 498 => 162, 494 => 160, 491 => 159, 480 => 157, 476 => 156, 471 => 153, 468 => 152, 460 => 150, 457 => 149, 449 => 147, 446 => 146, 440 => 143, 434 => 141, 428 => 138, 425 => 137, 423 => 136, 420 => 135, 418 => 134, 410 => 132, 402 => 130, 400 => 129, 393 => 128, 383 => 126, 381 => 125, 376 => 123, 369 => 121, 363 => 120, 357 => 118, 354 => 117, 351 => 116, 348 => 115, 345 => 114, 343 => 113, 339 => 111, 334 => 109, 328 => 107, 319 => 103, 313 => 100, 308 => 98, 295 => 88, 291 => 87, 283 => 82, 278 => 80, 270 => 75, 266 => 74, 262 => 72, 260 => 71, 256 => 70, 251 => 67, 248 => 66, 243 => 63, 236 => 61, 227 => 58, 223 => 57, 220 => 56, 216 => 55, 209 => 51, 205 => 49, 201 => 48, 197 => 46, 195 => 45, 191 => 44, 187 => 42, 181 => 40, 178 => 39, 172 => 37, 170 => 36, 166 => 35, 163 => 34, 159 => 32, 156 => 31, 139 => 29, 134 => 28, 131 => 27, 117 => 25, 115 => 24, 112 => 23, 107 => 22, 104 => 21, 101 => 20, 98 => 19, 95 => 18, 93 => 17, 86 => 16, 83 => 15, 80 => 14, 77 => 13, 74 => 12, 71 => 11, 68 => 10, 66 => 9, 62 => 8, 59 => 7, 48 => 5, 44 => 4, 38 => 1,); | ||
| 1473 | - } | ||
| 1474 | - | ||
| 1475 | - public function getSourceContext() | ||
| 1476 | - { | ||
| 1477 | - return new Source("", "default/template/product/product.twig", ""); | ||
| 1478 | - } | ||
| 1479 | -} |
| 1 | -<?php | ||
| 2 | - | ||
| 3 | -use Twig\Environment; | ||
| 4 | -use Twig\Error\LoaderError; | ||
| 5 | -use Twig\Error\RuntimeError; | ||
| 6 | -use Twig\Extension\CoreExtension; | ||
| 7 | -use Twig\Extension\SandboxExtension; | ||
| 8 | -use Twig\Markup; | ||
| 9 | -use Twig\Sandbox\SecurityError; | ||
| 10 | -use Twig\Sandbox\SecurityNotAllowedTagError; | ||
| 11 | -use Twig\Sandbox\SecurityNotAllowedFilterError; | ||
| 12 | -use Twig\Sandbox\SecurityNotAllowedFunctionError; | ||
| 13 | -use Twig\Source; | ||
| 14 | -use Twig\Template; | ||
| 15 | - | ||
| 16 | -/* extension/dashboard/online_info.twig */ | ||
| 17 | -class __TwigTemplate_c2587a313ada31f952ee250ece28c036 extends Template | ||
| 18 | -{ | ||
| 19 | - private $source; | ||
| 20 | - private $macros = []; | ||
| 21 | - | ||
| 22 | - public function __construct(Environment $env) | ||
| 23 | - { | ||
| 24 | - parent::__construct($env); | ||
| 25 | - | ||
| 26 | - $this->source = $this->getSourceContext(); | ||
| 27 | - | ||
| 28 | - $this->parent = false; | ||
| 29 | - | ||
| 30 | - $this->blocks = [ | ||
| 31 | - ]; | ||
| 32 | - } | ||
| 33 | - | ||
| 34 | - protected function doDisplay(array $context, array $blocks = []) | ||
| 35 | - { | ||
| 36 | - $macros = $this->macros; | ||
| 37 | - // line 1 | ||
| 38 | - yield "<div class=\"tile tile-primary\"> | ||
| 39 | - <div class=\"tile-heading\">"; | ||
| 40 | - // line 2 | ||
| 41 | - yield ($context["heading_title"] ?? null); | ||
| 42 | - yield "</div> | ||
| 43 | - <div class=\"tile-body\"><i class=\"fa fa-users\"></i> | ||
| 44 | - <h2 class=\"pull-right\">"; | ||
| 45 | - // line 4 | ||
| 46 | - yield ($context["total"] ?? null); | ||
| 47 | - yield "</h2> | ||
| 48 | - </div> | ||
| 49 | - <div class=\"tile-footer\"><a href=\""; | ||
| 50 | - // line 6 | ||
| 51 | - yield ($context["online"] ?? null); | ||
| 52 | - yield "\">"; | ||
| 53 | - yield ($context["text_view"] ?? null); | ||
| 54 | - yield "</a></div> | ||
| 55 | -</div> | ||
| 56 | -"; | ||
| 57 | - return; yield ''; | ||
| 58 | - } | ||
| 59 | - | ||
| 60 | - /** | ||
| 61 | - * @codeCoverageIgnore | ||
| 62 | - */ | ||
| 63 | - public function getTemplateName() | ||
| 64 | - { | ||
| 65 | - return "extension/dashboard/online_info.twig"; | ||
| 66 | - } | ||
| 67 | - | ||
| 68 | - /** | ||
| 69 | - * @codeCoverageIgnore | ||
| 70 | - */ | ||
| 71 | - public function isTraitable() | ||
| 72 | - { | ||
| 73 | - return false; | ||
| 74 | - } | ||
| 75 | - | ||
| 76 | - /** | ||
| 77 | - * @codeCoverageIgnore | ||
| 78 | - */ | ||
| 79 | - public function getDebugInfo() | ||
| 80 | - { | ||
| 81 | - return array ( 51 => 6, 46 => 4, 41 => 2, 38 => 1,); | ||
| 82 | - } | ||
| 83 | - | ||
| 84 | - public function getSourceContext() | ||
| 85 | - { | ||
| 86 | - return new Source("", "extension/dashboard/online_info.twig", ""); | ||
| 87 | - } | ||
| 88 | -} |
| 1 | -<?php | ||
| 2 | - | ||
| 3 | -use Twig\Environment; | ||
| 4 | -use Twig\Error\LoaderError; | ||
| 5 | -use Twig\Error\RuntimeError; | ||
| 6 | -use Twig\Extension\CoreExtension; | ||
| 7 | -use Twig\Extension\SandboxExtension; | ||
| 8 | -use Twig\Markup; | ||
| 9 | -use Twig\Sandbox\SecurityError; | ||
| 10 | -use Twig\Sandbox\SecurityNotAllowedTagError; | ||
| 11 | -use Twig\Sandbox\SecurityNotAllowedFilterError; | ||
| 12 | -use Twig\Sandbox\SecurityNotAllowedFunctionError; | ||
| 13 | -use Twig\Source; | ||
| 14 | -use Twig\Template; | ||
| 15 | - | ||
| 16 | -/* default/template/common/header.twig */ | ||
| 17 | -class __TwigTemplate_a0a3e5d711324d164b2e49c5c3b47b6d extends Template | ||
| 18 | -{ | ||
| 19 | - private $source; | ||
| 20 | - private $macros = []; | ||
| 21 | - | ||
| 22 | - public function __construct(Environment $env) | ||
| 23 | - { | ||
| 24 | - parent::__construct($env); | ||
| 25 | - | ||
| 26 | - $this->source = $this->getSourceContext(); | ||
| 27 | - | ||
| 28 | - $this->parent = false; | ||
| 29 | - | ||
| 30 | - $this->blocks = [ | ||
| 31 | - ]; | ||
| 32 | - } | ||
| 33 | - | ||
| 34 | - protected function doDisplay(array $context, array $blocks = []) | ||
| 35 | - { | ||
| 36 | - $macros = $this->macros; | ||
| 37 | - // line 1 | ||
| 38 | - yield "<!DOCTYPE html> | ||
| 39 | -<!--[if IE]><![endif]--> | ||
| 40 | -<!--[if IE 8 ]><html dir=\""; | ||
| 41 | - // line 3 | ||
| 42 | - yield ($context["direction"] ?? null); | ||
| 43 | - yield "\" lang=\""; | ||
| 44 | - yield ($context["lang"] ?? null); | ||
| 45 | - yield "\" class=\"ie8\"><![endif]--> | ||
| 46 | -<!--[if IE 9 ]><html dir=\""; | ||
| 47 | - // line 4 | ||
| 48 | - yield ($context["direction"] ?? null); | ||
| 49 | - yield "\" lang=\""; | ||
| 50 | - yield ($context["lang"] ?? null); | ||
| 51 | - yield "\" class=\"ie9\"><![endif]--> | ||
| 52 | -<!--[if (gt IE 9)|!(IE)]><!--> | ||
| 53 | -<html dir=\""; | ||
| 54 | - // line 6 | ||
| 55 | - yield ($context["direction"] ?? null); | ||
| 56 | - yield "\" lang=\""; | ||
| 57 | - yield ($context["lang"] ?? null); | ||
| 58 | - yield "\"> | ||
| 59 | -<!--<![endif]--> | ||
| 60 | -<head> | ||
| 61 | -<meta charset=\"UTF-8\" /> | ||
| 62 | -<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\"> | ||
| 63 | -<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\"> | ||
| 64 | -<title>"; | ||
| 65 | - // line 12 | ||
| 66 | - yield ($context["title"] ?? null); | ||
| 67 | - yield "</title> | ||
| 68 | -"; | ||
| 69 | - // line 13 | ||
| 70 | - if (($context["robots"] ?? null)) { | ||
| 71 | - // line 14 | ||
| 72 | - yield "<meta name=\"robots\" content=\""; | ||
| 73 | - yield ($context["robots"] ?? null); | ||
| 74 | - yield "\" /> | ||
| 75 | -"; | ||
| 76 | - } | ||
| 77 | - // line 16 | ||
| 78 | - yield "<base href=\""; | ||
| 79 | - yield ($context["base"] ?? null); | ||
| 80 | - yield "\" /> | ||
| 81 | -"; | ||
| 82 | - // line 17 | ||
| 83 | - if (($context["description"] ?? null)) { | ||
| 84 | - // line 18 | ||
| 85 | - yield "<meta name=\"description\" content=\""; | ||
| 86 | - yield ($context["description"] ?? null); | ||
| 87 | - yield "\" /> | ||
| 88 | -"; | ||
| 89 | - } | ||
| 90 | - // line 20 | ||
| 91 | - if (($context["keywords"] ?? null)) { | ||
| 92 | - // line 21 | ||
| 93 | - yield "<meta name=\"keywords\" content=\""; | ||
| 94 | - yield ($context["keywords"] ?? null); | ||
| 95 | - yield "\" /> | ||
| 96 | -"; | ||
| 97 | - } | ||
| 98 | - // line 23 | ||
| 99 | - yield "<meta property=\"og:title\" content=\""; | ||
| 100 | - yield ($context["title"] ?? null); | ||
| 101 | - yield "\" /> | ||
| 102 | -<meta property=\"og:type\" content=\"website\" /> | ||
| 103 | -<meta property=\"og:url\" content=\""; | ||
| 104 | - // line 25 | ||
| 105 | - yield ($context["og_url"] ?? null); | ||
| 106 | - yield "\" /> | ||
| 107 | -"; | ||
| 108 | - // line 26 | ||
| 109 | - if (($context["og_image"] ?? null)) { | ||
| 110 | - // line 27 | ||
| 111 | - yield "<meta property=\"og:image\" content=\""; | ||
| 112 | - yield ($context["og_image"] ?? null); | ||
| 113 | - yield "\" /> | ||
| 114 | -"; | ||
| 115 | - } else { | ||
| 116 | - // line 29 | ||
| 117 | - yield "<meta property=\"og:image\" content=\""; | ||
| 118 | - yield ($context["logo"] ?? null); | ||
| 119 | - yield "\" /> | ||
| 120 | -"; | ||
| 121 | - } | ||
| 122 | - // line 31 | ||
| 123 | - yield "<meta property=\"og:site_name\" content=\""; | ||
| 124 | - yield ($context["name"] ?? null); | ||
| 125 | - yield "\" /> | ||
| 126 | -<script src=\"catalog/view/javascript/jquery/jquery-2.1.1.min.js\" type=\"text/javascript\"></script> | ||
| 127 | -<link href=\"catalog/view/javascript/bootstrap/css/bootstrap.min.css\" rel=\"stylesheet\" media=\"screen\" /> | ||
| 128 | -<script src=\"catalog/view/javascript/bootstrap/js/bootstrap.min.js\" type=\"text/javascript\"></script> | ||
| 129 | -<link href=\"catalog/view/javascript/font-awesome/css/font-awesome.min.css\" rel=\"stylesheet\" type=\"text/css\" /> | ||
| 130 | -<link href=\"//fonts.googleapis.com/css?family=Open+Sans:400,400i,300,700\" rel=\"stylesheet\" type=\"text/css\" /> | ||
| 131 | -<link href=\"catalog/view/theme/default/stylesheet/stylesheet.css\" rel=\"stylesheet\"> | ||
| 132 | -"; | ||
| 133 | - // line 38 | ||
| 134 | - $context['_parent'] = $context; | ||
| 135 | - $context['_seq'] = CoreExtension::ensureTraversable(($context["styles"] ?? null)); | ||
| 136 | - foreach ($context['_seq'] as $context["_key"] => $context["style"]) { | ||
| 137 | - // line 39 | ||
| 138 | - yield "<link href=\""; | ||
| 139 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["style"], "href", [], "any", false, false, false, 39); | ||
| 140 | - yield "\" type=\"text/css\" rel=\""; | ||
| 141 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["style"], "rel", [], "any", false, false, false, 39); | ||
| 142 | - yield "\" media=\""; | ||
| 143 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["style"], "media", [], "any", false, false, false, 39); | ||
| 144 | - yield "\" /> | ||
| 145 | -"; | ||
| 146 | - } | ||
| 147 | - $_parent = $context['_parent']; | ||
| 148 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['style'], $context['_parent'], $context['loop']); | ||
| 149 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 150 | - // line 41 | ||
| 151 | - $context['_parent'] = $context; | ||
| 152 | - $context['_seq'] = CoreExtension::ensureTraversable(($context["scripts"] ?? null)); | ||
| 153 | - foreach ($context['_seq'] as $context["_key"] => $context["script"]) { | ||
| 154 | - // line 42 | ||
| 155 | - yield "<script src=\""; | ||
| 156 | - yield $context["script"]; | ||
| 157 | - yield "\" type=\"text/javascript\"></script> | ||
| 158 | -"; | ||
| 159 | - } | ||
| 160 | - $_parent = $context['_parent']; | ||
| 161 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['script'], $context['_parent'], $context['loop']); | ||
| 162 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 163 | - // line 44 | ||
| 164 | - yield "<script src=\"catalog/view/javascript/common.js\" type=\"text/javascript\"></script> | ||
| 165 | -"; | ||
| 166 | - // line 45 | ||
| 167 | - $context['_parent'] = $context; | ||
| 168 | - $context['_seq'] = CoreExtension::ensureTraversable(($context["links"] ?? null)); | ||
| 169 | - foreach ($context['_seq'] as $context["_key"] => $context["link"]) { | ||
| 170 | - // line 46 | ||
| 171 | - yield "<link href=\""; | ||
| 172 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["link"], "href", [], "any", false, false, false, 46); | ||
| 173 | - yield "\" rel=\""; | ||
| 174 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["link"], "rel", [], "any", false, false, false, 46); | ||
| 175 | - yield "\" /> | ||
| 176 | -"; | ||
| 177 | - } | ||
| 178 | - $_parent = $context['_parent']; | ||
| 179 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['link'], $context['_parent'], $context['loop']); | ||
| 180 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 181 | - // line 48 | ||
| 182 | - $context['_parent'] = $context; | ||
| 183 | - $context['_seq'] = CoreExtension::ensureTraversable(($context["analytics"] ?? null)); | ||
| 184 | - foreach ($context['_seq'] as $context["_key"] => $context["analytic"]) { | ||
| 185 | - // line 49 | ||
| 186 | - yield $context["analytic"]; | ||
| 187 | - yield " | ||
| 188 | -"; | ||
| 189 | - } | ||
| 190 | - $_parent = $context['_parent']; | ||
| 191 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['analytic'], $context['_parent'], $context['loop']); | ||
| 192 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 193 | - // line 51 | ||
| 194 | - yield "</head> | ||
| 195 | -<body> | ||
| 196 | -<nav id=\"top\"> | ||
| 197 | - <div class=\"container\">"; | ||
| 198 | - // line 54 | ||
| 199 | - yield ($context["currency"] ?? null); | ||
| 200 | - yield " | ||
| 201 | - "; | ||
| 202 | - // line 55 | ||
| 203 | - yield ($context["language"] ?? null); | ||
| 204 | - yield " | ||
| 205 | -\t"; | ||
| 206 | - // line 56 | ||
| 207 | - yield ($context["blog_menu"] ?? null); | ||
| 208 | - yield " | ||
| 209 | - <div id=\"top-links\" class=\"nav pull-right\"> | ||
| 210 | - <ul class=\"list-inline\"> | ||
| 211 | - <li><a href=\""; | ||
| 212 | - // line 59 | ||
| 213 | - yield ($context["contact"] ?? null); | ||
| 214 | - yield "\"><i class=\"fa fa-phone\"></i></a> <span class=\"hidden-xs hidden-sm hidden-md\">"; | ||
| 215 | - yield ($context["telephone"] ?? null); | ||
| 216 | - yield "</span></li> | ||
| 217 | - <li class=\"dropdown\"><a href=\""; | ||
| 218 | - // line 60 | ||
| 219 | - yield ($context["account"] ?? null); | ||
| 220 | - yield "\" title=\""; | ||
| 221 | - yield ($context["text_account"] ?? null); | ||
| 222 | - yield "\" class=\"dropdown-toggle\" data-toggle=\"dropdown\"><i class=\"fa fa-user\"></i> <span class=\"hidden-xs hidden-sm hidden-md\">"; | ||
| 223 | - yield ($context["text_account"] ?? null); | ||
| 224 | - yield "</span> <span class=\"caret\"></span></a> | ||
| 225 | - <ul class=\"dropdown-menu dropdown-menu-right\"> | ||
| 226 | - "; | ||
| 227 | - // line 62 | ||
| 228 | - if (($context["logged"] ?? null)) { | ||
| 229 | - // line 63 | ||
| 230 | - yield " <li><a href=\""; | ||
| 231 | - yield ($context["account"] ?? null); | ||
| 232 | - yield "\">"; | ||
| 233 | - yield ($context["text_account"] ?? null); | ||
| 234 | - yield "</a></li> | ||
| 235 | - <li><a href=\""; | ||
| 236 | - // line 64 | ||
| 237 | - yield ($context["order"] ?? null); | ||
| 238 | - yield "\">"; | ||
| 239 | - yield ($context["text_order"] ?? null); | ||
| 240 | - yield "</a></li> | ||
| 241 | - <li><a href=\""; | ||
| 242 | - // line 65 | ||
| 243 | - yield ($context["transaction"] ?? null); | ||
| 244 | - yield "\">"; | ||
| 245 | - yield ($context["text_transaction"] ?? null); | ||
| 246 | - yield "</a></li> | ||
| 247 | - <li><a href=\""; | ||
| 248 | - // line 66 | ||
| 249 | - yield ($context["download"] ?? null); | ||
| 250 | - yield "\">"; | ||
| 251 | - yield ($context["text_download"] ?? null); | ||
| 252 | - yield "</a></li> | ||
| 253 | - <li><a href=\""; | ||
| 254 | - // line 67 | ||
| 255 | - yield ($context["logout"] ?? null); | ||
| 256 | - yield "\">"; | ||
| 257 | - yield ($context["text_logout"] ?? null); | ||
| 258 | - yield "</a></li> | ||
| 259 | - "; | ||
| 260 | - } else { | ||
| 261 | - // line 69 | ||
| 262 | - yield " <li><a href=\""; | ||
| 263 | - yield ($context["register"] ?? null); | ||
| 264 | - yield "\">"; | ||
| 265 | - yield ($context["text_register"] ?? null); | ||
| 266 | - yield "</a></li> | ||
| 267 | - <li><a href=\""; | ||
| 268 | - // line 70 | ||
| 269 | - yield ($context["login"] ?? null); | ||
| 270 | - yield "\">"; | ||
| 271 | - yield ($context["text_login"] ?? null); | ||
| 272 | - yield "</a></li> | ||
| 273 | - "; | ||
| 274 | - } | ||
| 275 | - // line 72 | ||
| 276 | - yield " </ul> | ||
| 277 | - </li> | ||
| 278 | - <li><a href=\""; | ||
| 279 | - // line 74 | ||
| 280 | - yield ($context["wishlist"] ?? null); | ||
| 281 | - yield "\" id=\"wishlist-total\" title=\""; | ||
| 282 | - yield ($context["text_wishlist"] ?? null); | ||
| 283 | - yield "\"><i class=\"fa fa-heart\"></i> <span class=\"hidden-xs hidden-sm hidden-md\">"; | ||
| 284 | - yield ($context["text_wishlist"] ?? null); | ||
| 285 | - yield "</span></a></li> | ||
| 286 | - <li><a href=\""; | ||
| 287 | - // line 75 | ||
| 288 | - yield ($context["shopping_cart"] ?? null); | ||
| 289 | - yield "\" title=\""; | ||
| 290 | - yield ($context["text_shopping_cart"] ?? null); | ||
| 291 | - yield "\"><i class=\"fa fa-shopping-cart\"></i> <span class=\"hidden-xs hidden-sm hidden-md\">"; | ||
| 292 | - yield ($context["text_shopping_cart"] ?? null); | ||
| 293 | - yield "</span></a></li> | ||
| 294 | - <li><a href=\""; | ||
| 295 | - // line 76 | ||
| 296 | - yield ($context["checkout"] ?? null); | ||
| 297 | - yield "\" title=\""; | ||
| 298 | - yield ($context["text_checkout"] ?? null); | ||
| 299 | - yield "\"><i class=\"fa fa-share\"></i> <span class=\"hidden-xs hidden-sm hidden-md\">"; | ||
| 300 | - yield ($context["text_checkout"] ?? null); | ||
| 301 | - yield "</span></a></li> | ||
| 302 | - </ul> | ||
| 303 | - </div> | ||
| 304 | - </div> | ||
| 305 | -</nav> | ||
| 306 | -<header> | ||
| 307 | - <div class=\"container\"> | ||
| 308 | - <div class=\"row\"> | ||
| 309 | - <div class=\"col-sm-4\"> | ||
| 310 | -\t\t<div id=\"logo\"> | ||
| 311 | - "; | ||
| 312 | - // line 86 | ||
| 313 | - if (($context["logo"] ?? null)) { | ||
| 314 | - // line 87 | ||
| 315 | - yield " "; | ||
| 316 | - if ((($context["home"] ?? null) == ($context["og_url"] ?? null))) { | ||
| 317 | - // line 88 | ||
| 318 | - yield " <img src=\""; | ||
| 319 | - yield ($context["logo"] ?? null); | ||
| 320 | - yield "\" title=\""; | ||
| 321 | - yield ($context["name"] ?? null); | ||
| 322 | - yield "\" alt=\""; | ||
| 323 | - yield ($context["name"] ?? null); | ||
| 324 | - yield "\" class=\"img-responsive\" /> | ||
| 325 | - "; | ||
| 326 | - } else { | ||
| 327 | - // line 90 | ||
| 328 | - yield " <a href=\""; | ||
| 329 | - yield ($context["home"] ?? null); | ||
| 330 | - yield "\"><img src=\""; | ||
| 331 | - yield ($context["logo"] ?? null); | ||
| 332 | - yield "\" title=\""; | ||
| 333 | - yield ($context["name"] ?? null); | ||
| 334 | - yield "\" alt=\""; | ||
| 335 | - yield ($context["name"] ?? null); | ||
| 336 | - yield "\" class=\"img-responsive\" /></a> | ||
| 337 | - "; | ||
| 338 | - } | ||
| 339 | - // line 92 | ||
| 340 | - yield " "; | ||
| 341 | - } else { | ||
| 342 | - // line 93 | ||
| 343 | - yield " <h1><a href=\""; | ||
| 344 | - yield ($context["home"] ?? null); | ||
| 345 | - yield "\">"; | ||
| 346 | - yield ($context["name"] ?? null); | ||
| 347 | - yield "</a></h1> | ||
| 348 | - "; | ||
| 349 | - } | ||
| 350 | - // line 95 | ||
| 351 | - yield "\t\t</div> | ||
| 352 | - </div> | ||
| 353 | - <div class=\"col-sm-5\">"; | ||
| 354 | - // line 97 | ||
| 355 | - yield ($context["search"] ?? null); | ||
| 356 | - yield "</div> | ||
| 357 | - <div class=\"col-sm-3\">"; | ||
| 358 | - // line 98 | ||
| 359 | - yield ($context["cart"] ?? null); | ||
| 360 | - yield "</div> | ||
| 361 | - </div> | ||
| 362 | - </div> | ||
| 363 | -</header> | ||
| 364 | -"; | ||
| 365 | - // line 102 | ||
| 366 | - yield ($context["menu"] ?? null); | ||
| 367 | - yield " | ||
| 368 | -"; | ||
| 369 | - return; yield ''; | ||
| 370 | - } | ||
| 371 | - | ||
| 372 | - /** | ||
| 373 | - * @codeCoverageIgnore | ||
| 374 | - */ | ||
| 375 | - public function getTemplateName() | ||
| 376 | - { | ||
| 377 | - return "default/template/common/header.twig"; | ||
| 378 | - } | ||
| 379 | - | ||
| 380 | - /** | ||
| 381 | - * @codeCoverageIgnore | ||
| 382 | - */ | ||
| 383 | - public function isTraitable() | ||
| 384 | - { | ||
| 385 | - return false; | ||
| 386 | - } | ||
| 387 | - | ||
| 388 | - /** | ||
| 389 | - * @codeCoverageIgnore | ||
| 390 | - */ | ||
| 391 | - public function getDebugInfo() | ||
| 392 | - { | ||
| 393 | - return array ( 366 => 102, 359 => 98, 355 => 97, 351 => 95, 343 => 93, 340 => 92, 328 => 90, 318 => 88, 315 => 87, 313 => 86, 296 => 76, 288 => 75, 280 => 74, 276 => 72, 269 => 70, 262 => 69, 255 => 67, 249 => 66, 243 => 65, 237 => 64, 230 => 63, 228 => 62, 219 => 60, 213 => 59, 207 => 56, 203 => 55, 199 => 54, 194 => 51, 186 => 49, 182 => 48, 171 => 46, 167 => 45, 164 => 44, 155 => 42, 151 => 41, 138 => 39, 134 => 38, 123 => 31, 117 => 29, 111 => 27, 109 => 26, 105 => 25, 99 => 23, 93 => 21, 91 => 20, 85 => 18, 83 => 17, 78 => 16, 72 => 14, 70 => 13, 66 => 12, 55 => 6, 48 => 4, 42 => 3, 38 => 1,); | ||
| 394 | - } | ||
| 395 | - | ||
| 396 | - public function getSourceContext() | ||
| 397 | - { | ||
| 398 | - return new Source("", "default/template/common/header.twig", ""); | ||
| 399 | - } | ||
| 400 | -} |
strg/cache/template/c1/c1081adfc27bc98d3ea0a6377d4bce2494664374094cfe242e60f041b9b7a54e.php
deleted
100644 → 0
| 1 | -<?php | ||
| 2 | - | ||
| 3 | -use Twig\Environment; | ||
| 4 | -use Twig\Error\LoaderError; | ||
| 5 | -use Twig\Error\RuntimeError; | ||
| 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 | - | ||
| 15 | -/* default/template/extension/module/slideshow.twig */ | ||
| 16 | -class __TwigTemplate_ab35027df8212c18ad8ffbb836db91a6e82a5061909d9c80c93b2f5753189da7 extends \Twig\Template | ||
| 17 | -{ | ||
| 18 | - private $source; | ||
| 19 | - private $macros = []; | ||
| 20 | - | ||
| 21 | - public function __construct(Environment $env) | ||
| 22 | - { | ||
| 23 | - parent::__construct($env); | ||
| 24 | - | ||
| 25 | - $this->source = $this->getSourceContext(); | ||
| 26 | - | ||
| 27 | - $this->parent = false; | ||
| 28 | - | ||
| 29 | - $this->blocks = [ | ||
| 30 | - ]; | ||
| 31 | - } | ||
| 32 | - | ||
| 33 | - protected function doDisplay(array $context, array $blocks = []) | ||
| 34 | - { | ||
| 35 | - $macros = $this->macros; | ||
| 36 | - // line 1 | ||
| 37 | - echo "<div class=\"slideshow swiper-viewport\"> | ||
| 38 | - <div id=\"slideshow"; | ||
| 39 | - // line 2 | ||
| 40 | - echo ($context["module"] ?? null); | ||
| 41 | - echo "\" class=\"swiper-container\"> | ||
| 42 | - <div class=\"swiper-wrapper\"> "; | ||
| 43 | - // line 3 | ||
| 44 | - $context['_parent'] = $context; | ||
| 45 | - $context['_seq'] = twig_ensure_traversable(($context["banners"] ?? null)); | ||
| 46 | - foreach ($context['_seq'] as $context["_key"] => $context["banner"]) { | ||
| 47 | - // line 4 | ||
| 48 | - echo " <div class=\"swiper-slide text-center\">"; | ||
| 49 | - if (twig_get_attribute($this->env, $this->source, $context["banner"], "link", [], "any", false, false, false, 4)) { | ||
| 50 | - echo "<a href=\""; | ||
| 51 | - echo twig_get_attribute($this->env, $this->source, $context["banner"], "link", [], "any", false, false, false, 4); | ||
| 52 | - echo "\"><img src=\""; | ||
| 53 | - echo twig_get_attribute($this->env, $this->source, $context["banner"], "image", [], "any", false, false, false, 4); | ||
| 54 | - echo "\" alt=\""; | ||
| 55 | - echo twig_get_attribute($this->env, $this->source, $context["banner"], "title", [], "any", false, false, false, 4); | ||
| 56 | - echo "\" class=\"img-responsive\" /></a>"; | ||
| 57 | - } else { | ||
| 58 | - echo "<img src=\""; | ||
| 59 | - echo twig_get_attribute($this->env, $this->source, $context["banner"], "image", [], "any", false, false, false, 4); | ||
| 60 | - echo "\" alt=\""; | ||
| 61 | - echo twig_get_attribute($this->env, $this->source, $context["banner"], "title", [], "any", false, false, false, 4); | ||
| 62 | - echo "\" class=\"img-responsive\" />"; | ||
| 63 | - } | ||
| 64 | - echo "</div> | ||
| 65 | - "; | ||
| 66 | - } | ||
| 67 | - $_parent = $context['_parent']; | ||
| 68 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['banner'], $context['_parent'], $context['loop']); | ||
| 69 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 70 | - // line 5 | ||
| 71 | - echo " </div> | ||
| 72 | - </div> | ||
| 73 | - <div class=\"swiper-pagination slideshow"; | ||
| 74 | - // line 7 | ||
| 75 | - echo ($context["module"] ?? null); | ||
| 76 | - echo "\"></div> | ||
| 77 | - <div class=\"swiper-pager\"> | ||
| 78 | - <div class=\"swiper-button-next\"></div> | ||
| 79 | - <div class=\"swiper-button-prev\"></div> | ||
| 80 | - </div> | ||
| 81 | -</div> | ||
| 82 | -<script type=\"text/javascript\"><!-- | ||
| 83 | -\$('#slideshow"; | ||
| 84 | - // line 14 | ||
| 85 | - echo ($context["module"] ?? null); | ||
| 86 | - echo "').swiper({ | ||
| 87 | -\tmode: 'horizontal', | ||
| 88 | -\tslidesPerView: 1, | ||
| 89 | -\tpagination: '.slideshow"; | ||
| 90 | - // line 17 | ||
| 91 | - echo ($context["module"] ?? null); | ||
| 92 | - echo "', | ||
| 93 | -\tpaginationClickable: true, | ||
| 94 | -\tnextButton: '.slideshow .swiper-button-next', | ||
| 95 | - prevButton: '.slideshow .swiper-button-prev', | ||
| 96 | - spaceBetween: 30, | ||
| 97 | -\tautoplay: 2500, | ||
| 98 | - autoplayDisableOnInteraction: true, | ||
| 99 | -\tloop: true | ||
| 100 | -}); | ||
| 101 | -//--></script>"; | ||
| 102 | - } | ||
| 103 | - | ||
| 104 | - public function getTemplateName() | ||
| 105 | - { | ||
| 106 | - return "default/template/extension/module/slideshow.twig"; | ||
| 107 | - } | ||
| 108 | - | ||
| 109 | - public function isTraitable() | ||
| 110 | - { | ||
| 111 | - return false; | ||
| 112 | - } | ||
| 113 | - | ||
| 114 | - public function getDebugInfo() | ||
| 115 | - { | ||
| 116 | - return array ( 91 => 17, 85 => 14, 75 => 7, 71 => 5, 48 => 4, 44 => 3, 40 => 2, 37 => 1,); | ||
| 117 | - } | ||
| 118 | - | ||
| 119 | - public function getSourceContext() | ||
| 120 | - { | ||
| 121 | - return new Source("", "default/template/extension/module/slideshow.twig", ""); | ||
| 122 | - } | ||
| 123 | -} |
strg/cache/template/c1/c1123507a7bc67306752a3f490f9f83c323ca9627dd224503fc3100e82f70b94.php
deleted
100644 → 0
| 1 | -<?php | ||
| 2 | - | ||
| 3 | -use Twig\Environment; | ||
| 4 | -use Twig\Error\LoaderError; | ||
| 5 | -use Twig\Error\RuntimeError; | ||
| 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 | - | ||
| 15 | -/* default/template/extension/module/featured_product.twig */ | ||
| 16 | -class __TwigTemplate_687390be2c9733cb697b56dc7b2e989eb85d0e5462d6e63dac1d13726b1aef3f extends \Twig\Template | ||
| 17 | -{ | ||
| 18 | - private $source; | ||
| 19 | - private $macros = []; | ||
| 20 | - | ||
| 21 | - public function __construct(Environment $env) | ||
| 22 | - { | ||
| 23 | - parent::__construct($env); | ||
| 24 | - | ||
| 25 | - $this->source = $this->getSourceContext(); | ||
| 26 | - | ||
| 27 | - $this->parent = false; | ||
| 28 | - | ||
| 29 | - $this->blocks = [ | ||
| 30 | - ]; | ||
| 31 | - } | ||
| 32 | - | ||
| 33 | - protected function doDisplay(array $context, array $blocks = []) | ||
| 34 | - { | ||
| 35 | - $macros = $this->macros; | ||
| 36 | - // line 1 | ||
| 37 | - if (($context["products"] ?? null)) { | ||
| 38 | - // line 2 | ||
| 39 | - echo "<h3>"; | ||
| 40 | - echo ($context["heading_title"] ?? null); | ||
| 41 | - echo "</h3> | ||
| 42 | -<div class=\"row\"> "; | ||
| 43 | - // line 3 | ||
| 44 | - $context['_parent'] = $context; | ||
| 45 | - $context['_seq'] = twig_ensure_traversable(($context["products"] ?? null)); | ||
| 46 | - foreach ($context['_seq'] as $context["_key"] => $context["product"]) { | ||
| 47 | - // line 4 | ||
| 48 | - echo " <div class=\"product-layout col-lg-3 col-md-3 col-sm-6 col-xs-12\"> | ||
| 49 | - <div class=\"product-thumb transition\"> | ||
| 50 | - <div class=\"image\"><a href=\""; | ||
| 51 | - // line 6 | ||
| 52 | - echo twig_get_attribute($this->env, $this->source, $context["product"], "href", [], "any", false, false, false, 6); | ||
| 53 | - echo "\"><img src=\""; | ||
| 54 | - echo twig_get_attribute($this->env, $this->source, $context["product"], "thumb", [], "any", false, false, false, 6); | ||
| 55 | - echo "\" alt=\""; | ||
| 56 | - echo twig_get_attribute($this->env, $this->source, $context["product"], "name", [], "any", false, false, false, 6); | ||
| 57 | - echo "\" title=\""; | ||
| 58 | - echo twig_get_attribute($this->env, $this->source, $context["product"], "name", [], "any", false, false, false, 6); | ||
| 59 | - echo "\" class=\"img-responsive\" /></a></div> | ||
| 60 | - <div class=\"caption\"> | ||
| 61 | - <h4><a href=\""; | ||
| 62 | - // line 8 | ||
| 63 | - echo twig_get_attribute($this->env, $this->source, $context["product"], "href", [], "any", false, false, false, 8); | ||
| 64 | - echo "\">"; | ||
| 65 | - echo twig_get_attribute($this->env, $this->source, $context["product"], "name", [], "any", false, false, false, 8); | ||
| 66 | - echo "</a></h4> | ||
| 67 | - <p>"; | ||
| 68 | - // line 9 | ||
| 69 | - echo twig_get_attribute($this->env, $this->source, $context["product"], "description", [], "any", false, false, false, 9); | ||
| 70 | - echo "</p> | ||
| 71 | - "; | ||
| 72 | - // line 10 | ||
| 73 | - if (twig_get_attribute($this->env, $this->source, $context["product"], "rating", [], "any", false, false, false, 10)) { | ||
| 74 | - // line 11 | ||
| 75 | - echo " <div class=\"rating\">"; | ||
| 76 | - $context['_parent'] = $context; | ||
| 77 | - $context['_seq'] = twig_ensure_traversable(range(1, 5)); | ||
| 78 | - foreach ($context['_seq'] as $context["_key"] => $context["i"]) { | ||
| 79 | - // line 12 | ||
| 80 | - echo " "; | ||
| 81 | - if ((twig_get_attribute($this->env, $this->source, $context["product"], "rating", [], "any", false, false, false, 12) < $context["i"])) { | ||
| 82 | - echo " <span class=\"fa fa-stack\"><i class=\"fa fa-star-o fa-stack-2x\"></i></span> "; | ||
| 83 | - } else { | ||
| 84 | - 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> "; | ||
| 85 | - } | ||
| 86 | - // line 13 | ||
| 87 | - echo " "; | ||
| 88 | - } | ||
| 89 | - $_parent = $context['_parent']; | ||
| 90 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']); | ||
| 91 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 92 | - echo "</div> | ||
| 93 | - "; | ||
| 94 | - } | ||
| 95 | - // line 15 | ||
| 96 | - echo " "; | ||
| 97 | - if (twig_get_attribute($this->env, $this->source, $context["product"], "price", [], "any", false, false, false, 15)) { | ||
| 98 | - // line 16 | ||
| 99 | - echo " <p class=\"price\"> "; | ||
| 100 | - if ( !twig_get_attribute($this->env, $this->source, $context["product"], "special", [], "any", false, false, false, 16)) { | ||
| 101 | - // line 17 | ||
| 102 | - echo " "; | ||
| 103 | - echo twig_get_attribute($this->env, $this->source, $context["product"], "price", [], "any", false, false, false, 17); | ||
| 104 | - echo " | ||
| 105 | - "; | ||
| 106 | - } else { | ||
| 107 | - // line 18 | ||
| 108 | - echo " <span class=\"price-new\">"; | ||
| 109 | - echo twig_get_attribute($this->env, $this->source, $context["product"], "special", [], "any", false, false, false, 18); | ||
| 110 | - echo "</span> <span class=\"price-old\">"; | ||
| 111 | - echo twig_get_attribute($this->env, $this->source, $context["product"], "price", [], "any", false, false, false, 18); | ||
| 112 | - echo "</span> "; | ||
| 113 | - } | ||
| 114 | - // line 19 | ||
| 115 | - echo " "; | ||
| 116 | - if (twig_get_attribute($this->env, $this->source, $context["product"], "tax", [], "any", false, false, false, 19)) { | ||
| 117 | - echo " <span class=\"price-tax\">"; | ||
| 118 | - echo ($context["text_tax"] ?? null); | ||
| 119 | - echo " "; | ||
| 120 | - echo twig_get_attribute($this->env, $this->source, $context["product"], "tax", [], "any", false, false, false, 19); | ||
| 121 | - echo "</span> "; | ||
| 122 | - } | ||
| 123 | - echo " </p> | ||
| 124 | - "; | ||
| 125 | - } | ||
| 126 | - // line 20 | ||
| 127 | - echo " </div> | ||
| 128 | - <div class=\"button-group\"> | ||
| 129 | - <button type=\"button\" onclick=\"cart.add('"; | ||
| 130 | - // line 22 | ||
| 131 | - echo twig_get_attribute($this->env, $this->source, $context["product"], "product_id", [], "any", false, false, false, 22); | ||
| 132 | - echo "');\"><i class=\"fa fa-shopping-cart\"></i> <span class=\"hidden-xs hidden-sm hidden-md\">"; | ||
| 133 | - echo ($context["button_cart"] ?? null); | ||
| 134 | - echo "</span></button> | ||
| 135 | - <button type=\"button\" data-toggle=\"tooltip\" title=\""; | ||
| 136 | - // line 23 | ||
| 137 | - echo ($context["button_wishlist"] ?? null); | ||
| 138 | - echo "\" onclick=\"wishlist.add('"; | ||
| 139 | - echo twig_get_attribute($this->env, $this->source, $context["product"], "product_id", [], "any", false, false, false, 23); | ||
| 140 | - echo "');\"><i class=\"fa fa-heart\"></i></button> | ||
| 141 | - <button type=\"button\" data-toggle=\"tooltip\" title=\""; | ||
| 142 | - // line 24 | ||
| 143 | - echo ($context["button_compare"] ?? null); | ||
| 144 | - echo "\" onclick=\"compare.add('"; | ||
| 145 | - echo twig_get_attribute($this->env, $this->source, $context["product"], "product_id", [], "any", false, false, false, 24); | ||
| 146 | - echo "');\"><i class=\"fa fa-exchange\"></i></button> | ||
| 147 | - </div> | ||
| 148 | - </div> | ||
| 149 | - </div> | ||
| 150 | - "; | ||
| 151 | - } | ||
| 152 | - $_parent = $context['_parent']; | ||
| 153 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['product'], $context['_parent'], $context['loop']); | ||
| 154 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 155 | - // line 28 | ||
| 156 | - echo " </div> | ||
| 157 | - "; | ||
| 158 | - } | ||
| 159 | - } | ||
| 160 | - | ||
| 161 | - public function getTemplateName() | ||
| 162 | - { | ||
| 163 | - return "default/template/extension/module/featured_product.twig"; | ||
| 164 | - } | ||
| 165 | - | ||
| 166 | - public function isTraitable() | ||
| 167 | - { | ||
| 168 | - return false; | ||
| 169 | - } | ||
| 170 | - | ||
| 171 | - public function getDebugInfo() | ||
| 172 | - { | ||
| 173 | - return array ( 156 => 28, 143 => 24, 137 => 23, 131 => 22, 127 => 20, 115 => 19, 108 => 18, 102 => 17, 99 => 16, 96 => 15, 87 => 13, 80 => 12, 75 => 11, 73 => 10, 69 => 9, 63 => 8, 52 => 6, 48 => 4, 44 => 3, 39 => 2, 37 => 1,); | ||
| 174 | - } | ||
| 175 | - | ||
| 176 | - public function getSourceContext() | ||
| 177 | - { | ||
| 178 | - return new Source("", "default/template/extension/module/featured_product.twig", ""); | ||
| 179 | - } | ||
| 180 | -} |
| 1 | -<?php | ||
| 2 | - | ||
| 3 | -use Twig\Environment; | ||
| 4 | -use Twig\Error\LoaderError; | ||
| 5 | -use Twig\Error\RuntimeError; | ||
| 6 | -use Twig\Extension\CoreExtension; | ||
| 7 | -use Twig\Extension\SandboxExtension; | ||
| 8 | -use Twig\Markup; | ||
| 9 | -use Twig\Sandbox\SecurityError; | ||
| 10 | -use Twig\Sandbox\SecurityNotAllowedTagError; | ||
| 11 | -use Twig\Sandbox\SecurityNotAllowedFilterError; | ||
| 12 | -use Twig\Sandbox\SecurityNotAllowedFunctionError; | ||
| 13 | -use Twig\Source; | ||
| 14 | -use Twig\Template; | ||
| 15 | - | ||
| 16 | -/* common/login.twig */ | ||
| 17 | -class __TwigTemplate_e125c98d8c90775552816e3e4e44a5b5 extends Template | ||
| 18 | -{ | ||
| 19 | - private $source; | ||
| 20 | - private $macros = []; | ||
| 21 | - | ||
| 22 | - public function __construct(Environment $env) | ||
| 23 | - { | ||
| 24 | - parent::__construct($env); | ||
| 25 | - | ||
| 26 | - $this->source = $this->getSourceContext(); | ||
| 27 | - | ||
| 28 | - $this->parent = false; | ||
| 29 | - | ||
| 30 | - $this->blocks = [ | ||
| 31 | - ]; | ||
| 32 | - } | ||
| 33 | - | ||
| 34 | - protected function doDisplay(array $context, array $blocks = []) | ||
| 35 | - { | ||
| 36 | - $macros = $this->macros; | ||
| 37 | - // line 1 | ||
| 38 | - yield ($context["header"] ?? null); | ||
| 39 | - yield " | ||
| 40 | -<div id=\"content\"> | ||
| 41 | - <div class=\"container-fluid\"><br /> | ||
| 42 | - <br /> | ||
| 43 | - <div class=\"row\"> | ||
| 44 | - <div class=\"col-sm-offset-4 col-sm-4\"> | ||
| 45 | - <div class=\"panel panel-default\"> | ||
| 46 | - <div class=\"panel-heading\"> | ||
| 47 | - <h1 class=\"panel-title\"><i class=\"fa fa-lock\"></i> "; | ||
| 48 | - // line 9 | ||
| 49 | - yield ($context["text_login"] ?? null); | ||
| 50 | - yield "</h1> | ||
| 51 | - </div> | ||
| 52 | - <div class=\"panel-body\"> | ||
| 53 | - "; | ||
| 54 | - // line 12 | ||
| 55 | - if (($context["success"] ?? null)) { | ||
| 56 | - // line 13 | ||
| 57 | - yield " <div class=\"alert alert-success alert-dismissible\"><i class=\"fa fa-check-circle\"></i> "; | ||
| 58 | - yield ($context["success"] ?? null); | ||
| 59 | - yield " | ||
| 60 | - <button type=\"button\" class=\"close\" data-dismiss=\"alert\">×</button> | ||
| 61 | - </div> | ||
| 62 | - "; | ||
| 63 | - } | ||
| 64 | - // line 17 | ||
| 65 | - yield " "; | ||
| 66 | - if (($context["error_warning"] ?? null)) { | ||
| 67 | - // line 18 | ||
| 68 | - yield " <div class=\"alert alert-danger alert-dismissible\"><i class=\"fa fa-exclamation-circle\"></i> "; | ||
| 69 | - yield ($context["error_warning"] ?? null); | ||
| 70 | - yield " | ||
| 71 | - <button type=\"button\" class=\"close\" data-dismiss=\"alert\">×</button> | ||
| 72 | - </div> | ||
| 73 | - "; | ||
| 74 | - } | ||
| 75 | - // line 22 | ||
| 76 | - yield " <form action=\""; | ||
| 77 | - yield ($context["action"] ?? null); | ||
| 78 | - yield "\" method=\"post\" enctype=\"multipart/form-data\"> | ||
| 79 | - <div class=\"form-group\"> | ||
| 80 | - <label for=\"input-username\">"; | ||
| 81 | - // line 24 | ||
| 82 | - yield ($context["entry_username"] ?? null); | ||
| 83 | - yield "</label> | ||
| 84 | - <div class=\"input-group\"><span class=\"input-group-addon\"><i class=\"fa fa-user\"></i></span> | ||
| 85 | - <input type=\"text\" name=\"username\" value=\""; | ||
| 86 | - // line 26 | ||
| 87 | - yield ($context["username"] ?? null); | ||
| 88 | - yield "\" placeholder=\""; | ||
| 89 | - yield ($context["entry_username"] ?? null); | ||
| 90 | - yield "\" id=\"input-username\" class=\"form-control\" /> | ||
| 91 | - </div> | ||
| 92 | - </div> | ||
| 93 | - <div class=\"form-group\"> | ||
| 94 | - <label for=\"input-password\">"; | ||
| 95 | - // line 30 | ||
| 96 | - yield ($context["entry_password"] ?? null); | ||
| 97 | - yield "</label> | ||
| 98 | - <div class=\"input-group\"><span class=\"input-group-addon\"><i class=\"fa fa-lock\"></i></span> | ||
| 99 | - <input type=\"password\" name=\"password\" value=\""; | ||
| 100 | - // line 32 | ||
| 101 | - yield ($context["password"] ?? null); | ||
| 102 | - yield "\" placeholder=\""; | ||
| 103 | - yield ($context["entry_password"] ?? null); | ||
| 104 | - yield "\" id=\"input-password\" class=\"form-control\" /> | ||
| 105 | - </div> | ||
| 106 | - "; | ||
| 107 | - // line 34 | ||
| 108 | - if (($context["forgotten"] ?? null)) { | ||
| 109 | - // line 35 | ||
| 110 | - yield " <span class=\"help-block\"><a href=\""; | ||
| 111 | - yield ($context["forgotten"] ?? null); | ||
| 112 | - yield "\">"; | ||
| 113 | - yield ($context["text_forgotten"] ?? null); | ||
| 114 | - yield "</a></span> | ||
| 115 | - "; | ||
| 116 | - } | ||
| 117 | - // line 37 | ||
| 118 | - yield " </div> | ||
| 119 | - <div class=\"text-right\"> | ||
| 120 | - <button type=\"submit\" class=\"btn btn-primary\"><i class=\"fa fa-key\"></i> "; | ||
| 121 | - // line 39 | ||
| 122 | - yield ($context["button_login"] ?? null); | ||
| 123 | - yield "</button> | ||
| 124 | - </div> | ||
| 125 | - "; | ||
| 126 | - // line 41 | ||
| 127 | - if (($context["redirect"] ?? null)) { | ||
| 128 | - // line 42 | ||
| 129 | - yield " <input type=\"hidden\" name=\"redirect\" value=\""; | ||
| 130 | - yield ($context["redirect"] ?? null); | ||
| 131 | - yield "\" /> | ||
| 132 | - "; | ||
| 133 | - } | ||
| 134 | - // line 44 | ||
| 135 | - yield " </form> | ||
| 136 | - </div> | ||
| 137 | - </div> | ||
| 138 | - </div> | ||
| 139 | - </div> | ||
| 140 | - </div> | ||
| 141 | -</div> | ||
| 142 | -"; | ||
| 143 | - // line 51 | ||
| 144 | - yield ($context["footer"] ?? null); | ||
| 145 | - return; yield ''; | ||
| 146 | - } | ||
| 147 | - | ||
| 148 | - /** | ||
| 149 | - * @codeCoverageIgnore | ||
| 150 | - */ | ||
| 151 | - public function getTemplateName() | ||
| 152 | - { | ||
| 153 | - return "common/login.twig"; | ||
| 154 | - } | ||
| 155 | - | ||
| 156 | - /** | ||
| 157 | - * @codeCoverageIgnore | ||
| 158 | - */ | ||
| 159 | - public function isTraitable() | ||
| 160 | - { | ||
| 161 | - return false; | ||
| 162 | - } | ||
| 163 | - | ||
| 164 | - /** | ||
| 165 | - * @codeCoverageIgnore | ||
| 166 | - */ | ||
| 167 | - public function getDebugInfo() | ||
| 168 | - { | ||
| 169 | - return array ( 144 => 51, 135 => 44, 129 => 42, 127 => 41, 122 => 39, 118 => 37, 110 => 35, 108 => 34, 101 => 32, 96 => 30, 87 => 26, 82 => 24, 76 => 22, 68 => 18, 65 => 17, 57 => 13, 55 => 12, 49 => 9, 38 => 1,); | ||
| 170 | - } | ||
| 171 | - | ||
| 172 | - public function getSourceContext() | ||
| 173 | - { | ||
| 174 | - return new Source("", "common/login.twig", ""); | ||
| 175 | - } | ||
| 176 | -} |
strg/cache/template/c5/c54fb1762267ffdb9c1a8af3b6421c3359c32205ee77169e8f1d053e13a1da5b.php
deleted
100644 → 0
| 1 | -<?php | ||
| 2 | - | ||
| 3 | -use Twig\Environment; | ||
| 4 | -use Twig\Error\LoaderError; | ||
| 5 | -use Twig\Error\RuntimeError; | ||
| 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 | - | ||
| 15 | -/* default/template/extension/module/carousel.twig */ | ||
| 16 | -class __TwigTemplate_170e2614a2a391e7f76aec123a9ae1694070957b148f5428c72dbbf92293c77d extends \Twig\Template | ||
| 17 | -{ | ||
| 18 | - private $source; | ||
| 19 | - private $macros = []; | ||
| 20 | - | ||
| 21 | - public function __construct(Environment $env) | ||
| 22 | - { | ||
| 23 | - parent::__construct($env); | ||
| 24 | - | ||
| 25 | - $this->source = $this->getSourceContext(); | ||
| 26 | - | ||
| 27 | - $this->parent = false; | ||
| 28 | - | ||
| 29 | - $this->blocks = [ | ||
| 30 | - ]; | ||
| 31 | - } | ||
| 32 | - | ||
| 33 | - protected function doDisplay(array $context, array $blocks = []) | ||
| 34 | - { | ||
| 35 | - $macros = $this->macros; | ||
| 36 | - // line 1 | ||
| 37 | - echo "<div class=\"carousel swiper-viewport\"> | ||
| 38 | - <div id=\"carousel"; | ||
| 39 | - // line 2 | ||
| 40 | - echo ($context["module"] ?? null); | ||
| 41 | - echo "\" class=\"swiper-container\"> | ||
| 42 | - <div class=\"swiper-wrapper\">"; | ||
| 43 | - // line 3 | ||
| 44 | - $context['_parent'] = $context; | ||
| 45 | - $context['_seq'] = twig_ensure_traversable(($context["banners"] ?? null)); | ||
| 46 | - foreach ($context['_seq'] as $context["_key"] => $context["banner"]) { | ||
| 47 | - // line 4 | ||
| 48 | - echo " <div class=\"swiper-slide text-center\">"; | ||
| 49 | - if (twig_get_attribute($this->env, $this->source, $context["banner"], "link", [], "any", false, false, false, 4)) { | ||
| 50 | - echo "<a href=\""; | ||
| 51 | - echo twig_get_attribute($this->env, $this->source, $context["banner"], "link", [], "any", false, false, false, 4); | ||
| 52 | - echo "\"><img src=\""; | ||
| 53 | - echo twig_get_attribute($this->env, $this->source, $context["banner"], "image", [], "any", false, false, false, 4); | ||
| 54 | - echo "\" alt=\""; | ||
| 55 | - echo twig_get_attribute($this->env, $this->source, $context["banner"], "title", [], "any", false, false, false, 4); | ||
| 56 | - echo "\" class=\"img-responsive\" /></a>"; | ||
| 57 | - } else { | ||
| 58 | - echo "<img src=\""; | ||
| 59 | - echo twig_get_attribute($this->env, $this->source, $context["banner"], "image", [], "any", false, false, false, 4); | ||
| 60 | - echo "\" alt=\""; | ||
| 61 | - echo twig_get_attribute($this->env, $this->source, $context["banner"], "title", [], "any", false, false, false, 4); | ||
| 62 | - echo "\" class=\"img-responsive\" />"; | ||
| 63 | - } | ||
| 64 | - echo "</div> | ||
| 65 | - "; | ||
| 66 | - } | ||
| 67 | - $_parent = $context['_parent']; | ||
| 68 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['banner'], $context['_parent'], $context['loop']); | ||
| 69 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 70 | - // line 5 | ||
| 71 | - echo "</div> | ||
| 72 | - </div> | ||
| 73 | - <div class=\"swiper-pagination carousel"; | ||
| 74 | - // line 7 | ||
| 75 | - echo ($context["module"] ?? null); | ||
| 76 | - echo "\"></div> | ||
| 77 | - <div class=\"swiper-pager\"> | ||
| 78 | - <div class=\"swiper-button-next\"></div> | ||
| 79 | - <div class=\"swiper-button-prev\"></div> | ||
| 80 | - </div> | ||
| 81 | -</div> | ||
| 82 | -<script type=\"text/javascript\"><!-- | ||
| 83 | -\$('#carousel"; | ||
| 84 | - // line 14 | ||
| 85 | - echo ($context["module"] ?? null); | ||
| 86 | - echo "').swiper({ | ||
| 87 | -\tmode: 'horizontal', | ||
| 88 | -\tslidesPerView: 5, | ||
| 89 | -\tpagination: '.carousel"; | ||
| 90 | - // line 17 | ||
| 91 | - echo ($context["module"] ?? null); | ||
| 92 | - echo "', | ||
| 93 | -\tpaginationClickable: true, | ||
| 94 | -\tnextButton: '.carousel .swiper-button-next', | ||
| 95 | - prevButton: '.carousel .swiper-button-prev', | ||
| 96 | -\tautoplay: 2500, | ||
| 97 | -\tloop: true | ||
| 98 | -}); | ||
| 99 | ---></script>"; | ||
| 100 | - } | ||
| 101 | - | ||
| 102 | - public function getTemplateName() | ||
| 103 | - { | ||
| 104 | - return "default/template/extension/module/carousel.twig"; | ||
| 105 | - } | ||
| 106 | - | ||
| 107 | - public function isTraitable() | ||
| 108 | - { | ||
| 109 | - return false; | ||
| 110 | - } | ||
| 111 | - | ||
| 112 | - public function getDebugInfo() | ||
| 113 | - { | ||
| 114 | - return array ( 91 => 17, 85 => 14, 75 => 7, 71 => 5, 48 => 4, 44 => 3, 40 => 2, 37 => 1,); | ||
| 115 | - } | ||
| 116 | - | ||
| 117 | - public function getSourceContext() | ||
| 118 | - { | ||
| 119 | - return new Source("", "default/template/extension/module/carousel.twig", ""); | ||
| 120 | - } | ||
| 121 | -} |
strg/cache/template/c6/c68bf062e40342f53bede1bdaa66803129c21c827ee5fb42d50c1c3ae3aa65ab.php
deleted
100644 → 0
| 1 | -<?php | ||
| 2 | - | ||
| 3 | -use Twig\Environment; | ||
| 4 | -use Twig\Error\LoaderError; | ||
| 5 | -use Twig\Error\RuntimeError; | ||
| 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 | - | ||
| 15 | -/* default/template/common/content_bottom.twig */ | ||
| 16 | -class __TwigTemplate_f202e0267a8d078c6cbb0a2295fc4ab7553504c939492901e3d88f96f0cb2700 extends \Twig\Template | ||
| 17 | -{ | ||
| 18 | - private $source; | ||
| 19 | - private $macros = []; | ||
| 20 | - | ||
| 21 | - public function __construct(Environment $env) | ||
| 22 | - { | ||
| 23 | - parent::__construct($env); | ||
| 24 | - | ||
| 25 | - $this->source = $this->getSourceContext(); | ||
| 26 | - | ||
| 27 | - $this->parent = false; | ||
| 28 | - | ||
| 29 | - $this->blocks = [ | ||
| 30 | - ]; | ||
| 31 | - } | ||
| 32 | - | ||
| 33 | - protected function doDisplay(array $context, array $blocks = []) | ||
| 34 | - { | ||
| 35 | - $macros = $this->macros; | ||
| 36 | - // line 1 | ||
| 37 | - $context['_parent'] = $context; | ||
| 38 | - $context['_seq'] = twig_ensure_traversable(($context["modules"] ?? null)); | ||
| 39 | - foreach ($context['_seq'] as $context["_key"] => $context["module"]) { | ||
| 40 | - // line 2 | ||
| 41 | - echo $context["module"]; | ||
| 42 | - echo " | ||
| 43 | -"; | ||
| 44 | - } | ||
| 45 | - $_parent = $context['_parent']; | ||
| 46 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['module'], $context['_parent'], $context['loop']); | ||
| 47 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 48 | - } | ||
| 49 | - | ||
| 50 | - public function getTemplateName() | ||
| 51 | - { | ||
| 52 | - return "default/template/common/content_bottom.twig"; | ||
| 53 | - } | ||
| 54 | - | ||
| 55 | - public function isTraitable() | ||
| 56 | - { | ||
| 57 | - return false; | ||
| 58 | - } | ||
| 59 | - | ||
| 60 | - public function getDebugInfo() | ||
| 61 | - { | ||
| 62 | - return array ( 41 => 2, 37 => 1,); | ||
| 63 | - } | ||
| 64 | - | ||
| 65 | - public function getSourceContext() | ||
| 66 | - { | ||
| 67 | - return new Source("", "default/template/common/content_bottom.twig", ""); | ||
| 68 | - } | ||
| 69 | -} |
| 1 | -<?php | ||
| 2 | - | ||
| 3 | -use Twig\Environment; | ||
| 4 | -use Twig\Error\LoaderError; | ||
| 5 | -use Twig\Error\RuntimeError; | ||
| 6 | -use Twig\Extension\CoreExtension; | ||
| 7 | -use Twig\Extension\SandboxExtension; | ||
| 8 | -use Twig\Markup; | ||
| 9 | -use Twig\Sandbox\SecurityError; | ||
| 10 | -use Twig\Sandbox\SecurityNotAllowedTagError; | ||
| 11 | -use Twig\Sandbox\SecurityNotAllowedFilterError; | ||
| 12 | -use Twig\Sandbox\SecurityNotAllowedFunctionError; | ||
| 13 | -use Twig\Source; | ||
| 14 | -use Twig\Template; | ||
| 15 | - | ||
| 16 | -/* default/template/common/menu.twig */ | ||
| 17 | -class __TwigTemplate_fcfcb8e05e538f1a0f4724f3e514208f extends Template | ||
| 18 | -{ | ||
| 19 | - private $source; | ||
| 20 | - private $macros = []; | ||
| 21 | - | ||
| 22 | - public function __construct(Environment $env) | ||
| 23 | - { | ||
| 24 | - parent::__construct($env); | ||
| 25 | - | ||
| 26 | - $this->source = $this->getSourceContext(); | ||
| 27 | - | ||
| 28 | - $this->parent = false; | ||
| 29 | - | ||
| 30 | - $this->blocks = [ | ||
| 31 | - ]; | ||
| 32 | - } | ||
| 33 | - | ||
| 34 | - protected function doDisplay(array $context, array $blocks = []) | ||
| 35 | - { | ||
| 36 | - $macros = $this->macros; | ||
| 37 | - // line 1 | ||
| 38 | - if (($context["categories"] ?? null)) { | ||
| 39 | - // line 2 | ||
| 40 | - yield "<div class=\"container\"> | ||
| 41 | - <nav id=\"menu\" class=\"navbar\"> | ||
| 42 | - <div class=\"navbar-header\"><span id=\"category\" class=\"visible-xs\">"; | ||
| 43 | - // line 4 | ||
| 44 | - yield ($context["text_category"] ?? null); | ||
| 45 | - yield "</span> | ||
| 46 | - <button type=\"button\" class=\"btn btn-navbar navbar-toggle\" data-toggle=\"collapse\" data-target=\".navbar-ex1-collapse\"><i class=\"fa fa-bars\"></i></button> | ||
| 47 | - </div> | ||
| 48 | - <div class=\"collapse navbar-collapse navbar-ex1-collapse\"> | ||
| 49 | - <ul class=\"nav navbar-nav\"> | ||
| 50 | - "; | ||
| 51 | - // line 9 | ||
| 52 | - $context['_parent'] = $context; | ||
| 53 | - $context['_seq'] = CoreExtension::ensureTraversable(($context["categories"] ?? null)); | ||
| 54 | - foreach ($context['_seq'] as $context["_key"] => $context["category"]) { | ||
| 55 | - // line 10 | ||
| 56 | - yield " "; | ||
| 57 | - if (CoreExtension::getAttribute($this->env, $this->source, $context["category"], "children", [], "any", false, false, false, 10)) { | ||
| 58 | - // line 11 | ||
| 59 | - yield " <li class=\"dropdown\"><a href=\""; | ||
| 60 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["category"], "href", [], "any", false, false, false, 11); | ||
| 61 | - yield "\" class=\"dropdown-toggle\" data-toggle=\"dropdown\">"; | ||
| 62 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["category"], "name", [], "any", false, false, false, 11); | ||
| 63 | - yield "</a> | ||
| 64 | - <div class=\"dropdown-menu\"> | ||
| 65 | - <div class=\"dropdown-inner\"> "; | ||
| 66 | - // line 13 | ||
| 67 | - $context['_parent'] = $context; | ||
| 68 | - $context['_seq'] = CoreExtension::ensureTraversable(Twig\Extension\CoreExtension::batch(CoreExtension::getAttribute($this->env, $this->source, $context["category"], "children", [], "any", false, false, false, 13), (Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, $context["category"], "children", [], "any", false, false, false, 13)) / Twig\Extension\CoreExtension::round(CoreExtension::getAttribute($this->env, $this->source, $context["category"], "column", [], "any", false, false, false, 13), 1, "ceil")))); | ||
| 69 | - foreach ($context['_seq'] as $context["_key"] => $context["children"]) { | ||
| 70 | - // line 14 | ||
| 71 | - yield " <ul class=\"list-unstyled\"> | ||
| 72 | - "; | ||
| 73 | - // line 15 | ||
| 74 | - $context['_parent'] = $context; | ||
| 75 | - $context['_seq'] = CoreExtension::ensureTraversable($context["children"]); | ||
| 76 | - foreach ($context['_seq'] as $context["_key"] => $context["child"]) { | ||
| 77 | - // line 16 | ||
| 78 | - yield " <li><a href=\""; | ||
| 79 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["child"], "href", [], "any", false, false, false, 16); | ||
| 80 | - yield "\">"; | ||
| 81 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["child"], "name", [], "any", false, false, false, 16); | ||
| 82 | - yield "</a></li> | ||
| 83 | - "; | ||
| 84 | - } | ||
| 85 | - $_parent = $context['_parent']; | ||
| 86 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['child'], $context['_parent'], $context['loop']); | ||
| 87 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 88 | - // line 18 | ||
| 89 | - yield " </ul> | ||
| 90 | - "; | ||
| 91 | - } | ||
| 92 | - $_parent = $context['_parent']; | ||
| 93 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['children'], $context['_parent'], $context['loop']); | ||
| 94 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 95 | - // line 19 | ||
| 96 | - yield "</div> | ||
| 97 | - <a href=\""; | ||
| 98 | - // line 20 | ||
| 99 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["category"], "href", [], "any", false, false, false, 20); | ||
| 100 | - yield "\" class=\"see-all\">"; | ||
| 101 | - yield ($context["text_all"] ?? null); | ||
| 102 | - yield " "; | ||
| 103 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["category"], "name", [], "any", false, false, false, 20); | ||
| 104 | - yield "</a> </div> | ||
| 105 | - </li> | ||
| 106 | - "; | ||
| 107 | - } else { | ||
| 108 | - // line 23 | ||
| 109 | - yield " <li><a href=\""; | ||
| 110 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["category"], "href", [], "any", false, false, false, 23); | ||
| 111 | - yield "\">"; | ||
| 112 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["category"], "name", [], "any", false, false, false, 23); | ||
| 113 | - yield "</a></li> | ||
| 114 | - "; | ||
| 115 | - } | ||
| 116 | - // line 25 | ||
| 117 | - yield " "; | ||
| 118 | - } | ||
| 119 | - $_parent = $context['_parent']; | ||
| 120 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['category'], $context['_parent'], $context['loop']); | ||
| 121 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 122 | - // line 26 | ||
| 123 | - yield " </ul> | ||
| 124 | - </div> | ||
| 125 | - </nav> | ||
| 126 | -</div> | ||
| 127 | -"; | ||
| 128 | - } | ||
| 129 | - // line 30 | ||
| 130 | - yield " "; | ||
| 131 | - return; yield ''; | ||
| 132 | - } | ||
| 133 | - | ||
| 134 | - /** | ||
| 135 | - * @codeCoverageIgnore | ||
| 136 | - */ | ||
| 137 | - public function getTemplateName() | ||
| 138 | - { | ||
| 139 | - return "default/template/common/menu.twig"; | ||
| 140 | - } | ||
| 141 | - | ||
| 142 | - /** | ||
| 143 | - * @codeCoverageIgnore | ||
| 144 | - */ | ||
| 145 | - public function isTraitable() | ||
| 146 | - { | ||
| 147 | - return false; | ||
| 148 | - } | ||
| 149 | - | ||
| 150 | - /** | ||
| 151 | - * @codeCoverageIgnore | ||
| 152 | - */ | ||
| 153 | - public function getDebugInfo() | ||
| 154 | - { | ||
| 155 | - return array ( 130 => 30, 123 => 26, 117 => 25, 109 => 23, 99 => 20, 96 => 19, 89 => 18, 78 => 16, 74 => 15, 71 => 14, 67 => 13, 59 => 11, 56 => 10, 52 => 9, 44 => 4, 40 => 2, 38 => 1,); | ||
| 156 | - } | ||
| 157 | - | ||
| 158 | - public function getSourceContext() | ||
| 159 | - { | ||
| 160 | - return new Source("", "default/template/common/menu.twig", ""); | ||
| 161 | - } | ||
| 162 | -} |
strg/cache/template/ce/ce40e7891f09fa8d89c71d054b964c173d38bc98078aef1ac29737b85f0250d0.php
deleted
100644 → 0
| 1 | -<?php | ||
| 2 | - | ||
| 3 | -use Twig\Environment; | ||
| 4 | -use Twig\Error\LoaderError; | ||
| 5 | -use Twig\Error\RuntimeError; | ||
| 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 | - | ||
| 15 | -/* default/template/product/product.twig */ | ||
| 16 | -class __TwigTemplate_2df592099cc848e700d28fb987cb2c527992853cadf8f39f8031dabf1a63e4c0 extends \Twig\Template | ||
| 17 | -{ | ||
| 18 | - private $source; | ||
| 19 | - private $macros = []; | ||
| 20 | - | ||
| 21 | - public function __construct(Environment $env) | ||
| 22 | - { | ||
| 23 | - parent::__construct($env); | ||
| 24 | - | ||
| 25 | - $this->source = $this->getSourceContext(); | ||
| 26 | - | ||
| 27 | - $this->parent = false; | ||
| 28 | - | ||
| 29 | - $this->blocks = [ | ||
| 30 | - ]; | ||
| 31 | - } | ||
| 32 | - | ||
| 33 | - protected function doDisplay(array $context, array $blocks = []) | ||
| 34 | - { | ||
| 35 | - $macros = $this->macros; | ||
| 36 | - // line 1 | ||
| 37 | - echo ($context["header"] ?? null); | ||
| 38 | - echo " | ||
| 39 | -<div id=\"product-product\" class=\"container\"> | ||
| 40 | - <ul class=\"breadcrumb\"> | ||
| 41 | - "; | ||
| 42 | - // line 4 | ||
| 43 | - $context['_parent'] = $context; | ||
| 44 | - $context['_seq'] = twig_ensure_traversable(($context["breadcrumbs"] ?? null)); | ||
| 45 | - foreach ($context['_seq'] as $context["_key"] => $context["breadcrumb"]) { | ||
| 46 | - // line 5 | ||
| 47 | - echo " <li><a href=\""; | ||
| 48 | - echo twig_get_attribute($this->env, $this->source, $context["breadcrumb"], "href", [], "any", false, false, false, 5); | ||
| 49 | - echo "\">"; | ||
| 50 | - echo twig_get_attribute($this->env, $this->source, $context["breadcrumb"], "text", [], "any", false, false, false, 5); | ||
| 51 | - echo "</a></li> | ||
| 52 | - "; | ||
| 53 | - } | ||
| 54 | - $_parent = $context['_parent']; | ||
| 55 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['breadcrumb'], $context['_parent'], $context['loop']); | ||
| 56 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 57 | - // line 7 | ||
| 58 | - echo " </ul> | ||
| 59 | - <div class=\"row\">"; | ||
| 60 | - // line 8 | ||
| 61 | - echo ($context["column_left"] ?? null); | ||
| 62 | - echo " | ||
| 63 | - "; | ||
| 64 | - // line 9 | ||
| 65 | - if ((($context["column_left"] ?? null) && ($context["column_right"] ?? null))) { | ||
| 66 | - // line 10 | ||
| 67 | - echo " "; | ||
| 68 | - $context["class"] = "col-sm-6"; | ||
| 69 | - // line 11 | ||
| 70 | - echo " "; | ||
| 71 | - } elseif ((($context["column_left"] ?? null) || ($context["column_right"] ?? null))) { | ||
| 72 | - // line 12 | ||
| 73 | - echo " "; | ||
| 74 | - $context["class"] = "col-sm-9"; | ||
| 75 | - // line 13 | ||
| 76 | - echo " "; | ||
| 77 | - } else { | ||
| 78 | - // line 14 | ||
| 79 | - echo " "; | ||
| 80 | - $context["class"] = "col-sm-12"; | ||
| 81 | - // line 15 | ||
| 82 | - echo " "; | ||
| 83 | - } | ||
| 84 | - // line 16 | ||
| 85 | - echo " <div id=\"content\" class=\""; | ||
| 86 | - echo ($context["class"] ?? null); | ||
| 87 | - echo "\">"; | ||
| 88 | - echo ($context["content_top"] ?? null); | ||
| 89 | - echo " | ||
| 90 | - <div class=\"row\"> "; | ||
| 91 | - // line 17 | ||
| 92 | - if ((($context["column_left"] ?? null) || ($context["column_right"] ?? null))) { | ||
| 93 | - // line 18 | ||
| 94 | - echo " "; | ||
| 95 | - $context["class"] = "col-sm-6"; | ||
| 96 | - // line 19 | ||
| 97 | - echo " "; | ||
| 98 | - } else { | ||
| 99 | - // line 20 | ||
| 100 | - echo " "; | ||
| 101 | - $context["class"] = "col-sm-8"; | ||
| 102 | - // line 21 | ||
| 103 | - echo " "; | ||
| 104 | - } | ||
| 105 | - // line 22 | ||
| 106 | - echo " <div class=\""; | ||
| 107 | - echo ($context["class"] ?? null); | ||
| 108 | - echo "\"> "; | ||
| 109 | - if ((($context["thumb"] ?? null) || ($context["images"] ?? null))) { | ||
| 110 | - // line 23 | ||
| 111 | - echo " <ul class=\"thumbnails\"> | ||
| 112 | - "; | ||
| 113 | - // line 24 | ||
| 114 | - if (($context["thumb"] ?? null)) { | ||
| 115 | - // line 25 | ||
| 116 | - echo " <li><a class=\"thumbnail\" href=\""; | ||
| 117 | - echo ($context["popup"] ?? null); | ||
| 118 | - echo "\" title=\""; | ||
| 119 | - echo ($context["heading_title"] ?? null); | ||
| 120 | - echo "\"><img src=\""; | ||
| 121 | - echo ($context["thumb"] ?? null); | ||
| 122 | - echo "\" title=\""; | ||
| 123 | - echo ($context["heading_title"] ?? null); | ||
| 124 | - echo "\" alt=\""; | ||
| 125 | - echo ($context["heading_title"] ?? null); | ||
| 126 | - echo "\" /></a></li> | ||
| 127 | - "; | ||
| 128 | - } | ||
| 129 | - // line 27 | ||
| 130 | - echo " "; | ||
| 131 | - if (($context["images"] ?? null)) { | ||
| 132 | - // line 28 | ||
| 133 | - echo " "; | ||
| 134 | - $context['_parent'] = $context; | ||
| 135 | - $context['_seq'] = twig_ensure_traversable(($context["images"] ?? null)); | ||
| 136 | - foreach ($context['_seq'] as $context["_key"] => $context["image"]) { | ||
| 137 | - // line 29 | ||
| 138 | - echo " <li class=\"image-additional\"><a class=\"thumbnail\" href=\""; | ||
| 139 | - echo twig_get_attribute($this->env, $this->source, $context["image"], "popup", [], "any", false, false, false, 29); | ||
| 140 | - echo "\" title=\""; | ||
| 141 | - echo ($context["heading_title"] ?? null); | ||
| 142 | - echo "\"> <img src=\""; | ||
| 143 | - echo twig_get_attribute($this->env, $this->source, $context["image"], "thumb", [], "any", false, false, false, 29); | ||
| 144 | - echo "\" title=\""; | ||
| 145 | - echo ($context["heading_title"] ?? null); | ||
| 146 | - echo "\" alt=\""; | ||
| 147 | - echo ($context["heading_title"] ?? null); | ||
| 148 | - echo "\" /></a></li> | ||
| 149 | - "; | ||
| 150 | - } | ||
| 151 | - $_parent = $context['_parent']; | ||
| 152 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['image'], $context['_parent'], $context['loop']); | ||
| 153 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 154 | - // line 31 | ||
| 155 | - echo " "; | ||
| 156 | - } | ||
| 157 | - // line 32 | ||
| 158 | - echo " </ul> | ||
| 159 | - "; | ||
| 160 | - } | ||
| 161 | - // line 34 | ||
| 162 | - echo " <ul class=\"nav nav-tabs\"> | ||
| 163 | - <li class=\"active\"><a href=\"#tab-description\" data-toggle=\"tab\">"; | ||
| 164 | - // line 35 | ||
| 165 | - echo ($context["tab_description"] ?? null); | ||
| 166 | - echo "</a></li> | ||
| 167 | - "; | ||
| 168 | - // line 36 | ||
| 169 | - if (($context["attribute_groups"] ?? null)) { | ||
| 170 | - // line 37 | ||
| 171 | - echo " <li><a href=\"#tab-specification\" data-toggle=\"tab\">"; | ||
| 172 | - echo ($context["tab_attribute"] ?? null); | ||
| 173 | - echo "</a></li> | ||
| 174 | - "; | ||
| 175 | - } | ||
| 176 | - // line 39 | ||
| 177 | - echo " "; | ||
| 178 | - if (($context["review_status"] ?? null)) { | ||
| 179 | - // line 40 | ||
| 180 | - echo " <li><a href=\"#tab-review\" data-toggle=\"tab\">"; | ||
| 181 | - echo ($context["tab_review"] ?? null); | ||
| 182 | - echo "</a></li> | ||
| 183 | - "; | ||
| 184 | - } | ||
| 185 | - // line 42 | ||
| 186 | - echo " </ul> | ||
| 187 | - <div class=\"tab-content\"> | ||
| 188 | - <div class=\"tab-pane active\" id=\"tab-description\">"; | ||
| 189 | - // line 44 | ||
| 190 | - echo ($context["description"] ?? null); | ||
| 191 | - echo "</div> | ||
| 192 | - "; | ||
| 193 | - // line 45 | ||
| 194 | - if (($context["attribute_groups"] ?? null)) { | ||
| 195 | - // line 46 | ||
| 196 | - echo " <div class=\"tab-pane\" id=\"tab-specification\"> | ||
| 197 | - <table class=\"table table-bordered\"> | ||
| 198 | - "; | ||
| 199 | - // line 48 | ||
| 200 | - $context['_parent'] = $context; | ||
| 201 | - $context['_seq'] = twig_ensure_traversable(($context["attribute_groups"] ?? null)); | ||
| 202 | - foreach ($context['_seq'] as $context["_key"] => $context["attribute_group"]) { | ||
| 203 | - // line 49 | ||
| 204 | - echo " <thead> | ||
| 205 | - <tr> | ||
| 206 | - <td colspan=\"2\"><strong>"; | ||
| 207 | - // line 51 | ||
| 208 | - echo twig_get_attribute($this->env, $this->source, $context["attribute_group"], "name", [], "any", false, false, false, 51); | ||
| 209 | - echo "</strong></td> | ||
| 210 | - </tr> | ||
| 211 | - </thead> | ||
| 212 | - <tbody> | ||
| 213 | - "; | ||
| 214 | - // line 55 | ||
| 215 | - $context['_parent'] = $context; | ||
| 216 | - $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["attribute_group"], "attribute", [], "any", false, false, false, 55)); | ||
| 217 | - foreach ($context['_seq'] as $context["_key"] => $context["attribute"]) { | ||
| 218 | - // line 56 | ||
| 219 | - echo " <tr> | ||
| 220 | - <td>"; | ||
| 221 | - // line 57 | ||
| 222 | - echo twig_get_attribute($this->env, $this->source, $context["attribute"], "name", [], "any", false, false, false, 57); | ||
| 223 | - echo "</td> | ||
| 224 | - <td>"; | ||
| 225 | - // line 58 | ||
| 226 | - echo twig_get_attribute($this->env, $this->source, $context["attribute"], "text", [], "any", false, false, false, 58); | ||
| 227 | - echo "</td> | ||
| 228 | - </tr> | ||
| 229 | - "; | ||
| 230 | - } | ||
| 231 | - $_parent = $context['_parent']; | ||
| 232 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['attribute'], $context['_parent'], $context['loop']); | ||
| 233 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 234 | - // line 61 | ||
| 235 | - echo " </tbody> | ||
| 236 | - "; | ||
| 237 | - } | ||
| 238 | - $_parent = $context['_parent']; | ||
| 239 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['attribute_group'], $context['_parent'], $context['loop']); | ||
| 240 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 241 | - // line 63 | ||
| 242 | - echo " </table> | ||
| 243 | - </div> | ||
| 244 | - "; | ||
| 245 | - } | ||
| 246 | - // line 66 | ||
| 247 | - echo " "; | ||
| 248 | - if (($context["review_status"] ?? null)) { | ||
| 249 | - // line 67 | ||
| 250 | - echo " <div class=\"tab-pane\" id=\"tab-review\"> | ||
| 251 | - <form class=\"form-horizontal\" id=\"form-review\"> | ||
| 252 | - <div id=\"review\"></div> | ||
| 253 | - <h2>"; | ||
| 254 | - // line 70 | ||
| 255 | - echo ($context["text_write"] ?? null); | ||
| 256 | - echo "</h2> | ||
| 257 | - "; | ||
| 258 | - // line 71 | ||
| 259 | - if (($context["review_guest"] ?? null)) { | ||
| 260 | - // line 72 | ||
| 261 | - echo " <div class=\"form-group required\"> | ||
| 262 | - <div class=\"col-sm-12\"> | ||
| 263 | - <label class=\"control-label\" for=\"input-name\">"; | ||
| 264 | - // line 74 | ||
| 265 | - echo ($context["entry_name"] ?? null); | ||
| 266 | - echo "</label> | ||
| 267 | - <input type=\"text\" name=\"name\" value=\""; | ||
| 268 | - // line 75 | ||
| 269 | - echo ($context["customer_name"] ?? null); | ||
| 270 | - echo "\" id=\"input-name\" class=\"form-control\" /> | ||
| 271 | - </div> | ||
| 272 | - </div> | ||
| 273 | - <div class=\"form-group required\"> | ||
| 274 | - <div class=\"col-sm-12\"> | ||
| 275 | - <label class=\"control-label\" for=\"input-review\">"; | ||
| 276 | - // line 80 | ||
| 277 | - echo ($context["entry_review"] ?? null); | ||
| 278 | - echo "</label> | ||
| 279 | - <textarea name=\"text\" rows=\"5\" id=\"input-review\" class=\"form-control\"></textarea> | ||
| 280 | - <div class=\"help-block\">"; | ||
| 281 | - // line 82 | ||
| 282 | - echo ($context["text_note"] ?? null); | ||
| 283 | - echo "</div> | ||
| 284 | - </div> | ||
| 285 | - </div> | ||
| 286 | - <div class=\"form-group required\"> | ||
| 287 | - <div class=\"col-sm-12\"> | ||
| 288 | - <label class=\"control-label\">"; | ||
| 289 | - // line 87 | ||
| 290 | - echo ($context["entry_rating"] ?? null); | ||
| 291 | - echo "</label> | ||
| 292 | - "; | ||
| 293 | - // line 88 | ||
| 294 | - echo ($context["entry_bad"] ?? null); | ||
| 295 | - echo " | ||
| 296 | - <input type=\"radio\" name=\"rating\" value=\"1\" /> | ||
| 297 | - | ||
| 298 | - <input type=\"radio\" name=\"rating\" value=\"2\" /> | ||
| 299 | - | ||
| 300 | - <input type=\"radio\" name=\"rating\" value=\"3\" /> | ||
| 301 | - | ||
| 302 | - <input type=\"radio\" name=\"rating\" value=\"4\" /> | ||
| 303 | - | ||
| 304 | - <input type=\"radio\" name=\"rating\" value=\"5\" /> | ||
| 305 | - "; | ||
| 306 | - // line 98 | ||
| 307 | - echo ($context["entry_good"] ?? null); | ||
| 308 | - echo "</div> | ||
| 309 | - </div> | ||
| 310 | - "; | ||
| 311 | - // line 100 | ||
| 312 | - echo ($context["captcha"] ?? null); | ||
| 313 | - echo " | ||
| 314 | - <div class=\"buttons clearfix\"> | ||
| 315 | - <div class=\"pull-right\"> | ||
| 316 | - <button type=\"button\" id=\"button-review\" data-loading-text=\""; | ||
| 317 | - // line 103 | ||
| 318 | - echo ($context["text_loading"] ?? null); | ||
| 319 | - echo "\" class=\"btn btn-primary\">"; | ||
| 320 | - echo ($context["button_continue"] ?? null); | ||
| 321 | - echo "</button> | ||
| 322 | - </div> | ||
| 323 | - </div> | ||
| 324 | - "; | ||
| 325 | - } else { | ||
| 326 | - // line 107 | ||
| 327 | - echo " "; | ||
| 328 | - echo ($context["text_login"] ?? null); | ||
| 329 | - echo " | ||
| 330 | - "; | ||
| 331 | - } | ||
| 332 | - // line 109 | ||
| 333 | - echo " </form> | ||
| 334 | - </div> | ||
| 335 | - "; | ||
| 336 | - } | ||
| 337 | - // line 111 | ||
| 338 | - echo "</div> | ||
| 339 | - </div> | ||
| 340 | - "; | ||
| 341 | - // line 113 | ||
| 342 | - if ((($context["column_left"] ?? null) || ($context["column_right"] ?? null))) { | ||
| 343 | - // line 114 | ||
| 344 | - echo " "; | ||
| 345 | - $context["class"] = "col-sm-6"; | ||
| 346 | - // line 115 | ||
| 347 | - echo " "; | ||
| 348 | - } else { | ||
| 349 | - // line 116 | ||
| 350 | - echo " "; | ||
| 351 | - $context["class"] = "col-sm-4"; | ||
| 352 | - // line 117 | ||
| 353 | - echo " "; | ||
| 354 | - } | ||
| 355 | - // line 118 | ||
| 356 | - echo " <div class=\""; | ||
| 357 | - echo ($context["class"] ?? null); | ||
| 358 | - echo "\"> | ||
| 359 | - <div class=\"btn-group\"> | ||
| 360 | - <button type=\"button\" data-toggle=\"tooltip\" class=\"btn btn-default\" title=\""; | ||
| 361 | - // line 120 | ||
| 362 | - echo ($context["button_wishlist"] ?? null); | ||
| 363 | - echo "\" onclick=\"wishlist.add('"; | ||
| 364 | - echo ($context["product_id"] ?? null); | ||
| 365 | - echo "');\"><i class=\"fa fa-heart\"></i></button> | ||
| 366 | - <button type=\"button\" data-toggle=\"tooltip\" class=\"btn btn-default\" title=\""; | ||
| 367 | - // line 121 | ||
| 368 | - echo ($context["button_compare"] ?? null); | ||
| 369 | - echo "\" onclick=\"compare.add('"; | ||
| 370 | - echo ($context["product_id"] ?? null); | ||
| 371 | - echo "');\"><i class=\"fa fa-exchange\"></i></button> | ||
| 372 | - </div> | ||
| 373 | - <h1>"; | ||
| 374 | - // line 123 | ||
| 375 | - echo ($context["heading_title"] ?? null); | ||
| 376 | - echo "</h1> | ||
| 377 | - <ul class=\"list-unstyled\"> | ||
| 378 | - "; | ||
| 379 | - // line 125 | ||
| 380 | - if (($context["manufacturer"] ?? null)) { | ||
| 381 | - // line 126 | ||
| 382 | - echo " <li>"; | ||
| 383 | - echo ($context["text_manufacturer"] ?? null); | ||
| 384 | - echo " <a href=\""; | ||
| 385 | - echo ($context["manufacturers"] ?? null); | ||
| 386 | - echo "\">"; | ||
| 387 | - echo ($context["manufacturer"] ?? null); | ||
| 388 | - echo "</a></li> | ||
| 389 | - "; | ||
| 390 | - } | ||
| 391 | - // line 128 | ||
| 392 | - echo " <li>"; | ||
| 393 | - echo ($context["text_model"] ?? null); | ||
| 394 | - echo " "; | ||
| 395 | - echo ($context["model"] ?? null); | ||
| 396 | - echo "</li> | ||
| 397 | - "; | ||
| 398 | - // line 129 | ||
| 399 | - if (($context["reward"] ?? null)) { | ||
| 400 | - // line 130 | ||
| 401 | - echo " <li>"; | ||
| 402 | - echo ($context["text_reward"] ?? null); | ||
| 403 | - echo " "; | ||
| 404 | - echo ($context["reward"] ?? null); | ||
| 405 | - echo "</li> | ||
| 406 | - "; | ||
| 407 | - } | ||
| 408 | - // line 132 | ||
| 409 | - echo " <li>"; | ||
| 410 | - echo ($context["text_stock"] ?? null); | ||
| 411 | - echo " "; | ||
| 412 | - echo ($context["stock"] ?? null); | ||
| 413 | - echo "</li> | ||
| 414 | - </ul> | ||
| 415 | - "; | ||
| 416 | - // line 134 | ||
| 417 | - if (($context["price"] ?? null)) { | ||
| 418 | - // line 135 | ||
| 419 | - echo " <ul class=\"list-unstyled\"> | ||
| 420 | - "; | ||
| 421 | - // line 136 | ||
| 422 | - if ( !($context["special"] ?? null)) { | ||
| 423 | - // line 137 | ||
| 424 | - echo " <li> | ||
| 425 | - <h2>"; | ||
| 426 | - // line 138 | ||
| 427 | - echo ($context["price"] ?? null); | ||
| 428 | - echo "</h2> | ||
| 429 | - </li> | ||
| 430 | - "; | ||
| 431 | - } else { | ||
| 432 | - // line 141 | ||
| 433 | - echo " <li><span style=\"text-decoration: line-through;\">"; | ||
| 434 | - echo ($context["price"] ?? null); | ||
| 435 | - echo "</span></li> | ||
| 436 | - <li> | ||
| 437 | - <h2>"; | ||
| 438 | - // line 143 | ||
| 439 | - echo ($context["special"] ?? null); | ||
| 440 | - echo "</h2> | ||
| 441 | - </li> | ||
| 442 | - "; | ||
| 443 | - } | ||
| 444 | - // line 146 | ||
| 445 | - echo " "; | ||
| 446 | - if (($context["tax"] ?? null)) { | ||
| 447 | - // line 147 | ||
| 448 | - echo " <li>"; | ||
| 449 | - echo ($context["text_tax"] ?? null); | ||
| 450 | - echo " "; | ||
| 451 | - echo ($context["tax"] ?? null); | ||
| 452 | - echo "</li> | ||
| 453 | - "; | ||
| 454 | - } | ||
| 455 | - // line 149 | ||
| 456 | - echo " "; | ||
| 457 | - if (($context["points"] ?? null)) { | ||
| 458 | - // line 150 | ||
| 459 | - echo " <li>"; | ||
| 460 | - echo ($context["text_points"] ?? null); | ||
| 461 | - echo " "; | ||
| 462 | - echo ($context["points"] ?? null); | ||
| 463 | - echo "</li> | ||
| 464 | - "; | ||
| 465 | - } | ||
| 466 | - // line 152 | ||
| 467 | - echo " "; | ||
| 468 | - if (($context["discounts"] ?? null)) { | ||
| 469 | - // line 153 | ||
| 470 | - echo " <li> | ||
| 471 | - <hr> | ||
| 472 | - </li> | ||
| 473 | - "; | ||
| 474 | - // line 156 | ||
| 475 | - $context['_parent'] = $context; | ||
| 476 | - $context['_seq'] = twig_ensure_traversable(($context["discounts"] ?? null)); | ||
| 477 | - foreach ($context['_seq'] as $context["_key"] => $context["discount"]) { | ||
| 478 | - // line 157 | ||
| 479 | - echo " <li>"; | ||
| 480 | - echo twig_get_attribute($this->env, $this->source, $context["discount"], "quantity", [], "any", false, false, false, 157); | ||
| 481 | - echo ($context["text_discount"] ?? null); | ||
| 482 | - echo twig_get_attribute($this->env, $this->source, $context["discount"], "price", [], "any", false, false, false, 157); | ||
| 483 | - echo "</li> | ||
| 484 | - "; | ||
| 485 | - } | ||
| 486 | - $_parent = $context['_parent']; | ||
| 487 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['discount'], $context['_parent'], $context['loop']); | ||
| 488 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 489 | - // line 159 | ||
| 490 | - echo " "; | ||
| 491 | - } | ||
| 492 | - // line 160 | ||
| 493 | - echo " </ul> | ||
| 494 | - "; | ||
| 495 | - } | ||
| 496 | - // line 162 | ||
| 497 | - echo " <div id=\"product\"> "; | ||
| 498 | - if (($context["options"] ?? null)) { | ||
| 499 | - // line 163 | ||
| 500 | - echo " <hr> | ||
| 501 | - <h3>"; | ||
| 502 | - // line 164 | ||
| 503 | - echo ($context["text_option"] ?? null); | ||
| 504 | - echo "</h3> | ||
| 505 | - "; | ||
| 506 | - // line 165 | ||
| 507 | - $context['_parent'] = $context; | ||
| 508 | - $context['_seq'] = twig_ensure_traversable(($context["options"] ?? null)); | ||
| 509 | - foreach ($context['_seq'] as $context["_key"] => $context["option"]) { | ||
| 510 | - // line 166 | ||
| 511 | - echo " "; | ||
| 512 | - if ((twig_get_attribute($this->env, $this->source, $context["option"], "type", [], "any", false, false, false, 166) == "select")) { | ||
| 513 | - // line 167 | ||
| 514 | - echo " <div class=\"form-group"; | ||
| 515 | - if (twig_get_attribute($this->env, $this->source, $context["option"], "required", [], "any", false, false, false, 167)) { | ||
| 516 | - echo " required "; | ||
| 517 | - } | ||
| 518 | - echo "\"> | ||
| 519 | - <label class=\"control-label\" for=\"input-option"; | ||
| 520 | - // line 168 | ||
| 521 | - echo twig_get_attribute($this->env, $this->source, $context["option"], "product_option_id", [], "any", false, false, false, 168); | ||
| 522 | - echo "\">"; | ||
| 523 | - echo twig_get_attribute($this->env, $this->source, $context["option"], "name", [], "any", false, false, false, 168); | ||
| 524 | - echo "</label> | ||
| 525 | - <select name=\"option["; | ||
| 526 | - // line 169 | ||
| 527 | - echo twig_get_attribute($this->env, $this->source, $context["option"], "product_option_id", [], "any", false, false, false, 169); | ||
| 528 | - echo "]\" id=\"input-option"; | ||
| 529 | - echo twig_get_attribute($this->env, $this->source, $context["option"], "product_option_id", [], "any", false, false, false, 169); | ||
| 530 | - echo "\" class=\"form-control\"> | ||
| 531 | - <option value=\"\">"; | ||
| 532 | - // line 170 | ||
| 533 | - echo ($context["text_select"] ?? null); | ||
| 534 | - echo "</option> | ||
| 535 | - "; | ||
| 536 | - // line 171 | ||
| 537 | - $context['_parent'] = $context; | ||
| 538 | - $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["option"], "product_option_value", [], "any", false, false, false, 171)); | ||
| 539 | - foreach ($context['_seq'] as $context["_key"] => $context["option_value"]) { | ||
| 540 | - // line 172 | ||
| 541 | - echo " <option value=\""; | ||
| 542 | - echo twig_get_attribute($this->env, $this->source, $context["option_value"], "product_option_value_id", [], "any", false, false, false, 172); | ||
| 543 | - echo "\">"; | ||
| 544 | - echo twig_get_attribute($this->env, $this->source, $context["option_value"], "name", [], "any", false, false, false, 172); | ||
| 545 | - echo " | ||
| 546 | - "; | ||
| 547 | - // line 173 | ||
| 548 | - if (twig_get_attribute($this->env, $this->source, $context["option_value"], "price", [], "any", false, false, false, 173)) { | ||
| 549 | - // line 174 | ||
| 550 | - echo " ("; | ||
| 551 | - echo twig_get_attribute($this->env, $this->source, $context["option_value"], "price_prefix", [], "any", false, false, false, 174); | ||
| 552 | - echo twig_get_attribute($this->env, $this->source, $context["option_value"], "price", [], "any", false, false, false, 174); | ||
| 553 | - echo ") | ||
| 554 | - "; | ||
| 555 | - } | ||
| 556 | - // line 175 | ||
| 557 | - echo " </option> | ||
| 558 | - "; | ||
| 559 | - } | ||
| 560 | - $_parent = $context['_parent']; | ||
| 561 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['option_value'], $context['_parent'], $context['loop']); | ||
| 562 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 563 | - // line 177 | ||
| 564 | - echo " </select> | ||
| 565 | - </div> | ||
| 566 | - "; | ||
| 567 | - } | ||
| 568 | - // line 180 | ||
| 569 | - echo " "; | ||
| 570 | - if ((twig_get_attribute($this->env, $this->source, $context["option"], "type", [], "any", false, false, false, 180) == "radio")) { | ||
| 571 | - // line 181 | ||
| 572 | - echo " <div class=\"form-group"; | ||
| 573 | - if (twig_get_attribute($this->env, $this->source, $context["option"], "required", [], "any", false, false, false, 181)) { | ||
| 574 | - echo " required "; | ||
| 575 | - } | ||
| 576 | - echo "\"> | ||
| 577 | - <label class=\"control-label\">"; | ||
| 578 | - // line 182 | ||
| 579 | - echo twig_get_attribute($this->env, $this->source, $context["option"], "name", [], "any", false, false, false, 182); | ||
| 580 | - echo "</label> | ||
| 581 | - <div id=\"input-option"; | ||
| 582 | - // line 183 | ||
| 583 | - echo twig_get_attribute($this->env, $this->source, $context["option"], "product_option_id", [], "any", false, false, false, 183); | ||
| 584 | - echo "\"> "; | ||
| 585 | - $context['_parent'] = $context; | ||
| 586 | - $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["option"], "product_option_value", [], "any", false, false, false, 183)); | ||
| 587 | - foreach ($context['_seq'] as $context["_key"] => $context["option_value"]) { | ||
| 588 | - // line 184 | ||
| 589 | - echo " <div class=\"radio\"> | ||
| 590 | - <label> | ||
| 591 | - <input type=\"radio\" name=\"option["; | ||
| 592 | - // line 186 | ||
| 593 | - echo twig_get_attribute($this->env, $this->source, $context["option"], "product_option_id", [], "any", false, false, false, 186); | ||
| 594 | - echo "]\" value=\""; | ||
| 595 | - echo twig_get_attribute($this->env, $this->source, $context["option_value"], "product_option_value_id", [], "any", false, false, false, 186); | ||
| 596 | - echo "\" /> | ||
| 597 | - "; | ||
| 598 | - // line 187 | ||
| 599 | - if (twig_get_attribute($this->env, $this->source, $context["option_value"], "image", [], "any", false, false, false, 187)) { | ||
| 600 | - echo " <img src=\""; | ||
| 601 | - echo twig_get_attribute($this->env, $this->source, $context["option_value"], "image", [], "any", false, false, false, 187); | ||
| 602 | - echo "\" alt=\""; | ||
| 603 | - echo twig_get_attribute($this->env, $this->source, $context["option_value"], "name", [], "any", false, false, false, 187); | ||
| 604 | - echo " "; | ||
| 605 | - if (twig_get_attribute($this->env, $this->source, $context["option_value"], "price", [], "any", false, false, false, 187)) { | ||
| 606 | - echo " "; | ||
| 607 | - echo twig_get_attribute($this->env, $this->source, $context["option_value"], "price_prefix", [], "any", false, false, false, 187); | ||
| 608 | - echo " "; | ||
| 609 | - echo twig_get_attribute($this->env, $this->source, $context["option_value"], "price", [], "any", false, false, false, 187); | ||
| 610 | - echo " "; | ||
| 611 | - } | ||
| 612 | - echo "\" class=\"img-thumbnail\" /> "; | ||
| 613 | - } | ||
| 614 | - echo " | ||
| 615 | - "; | ||
| 616 | - // line 188 | ||
| 617 | - echo twig_get_attribute($this->env, $this->source, $context["option_value"], "name", [], "any", false, false, false, 188); | ||
| 618 | - echo " | ||
| 619 | - "; | ||
| 620 | - // line 189 | ||
| 621 | - if (twig_get_attribute($this->env, $this->source, $context["option_value"], "price", [], "any", false, false, false, 189)) { | ||
| 622 | - // line 190 | ||
| 623 | - echo " ("; | ||
| 624 | - echo twig_get_attribute($this->env, $this->source, $context["option_value"], "price_prefix", [], "any", false, false, false, 190); | ||
| 625 | - echo twig_get_attribute($this->env, $this->source, $context["option_value"], "price", [], "any", false, false, false, 190); | ||
| 626 | - echo ") | ||
| 627 | - "; | ||
| 628 | - } | ||
| 629 | - // line 191 | ||
| 630 | - echo " </label> | ||
| 631 | - </div> | ||
| 632 | - "; | ||
| 633 | - } | ||
| 634 | - $_parent = $context['_parent']; | ||
| 635 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['option_value'], $context['_parent'], $context['loop']); | ||
| 636 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 637 | - // line 193 | ||
| 638 | - echo " </div> | ||
| 639 | - </div> | ||
| 640 | - "; | ||
| 641 | - } | ||
| 642 | - // line 196 | ||
| 643 | - echo " "; | ||
| 644 | - if ((twig_get_attribute($this->env, $this->source, $context["option"], "type", [], "any", false, false, false, 196) == "checkbox")) { | ||
| 645 | - // line 197 | ||
| 646 | - echo " <div class=\"form-group"; | ||
| 647 | - if (twig_get_attribute($this->env, $this->source, $context["option"], "required", [], "any", false, false, false, 197)) { | ||
| 648 | - echo " required "; | ||
| 649 | - } | ||
| 650 | - echo "\"> | ||
| 651 | - <label class=\"control-label\">"; | ||
| 652 | - // line 198 | ||
| 653 | - echo twig_get_attribute($this->env, $this->source, $context["option"], "name", [], "any", false, false, false, 198); | ||
| 654 | - echo "</label> | ||
| 655 | - <div id=\"input-option"; | ||
| 656 | - // line 199 | ||
| 657 | - echo twig_get_attribute($this->env, $this->source, $context["option"], "product_option_id", [], "any", false, false, false, 199); | ||
| 658 | - echo "\"> "; | ||
| 659 | - $context['_parent'] = $context; | ||
| 660 | - $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["option"], "product_option_value", [], "any", false, false, false, 199)); | ||
| 661 | - foreach ($context['_seq'] as $context["_key"] => $context["option_value"]) { | ||
| 662 | - // line 200 | ||
| 663 | - echo " <div class=\"checkbox\"> | ||
| 664 | - <label> | ||
| 665 | - <input type=\"checkbox\" name=\"option["; | ||
| 666 | - // line 202 | ||
| 667 | - echo twig_get_attribute($this->env, $this->source, $context["option"], "product_option_id", [], "any", false, false, false, 202); | ||
| 668 | - echo "][]\" value=\""; | ||
| 669 | - echo twig_get_attribute($this->env, $this->source, $context["option_value"], "product_option_value_id", [], "any", false, false, false, 202); | ||
| 670 | - echo "\" /> | ||
| 671 | - "; | ||
| 672 | - // line 203 | ||
| 673 | - if (twig_get_attribute($this->env, $this->source, $context["option_value"], "image", [], "any", false, false, false, 203)) { | ||
| 674 | - echo " <img src=\""; | ||
| 675 | - echo twig_get_attribute($this->env, $this->source, $context["option_value"], "image", [], "any", false, false, false, 203); | ||
| 676 | - echo "\" alt=\""; | ||
| 677 | - echo twig_get_attribute($this->env, $this->source, $context["option_value"], "name", [], "any", false, false, false, 203); | ||
| 678 | - echo " "; | ||
| 679 | - if (twig_get_attribute($this->env, $this->source, $context["option_value"], "price", [], "any", false, false, false, 203)) { | ||
| 680 | - echo " "; | ||
| 681 | - echo twig_get_attribute($this->env, $this->source, $context["option_value"], "price_prefix", [], "any", false, false, false, 203); | ||
| 682 | - echo " "; | ||
| 683 | - echo twig_get_attribute($this->env, $this->source, $context["option_value"], "price", [], "any", false, false, false, 203); | ||
| 684 | - echo " "; | ||
| 685 | - } | ||
| 686 | - echo "\" class=\"img-thumbnail\" /> "; | ||
| 687 | - } | ||
| 688 | - // line 204 | ||
| 689 | - echo " "; | ||
| 690 | - echo twig_get_attribute($this->env, $this->source, $context["option_value"], "name", [], "any", false, false, false, 204); | ||
| 691 | - echo " | ||
| 692 | - "; | ||
| 693 | - // line 205 | ||
| 694 | - if (twig_get_attribute($this->env, $this->source, $context["option_value"], "price", [], "any", false, false, false, 205)) { | ||
| 695 | - // line 206 | ||
| 696 | - echo " ("; | ||
| 697 | - echo twig_get_attribute($this->env, $this->source, $context["option_value"], "price_prefix", [], "any", false, false, false, 206); | ||
| 698 | - echo twig_get_attribute($this->env, $this->source, $context["option_value"], "price", [], "any", false, false, false, 206); | ||
| 699 | - echo ") | ||
| 700 | - "; | ||
| 701 | - } | ||
| 702 | - // line 207 | ||
| 703 | - echo " </label> | ||
| 704 | - </div> | ||
| 705 | - "; | ||
| 706 | - } | ||
| 707 | - $_parent = $context['_parent']; | ||
| 708 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['option_value'], $context['_parent'], $context['loop']); | ||
| 709 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 710 | - // line 209 | ||
| 711 | - echo " </div> | ||
| 712 | - </div> | ||
| 713 | - "; | ||
| 714 | - } | ||
| 715 | - // line 212 | ||
| 716 | - echo " "; | ||
| 717 | - if ((twig_get_attribute($this->env, $this->source, $context["option"], "type", [], "any", false, false, false, 212) == "text")) { | ||
| 718 | - // line 213 | ||
| 719 | - echo " <div class=\"form-group"; | ||
| 720 | - if (twig_get_attribute($this->env, $this->source, $context["option"], "required", [], "any", false, false, false, 213)) { | ||
| 721 | - echo " required "; | ||
| 722 | - } | ||
| 723 | - echo "\"> | ||
| 724 | - <label class=\"control-label\" for=\"input-option"; | ||
| 725 | - // line 214 | ||
| 726 | - echo twig_get_attribute($this->env, $this->source, $context["option"], "product_option_id", [], "any", false, false, false, 214); | ||
| 727 | - echo "\">"; | ||
| 728 | - echo twig_get_attribute($this->env, $this->source, $context["option"], "name", [], "any", false, false, false, 214); | ||
| 729 | - echo "</label> | ||
| 730 | - <input type=\"text\" name=\"option["; | ||
| 731 | - // line 215 | ||
| 732 | - echo twig_get_attribute($this->env, $this->source, $context["option"], "product_option_id", [], "any", false, false, false, 215); | ||
| 733 | - echo "]\" value=\""; | ||
| 734 | - echo twig_get_attribute($this->env, $this->source, $context["option"], "value", [], "any", false, false, false, 215); | ||
| 735 | - echo "\" placeholder=\""; | ||
| 736 | - echo twig_get_attribute($this->env, $this->source, $context["option"], "name", [], "any", false, false, false, 215); | ||
| 737 | - echo "\" id=\"input-option"; | ||
| 738 | - echo twig_get_attribute($this->env, $this->source, $context["option"], "product_option_id", [], "any", false, false, false, 215); | ||
| 739 | - echo "\" class=\"form-control\" /> | ||
| 740 | - </div> | ||
| 741 | - "; | ||
| 742 | - } | ||
| 743 | - // line 218 | ||
| 744 | - echo " "; | ||
| 745 | - if ((twig_get_attribute($this->env, $this->source, $context["option"], "type", [], "any", false, false, false, 218) == "textarea")) { | ||
| 746 | - // line 219 | ||
| 747 | - echo " <div class=\"form-group"; | ||
| 748 | - if (twig_get_attribute($this->env, $this->source, $context["option"], "required", [], "any", false, false, false, 219)) { | ||
| 749 | - echo " required "; | ||
| 750 | - } | ||
| 751 | - echo "\"> | ||
| 752 | - <label class=\"control-label\" for=\"input-option"; | ||
| 753 | - // line 220 | ||
| 754 | - echo twig_get_attribute($this->env, $this->source, $context["option"], "product_option_id", [], "any", false, false, false, 220); | ||
| 755 | - echo "\">"; | ||
| 756 | - echo twig_get_attribute($this->env, $this->source, $context["option"], "name", [], "any", false, false, false, 220); | ||
| 757 | - echo "</label> | ||
| 758 | - <textarea name=\"option["; | ||
| 759 | - // line 221 | ||
| 760 | - echo twig_get_attribute($this->env, $this->source, $context["option"], "product_option_id", [], "any", false, false, false, 221); | ||
| 761 | - echo "]\" rows=\"5\" placeholder=\""; | ||
| 762 | - echo twig_get_attribute($this->env, $this->source, $context["option"], "name", [], "any", false, false, false, 221); | ||
| 763 | - echo "\" id=\"input-option"; | ||
| 764 | - echo twig_get_attribute($this->env, $this->source, $context["option"], "product_option_id", [], "any", false, false, false, 221); | ||
| 765 | - echo "\" class=\"form-control\">"; | ||
| 766 | - echo twig_get_attribute($this->env, $this->source, $context["option"], "value", [], "any", false, false, false, 221); | ||
| 767 | - echo "</textarea> | ||
| 768 | - </div> | ||
| 769 | - "; | ||
| 770 | - } | ||
| 771 | - // line 224 | ||
| 772 | - echo " "; | ||
| 773 | - if ((twig_get_attribute($this->env, $this->source, $context["option"], "type", [], "any", false, false, false, 224) == "file")) { | ||
| 774 | - // line 225 | ||
| 775 | - echo " <div class=\"form-group"; | ||
| 776 | - if (twig_get_attribute($this->env, $this->source, $context["option"], "required", [], "any", false, false, false, 225)) { | ||
| 777 | - echo " required "; | ||
| 778 | - } | ||
| 779 | - echo "\"> | ||
| 780 | - <label class=\"control-label\">"; | ||
| 781 | - // line 226 | ||
| 782 | - echo twig_get_attribute($this->env, $this->source, $context["option"], "name", [], "any", false, false, false, 226); | ||
| 783 | - echo "</label> | ||
| 784 | - <button type=\"button\" id=\"button-upload"; | ||
| 785 | - // line 227 | ||
| 786 | - echo twig_get_attribute($this->env, $this->source, $context["option"], "product_option_id", [], "any", false, false, false, 227); | ||
| 787 | - echo "\" data-loading-text=\""; | ||
| 788 | - echo ($context["text_loading"] ?? null); | ||
| 789 | - echo "\" class=\"btn btn-default btn-block\"><i class=\"fa fa-upload\"></i> "; | ||
| 790 | - echo ($context["button_upload"] ?? null); | ||
| 791 | - echo "</button> | ||
| 792 | - <input type=\"hidden\" name=\"option["; | ||
| 793 | - // line 228 | ||
| 794 | - echo twig_get_attribute($this->env, $this->source, $context["option"], "product_option_id", [], "any", false, false, false, 228); | ||
| 795 | - echo "]\" value=\"\" id=\"input-option"; | ||
| 796 | - echo twig_get_attribute($this->env, $this->source, $context["option"], "product_option_id", [], "any", false, false, false, 228); | ||
| 797 | - echo "\" /> | ||
| 798 | - </div> | ||
| 799 | - "; | ||
| 800 | - } | ||
| 801 | - // line 231 | ||
| 802 | - echo " "; | ||
| 803 | - if ((twig_get_attribute($this->env, $this->source, $context["option"], "type", [], "any", false, false, false, 231) == "date")) { | ||
| 804 | - // line 232 | ||
| 805 | - echo " <div class=\"form-group"; | ||
| 806 | - if (twig_get_attribute($this->env, $this->source, $context["option"], "required", [], "any", false, false, false, 232)) { | ||
| 807 | - echo " required "; | ||
| 808 | - } | ||
| 809 | - echo "\"> | ||
| 810 | - <label class=\"control-label\" for=\"input-option"; | ||
| 811 | - // line 233 | ||
| 812 | - echo twig_get_attribute($this->env, $this->source, $context["option"], "product_option_id", [], "any", false, false, false, 233); | ||
| 813 | - echo "\">"; | ||
| 814 | - echo twig_get_attribute($this->env, $this->source, $context["option"], "name", [], "any", false, false, false, 233); | ||
| 815 | - echo "</label> | ||
| 816 | - <div class=\"input-group date\"> | ||
| 817 | - <input type=\"text\" name=\"option["; | ||
| 818 | - // line 235 | ||
| 819 | - echo twig_get_attribute($this->env, $this->source, $context["option"], "product_option_id", [], "any", false, false, false, 235); | ||
| 820 | - echo "]\" value=\""; | ||
| 821 | - echo twig_get_attribute($this->env, $this->source, $context["option"], "value", [], "any", false, false, false, 235); | ||
| 822 | - echo "\" data-date-format=\"YYYY-MM-DD\" id=\"input-option"; | ||
| 823 | - echo twig_get_attribute($this->env, $this->source, $context["option"], "product_option_id", [], "any", false, false, false, 235); | ||
| 824 | - echo "\" class=\"form-control\" /> | ||
| 825 | - <span class=\"input-group-btn\"> | ||
| 826 | - <button class=\"btn btn-default\" type=\"button\"><i class=\"fa fa-calendar\"></i></button> | ||
| 827 | - </span></div> | ||
| 828 | - </div> | ||
| 829 | - "; | ||
| 830 | - } | ||
| 831 | - // line 241 | ||
| 832 | - echo " "; | ||
| 833 | - if ((twig_get_attribute($this->env, $this->source, $context["option"], "type", [], "any", false, false, false, 241) == "datetime")) { | ||
| 834 | - // line 242 | ||
| 835 | - echo " <div class=\"form-group"; | ||
| 836 | - if (twig_get_attribute($this->env, $this->source, $context["option"], "required", [], "any", false, false, false, 242)) { | ||
| 837 | - echo " required "; | ||
| 838 | - } | ||
| 839 | - echo "\"> | ||
| 840 | - <label class=\"control-label\" for=\"input-option"; | ||
| 841 | - // line 243 | ||
| 842 | - echo twig_get_attribute($this->env, $this->source, $context["option"], "product_option_id", [], "any", false, false, false, 243); | ||
| 843 | - echo "\">"; | ||
| 844 | - echo twig_get_attribute($this->env, $this->source, $context["option"], "name", [], "any", false, false, false, 243); | ||
| 845 | - echo "</label> | ||
| 846 | - <div class=\"input-group datetime\"> | ||
| 847 | - <input type=\"text\" name=\"option["; | ||
| 848 | - // line 245 | ||
| 849 | - echo twig_get_attribute($this->env, $this->source, $context["option"], "product_option_id", [], "any", false, false, false, 245); | ||
| 850 | - echo "]\" value=\""; | ||
| 851 | - echo twig_get_attribute($this->env, $this->source, $context["option"], "value", [], "any", false, false, false, 245); | ||
| 852 | - echo "\" data-date-format=\"YYYY-MM-DD HH:mm\" id=\"input-option"; | ||
| 853 | - echo twig_get_attribute($this->env, $this->source, $context["option"], "product_option_id", [], "any", false, false, false, 245); | ||
| 854 | - echo "\" class=\"form-control\" /> | ||
| 855 | - <span class=\"input-group-btn\"> | ||
| 856 | - <button type=\"button\" class=\"btn btn-default\"><i class=\"fa fa-calendar\"></i></button> | ||
| 857 | - </span></div> | ||
| 858 | - </div> | ||
| 859 | - "; | ||
| 860 | - } | ||
| 861 | - // line 251 | ||
| 862 | - echo " "; | ||
| 863 | - if ((twig_get_attribute($this->env, $this->source, $context["option"], "type", [], "any", false, false, false, 251) == "time")) { | ||
| 864 | - // line 252 | ||
| 865 | - echo " <div class=\"form-group"; | ||
| 866 | - if (twig_get_attribute($this->env, $this->source, $context["option"], "required", [], "any", false, false, false, 252)) { | ||
| 867 | - echo " required "; | ||
| 868 | - } | ||
| 869 | - echo "\"> | ||
| 870 | - <label class=\"control-label\" for=\"input-option"; | ||
| 871 | - // line 253 | ||
| 872 | - echo twig_get_attribute($this->env, $this->source, $context["option"], "product_option_id", [], "any", false, false, false, 253); | ||
| 873 | - echo "\">"; | ||
| 874 | - echo twig_get_attribute($this->env, $this->source, $context["option"], "name", [], "any", false, false, false, 253); | ||
| 875 | - echo "</label> | ||
| 876 | - <div class=\"input-group time\"> | ||
| 877 | - <input type=\"text\" name=\"option["; | ||
| 878 | - // line 255 | ||
| 879 | - echo twig_get_attribute($this->env, $this->source, $context["option"], "product_option_id", [], "any", false, false, false, 255); | ||
| 880 | - echo "]\" value=\""; | ||
| 881 | - echo twig_get_attribute($this->env, $this->source, $context["option"], "value", [], "any", false, false, false, 255); | ||
| 882 | - echo "\" data-date-format=\"HH:mm\" id=\"input-option"; | ||
| 883 | - echo twig_get_attribute($this->env, $this->source, $context["option"], "product_option_id", [], "any", false, false, false, 255); | ||
| 884 | - echo "\" class=\"form-control\" /> | ||
| 885 | - <span class=\"input-group-btn\"> | ||
| 886 | - <button type=\"button\" class=\"btn btn-default\"><i class=\"fa fa-calendar\"></i></button> | ||
| 887 | - </span></div> | ||
| 888 | - </div> | ||
| 889 | - "; | ||
| 890 | - } | ||
| 891 | - // line 261 | ||
| 892 | - echo " "; | ||
| 893 | - } | ||
| 894 | - $_parent = $context['_parent']; | ||
| 895 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['option'], $context['_parent'], $context['loop']); | ||
| 896 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 897 | - // line 262 | ||
| 898 | - echo " "; | ||
| 899 | - } | ||
| 900 | - // line 263 | ||
| 901 | - echo " "; | ||
| 902 | - if (($context["recurrings"] ?? null)) { | ||
| 903 | - // line 264 | ||
| 904 | - echo " <hr> | ||
| 905 | - <h3>"; | ||
| 906 | - // line 265 | ||
| 907 | - echo ($context["text_payment_recurring"] ?? null); | ||
| 908 | - echo "</h3> | ||
| 909 | - <div class=\"form-group required\"> | ||
| 910 | - <select name=\"recurring_id\" class=\"form-control\"> | ||
| 911 | - <option value=\"\">"; | ||
| 912 | - // line 268 | ||
| 913 | - echo ($context["text_select"] ?? null); | ||
| 914 | - echo "</option> | ||
| 915 | - "; | ||
| 916 | - // line 269 | ||
| 917 | - $context['_parent'] = $context; | ||
| 918 | - $context['_seq'] = twig_ensure_traversable(($context["recurrings"] ?? null)); | ||
| 919 | - foreach ($context['_seq'] as $context["_key"] => $context["recurring"]) { | ||
| 920 | - // line 270 | ||
| 921 | - echo " <option value=\""; | ||
| 922 | - echo twig_get_attribute($this->env, $this->source, $context["recurring"], "recurring_id", [], "any", false, false, false, 270); | ||
| 923 | - echo "\">"; | ||
| 924 | - echo twig_get_attribute($this->env, $this->source, $context["recurring"], "name", [], "any", false, false, false, 270); | ||
| 925 | - echo "</option> | ||
| 926 | - "; | ||
| 927 | - } | ||
| 928 | - $_parent = $context['_parent']; | ||
| 929 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['recurring'], $context['_parent'], $context['loop']); | ||
| 930 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 931 | - // line 272 | ||
| 932 | - echo " </select> | ||
| 933 | - <div class=\"help-block\" id=\"recurring-description\"></div> | ||
| 934 | - </div> | ||
| 935 | - "; | ||
| 936 | - } | ||
| 937 | - // line 276 | ||
| 938 | - echo " <div class=\"form-group\"> | ||
| 939 | - <label class=\"control-label\" for=\"input-quantity\">"; | ||
| 940 | - // line 277 | ||
| 941 | - echo ($context["entry_qty"] ?? null); | ||
| 942 | - echo "</label> | ||
| 943 | - <input type=\"text\" name=\"quantity\" value=\""; | ||
| 944 | - // line 278 | ||
| 945 | - echo ($context["minimum"] ?? null); | ||
| 946 | - echo "\" size=\"2\" id=\"input-quantity\" class=\"form-control\" /> | ||
| 947 | - <input type=\"hidden\" name=\"product_id\" value=\""; | ||
| 948 | - // line 279 | ||
| 949 | - echo ($context["product_id"] ?? null); | ||
| 950 | - echo "\" /> | ||
| 951 | - <br /> | ||
| 952 | - <button type=\"button\" id=\"button-cart\" data-loading-text=\""; | ||
| 953 | - // line 281 | ||
| 954 | - echo ($context["text_loading"] ?? null); | ||
| 955 | - echo "\" class=\"btn btn-primary btn-lg btn-block\">"; | ||
| 956 | - echo ($context["button_cart"] ?? null); | ||
| 957 | - echo "</button> | ||
| 958 | - </div> | ||
| 959 | - "; | ||
| 960 | - // line 283 | ||
| 961 | - if ((($context["minimum"] ?? null) > 1)) { | ||
| 962 | - // line 284 | ||
| 963 | - echo " <div class=\"alert alert-info\"><i class=\"fa fa-info-circle\"></i> "; | ||
| 964 | - echo ($context["text_minimum"] ?? null); | ||
| 965 | - echo "</div> | ||
| 966 | - "; | ||
| 967 | - } | ||
| 968 | - // line 285 | ||
| 969 | - echo "</div> | ||
| 970 | - "; | ||
| 971 | - // line 286 | ||
| 972 | - if (($context["review_status"] ?? null)) { | ||
| 973 | - // line 287 | ||
| 974 | - echo " <div class=\"rating\"> | ||
| 975 | - <p>"; | ||
| 976 | - // line 288 | ||
| 977 | - $context['_parent'] = $context; | ||
| 978 | - $context['_seq'] = twig_ensure_traversable(range(1, 5)); | ||
| 979 | - foreach ($context['_seq'] as $context["_key"] => $context["i"]) { | ||
| 980 | - // line 289 | ||
| 981 | - echo " "; | ||
| 982 | - if ((($context["rating"] ?? null) < $context["i"])) { | ||
| 983 | - echo "<span class=\"fa fa-stack\"><i class=\"fa fa-star-o fa-stack-1x\"></i></span>"; | ||
| 984 | - } else { | ||
| 985 | - echo "<span class=\"fa fa-stack\"><i class=\"fa fa-star fa-stack-1x\"></i><i class=\"fa fa-star-o fa-stack-1x\"></i></span>"; | ||
| 986 | - } | ||
| 987 | - // line 290 | ||
| 988 | - echo " "; | ||
| 989 | - } | ||
| 990 | - $_parent = $context['_parent']; | ||
| 991 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']); | ||
| 992 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 993 | - echo " <a href=\"\" onclick=\"\$('a[href=\\'#tab-review\\']').trigger('click'); return false;\">"; | ||
| 994 | - echo ($context["reviews"] ?? null); | ||
| 995 | - echo "</a> / <a href=\"\" onclick=\"\$('a[href=\\'#tab-review\\']').trigger('click'); return false;\">"; | ||
| 996 | - echo ($context["text_write"] ?? null); | ||
| 997 | - echo "</a></p> | ||
| 998 | - <hr> | ||
| 999 | - <!-- AddThis Button BEGIN --> | ||
| 1000 | - <div class=\"addthis_toolbox addthis_default_style\" data-url=\""; | ||
| 1001 | - // line 293 | ||
| 1002 | - echo ($context["share"] ?? null); | ||
| 1003 | - echo "\"><a class=\"addthis_button_facebook_like\" fb:like:layout=\"button_count\"></a> <a class=\"addthis_button_tweet\"></a> <a class=\"addthis_button_pinterest_pinit\"></a> <a class=\"addthis_counter addthis_pill_style\"></a></div> | ||
| 1004 | - <script type=\"text/javascript\" src=\"//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-515eeaf54693130e\"></script> | ||
| 1005 | - <!-- AddThis Button END --> | ||
| 1006 | - </div> | ||
| 1007 | - "; | ||
| 1008 | - } | ||
| 1009 | - // line 297 | ||
| 1010 | - echo " </div> | ||
| 1011 | - </div> | ||
| 1012 | - "; | ||
| 1013 | - // line 299 | ||
| 1014 | - if (($context["products"] ?? null)) { | ||
| 1015 | - // line 300 | ||
| 1016 | - echo " <h3>"; | ||
| 1017 | - echo ($context["text_related"] ?? null); | ||
| 1018 | - echo "</h3> | ||
| 1019 | - <div class=\"row\"> "; | ||
| 1020 | - // line 301 | ||
| 1021 | - $context["i"] = 0; | ||
| 1022 | - // line 302 | ||
| 1023 | - echo " "; | ||
| 1024 | - $context['_parent'] = $context; | ||
| 1025 | - $context['_seq'] = twig_ensure_traversable(($context["products"] ?? null)); | ||
| 1026 | - foreach ($context['_seq'] as $context["_key"] => $context["product"]) { | ||
| 1027 | - // line 303 | ||
| 1028 | - echo " "; | ||
| 1029 | - if ((($context["column_left"] ?? null) && ($context["column_right"] ?? null))) { | ||
| 1030 | - // line 304 | ||
| 1031 | - echo " "; | ||
| 1032 | - $context["class"] = "col-xs-8 col-sm-6"; | ||
| 1033 | - // line 305 | ||
| 1034 | - echo " "; | ||
| 1035 | - } elseif ((($context["column_left"] ?? null) || ($context["column_right"] ?? null))) { | ||
| 1036 | - // line 306 | ||
| 1037 | - echo " "; | ||
| 1038 | - $context["class"] = "col-xs-6 col-md-4"; | ||
| 1039 | - // line 307 | ||
| 1040 | - echo " "; | ||
| 1041 | - } else { | ||
| 1042 | - // line 308 | ||
| 1043 | - echo " "; | ||
| 1044 | - $context["class"] = "col-xs-6 col-sm-3"; | ||
| 1045 | - // line 309 | ||
| 1046 | - echo " "; | ||
| 1047 | - } | ||
| 1048 | - // line 310 | ||
| 1049 | - echo " <div class=\""; | ||
| 1050 | - echo ($context["class"] ?? null); | ||
| 1051 | - echo "\"> | ||
| 1052 | - <div class=\"product-thumb transition\"> | ||
| 1053 | - <div class=\"image\"><a href=\""; | ||
| 1054 | - // line 312 | ||
| 1055 | - echo twig_get_attribute($this->env, $this->source, $context["product"], "href", [], "any", false, false, false, 312); | ||
| 1056 | - echo "\"><img src=\""; | ||
| 1057 | - echo twig_get_attribute($this->env, $this->source, $context["product"], "thumb", [], "any", false, false, false, 312); | ||
| 1058 | - echo "\" alt=\""; | ||
| 1059 | - echo twig_get_attribute($this->env, $this->source, $context["product"], "name", [], "any", false, false, false, 312); | ||
| 1060 | - echo "\" title=\""; | ||
| 1061 | - echo twig_get_attribute($this->env, $this->source, $context["product"], "name", [], "any", false, false, false, 312); | ||
| 1062 | - echo "\" class=\"img-responsive\" /></a></div> | ||
| 1063 | - <div class=\"caption\"> | ||
| 1064 | - <h4><a href=\""; | ||
| 1065 | - // line 314 | ||
| 1066 | - echo twig_get_attribute($this->env, $this->source, $context["product"], "href", [], "any", false, false, false, 314); | ||
| 1067 | - echo "\">"; | ||
| 1068 | - echo twig_get_attribute($this->env, $this->source, $context["product"], "name", [], "any", false, false, false, 314); | ||
| 1069 | - echo "</a></h4> | ||
| 1070 | - <p>"; | ||
| 1071 | - // line 315 | ||
| 1072 | - echo twig_get_attribute($this->env, $this->source, $context["product"], "description", [], "any", false, false, false, 315); | ||
| 1073 | - echo "</p> | ||
| 1074 | - "; | ||
| 1075 | - // line 316 | ||
| 1076 | - if (twig_get_attribute($this->env, $this->source, $context["product"], "rating", [], "any", false, false, false, 316)) { | ||
| 1077 | - // line 317 | ||
| 1078 | - echo " <div class=\"rating\"> "; | ||
| 1079 | - $context['_parent'] = $context; | ||
| 1080 | - $context['_seq'] = twig_ensure_traversable(range(1, 5)); | ||
| 1081 | - foreach ($context['_seq'] as $context["_key"] => $context["j"]) { | ||
| 1082 | - // line 318 | ||
| 1083 | - echo " "; | ||
| 1084 | - if ((twig_get_attribute($this->env, $this->source, $context["product"], "rating", [], "any", false, false, false, 318) < $context["j"])) { | ||
| 1085 | - echo " <span class=\"fa fa-stack\"><i class=\"fa fa-star-o fa-stack-1x\"></i></span> "; | ||
| 1086 | - } else { | ||
| 1087 | - echo " <span class=\"fa fa-stack\"><i class=\"fa fa-star fa-stack-1x\"></i><i class=\"fa fa-star-o fa-stack-1x\"></i></span> "; | ||
| 1088 | - } | ||
| 1089 | - // line 319 | ||
| 1090 | - echo " "; | ||
| 1091 | - } | ||
| 1092 | - $_parent = $context['_parent']; | ||
| 1093 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['j'], $context['_parent'], $context['loop']); | ||
| 1094 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 1095 | - echo " </div> | ||
| 1096 | - "; | ||
| 1097 | - } | ||
| 1098 | - // line 321 | ||
| 1099 | - echo " "; | ||
| 1100 | - if (twig_get_attribute($this->env, $this->source, $context["product"], "price", [], "any", false, false, false, 321)) { | ||
| 1101 | - // line 322 | ||
| 1102 | - echo " <p class=\"price\"> "; | ||
| 1103 | - if ( !twig_get_attribute($this->env, $this->source, $context["product"], "special", [], "any", false, false, false, 322)) { | ||
| 1104 | - // line 323 | ||
| 1105 | - echo " "; | ||
| 1106 | - echo twig_get_attribute($this->env, $this->source, $context["product"], "price", [], "any", false, false, false, 323); | ||
| 1107 | - echo " | ||
| 1108 | - "; | ||
| 1109 | - } else { | ||
| 1110 | - // line 324 | ||
| 1111 | - echo " <span class=\"price-new\">"; | ||
| 1112 | - echo twig_get_attribute($this->env, $this->source, $context["product"], "special", [], "any", false, false, false, 324); | ||
| 1113 | - echo "</span> <span class=\"price-old\">"; | ||
| 1114 | - echo twig_get_attribute($this->env, $this->source, $context["product"], "price", [], "any", false, false, false, 324); | ||
| 1115 | - echo "</span> "; | ||
| 1116 | - } | ||
| 1117 | - // line 325 | ||
| 1118 | - echo " "; | ||
| 1119 | - if (twig_get_attribute($this->env, $this->source, $context["product"], "tax", [], "any", false, false, false, 325)) { | ||
| 1120 | - echo " <span class=\"price-tax\">"; | ||
| 1121 | - echo ($context["text_tax"] ?? null); | ||
| 1122 | - echo " "; | ||
| 1123 | - echo twig_get_attribute($this->env, $this->source, $context["product"], "tax", [], "any", false, false, false, 325); | ||
| 1124 | - echo "</span> "; | ||
| 1125 | - } | ||
| 1126 | - echo " </p> | ||
| 1127 | - "; | ||
| 1128 | - } | ||
| 1129 | - // line 326 | ||
| 1130 | - echo " </div> | ||
| 1131 | - <div class=\"button-group\"> | ||
| 1132 | - <button type=\"button\" onclick=\"cart.add('"; | ||
| 1133 | - // line 328 | ||
| 1134 | - echo twig_get_attribute($this->env, $this->source, $context["product"], "product_id", [], "any", false, false, false, 328); | ||
| 1135 | - echo "', '"; | ||
| 1136 | - echo twig_get_attribute($this->env, $this->source, $context["product"], "minimum", [], "any", false, false, false, 328); | ||
| 1137 | - echo "');\"><span class=\"hidden-xs hidden-sm hidden-md\">"; | ||
| 1138 | - echo ($context["button_cart"] ?? null); | ||
| 1139 | - echo "</span> <i class=\"fa fa-shopping-cart\"></i></button> | ||
| 1140 | - <button type=\"button\" data-toggle=\"tooltip\" title=\""; | ||
| 1141 | - // line 329 | ||
| 1142 | - echo ($context["button_wishlist"] ?? null); | ||
| 1143 | - echo "\" onclick=\"wishlist.add('"; | ||
| 1144 | - echo twig_get_attribute($this->env, $this->source, $context["product"], "product_id", [], "any", false, false, false, 329); | ||
| 1145 | - echo "');\"><i class=\"fa fa-heart\"></i></button> | ||
| 1146 | - <button type=\"button\" data-toggle=\"tooltip\" title=\""; | ||
| 1147 | - // line 330 | ||
| 1148 | - echo ($context["button_compare"] ?? null); | ||
| 1149 | - echo "\" onclick=\"compare.add('"; | ||
| 1150 | - echo twig_get_attribute($this->env, $this->source, $context["product"], "product_id", [], "any", false, false, false, 330); | ||
| 1151 | - echo "');\"><i class=\"fa fa-exchange\"></i></button> | ||
| 1152 | - </div> | ||
| 1153 | - </div> | ||
| 1154 | - </div> | ||
| 1155 | - "; | ||
| 1156 | - // line 334 | ||
| 1157 | - if (((($context["column_left"] ?? null) && ($context["column_right"] ?? null)) && (((($context["i"] ?? null) + 1) % 2) == 0))) { | ||
| 1158 | - // line 335 | ||
| 1159 | - echo " <div class=\"clearfix visible-md visible-sm\"></div> | ||
| 1160 | - "; | ||
| 1161 | - } elseif (( // line 336 | ||
| 1162 | -($context["column_left"] ?? null) || (($context["column_right"] ?? null) && (((($context["i"] ?? null) + 1) % 3) == 0)))) { | ||
| 1163 | - // line 337 | ||
| 1164 | - echo " <div class=\"clearfix visible-md\"></div> | ||
| 1165 | - "; | ||
| 1166 | - } elseif (((( // line 338 | ||
| 1167 | -($context["i"] ?? null) + 1) % 4) == 0)) { | ||
| 1168 | - // line 339 | ||
| 1169 | - echo " <div class=\"clearfix visible-md\"></div> | ||
| 1170 | - "; | ||
| 1171 | - } | ||
| 1172 | - // line 341 | ||
| 1173 | - echo " "; | ||
| 1174 | - $context["i"] = (($context["i"] ?? null) + 1); | ||
| 1175 | - // line 342 | ||
| 1176 | - echo " "; | ||
| 1177 | - } | ||
| 1178 | - $_parent = $context['_parent']; | ||
| 1179 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['product'], $context['_parent'], $context['loop']); | ||
| 1180 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 1181 | - echo " </div> | ||
| 1182 | - "; | ||
| 1183 | - } | ||
| 1184 | - // line 344 | ||
| 1185 | - echo " "; | ||
| 1186 | - if (($context["tags"] ?? null)) { | ||
| 1187 | - // line 345 | ||
| 1188 | - echo " <p>"; | ||
| 1189 | - echo ($context["text_tags"] ?? null); | ||
| 1190 | - echo " | ||
| 1191 | - "; | ||
| 1192 | - // line 346 | ||
| 1193 | - $context['_parent'] = $context; | ||
| 1194 | - $context['_seq'] = twig_ensure_traversable(range(0, (twig_length_filter($this->env, ($context["tags"] ?? null)) - 1))); | ||
| 1195 | - foreach ($context['_seq'] as $context["_key"] => $context["i"]) { | ||
| 1196 | - // line 347 | ||
| 1197 | - echo " "; | ||
| 1198 | - if (($context["i"] < (twig_length_filter($this->env, ($context["tags"] ?? null)) - 1))) { | ||
| 1199 | - echo " <a href=\""; | ||
| 1200 | - echo twig_get_attribute($this->env, $this->source, (($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4 = ($context["tags"] ?? null)) && is_array($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4) || $__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4 instanceof ArrayAccess ? ($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4[$context["i"]] ?? null) : null), "href", [], "any", false, false, false, 347); | ||
| 1201 | - echo "\">"; | ||
| 1202 | - echo twig_get_attribute($this->env, $this->source, (($__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144 = ($context["tags"] ?? null)) && is_array($__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144) || $__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144 instanceof ArrayAccess ? ($__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144[$context["i"]] ?? null) : null), "tag", [], "any", false, false, false, 347); | ||
| 1203 | - echo "</a>, | ||
| 1204 | - "; | ||
| 1205 | - } else { | ||
| 1206 | - // line 348 | ||
| 1207 | - echo " <a href=\""; | ||
| 1208 | - echo twig_get_attribute($this->env, $this->source, (($__internal_1cfccaec8dd2e8578ccb026fbe7f2e7e29ac2ed5deb976639c5fc99a6ea8583b = ($context["tags"] ?? null)) && is_array($__internal_1cfccaec8dd2e8578ccb026fbe7f2e7e29ac2ed5deb976639c5fc99a6ea8583b) || $__internal_1cfccaec8dd2e8578ccb026fbe7f2e7e29ac2ed5deb976639c5fc99a6ea8583b instanceof ArrayAccess ? ($__internal_1cfccaec8dd2e8578ccb026fbe7f2e7e29ac2ed5deb976639c5fc99a6ea8583b[$context["i"]] ?? null) : null), "href", [], "any", false, false, false, 348); | ||
| 1209 | - echo "\">"; | ||
| 1210 | - echo twig_get_attribute($this->env, $this->source, (($__internal_68aa442c1d43d3410ea8f958ba9090f3eaa9a76f8de8fc9be4d6c7389ba28002 = ($context["tags"] ?? null)) && is_array($__internal_68aa442c1d43d3410ea8f958ba9090f3eaa9a76f8de8fc9be4d6c7389ba28002) || $__internal_68aa442c1d43d3410ea8f958ba9090f3eaa9a76f8de8fc9be4d6c7389ba28002 instanceof ArrayAccess ? ($__internal_68aa442c1d43d3410ea8f958ba9090f3eaa9a76f8de8fc9be4d6c7389ba28002[$context["i"]] ?? null) : null), "tag", [], "any", false, false, false, 348); | ||
| 1211 | - echo "</a> "; | ||
| 1212 | - } | ||
| 1213 | - // line 349 | ||
| 1214 | - echo " "; | ||
| 1215 | - } | ||
| 1216 | - $_parent = $context['_parent']; | ||
| 1217 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']); | ||
| 1218 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 1219 | - echo " </p> | ||
| 1220 | - "; | ||
| 1221 | - } | ||
| 1222 | - // line 351 | ||
| 1223 | - echo " "; | ||
| 1224 | - echo ($context["content_bottom"] ?? null); | ||
| 1225 | - echo "</div> | ||
| 1226 | - "; | ||
| 1227 | - // line 352 | ||
| 1228 | - echo ($context["column_right"] ?? null); | ||
| 1229 | - echo "</div> | ||
| 1230 | -</div> | ||
| 1231 | -<script type=\"text/javascript\"><!-- | ||
| 1232 | -\$('select[name=\\'recurring_id\\'], input[name=\"quantity\"]').change(function(){ | ||
| 1233 | -\t\$.ajax({ | ||
| 1234 | -\t\turl: 'index.php?route=product/product/getRecurringDescription', | ||
| 1235 | -\t\ttype: 'post', | ||
| 1236 | -\t\tdata: \$('input[name=\\'product_id\\'], input[name=\\'quantity\\'], select[name=\\'recurring_id\\']'), | ||
| 1237 | -\t\tdataType: 'json', | ||
| 1238 | -\t\tbeforeSend: function() { | ||
| 1239 | -\t\t\t\$('#recurring-description').html(''); | ||
| 1240 | -\t\t}, | ||
| 1241 | -\t\tsuccess: function(json) { | ||
| 1242 | -\t\t\t\$('.alert-dismissible, .text-danger').remove(); | ||
| 1243 | - | ||
| 1244 | -\t\t\tif (json['success']) { | ||
| 1245 | -\t\t\t\t\$('#recurring-description').html(json['success']); | ||
| 1246 | -\t\t\t} | ||
| 1247 | -\t\t} | ||
| 1248 | -\t}); | ||
| 1249 | -}); | ||
| 1250 | -//--></script> | ||
| 1251 | -<script type=\"text/javascript\"><!-- | ||
| 1252 | -\$('#button-cart').on('click', function() { | ||
| 1253 | -\t\$.ajax({ | ||
| 1254 | -\t\turl: 'index.php?route=checkout/cart/add', | ||
| 1255 | -\t\ttype: 'post', | ||
| 1256 | -\t\tdata: \$('#product input[type=\\'text\\'], #product input[type=\\'hidden\\'], #product input[type=\\'radio\\']:checked, #product input[type=\\'checkbox\\']:checked, #product select, #product textarea'), | ||
| 1257 | -\t\tdataType: 'json', | ||
| 1258 | -\t\tbeforeSend: function() { | ||
| 1259 | -\t\t\t\$('#button-cart').button('loading'); | ||
| 1260 | -\t\t}, | ||
| 1261 | -\t\tcomplete: function() { | ||
| 1262 | -\t\t\t\$('#button-cart').button('reset'); | ||
| 1263 | -\t\t}, | ||
| 1264 | -\t\tsuccess: function(json) { | ||
| 1265 | -\t\t\t\$('.alert-dismissible, .text-danger').remove(); | ||
| 1266 | -\t\t\t\$('.form-group').removeClass('has-error'); | ||
| 1267 | - | ||
| 1268 | -\t\t\tif (json['error']) { | ||
| 1269 | -\t\t\t\tif (json['error']['option']) { | ||
| 1270 | -\t\t\t\t\tfor (i in json['error']['option']) { | ||
| 1271 | -\t\t\t\t\t\tvar element = \$('#input-option' + i.replace('_', '-')); | ||
| 1272 | - | ||
| 1273 | -\t\t\t\t\t\tif (element.parent().hasClass('input-group')) { | ||
| 1274 | -\t\t\t\t\t\t\telement.parent().after('<div class=\"text-danger\">' + json['error']['option'][i] + '</div>'); | ||
| 1275 | -\t\t\t\t\t\t} else { | ||
| 1276 | -\t\t\t\t\t\t\telement.after('<div class=\"text-danger\">' + json['error']['option'][i] + '</div>'); | ||
| 1277 | -\t\t\t\t\t\t} | ||
| 1278 | -\t\t\t\t\t} | ||
| 1279 | -\t\t\t\t} | ||
| 1280 | - | ||
| 1281 | -\t\t\t\tif (json['error']['recurring']) { | ||
| 1282 | -\t\t\t\t\t\$('select[name=\\'recurring_id\\']').after('<div class=\"text-danger\">' + json['error']['recurring'] + '</div>'); | ||
| 1283 | -\t\t\t\t} | ||
| 1284 | - | ||
| 1285 | -\t\t\t\t// Highlight any found errors | ||
| 1286 | -\t\t\t\t\$('.text-danger').parent().addClass('has-error'); | ||
| 1287 | -\t\t\t} | ||
| 1288 | - | ||
| 1289 | -\t\t\tif (json['success']) { | ||
| 1290 | -\t\t\t\t\$('.breadcrumb').after('<div class=\"alert alert-success alert-dismissible\">' + json['success'] + '<button type=\"button\" class=\"close\" data-dismiss=\"alert\">×</button></div>'); | ||
| 1291 | - | ||
| 1292 | -\t\t\t\t\$('#cart > button').html('<span id=\"cart-total\"><i class=\"fa fa-shopping-cart\"></i> ' + json['total'] + '</span>'); | ||
| 1293 | - | ||
| 1294 | -\t\t\t\t\$('html, body').animate({ scrollTop: 0 }, 'slow'); | ||
| 1295 | - | ||
| 1296 | -\t\t\t\t\$('#cart > ul').load('index.php?route=common/cart/info ul li'); | ||
| 1297 | -\t\t\t} | ||
| 1298 | -\t\t}, | ||
| 1299 | - error: function(xhr, ajaxOptions, thrownError) { | ||
| 1300 | - alert(thrownError + \"\\r\\n\" + xhr.statusText + \"\\r\\n\" + xhr.responseText); | ||
| 1301 | - } | ||
| 1302 | -\t}); | ||
| 1303 | -}); | ||
| 1304 | -//--></script> | ||
| 1305 | -<script type=\"text/javascript\"><!-- | ||
| 1306 | -\$('.date').datetimepicker({ | ||
| 1307 | -\tlanguage: '"; | ||
| 1308 | - // line 430 | ||
| 1309 | - echo ($context["datepicker"] ?? null); | ||
| 1310 | - echo "', | ||
| 1311 | -\tpickTime: false | ||
| 1312 | -}); | ||
| 1313 | - | ||
| 1314 | -\$('.datetime').datetimepicker({ | ||
| 1315 | -\tlanguage: '"; | ||
| 1316 | - // line 435 | ||
| 1317 | - echo ($context["datepicker"] ?? null); | ||
| 1318 | - echo "', | ||
| 1319 | -\tpickDate: true, | ||
| 1320 | -\tpickTime: true | ||
| 1321 | -}); | ||
| 1322 | - | ||
| 1323 | -\$('.time').datetimepicker({ | ||
| 1324 | -\tlanguage: '"; | ||
| 1325 | - // line 441 | ||
| 1326 | - echo ($context["datepicker"] ?? null); | ||
| 1327 | - echo "', | ||
| 1328 | -\tpickDate: false | ||
| 1329 | -}); | ||
| 1330 | - | ||
| 1331 | -\$('button[id^=\\'button-upload\\']').on('click', function() { | ||
| 1332 | -\tvar node = this; | ||
| 1333 | - | ||
| 1334 | -\t\$('#form-upload').remove(); | ||
| 1335 | - | ||
| 1336 | -\t\$('body').prepend('<form enctype=\"multipart/form-data\" id=\"form-upload\" style=\"display: none;\"><input type=\"file\" name=\"file\" /></form>'); | ||
| 1337 | - | ||
| 1338 | -\t\$('#form-upload input[name=\\'file\\']').trigger('click'); | ||
| 1339 | - | ||
| 1340 | -\tif (typeof timer != 'undefined') { | ||
| 1341 | - \tclearInterval(timer); | ||
| 1342 | -\t} | ||
| 1343 | - | ||
| 1344 | -\ttimer = setInterval(function() { | ||
| 1345 | -\t\tif (\$('#form-upload input[name=\\'file\\']').val() != '') { | ||
| 1346 | -\t\t\tclearInterval(timer); | ||
| 1347 | - | ||
| 1348 | -\t\t\t\$.ajax({ | ||
| 1349 | -\t\t\t\turl: 'index.php?route=tool/upload', | ||
| 1350 | -\t\t\t\ttype: 'post', | ||
| 1351 | -\t\t\t\tdataType: 'json', | ||
| 1352 | -\t\t\t\tdata: new FormData(\$('#form-upload')[0]), | ||
| 1353 | -\t\t\t\tcache: false, | ||
| 1354 | -\t\t\t\tcontentType: false, | ||
| 1355 | -\t\t\t\tprocessData: false, | ||
| 1356 | -\t\t\t\tbeforeSend: function() { | ||
| 1357 | -\t\t\t\t\t\$(node).button('loading'); | ||
| 1358 | -\t\t\t\t}, | ||
| 1359 | -\t\t\t\tcomplete: function() { | ||
| 1360 | -\t\t\t\t\t\$(node).button('reset'); | ||
| 1361 | -\t\t\t\t}, | ||
| 1362 | -\t\t\t\tsuccess: function(json) { | ||
| 1363 | -\t\t\t\t\t\$('.text-danger').remove(); | ||
| 1364 | - | ||
| 1365 | -\t\t\t\t\tif (json['error']) { | ||
| 1366 | -\t\t\t\t\t\t\$(node).parent().find('input').after('<div class=\"text-danger\">' + json['error'] + '</div>'); | ||
| 1367 | -\t\t\t\t\t} | ||
| 1368 | - | ||
| 1369 | -\t\t\t\t\tif (json['success']) { | ||
| 1370 | -\t\t\t\t\t\talert(json['success']); | ||
| 1371 | - | ||
| 1372 | -\t\t\t\t\t\t\$(node).parent().find('input').val(json['code']); | ||
| 1373 | -\t\t\t\t\t} | ||
| 1374 | -\t\t\t\t}, | ||
| 1375 | -\t\t\t\terror: function(xhr, ajaxOptions, thrownError) { | ||
| 1376 | -\t\t\t\t\talert(thrownError + \"\\r\\n\" + xhr.statusText + \"\\r\\n\" + xhr.responseText); | ||
| 1377 | -\t\t\t\t} | ||
| 1378 | -\t\t\t}); | ||
| 1379 | -\t\t} | ||
| 1380 | -\t}, 500); | ||
| 1381 | -}); | ||
| 1382 | -//--></script> | ||
| 1383 | -<script type=\"text/javascript\"><!-- | ||
| 1384 | -\$('#review').delegate('.pagination a', 'click', function(e) { | ||
| 1385 | - e.preventDefault(); | ||
| 1386 | - | ||
| 1387 | - \$('#review').fadeOut('slow'); | ||
| 1388 | - | ||
| 1389 | - \$('#review').load(this.href); | ||
| 1390 | - | ||
| 1391 | - \$('#review').fadeIn('slow'); | ||
| 1392 | -}); | ||
| 1393 | - | ||
| 1394 | -\$('#review').load('index.php?route=product/product/review&product_id="; | ||
| 1395 | - // line 508 | ||
| 1396 | - echo ($context["product_id"] ?? null); | ||
| 1397 | - echo "'); | ||
| 1398 | - | ||
| 1399 | -\$('#button-review').on('click', function() { | ||
| 1400 | -\t\$.ajax({ | ||
| 1401 | -\t\turl: 'index.php?route=product/product/write&product_id="; | ||
| 1402 | - // line 512 | ||
| 1403 | - echo ($context["product_id"] ?? null); | ||
| 1404 | - echo "', | ||
| 1405 | -\t\ttype: 'post', | ||
| 1406 | -\t\tdataType: 'json', | ||
| 1407 | -\t\tdata: \$(\"#form-review\").serialize(), | ||
| 1408 | -\t\tbeforeSend: function() { | ||
| 1409 | -\t\t\t\$('#button-review').button('loading'); | ||
| 1410 | -\t\t}, | ||
| 1411 | -\t\tcomplete: function() { | ||
| 1412 | -\t\t\t\$('#button-review').button('reset'); | ||
| 1413 | -\t\t}, | ||
| 1414 | -\t\tsuccess: function(json) { | ||
| 1415 | -\t\t\t\$('.alert-dismissible').remove(); | ||
| 1416 | - | ||
| 1417 | -\t\t\tif (json['error']) { | ||
| 1418 | -\t\t\t\t\$('#review').after('<div class=\"alert alert-danger alert-dismissible\"><i class=\"fa fa-exclamation-circle\"></i> ' + json['error'] + '</div>'); | ||
| 1419 | -\t\t\t} | ||
| 1420 | - | ||
| 1421 | -\t\t\tif (json['success']) { | ||
| 1422 | -\t\t\t\t\$('#review').after('<div class=\"alert alert-success alert-dismissible\"><i class=\"fa fa-check-circle\"></i> ' + json['success'] + '</div>'); | ||
| 1423 | - | ||
| 1424 | -\t\t\t\t\$('input[name=\\'name\\']').val(''); | ||
| 1425 | -\t\t\t\t\$('textarea[name=\\'text\\']').val(''); | ||
| 1426 | -\t\t\t\t\$('input[name=\\'rating\\']:checked').prop('checked', false); | ||
| 1427 | -\t\t\t} | ||
| 1428 | -\t\t} | ||
| 1429 | -\t}); | ||
| 1430 | -}); | ||
| 1431 | - | ||
| 1432 | -\$(document).ready(function() { | ||
| 1433 | -\t\$('.thumbnails').magnificPopup({ | ||
| 1434 | -\t\ttype:'image', | ||
| 1435 | -\t\tdelegate: 'a', | ||
| 1436 | -\t\tgallery: { | ||
| 1437 | -\t\t\tenabled: true | ||
| 1438 | -\t\t} | ||
| 1439 | -\t}); | ||
| 1440 | -}); | ||
| 1441 | -//--></script> | ||
| 1442 | -"; | ||
| 1443 | - // line 550 | ||
| 1444 | - echo ($context["footer"] ?? null); | ||
| 1445 | - echo " | ||
| 1446 | -"; | ||
| 1447 | - } | ||
| 1448 | - | ||
| 1449 | - public function getTemplateName() | ||
| 1450 | - { | ||
| 1451 | - return "default/template/product/product.twig"; | ||
| 1452 | - } | ||
| 1453 | - | ||
| 1454 | - public function isTraitable() | ||
| 1455 | - { | ||
| 1456 | - return false; | ||
| 1457 | - } | ||
| 1458 | - | ||
| 1459 | - public function getDebugInfo() | ||
| 1460 | - { | ||
| 1461 | - return array ( 1444 => 550, 1403 => 512, 1396 => 508, 1326 => 441, 1317 => 435, 1309 => 430, 1228 => 352, 1223 => 351, 1214 => 349, 1207 => 348, 1197 => 347, 1193 => 346, 1188 => 345, 1185 => 344, 1176 => 342, 1173 => 341, 1169 => 339, 1167 => 338, 1164 => 337, 1162 => 336, 1159 => 335, 1157 => 334, 1148 => 330, 1142 => 329, 1134 => 328, 1130 => 326, 1118 => 325, 1111 => 324, 1105 => 323, 1102 => 322, 1099 => 321, 1090 => 319, 1083 => 318, 1078 => 317, 1076 => 316, 1072 => 315, 1066 => 314, 1055 => 312, 1049 => 310, 1046 => 309, 1043 => 308, 1040 => 307, 1037 => 306, 1034 => 305, 1031 => 304, 1028 => 303, 1023 => 302, 1021 => 301, 1016 => 300, 1014 => 299, 1010 => 297, 1002 => 293, 988 => 290, 981 => 289, 977 => 288, 974 => 287, 972 => 286, 969 => 285, 963 => 284, 961 => 283, 954 => 281, 949 => 279, 945 => 278, 941 => 277, 938 => 276, 932 => 272, 921 => 270, 917 => 269, 913 => 268, 907 => 265, 904 => 264, 901 => 263, 898 => 262, 892 => 261, 879 => 255, 872 => 253, 865 => 252, 862 => 251, 849 => 245, 842 => 243, 835 => 242, 832 => 241, 819 => 235, 812 => 233, 805 => 232, 802 => 231, 794 => 228, 786 => 227, 782 => 226, 775 => 225, 772 => 224, 760 => 221, 754 => 220, 747 => 219, 744 => 218, 732 => 215, 726 => 214, 719 => 213, 716 => 212, 711 => 209, 703 => 207, 696 => 206, 694 => 205, 689 => 204, 673 => 203, 667 => 202, 663 => 200, 657 => 199, 653 => 198, 646 => 197, 643 => 196, 638 => 193, 630 => 191, 623 => 190, 621 => 189, 617 => 188, 599 => 187, 593 => 186, 589 => 184, 583 => 183, 579 => 182, 572 => 181, 569 => 180, 564 => 177, 557 => 175, 550 => 174, 548 => 173, 541 => 172, 537 => 171, 533 => 170, 527 => 169, 521 => 168, 514 => 167, 511 => 166, 507 => 165, 503 => 164, 500 => 163, 497 => 162, 493 => 160, 490 => 159, 479 => 157, 475 => 156, 470 => 153, 467 => 152, 459 => 150, 456 => 149, 448 => 147, 445 => 146, 439 => 143, 433 => 141, 427 => 138, 424 => 137, 422 => 136, 419 => 135, 417 => 134, 409 => 132, 401 => 130, 399 => 129, 392 => 128, 382 => 126, 380 => 125, 375 => 123, 368 => 121, 362 => 120, 356 => 118, 353 => 117, 350 => 116, 347 => 115, 344 => 114, 342 => 113, 338 => 111, 333 => 109, 327 => 107, 318 => 103, 312 => 100, 307 => 98, 294 => 88, 290 => 87, 282 => 82, 277 => 80, 269 => 75, 265 => 74, 261 => 72, 259 => 71, 255 => 70, 250 => 67, 247 => 66, 242 => 63, 235 => 61, 226 => 58, 222 => 57, 219 => 56, 215 => 55, 208 => 51, 204 => 49, 200 => 48, 196 => 46, 194 => 45, 190 => 44, 186 => 42, 180 => 40, 177 => 39, 171 => 37, 169 => 36, 165 => 35, 162 => 34, 158 => 32, 155 => 31, 138 => 29, 133 => 28, 130 => 27, 116 => 25, 114 => 24, 111 => 23, 106 => 22, 103 => 21, 100 => 20, 97 => 19, 94 => 18, 92 => 17, 85 => 16, 82 => 15, 79 => 14, 76 => 13, 73 => 12, 70 => 11, 67 => 10, 65 => 9, 61 => 8, 58 => 7, 47 => 5, 43 => 4, 37 => 1,); | ||
| 1462 | - } | ||
| 1463 | - | ||
| 1464 | - public function getSourceContext() | ||
| 1465 | - { | ||
| 1466 | - return new Source("", "default/template/product/product.twig", ""); | ||
| 1467 | - } | ||
| 1468 | -} |
| 1 | -<?php | ||
| 2 | - | ||
| 3 | -use Twig\Environment; | ||
| 4 | -use Twig\Error\LoaderError; | ||
| 5 | -use Twig\Error\RuntimeError; | ||
| 6 | -use Twig\Extension\CoreExtension; | ||
| 7 | -use Twig\Extension\SandboxExtension; | ||
| 8 | -use Twig\Markup; | ||
| 9 | -use Twig\Sandbox\SecurityError; | ||
| 10 | -use Twig\Sandbox\SecurityNotAllowedTagError; | ||
| 11 | -use Twig\Sandbox\SecurityNotAllowedFilterError; | ||
| 12 | -use Twig\Sandbox\SecurityNotAllowedFunctionError; | ||
| 13 | -use Twig\Source; | ||
| 14 | -use Twig\Template; | ||
| 15 | - | ||
| 16 | -/* default/template/common/home.twig */ | ||
| 17 | -class __TwigTemplate_1844c5db77336d5af78cacecf4799ad4 extends Template | ||
| 18 | -{ | ||
| 19 | - private $source; | ||
| 20 | - private $macros = []; | ||
| 21 | - | ||
| 22 | - public function __construct(Environment $env) | ||
| 23 | - { | ||
| 24 | - parent::__construct($env); | ||
| 25 | - | ||
| 26 | - $this->source = $this->getSourceContext(); | ||
| 27 | - | ||
| 28 | - $this->parent = false; | ||
| 29 | - | ||
| 30 | - $this->blocks = [ | ||
| 31 | - ]; | ||
| 32 | - } | ||
| 33 | - | ||
| 34 | - protected function doDisplay(array $context, array $blocks = []) | ||
| 35 | - { | ||
| 36 | - $macros = $this->macros; | ||
| 37 | - // line 1 | ||
| 38 | - yield ($context["header"] ?? null); | ||
| 39 | - yield " | ||
| 40 | -<div id=\"common-home\" class=\"container\"> | ||
| 41 | - <div class=\"row\">"; | ||
| 42 | - // line 3 | ||
| 43 | - yield ($context["column_left"] ?? null); | ||
| 44 | - yield " | ||
| 45 | - "; | ||
| 46 | - // line 4 | ||
| 47 | - if ((($context["column_left"] ?? null) && ($context["column_right"] ?? null))) { | ||
| 48 | - // line 5 | ||
| 49 | - yield " "; | ||
| 50 | - $context["class"] = "col-sm-6"; | ||
| 51 | - // line 6 | ||
| 52 | - yield " "; | ||
| 53 | - } elseif ((($context["column_left"] ?? null) || ($context["column_right"] ?? null))) { | ||
| 54 | - // line 7 | ||
| 55 | - yield " "; | ||
| 56 | - $context["class"] = "col-sm-9"; | ||
| 57 | - // line 8 | ||
| 58 | - yield " "; | ||
| 59 | - } else { | ||
| 60 | - // line 9 | ||
| 61 | - yield " "; | ||
| 62 | - $context["class"] = "col-sm-12"; | ||
| 63 | - // line 10 | ||
| 64 | - yield " "; | ||
| 65 | - } | ||
| 66 | - // line 11 | ||
| 67 | - yield " <div id=\"content\" class=\""; | ||
| 68 | - yield ($context["class"] ?? null); | ||
| 69 | - yield "\">"; | ||
| 70 | - yield ($context["content_top"] ?? null); | ||
| 71 | - yield ($context["content_bottom"] ?? null); | ||
| 72 | - yield "</div> | ||
| 73 | - "; | ||
| 74 | - // line 12 | ||
| 75 | - yield ($context["column_right"] ?? null); | ||
| 76 | - yield "</div> | ||
| 77 | -</div> | ||
| 78 | -"; | ||
| 79 | - // line 14 | ||
| 80 | - yield ($context["footer"] ?? null); | ||
| 81 | - return; yield ''; | ||
| 82 | - } | ||
| 83 | - | ||
| 84 | - /** | ||
| 85 | - * @codeCoverageIgnore | ||
| 86 | - */ | ||
| 87 | - public function getTemplateName() | ||
| 88 | - { | ||
| 89 | - return "default/template/common/home.twig"; | ||
| 90 | - } | ||
| 91 | - | ||
| 92 | - /** | ||
| 93 | - * @codeCoverageIgnore | ||
| 94 | - */ | ||
| 95 | - public function isTraitable() | ||
| 96 | - { | ||
| 97 | - return false; | ||
| 98 | - } | ||
| 99 | - | ||
| 100 | - /** | ||
| 101 | - * @codeCoverageIgnore | ||
| 102 | - */ | ||
| 103 | - public function getDebugInfo() | ||
| 104 | - { | ||
| 105 | - return array ( 80 => 14, 75 => 12, 67 => 11, 64 => 10, 61 => 9, 58 => 8, 55 => 7, 52 => 6, 49 => 5, 47 => 4, 43 => 3, 38 => 1,); | ||
| 106 | - } | ||
| 107 | - | ||
| 108 | - public function getSourceContext() | ||
| 109 | - { | ||
| 110 | - return new Source("", "default/template/common/home.twig", ""); | ||
| 111 | - } | ||
| 112 | -} |
strg/cache/template/d0/d06b4c7104e9017faa53cc18f671743bba114e3c36ab818c23a99ffe26245ad9.php
deleted
100644 → 0
| 1 | -<?php | ||
| 2 | - | ||
| 3 | -use Twig\Environment; | ||
| 4 | -use Twig\Error\LoaderError; | ||
| 5 | -use Twig\Error\RuntimeError; | ||
| 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 | - | ||
| 15 | -/* default/template/extension/module/featured_article.twig */ | ||
| 16 | -class __TwigTemplate_1923a93651f3aa27aff1bff79ba8ac384784147d162258cb0e25c9591be98266 extends \Twig\Template | ||
| 17 | -{ | ||
| 18 | - private $source; | ||
| 19 | - private $macros = []; | ||
| 20 | - | ||
| 21 | - public function __construct(Environment $env) | ||
| 22 | - { | ||
| 23 | - parent::__construct($env); | ||
| 24 | - | ||
| 25 | - $this->source = $this->getSourceContext(); | ||
| 26 | - | ||
| 27 | - $this->parent = false; | ||
| 28 | - | ||
| 29 | - $this->blocks = [ | ||
| 30 | - ]; | ||
| 31 | - } | ||
| 32 | - | ||
| 33 | - protected function doDisplay(array $context, array $blocks = []) | ||
| 34 | - { | ||
| 35 | - $macros = $this->macros; | ||
| 36 | - // line 1 | ||
| 37 | - if (($context["articles"] ?? null)) { | ||
| 38 | - // line 2 | ||
| 39 | - echo "<h3>"; | ||
| 40 | - echo ($context["heading_title"] ?? null); | ||
| 41 | - echo "</h3> | ||
| 42 | -<div class=\"row\"> | ||
| 43 | - "; | ||
| 44 | - // line 4 | ||
| 45 | - $context['_parent'] = $context; | ||
| 46 | - $context['_seq'] = twig_ensure_traversable(($context["articles"] ?? null)); | ||
| 47 | - foreach ($context['_seq'] as $context["_key"] => $context["article"]) { | ||
| 48 | - // line 5 | ||
| 49 | - echo " <div class=\"product-layout col-lg-3 col-md-3 col-sm-6 col-xs-12\"> | ||
| 50 | - <div class=\"product-thumb transition\"> | ||
| 51 | - <div class=\"image\"><a href=\""; | ||
| 52 | - // line 7 | ||
| 53 | - echo twig_get_attribute($this->env, $this->source, $context["article"], "href", [], "any", false, false, false, 7); | ||
| 54 | - echo "\"><img src=\""; | ||
| 55 | - echo twig_get_attribute($this->env, $this->source, $context["article"], "thumb", [], "any", false, false, false, 7); | ||
| 56 | - echo "\" alt=\""; | ||
| 57 | - echo twig_get_attribute($this->env, $this->source, $context["article"], "name", [], "any", false, false, false, 7); | ||
| 58 | - echo "\" title=\""; | ||
| 59 | - echo twig_get_attribute($this->env, $this->source, $context["article"], "name", [], "any", false, false, false, 7); | ||
| 60 | - echo "\" class=\"img-responsive\" /></a></div> | ||
| 61 | - <div class=\"caption\"> | ||
| 62 | - <h4><a href=\""; | ||
| 63 | - // line 9 | ||
| 64 | - echo twig_get_attribute($this->env, $this->source, $context["article"], "href", [], "any", false, false, false, 9); | ||
| 65 | - echo "\">"; | ||
| 66 | - echo twig_get_attribute($this->env, $this->source, $context["article"], "name", [], "any", false, false, false, 9); | ||
| 67 | - echo "</a></h4> | ||
| 68 | - <p>"; | ||
| 69 | - // line 10 | ||
| 70 | - echo twig_get_attribute($this->env, $this->source, $context["article"], "description", [], "any", false, false, false, 10); | ||
| 71 | - echo "</p> | ||
| 72 | - "; | ||
| 73 | - // line 11 | ||
| 74 | - if (twig_get_attribute($this->env, $this->source, $context["article"], "rating", [], "any", false, false, false, 11)) { | ||
| 75 | - // line 12 | ||
| 76 | - echo " <div class=\"rating\"> | ||
| 77 | - "; | ||
| 78 | - // line 13 | ||
| 79 | - $context['_parent'] = $context; | ||
| 80 | - $context['_seq'] = twig_ensure_traversable(5); | ||
| 81 | - foreach ($context['_seq'] as $context["_key"] => $context["i"]) { | ||
| 82 | - // line 14 | ||
| 83 | - echo " "; | ||
| 84 | - if ((twig_get_attribute($this->env, $this->source, $context["article"], "rating", [], "any", false, false, false, 14) < $context["i"])) { | ||
| 85 | - // line 15 | ||
| 86 | - echo " <span class=\"fa fa-stack\"><i class=\"fa fa-star-o fa-stack-2x\"></i></span> | ||
| 87 | - "; | ||
| 88 | - } else { | ||
| 89 | - // line 17 | ||
| 90 | - 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> | ||
| 91 | - "; | ||
| 92 | - } | ||
| 93 | - // line 19 | ||
| 94 | - echo " "; | ||
| 95 | - } | ||
| 96 | - $_parent = $context['_parent']; | ||
| 97 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']); | ||
| 98 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 99 | - // line 20 | ||
| 100 | - echo " </div> | ||
| 101 | - "; | ||
| 102 | - } | ||
| 103 | - // line 22 | ||
| 104 | - echo " </div> | ||
| 105 | -\t <div class=\"button-group\"> | ||
| 106 | - <button type=\"button\" onclick=\"location.href = ('"; | ||
| 107 | - // line 24 | ||
| 108 | - echo twig_get_attribute($this->env, $this->source, $context["article"], "href", [], "any", false, false, false, 24); | ||
| 109 | - echo "');\"><i class=\"fa fa-share\"></i> <span class=\"hidden-xs hidden-sm hidden-md\">"; | ||
| 110 | - echo ($context["button_more"] ?? null); | ||
| 111 | - echo "</span></button> | ||
| 112 | - <button type=\"button\" data-toggle=\"tooltip\" title=\""; | ||
| 113 | - // line 25 | ||
| 114 | - echo twig_get_attribute($this->env, $this->source, $context["article"], "date_added", [], "any", false, false, false, 25); | ||
| 115 | - echo "\" \"><i class=\"fa fa-clock-o\"></i></button> | ||
| 116 | - <button type=\"button\" data-toggle=\"tooltip\" title=\""; | ||
| 117 | - // line 26 | ||
| 118 | - echo ($context["text_views"] ?? null); | ||
| 119 | - echo " "; | ||
| 120 | - echo twig_get_attribute($this->env, $this->source, $context["article"], "viewed", [], "any", false, false, false, 26); | ||
| 121 | - echo "\" \"><i class=\"fa fa-eye\"></i></button> | ||
| 122 | - </div> | ||
| 123 | - </div> | ||
| 124 | - </div> | ||
| 125 | - "; | ||
| 126 | - } | ||
| 127 | - $_parent = $context['_parent']; | ||
| 128 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['article'], $context['_parent'], $context['loop']); | ||
| 129 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 130 | - // line 31 | ||
| 131 | - echo "</div> | ||
| 132 | - "; | ||
| 133 | - } | ||
| 134 | - } | ||
| 135 | - | ||
| 136 | - public function getTemplateName() | ||
| 137 | - { | ||
| 138 | - return "default/template/extension/module/featured_article.twig"; | ||
| 139 | - } | ||
| 140 | - | ||
| 141 | - public function isTraitable() | ||
| 142 | - { | ||
| 143 | - return false; | ||
| 144 | - } | ||
| 145 | - | ||
| 146 | - public function getDebugInfo() | ||
| 147 | - { | ||
| 148 | - return array ( 131 => 31, 118 => 26, 114 => 25, 108 => 24, 104 => 22, 100 => 20, 94 => 19, 90 => 17, 86 => 15, 83 => 14, 79 => 13, 76 => 12, 74 => 11, 70 => 10, 64 => 9, 53 => 7, 49 => 5, 45 => 4, 39 => 2, 37 => 1,); | ||
| 149 | - } | ||
| 150 | - | ||
| 151 | - public function getSourceContext() | ||
| 152 | - { | ||
| 153 | - return new Source("", "default/template/extension/module/featured_article.twig", ""); | ||
| 154 | - } | ||
| 155 | -} |
| 1 | -<?php | ||
| 2 | - | ||
| 3 | -use Twig\Environment; | ||
| 4 | -use Twig\Error\LoaderError; | ||
| 5 | -use Twig\Error\RuntimeError; | ||
| 6 | -use Twig\Extension\CoreExtension; | ||
| 7 | -use Twig\Extension\SandboxExtension; | ||
| 8 | -use Twig\Markup; | ||
| 9 | -use Twig\Sandbox\SecurityError; | ||
| 10 | -use Twig\Sandbox\SecurityNotAllowedTagError; | ||
| 11 | -use Twig\Sandbox\SecurityNotAllowedFilterError; | ||
| 12 | -use Twig\Sandbox\SecurityNotAllowedFunctionError; | ||
| 13 | -use Twig\Source; | ||
| 14 | -use Twig\Template; | ||
| 15 | - | ||
| 16 | -/* extension/dashboard/map_info.twig */ | ||
| 17 | -class __TwigTemplate_61ffba840e61e7d5870a1d3e7864b88b extends Template | ||
| 18 | -{ | ||
| 19 | - private $source; | ||
| 20 | - private $macros = []; | ||
| 21 | - | ||
| 22 | - public function __construct(Environment $env) | ||
| 23 | - { | ||
| 24 | - parent::__construct($env); | ||
| 25 | - | ||
| 26 | - $this->source = $this->getSourceContext(); | ||
| 27 | - | ||
| 28 | - $this->parent = false; | ||
| 29 | - | ||
| 30 | - $this->blocks = [ | ||
| 31 | - ]; | ||
| 32 | - } | ||
| 33 | - | ||
| 34 | - protected function doDisplay(array $context, array $blocks = []) | ||
| 35 | - { | ||
| 36 | - $macros = $this->macros; | ||
| 37 | - // line 1 | ||
| 38 | - yield "<div class=\"panel panel-default\"> | ||
| 39 | - <div class=\"panel-heading\"> | ||
| 40 | - <h3 class=\"panel-title\"><i class=\"fa fa-globe\"></i> "; | ||
| 41 | - // line 3 | ||
| 42 | - yield ($context["heading_title"] ?? null); | ||
| 43 | - yield "</h3> | ||
| 44 | - </div> | ||
| 45 | - <div class=\"panel-body\"> | ||
| 46 | - <div id=\"vmap\" style=\"width: 100%; height: 260px;\"></div> | ||
| 47 | - </div> | ||
| 48 | -</div> | ||
| 49 | -<link type=\"text/css\" href=\"view/javascript/jquery/jqvmap/jqvmap.css\" rel=\"stylesheet\" media=\"screen\" /> | ||
| 50 | -<script type=\"text/javascript\" src=\"view/javascript/jquery/jqvmap/jquery.vmap.js\"></script> | ||
| 51 | -<script type=\"text/javascript\" src=\"view/javascript/jquery/jqvmap/maps/jquery.vmap.world.js\"></script> | ||
| 52 | -<script type=\"text/javascript\"><!-- | ||
| 53 | -\$(document).ready(function() { | ||
| 54 | -\t\$.ajax({ | ||
| 55 | -\t\turl: 'index.php?route=extension/dashboard/map/map&user_token="; | ||
| 56 | - // line 15 | ||
| 57 | - yield ($context["user_token"] ?? null); | ||
| 58 | - yield "', | ||
| 59 | -\t\tdataType: 'json', | ||
| 60 | -\t\tsuccess: function(json) { | ||
| 61 | -\t\t\tdata = []; | ||
| 62 | -\t\t\t\t\t\t | ||
| 63 | -\t\t\tfor (i in json) { | ||
| 64 | -\t\t\t\tdata[i] = json[i]['total']; | ||
| 65 | -\t\t\t} | ||
| 66 | -\t\t\t\t\t | ||
| 67 | -\t\t\t\$('#vmap').vectorMap({ | ||
| 68 | -\t\t\t\tmap: 'world_en', | ||
| 69 | -\t\t\t\tbackgroundColor: '#FFFFFF', | ||
| 70 | -\t\t\t\tborderColor: '#FFFFFF', | ||
| 71 | -\t\t\t\tcolor: '#9FD5F1', | ||
| 72 | -\t\t\t\thoverOpacity: 0.7, | ||
| 73 | -\t\t\t\tselectedColor: '#666666', | ||
| 74 | -\t\t\t\tenableZoom: true, | ||
| 75 | -\t\t\t\tshowTooltip: true, | ||
| 76 | -\t\t\t\tvalues: data, | ||
| 77 | -\t\t\t\tnormalizeFunction: 'polynomial', | ||
| 78 | -\t\t\t\tonLabelShow: function(event, label, code) { | ||
| 79 | -\t\t\t\t\tif (json[code]) { | ||
| 80 | -\t\t\t\t\t\tlabel.html('<strong>' + label.text() + '</strong><br />' + '"; | ||
| 81 | - // line 37 | ||
| 82 | - yield ($context["text_order"] ?? null); | ||
| 83 | - yield " ' + json[code]['total'] + '<br />' + '"; | ||
| 84 | - yield ($context["text_sale"] ?? null); | ||
| 85 | - yield " ' + json[code]['amount']); | ||
| 86 | -\t\t\t\t\t} | ||
| 87 | -\t\t\t\t} | ||
| 88 | -\t\t\t});\t\t\t | ||
| 89 | -\t\t}, | ||
| 90 | - error: function(xhr, ajaxOptions, thrownError) { | ||
| 91 | - alert(thrownError + \"\\r\\n\" + xhr.statusText + \"\\r\\n\" + xhr.responseText); | ||
| 92 | - } | ||
| 93 | -\t});\t\t\t | ||
| 94 | -}); | ||
| 95 | -//--></script> "; | ||
| 96 | - return; yield ''; | ||
| 97 | - } | ||
| 98 | - | ||
| 99 | - /** | ||
| 100 | - * @codeCoverageIgnore | ||
| 101 | - */ | ||
| 102 | - public function getTemplateName() | ||
| 103 | - { | ||
| 104 | - return "extension/dashboard/map_info.twig"; | ||
| 105 | - } | ||
| 106 | - | ||
| 107 | - /** | ||
| 108 | - * @codeCoverageIgnore | ||
| 109 | - */ | ||
| 110 | - public function isTraitable() | ||
| 111 | - { | ||
| 112 | - return false; | ||
| 113 | - } | ||
| 114 | - | ||
| 115 | - /** | ||
| 116 | - * @codeCoverageIgnore | ||
| 117 | - */ | ||
| 118 | - public function getDebugInfo() | ||
| 119 | - { | ||
| 120 | - return array ( 82 => 37, 57 => 15, 42 => 3, 38 => 1,); | ||
| 121 | - } | ||
| 122 | - | ||
| 123 | - public function getSourceContext() | ||
| 124 | - { | ||
| 125 | - return new Source("", "extension/dashboard/map_info.twig", ""); | ||
| 126 | - } | ||
| 127 | -} |
| 1 | -<?php | ||
| 2 | - | ||
| 3 | -use Twig\Environment; | ||
| 4 | -use Twig\Error\LoaderError; | ||
| 5 | -use Twig\Error\RuntimeError; | ||
| 6 | -use Twig\Extension\CoreExtension; | ||
| 7 | -use Twig\Extension\SandboxExtension; | ||
| 8 | -use Twig\Markup; | ||
| 9 | -use Twig\Sandbox\SecurityError; | ||
| 10 | -use Twig\Sandbox\SecurityNotAllowedTagError; | ||
| 11 | -use Twig\Sandbox\SecurityNotAllowedFilterError; | ||
| 12 | -use Twig\Sandbox\SecurityNotAllowedFunctionError; | ||
| 13 | -use Twig\Source; | ||
| 14 | -use Twig\Template; | ||
| 15 | - | ||
| 16 | -/* default/template/common/currency.twig */ | ||
| 17 | -class __TwigTemplate_431ae97ffa013c92f3fa1b70f9705420 extends Template | ||
| 18 | -{ | ||
| 19 | - private $source; | ||
| 20 | - private $macros = []; | ||
| 21 | - | ||
| 22 | - public function __construct(Environment $env) | ||
| 23 | - { | ||
| 24 | - parent::__construct($env); | ||
| 25 | - | ||
| 26 | - $this->source = $this->getSourceContext(); | ||
| 27 | - | ||
| 28 | - $this->parent = false; | ||
| 29 | - | ||
| 30 | - $this->blocks = [ | ||
| 31 | - ]; | ||
| 32 | - } | ||
| 33 | - | ||
| 34 | - protected function doDisplay(array $context, array $blocks = []) | ||
| 35 | - { | ||
| 36 | - $macros = $this->macros; | ||
| 37 | - // line 1 | ||
| 38 | - if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), ($context["currencies"] ?? null)) > 1)) { | ||
| 39 | - // line 2 | ||
| 40 | - yield "<div class=\"pull-left\"> | ||
| 41 | - <form action=\""; | ||
| 42 | - // line 3 | ||
| 43 | - yield ($context["action"] ?? null); | ||
| 44 | - yield "\" method=\"post\" enctype=\"multipart/form-data\" id=\"form-currency\"> | ||
| 45 | - <div class=\"btn-group\"> | ||
| 46 | - <button class=\"btn btn-link dropdown-toggle\" data-toggle=\"dropdown\">"; | ||
| 47 | - // line 5 | ||
| 48 | - $context['_parent'] = $context; | ||
| 49 | - $context['_seq'] = CoreExtension::ensureTraversable(($context["currencies"] ?? null)); | ||
| 50 | - foreach ($context['_seq'] as $context["_key"] => $context["currency"]) { | ||
| 51 | - // line 6 | ||
| 52 | - yield " "; | ||
| 53 | - if ((CoreExtension::getAttribute($this->env, $this->source, $context["currency"], "symbol_left", [], "any", false, false, false, 6) && (CoreExtension::getAttribute($this->env, $this->source, $context["currency"], "code", [], "any", false, false, false, 6) == ($context["code"] ?? null)))) { | ||
| 54 | - yield " <strong>"; | ||
| 55 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["currency"], "symbol_left", [], "any", false, false, false, 6); | ||
| 56 | - yield "</strong> "; | ||
| 57 | - } elseif ((CoreExtension::getAttribute($this->env, $this->source, $context["currency"], "symbol_right", [], "any", false, false, false, 6) && (CoreExtension::getAttribute($this->env, $this->source, $context["currency"], "code", [], "any", false, false, false, 6) == ($context["code"] ?? null)))) { | ||
| 58 | - yield " <strong>"; | ||
| 59 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["currency"], "symbol_right", [], "any", false, false, false, 6); | ||
| 60 | - yield "</strong> "; | ||
| 61 | - } | ||
| 62 | - // line 7 | ||
| 63 | - yield " "; | ||
| 64 | - } | ||
| 65 | - $_parent = $context['_parent']; | ||
| 66 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['currency'], $context['_parent'], $context['loop']); | ||
| 67 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 68 | - yield " <span class=\"hidden-xs hidden-sm hidden-md\">"; | ||
| 69 | - yield ($context["text_currency"] ?? null); | ||
| 70 | - yield "</span> <i class=\"fa fa-caret-down\"></i></button> | ||
| 71 | - <ul class=\"dropdown-menu\"> | ||
| 72 | - "; | ||
| 73 | - // line 9 | ||
| 74 | - $context['_parent'] = $context; | ||
| 75 | - $context['_seq'] = CoreExtension::ensureTraversable(($context["currencies"] ?? null)); | ||
| 76 | - foreach ($context['_seq'] as $context["_key"] => $context["currency"]) { | ||
| 77 | - // line 10 | ||
| 78 | - yield " "; | ||
| 79 | - if (CoreExtension::getAttribute($this->env, $this->source, $context["currency"], "symbol_left", [], "any", false, false, false, 10)) { | ||
| 80 | - // line 11 | ||
| 81 | - yield " <li> | ||
| 82 | - <button class=\"currency-select btn btn-link btn-block\" type=\"button\" name=\""; | ||
| 83 | - // line 12 | ||
| 84 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["currency"], "code", [], "any", false, false, false, 12); | ||
| 85 | - yield "\">"; | ||
| 86 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["currency"], "symbol_left", [], "any", false, false, false, 12); | ||
| 87 | - yield " "; | ||
| 88 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["currency"], "title", [], "any", false, false, false, 12); | ||
| 89 | - yield "</button> | ||
| 90 | - </li> | ||
| 91 | - "; | ||
| 92 | - } else { | ||
| 93 | - // line 15 | ||
| 94 | - yield " <li> | ||
| 95 | - <button class=\"currency-select btn btn-link btn-block\" type=\"button\" name=\""; | ||
| 96 | - // line 16 | ||
| 97 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["currency"], "code", [], "any", false, false, false, 16); | ||
| 98 | - yield "\">"; | ||
| 99 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["currency"], "symbol_right", [], "any", false, false, false, 16); | ||
| 100 | - yield " "; | ||
| 101 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["currency"], "title", [], "any", false, false, false, 16); | ||
| 102 | - yield "</button> | ||
| 103 | - </li> | ||
| 104 | - "; | ||
| 105 | - } | ||
| 106 | - // line 19 | ||
| 107 | - yield " "; | ||
| 108 | - } | ||
| 109 | - $_parent = $context['_parent']; | ||
| 110 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['currency'], $context['_parent'], $context['loop']); | ||
| 111 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 112 | - // line 20 | ||
| 113 | - yield " </ul> | ||
| 114 | - </div> | ||
| 115 | - <input type=\"hidden\" name=\"code\" value=\"\" /> | ||
| 116 | - <input type=\"hidden\" name=\"redirect\" value=\""; | ||
| 117 | - // line 23 | ||
| 118 | - yield ($context["redirect"] ?? null); | ||
| 119 | - yield "\" /> | ||
| 120 | - </form> | ||
| 121 | -</div> | ||
| 122 | -"; | ||
| 123 | - } | ||
| 124 | - // line 26 | ||
| 125 | - yield " "; | ||
| 126 | - return; yield ''; | ||
| 127 | - } | ||
| 128 | - | ||
| 129 | - /** | ||
| 130 | - * @codeCoverageIgnore | ||
| 131 | - */ | ||
| 132 | - public function getTemplateName() | ||
| 133 | - { | ||
| 134 | - return "default/template/common/currency.twig"; | ||
| 135 | - } | ||
| 136 | - | ||
| 137 | - /** | ||
| 138 | - * @codeCoverageIgnore | ||
| 139 | - */ | ||
| 140 | - public function isTraitable() | ||
| 141 | - { | ||
| 142 | - return false; | ||
| 143 | - } | ||
| 144 | - | ||
| 145 | - /** | ||
| 146 | - * @codeCoverageIgnore | ||
| 147 | - */ | ||
| 148 | - public function getDebugInfo() | ||
| 149 | - { | ||
| 150 | - return array ( 125 => 26, 118 => 23, 113 => 20, 107 => 19, 97 => 16, 94 => 15, 84 => 12, 81 => 11, 78 => 10, 74 => 9, 63 => 7, 52 => 6, 48 => 5, 43 => 3, 40 => 2, 38 => 1,); | ||
| 151 | - } | ||
| 152 | - | ||
| 153 | - public function getSourceContext() | ||
| 154 | - { | ||
| 155 | - return new Source("", "default/template/common/currency.twig", ""); | ||
| 156 | - } | ||
| 157 | -} |
strg/cache/template/d2/d2ab89f1f504cadd9dbec8580f739f5a0f10d777dbc5b941c3f435d22294ffc6.php
deleted
100644 → 0
| 1 | -<?php | ||
| 2 | - | ||
| 3 | -use Twig\Environment; | ||
| 4 | -use Twig\Error\LoaderError; | ||
| 5 | -use Twig\Error\RuntimeError; | ||
| 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 | - | ||
| 15 | -/* default/template/blog/menu.twig */ | ||
| 16 | -class __TwigTemplate_6dd5cd9a0945c304739293977ee8acb8749288c03dc8f0f3a86d7c51f8ecf0b8 extends \Twig\Template | ||
| 17 | -{ | ||
| 18 | - private $source; | ||
| 19 | - private $macros = []; | ||
| 20 | - | ||
| 21 | - public function __construct(Environment $env) | ||
| 22 | - { | ||
| 23 | - parent::__construct($env); | ||
| 24 | - | ||
| 25 | - $this->source = $this->getSourceContext(); | ||
| 26 | - | ||
| 27 | - $this->parent = false; | ||
| 28 | - | ||
| 29 | - $this->blocks = [ | ||
| 30 | - ]; | ||
| 31 | - } | ||
| 32 | - | ||
| 33 | - protected function doDisplay(array $context, array $blocks = []) | ||
| 34 | - { | ||
| 35 | - $macros = $this->macros; | ||
| 36 | - // line 1 | ||
| 37 | - echo "\t<div class=\"pull-left\"> | ||
| 38 | -\t<div class=\"btn-group\"> | ||
| 39 | - <button class=\"btn btn-link dropdown-toggle\" data-toggle=\"dropdown\"> | ||
| 40 | -\t<i class=\"fa fa-book\"></i> <span class=\"hidden-xs hidden-sm hidden-md\">"; | ||
| 41 | - // line 4 | ||
| 42 | - echo ($context["text_blog"] ?? null); | ||
| 43 | - echo "</span> <i class=\"fa fa-caret-down\"></i> | ||
| 44 | -\t</button> | ||
| 45 | -\t<ul class=\"dropdown-menu\"> | ||
| 46 | -\t"; | ||
| 47 | - // line 7 | ||
| 48 | - $context['_parent'] = $context; | ||
| 49 | - $context['_seq'] = twig_ensure_traversable(($context["categories"] ?? null)); | ||
| 50 | - foreach ($context['_seq'] as $context["_key"] => $context["category"]) { | ||
| 51 | - // line 8 | ||
| 52 | - echo " "; | ||
| 53 | - if (twig_get_attribute($this->env, $this->source, $context["category"], "children", [], "any", false, false, false, 8)) { | ||
| 54 | - // line 9 | ||
| 55 | - echo " <li><a href=\""; | ||
| 56 | - echo twig_get_attribute($this->env, $this->source, $context["category"], "href", [], "any", false, false, false, 9); | ||
| 57 | - echo "\">"; | ||
| 58 | - echo twig_get_attribute($this->env, $this->source, $context["category"], "name", [], "any", false, false, false, 9); | ||
| 59 | - echo "</a></li> | ||
| 60 | - "; | ||
| 61 | - // line 10 | ||
| 62 | - $context['_parent'] = $context; | ||
| 63 | - $context['_seq'] = twig_ensure_traversable(twig_array_batch(twig_get_attribute($this->env, $this->source, $context["category"], "children", [], "any", false, false, false, 10), (twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, $context["category"], "children", [], "any", false, false, false, 10)) / twig_round(twig_get_attribute($this->env, $this->source, $context["category"], "column", [], "any", false, false, false, 10), 1, "ceil")))); | ||
| 64 | - foreach ($context['_seq'] as $context["_key"] => $context["children"]) { | ||
| 65 | - echo " | ||
| 66 | -\t\t\t\t"; | ||
| 67 | - // line 11 | ||
| 68 | - $context['_parent'] = $context; | ||
| 69 | - $context['_seq'] = twig_ensure_traversable($context["children"]); | ||
| 70 | - foreach ($context['_seq'] as $context["_key"] => $context["child"]) { | ||
| 71 | - // line 12 | ||
| 72 | - echo " <li><a href=\""; | ||
| 73 | - echo twig_get_attribute($this->env, $this->source, $context["child"], "href", [], "any", false, false, false, 12); | ||
| 74 | - echo "\"><i class=\"fa fa-angle-right\"></i> "; | ||
| 75 | - echo twig_get_attribute($this->env, $this->source, $context["child"], "name", [], "any", false, false, false, 12); | ||
| 76 | - echo "</a></li> | ||
| 77 | -\t\t\t\t"; | ||
| 78 | - } | ||
| 79 | - $_parent = $context['_parent']; | ||
| 80 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['child'], $context['_parent'], $context['loop']); | ||
| 81 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 82 | - // line 14 | ||
| 83 | - echo "\t\t\t"; | ||
| 84 | - } | ||
| 85 | - $_parent = $context['_parent']; | ||
| 86 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['children'], $context['_parent'], $context['loop']); | ||
| 87 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 88 | - // line 15 | ||
| 89 | - echo "\t\t"; | ||
| 90 | - } else { | ||
| 91 | - // line 16 | ||
| 92 | - echo " <li><a href=\""; | ||
| 93 | - echo twig_get_attribute($this->env, $this->source, $context["category"], "href", [], "any", false, false, false, 16); | ||
| 94 | - echo "\">"; | ||
| 95 | - echo twig_get_attribute($this->env, $this->source, $context["category"], "name", [], "any", false, false, false, 16); | ||
| 96 | - echo "</a></li> | ||
| 97 | - "; | ||
| 98 | - } | ||
| 99 | - // line 18 | ||
| 100 | - echo "\t"; | ||
| 101 | - } | ||
| 102 | - $_parent = $context['_parent']; | ||
| 103 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['category'], $context['_parent'], $context['loop']); | ||
| 104 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 105 | - // line 19 | ||
| 106 | - echo "\t<li><a href=\""; | ||
| 107 | - echo ($context["blog"] ?? null); | ||
| 108 | - echo "\" class=\"see-all\">"; | ||
| 109 | - echo ($context["text_all"] ?? null); | ||
| 110 | - echo " "; | ||
| 111 | - echo ($context["text_blog"] ?? null); | ||
| 112 | - echo "</a></li> | ||
| 113 | -\t</ul> | ||
| 114 | -\t</div> | ||
| 115 | -\t</div>"; | ||
| 116 | - } | ||
| 117 | - | ||
| 118 | - public function getTemplateName() | ||
| 119 | - { | ||
| 120 | - return "default/template/blog/menu.twig"; | ||
| 121 | - } | ||
| 122 | - | ||
| 123 | - public function isTraitable() | ||
| 124 | - { | ||
| 125 | - return false; | ||
| 126 | - } | ||
| 127 | - | ||
| 128 | - public function getDebugInfo() | ||
| 129 | - { | ||
| 130 | - return array ( 106 => 19, 100 => 18, 92 => 16, 89 => 15, 83 => 14, 72 => 12, 68 => 11, 62 => 10, 55 => 9, 52 => 8, 48 => 7, 42 => 4, 37 => 1,); | ||
| 131 | - } | ||
| 132 | - | ||
| 133 | - public function getSourceContext() | ||
| 134 | - { | ||
| 135 | - return new Source("", "default/template/blog/menu.twig", ""); | ||
| 136 | - } | ||
| 137 | -} |
strg/cache/template/d4/d402966427213f2187ee3da688af67dfe9f6033ebf4fe62fe8255db20d3cd6fa.php
deleted
100644 → 0
| 1 | -<?php | ||
| 2 | - | ||
| 3 | -use Twig\Environment; | ||
| 4 | -use Twig\Error\LoaderError; | ||
| 5 | -use Twig\Error\RuntimeError; | ||
| 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 | - | ||
| 15 | -/* default/template/common/currency.twig */ | ||
| 16 | -class __TwigTemplate_20f0e5dcbe8c46e8a5dad619c3b05e2ce966d1171dbc7d42efd642144fdb571c extends \Twig\Template | ||
| 17 | -{ | ||
| 18 | - private $source; | ||
| 19 | - private $macros = []; | ||
| 20 | - | ||
| 21 | - public function __construct(Environment $env) | ||
| 22 | - { | ||
| 23 | - parent::__construct($env); | ||
| 24 | - | ||
| 25 | - $this->source = $this->getSourceContext(); | ||
| 26 | - | ||
| 27 | - $this->parent = false; | ||
| 28 | - | ||
| 29 | - $this->blocks = [ | ||
| 30 | - ]; | ||
| 31 | - } | ||
| 32 | - | ||
| 33 | - protected function doDisplay(array $context, array $blocks = []) | ||
| 34 | - { | ||
| 35 | - $macros = $this->macros; | ||
| 36 | - // line 1 | ||
| 37 | - if ((twig_length_filter($this->env, ($context["currencies"] ?? null)) > 1)) { | ||
| 38 | - // line 2 | ||
| 39 | - echo "<div class=\"pull-left\"> | ||
| 40 | - <form action=\""; | ||
| 41 | - // line 3 | ||
| 42 | - echo ($context["action"] ?? null); | ||
| 43 | - echo "\" method=\"post\" enctype=\"multipart/form-data\" id=\"form-currency\"> | ||
| 44 | - <div class=\"btn-group\"> | ||
| 45 | - <button class=\"btn btn-link dropdown-toggle\" data-toggle=\"dropdown\">"; | ||
| 46 | - // line 5 | ||
| 47 | - $context['_parent'] = $context; | ||
| 48 | - $context['_seq'] = twig_ensure_traversable(($context["currencies"] ?? null)); | ||
| 49 | - foreach ($context['_seq'] as $context["_key"] => $context["currency"]) { | ||
| 50 | - // line 6 | ||
| 51 | - echo " "; | ||
| 52 | - if ((twig_get_attribute($this->env, $this->source, $context["currency"], "symbol_left", [], "any", false, false, false, 6) && (twig_get_attribute($this->env, $this->source, $context["currency"], "code", [], "any", false, false, false, 6) == ($context["code"] ?? null)))) { | ||
| 53 | - echo " <strong>"; | ||
| 54 | - echo twig_get_attribute($this->env, $this->source, $context["currency"], "symbol_left", [], "any", false, false, false, 6); | ||
| 55 | - echo "</strong> "; | ||
| 56 | - } elseif ((twig_get_attribute($this->env, $this->source, $context["currency"], "symbol_right", [], "any", false, false, false, 6) && (twig_get_attribute($this->env, $this->source, $context["currency"], "code", [], "any", false, false, false, 6) == ($context["code"] ?? null)))) { | ||
| 57 | - echo " <strong>"; | ||
| 58 | - echo twig_get_attribute($this->env, $this->source, $context["currency"], "symbol_right", [], "any", false, false, false, 6); | ||
| 59 | - echo "</strong> "; | ||
| 60 | - } | ||
| 61 | - // line 7 | ||
| 62 | - echo " "; | ||
| 63 | - } | ||
| 64 | - $_parent = $context['_parent']; | ||
| 65 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['currency'], $context['_parent'], $context['loop']); | ||
| 66 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 67 | - echo " <span class=\"hidden-xs hidden-sm hidden-md\">"; | ||
| 68 | - echo ($context["text_currency"] ?? null); | ||
| 69 | - echo "</span> <i class=\"fa fa-caret-down\"></i></button> | ||
| 70 | - <ul class=\"dropdown-menu\"> | ||
| 71 | - "; | ||
| 72 | - // line 9 | ||
| 73 | - $context['_parent'] = $context; | ||
| 74 | - $context['_seq'] = twig_ensure_traversable(($context["currencies"] ?? null)); | ||
| 75 | - foreach ($context['_seq'] as $context["_key"] => $context["currency"]) { | ||
| 76 | - // line 10 | ||
| 77 | - echo " "; | ||
| 78 | - if (twig_get_attribute($this->env, $this->source, $context["currency"], "symbol_left", [], "any", false, false, false, 10)) { | ||
| 79 | - // line 11 | ||
| 80 | - echo " <li> | ||
| 81 | - <button class=\"currency-select btn btn-link btn-block\" type=\"button\" name=\""; | ||
| 82 | - // line 12 | ||
| 83 | - echo twig_get_attribute($this->env, $this->source, $context["currency"], "code", [], "any", false, false, false, 12); | ||
| 84 | - echo "\">"; | ||
| 85 | - echo twig_get_attribute($this->env, $this->source, $context["currency"], "symbol_left", [], "any", false, false, false, 12); | ||
| 86 | - echo " "; | ||
| 87 | - echo twig_get_attribute($this->env, $this->source, $context["currency"], "title", [], "any", false, false, false, 12); | ||
| 88 | - echo "</button> | ||
| 89 | - </li> | ||
| 90 | - "; | ||
| 91 | - } else { | ||
| 92 | - // line 15 | ||
| 93 | - echo " <li> | ||
| 94 | - <button class=\"currency-select btn btn-link btn-block\" type=\"button\" name=\""; | ||
| 95 | - // line 16 | ||
| 96 | - echo twig_get_attribute($this->env, $this->source, $context["currency"], "code", [], "any", false, false, false, 16); | ||
| 97 | - echo "\">"; | ||
| 98 | - echo twig_get_attribute($this->env, $this->source, $context["currency"], "symbol_right", [], "any", false, false, false, 16); | ||
| 99 | - echo " "; | ||
| 100 | - echo twig_get_attribute($this->env, $this->source, $context["currency"], "title", [], "any", false, false, false, 16); | ||
| 101 | - echo "</button> | ||
| 102 | - </li> | ||
| 103 | - "; | ||
| 104 | - } | ||
| 105 | - // line 19 | ||
| 106 | - echo " "; | ||
| 107 | - } | ||
| 108 | - $_parent = $context['_parent']; | ||
| 109 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['currency'], $context['_parent'], $context['loop']); | ||
| 110 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 111 | - // line 20 | ||
| 112 | - echo " </ul> | ||
| 113 | - </div> | ||
| 114 | - <input type=\"hidden\" name=\"code\" value=\"\" /> | ||
| 115 | - <input type=\"hidden\" name=\"redirect\" value=\""; | ||
| 116 | - // line 23 | ||
| 117 | - echo ($context["redirect"] ?? null); | ||
| 118 | - echo "\" /> | ||
| 119 | - </form> | ||
| 120 | -</div> | ||
| 121 | -"; | ||
| 122 | - } | ||
| 123 | - // line 26 | ||
| 124 | - echo " "; | ||
| 125 | - } | ||
| 126 | - | ||
| 127 | - public function getTemplateName() | ||
| 128 | - { | ||
| 129 | - return "default/template/common/currency.twig"; | ||
| 130 | - } | ||
| 131 | - | ||
| 132 | - public function isTraitable() | ||
| 133 | - { | ||
| 134 | - return false; | ||
| 135 | - } | ||
| 136 | - | ||
| 137 | - public function getDebugInfo() | ||
| 138 | - { | ||
| 139 | - return array ( 124 => 26, 117 => 23, 112 => 20, 106 => 19, 96 => 16, 93 => 15, 83 => 12, 80 => 11, 77 => 10, 73 => 9, 62 => 7, 51 => 6, 47 => 5, 42 => 3, 39 => 2, 37 => 1,); | ||
| 140 | - } | ||
| 141 | - | ||
| 142 | - public function getSourceContext() | ||
| 143 | - { | ||
| 144 | - return new Source("", "default/template/common/currency.twig", ""); | ||
| 145 | - } | ||
| 146 | -} |
| 1 | -<?php | ||
| 2 | - | ||
| 3 | -use Twig\Environment; | ||
| 4 | -use Twig\Error\LoaderError; | ||
| 5 | -use Twig\Error\RuntimeError; | ||
| 6 | -use Twig\Extension\CoreExtension; | ||
| 7 | -use Twig\Extension\SandboxExtension; | ||
| 8 | -use Twig\Markup; | ||
| 9 | -use Twig\Sandbox\SecurityError; | ||
| 10 | -use Twig\Sandbox\SecurityNotAllowedTagError; | ||
| 11 | -use Twig\Sandbox\SecurityNotAllowedFilterError; | ||
| 12 | -use Twig\Sandbox\SecurityNotAllowedFunctionError; | ||
| 13 | -use Twig\Source; | ||
| 14 | -use Twig\Template; | ||
| 15 | - | ||
| 16 | -/* catalog/product_list.twig */ | ||
| 17 | -class __TwigTemplate_473d72e946935043f780d4ce105a8119 extends Template | ||
| 18 | -{ | ||
| 19 | - private $source; | ||
| 20 | - private $macros = []; | ||
| 21 | - | ||
| 22 | - public function __construct(Environment $env) | ||
| 23 | - { | ||
| 24 | - parent::__construct($env); | ||
| 25 | - | ||
| 26 | - $this->source = $this->getSourceContext(); | ||
| 27 | - | ||
| 28 | - $this->parent = false; | ||
| 29 | - | ||
| 30 | - $this->blocks = [ | ||
| 31 | - ]; | ||
| 32 | - } | ||
| 33 | - | ||
| 34 | - protected function doDisplay(array $context, array $blocks = []) | ||
| 35 | - { | ||
| 36 | - $macros = $this->macros; | ||
| 37 | - // line 1 | ||
| 38 | - yield ($context["header"] ?? null); | ||
| 39 | - yield ($context["column_left"] ?? null); | ||
| 40 | - yield " | ||
| 41 | -<div id=\"content\"> | ||
| 42 | - <div class=\"page-header\"> | ||
| 43 | - <div class=\"container-fluid\"> | ||
| 44 | - <div class=\"pull-right\"> | ||
| 45 | - <button type=\"button\" data-toggle=\"tooltip\" title=\""; | ||
| 46 | - // line 6 | ||
| 47 | - yield ($context["button_filter"] ?? null); | ||
| 48 | - yield "\" onclick=\"\$('#filter-product').toggleClass('hidden-sm hidden-xs');\" class=\"btn btn-default hidden-md hidden-lg\"><i class=\"fa fa-filter\"></i></button> | ||
| 49 | - <a href=\""; | ||
| 50 | - // line 7 | ||
| 51 | - yield ($context["add"] ?? null); | ||
| 52 | - yield "\" data-toggle=\"tooltip\" title=\""; | ||
| 53 | - yield ($context["button_add"] ?? null); | ||
| 54 | - yield "\" class=\"btn btn-primary\"><i class=\"fa fa-plus\"></i></a> | ||
| 55 | - <button type=\"submit\" form=\"form-product\" formaction=\""; | ||
| 56 | - // line 8 | ||
| 57 | - yield ($context["copy"] ?? null); | ||
| 58 | - yield "\" data-toggle=\"tooltip\" title=\""; | ||
| 59 | - yield ($context["button_copy"] ?? null); | ||
| 60 | - yield "\" class=\"btn btn-default\"><i class=\"fa fa-copy\"></i></button> | ||
| 61 | - <button type=\"submit\" form=\"form-product\" formaction=\""; | ||
| 62 | - // line 9 | ||
| 63 | - yield ($context["enabled"] ?? null); | ||
| 64 | - yield "\" data-toggle=\"tooltip\" title=\""; | ||
| 65 | - yield ($context["button_enable"] ?? null); | ||
| 66 | - yield "\" class=\"btn btn-default\"><i class=\"fa fa-play\"></i></button> | ||
| 67 | -\t\t<button type=\"submit\" form=\"form-product\" formaction=\""; | ||
| 68 | - // line 10 | ||
| 69 | - yield ($context["disabled"] ?? null); | ||
| 70 | - yield "\" data-toggle=\"tooltip\" title=\""; | ||
| 71 | - yield ($context["button_disable"] ?? null); | ||
| 72 | - yield "\" class=\"btn btn-default\"><i class=\"fa fa-pause\"></i></button> | ||
| 73 | -\t\t<button type=\"button\" form=\"form-product\" formaction=\""; | ||
| 74 | - // line 11 | ||
| 75 | - yield ($context["delete"] ?? null); | ||
| 76 | - yield "\" data-toggle=\"tooltip\" title=\""; | ||
| 77 | - yield ($context["button_delete"] ?? null); | ||
| 78 | - yield "\" class=\"btn btn-danger\" onclick=\"confirm('"; | ||
| 79 | - yield ($context["text_confirm"] ?? null); | ||
| 80 | - yield "') ? \$('#form-product').submit() : false;\"><i class=\"fa fa-trash-o\"></i></button> | ||
| 81 | - </div> | ||
| 82 | - <h1>"; | ||
| 83 | - // line 13 | ||
| 84 | - yield ($context["heading_title"] ?? null); | ||
| 85 | - yield "</h1> | ||
| 86 | - <ul class=\"breadcrumb\"> | ||
| 87 | - "; | ||
| 88 | - // line 15 | ||
| 89 | - $context['_parent'] = $context; | ||
| 90 | - $context['_seq'] = CoreExtension::ensureTraversable(($context["breadcrumbs"] ?? null)); | ||
| 91 | - foreach ($context['_seq'] as $context["_key"] => $context["breadcrumb"]) { | ||
| 92 | - // line 16 | ||
| 93 | - yield " <li><a href=\""; | ||
| 94 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["breadcrumb"], "href", [], "any", false, false, false, 16); | ||
| 95 | - yield "\">"; | ||
| 96 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["breadcrumb"], "text", [], "any", false, false, false, 16); | ||
| 97 | - yield "</a></li> | ||
| 98 | - "; | ||
| 99 | - } | ||
| 100 | - $_parent = $context['_parent']; | ||
| 101 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['breadcrumb'], $context['_parent'], $context['loop']); | ||
| 102 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 103 | - // line 18 | ||
| 104 | - yield " </ul> | ||
| 105 | - </div> | ||
| 106 | - </div> | ||
| 107 | - <div class=\"container-fluid\">"; | ||
| 108 | - // line 21 | ||
| 109 | - if (($context["error_warning"] ?? null)) { | ||
| 110 | - // line 22 | ||
| 111 | - yield " <div class=\"alert alert-danger alert-dismissible\"><i class=\"fa fa-exclamation-circle\"></i> "; | ||
| 112 | - yield ($context["error_warning"] ?? null); | ||
| 113 | - yield " | ||
| 114 | - <button type=\"button\" class=\"close\" data-dismiss=\"alert\">×</button> | ||
| 115 | - </div> | ||
| 116 | - "; | ||
| 117 | - } | ||
| 118 | - // line 26 | ||
| 119 | - yield " "; | ||
| 120 | - if (($context["success"] ?? null)) { | ||
| 121 | - // line 27 | ||
| 122 | - yield " <div class=\"alert alert-success alert-dismissible\"><i class=\"fa fa-check-circle\"></i> "; | ||
| 123 | - yield ($context["success"] ?? null); | ||
| 124 | - yield " | ||
| 125 | - <button type=\"button\" class=\"close\" data-dismiss=\"alert\">×</button> | ||
| 126 | - </div> | ||
| 127 | - "; | ||
| 128 | - } | ||
| 129 | - // line 31 | ||
| 130 | - yield " <div class=\"row\"> | ||
| 131 | - <div id=\"filter-product\" class=\"col-md-3 col-md-push-9 col-sm-12 hidden-sm hidden-xs\"> | ||
| 132 | - <div class=\"panel panel-default\"> | ||
| 133 | - <div class=\"panel-heading\"> | ||
| 134 | - <h3 class=\"panel-title\"><i class=\"fa fa-filter\"></i> "; | ||
| 135 | - // line 35 | ||
| 136 | - yield ($context["text_filter"] ?? null); | ||
| 137 | - yield "</h3> | ||
| 138 | - </div> | ||
| 139 | - <div class=\"panel-body\"> | ||
| 140 | - <div class=\"form-group\"> | ||
| 141 | - <label class=\"control-label\" for=\"input-name\">"; | ||
| 142 | - // line 39 | ||
| 143 | - yield ($context["entry_name"] ?? null); | ||
| 144 | - yield "</label> | ||
| 145 | -\t\t\t <div class=\"input-group\"> | ||
| 146 | - <input type=\"text\" name=\"filter_name\" value=\""; | ||
| 147 | - // line 41 | ||
| 148 | - yield ($context["filter_name"] ?? null); | ||
| 149 | - yield "\" placeholder=\""; | ||
| 150 | - yield ($context["entry_name"] ?? null); | ||
| 151 | - yield "\" id=\"input-name\" class=\"form-control\" /> | ||
| 152 | -\t\t\t <div class=\"input-group-btn\"> | ||
| 153 | - <button type=\"button\" id=\"button-clear-input-name\" class=\"btn btn-default\"><i class=\"fa fa-times\"></i></button> | ||
| 154 | -\t\t\t</div> | ||
| 155 | -\t\t\t</div> | ||
| 156 | -\t\t\t</div> | ||
| 157 | - <div class=\"form-group\"> | ||
| 158 | - <label class=\"control-label\" for=\"input-model\">"; | ||
| 159 | - // line 48 | ||
| 160 | - yield ($context["entry_model"] ?? null); | ||
| 161 | - yield "</label> | ||
| 162 | -\t\t\t <div class=\"input-group\"> | ||
| 163 | - <input type=\"text\" name=\"filter_model\" value=\""; | ||
| 164 | - // line 50 | ||
| 165 | - yield ($context["filter_model"] ?? null); | ||
| 166 | - yield "\" placeholder=\""; | ||
| 167 | - yield ($context["entry_model"] ?? null); | ||
| 168 | - yield "\" id=\"input-model\" class=\"form-control\" /> | ||
| 169 | - <div class=\"input-group-btn\"> | ||
| 170 | - <button type=\"button\" id=\"button-clear-input-model\" class=\"btn btn-default\"><i class=\"fa fa-times\"></i></button> | ||
| 171 | - </div> | ||
| 172 | -\t\t\t\t</div> | ||
| 173 | -\t\t\t\t</div> | ||
| 174 | -\t\t\t<div class=\"form-group\"> | ||
| 175 | - <label class=\"control-label\" for=\"input-category-name\">"; | ||
| 176 | - // line 57 | ||
| 177 | - yield ($context["entry_category"] ?? null); | ||
| 178 | - yield "</label> <label class=\"control-label pull-right\" for=\"input-sub-category\">"; | ||
| 179 | - yield ($context["entry_sub_category"] ?? null); | ||
| 180 | - yield " <input type=\"checkbox\" class=\"checkbox-inline\" name=\"filter_sub_category\" id=\"input-sub-category\" class=\"form-control\""; | ||
| 181 | - yield ($context["filter_sub_category"] ?? null); | ||
| 182 | - yield " "; | ||
| 183 | - if (($context["filter_sub_category"] ?? null)) { | ||
| 184 | - yield " checked=\"checked\" "; | ||
| 185 | - } | ||
| 186 | - yield " /></label> | ||
| 187 | - <div class=\"clearfix\"></div> | ||
| 188 | -\t\t\t\t<div class=\"input-group\"> | ||
| 189 | - <input type=\"text\" name=\"filter_category_name\" value=\""; | ||
| 190 | - // line 60 | ||
| 191 | - yield ($context["filter_category_name"] ?? null); | ||
| 192 | - yield "\" placeholder=\""; | ||
| 193 | - yield ($context["entry_category"] ?? null); | ||
| 194 | - yield "\" id=\"input-category-name\" class=\"form-control\" /> | ||
| 195 | - <div class=\"input-group-btn\"> | ||
| 196 | - <button type=\"button\" id=\"button-clear-input-category-name\" class=\"btn btn-default\"><i class=\"fa fa-times\"></i></button> | ||
| 197 | - </div> | ||
| 198 | - </div> | ||
| 199 | - <input type=\"hidden\" name=\"filter_category\" value=\""; | ||
| 200 | - // line 65 | ||
| 201 | - yield ($context["filter_category"] ?? null); | ||
| 202 | - yield "\" id=\"input-category\" class=\"form-control\" /> | ||
| 203 | - </div> | ||
| 204 | -\t\t\t | ||
| 205 | -\t\t\t<div class=\"form-group\"> | ||
| 206 | - <label class=\"control-label\" for=\"input-manufacturer-name\">"; | ||
| 207 | - // line 69 | ||
| 208 | - yield ($context["entry_manufacturer"] ?? null); | ||
| 209 | - yield "</label> | ||
| 210 | -\t\t\t <div class=\"input-group\"> | ||
| 211 | -\t\t\t\t<input type=\"text\" name=\"filter_manufacturer_name\" value=\""; | ||
| 212 | - // line 71 | ||
| 213 | - yield ($context["filter_manufacturer_name"] ?? null); | ||
| 214 | - yield "\" placeholder=\""; | ||
| 215 | - yield ($context["entry_manufacturer"] ?? null); | ||
| 216 | - yield "\" id=\"input-manufacturer\" class=\"form-control\" /> | ||
| 217 | -\t\t\t\t | ||
| 218 | -\t\t\t\t<div class=\"input-group-btn\"> | ||
| 219 | - <button type=\"button\" id=\"button-clear-input-manufacturer\" class=\"btn btn-default\"><i class=\"fa fa-times\"></i></button> | ||
| 220 | -\t\t\t\t</div> | ||
| 221 | -\t\t\t\t <input type=\"hidden\" name=\"filter_manufacturer_id\" value=\""; | ||
| 222 | - // line 76 | ||
| 223 | - yield ($context["filter_manufacturer_id"] ?? null); | ||
| 224 | - yield "\" id=\"input-manufacturer-id\" class=\"form-control\" /> | ||
| 225 | -\t\t\t\t</div> | ||
| 226 | -\t\t\t</div> | ||
| 227 | -\t\t\t\t | ||
| 228 | -\t\t\t<!-- | ||
| 229 | -\t\t\t<div class=\"form-group\"> | ||
| 230 | - <label class=\"control-label\" for=\"input-manufacturer-name\">"; | ||
| 231 | - // line 82 | ||
| 232 | - yield ($context["entry_manufacturer"] ?? null); | ||
| 233 | - yield "</label> | ||
| 234 | - <div class=\"input-group\"> | ||
| 235 | - <input type=\"text\" name=\"filter_manufacturer_name\" value=\""; | ||
| 236 | - // line 84 | ||
| 237 | - yield ($context["filter_manufacturer_name"] ?? null); | ||
| 238 | - yield "\" placeholder=\""; | ||
| 239 | - yield ($context["entry_manufacturer"] ?? null); | ||
| 240 | - yield "\" id=\"input-manufacturer-name\" class=\"form-control\" /> | ||
| 241 | - <div class=\"input-group-btn\"> | ||
| 242 | - <button type=\"button\" id=\"button-clear-input-manufacturer-name\" class=\"btn btn-default\"><i class=\"fa fa-times\"></i></button> | ||
| 243 | - </div> | ||
| 244 | - </div> | ||
| 245 | - <input type=\"hidden\" name=\"filter_manufacturer\" value=\""; | ||
| 246 | - // line 89 | ||
| 247 | - yield ($context["filter_manufacturer_name"] ?? null); | ||
| 248 | - yield "\" id=\"input-manufacturer\" class=\"form-control\" /> | ||
| 249 | - </div> | ||
| 250 | -\t\t\t --> | ||
| 251 | -\t\t\t<div class=\"form-group\"> | ||
| 252 | - <label class=\"control-label\" for=\"input-price\">"; | ||
| 253 | - // line 93 | ||
| 254 | - yield ($context["entry_price"] ?? null); | ||
| 255 | - yield "</label> | ||
| 256 | - <div class=\"row\"> | ||
| 257 | - <div class=\"col-sm-6\"> | ||
| 258 | - <div class=\"input-group\"> | ||
| 259 | - <input type=\"text\" name=\"filter_price_min\" value=\""; | ||
| 260 | - // line 97 | ||
| 261 | - yield ($context["filter_price_min"] ?? null); | ||
| 262 | - yield "\" placeholder=\""; | ||
| 263 | - yield ($context["entry_min"] ?? null); | ||
| 264 | - yield "\" id=\"input-price-min\" class=\"form-control\" /> | ||
| 265 | - <div class=\"input-group-btn\"> | ||
| 266 | - <button type=\"button\" id=\"button-clear-input-price-min\" class=\"btn btn-default\"><i class=\"fa fa-times\"></i></button> | ||
| 267 | - </div> | ||
| 268 | - </div> | ||
| 269 | - </div> | ||
| 270 | - <div class=\"col-sm-6 pull-right\"> | ||
| 271 | - <div class=\"input-group\"> | ||
| 272 | - <input type=\"text\" name=\"filter_price_max\" value=\""; | ||
| 273 | - // line 105 | ||
| 274 | - yield ($context["filter_price_max"] ?? null); | ||
| 275 | - yield "\" placeholder=\""; | ||
| 276 | - yield ($context["entry_max"] ?? null); | ||
| 277 | - yield "\" id=\"input-price-max\" class=\"form-control\" /> | ||
| 278 | - <div class=\"input-group-btn\"> | ||
| 279 | - <button type=\"button\" id=\"button-clear-input-price-max\" class=\"btn btn-default\"><i class=\"fa fa-times\"></i></button> | ||
| 280 | - </div> | ||
| 281 | - </div> | ||
| 282 | - </div> | ||
| 283 | - </div> | ||
| 284 | -\t\t\t</div> | ||
| 285 | -\t\t\t<div class=\"form-group\"> | ||
| 286 | - <label class=\"control-label\" for=\"input-quantity\">"; | ||
| 287 | - // line 114 | ||
| 288 | - yield ($context["entry_quantity"] ?? null); | ||
| 289 | - yield "</label> | ||
| 290 | - <div class=\"row\"> | ||
| 291 | - <div class=\"col-sm-6\"> | ||
| 292 | - <div class=\"input-group\"> | ||
| 293 | - <input type=\"text\" name=\"filter_quantity_min\" value=\""; | ||
| 294 | - // line 118 | ||
| 295 | - yield ($context["filter_quantity_min"] ?? null); | ||
| 296 | - yield "\" placeholder=\""; | ||
| 297 | - yield ($context["entry_min"] ?? null); | ||
| 298 | - yield "\" id=\"input-quantity-min\" class=\"form-control\" /> | ||
| 299 | - <div class=\"input-group-btn\"> | ||
| 300 | - <button type=\"button\" id=\"button-clear-input-quantity-min\" class=\"btn btn-default\"><i class=\"fa fa-times\"></i></button> | ||
| 301 | - </div> | ||
| 302 | - </div> | ||
| 303 | - </div> | ||
| 304 | - <div class=\"col-sm-6 pull-right\"> | ||
| 305 | - <div class=\"input-group\"> | ||
| 306 | - <input type=\"text\" name=\"filter_quantity_max\" value=\""; | ||
| 307 | - // line 126 | ||
| 308 | - yield ($context["filter_quantity_max"] ?? null); | ||
| 309 | - yield "\" placeholder=\""; | ||
| 310 | - yield ($context["entry_max"] ?? null); | ||
| 311 | - yield "\" id=\"input-quantity-max\" class=\"form-control\" /> | ||
| 312 | - <div class=\"input-group-btn\"> | ||
| 313 | - <button type=\"button\" id=\"button-clear-input-quantity-max\" class=\"btn btn-default\"><i class=\"fa fa-times\"></i></button> | ||
| 314 | - </div> | ||
| 315 | - </div> | ||
| 316 | - </div> | ||
| 317 | - </div> | ||
| 318 | -\t\t\t</div> | ||
| 319 | - <div class=\"form-group\"> | ||
| 320 | - <label class=\"control-label\" for=\"input-status\">"; | ||
| 321 | - // line 135 | ||
| 322 | - yield ($context["entry_status"] ?? null); | ||
| 323 | - yield "</label> | ||
| 324 | - <select name=\"filter_status\" id=\"input-status\" class=\"form-control\"> | ||
| 325 | - <option value=\"\"></option> | ||
| 326 | - | ||
| 327 | - | ||
| 328 | - | ||
| 329 | - | ||
| 330 | - | ||
| 331 | - | ||
| 332 | - "; | ||
| 333 | - // line 144 | ||
| 334 | - if ((($context["filter_status"] ?? null) == "1")) { | ||
| 335 | - // line 145 | ||
| 336 | - yield " | ||
| 337 | - | ||
| 338 | - | ||
| 339 | - | ||
| 340 | - | ||
| 341 | - | ||
| 342 | - <option value=\"1\" selected=\"selected\">"; | ||
| 343 | - // line 151 | ||
| 344 | - yield ($context["text_enabled"] ?? null); | ||
| 345 | - yield "</option> | ||
| 346 | - | ||
| 347 | - | ||
| 348 | - | ||
| 349 | - | ||
| 350 | - | ||
| 351 | - | ||
| 352 | - "; | ||
| 353 | - } else { | ||
| 354 | - // line 159 | ||
| 355 | - yield " | ||
| 356 | - | ||
| 357 | - | ||
| 358 | - | ||
| 359 | - | ||
| 360 | - | ||
| 361 | - <option value=\"1\">"; | ||
| 362 | - // line 165 | ||
| 363 | - yield ($context["text_enabled"] ?? null); | ||
| 364 | - yield "</option> | ||
| 365 | - | ||
| 366 | - | ||
| 367 | - | ||
| 368 | - | ||
| 369 | - | ||
| 370 | - | ||
| 371 | - "; | ||
| 372 | - } | ||
| 373 | - // line 173 | ||
| 374 | - yield " "; | ||
| 375 | - if ((($context["filter_status"] ?? null) == "0")) { | ||
| 376 | - // line 174 | ||
| 377 | - yield " | ||
| 378 | - | ||
| 379 | - | ||
| 380 | - | ||
| 381 | - | ||
| 382 | - | ||
| 383 | - <option value=\"0\" selected=\"selected\">"; | ||
| 384 | - // line 180 | ||
| 385 | - yield ($context["text_disabled"] ?? null); | ||
| 386 | - yield "</option> | ||
| 387 | - | ||
| 388 | - | ||
| 389 | - | ||
| 390 | - | ||
| 391 | - | ||
| 392 | - | ||
| 393 | - "; | ||
| 394 | - } else { | ||
| 395 | - // line 188 | ||
| 396 | - yield " | ||
| 397 | - | ||
| 398 | - | ||
| 399 | - | ||
| 400 | - | ||
| 401 | - | ||
| 402 | - <option value=\"0\">"; | ||
| 403 | - // line 194 | ||
| 404 | - yield ($context["text_disabled"] ?? null); | ||
| 405 | - yield "</option> | ||
| 406 | - | ||
| 407 | - | ||
| 408 | - | ||
| 409 | - | ||
| 410 | - | ||
| 411 | - | ||
| 412 | - "; | ||
| 413 | - } | ||
| 414 | - // line 202 | ||
| 415 | - yield " | ||
| 416 | - | ||
| 417 | - | ||
| 418 | - | ||
| 419 | - | ||
| 420 | - | ||
| 421 | - | ||
| 422 | - </select> | ||
| 423 | - </div> | ||
| 424 | -\t\t\t<div class=\"form-group\"> | ||
| 425 | - <label class=\"control-label\" for=\"input-noindex\">"; | ||
| 426 | - // line 212 | ||
| 427 | - yield ($context["entry_noindex"] ?? null); | ||
| 428 | - yield "</label> | ||
| 429 | - <select name=\"filter_noindex\" id=\"input-noindex\" class=\"form-control\"> | ||
| 430 | - <option value=\"\"></option> | ||
| 431 | - "; | ||
| 432 | - // line 215 | ||
| 433 | - if ((($context["filter_noindex"] ?? null) == "1")) { | ||
| 434 | - // line 216 | ||
| 435 | - yield " <option value=\"1\" selected=\"selected\">"; | ||
| 436 | - yield ($context["text_enabled"] ?? null); | ||
| 437 | - yield "</option> | ||
| 438 | - "; | ||
| 439 | - } else { | ||
| 440 | - // line 218 | ||
| 441 | - yield " <option value=\"1\">"; | ||
| 442 | - yield ($context["text_enabled"] ?? null); | ||
| 443 | - yield "</option> | ||
| 444 | - "; | ||
| 445 | - } | ||
| 446 | - // line 220 | ||
| 447 | - yield " "; | ||
| 448 | - if ((($context["filter_noindex"] ?? null) == "0")) { | ||
| 449 | - // line 221 | ||
| 450 | - yield " <option value=\"0\" selected=\"selected\">"; | ||
| 451 | - yield ($context["text_disabled"] ?? null); | ||
| 452 | - yield "</option> | ||
| 453 | - "; | ||
| 454 | - } else { | ||
| 455 | - // line 223 | ||
| 456 | - yield " <option value=\"0\">"; | ||
| 457 | - yield ($context["text_disabled"] ?? null); | ||
| 458 | - yield "</option> | ||
| 459 | - "; | ||
| 460 | - } | ||
| 461 | - // line 225 | ||
| 462 | - yield " </select> | ||
| 463 | -\t\t\t</div> | ||
| 464 | - <div class=\"form-group text-right\"> | ||
| 465 | - <button type=\"button\" id=\"button-filter\" class=\"btn btn-default\"><i class=\"fa fa-filter\"></i> "; | ||
| 466 | - // line 228 | ||
| 467 | - yield ($context["button_filter"] ?? null); | ||
| 468 | - yield "</button> | ||
| 469 | -\t\t\t <button type=\"button\" id=\"button-clear-filter\" class=\"btn btn-default\"><i class=\"fa fa-times\"></i><span class=\"hidden-sm\"> "; | ||
| 470 | - // line 229 | ||
| 471 | - yield ($context["button_clear"] ?? null); | ||
| 472 | - yield "</span></button> | ||
| 473 | - </div> | ||
| 474 | - </div> | ||
| 475 | - </div> | ||
| 476 | - </div> | ||
| 477 | - <div class=\"col-md-9 col-md-pull-3 col-sm-12\"> | ||
| 478 | - <div class=\"panel panel-default\"> | ||
| 479 | - <div class=\"panel-heading\"> | ||
| 480 | - <h3 class=\"panel-title\"><i class=\"fa fa-list\"></i> "; | ||
| 481 | - // line 237 | ||
| 482 | - yield ($context["text_list"] ?? null); | ||
| 483 | - yield "</h3> | ||
| 484 | - </div> | ||
| 485 | - <div class=\"panel-body\"> | ||
| 486 | - <form action=\""; | ||
| 487 | - // line 240 | ||
| 488 | - yield ($context["delete"] ?? null); | ||
| 489 | - yield "\" method=\"post\" enctype=\"multipart/form-data\" id=\"form-product\"> | ||
| 490 | - <div class=\"table-responsive\"> | ||
| 491 | - <table class=\"table table-bordered table-hover\"> | ||
| 492 | - <thead> | ||
| 493 | - <tr> | ||
| 494 | - <td style=\"width: 1px;\" class=\"text-center\"><input type=\"checkbox\" onclick=\"\$('input[name*=\\'selected\\']').prop('checked', this.checked);\" /></td> | ||
| 495 | - <td class=\"text-center\">"; | ||
| 496 | - // line 246 | ||
| 497 | - yield ($context["column_image"] ?? null); | ||
| 498 | - yield "</td> | ||
| 499 | - <td class=\"text-left\">"; | ||
| 500 | - // line 247 | ||
| 501 | - if ((($context["sort"] ?? null) == "pd.name")) { | ||
| 502 | - yield " <a href=\""; | ||
| 503 | - yield ($context["sort_name"] ?? null); | ||
| 504 | - yield "\" class=\""; | ||
| 505 | - yield Twig\Extension\CoreExtension::lower($this->env->getCharset(), ($context["order"] ?? null)); | ||
| 506 | - yield "\">"; | ||
| 507 | - yield ($context["column_name"] ?? null); | ||
| 508 | - yield "</a> "; | ||
| 509 | - } else { | ||
| 510 | - yield " <a href=\""; | ||
| 511 | - yield ($context["sort_name"] ?? null); | ||
| 512 | - yield "\">"; | ||
| 513 | - yield ($context["column_name"] ?? null); | ||
| 514 | - yield "</a> "; | ||
| 515 | - } | ||
| 516 | - yield "</td> | ||
| 517 | - <td class=\"text-left\">"; | ||
| 518 | - // line 248 | ||
| 519 | - if ((($context["sort"] ?? null) == "p.model")) { | ||
| 520 | - yield " <a href=\""; | ||
| 521 | - yield ($context["sort_model"] ?? null); | ||
| 522 | - yield "\" class=\""; | ||
| 523 | - yield Twig\Extension\CoreExtension::lower($this->env->getCharset(), ($context["order"] ?? null)); | ||
| 524 | - yield "\">"; | ||
| 525 | - yield ($context["column_model"] ?? null); | ||
| 526 | - yield "</a> "; | ||
| 527 | - } else { | ||
| 528 | - yield " <a href=\""; | ||
| 529 | - yield ($context["sort_model"] ?? null); | ||
| 530 | - yield "\">"; | ||
| 531 | - yield ($context["column_model"] ?? null); | ||
| 532 | - yield "</a> "; | ||
| 533 | - } | ||
| 534 | - yield "</td> | ||
| 535 | - <td class=\"text-right\">"; | ||
| 536 | - // line 249 | ||
| 537 | - if ((($context["sort"] ?? null) == "p.price")) { | ||
| 538 | - yield " <a href=\""; | ||
| 539 | - yield ($context["sort_price"] ?? null); | ||
| 540 | - yield "\" class=\""; | ||
| 541 | - yield Twig\Extension\CoreExtension::lower($this->env->getCharset(), ($context["order"] ?? null)); | ||
| 542 | - yield "\">"; | ||
| 543 | - yield ($context["column_price"] ?? null); | ||
| 544 | - yield "</a> "; | ||
| 545 | - } else { | ||
| 546 | - yield " <a href=\""; | ||
| 547 | - yield ($context["sort_price"] ?? null); | ||
| 548 | - yield "\">"; | ||
| 549 | - yield ($context["column_price"] ?? null); | ||
| 550 | - yield "</a> "; | ||
| 551 | - } | ||
| 552 | - yield "</td> | ||
| 553 | - <td class=\"text-right\">"; | ||
| 554 | - // line 250 | ||
| 555 | - if ((($context["sort"] ?? null) == "p.quantity")) { | ||
| 556 | - yield " <a href=\""; | ||
| 557 | - yield ($context["sort_quantity"] ?? null); | ||
| 558 | - yield "\" class=\""; | ||
| 559 | - yield Twig\Extension\CoreExtension::lower($this->env->getCharset(), ($context["order"] ?? null)); | ||
| 560 | - yield "\">"; | ||
| 561 | - yield ($context["column_quantity"] ?? null); | ||
| 562 | - yield "</a> "; | ||
| 563 | - } else { | ||
| 564 | - yield " <a href=\""; | ||
| 565 | - yield ($context["sort_quantity"] ?? null); | ||
| 566 | - yield "\">"; | ||
| 567 | - yield ($context["column_quantity"] ?? null); | ||
| 568 | - yield "</a> "; | ||
| 569 | - } | ||
| 570 | - yield "</td> | ||
| 571 | - <td class=\"text-left\">"; | ||
| 572 | - // line 251 | ||
| 573 | - if ((($context["sort"] ?? null) == "p.status")) { | ||
| 574 | - yield " <a href=\""; | ||
| 575 | - yield ($context["sort_status"] ?? null); | ||
| 576 | - yield "\" class=\""; | ||
| 577 | - yield Twig\Extension\CoreExtension::lower($this->env->getCharset(), ($context["order"] ?? null)); | ||
| 578 | - yield "\">"; | ||
| 579 | - yield ($context["column_status"] ?? null); | ||
| 580 | - yield "</a> "; | ||
| 581 | - } else { | ||
| 582 | - yield " <a href=\""; | ||
| 583 | - yield ($context["sort_status"] ?? null); | ||
| 584 | - yield "\">"; | ||
| 585 | - yield ($context["column_status"] ?? null); | ||
| 586 | - yield "</a> "; | ||
| 587 | - } | ||
| 588 | - yield "</td> | ||
| 589 | - <td class=\"text-left\">"; | ||
| 590 | - // line 252 | ||
| 591 | - if ((($context["sort"] ?? null) == "p.noindex")) { | ||
| 592 | - yield " <a href=\""; | ||
| 593 | - yield ($context["sort_noindex"] ?? null); | ||
| 594 | - yield "\" class=\""; | ||
| 595 | - yield Twig\Extension\CoreExtension::lower($this->env->getCharset(), ($context["order"] ?? null)); | ||
| 596 | - yield "\">"; | ||
| 597 | - yield ($context["column_noindex"] ?? null); | ||
| 598 | - yield "</a> "; | ||
| 599 | - } else { | ||
| 600 | - yield " <a href=\""; | ||
| 601 | - yield ($context["sort_noindex"] ?? null); | ||
| 602 | - yield "\">"; | ||
| 603 | - yield ($context["column_noindex"] ?? null); | ||
| 604 | - yield "</a> "; | ||
| 605 | - } | ||
| 606 | - yield "</td> | ||
| 607 | -\t\t\t\t\t <td class=\"text-right\">"; | ||
| 608 | - // line 253 | ||
| 609 | - yield ($context["column_action"] ?? null); | ||
| 610 | - yield "</td> | ||
| 611 | - </tr> | ||
| 612 | - </thead> | ||
| 613 | - <tbody> | ||
| 614 | - | ||
| 615 | - "; | ||
| 616 | - // line 258 | ||
| 617 | - if (($context["products"] ?? null)) { | ||
| 618 | - // line 259 | ||
| 619 | - yield " "; | ||
| 620 | - $context['_parent'] = $context; | ||
| 621 | - $context['_seq'] = CoreExtension::ensureTraversable(($context["products"] ?? null)); | ||
| 622 | - foreach ($context['_seq'] as $context["_key"] => $context["product"]) { | ||
| 623 | - // line 260 | ||
| 624 | - yield " <tr> | ||
| 625 | - <td class=\"text-center\">"; | ||
| 626 | - // line 261 | ||
| 627 | - if (CoreExtension::inFilter(CoreExtension::getAttribute($this->env, $this->source, $context["product"], "product_id", [], "any", false, false, false, 261), ($context["selected"] ?? null))) { | ||
| 628 | - // line 262 | ||
| 629 | - yield " <input type=\"checkbox\" name=\"selected[]\" value=\""; | ||
| 630 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["product"], "product_id", [], "any", false, false, false, 262); | ||
| 631 | - yield "\" checked=\"checked\" /> | ||
| 632 | - "; | ||
| 633 | - } else { | ||
| 634 | - // line 264 | ||
| 635 | - yield " <input type=\"checkbox\" name=\"selected[]\" value=\""; | ||
| 636 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["product"], "product_id", [], "any", false, false, false, 264); | ||
| 637 | - yield "\" /> | ||
| 638 | - "; | ||
| 639 | - } | ||
| 640 | - // line 265 | ||
| 641 | - yield "</td> | ||
| 642 | - <td class=\"text-center\">"; | ||
| 643 | - // line 266 | ||
| 644 | - if (CoreExtension::getAttribute($this->env, $this->source, $context["product"], "image", [], "any", false, false, false, 266)) { | ||
| 645 | - yield " <img src=\""; | ||
| 646 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["product"], "image", [], "any", false, false, false, 266); | ||
| 647 | - yield "\" alt=\""; | ||
| 648 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["product"], "name", [], "any", false, false, false, 266); | ||
| 649 | - yield "\" class=\"img-thumbnail\" /> "; | ||
| 650 | - } else { | ||
| 651 | - yield " <span class=\"img-thumbnail list\"><i class=\"fa fa-camera fa-2x\"></i></span> "; | ||
| 652 | - } | ||
| 653 | - yield "</td> | ||
| 654 | - <td class=\"text-left\">"; | ||
| 655 | - // line 267 | ||
| 656 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["product"], "name", [], "any", false, false, false, 267); | ||
| 657 | - yield "</td> | ||
| 658 | - <td class=\"text-left\">"; | ||
| 659 | - // line 268 | ||
| 660 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["product"], "model", [], "any", false, false, false, 268); | ||
| 661 | - yield "</td> | ||
| 662 | - <td class=\"text-right\">"; | ||
| 663 | - // line 269 | ||
| 664 | - if (CoreExtension::getAttribute($this->env, $this->source, $context["product"], "special", [], "any", false, false, false, 269)) { | ||
| 665 | - yield " <span style=\"text-decoration: line-through;\">"; | ||
| 666 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["product"], "price", [], "any", false, false, false, 269); | ||
| 667 | - yield "</span><br/> | ||
| 668 | - <div class=\"text-danger\">"; | ||
| 669 | - // line 270 | ||
| 670 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["product"], "special", [], "any", false, false, false, 270); | ||
| 671 | - yield "</div> | ||
| 672 | - "; | ||
| 673 | - } else { | ||
| 674 | - // line 272 | ||
| 675 | - yield " "; | ||
| 676 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["product"], "price", [], "any", false, false, false, 272); | ||
| 677 | - yield " | ||
| 678 | - "; | ||
| 679 | - } | ||
| 680 | - // line 273 | ||
| 681 | - yield "</td> | ||
| 682 | - <td class=\"text-right\">"; | ||
| 683 | - // line 274 | ||
| 684 | - if ((CoreExtension::getAttribute($this->env, $this->source, $context["product"], "quantity", [], "any", false, false, false, 274) <= 0)) { | ||
| 685 | - yield " <span class=\"label label-warning\">"; | ||
| 686 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["product"], "quantity", [], "any", false, false, false, 274); | ||
| 687 | - yield "</span> "; | ||
| 688 | - } elseif ((CoreExtension::getAttribute($this->env, $this->source, $context["product"], "quantity", [], "any", false, false, false, 274) <= 5)) { | ||
| 689 | - yield " <span class=\"label label-danger\">"; | ||
| 690 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["product"], "quantity", [], "any", false, false, false, 274); | ||
| 691 | - yield "</span> "; | ||
| 692 | - } else { | ||
| 693 | - yield " <span class=\"label label-success\">"; | ||
| 694 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["product"], "quantity", [], "any", false, false, false, 274); | ||
| 695 | - yield "</span> "; | ||
| 696 | - } | ||
| 697 | - yield "</td> | ||
| 698 | - <td class=\"text-left\">"; | ||
| 699 | - // line 275 | ||
| 700 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["product"], "status", [], "any", false, false, false, 275); | ||
| 701 | - yield "</td> | ||
| 702 | -\t\t\t\t\t<td class=\"text-left\">"; | ||
| 703 | - // line 276 | ||
| 704 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["product"], "noindex", [], "any", false, false, false, 276); | ||
| 705 | - yield "</td> | ||
| 706 | - <td class=\"text-right\"> | ||
| 707 | -\t\t\t\t\t\t<a target=\"_blank\" href=\""; | ||
| 708 | - // line 278 | ||
| 709 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["product"], "href_shop", [], "any", false, false, false, 278); | ||
| 710 | - yield "\" data-toggle=\"tooltip\" title=\""; | ||
| 711 | - yield ($context["button_shop"] ?? null); | ||
| 712 | - yield "\" class=\"btn btn-success\"><i class=\"fa fa-eye\"></i></a> | ||
| 713 | -\t\t\t\t\t\t<a href=\""; | ||
| 714 | - // line 279 | ||
| 715 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["product"], "edit", [], "any", false, false, false, 279); | ||
| 716 | - yield "\" data-toggle=\"tooltip\" title=\""; | ||
| 717 | - yield ($context["button_edit"] ?? null); | ||
| 718 | - yield "\" class=\"btn btn-primary\"><i class=\"fa fa-pencil\"></i></a> | ||
| 719 | -\t\t\t\t\t</td> | ||
| 720 | - </tr> | ||
| 721 | - "; | ||
| 722 | - } | ||
| 723 | - $_parent = $context['_parent']; | ||
| 724 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['product'], $context['_parent'], $context['loop']); | ||
| 725 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 726 | - // line 283 | ||
| 727 | - yield " "; | ||
| 728 | - } else { | ||
| 729 | - // line 284 | ||
| 730 | - yield " <tr> | ||
| 731 | - <td class=\"text-center\" colspan=\"9\">"; | ||
| 732 | - // line 285 | ||
| 733 | - yield ($context["text_no_results"] ?? null); | ||
| 734 | - yield "</td> | ||
| 735 | - </tr> | ||
| 736 | - "; | ||
| 737 | - } | ||
| 738 | - // line 288 | ||
| 739 | - yield " </tbody> | ||
| 740 | - | ||
| 741 | - </table> | ||
| 742 | - </div> | ||
| 743 | - </form> | ||
| 744 | - <div class=\"row\"> | ||
| 745 | - <div class=\"col-sm-6 text-left\">"; | ||
| 746 | - // line 294 | ||
| 747 | - yield ($context["pagination"] ?? null); | ||
| 748 | - yield "</div> | ||
| 749 | - <div class=\"col-sm-6 text-right\">"; | ||
| 750 | - // line 295 | ||
| 751 | - yield ($context["results"] ?? null); | ||
| 752 | - yield "</div> | ||
| 753 | - </div> | ||
| 754 | - </div> | ||
| 755 | - </div> | ||
| 756 | - </div> | ||
| 757 | - </div> | ||
| 758 | - </div> | ||
| 759 | - <script type=\"text/javascript\"><!-- | ||
| 760 | -\$('#button-filter').on('click', function() { | ||
| 761 | -\tvar url = ''; | ||
| 762 | - | ||
| 763 | -\tvar filter_name = \$('input[name=\\'filter_name\\']').val(); | ||
| 764 | - | ||
| 765 | -\tif (filter_name) { | ||
| 766 | -\t\turl += '&filter_name=' + encodeURIComponent(filter_name); | ||
| 767 | -\t} | ||
| 768 | - | ||
| 769 | -\tvar filter_model = \$('input[name=\\'filter_model\\']').val(); | ||
| 770 | - | ||
| 771 | -\tif (filter_model) { | ||
| 772 | -\t\turl += '&filter_model=' + encodeURIComponent(filter_model); | ||
| 773 | -\t} | ||
| 774 | - | ||
| 775 | -\tvar filter_price_min = \$('input[name=\\'filter_price_min\\']').val(); | ||
| 776 | -\tif (filter_price_min) { | ||
| 777 | -\t\turl += '&filter_price_min=' + encodeURIComponent(filter_price_min); | ||
| 778 | -\t} | ||
| 779 | -\t | ||
| 780 | -\tvar filter_price_max = \$('input[name=\\'filter_price_max\\']').val(); | ||
| 781 | -\tif (filter_price_max) { | ||
| 782 | -\t\turl += '&filter_price_max=' + encodeURIComponent(filter_price_max); | ||
| 783 | -\t} | ||
| 784 | - | ||
| 785 | -\tvar filter_quantity_min = \$('input[name=\\'filter_quantity_min\\']').val(); | ||
| 786 | -\tif (filter_quantity_min) { | ||
| 787 | -\t\turl += '&filter_quantity_min=' + encodeURIComponent(filter_quantity_min); | ||
| 788 | -\t} | ||
| 789 | -\t | ||
| 790 | -\tvar filter_quantity_max = \$('input[name=\\'filter_quantity_max\\']').val(); | ||
| 791 | -\tif (filter_quantity_max) { | ||
| 792 | -\t\turl += '&filter_quantity_max=' + encodeURIComponent(filter_quantity_max); | ||
| 793 | -\t} | ||
| 794 | - | ||
| 795 | -\tvar filter_status = \$('select[name=\\'filter_status\\']').val(); | ||
| 796 | - | ||
| 797 | -\tif (filter_status !== '') { | ||
| 798 | -\t\turl += '&filter_status=' + encodeURIComponent(filter_status); | ||
| 799 | -\t} | ||
| 800 | -\t | ||
| 801 | -\tvar filter_category = \$('input[name=\\'filter_category\\']').val(); | ||
| 802 | -\tif (filter_category) { | ||
| 803 | -\t\turl += '&filter_category=' + encodeURIComponent(filter_category); | ||
| 804 | -\t} | ||
| 805 | -\t | ||
| 806 | -\tvar filter_sub_category = \$('input[name=\\'filter_sub_category\\']'); | ||
| 807 | -\tif (filter_sub_category.prop('checked')) { | ||
| 808 | -\t\turl += '&filter_sub_category'; | ||
| 809 | -\t} | ||
| 810 | -\t | ||
| 811 | -\tvar filter_manufacturer_id = \$('input[name=\\'filter_manufacturer_id\\']').val(); | ||
| 812 | -\tif (filter_manufacturer_id) { | ||
| 813 | -\t\turl += '&filter_manufacturer_id=' + encodeURIComponent(filter_manufacturer_id); | ||
| 814 | -\t} | ||
| 815 | -\t | ||
| 816 | -\tvar filter_noindex = \$('select[name=\\'filter_noindex\\']').val(); | ||
| 817 | -\tif (filter_noindex !== '') { | ||
| 818 | -\t\turl += '&filter_noindex=' + encodeURIComponent(filter_noindex); | ||
| 819 | -\t} | ||
| 820 | - | ||
| 821 | -\tlocation = 'index.php?route=catalog/product&user_token="; | ||
| 822 | - // line 364 | ||
| 823 | - yield ($context["user_token"] ?? null); | ||
| 824 | - yield "' + url; | ||
| 825 | -}); | ||
| 826 | -\$('#button-clear-filter').on('click', function() { | ||
| 827 | -\tlocation = 'index.php?route=catalog/product&user_token="; | ||
| 828 | - // line 367 | ||
| 829 | - yield ($context["user_token"] ?? null); | ||
| 830 | - yield "'; | ||
| 831 | -}); | ||
| 832 | -//--></script> | ||
| 833 | - <script type=\"text/javascript\"><!-- | ||
| 834 | -// IE and Edge fix! | ||
| 835 | -\$('button[form=\\'form-product\\']').on('click', function(e) { | ||
| 836 | -\t\$('#form-product').attr('action', \$(this).attr('formaction')); | ||
| 837 | -}); | ||
| 838 | - | ||
| 839 | -\$('input[name=\\'filter_name\\']').autocomplete({ | ||
| 840 | -\t'source': function(request, response) { | ||
| 841 | -\t\t\$.ajax({ | ||
| 842 | -\t\t\turl: 'index.php?route=catalog/product/autocomplete&user_token="; | ||
| 843 | - // line 379 | ||
| 844 | - yield ($context["user_token"] ?? null); | ||
| 845 | - yield "&filter_name=' + encodeURIComponent(request), | ||
| 846 | -\t\t\tdataType: 'json', | ||
| 847 | -\t\t\tsuccess: function(json) { | ||
| 848 | -\t\t\t\tresponse(\$.map(json, function(item) { | ||
| 849 | -\t\t\t\t\treturn { | ||
| 850 | -\t\t\t\t\t\tlabel: item['name'], | ||
| 851 | -\t\t\t\t\t\tvalue: item['product_id'] | ||
| 852 | -\t\t\t\t\t} | ||
| 853 | -\t\t\t\t})); | ||
| 854 | -\t\t\t} | ||
| 855 | -\t\t}); | ||
| 856 | -\t}, | ||
| 857 | -\t'select': function(item) { | ||
| 858 | -\t\t\$('input[name=\\'filter_name\\']').val(item['label']); | ||
| 859 | -\t} | ||
| 860 | -}); | ||
| 861 | -\$('#button-clear-input-name').on('click',function(){ | ||
| 862 | -\t\$('input[name=\\'filter_name\\']').val(''); | ||
| 863 | -\t\$('#button-filter').trigger('click'); | ||
| 864 | -}); | ||
| 865 | - | ||
| 866 | -\$('input[name=\\'filter_model\\']').autocomplete({ | ||
| 867 | -\t'source': function(request, response) { | ||
| 868 | -\t\t\$.ajax({ | ||
| 869 | -\t\t\turl: 'index.php?route=catalog/product/autocomplete&user_token="; | ||
| 870 | - // line 403 | ||
| 871 | - yield ($context["user_token"] ?? null); | ||
| 872 | - yield "&filter_model=' + encodeURIComponent(request), | ||
| 873 | -\t\t\tdataType: 'json', | ||
| 874 | -\t\t\tsuccess: function(json) { | ||
| 875 | -\t\t\t\tresponse(\$.map(json, function(item) { | ||
| 876 | -\t\t\t\t\treturn { | ||
| 877 | -\t\t\t\t\t\tlabel: item['model'], | ||
| 878 | -\t\t\t\t\t\tvalue: item['product_id'] | ||
| 879 | -\t\t\t\t\t} | ||
| 880 | -\t\t\t\t})); | ||
| 881 | -\t\t\t} | ||
| 882 | -\t\t}); | ||
| 883 | -\t}, | ||
| 884 | -\t'select': function(item) { | ||
| 885 | -\t\t\$('input[name=\\'filter_model\\']').val(item['label']); | ||
| 886 | -\t} | ||
| 887 | -}); | ||
| 888 | -\$('#button-clear-input-model').on('click',function(){ | ||
| 889 | -\t\$('input[name=\\'filter_model\\']').val(''); | ||
| 890 | -\t\$('#button-filter').trigger('click'); | ||
| 891 | -}); | ||
| 892 | -\$('input[name=\\'filter_category_name\\']').autocomplete({ | ||
| 893 | -\t'source': function(request, response) { | ||
| 894 | -\t\tif (\$('input[name=\\'filter_category_name\\']').val().length==0) { | ||
| 895 | -\t\t\t\$('input[name=\\'filter_category\\']').val(null); | ||
| 896 | -\t\t} | ||
| 897 | -\t\t\$.ajax({ | ||
| 898 | -\t\t\turl: 'index.php?route=catalog/category/autocomplete&user_token="; | ||
| 899 | - // line 429 | ||
| 900 | - yield ($context["user_token"] ?? null); | ||
| 901 | - yield "&filter_name=' + encodeURIComponent(request), | ||
| 902 | -\t\t\tdataType: 'json', | ||
| 903 | -\t\t\tsuccess: function(json) { | ||
| 904 | -\t\t\t\tif (json.length>0) { | ||
| 905 | -\t\t\t\t\tjson.unshift({'category_id':null,'name':'"; | ||
| 906 | - // line 433 | ||
| 907 | - yield ($context["text_all"] ?? null); | ||
| 908 | - yield "'},{'category_id':0,'name':'"; | ||
| 909 | - yield ($context["text_none_category"] ?? null); | ||
| 910 | - yield "'}); | ||
| 911 | -\t\t\t\t} | ||
| 912 | -\t\t\t\tresponse(\$.map(json, function(item) { | ||
| 913 | -\t\t\t\t\treturn { | ||
| 914 | -\t\t\t\t\t\tlabel: item['name'], | ||
| 915 | -\t\t\t\t\t\tvalue: item['category_id'] | ||
| 916 | -\t\t\t\t\t} | ||
| 917 | -\t\t\t\t})); | ||
| 918 | -\t\t\t} | ||
| 919 | -\t\t}); | ||
| 920 | -\t}, | ||
| 921 | -\t'select': function(item) { | ||
| 922 | -\t\tif (item['label']!='"; | ||
| 923 | - // line 445 | ||
| 924 | - yield ($context["text_all"] ?? null); | ||
| 925 | - yield "') { | ||
| 926 | -\t\t\t\$('input[name=\\'filter_category_name\\']').val(item['label']); | ||
| 927 | -\t\t} else { | ||
| 928 | -\t\t\t\$('input[name=\\'filter_category_name\\']').val(''); | ||
| 929 | -\t\t} | ||
| 930 | -\t\t\$('input[name=\\'filter_category\\']').val(item['value']); | ||
| 931 | -\t} | ||
| 932 | -}); | ||
| 933 | -\$('#button-clear-input-category-name').on('click',function(){ | ||
| 934 | -\t\$('input[name=\\'filter_category_name\\']').val(''); | ||
| 935 | -\t\$('input[name=\\'filter_category\\']').val(null); | ||
| 936 | -\t\$('#button-filter').trigger('click'); | ||
| 937 | -}); | ||
| 938 | - | ||
| 939 | -// Manufacturer | ||
| 940 | -\$('input[name=\\'filter_manufacturer_name\\']').autocomplete({ | ||
| 941 | -\t'source': function(request, response) { | ||
| 942 | -\t\tif (\$('input[name=\\'filter_manufacturer_name\\']').val().length==0) { | ||
| 943 | -\t\t\t\$('input[name=\\'filter_manufacturer_id\\']').val(null); | ||
| 944 | -\t\t} | ||
| 945 | -\t\t\$.ajax({ | ||
| 946 | -\t\t\turl: 'index.php?route=catalog/manufacturer/autocomplete&user_token="; | ||
| 947 | - // line 466 | ||
| 948 | - yield ($context["user_token"] ?? null); | ||
| 949 | - yield "&filter_name=' + encodeURIComponent(request), | ||
| 950 | -\t\t\tdataType: 'json', | ||
| 951 | -\t\t\tsuccess: function(json) { | ||
| 952 | -\t\t\t\tif (json.length>0) { | ||
| 953 | -\t\t\t\t\tjson.unshift({'manufacturer_id':null,'name':'"; | ||
| 954 | - // line 470 | ||
| 955 | - yield ($context["text_all"] ?? null); | ||
| 956 | - yield "'},{'manufacturer_id':0,'name':'"; | ||
| 957 | - yield ($context["text_none_manufacturer"] ?? null); | ||
| 958 | - yield "'}); | ||
| 959 | -\t\t\t\t} | ||
| 960 | -\t\t\t\tresponse(\$.map(json, function(item) { | ||
| 961 | -\t\t\t\t\treturn { | ||
| 962 | -\t\t\t\t\t\tlabel: item['name'], | ||
| 963 | -\t\t\t\t\t\tvalue: item['manufacturer_id'] | ||
| 964 | -\t\t\t\t\t} | ||
| 965 | -\t\t\t\t})); | ||
| 966 | -\t\t\t} | ||
| 967 | -\t\t}); | ||
| 968 | -\t}, | ||
| 969 | -\t'select': function(item) { | ||
| 970 | -\t\t\$('input[name=\\'filter_manufacturer_name\\']').val(item['label']); | ||
| 971 | -\t\t\$('input[name=\\'filter_manufacturer_id\\']').val(item['value']); | ||
| 972 | -\t} | ||
| 973 | -}); | ||
| 974 | - | ||
| 975 | -\$('#button-clear-input-manufacturer').on('click',function(){ | ||
| 976 | -\t\$('input[name=\\'filter_manufacturer_name\\']').val(''); | ||
| 977 | -\t\$('input[name=\\'filter_manufacturer_id\\']').val(''); | ||
| 978 | -\t\$('#button-filter').trigger('click'); | ||
| 979 | -}); | ||
| 980 | -\$('#button-clear-input-price-min').on('click',function(){ | ||
| 981 | -\t\$('input[name=\\'filter_price_min\\']').val(''); | ||
| 982 | -\t\$('#button-filter').trigger('click'); | ||
| 983 | -}); | ||
| 984 | -\$('#button-clear-input-price-max').on('click',function(){ | ||
| 985 | -\t\$('input[name=\\'filter_price_max\\']').val(''); | ||
| 986 | -\t\$('#button-filter').trigger('click'); | ||
| 987 | -}); | ||
| 988 | -\$('#button-clear-input-quantity-min').on('click',function(){ | ||
| 989 | -\t\$('input[name=\\'filter_quantity_min\\']').val(''); | ||
| 990 | -\t\$('#button-filter').trigger('click'); | ||
| 991 | -}); | ||
| 992 | -\$('#button-clear-input-quantity-max').on('click',function(){ | ||
| 993 | -\t\$('input[name=\\'filter_quantity_max\\']').val(''); | ||
| 994 | -\t\$('#button-filter').trigger('click'); | ||
| 995 | -}); | ||
| 996 | -\$('input[name=\\'filter_name\\'], input[name=\\'filter_model\\'], input[name=\\'filter_category_name\\'], input[name=\\'filter_manufacturer_id\\'], input[name=\\'filter_price_min\\'], input[name=\\'filter_price_max\\'], input[name=\\'filter_quantity_min\\'], input[name=\\'filter_quantity_max\\']').keypress(function (e) { | ||
| 997 | -\tif (e.which == 13) { | ||
| 998 | -\t\t\$('#button-filter').trigger('click'); | ||
| 999 | -\t\treturn false; | ||
| 1000 | -\t} | ||
| 1001 | -}); | ||
| 1002 | -//--></script></div> | ||
| 1003 | -"; | ||
| 1004 | - // line 515 | ||
| 1005 | - yield ($context["footer"] ?? null); | ||
| 1006 | - yield " "; | ||
| 1007 | - return; yield ''; | ||
| 1008 | - } | ||
| 1009 | - | ||
| 1010 | - /** | ||
| 1011 | - * @codeCoverageIgnore | ||
| 1012 | - */ | ||
| 1013 | - public function getTemplateName() | ||
| 1014 | - { | ||
| 1015 | - return "catalog/product_list.twig"; | ||
| 1016 | - } | ||
| 1017 | - | ||
| 1018 | - /** | ||
| 1019 | - * @codeCoverageIgnore | ||
| 1020 | - */ | ||
| 1021 | - public function isTraitable() | ||
| 1022 | - { | ||
| 1023 | - return false; | ||
| 1024 | - } | ||
| 1025 | - | ||
| 1026 | - /** | ||
| 1027 | - * @codeCoverageIgnore | ||
| 1028 | - */ | ||
| 1029 | - public function getDebugInfo() | ||
| 1030 | - { | ||
| 1031 | - return array ( 1005 => 515, 955 => 470, 948 => 466, 924 => 445, 907 => 433, 900 => 429, 871 => 403, 844 => 379, 829 => 367, 823 => 364, 751 => 295, 747 => 294, 739 => 288, 733 => 285, 730 => 284, 727 => 283, 715 => 279, 709 => 278, 704 => 276, 700 => 275, 684 => 274, 681 => 273, 675 => 272, 670 => 270, 664 => 269, 660 => 268, 656 => 267, 644 => 266, 641 => 265, 635 => 264, 629 => 262, 627 => 261, 624 => 260, 619 => 259, 617 => 258, 609 => 253, 591 => 252, 573 => 251, 555 => 250, 537 => 249, 519 => 248, 501 => 247, 497 => 246, 488 => 240, 482 => 237, 471 => 229, 467 => 228, 462 => 225, 456 => 223, 450 => 221, 447 => 220, 441 => 218, 435 => 216, 433 => 215, 427 => 212, 415 => 202, 404 => 194, 396 => 188, 385 => 180, 377 => 174, 374 => 173, 363 => 165, 355 => 159, 344 => 151, 336 => 145, 334 => 144, 322 => 135, 308 => 126, 295 => 118, 288 => 114, 274 => 105, 261 => 97, 254 => 93, 247 => 89, 237 => 84, 232 => 82, 223 => 76, 213 => 71, 208 => 69, 201 => 65, 191 => 60, 177 => 57, 165 => 50, 160 => 48, 148 => 41, 143 => 39, 136 => 35, 130 => 31, 122 => 27, 119 => 26, 111 => 22, 109 => 21, 104 => 18, 93 => 16, 89 => 15, 84 => 13, 75 => 11, 69 => 10, 63 => 9, 57 => 8, 51 => 7, 47 => 6, 38 => 1,); | ||
| 1032 | - } | ||
| 1033 | - | ||
| 1034 | - public function getSourceContext() | ||
| 1035 | - { | ||
| 1036 | - return new Source("", "catalog/product_list.twig", ""); | ||
| 1037 | - } | ||
| 1038 | -} |
strg/cache/template/e2/e25d9325673c28a4f81712302d902fa16bdd2a2c49558e105dbadb84df29b1d3.php
deleted
100644 → 0
| 1 | -<?php | ||
| 2 | - | ||
| 3 | -use Twig\Environment; | ||
| 4 | -use Twig\Error\LoaderError; | ||
| 5 | -use Twig\Error\RuntimeError; | ||
| 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 | - | ||
| 15 | -/* default/template/common/column_left.twig */ | ||
| 16 | -class __TwigTemplate_babfb590d2220d2dbc83eb1bc1fb9ef3992f8d33de8a2cdc7222c6eff82ec360 extends \Twig\Template | ||
| 17 | -{ | ||
| 18 | - private $source; | ||
| 19 | - private $macros = []; | ||
| 20 | - | ||
| 21 | - public function __construct(Environment $env) | ||
| 22 | - { | ||
| 23 | - parent::__construct($env); | ||
| 24 | - | ||
| 25 | - $this->source = $this->getSourceContext(); | ||
| 26 | - | ||
| 27 | - $this->parent = false; | ||
| 28 | - | ||
| 29 | - $this->blocks = [ | ||
| 30 | - ]; | ||
| 31 | - } | ||
| 32 | - | ||
| 33 | - protected function doDisplay(array $context, array $blocks = []) | ||
| 34 | - { | ||
| 35 | - $macros = $this->macros; | ||
| 36 | - // line 1 | ||
| 37 | - if (($context["modules"] ?? null)) { | ||
| 38 | - // line 2 | ||
| 39 | - echo "<aside id=\"column-left\" class=\"col-sm-3 hidden-xs\"> | ||
| 40 | - "; | ||
| 41 | - // line 3 | ||
| 42 | - $context['_parent'] = $context; | ||
| 43 | - $context['_seq'] = twig_ensure_traversable(($context["modules"] ?? null)); | ||
| 44 | - foreach ($context['_seq'] as $context["_key"] => $context["module"]) { | ||
| 45 | - // line 4 | ||
| 46 | - echo " "; | ||
| 47 | - echo $context["module"]; | ||
| 48 | - echo " | ||
| 49 | - "; | ||
| 50 | - } | ||
| 51 | - $_parent = $context['_parent']; | ||
| 52 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['module'], $context['_parent'], $context['loop']); | ||
| 53 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 54 | - // line 6 | ||
| 55 | - echo "</aside> | ||
| 56 | -"; | ||
| 57 | - } | ||
| 58 | - } | ||
| 59 | - | ||
| 60 | - public function getTemplateName() | ||
| 61 | - { | ||
| 62 | - return "default/template/common/column_left.twig"; | ||
| 63 | - } | ||
| 64 | - | ||
| 65 | - public function isTraitable() | ||
| 66 | - { | ||
| 67 | - return false; | ||
| 68 | - } | ||
| 69 | - | ||
| 70 | - public function getDebugInfo() | ||
| 71 | - { | ||
| 72 | - return array ( 55 => 6, 46 => 4, 42 => 3, 39 => 2, 37 => 1,); | ||
| 73 | - } | ||
| 74 | - | ||
| 75 | - public function getSourceContext() | ||
| 76 | - { | ||
| 77 | - return new Source("", "default/template/common/column_left.twig", ""); | ||
| 78 | - } | ||
| 79 | -} |
| 1 | -<?php | ||
| 2 | - | ||
| 3 | -use Twig\Environment; | ||
| 4 | -use Twig\Error\LoaderError; | ||
| 5 | -use Twig\Error\RuntimeError; | ||
| 6 | -use Twig\Extension\CoreExtension; | ||
| 7 | -use Twig\Extension\SandboxExtension; | ||
| 8 | -use Twig\Markup; | ||
| 9 | -use Twig\Sandbox\SecurityError; | ||
| 10 | -use Twig\Sandbox\SecurityNotAllowedTagError; | ||
| 11 | -use Twig\Sandbox\SecurityNotAllowedFilterError; | ||
| 12 | -use Twig\Sandbox\SecurityNotAllowedFunctionError; | ||
| 13 | -use Twig\Source; | ||
| 14 | -use Twig\Template; | ||
| 15 | - | ||
| 16 | -/* default/template/common/search.twig */ | ||
| 17 | -class __TwigTemplate_b5e3b9db6fea51139f630432b5e78875 extends Template | ||
| 18 | -{ | ||
| 19 | - private $source; | ||
| 20 | - private $macros = []; | ||
| 21 | - | ||
| 22 | - public function __construct(Environment $env) | ||
| 23 | - { | ||
| 24 | - parent::__construct($env); | ||
| 25 | - | ||
| 26 | - $this->source = $this->getSourceContext(); | ||
| 27 | - | ||
| 28 | - $this->parent = false; | ||
| 29 | - | ||
| 30 | - $this->blocks = [ | ||
| 31 | - ]; | ||
| 32 | - } | ||
| 33 | - | ||
| 34 | - protected function doDisplay(array $context, array $blocks = []) | ||
| 35 | - { | ||
| 36 | - $macros = $this->macros; | ||
| 37 | - // line 1 | ||
| 38 | - yield "<div id=\"search\" class=\"input-group\"> | ||
| 39 | - <input type=\"text\" name=\"search\" value=\""; | ||
| 40 | - // line 2 | ||
| 41 | - yield ($context["search"] ?? null); | ||
| 42 | - yield "\" placeholder=\""; | ||
| 43 | - yield ($context["text_search"] ?? null); | ||
| 44 | - yield "\" class=\"form-control input-lg\" /> | ||
| 45 | - <span class=\"input-group-btn\"> | ||
| 46 | - <button type=\"button\" class=\"btn btn-default btn-lg\"><i class=\"fa fa-search\"></i></button> | ||
| 47 | - </span> | ||
| 48 | -</div>"; | ||
| 49 | - return; yield ''; | ||
| 50 | - } | ||
| 51 | - | ||
| 52 | - /** | ||
| 53 | - * @codeCoverageIgnore | ||
| 54 | - */ | ||
| 55 | - public function getTemplateName() | ||
| 56 | - { | ||
| 57 | - return "default/template/common/search.twig"; | ||
| 58 | - } | ||
| 59 | - | ||
| 60 | - /** | ||
| 61 | - * @codeCoverageIgnore | ||
| 62 | - */ | ||
| 63 | - public function isTraitable() | ||
| 64 | - { | ||
| 65 | - return false; | ||
| 66 | - } | ||
| 67 | - | ||
| 68 | - /** | ||
| 69 | - * @codeCoverageIgnore | ||
| 70 | - */ | ||
| 71 | - public function getDebugInfo() | ||
| 72 | - { | ||
| 73 | - return array ( 41 => 2, 38 => 1,); | ||
| 74 | - } | ||
| 75 | - | ||
| 76 | - public function getSourceContext() | ||
| 77 | - { | ||
| 78 | - return new Source("", "default/template/common/search.twig", ""); | ||
| 79 | - } | ||
| 80 | -} |
| 1 | -<?php | ||
| 2 | - | ||
| 3 | -use Twig\Environment; | ||
| 4 | -use Twig\Error\LoaderError; | ||
| 5 | -use Twig\Error\RuntimeError; | ||
| 6 | -use Twig\Extension\CoreExtension; | ||
| 7 | -use Twig\Extension\SandboxExtension; | ||
| 8 | -use Twig\Markup; | ||
| 9 | -use Twig\Sandbox\SecurityError; | ||
| 10 | -use Twig\Sandbox\SecurityNotAllowedTagError; | ||
| 11 | -use Twig\Sandbox\SecurityNotAllowedFilterError; | ||
| 12 | -use Twig\Sandbox\SecurityNotAllowedFunctionError; | ||
| 13 | -use Twig\Source; | ||
| 14 | -use Twig\Template; | ||
| 15 | - | ||
| 16 | -/* catalog/attribute_list.twig */ | ||
| 17 | -class __TwigTemplate_36dd537f2d5ac0e569e4013c6e83782c extends Template | ||
| 18 | -{ | ||
| 19 | - private $source; | ||
| 20 | - private $macros = []; | ||
| 21 | - | ||
| 22 | - public function __construct(Environment $env) | ||
| 23 | - { | ||
| 24 | - parent::__construct($env); | ||
| 25 | - | ||
| 26 | - $this->source = $this->getSourceContext(); | ||
| 27 | - | ||
| 28 | - $this->parent = false; | ||
| 29 | - | ||
| 30 | - $this->blocks = [ | ||
| 31 | - ]; | ||
| 32 | - } | ||
| 33 | - | ||
| 34 | - protected function doDisplay(array $context, array $blocks = []) | ||
| 35 | - { | ||
| 36 | - $macros = $this->macros; | ||
| 37 | - // line 1 | ||
| 38 | - yield ($context["header"] ?? null); | ||
| 39 | - yield ($context["column_left"] ?? null); | ||
| 40 | - yield " | ||
| 41 | -<div id=\"content\"> | ||
| 42 | - <div class=\"page-header\"> | ||
| 43 | - <div class=\"container-fluid\"> | ||
| 44 | - <div class=\"pull-right\"><a href=\""; | ||
| 45 | - // line 5 | ||
| 46 | - yield ($context["add"] ?? null); | ||
| 47 | - yield "\" data-toggle=\"tooltip\" title=\""; | ||
| 48 | - yield ($context["button_add"] ?? null); | ||
| 49 | - yield "\" class=\"btn btn-primary\"><i class=\"fa fa-plus\"></i></a> | ||
| 50 | - <button type=\"button\" data-toggle=\"tooltip\" title=\""; | ||
| 51 | - // line 6 | ||
| 52 | - yield ($context["button_delete"] ?? null); | ||
| 53 | - yield "\" class=\"btn btn-danger\" onclick=\"confirm('"; | ||
| 54 | - yield ($context["text_confirm"] ?? null); | ||
| 55 | - yield "') ? \$('#form-attribute').submit() : false;\"><i class=\"fa fa-trash-o\"></i></button> | ||
| 56 | - </div> | ||
| 57 | - <h1>"; | ||
| 58 | - // line 8 | ||
| 59 | - yield ($context["heading_title"] ?? null); | ||
| 60 | - yield "</h1> | ||
| 61 | - <ul class=\"breadcrumb\"> | ||
| 62 | - "; | ||
| 63 | - // line 10 | ||
| 64 | - $context['_parent'] = $context; | ||
| 65 | - $context['_seq'] = CoreExtension::ensureTraversable(($context["breadcrumbs"] ?? null)); | ||
| 66 | - foreach ($context['_seq'] as $context["_key"] => $context["breadcrumb"]) { | ||
| 67 | - // line 11 | ||
| 68 | - yield " <li><a href=\""; | ||
| 69 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["breadcrumb"], "href", [], "any", false, false, false, 11); | ||
| 70 | - yield "\">"; | ||
| 71 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["breadcrumb"], "text", [], "any", false, false, false, 11); | ||
| 72 | - yield "</a></li> | ||
| 73 | - "; | ||
| 74 | - } | ||
| 75 | - $_parent = $context['_parent']; | ||
| 76 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['breadcrumb'], $context['_parent'], $context['loop']); | ||
| 77 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 78 | - // line 13 | ||
| 79 | - yield " </ul> | ||
| 80 | - </div> | ||
| 81 | - </div> | ||
| 82 | - <div class=\"container-fluid\"> | ||
| 83 | - "; | ||
| 84 | - // line 17 | ||
| 85 | - if (($context["error_warning"] ?? null)) { | ||
| 86 | - // line 18 | ||
| 87 | - yield " <div class=\"alert alert-danger alert-dismissible\"><i class=\"fa fa-exclamation-circle\"></i> "; | ||
| 88 | - yield ($context["error_warning"] ?? null); | ||
| 89 | - yield " | ||
| 90 | - <button type=\"button\" class=\"close\" data-dismiss=\"alert\">×</button> | ||
| 91 | - </div> | ||
| 92 | - "; | ||
| 93 | - } | ||
| 94 | - // line 22 | ||
| 95 | - yield " "; | ||
| 96 | - if (($context["success"] ?? null)) { | ||
| 97 | - // line 23 | ||
| 98 | - yield " <div class=\"alert alert-success alert-dismissible\"><i class=\"fa fa-check-circle\"></i> "; | ||
| 99 | - yield ($context["success"] ?? null); | ||
| 100 | - yield " | ||
| 101 | - <button type=\"button\" class=\"close\" data-dismiss=\"alert\">×</button> | ||
| 102 | - </div> | ||
| 103 | - "; | ||
| 104 | - } | ||
| 105 | - // line 27 | ||
| 106 | - yield " <div class=\"panel panel-default\"> | ||
| 107 | - <div class=\"panel-heading\"> | ||
| 108 | - <h3 class=\"panel-title\"><i class=\"fa fa-list\"></i> "; | ||
| 109 | - // line 29 | ||
| 110 | - yield ($context["text_list"] ?? null); | ||
| 111 | - yield "</h3> | ||
| 112 | - </div> | ||
| 113 | - <div class=\"panel-body\"> | ||
| 114 | - <form action=\""; | ||
| 115 | - // line 32 | ||
| 116 | - yield ($context["delete"] ?? null); | ||
| 117 | - yield "\" method=\"post\" enctype=\"multipart/form-data\" id=\"form-attribute\"> | ||
| 118 | - <div class=\"table-responsive\"> | ||
| 119 | - <table class=\"table table-bordered table-hover\"> | ||
| 120 | - <thead> | ||
| 121 | - <tr> | ||
| 122 | - <td style=\"width: 1px;\" class=\"text-center\"><input type=\"checkbox\" onclick=\"\$('input[name*=\\'selected\\']').prop('checked', this.checked);\" /></td> | ||
| 123 | - <td class=\"text-left\">"; | ||
| 124 | - // line 38 | ||
| 125 | - if ((($context["sort"] ?? null) == "ad.name")) { | ||
| 126 | - // line 39 | ||
| 127 | - yield " <a href=\""; | ||
| 128 | - yield ($context["sort_name"] ?? null); | ||
| 129 | - yield "\" class=\""; | ||
| 130 | - yield Twig\Extension\CoreExtension::lower($this->env->getCharset(), ($context["order"] ?? null)); | ||
| 131 | - yield "\">"; | ||
| 132 | - yield ($context["column_name"] ?? null); | ||
| 133 | - yield "</a> | ||
| 134 | - "; | ||
| 135 | - } else { | ||
| 136 | - // line 41 | ||
| 137 | - yield " <a href=\""; | ||
| 138 | - yield ($context["sort_name"] ?? null); | ||
| 139 | - yield "\">"; | ||
| 140 | - yield ($context["column_name"] ?? null); | ||
| 141 | - yield "</a> | ||
| 142 | - "; | ||
| 143 | - } | ||
| 144 | - // line 42 | ||
| 145 | - yield "</td> | ||
| 146 | - <td class=\"text-left\">"; | ||
| 147 | - // line 43 | ||
| 148 | - if ((($context["sort"] ?? null) == "attribute_group")) { | ||
| 149 | - // line 44 | ||
| 150 | - yield " <a href=\""; | ||
| 151 | - yield ($context["sort_attribute_group"] ?? null); | ||
| 152 | - yield "\" class=\""; | ||
| 153 | - yield Twig\Extension\CoreExtension::lower($this->env->getCharset(), ($context["order"] ?? null)); | ||
| 154 | - yield "\">"; | ||
| 155 | - yield ($context["column_attribute_group"] ?? null); | ||
| 156 | - yield "</a> | ||
| 157 | - "; | ||
| 158 | - } else { | ||
| 159 | - // line 46 | ||
| 160 | - yield " <a href=\""; | ||
| 161 | - yield ($context["sort_attribute_group"] ?? null); | ||
| 162 | - yield "\">"; | ||
| 163 | - yield ($context["column_attribute_group"] ?? null); | ||
| 164 | - yield "</a> | ||
| 165 | - "; | ||
| 166 | - } | ||
| 167 | - // line 47 | ||
| 168 | - yield "</td> | ||
| 169 | - <td class=\"text-right\">"; | ||
| 170 | - // line 48 | ||
| 171 | - if ((($context["sort"] ?? null) == "a.sort_order")) { | ||
| 172 | - // line 49 | ||
| 173 | - yield " <a href=\""; | ||
| 174 | - yield ($context["sort_sort_order"] ?? null); | ||
| 175 | - yield "\" class=\""; | ||
| 176 | - yield Twig\Extension\CoreExtension::lower($this->env->getCharset(), ($context["order"] ?? null)); | ||
| 177 | - yield "\">"; | ||
| 178 | - yield ($context["column_sort_order"] ?? null); | ||
| 179 | - yield "</a> | ||
| 180 | - "; | ||
| 181 | - } else { | ||
| 182 | - // line 51 | ||
| 183 | - yield " <a href=\""; | ||
| 184 | - yield ($context["sort_sort_order"] ?? null); | ||
| 185 | - yield "\">"; | ||
| 186 | - yield ($context["column_sort_order"] ?? null); | ||
| 187 | - yield "</a> | ||
| 188 | - "; | ||
| 189 | - } | ||
| 190 | - // line 52 | ||
| 191 | - yield "</td> | ||
| 192 | - <td class=\"text-right\">"; | ||
| 193 | - // line 53 | ||
| 194 | - yield ($context["column_action"] ?? null); | ||
| 195 | - yield "</td> | ||
| 196 | - </tr> | ||
| 197 | - </thead> | ||
| 198 | - <tbody> | ||
| 199 | - "; | ||
| 200 | - // line 57 | ||
| 201 | - if (($context["attributes"] ?? null)) { | ||
| 202 | - // line 58 | ||
| 203 | - yield " "; | ||
| 204 | - $context['_parent'] = $context; | ||
| 205 | - $context['_seq'] = CoreExtension::ensureTraversable(($context["attributes"] ?? null)); | ||
| 206 | - foreach ($context['_seq'] as $context["_key"] => $context["attribute"]) { | ||
| 207 | - // line 59 | ||
| 208 | - yield " <tr> | ||
| 209 | - <td class=\"text-center\">"; | ||
| 210 | - // line 60 | ||
| 211 | - if (CoreExtension::inFilter(CoreExtension::getAttribute($this->env, $this->source, $context["attribute"], "attribute_id", [], "any", false, false, false, 60), ($context["selected"] ?? null))) { | ||
| 212 | - // line 61 | ||
| 213 | - yield " <input type=\"checkbox\" name=\"selected[]\" value=\""; | ||
| 214 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["attribute"], "attribute_id", [], "any", false, false, false, 61); | ||
| 215 | - yield "\" checked=\"checked\" /> | ||
| 216 | - "; | ||
| 217 | - } else { | ||
| 218 | - // line 63 | ||
| 219 | - yield " <input type=\"checkbox\" name=\"selected[]\" value=\""; | ||
| 220 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["attribute"], "attribute_id", [], "any", false, false, false, 63); | ||
| 221 | - yield "\" /> | ||
| 222 | - "; | ||
| 223 | - } | ||
| 224 | - // line 64 | ||
| 225 | - yield "</td> | ||
| 226 | - <td class=\"text-left\">"; | ||
| 227 | - // line 65 | ||
| 228 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["attribute"], "name", [], "any", false, false, false, 65); | ||
| 229 | - yield "</td> | ||
| 230 | - <td class=\"text-left\">"; | ||
| 231 | - // line 66 | ||
| 232 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["attribute"], "attribute_group", [], "any", false, false, false, 66); | ||
| 233 | - yield "</td> | ||
| 234 | - <td class=\"text-right\">"; | ||
| 235 | - // line 67 | ||
| 236 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["attribute"], "sort_order", [], "any", false, false, false, 67); | ||
| 237 | - yield "</td> | ||
| 238 | - <td class=\"text-right\"><a href=\""; | ||
| 239 | - // line 68 | ||
| 240 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["attribute"], "edit", [], "any", false, false, false, 68); | ||
| 241 | - yield "\" data-toggle=\"tooltip\" title=\""; | ||
| 242 | - yield ($context["button_edit"] ?? null); | ||
| 243 | - yield "\" class=\"btn btn-primary\"><i class=\"fa fa-pencil\"></i></a></td> | ||
| 244 | - </tr> | ||
| 245 | - "; | ||
| 246 | - } | ||
| 247 | - $_parent = $context['_parent']; | ||
| 248 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['attribute'], $context['_parent'], $context['loop']); | ||
| 249 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 250 | - // line 71 | ||
| 251 | - yield " "; | ||
| 252 | - } else { | ||
| 253 | - // line 72 | ||
| 254 | - yield " <tr> | ||
| 255 | - <td class=\"text-center\" colspan=\"5\">"; | ||
| 256 | - // line 73 | ||
| 257 | - yield ($context["text_no_results"] ?? null); | ||
| 258 | - yield "</td> | ||
| 259 | - </tr> | ||
| 260 | - "; | ||
| 261 | - } | ||
| 262 | - // line 76 | ||
| 263 | - yield " </tbody> | ||
| 264 | - </table> | ||
| 265 | - </div> | ||
| 266 | - </form> | ||
| 267 | - <div class=\"row\"> | ||
| 268 | - <div class=\"col-sm-6 text-left\">"; | ||
| 269 | - // line 81 | ||
| 270 | - yield ($context["pagination"] ?? null); | ||
| 271 | - yield "</div> | ||
| 272 | - <div class=\"col-sm-6 text-right\">"; | ||
| 273 | - // line 82 | ||
| 274 | - yield ($context["results"] ?? null); | ||
| 275 | - yield "</div> | ||
| 276 | - </div> | ||
| 277 | - </div> | ||
| 278 | - </div> | ||
| 279 | - </div> | ||
| 280 | -</div> | ||
| 281 | -"; | ||
| 282 | - // line 88 | ||
| 283 | - yield ($context["footer"] ?? null); | ||
| 284 | - yield " | ||
| 285 | -"; | ||
| 286 | - return; yield ''; | ||
| 287 | - } | ||
| 288 | - | ||
| 289 | - /** | ||
| 290 | - * @codeCoverageIgnore | ||
| 291 | - */ | ||
| 292 | - public function getTemplateName() | ||
| 293 | - { | ||
| 294 | - return "catalog/attribute_list.twig"; | ||
| 295 | - } | ||
| 296 | - | ||
| 297 | - /** | ||
| 298 | - * @codeCoverageIgnore | ||
| 299 | - */ | ||
| 300 | - public function isTraitable() | ||
| 301 | - { | ||
| 302 | - return false; | ||
| 303 | - } | ||
| 304 | - | ||
| 305 | - /** | ||
| 306 | - * @codeCoverageIgnore | ||
| 307 | - */ | ||
| 308 | - public function getDebugInfo() | ||
| 309 | - { | ||
| 310 | - return array ( 283 => 88, 274 => 82, 270 => 81, 263 => 76, 257 => 73, 254 => 72, 251 => 71, 240 => 68, 236 => 67, 232 => 66, 228 => 65, 225 => 64, 219 => 63, 213 => 61, 211 => 60, 208 => 59, 203 => 58, 201 => 57, 194 => 53, 191 => 52, 183 => 51, 173 => 49, 171 => 48, 168 => 47, 160 => 46, 150 => 44, 148 => 43, 145 => 42, 137 => 41, 127 => 39, 125 => 38, 116 => 32, 110 => 29, 106 => 27, 98 => 23, 95 => 22, 87 => 18, 85 => 17, 79 => 13, 68 => 11, 64 => 10, 59 => 8, 52 => 6, 46 => 5, 38 => 1,); | ||
| 311 | - } | ||
| 312 | - | ||
| 313 | - public function getSourceContext() | ||
| 314 | - { | ||
| 315 | - return new Source("", "catalog/attribute_list.twig", ""); | ||
| 316 | - } | ||
| 317 | -} |
strg/cache/template/ef/ef7cc36b438b47ef4ef5701a2c0fa571f9391e42bf80fc7245be653b86f07eb3.php
deleted
100644 → 0
| 1 | -<?php | ||
| 2 | - | ||
| 3 | -use Twig\Environment; | ||
| 4 | -use Twig\Error\LoaderError; | ||
| 5 | -use Twig\Error\RuntimeError; | ||
| 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 | - | ||
| 15 | -/* install/step_3.twig */ | ||
| 16 | -class __TwigTemplate_3fc43250f5a0df90ec4e788545995dbf4bed4f54a68b1397b88fba63998286d7 extends \Twig\Template | ||
| 17 | -{ | ||
| 18 | - private $source; | ||
| 19 | - private $macros = []; | ||
| 20 | - | ||
| 21 | - public function __construct(Environment $env) | ||
| 22 | - { | ||
| 23 | - parent::__construct($env); | ||
| 24 | - | ||
| 25 | - $this->source = $this->getSourceContext(); | ||
| 26 | - | ||
| 27 | - $this->parent = false; | ||
| 28 | - | ||
| 29 | - $this->blocks = [ | ||
| 30 | - ]; | ||
| 31 | - } | ||
| 32 | - | ||
| 33 | - protected function doDisplay(array $context, array $blocks = []) | ||
| 34 | - { | ||
| 35 | - $macros = $this->macros; | ||
| 36 | - // line 1 | ||
| 37 | - echo ($context["header"] ?? null); | ||
| 38 | - echo " | ||
| 39 | -<div class=\"container\"> | ||
| 40 | - <header> | ||
| 41 | - <div class=\"row\"> | ||
| 42 | - <div class=\"col-sm-6\"> | ||
| 43 | - <h1 class=\"pull-left\">3 | ||
| 44 | - <small>/4</small> | ||
| 45 | - </h1> | ||
| 46 | - <h3>"; | ||
| 47 | - // line 9 | ||
| 48 | - echo ($context["heading_title"] ?? null); | ||
| 49 | - echo " | ||
| 50 | - <br> | ||
| 51 | - <small>"; | ||
| 52 | - // line 11 | ||
| 53 | - echo ($context["text_step_3"] ?? null); | ||
| 54 | - echo "</small> | ||
| 55 | - </h3> | ||
| 56 | - </div> | ||
| 57 | - <div class=\"col-sm-6\"> | ||
| 58 | - <div id=\"logo\" class=\"pull-right hidden-xs\"><img src=\"view/image/logo.png\" alt=\"OpenCart\" title=\"OpenCart\"/></div> | ||
| 59 | - </div> | ||
| 60 | - </div> | ||
| 61 | - </header> | ||
| 62 | - "; | ||
| 63 | - // line 19 | ||
| 64 | - if (($context["error_warning"] ?? null)) { | ||
| 65 | - // line 20 | ||
| 66 | - echo " <div class=\"alert alert-danger alert-dismissible\"><i class=\"fa fa-exclamation-circle\"></i> "; | ||
| 67 | - echo ($context["error_warning"] ?? null); | ||
| 68 | - echo " | ||
| 69 | - <button type=\"button\" class=\"close\" data-dismiss=\"alert\">×</button> | ||
| 70 | - </div> | ||
| 71 | - "; | ||
| 72 | - } | ||
| 73 | - // line 24 | ||
| 74 | - echo " <div class=\"row\"> | ||
| 75 | - <div class=\"col-sm-9\"> | ||
| 76 | - <form action=\""; | ||
| 77 | - // line 26 | ||
| 78 | - echo ($context["action"] ?? null); | ||
| 79 | - echo "\" method=\"post\" enctype=\"multipart/form-data\" class=\"form-horizontal\"> | ||
| 80 | - <p>"; | ||
| 81 | - // line 27 | ||
| 82 | - echo ($context["text_db_connection"] ?? null); | ||
| 83 | - echo "</p> | ||
| 84 | - <fieldset> | ||
| 85 | - <div class=\"form-group\"> | ||
| 86 | - <label class=\"col-sm-2 control-label\" for=\"input-db-driver\">"; | ||
| 87 | - // line 30 | ||
| 88 | - echo ($context["entry_db_driver"] ?? null); | ||
| 89 | - echo "</label> | ||
| 90 | - <div class=\"col-sm-10\"> | ||
| 91 | - <select name=\"db_driver\" id=\"input-db-driver\" class=\"form-control\"> | ||
| 92 | - "; | ||
| 93 | - // line 33 | ||
| 94 | - $context['_parent'] = $context; | ||
| 95 | - $context['_seq'] = twig_ensure_traversable(($context["drivers"] ?? null)); | ||
| 96 | - foreach ($context['_seq'] as $context["_key"] => $context["driver"]) { | ||
| 97 | - // line 34 | ||
| 98 | - echo " "; | ||
| 99 | - if ((($context["db_driver"] ?? null) == twig_get_attribute($this->env, $this->source, $context["driver"], "value", [], "any", false, false, false, 34))) { | ||
| 100 | - // line 35 | ||
| 101 | - echo " <option value=\""; | ||
| 102 | - echo twig_get_attribute($this->env, $this->source, $context["driver"], "value", [], "any", false, false, false, 35); | ||
| 103 | - echo "\" selected=\"selected\">"; | ||
| 104 | - echo twig_get_attribute($this->env, $this->source, $context["driver"], "text", [], "any", false, false, false, 35); | ||
| 105 | - echo "</option> | ||
| 106 | - "; | ||
| 107 | - } else { | ||
| 108 | - // line 37 | ||
| 109 | - echo " <option value=\""; | ||
| 110 | - echo twig_get_attribute($this->env, $this->source, $context["driver"], "value", [], "any", false, false, false, 37); | ||
| 111 | - echo "\">"; | ||
| 112 | - echo twig_get_attribute($this->env, $this->source, $context["driver"], "text", [], "any", false, false, false, 37); | ||
| 113 | - echo "</option> | ||
| 114 | - "; | ||
| 115 | - } | ||
| 116 | - // line 39 | ||
| 117 | - echo " "; | ||
| 118 | - } | ||
| 119 | - $_parent = $context['_parent']; | ||
| 120 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['driver'], $context['_parent'], $context['loop']); | ||
| 121 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 122 | - // line 40 | ||
| 123 | - echo " </select> | ||
| 124 | - "; | ||
| 125 | - // line 41 | ||
| 126 | - if (($context["error_db_driver"] ?? null)) { | ||
| 127 | - // line 42 | ||
| 128 | - echo " <div class=\"text-danger\">"; | ||
| 129 | - echo ($context["error_db_driver"] ?? null); | ||
| 130 | - echo "</div> | ||
| 131 | - "; | ||
| 132 | - } | ||
| 133 | - // line 44 | ||
| 134 | - echo " </div> | ||
| 135 | - </div> | ||
| 136 | - <div class=\"form-group required\"> | ||
| 137 | - <label class=\"col-sm-2 control-label\" for=\"input-db-hostname\">"; | ||
| 138 | - // line 47 | ||
| 139 | - echo ($context["entry_db_hostname"] ?? null); | ||
| 140 | - echo "</label> | ||
| 141 | - <div class=\"col-sm-10\"> | ||
| 142 | - <input type=\"text\" name=\"db_hostname\" value=\""; | ||
| 143 | - // line 49 | ||
| 144 | - echo ($context["db_hostname"] ?? null); | ||
| 145 | - echo "\" id=\"input-db-hostname\" class=\"form-control\"/> | ||
| 146 | - "; | ||
| 147 | - // line 50 | ||
| 148 | - if (($context["error_db_hostname"] ?? null)) { | ||
| 149 | - // line 51 | ||
| 150 | - echo " <div class=\"text-danger\">"; | ||
| 151 | - echo ($context["error_db_hostname"] ?? null); | ||
| 152 | - echo "</div> | ||
| 153 | - "; | ||
| 154 | - } | ||
| 155 | - // line 53 | ||
| 156 | - echo " </div> | ||
| 157 | - </div> | ||
| 158 | - <div class=\"form-group required\"> | ||
| 159 | - <label class=\"col-sm-2 control-label\" for=\"input-db-username\">"; | ||
| 160 | - // line 56 | ||
| 161 | - echo ($context["entry_db_username"] ?? null); | ||
| 162 | - echo "</label> | ||
| 163 | - <div class=\"col-sm-10\"> | ||
| 164 | - <input type=\"text\" name=\"db_username\" value=\""; | ||
| 165 | - // line 58 | ||
| 166 | - echo ($context["db_username"] ?? null); | ||
| 167 | - echo "\" id=\"input-db-username\" class=\"form-control\"/> | ||
| 168 | - "; | ||
| 169 | - // line 59 | ||
| 170 | - if (($context["error_db_username"] ?? null)) { | ||
| 171 | - // line 60 | ||
| 172 | - echo " <div class=\"text-danger\">"; | ||
| 173 | - echo ($context["error_db_username"] ?? null); | ||
| 174 | - echo "</div> | ||
| 175 | - "; | ||
| 176 | - } | ||
| 177 | - // line 62 | ||
| 178 | - echo " </div> | ||
| 179 | - </div> | ||
| 180 | - <div class=\"form-group\"> | ||
| 181 | - <label class=\"col-sm-2 control-label\" for=\"input-db-password\">"; | ||
| 182 | - // line 65 | ||
| 183 | - echo ($context["entry_db_password"] ?? null); | ||
| 184 | - echo "</label> | ||
| 185 | - <div class=\"col-sm-10\"> | ||
| 186 | - <input type=\"password\" name=\"db_password\" value=\""; | ||
| 187 | - // line 67 | ||
| 188 | - echo ($context["db_password"] ?? null); | ||
| 189 | - echo "\" id=\"input-db-password\" class=\"form-control\"/> | ||
| 190 | - </div> | ||
| 191 | - </div> | ||
| 192 | - <div class=\"form-group required\"> | ||
| 193 | - <label class=\"col-sm-2 control-label\" for=\"input-db-database\">"; | ||
| 194 | - // line 71 | ||
| 195 | - echo ($context["entry_db_database"] ?? null); | ||
| 196 | - echo "</label> | ||
| 197 | - <div class=\"col-sm-10\"> | ||
| 198 | - <input type=\"text\" name=\"db_database\" value=\""; | ||
| 199 | - // line 73 | ||
| 200 | - echo ($context["db_database"] ?? null); | ||
| 201 | - echo "\" id=\"input-db-database\" class=\"form-control\"/> | ||
| 202 | - "; | ||
| 203 | - // line 74 | ||
| 204 | - if (($context["error_db_database"] ?? null)) { | ||
| 205 | - // line 75 | ||
| 206 | - echo " <div class=\"text-danger\">"; | ||
| 207 | - echo ($context["error_db_database"] ?? null); | ||
| 208 | - echo "</div> | ||
| 209 | - "; | ||
| 210 | - } | ||
| 211 | - // line 77 | ||
| 212 | - echo " </div> | ||
| 213 | - </div> | ||
| 214 | - <div class=\"form-group required\"> | ||
| 215 | - <label class=\"col-sm-2 control-label\" for=\"input-db-port\">"; | ||
| 216 | - // line 80 | ||
| 217 | - echo ($context["entry_db_port"] ?? null); | ||
| 218 | - echo "</label> | ||
| 219 | - <div class=\"col-sm-10\"> | ||
| 220 | - <input type=\"text\" name=\"db_port\" value=\""; | ||
| 221 | - // line 82 | ||
| 222 | - echo ($context["db_port"] ?? null); | ||
| 223 | - echo "\" id=\"input-db-port\" class=\"form-control\"/> | ||
| 224 | - "; | ||
| 225 | - // line 83 | ||
| 226 | - if (($context["error_db_port"] ?? null)) { | ||
| 227 | - // line 84 | ||
| 228 | - echo " <div class=\"text-danger\">"; | ||
| 229 | - echo ($context["error_db_port"] ?? null); | ||
| 230 | - echo "</div> | ||
| 231 | - "; | ||
| 232 | - } | ||
| 233 | - // line 86 | ||
| 234 | - echo " </div> | ||
| 235 | - </div> | ||
| 236 | - <div class=\"form-group\"> | ||
| 237 | - <label class=\"col-sm-2 control-label\" for=\"input-db-prefix\">"; | ||
| 238 | - // line 89 | ||
| 239 | - echo ($context["entry_db_prefix"] ?? null); | ||
| 240 | - echo "</label> | ||
| 241 | - <div class=\"col-sm-10\"> | ||
| 242 | - <input type=\"text\" name=\"db_prefix\" value=\""; | ||
| 243 | - // line 91 | ||
| 244 | - echo ($context["db_prefix"] ?? null); | ||
| 245 | - echo "\" id=\"input-db-prefix\" class=\"form-control\"/> | ||
| 246 | - "; | ||
| 247 | - // line 92 | ||
| 248 | - if (($context["error_db_prefix"] ?? null)) { | ||
| 249 | - // line 93 | ||
| 250 | - echo " <div class=\"text-danger\">"; | ||
| 251 | - echo ($context["error_db_prefix"] ?? null); | ||
| 252 | - echo "</div> | ||
| 253 | - "; | ||
| 254 | - } | ||
| 255 | - // line 95 | ||
| 256 | - echo " </div> | ||
| 257 | - </div> | ||
| 258 | - </fieldset> | ||
| 259 | - <p>"; | ||
| 260 | - // line 98 | ||
| 261 | - echo ($context["text_db_administration"] ?? null); | ||
| 262 | - echo "</p> | ||
| 263 | - <fieldset> | ||
| 264 | - <div class=\"form-group required\"> | ||
| 265 | - <label class=\"col-sm-2 control-label\" for=\"input-username\">"; | ||
| 266 | - // line 101 | ||
| 267 | - echo ($context["entry_username"] ?? null); | ||
| 268 | - echo "</label> | ||
| 269 | - <div class=\"col-sm-10\"> | ||
| 270 | - <input type=\"text\" name=\"username\" value=\""; | ||
| 271 | - // line 103 | ||
| 272 | - echo ($context["username"] ?? null); | ||
| 273 | - echo "\" id=\"input-username\" class=\"form-control\"/> | ||
| 274 | - "; | ||
| 275 | - // line 104 | ||
| 276 | - if (($context["error_username"] ?? null)) { | ||
| 277 | - // line 105 | ||
| 278 | - echo " <div class=\"text-danger\">"; | ||
| 279 | - echo ($context["error_username"] ?? null); | ||
| 280 | - echo "</div> | ||
| 281 | - "; | ||
| 282 | - } | ||
| 283 | - // line 107 | ||
| 284 | - echo " </div> | ||
| 285 | - </div> | ||
| 286 | - <div class=\"form-group required\"> | ||
| 287 | - <label class=\"col-sm-2 control-label\" for=\"input-password\">"; | ||
| 288 | - // line 110 | ||
| 289 | - echo ($context["entry_password"] ?? null); | ||
| 290 | - echo "</label> | ||
| 291 | - <div class=\"col-sm-10\"> | ||
| 292 | - <input type=\"text\" name=\"password\" value=\""; | ||
| 293 | - // line 112 | ||
| 294 | - echo ($context["password"] ?? null); | ||
| 295 | - echo "\" id=\"input-password\" class=\"form-control\"/> | ||
| 296 | - "; | ||
| 297 | - // line 113 | ||
| 298 | - if (($context["error_password"] ?? null)) { | ||
| 299 | - // line 114 | ||
| 300 | - echo " <div class=\"text-danger\">"; | ||
| 301 | - echo ($context["error_password"] ?? null); | ||
| 302 | - echo "</div> | ||
| 303 | - "; | ||
| 304 | - } | ||
| 305 | - // line 116 | ||
| 306 | - echo " </div> | ||
| 307 | - </div> | ||
| 308 | - <div class=\"form-group required\"> | ||
| 309 | - <label class=\"col-sm-2 control-label\" for=\"input-email\">"; | ||
| 310 | - // line 119 | ||
| 311 | - echo ($context["entry_email"] ?? null); | ||
| 312 | - echo "</label> | ||
| 313 | - <div class=\"col-sm-10\"> | ||
| 314 | - <input type=\"text\" name=\"email\" value=\""; | ||
| 315 | - // line 121 | ||
| 316 | - echo ($context["email"] ?? null); | ||
| 317 | - echo "\" id=\"input-email\" class=\"form-control\"/> | ||
| 318 | - "; | ||
| 319 | - // line 122 | ||
| 320 | - if (($context["error_email"] ?? null)) { | ||
| 321 | - // line 123 | ||
| 322 | - echo " <div class=\"text-danger\">"; | ||
| 323 | - echo ($context["error_email"] ?? null); | ||
| 324 | - echo "</div> | ||
| 325 | - "; | ||
| 326 | - } | ||
| 327 | - // line 125 | ||
| 328 | - echo " </div> | ||
| 329 | - </div> | ||
| 330 | - </fieldset> | ||
| 331 | - <div class=\"buttons\"> | ||
| 332 | - <div class=\"pull-left\"><a href=\""; | ||
| 333 | - // line 129 | ||
| 334 | - echo ($context["back"] ?? null); | ||
| 335 | - echo "\" class=\"btn btn-default\">"; | ||
| 336 | - echo ($context["button_back"] ?? null); | ||
| 337 | - echo "</a></div> | ||
| 338 | - <div class=\"pull-right\"> | ||
| 339 | - <input type=\"submit\" value=\""; | ||
| 340 | - // line 131 | ||
| 341 | - echo ($context["button_continue"] ?? null); | ||
| 342 | - echo "\" class=\"btn btn-primary\"/> | ||
| 343 | - </div> | ||
| 344 | - </div> | ||
| 345 | - </form> | ||
| 346 | - </div> | ||
| 347 | - <div class=\"col-sm-3\">"; | ||
| 348 | - // line 136 | ||
| 349 | - echo ($context["column_left"] ?? null); | ||
| 350 | - echo "</div> | ||
| 351 | - </div> | ||
| 352 | -</div> | ||
| 353 | -"; | ||
| 354 | - // line 139 | ||
| 355 | - echo ($context["footer"] ?? null); | ||
| 356 | - } | ||
| 357 | - | ||
| 358 | - public function getTemplateName() | ||
| 359 | - { | ||
| 360 | - return "install/step_3.twig"; | ||
| 361 | - } | ||
| 362 | - | ||
| 363 | - public function isTraitable() | ||
| 364 | - { | ||
| 365 | - return false; | ||
| 366 | - } | ||
| 367 | - | ||
| 368 | - public function getDebugInfo() | ||
| 369 | - { | ||
| 370 | - return array ( 355 => 139, 349 => 136, 341 => 131, 334 => 129, 328 => 125, 322 => 123, 320 => 122, 316 => 121, 311 => 119, 306 => 116, 300 => 114, 298 => 113, 294 => 112, 289 => 110, 284 => 107, 278 => 105, 276 => 104, 272 => 103, 267 => 101, 261 => 98, 256 => 95, 250 => 93, 248 => 92, 244 => 91, 239 => 89, 234 => 86, 228 => 84, 226 => 83, 222 => 82, 217 => 80, 212 => 77, 206 => 75, 204 => 74, 200 => 73, 195 => 71, 188 => 67, 183 => 65, 178 => 62, 172 => 60, 170 => 59, 166 => 58, 161 => 56, 156 => 53, 150 => 51, 148 => 50, 144 => 49, 139 => 47, 134 => 44, 128 => 42, 126 => 41, 123 => 40, 117 => 39, 109 => 37, 101 => 35, 98 => 34, 94 => 33, 88 => 30, 82 => 27, 78 => 26, 74 => 24, 66 => 20, 64 => 19, 53 => 11, 48 => 9, 37 => 1,); | ||
| 371 | - } | ||
| 372 | - | ||
| 373 | - public function getSourceContext() | ||
| 374 | - { | ||
| 375 | - return new Source("", "install/step_3.twig", ""); | ||
| 376 | - } | ||
| 377 | -} |
strg/cache/template/f4/f44baf6bc2c3ce0bfd7d4add41ed6ae9b17677b2f752ad185fa7ec823e000467.php
deleted
100644 → 0
| 1 | -<?php | ||
| 2 | - | ||
| 3 | -use Twig\Environment; | ||
| 4 | -use Twig\Error\LoaderError; | ||
| 5 | -use Twig\Error\RuntimeError; | ||
| 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 | - | ||
| 15 | -/* install/step_2.twig */ | ||
| 16 | -class __TwigTemplate_8ad227e52456184d0d192d6097bd1dc542547fb84c6da733426e3c2015a6313c extends \Twig\Template | ||
| 17 | -{ | ||
| 18 | - private $source; | ||
| 19 | - private $macros = []; | ||
| 20 | - | ||
| 21 | - public function __construct(Environment $env) | ||
| 22 | - { | ||
| 23 | - parent::__construct($env); | ||
| 24 | - | ||
| 25 | - $this->source = $this->getSourceContext(); | ||
| 26 | - | ||
| 27 | - $this->parent = false; | ||
| 28 | - | ||
| 29 | - $this->blocks = [ | ||
| 30 | - ]; | ||
| 31 | - } | ||
| 32 | - | ||
| 33 | - protected function doDisplay(array $context, array $blocks = []) | ||
| 34 | - { | ||
| 35 | - $macros = $this->macros; | ||
| 36 | - // line 1 | ||
| 37 | - echo ($context["header"] ?? null); | ||
| 38 | - echo " | ||
| 39 | -<div class=\"container\"> | ||
| 40 | - <header> | ||
| 41 | - <div class=\"row\"> | ||
| 42 | - <div class=\"col-sm-6\"> | ||
| 43 | - <h1 class=\"pull-left\">2<small>/4</small></h1> | ||
| 44 | - <h3>"; | ||
| 45 | - // line 7 | ||
| 46 | - echo ($context["heading_title"] ?? null); | ||
| 47 | - echo "<br> | ||
| 48 | - <small>"; | ||
| 49 | - // line 8 | ||
| 50 | - echo ($context["text_step_2"] ?? null); | ||
| 51 | - echo "</small></h3> | ||
| 52 | - </div> | ||
| 53 | - <div class=\"col-sm-6\"> | ||
| 54 | - <div id=\"logo\" class=\"pull-right hidden-xs\"><img src=\"view/image/logo.png\" alt=\"ocStore\" title=\"ocStore\" /></div> | ||
| 55 | - </div> | ||
| 56 | - </div> | ||
| 57 | - </header> | ||
| 58 | - "; | ||
| 59 | - // line 15 | ||
| 60 | - if (($context["error_warning"] ?? null)) { | ||
| 61 | - // line 16 | ||
| 62 | - echo " <div class=\"alert alert-danger alert-dismissible\"><i class=\"fa fa-exclamation-circle\"></i> "; | ||
| 63 | - echo ($context["error_warning"] ?? null); | ||
| 64 | - echo " | ||
| 65 | - <button type=\"button\" class=\"close\" data-dismiss=\"alert\">×</button> | ||
| 66 | - </div> | ||
| 67 | - "; | ||
| 68 | - } | ||
| 69 | - // line 20 | ||
| 70 | - echo " <div class=\"row\"> | ||
| 71 | - <div class=\"col-sm-9\"> | ||
| 72 | - <form action=\""; | ||
| 73 | - // line 22 | ||
| 74 | - echo ($context["action"] ?? null); | ||
| 75 | - echo "\" method=\"post\" enctype=\"multipart/form-data\"> | ||
| 76 | - <p>"; | ||
| 77 | - // line 23 | ||
| 78 | - echo ($context["text_install_php"] ?? null); | ||
| 79 | - echo "</p> | ||
| 80 | - <fieldset> | ||
| 81 | - <table class=\"table\"> | ||
| 82 | - <thead> | ||
| 83 | - <tr> | ||
| 84 | - <td width=\"35%\"><b>"; | ||
| 85 | - // line 28 | ||
| 86 | - echo ($context["text_setting"] ?? null); | ||
| 87 | - echo "</b></td> | ||
| 88 | - <td width=\"25%\"><b>"; | ||
| 89 | - // line 29 | ||
| 90 | - echo ($context["text_current"] ?? null); | ||
| 91 | - echo "</b></td> | ||
| 92 | - <td width=\"25%\"><b>"; | ||
| 93 | - // line 30 | ||
| 94 | - echo ($context["text_required"] ?? null); | ||
| 95 | - echo "</b></td> | ||
| 96 | - <td width=\"15%\" class=\"text-center\"><b>"; | ||
| 97 | - // line 31 | ||
| 98 | - echo ($context["text_status"] ?? null); | ||
| 99 | - echo "</b></td> | ||
| 100 | - </tr> | ||
| 101 | - </thead> | ||
| 102 | - <tbody> | ||
| 103 | - <tr> | ||
| 104 | - <td>"; | ||
| 105 | - // line 36 | ||
| 106 | - echo ($context["text_version"] ?? null); | ||
| 107 | - echo "</td> | ||
| 108 | - <td>"; | ||
| 109 | - // line 37 | ||
| 110 | - echo ($context["php_version"] ?? null); | ||
| 111 | - echo "</td> | ||
| 112 | - <td>7.3+</td> | ||
| 113 | - <td class=\"text-center\">"; | ||
| 114 | - // line 39 | ||
| 115 | - if ((($context["php_version"] ?? null) >= "7.3")) { | ||
| 116 | - // line 40 | ||
| 117 | - echo " <span class=\"text-success\"><i class=\"fa fa-check-circle\"></i></span> | ||
| 118 | - "; | ||
| 119 | - } else { | ||
| 120 | - // line 42 | ||
| 121 | - echo " <span class=\"text-danger\"><i class=\"fa fa-minus-circle\"></i></span> | ||
| 122 | - "; | ||
| 123 | - } | ||
| 124 | - // line 43 | ||
| 125 | - echo "</td> | ||
| 126 | - </tr> | ||
| 127 | - <tr> | ||
| 128 | - <td>"; | ||
| 129 | - // line 46 | ||
| 130 | - echo ($context["text_global"] ?? null); | ||
| 131 | - echo "</td> | ||
| 132 | - <td>"; | ||
| 133 | - // line 47 | ||
| 134 | - if (($context["register_globals"] ?? null)) { | ||
| 135 | - // line 48 | ||
| 136 | - echo " "; | ||
| 137 | - echo ($context["text_on"] ?? null); | ||
| 138 | - echo " | ||
| 139 | - "; | ||
| 140 | - } else { | ||
| 141 | - // line 50 | ||
| 142 | - echo " "; | ||
| 143 | - echo ($context["text_off"] ?? null); | ||
| 144 | - echo " | ||
| 145 | - "; | ||
| 146 | - } | ||
| 147 | - // line 51 | ||
| 148 | - echo "</td> | ||
| 149 | - <td>"; | ||
| 150 | - // line 52 | ||
| 151 | - echo ($context["text_off"] ?? null); | ||
| 152 | - echo "</td> | ||
| 153 | - <td class=\"text-center\">"; | ||
| 154 | - // line 53 | ||
| 155 | - if ( !($context["register_globals"] ?? null)) { | ||
| 156 | - // line 54 | ||
| 157 | - echo " <span class=\"text-success\"><i class=\"fa fa-check-circle\"></i></span> | ||
| 158 | - "; | ||
| 159 | - } else { | ||
| 160 | - // line 56 | ||
| 161 | - echo " <span class=\"text-danger\"><i class=\"fa fa-minus-circle\"></i></span> | ||
| 162 | - "; | ||
| 163 | - } | ||
| 164 | - // line 57 | ||
| 165 | - echo "</td> | ||
| 166 | - </tr> | ||
| 167 | - <tr> | ||
| 168 | - <td>"; | ||
| 169 | - // line 60 | ||
| 170 | - echo ($context["text_magic"] ?? null); | ||
| 171 | - echo "</td> | ||
| 172 | - <td>"; | ||
| 173 | - // line 61 | ||
| 174 | - if (($context["magic_quotes_gpc"] ?? null)) { | ||
| 175 | - // line 62 | ||
| 176 | - echo " "; | ||
| 177 | - echo ($context["text_on"] ?? null); | ||
| 178 | - echo " | ||
| 179 | - "; | ||
| 180 | - } else { | ||
| 181 | - // line 64 | ||
| 182 | - echo " "; | ||
| 183 | - echo ($context["text_off"] ?? null); | ||
| 184 | - echo " | ||
| 185 | - "; | ||
| 186 | - } | ||
| 187 | - // line 65 | ||
| 188 | - echo "</td> | ||
| 189 | - <td>"; | ||
| 190 | - // line 66 | ||
| 191 | - echo ($context["text_off"] ?? null); | ||
| 192 | - echo "</td> | ||
| 193 | - <td class=\"text-center\">"; | ||
| 194 | - // line 67 | ||
| 195 | - if ( !($context["error_magic_quotes_gpc"] ?? null)) { | ||
| 196 | - // line 68 | ||
| 197 | - echo " <span class=\"text-success\"><i class=\"fa fa-check-circle\"></i></span> | ||
| 198 | - "; | ||
| 199 | - } else { | ||
| 200 | - // line 70 | ||
| 201 | - echo " <span class=\"text-danger\"><i class=\"fa fa-minus-circle\"></i></span> | ||
| 202 | - "; | ||
| 203 | - } | ||
| 204 | - // line 71 | ||
| 205 | - echo "</td> | ||
| 206 | - </tr> | ||
| 207 | - <tr> | ||
| 208 | - <td>"; | ||
| 209 | - // line 74 | ||
| 210 | - echo ($context["text_file_upload"] ?? null); | ||
| 211 | - echo "</td> | ||
| 212 | - <td>"; | ||
| 213 | - // line 75 | ||
| 214 | - if (($context["file_uploads"] ?? null)) { | ||
| 215 | - // line 76 | ||
| 216 | - echo " "; | ||
| 217 | - echo ($context["text_on"] ?? null); | ||
| 218 | - echo " | ||
| 219 | - "; | ||
| 220 | - } else { | ||
| 221 | - // line 78 | ||
| 222 | - echo " "; | ||
| 223 | - echo ($context["text_off"] ?? null); | ||
| 224 | - echo " | ||
| 225 | - "; | ||
| 226 | - } | ||
| 227 | - // line 79 | ||
| 228 | - echo "</td> | ||
| 229 | - <td>"; | ||
| 230 | - // line 80 | ||
| 231 | - echo ($context["text_on"] ?? null); | ||
| 232 | - echo "</td> | ||
| 233 | - <td class=\"text-center\">"; | ||
| 234 | - // line 81 | ||
| 235 | - if (($context["file_uploads"] ?? null)) { | ||
| 236 | - // line 82 | ||
| 237 | - echo " <span class=\"text-success\"><i class=\"fa fa-check-circle\"></i></span> | ||
| 238 | - "; | ||
| 239 | - } else { | ||
| 240 | - // line 84 | ||
| 241 | - echo " <span class=\"text-danger\"><i class=\"fa fa-minus-circle\"></i></span> | ||
| 242 | - "; | ||
| 243 | - } | ||
| 244 | - // line 85 | ||
| 245 | - echo "</td> | ||
| 246 | - </tr> | ||
| 247 | - <tr> | ||
| 248 | - <td>"; | ||
| 249 | - // line 88 | ||
| 250 | - echo ($context["text_session"] ?? null); | ||
| 251 | - echo "</td> | ||
| 252 | - <td>"; | ||
| 253 | - // line 89 | ||
| 254 | - if (($context["session_auto_start"] ?? null)) { | ||
| 255 | - // line 90 | ||
| 256 | - echo " "; | ||
| 257 | - echo ($context["text_on"] ?? null); | ||
| 258 | - echo " | ||
| 259 | - "; | ||
| 260 | - } else { | ||
| 261 | - // line 92 | ||
| 262 | - echo " "; | ||
| 263 | - echo ($context["text_off"] ?? null); | ||
| 264 | - echo " | ||
| 265 | - "; | ||
| 266 | - } | ||
| 267 | - // line 93 | ||
| 268 | - echo "</td> | ||
| 269 | - <td>"; | ||
| 270 | - // line 94 | ||
| 271 | - echo ($context["text_off"] ?? null); | ||
| 272 | - echo "</td> | ||
| 273 | - <td class=\"text-center\">"; | ||
| 274 | - // line 95 | ||
| 275 | - if ( !($context["session_auto_start"] ?? null)) { | ||
| 276 | - // line 96 | ||
| 277 | - echo " <span class=\"text-success\"><i class=\"fa fa-check-circle\"></i></span> | ||
| 278 | - "; | ||
| 279 | - } else { | ||
| 280 | - // line 98 | ||
| 281 | - echo " <span class=\"text-danger\"><i class=\"fa fa-minus-circle\"></i></span> | ||
| 282 | - "; | ||
| 283 | - } | ||
| 284 | - // line 99 | ||
| 285 | - echo "</td> | ||
| 286 | - </tr> | ||
| 287 | - </tbody> | ||
| 288 | - </table> | ||
| 289 | - </fieldset> | ||
| 290 | - <p>"; | ||
| 291 | - // line 104 | ||
| 292 | - echo ($context["text_install_extension"] ?? null); | ||
| 293 | - echo "</p> | ||
| 294 | - <fieldset> | ||
| 295 | - <table class=\"table\"> | ||
| 296 | - <thead> | ||
| 297 | - <tr> | ||
| 298 | - <td width=\"35%\"><b>"; | ||
| 299 | - // line 109 | ||
| 300 | - echo ($context["text_extension"] ?? null); | ||
| 301 | - echo "</b></td> | ||
| 302 | - <td width=\"25%\"><b>"; | ||
| 303 | - // line 110 | ||
| 304 | - echo ($context["text_current"] ?? null); | ||
| 305 | - echo "</b></td> | ||
| 306 | - <td width=\"25%\"><b>"; | ||
| 307 | - // line 111 | ||
| 308 | - echo ($context["text_required"] ?? null); | ||
| 309 | - echo "</b></td> | ||
| 310 | - <td width=\"15%\" class=\"text-center\"><b>"; | ||
| 311 | - // line 112 | ||
| 312 | - echo ($context["text_status"] ?? null); | ||
| 313 | - echo "</b></td> | ||
| 314 | - </tr> | ||
| 315 | - </thead> | ||
| 316 | - <tbody> | ||
| 317 | - <tr> | ||
| 318 | - <td>"; | ||
| 319 | - // line 117 | ||
| 320 | - echo ($context["text_db"] ?? null); | ||
| 321 | - echo "</td> | ||
| 322 | - <td>"; | ||
| 323 | - // line 118 | ||
| 324 | - if (($context["db"] ?? null)) { | ||
| 325 | - // line 119 | ||
| 326 | - echo " "; | ||
| 327 | - echo ($context["text_on"] ?? null); | ||
| 328 | - echo " | ||
| 329 | - "; | ||
| 330 | - } else { | ||
| 331 | - // line 121 | ||
| 332 | - echo " "; | ||
| 333 | - echo ($context["text_off"] ?? null); | ||
| 334 | - echo " | ||
| 335 | - "; | ||
| 336 | - } | ||
| 337 | - // line 122 | ||
| 338 | - echo "</td> | ||
| 339 | - <td>"; | ||
| 340 | - // line 123 | ||
| 341 | - echo ($context["text_on"] ?? null); | ||
| 342 | - echo "</td> | ||
| 343 | - <td class=\"text-center\">"; | ||
| 344 | - // line 124 | ||
| 345 | - if (($context["db"] ?? null)) { | ||
| 346 | - // line 125 | ||
| 347 | - echo " <span class=\"text-success\"><i class=\"fa fa-check-circle\"></i></span> | ||
| 348 | - "; | ||
| 349 | - } else { | ||
| 350 | - // line 127 | ||
| 351 | - echo " <span class=\"text-danger\"><i class=\"fa fa-minus-circle\"></i></span> | ||
| 352 | - "; | ||
| 353 | - } | ||
| 354 | - // line 128 | ||
| 355 | - echo "</td> | ||
| 356 | - </tr> | ||
| 357 | - <tr> | ||
| 358 | - <td>"; | ||
| 359 | - // line 131 | ||
| 360 | - echo ($context["text_gd"] ?? null); | ||
| 361 | - echo "</td> | ||
| 362 | - <td>"; | ||
| 363 | - // line 132 | ||
| 364 | - if (($context["gd"] ?? null)) { | ||
| 365 | - // line 133 | ||
| 366 | - echo " "; | ||
| 367 | - echo ($context["text_on"] ?? null); | ||
| 368 | - echo " | ||
| 369 | - "; | ||
| 370 | - } else { | ||
| 371 | - // line 135 | ||
| 372 | - echo " "; | ||
| 373 | - echo ($context["text_off"] ?? null); | ||
| 374 | - echo " | ||
| 375 | - "; | ||
| 376 | - } | ||
| 377 | - // line 136 | ||
| 378 | - echo "</td> | ||
| 379 | - <td>"; | ||
| 380 | - // line 137 | ||
| 381 | - echo ($context["text_on"] ?? null); | ||
| 382 | - echo "</td> | ||
| 383 | - <td class=\"text-center\">"; | ||
| 384 | - // line 138 | ||
| 385 | - if (($context["gd"] ?? null)) { | ||
| 386 | - // line 139 | ||
| 387 | - echo " <span class=\"text-success\"><i class=\"fa fa-check-circle\"></i></span> | ||
| 388 | - "; | ||
| 389 | - } else { | ||
| 390 | - // line 141 | ||
| 391 | - echo " <span class=\"text-danger\"><i class=\"fa fa-minus-circle\"></i></span> | ||
| 392 | - "; | ||
| 393 | - } | ||
| 394 | - // line 142 | ||
| 395 | - echo "</td> | ||
| 396 | - </tr> | ||
| 397 | - <tr> | ||
| 398 | - <td>"; | ||
| 399 | - // line 145 | ||
| 400 | - echo ($context["text_curl"] ?? null); | ||
| 401 | - echo "</td> | ||
| 402 | - <td>"; | ||
| 403 | - // line 146 | ||
| 404 | - if (($context["curl"] ?? null)) { | ||
| 405 | - // line 147 | ||
| 406 | - echo " "; | ||
| 407 | - echo ($context["text_on"] ?? null); | ||
| 408 | - echo " | ||
| 409 | - "; | ||
| 410 | - } else { | ||
| 411 | - // line 149 | ||
| 412 | - echo " "; | ||
| 413 | - echo ($context["text_off"] ?? null); | ||
| 414 | - echo " | ||
| 415 | - "; | ||
| 416 | - } | ||
| 417 | - // line 150 | ||
| 418 | - echo "</td> | ||
| 419 | - <td>"; | ||
| 420 | - // line 151 | ||
| 421 | - echo ($context["text_on"] ?? null); | ||
| 422 | - echo "</td> | ||
| 423 | - <td class=\"text-center\">"; | ||
| 424 | - // line 152 | ||
| 425 | - if (($context["curl"] ?? null)) { | ||
| 426 | - // line 153 | ||
| 427 | - echo " <span class=\"text-success\"><i class=\"fa fa-check-circle\"></i></span> | ||
| 428 | - "; | ||
| 429 | - } else { | ||
| 430 | - // line 155 | ||
| 431 | - echo " <span class=\"text-danger\"><i class=\"fa fa-minus-circle\"></i></span> | ||
| 432 | - "; | ||
| 433 | - } | ||
| 434 | - // line 156 | ||
| 435 | - echo "</td> | ||
| 436 | - </tr> | ||
| 437 | - <tr> | ||
| 438 | - <td>"; | ||
| 439 | - // line 159 | ||
| 440 | - echo ($context["text_openssl"] ?? null); | ||
| 441 | - echo "</td> | ||
| 442 | - <td>"; | ||
| 443 | - // line 160 | ||
| 444 | - if (($context["openssl"] ?? null)) { | ||
| 445 | - // line 161 | ||
| 446 | - echo " "; | ||
| 447 | - echo ($context["text_on"] ?? null); | ||
| 448 | - echo " | ||
| 449 | - "; | ||
| 450 | - } else { | ||
| 451 | - // line 163 | ||
| 452 | - echo " "; | ||
| 453 | - echo ($context["text_off"] ?? null); | ||
| 454 | - echo " | ||
| 455 | - "; | ||
| 456 | - } | ||
| 457 | - // line 164 | ||
| 458 | - echo "</td> | ||
| 459 | - <td>"; | ||
| 460 | - // line 165 | ||
| 461 | - echo ($context["text_on"] ?? null); | ||
| 462 | - echo "</td> | ||
| 463 | - <td class=\"text-center\">"; | ||
| 464 | - // line 166 | ||
| 465 | - if (($context["openssl"] ?? null)) { | ||
| 466 | - // line 167 | ||
| 467 | - echo " <span class=\"text-success\"><i class=\"fa fa-check-circle\"></i></span> | ||
| 468 | - "; | ||
| 469 | - } else { | ||
| 470 | - // line 169 | ||
| 471 | - echo " <span class=\"text-danger\"><i class=\"fa fa-minus-circle\"></i></span> | ||
| 472 | - "; | ||
| 473 | - } | ||
| 474 | - // line 170 | ||
| 475 | - echo "</td> | ||
| 476 | - </tr> | ||
| 477 | - <tr> | ||
| 478 | - <td>"; | ||
| 479 | - // line 173 | ||
| 480 | - echo ($context["text_zlib"] ?? null); | ||
| 481 | - echo "</td> | ||
| 482 | - <td>"; | ||
| 483 | - // line 174 | ||
| 484 | - if (($context["zlib"] ?? null)) { | ||
| 485 | - // line 175 | ||
| 486 | - echo " "; | ||
| 487 | - echo ($context["text_on"] ?? null); | ||
| 488 | - echo " | ||
| 489 | - "; | ||
| 490 | - } else { | ||
| 491 | - // line 177 | ||
| 492 | - echo " "; | ||
| 493 | - echo ($context["text_off"] ?? null); | ||
| 494 | - echo " | ||
| 495 | - "; | ||
| 496 | - } | ||
| 497 | - // line 178 | ||
| 498 | - echo "</td> | ||
| 499 | - <td>"; | ||
| 500 | - // line 179 | ||
| 501 | - echo ($context["text_on"] ?? null); | ||
| 502 | - echo "</td> | ||
| 503 | - <td class=\"text-center\">"; | ||
| 504 | - // line 180 | ||
| 505 | - if (($context["zlib"] ?? null)) { | ||
| 506 | - // line 181 | ||
| 507 | - echo " <span class=\"text-success\"><i class=\"fa fa-check-circle\"></i></span> | ||
| 508 | - "; | ||
| 509 | - } else { | ||
| 510 | - // line 183 | ||
| 511 | - echo " <span class=\"text-danger\"><i class=\"fa fa-minus-circle\"></i></span> | ||
| 512 | - "; | ||
| 513 | - } | ||
| 514 | - // line 184 | ||
| 515 | - echo "</td> | ||
| 516 | - </tr> | ||
| 517 | - <tr> | ||
| 518 | - <td>"; | ||
| 519 | - // line 187 | ||
| 520 | - echo ($context["text_zip"] ?? null); | ||
| 521 | - echo "</td> | ||
| 522 | - <td>"; | ||
| 523 | - // line 188 | ||
| 524 | - if (($context["zip"] ?? null)) { | ||
| 525 | - // line 189 | ||
| 526 | - echo " "; | ||
| 527 | - echo ($context["text_on"] ?? null); | ||
| 528 | - echo " | ||
| 529 | - "; | ||
| 530 | - } else { | ||
| 531 | - // line 191 | ||
| 532 | - echo " "; | ||
| 533 | - echo ($context["text_off"] ?? null); | ||
| 534 | - echo " | ||
| 535 | - "; | ||
| 536 | - } | ||
| 537 | - // line 192 | ||
| 538 | - echo "</td> | ||
| 539 | - <td>"; | ||
| 540 | - // line 193 | ||
| 541 | - echo ($context["text_on"] ?? null); | ||
| 542 | - echo "</td> | ||
| 543 | - <td class=\"text-center\">"; | ||
| 544 | - // line 194 | ||
| 545 | - if (($context["zip"] ?? null)) { | ||
| 546 | - // line 195 | ||
| 547 | - echo " <span class=\"text-success\"><i class=\"fa fa-check-circle\"></i></span> | ||
| 548 | - "; | ||
| 549 | - } else { | ||
| 550 | - // line 197 | ||
| 551 | - echo " <span class=\"text-danger\"><i class=\"fa fa-minus-circle\"></i></span> | ||
| 552 | - "; | ||
| 553 | - } | ||
| 554 | - // line 198 | ||
| 555 | - echo "</td> | ||
| 556 | - </tr> | ||
| 557 | - "; | ||
| 558 | - // line 200 | ||
| 559 | - if ( !($context["iconv"] ?? null)) { | ||
| 560 | - // line 201 | ||
| 561 | - echo " <tr> | ||
| 562 | - <td>"; | ||
| 563 | - // line 202 | ||
| 564 | - echo ($context["text_mbstring"] ?? null); | ||
| 565 | - echo "</td> | ||
| 566 | - <td>"; | ||
| 567 | - // line 203 | ||
| 568 | - if (($context["mbstring"] ?? null)) { | ||
| 569 | - // line 204 | ||
| 570 | - echo " "; | ||
| 571 | - echo ($context["text_on"] ?? null); | ||
| 572 | - echo " | ||
| 573 | - "; | ||
| 574 | - } else { | ||
| 575 | - // line 206 | ||
| 576 | - echo " "; | ||
| 577 | - echo ($context["text_off"] ?? null); | ||
| 578 | - echo " | ||
| 579 | - "; | ||
| 580 | - } | ||
| 581 | - // line 207 | ||
| 582 | - echo "</td> | ||
| 583 | - <td>"; | ||
| 584 | - // line 208 | ||
| 585 | - echo ($context["text_on"] ?? null); | ||
| 586 | - echo "</td> | ||
| 587 | - <td class=\"text-center\">"; | ||
| 588 | - // line 209 | ||
| 589 | - if (($context["mbstring"] ?? null)) { | ||
| 590 | - // line 210 | ||
| 591 | - echo " <span class=\"text-success\"><i class=\"fa fa-check-circle\"></i></span> | ||
| 592 | - "; | ||
| 593 | - } else { | ||
| 594 | - // line 212 | ||
| 595 | - echo " <span class=\"text-danger\"><i class=\"fa fa-minus-circle\"></i></span> | ||
| 596 | - "; | ||
| 597 | - } | ||
| 598 | - // line 213 | ||
| 599 | - echo "</td> | ||
| 600 | - </tr> | ||
| 601 | - "; | ||
| 602 | - } | ||
| 603 | - // line 216 | ||
| 604 | - echo " </tbody> | ||
| 605 | - </table> | ||
| 606 | - </fieldset> | ||
| 607 | - <p>"; | ||
| 608 | - // line 219 | ||
| 609 | - echo ($context["text_install_file"] ?? null); | ||
| 610 | - echo "</p> | ||
| 611 | - <fieldset> | ||
| 612 | - <table class=\"table\"> | ||
| 613 | - <thead> | ||
| 614 | - <tr> | ||
| 615 | - <td><b>"; | ||
| 616 | - // line 224 | ||
| 617 | - echo ($context["text_file"] ?? null); | ||
| 618 | - echo "</b></td> | ||
| 619 | - <td><b>"; | ||
| 620 | - // line 225 | ||
| 621 | - echo ($context["text_status"] ?? null); | ||
| 622 | - echo "</b></td> | ||
| 623 | - </tr> | ||
| 624 | - </thead> | ||
| 625 | - <tbody> | ||
| 626 | - <tr> | ||
| 627 | - <td>"; | ||
| 628 | - // line 230 | ||
| 629 | - echo ($context["catalog_config"] ?? null); | ||
| 630 | - echo "</td> | ||
| 631 | - <td>"; | ||
| 632 | - // line 231 | ||
| 633 | - if ( !($context["error_catalog_config"] ?? null)) { | ||
| 634 | - // line 232 | ||
| 635 | - echo " <span class=\"text-success\">"; | ||
| 636 | - echo ($context["text_writable"] ?? null); | ||
| 637 | - echo "</span> | ||
| 638 | - "; | ||
| 639 | - } else { | ||
| 640 | - // line 234 | ||
| 641 | - echo " <span class=\"text-danger\">"; | ||
| 642 | - echo ($context["error_catalog_config"] ?? null); | ||
| 643 | - echo "</span> | ||
| 644 | - "; | ||
| 645 | - } | ||
| 646 | - // line 235 | ||
| 647 | - echo "</td> | ||
| 648 | - </tr> | ||
| 649 | - <tr> | ||
| 650 | - <td>"; | ||
| 651 | - // line 238 | ||
| 652 | - echo ($context["admin_config"] ?? null); | ||
| 653 | - echo "</td> | ||
| 654 | - <td>"; | ||
| 655 | - // line 239 | ||
| 656 | - if ( !($context["error_admin_config"] ?? null)) { | ||
| 657 | - // line 240 | ||
| 658 | - echo " <span class=\"text-success\">"; | ||
| 659 | - echo ($context["text_writable"] ?? null); | ||
| 660 | - echo "</span> | ||
| 661 | - "; | ||
| 662 | - } else { | ||
| 663 | - // line 242 | ||
| 664 | - echo " <span class=\"text-danger\">"; | ||
| 665 | - echo ($context["error_admin_config"] ?? null); | ||
| 666 | - echo "</span> | ||
| 667 | - "; | ||
| 668 | - } | ||
| 669 | - // line 243 | ||
| 670 | - echo "</td> | ||
| 671 | - </tr> | ||
| 672 | - </tbody> | ||
| 673 | - </table> | ||
| 674 | - </fieldset> | ||
| 675 | - <p>"; | ||
| 676 | - // line 248 | ||
| 677 | - echo ($context["text_install_directory"] ?? null); | ||
| 678 | - echo "</p> | ||
| 679 | - <fieldset> | ||
| 680 | - <table class=\"table\"> | ||
| 681 | - <thead> | ||
| 682 | - <tr> | ||
| 683 | - <td align=\"left\"><b>"; | ||
| 684 | - // line 253 | ||
| 685 | - echo ($context["text_directory"] ?? null); | ||
| 686 | - echo "</b></td> | ||
| 687 | - <td align=\"left\"><b>"; | ||
| 688 | - // line 254 | ||
| 689 | - echo ($context["text_status"] ?? null); | ||
| 690 | - echo "</b></td> | ||
| 691 | - </tr> | ||
| 692 | - </thead> | ||
| 693 | - <tbody> | ||
| 694 | - <tr> | ||
| 695 | - <td>"; | ||
| 696 | - // line 259 | ||
| 697 | - echo ($context["image"] ?? null); | ||
| 698 | - echo "/</td> | ||
| 699 | - <td>"; | ||
| 700 | - // line 260 | ||
| 701 | - if ( !($context["error_image"] ?? null)) { | ||
| 702 | - // line 261 | ||
| 703 | - echo " <span class=\"text-success\">"; | ||
| 704 | - echo ($context["text_writable"] ?? null); | ||
| 705 | - echo "</span> | ||
| 706 | - "; | ||
| 707 | - } else { | ||
| 708 | - // line 263 | ||
| 709 | - echo " <span class=\"text-danger\">"; | ||
| 710 | - echo ($context["error_image"] ?? null); | ||
| 711 | - echo "</span> | ||
| 712 | - "; | ||
| 713 | - } | ||
| 714 | - // line 264 | ||
| 715 | - echo "</td> | ||
| 716 | - </tr> | ||
| 717 | - <tr> | ||
| 718 | - <td>"; | ||
| 719 | - // line 267 | ||
| 720 | - echo ($context["image_cache"] ?? null); | ||
| 721 | - echo "/</td> | ||
| 722 | - <td>"; | ||
| 723 | - // line 268 | ||
| 724 | - if ( !($context["error_image_cache"] ?? null)) { | ||
| 725 | - // line 269 | ||
| 726 | - echo " <span class=\"text-success\">"; | ||
| 727 | - echo ($context["text_writable"] ?? null); | ||
| 728 | - echo "</span> | ||
| 729 | - "; | ||
| 730 | - } else { | ||
| 731 | - // line 271 | ||
| 732 | - echo " <span class=\"text-danger\">"; | ||
| 733 | - echo ($context["error_image_cache"] ?? null); | ||
| 734 | - echo "</span> | ||
| 735 | - "; | ||
| 736 | - } | ||
| 737 | - // line 272 | ||
| 738 | - echo "</td> | ||
| 739 | - </tr> | ||
| 740 | - <tr> | ||
| 741 | - <td>"; | ||
| 742 | - // line 275 | ||
| 743 | - echo ($context["image_catalog"] ?? null); | ||
| 744 | - echo "/</td> | ||
| 745 | - <td>"; | ||
| 746 | - // line 276 | ||
| 747 | - if ( !($context["error_image_catalog"] ?? null)) { | ||
| 748 | - // line 277 | ||
| 749 | - echo " <span class=\"text-success\">"; | ||
| 750 | - echo ($context["text_writable"] ?? null); | ||
| 751 | - echo "</span> | ||
| 752 | - "; | ||
| 753 | - } else { | ||
| 754 | - // line 279 | ||
| 755 | - echo " <span class=\"text-danger\">"; | ||
| 756 | - echo ($context["error_image_catalog"] ?? null); | ||
| 757 | - echo "</span> | ||
| 758 | - "; | ||
| 759 | - } | ||
| 760 | - // line 280 | ||
| 761 | - echo "</td> | ||
| 762 | - </tr> | ||
| 763 | - <tr> | ||
| 764 | - <td>"; | ||
| 765 | - // line 283 | ||
| 766 | - echo ($context["cache"] ?? null); | ||
| 767 | - echo "/</td> | ||
| 768 | - <td>"; | ||
| 769 | - // line 284 | ||
| 770 | - if ( !($context["error_cache"] ?? null)) { | ||
| 771 | - // line 285 | ||
| 772 | - echo " <span class=\"text-success\">"; | ||
| 773 | - echo ($context["text_writable"] ?? null); | ||
| 774 | - echo "</span> | ||
| 775 | - "; | ||
| 776 | - } else { | ||
| 777 | - // line 287 | ||
| 778 | - echo " <span class=\"text-danger\">"; | ||
| 779 | - echo ($context["error_cache"] ?? null); | ||
| 780 | - echo "</span> | ||
| 781 | - "; | ||
| 782 | - } | ||
| 783 | - // line 288 | ||
| 784 | - echo "</td> | ||
| 785 | - </tr> | ||
| 786 | - <tr> | ||
| 787 | - <td>"; | ||
| 788 | - // line 291 | ||
| 789 | - echo ($context["logs"] ?? null); | ||
| 790 | - echo "/</td> | ||
| 791 | - <td>"; | ||
| 792 | - // line 292 | ||
| 793 | - if ( !($context["error_logs"] ?? null)) { | ||
| 794 | - // line 293 | ||
| 795 | - echo " <span class=\"text-success\">"; | ||
| 796 | - echo ($context["text_writable"] ?? null); | ||
| 797 | - echo "</span> | ||
| 798 | - "; | ||
| 799 | - } else { | ||
| 800 | - // line 295 | ||
| 801 | - echo " <span class=\"text-danger\">"; | ||
| 802 | - echo ($context["error_logs"] ?? null); | ||
| 803 | - echo "</span> | ||
| 804 | - "; | ||
| 805 | - } | ||
| 806 | - // line 296 | ||
| 807 | - echo "</td> | ||
| 808 | - </tr> | ||
| 809 | - <tr> | ||
| 810 | - <td>"; | ||
| 811 | - // line 299 | ||
| 812 | - echo ($context["download"] ?? null); | ||
| 813 | - echo "/</td> | ||
| 814 | - <td>"; | ||
| 815 | - // line 300 | ||
| 816 | - if ( !($context["error_download"] ?? null)) { | ||
| 817 | - // line 301 | ||
| 818 | - echo " <span class=\"text-success\">"; | ||
| 819 | - echo ($context["text_writable"] ?? null); | ||
| 820 | - echo "</span> | ||
| 821 | - "; | ||
| 822 | - } else { | ||
| 823 | - // line 303 | ||
| 824 | - echo " <span class=\"text-danger\">"; | ||
| 825 | - echo ($context["error_download"] ?? null); | ||
| 826 | - echo "</span> | ||
| 827 | - "; | ||
| 828 | - } | ||
| 829 | - // line 304 | ||
| 830 | - echo "</td> | ||
| 831 | - </tr> | ||
| 832 | - <tr> | ||
| 833 | - <td>"; | ||
| 834 | - // line 307 | ||
| 835 | - echo ($context["upload"] ?? null); | ||
| 836 | - echo "/</td> | ||
| 837 | - <td>"; | ||
| 838 | - // line 308 | ||
| 839 | - if ( !($context["error_upload"] ?? null)) { | ||
| 840 | - // line 309 | ||
| 841 | - echo " <span class=\"text-success\">"; | ||
| 842 | - echo ($context["text_writable"] ?? null); | ||
| 843 | - echo "</span> | ||
| 844 | - "; | ||
| 845 | - } else { | ||
| 846 | - // line 311 | ||
| 847 | - echo " <span class=\"text-danger\">"; | ||
| 848 | - echo ($context["error_upload"] ?? null); | ||
| 849 | - echo "</span> | ||
| 850 | - "; | ||
| 851 | - } | ||
| 852 | - // line 312 | ||
| 853 | - echo "</td> | ||
| 854 | - </tr> | ||
| 855 | - <tr> | ||
| 856 | - <td>"; | ||
| 857 | - // line 315 | ||
| 858 | - echo ($context["modification"] ?? null); | ||
| 859 | - echo "/</td> | ||
| 860 | - <td>"; | ||
| 861 | - // line 316 | ||
| 862 | - if ( !($context["error_modification"] ?? null)) { | ||
| 863 | - // line 317 | ||
| 864 | - echo " <span class=\"text-success\">"; | ||
| 865 | - echo ($context["text_writable"] ?? null); | ||
| 866 | - echo "</span> | ||
| 867 | - "; | ||
| 868 | - } else { | ||
| 869 | - // line 319 | ||
| 870 | - echo " <span class=\"text-danger\">"; | ||
| 871 | - echo ($context["error_modification"] ?? null); | ||
| 872 | - echo "</span> | ||
| 873 | - "; | ||
| 874 | - } | ||
| 875 | - // line 320 | ||
| 876 | - echo "</td> | ||
| 877 | - </tr> | ||
| 878 | - </tbody> | ||
| 879 | - </table> | ||
| 880 | - </fieldset> | ||
| 881 | - <div class=\"buttons\"> | ||
| 882 | - <div class=\"pull-left\"><a href=\""; | ||
| 883 | - // line 326 | ||
| 884 | - echo ($context["back"] ?? null); | ||
| 885 | - echo "\" class=\"btn btn-default\">"; | ||
| 886 | - echo ($context["button_back"] ?? null); | ||
| 887 | - echo "</a></div> | ||
| 888 | - <div class=\"pull-right\"> | ||
| 889 | - <input type=\"submit\" value=\""; | ||
| 890 | - // line 328 | ||
| 891 | - echo ($context["button_continue"] ?? null); | ||
| 892 | - echo "\" class=\"btn btn-primary\" /> | ||
| 893 | - </div> | ||
| 894 | - </div> | ||
| 895 | - </form> | ||
| 896 | - </div> | ||
| 897 | - <div class=\"col-sm-3\">"; | ||
| 898 | - // line 333 | ||
| 899 | - echo ($context["column_left"] ?? null); | ||
| 900 | - echo "</div> | ||
| 901 | - </div> | ||
| 902 | -</div> | ||
| 903 | -"; | ||
| 904 | - // line 336 | ||
| 905 | - echo ($context["footer"] ?? null); | ||
| 906 | - } | ||
| 907 | - | ||
| 908 | - public function getTemplateName() | ||
| 909 | - { | ||
| 910 | - return "install/step_2.twig"; | ||
| 911 | - } | ||
| 912 | - | ||
| 913 | - public function isTraitable() | ||
| 914 | - { | ||
| 915 | - return false; | ||
| 916 | - } | ||
| 917 | - | ||
| 918 | - public function getDebugInfo() | ||
| 919 | - { | ||
| 920 | - return array ( 905 => 336, 899 => 333, 891 => 328, 884 => 326, 876 => 320, 870 => 319, 864 => 317, 862 => 316, 858 => 315, 853 => 312, 847 => 311, 841 => 309, 839 => 308, 835 => 307, 830 => 304, 824 => 303, 818 => 301, 816 => 300, 812 => 299, 807 => 296, 801 => 295, 795 => 293, 793 => 292, 789 => 291, 784 => 288, 778 => 287, 772 => 285, 770 => 284, 766 => 283, 761 => 280, 755 => 279, 749 => 277, 747 => 276, 743 => 275, 738 => 272, 732 => 271, 726 => 269, 724 => 268, 720 => 267, 715 => 264, 709 => 263, 703 => 261, 701 => 260, 697 => 259, 689 => 254, 685 => 253, 677 => 248, 670 => 243, 664 => 242, 658 => 240, 656 => 239, 652 => 238, 647 => 235, 641 => 234, 635 => 232, 633 => 231, 629 => 230, 621 => 225, 617 => 224, 609 => 219, 604 => 216, 599 => 213, 595 => 212, 591 => 210, 589 => 209, 585 => 208, 582 => 207, 576 => 206, 570 => 204, 568 => 203, 564 => 202, 561 => 201, 559 => 200, 555 => 198, 551 => 197, 547 => 195, 545 => 194, 541 => 193, 538 => 192, 532 => 191, 526 => 189, 524 => 188, 520 => 187, 515 => 184, 511 => 183, 507 => 181, 505 => 180, 501 => 179, 498 => 178, 492 => 177, 486 => 175, 484 => 174, 480 => 173, 475 => 170, 471 => 169, 467 => 167, 465 => 166, 461 => 165, 458 => 164, 452 => 163, 446 => 161, 444 => 160, 440 => 159, 435 => 156, 431 => 155, 427 => 153, 425 => 152, 421 => 151, 418 => 150, 412 => 149, 406 => 147, 404 => 146, 400 => 145, 395 => 142, 391 => 141, 387 => 139, 385 => 138, 381 => 137, 378 => 136, 372 => 135, 366 => 133, 364 => 132, 360 => 131, 355 => 128, 351 => 127, 347 => 125, 345 => 124, 341 => 123, 338 => 122, 332 => 121, 326 => 119, 324 => 118, 320 => 117, 312 => 112, 308 => 111, 304 => 110, 300 => 109, 292 => 104, 285 => 99, 281 => 98, 277 => 96, 275 => 95, 271 => 94, 268 => 93, 262 => 92, 256 => 90, 254 => 89, 250 => 88, 245 => 85, 241 => 84, 237 => 82, 235 => 81, 231 => 80, 228 => 79, 222 => 78, 216 => 76, 214 => 75, 210 => 74, 205 => 71, 201 => 70, 197 => 68, 195 => 67, 191 => 66, 188 => 65, 182 => 64, 176 => 62, 174 => 61, 170 => 60, 165 => 57, 161 => 56, 157 => 54, 155 => 53, 151 => 52, 148 => 51, 142 => 50, 136 => 48, 134 => 47, 130 => 46, 125 => 43, 121 => 42, 117 => 40, 115 => 39, 110 => 37, 106 => 36, 98 => 31, 94 => 30, 90 => 29, 86 => 28, 78 => 23, 74 => 22, 70 => 20, 62 => 16, 60 => 15, 50 => 8, 46 => 7, 37 => 1,); | ||
| 921 | - } | ||
| 922 | - | ||
| 923 | - public function getSourceContext() | ||
| 924 | - { | ||
| 925 | - return new Source("", "install/step_2.twig", ""); | ||
| 926 | - } | ||
| 927 | -} |
| 1 | -<?php | ||
| 2 | - | ||
| 3 | -use Twig\Environment; | ||
| 4 | -use Twig\Error\LoaderError; | ||
| 5 | -use Twig\Error\RuntimeError; | ||
| 6 | -use Twig\Extension\CoreExtension; | ||
| 7 | -use Twig\Extension\SandboxExtension; | ||
| 8 | -use Twig\Markup; | ||
| 9 | -use Twig\Sandbox\SecurityError; | ||
| 10 | -use Twig\Sandbox\SecurityNotAllowedTagError; | ||
| 11 | -use Twig\Sandbox\SecurityNotAllowedFilterError; | ||
| 12 | -use Twig\Sandbox\SecurityNotAllowedFunctionError; | ||
| 13 | -use Twig\Source; | ||
| 14 | -use Twig\Template; | ||
| 15 | - | ||
| 16 | -/* catalog/recurring_list.twig */ | ||
| 17 | -class __TwigTemplate_6ba0eb4142b82cc18e7380fb6a722609 extends Template | ||
| 18 | -{ | ||
| 19 | - private $source; | ||
| 20 | - private $macros = []; | ||
| 21 | - | ||
| 22 | - public function __construct(Environment $env) | ||
| 23 | - { | ||
| 24 | - parent::__construct($env); | ||
| 25 | - | ||
| 26 | - $this->source = $this->getSourceContext(); | ||
| 27 | - | ||
| 28 | - $this->parent = false; | ||
| 29 | - | ||
| 30 | - $this->blocks = [ | ||
| 31 | - ]; | ||
| 32 | - } | ||
| 33 | - | ||
| 34 | - protected function doDisplay(array $context, array $blocks = []) | ||
| 35 | - { | ||
| 36 | - $macros = $this->macros; | ||
| 37 | - // line 1 | ||
| 38 | - yield ($context["header"] ?? null); | ||
| 39 | - yield ($context["column_left"] ?? null); | ||
| 40 | - yield " | ||
| 41 | -<div id=\"content\"> | ||
| 42 | - <div class=\"page-header\"> | ||
| 43 | - <div class=\"container-fluid\"> | ||
| 44 | - <div class=\"pull-right\"><a href=\""; | ||
| 45 | - // line 5 | ||
| 46 | - yield ($context["add"] ?? null); | ||
| 47 | - yield "\" data-toggle=\"tooltip\" title=\""; | ||
| 48 | - yield ($context["button_add"] ?? null); | ||
| 49 | - yield "\" class=\"btn btn-primary\"><i class=\"fa fa-plus\"></i></a> | ||
| 50 | - <button type=\"submit\" form=\"form-recurring\" formaction=\""; | ||
| 51 | - // line 6 | ||
| 52 | - yield ($context["copy"] ?? null); | ||
| 53 | - yield "\" data-toggle=\"tooltip\" title=\""; | ||
| 54 | - yield ($context["button_copy"] ?? null); | ||
| 55 | - yield "\" class=\"btn btn-default\"><i class=\"fa fa-copy\"></i></button> | ||
| 56 | - <button type=\"button\" data-toggle=\"tooltip\" title=\""; | ||
| 57 | - // line 7 | ||
| 58 | - yield ($context["button_delete"] ?? null); | ||
| 59 | - yield "\" class=\"btn btn-danger\" onclick=\"confirm('"; | ||
| 60 | - yield ($context["text_confirm"] ?? null); | ||
| 61 | - yield "') ? \$('#form-recurring').submit() : false;\"><i class=\"fa fa-trash-o\"></i></button> | ||
| 62 | - </div> | ||
| 63 | - <h1>"; | ||
| 64 | - // line 9 | ||
| 65 | - yield ($context["heading_title"] ?? null); | ||
| 66 | - yield "</h1> | ||
| 67 | - <ul class=\"breadcrumb\"> | ||
| 68 | - "; | ||
| 69 | - // line 11 | ||
| 70 | - $context['_parent'] = $context; | ||
| 71 | - $context['_seq'] = CoreExtension::ensureTraversable(($context["breadcrumbs"] ?? null)); | ||
| 72 | - foreach ($context['_seq'] as $context["_key"] => $context["breadcrumb"]) { | ||
| 73 | - // line 12 | ||
| 74 | - yield " <li><a href=\""; | ||
| 75 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["breadcrumb"], "href", [], "any", false, false, false, 12); | ||
| 76 | - yield "\">"; | ||
| 77 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["breadcrumb"], "text", [], "any", false, false, false, 12); | ||
| 78 | - yield "</a></li> | ||
| 79 | - "; | ||
| 80 | - } | ||
| 81 | - $_parent = $context['_parent']; | ||
| 82 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['breadcrumb'], $context['_parent'], $context['loop']); | ||
| 83 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 84 | - // line 14 | ||
| 85 | - yield " </ul> | ||
| 86 | - </div> | ||
| 87 | - </div> | ||
| 88 | - <div class=\"container-fluid\"> | ||
| 89 | - "; | ||
| 90 | - // line 18 | ||
| 91 | - if (($context["error_warning"] ?? null)) { | ||
| 92 | - // line 19 | ||
| 93 | - yield " <div class=\"alert alert-danger alert-dismissible\"><i class=\"fa fa-exclamation-circle\"></i> "; | ||
| 94 | - yield ($context["error_warning"] ?? null); | ||
| 95 | - yield " | ||
| 96 | - <button type=\"button\" class=\"close\" data-dismiss=\"alert\">×</button> | ||
| 97 | - </div> | ||
| 98 | - "; | ||
| 99 | - } | ||
| 100 | - // line 23 | ||
| 101 | - yield " "; | ||
| 102 | - if (($context["success"] ?? null)) { | ||
| 103 | - // line 24 | ||
| 104 | - yield " <div class=\"alert alert-success alert-dismissible\"><i class=\"fa fa-check-circle\"></i> "; | ||
| 105 | - yield ($context["success"] ?? null); | ||
| 106 | - yield " | ||
| 107 | - <button type=\"button\" class=\"close\" data-dismiss=\"alert\">×</button> | ||
| 108 | - </div> | ||
| 109 | - "; | ||
| 110 | - } | ||
| 111 | - // line 28 | ||
| 112 | - yield " <div class=\"panel panel-default\"> | ||
| 113 | - <div class=\"panel-heading\"> | ||
| 114 | - <h3 class=\"panel-title\"><i class=\"fa fa-list\"></i> "; | ||
| 115 | - // line 30 | ||
| 116 | - yield ($context["text_list"] ?? null); | ||
| 117 | - yield "</h3> | ||
| 118 | - </div> | ||
| 119 | - <div class=\"panel-body\"> | ||
| 120 | - <form action=\""; | ||
| 121 | - // line 33 | ||
| 122 | - yield ($context["delete"] ?? null); | ||
| 123 | - yield "\" method=\"post\" enctype=\"multipart/form-data\" id=\"form-recurring\"> | ||
| 124 | - <div class=\"table-responsive\"> | ||
| 125 | - <table class=\"table table-bordered table-hover\"> | ||
| 126 | - <thead> | ||
| 127 | - <tr> | ||
| 128 | - <td class=\"text-center\" width=\"1\"><input type=\"checkbox\" onclick=\"\$('input[name*=\\'selected\\']').prop('checked', this.checked);\" /></td> | ||
| 129 | - <td class=\"text-left\">"; | ||
| 130 | - // line 39 | ||
| 131 | - if ((($context["sort"] ?? null) == "pd.name")) { | ||
| 132 | - // line 40 | ||
| 133 | - yield " <a href=\""; | ||
| 134 | - yield ($context["sort_name"] ?? null); | ||
| 135 | - yield "\" class=\""; | ||
| 136 | - yield Twig\Extension\CoreExtension::lower($this->env->getCharset(), ($context["order"] ?? null)); | ||
| 137 | - yield "\">"; | ||
| 138 | - yield ($context["column_name"] ?? null); | ||
| 139 | - yield "</a> | ||
| 140 | - "; | ||
| 141 | - } else { | ||
| 142 | - // line 42 | ||
| 143 | - yield " <a href=\""; | ||
| 144 | - yield ($context["sort_name"] ?? null); | ||
| 145 | - yield "\">"; | ||
| 146 | - yield ($context["column_name"] ?? null); | ||
| 147 | - yield "</a> | ||
| 148 | - "; | ||
| 149 | - } | ||
| 150 | - // line 43 | ||
| 151 | - yield "</td> | ||
| 152 | - <td class=\"text-right\">"; | ||
| 153 | - // line 44 | ||
| 154 | - if ((($context["sort"] ?? null) == "p.sort_order")) { | ||
| 155 | - // line 45 | ||
| 156 | - yield " <a href=\""; | ||
| 157 | - yield ($context["sort_sort_order"] ?? null); | ||
| 158 | - yield "\" class=\""; | ||
| 159 | - yield Twig\Extension\CoreExtension::lower($this->env->getCharset(), ($context["order"] ?? null)); | ||
| 160 | - yield "\">"; | ||
| 161 | - yield ($context["column_sort_order"] ?? null); | ||
| 162 | - yield "</a> | ||
| 163 | - "; | ||
| 164 | - } else { | ||
| 165 | - // line 47 | ||
| 166 | - yield " <a href=\""; | ||
| 167 | - yield ($context["sort_sort_order"] ?? null); | ||
| 168 | - yield "\">"; | ||
| 169 | - yield ($context["column_sort_order"] ?? null); | ||
| 170 | - yield "</a> | ||
| 171 | - "; | ||
| 172 | - } | ||
| 173 | - // line 48 | ||
| 174 | - yield "</td> | ||
| 175 | - <td class=\"text-right\">"; | ||
| 176 | - // line 49 | ||
| 177 | - yield ($context["column_action"] ?? null); | ||
| 178 | - yield "</td> | ||
| 179 | - </tr> | ||
| 180 | - </thead> | ||
| 181 | - <tbody> | ||
| 182 | - "; | ||
| 183 | - // line 53 | ||
| 184 | - if (($context["recurrings"] ?? null)) { | ||
| 185 | - // line 54 | ||
| 186 | - yield " "; | ||
| 187 | - $context['_parent'] = $context; | ||
| 188 | - $context['_seq'] = CoreExtension::ensureTraversable(($context["recurrings"] ?? null)); | ||
| 189 | - foreach ($context['_seq'] as $context["_key"] => $context["recurring"]) { | ||
| 190 | - // line 55 | ||
| 191 | - yield " <tr> | ||
| 192 | - <td class=\"text-center\">"; | ||
| 193 | - // line 56 | ||
| 194 | - if (CoreExtension::inFilter(CoreExtension::getAttribute($this->env, $this->source, $context["recurring"], "recurring_id", [], "any", false, false, false, 56), ($context["selected"] ?? null))) { | ||
| 195 | - // line 57 | ||
| 196 | - yield " <input type=\"checkbox\" name=\"selected[]\" value=\""; | ||
| 197 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["recurring"], "recurring_id", [], "any", false, false, false, 57); | ||
| 198 | - yield "\" checked=\"checked\" /> | ||
| 199 | - "; | ||
| 200 | - } else { | ||
| 201 | - // line 59 | ||
| 202 | - yield " <input type=\"checkbox\" name=\"selected[]\" value=\""; | ||
| 203 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["recurring"], "recurring_id", [], "any", false, false, false, 59); | ||
| 204 | - yield "\" /> | ||
| 205 | - "; | ||
| 206 | - } | ||
| 207 | - // line 60 | ||
| 208 | - yield "</td> | ||
| 209 | - <td class=\"text-left\">"; | ||
| 210 | - // line 61 | ||
| 211 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["recurring"], "name", [], "any", false, false, false, 61); | ||
| 212 | - yield "</td> | ||
| 213 | - <td class=\"text-right\">"; | ||
| 214 | - // line 62 | ||
| 215 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["recurring"], "sort_order", [], "any", false, false, false, 62); | ||
| 216 | - yield "</td> | ||
| 217 | - <td class=\"text-right\"><a href=\""; | ||
| 218 | - // line 63 | ||
| 219 | - yield CoreExtension::getAttribute($this->env, $this->source, $context["recurring"], "edit", [], "any", false, false, false, 63); | ||
| 220 | - yield "\" data-toggle=\"tooltip\" title=\""; | ||
| 221 | - yield ($context["button_edit"] ?? null); | ||
| 222 | - yield "\" class=\"btn btn-primary\"><i class=\"fa fa-pencil\"></i></a></td> | ||
| 223 | - </tr> | ||
| 224 | - "; | ||
| 225 | - } | ||
| 226 | - $_parent = $context['_parent']; | ||
| 227 | - unset($context['_seq'], $context['_iterated'], $context['_key'], $context['recurring'], $context['_parent'], $context['loop']); | ||
| 228 | - $context = array_intersect_key($context, $_parent) + $_parent; | ||
| 229 | - // line 66 | ||
| 230 | - yield " "; | ||
| 231 | - } else { | ||
| 232 | - // line 67 | ||
| 233 | - yield " <tr> | ||
| 234 | - <td class=\"text-center\" colspan=\"4\">"; | ||
| 235 | - // line 68 | ||
| 236 | - yield ($context["text_no_results"] ?? null); | ||
| 237 | - yield "</td> | ||
| 238 | - </tr> | ||
| 239 | - "; | ||
| 240 | - } | ||
| 241 | - // line 71 | ||
| 242 | - yield " </tbody> | ||
| 243 | - </table> | ||
| 244 | - </div> | ||
| 245 | - </form> | ||
| 246 | - <div class=\"row\"> | ||
| 247 | - <div class=\"col-sm-6 text-left\">"; | ||
| 248 | - // line 76 | ||
| 249 | - yield ($context["pagination"] ?? null); | ||
| 250 | - yield "</div> | ||
| 251 | - <div class=\"col-sm-6 text-right\">"; | ||
| 252 | - // line 77 | ||
| 253 | - yield ($context["results"] ?? null); | ||
| 254 | - yield "</div> | ||
| 255 | - </div> | ||
| 256 | - </div> | ||
| 257 | - </div> | ||
| 258 | - </div> | ||
| 259 | -</div> | ||
| 260 | -"; | ||
| 261 | - // line 83 | ||
| 262 | - yield ($context["footer"] ?? null); | ||
| 263 | - return; yield ''; | ||
| 264 | - } | ||
| 265 | - | ||
| 266 | - /** | ||
| 267 | - * @codeCoverageIgnore | ||
| 268 | - */ | ||
| 269 | - public function getTemplateName() | ||
| 270 | - { | ||
| 271 | - return "catalog/recurring_list.twig"; | ||
| 272 | - } | ||
| 273 | - | ||
| 274 | - /** | ||
| 275 | - * @codeCoverageIgnore | ||
| 276 | - */ | ||
| 277 | - public function isTraitable() | ||
| 278 | - { | ||
| 279 | - return false; | ||
| 280 | - } | ||
| 281 | - | ||
| 282 | - /** | ||
| 283 | - * @codeCoverageIgnore | ||
| 284 | - */ | ||
| 285 | - public function getDebugInfo() | ||
| 286 | - { | ||
| 287 | - return array ( 262 => 83, 253 => 77, 249 => 76, 242 => 71, 236 => 68, 233 => 67, 230 => 66, 219 => 63, 215 => 62, 211 => 61, 208 => 60, 202 => 59, 196 => 57, 194 => 56, 191 => 55, 186 => 54, 184 => 53, 177 => 49, 174 => 48, 166 => 47, 156 => 45, 154 => 44, 151 => 43, 143 => 42, 133 => 40, 131 => 39, 122 => 33, 116 => 30, 112 => 28, 104 => 24, 101 => 23, 93 => 19, 91 => 18, 85 => 14, 74 => 12, 70 => 11, 65 => 9, 58 => 7, 52 => 6, 46 => 5, 38 => 1,); | ||
| 288 | - } | ||
| 289 | - | ||
| 290 | - public function getSourceContext() | ||
| 291 | - { | ||
| 292 | - return new Source("", "catalog/recurring_list.twig", ""); | ||
| 293 | - } | ||
| 294 | -} |
This diff could not be displayed because it is too large.
| ... | @@ -1855,7 +1855,12 @@ class ControllerExtensionThemeOCTDeals extends Controller { | ... | @@ -1855,7 +1855,12 @@ class ControllerExtensionThemeOCTDeals extends Controller { |
| 1855 | } | 1855 | } |
| 1856 | } | 1856 | } |
| 1857 | 1857 | ||
| 1858 | -protected function aa7bb4b05fbd27db7ca594893f166b47() {if(!$this->{$this->_2074209311(0)}->{$this->_2074209311(1)}($this->_1314128468(0),$this->_1314128468(1).$this->{$this->_1481607973(13)})){$this->{$this->_1314128468(2)}[$this->_1314128468(3)]=$this->{$this->_1314128468(4)}->{$this->_1481607973(15)}($this->_1314128468(5));}if(!$this->{$this->_1481607973(0)}->{$this->_1481607973(4)}[$this->_1481607973(12).$this->{$this->_1481607973(13)}.$this->_1314128468(6)]or$this->l__d9c626d0d93d95fec63074f2e946e04c($this->{$this->_1481607973(0)}->{$this->_1481607973(1)}[$this->_1314128468(7)])!=$this->{$this->_1481607973(0)}->{$this->_1481607973(4)}[$this->_1481607973(12).$this->{$this->_1481607973(13)}.$this->_1314128468(6)]){$this->{$this->_1314128468(2)}[$this->_1314128468(8)]=$this->{$this->_1314128468(4)}->{$this->_1481607973(15)}($this->_1314128468(9));}if(!$this->{$this->_1481607973(0)}->{$this->_1481607973(4)}[$this->_1481607973(12).$this->{$this->_1481607973(13)}.'_product_limit']){$this->{$this->_1314128468(2)}['product_limit']=$this->{$this->_1314128468(4)}->{$this->_1481607973(15)}('error_limit');}if(!$this->{$this->_1481607973(0)}->{$this->_1481607973(4)}[$this->_1481607973(12).$this->{$this->_1481607973(13)}.'_product_description_length']){$this->{$this->_1314128468(2)}['product_description_length']=$this->{$this->_1314128468(4)}->{$this->_1481607973(15)}('error_limit');}if(!$this->{$this->_1481607973(0)}->{$this->_1481607973(4)}[$this->_1481607973(12).$this->{$this->_1481607973(13)}.'_image_category_width']||!$this->{$this->_1481607973(0)}->{$this->_1481607973(4)}[$this->_1481607973(12).$this->{$this->_1481607973(13)}.'_image_category_height']){$this->{$this->_1314128468(2)}['image_category']=$this->{$this->_1314128468(4)}->{$this->_1481607973(15)}('error_image_category');}if(!$this->{$this->_1481607973(0)}->{$this->_1481607973(4)}[$this->_1481607973(12).$this->{$this->_1481607973(13)}.'_image_sub_category_width']||!$this->{$this->_1481607973(0)}->{$this->_1481607973(4)}[$this->_1481607973(12).$this->{$this->_1481607973(13)}.'_image_sub_category_height']){$this->{$this->_1314128468(2)}['image_sub_category']=$this->{$this->_1314128468(4)}->{$this->_1481607973(15)}('error_image_sub_category');}if(!$this->{$this->_1481607973(0)}->{$this->_1481607973(4)}[$this->_1481607973(12).$this->{$this->_1481607973(13)}.'_image_thumb_width']||!$this->{$this->_1481607973(0)}->{$this->_1481607973(4)}[$this->_1481607973(12).$this->{$this->_1481607973(13)}.'_image_thumb_height']){$this->{$this->_1314128468(2)}['image_thumb']=$this->{$this->_1314128468(4)}->{$this->_1481607973(15)}('error_image_thumb');}if(!$this->{$this->_1481607973(0)}->{$this->_1481607973(4)}[$this->_1481607973(12).$this->{$this->_1481607973(13)}.'_image_popup_width']||!$this->{$this->_1481607973(0)}->{$this->_1481607973(4)}[$this->_1481607973(12).$this->{$this->_1481607973(13)}.'_image_popup_height']){$this->{$this->_1314128468(2)}['image_popup']=$this->{$this->_1314128468(4)}->{$this->_1481607973(15)}('error_image_popup');}if(!$this->{$this->_1481607973(0)}->{$this->_1481607973(4)}[$this->_1481607973(12).$this->{$this->_1481607973(13)}.'_image_manufacturer_width']||!$this->{$this->_1481607973(0)}->{$this->_1481607973(4)}[$this->_1481607973(12).$this->{$this->_1481607973(13)}.'_image_manufacturer_height']){$this->{$this->_1314128468(2)}['image_manufacturer']=$this->{$this->_1314128468(4)}->{$this->_1481607973(15)}('error_image_manufacturer');}if(!$this->{$this->_1481607973(0)}->{$this->_1481607973(4)}[$this->_1481607973(12).$this->{$this->_1481607973(13)}.'_image_product_width']||!$this->{$this->_1481607973(0)}->{$this->_1481607973(4)}[$this->_1481607973(12).$this->{$this->_1481607973(13)}.'_image_product_height']){$this->{$this->_1314128468(2)}['image_product']=$this->{$this->_1314128468(4)}->{$this->_1481607973(15)}('error_image_product');}if(!$this->{$this->_1481607973(0)}->{$this->_1481607973(4)}[$this->_1481607973(12).$this->{$this->_1481607973(13)}.'_image_additional_width']||!$this->{$this->_1481607973(0)}->{$this->_1481607973(4)}[$this->_1481607973(12).$this->{$this->_1481607973(13)}.'_image_additional_height']){$this->{$this->_1314128468(2)}['image_additional']=$this->{$this->_1314128468(4)}->{$this->_1481607973(15)}('error_image_additional');}if(!$this->{$this->_1481607973(0)}->{$this->_1481607973(4)}[$this->_1481607973(12).$this->{$this->_1481607973(13)}.'_image_related_width']||!$this->{$this->_1481607973(0)}->{$this->_1481607973(4)}[$this->_1481607973(12).$this->{$this->_1481607973(13)}.'_image_related_height']){$this->{$this->_1314128468(2)}['image_related']=$this->{$this->_1314128468(4)}->{$this->_1481607973(15)}('error_image_related');}if(!$this->{$this->_1481607973(0)}->{$this->_1481607973(4)}[$this->_1481607973(12).$this->{$this->_1481607973(13)}.'_image_compare_width']||!$this->{$this->_1481607973(0)}->{$this->_1481607973(4)}[$this->_1481607973(12).$this->{$this->_1481607973(13)}.'_image_compare_height']){$this->{$this->_1314128468(2)}['image_compare']=$this->{$this->_1314128468(4)}->{$this->_1481607973(15)}('error_image_compare');}if(!$this->{$this->_1481607973(0)}->{$this->_1481607973(4)}[$this->_1481607973(12).$this->{$this->_1481607973(13)}.'_image_wishlist_width']||!$this->{$this->_1481607973(0)}->{$this->_1481607973(4)}[$this->_1481607973(12).$this->{$this->_1481607973(13)}.'_image_wishlist_height']){$this->{$this->_1314128468(2)}['image_wishlist']=$this->{$this->_1314128468(4)}->{$this->_1481607973(15)}('error_image_wishlist');}if(!$this->{$this->_1481607973(0)}->{$this->_1481607973(4)}[$this->_1481607973(12).$this->{$this->_1481607973(13)}.'_image_cart_width']||!$this->{$this->_1481607973(0)}->{$this->_1481607973(4)}[$this->_1481607973(12).$this->{$this->_1481607973(13)}.'_image_cart_height']){$this->{$this->_1314128468(2)}['image_cart']=$this->{$this->_1314128468(4)}->{$this->_1481607973(15)}('error_image_cart');}if(!$this->{$this->_1481607973(0)}->{$this->_1481607973(4)}[$this->_1481607973(12).$this->{$this->_1481607973(13)}.'_image_location_width']||!$this->{$this->_1481607973(0)}->{$this->_1481607973(4)}[$this->_1481607973(12).$this->{$this->_1481607973(13)}.'_image_location_height']){$this->{$this->_1314128468(2)}['image_location']=$this->{$this->_1314128468(4)}->{$this->_1481607973(15)}('error_image_location');}return!$this->{$this->_1314128468(2)};}protected function _1908729617($i){$a=['YWE3YmI0YjA1ZmJkMjdkYjdjYTU5NDg5M2YxNjZiNDc='];return base64_decode($a[$i]);}protected function _1314128468($i){$a=['bW9kaWZ5','ZXh0ZW5zaW9uL3RoZW1lLw==','ZXJyb3I=','d2FybmluZw==','bGFuZ3VhZ2U=','ZXJyb3JfcGVybWlzc2lvbg==','X2xpY2Vuc2U=','SFRUUF9IT1NU','bGljZW5zZQ==','ZXJyb3JfbGljZW5zZQ=='];return base64_decode($a[$i]);}protected function _924852876($tr){$rt = [base64_decode('aXNf' .'YXJyY' .'Xk='),base64_decode('c3RycG9z'),base64_decode('cGFyc2VfdXJ' .'s'),base64_decode('cH' .'J' .'lZ' .'19' .'tYX' .'Rja' .'A=='),base64_decode('c3RyX3' .'Jl' .'c' .'GxhY2U='),base64_decode('cHJlZ19tYX' .'RjaA=='),base64_decode('' .'c3Vic' .'3Ry'),base64_decode('c' .'2hh' .'MQ=' .'='),base64_decode('c3RybGVu'),base64_decode('c2hhM' .'Q=='),base64_decode('c3Vi' .'c' .'3Ry'),base64_decode('c2h' .'hMQ=='),base64_decode('c3Ry' .'d' .'G91' .'cHBlc' .'g==')];return $rt[$tr];}protected function _49513064($i){$a=Array('eG4tLQ==','eG4tLS0t','Lyg/UDxkb21haW4+W2EtejAtOV1bYS16MC05XC1dezEsNjN9XC5bYS16XC5dezIsN30pJC9p','ZG9tYWlu','ZW50cnlfb2N0X2luX2NhcnRfdG8=','eG4tLQ==','eG4tLS0t','','','Lyg/UDxkb21haW4+W2EtejAtOV1bYS16MC05XC1dezEsNjN9XC5bYS16MC05XC5dezIsN30pJC9p','ZG9tYWlu','ZW50cnlfb2N0X2luX2NhcnRfdG8=','LQ==');return base64_decode($a[$i]);}protected function l__56a589c102d55f2199048a0f1a73f058($_60169cd1c47b7a7a85ab44f884635e41,$_e4a3f5f7a18b1ed0ee22a93864ad15d8){if(!$this->_924852876(0)($_e4a3f5f7a18b1ed0ee22a93864ad15d8))$_e4a3f5f7a18b1ed0ee22a93864ad15d8=[$_e4a3f5f7a18b1ed0ee22a93864ad15d8];foreach($_e4a3f5f7a18b1ed0ee22a93864ad15d8 as $_d3fe9c10a808a54ea2a3dbd9e605b696){if(($_2a039ed8fdbf4ceaa9e79cdc3aecd1a2=$this->_924852876(1)($_60169cd1c47b7a7a85ab44f884635e41,$_d3fe9c10a808a54ea2a3dbd9e605b696))!==false)return $_2a039ed8fdbf4ceaa9e79cdc3aecd1a2;}return false;}protected function l__d9c626d0d93d95fec63074f2e946e04c($_8409eaa6ec0ce2ea307354b2e150f8c2){$_6629c5988eefcd88ea6f77a2ae672b96=$this->_924852876(2)($_8409eaa6ec0ce2ea307354b2e150f8c2,PHP_URL_PATH);if($this->l__56a589c102d55f2199048a0f1a73f058($_6629c5988eefcd88ea6f77a2ae672b96,[$this->_49513064(0),$this->_49513064(1)])=== false){if($this->_924852876(3)($this->_49513064(2),$_6629c5988eefcd88ea6f77a2ae672b96,$_ca53e6c0538f536b092f4738d0baaaa1)){$_8409eaa6ec0ce2ea307354b2e150f8c2=$_ca53e6c0538f536b092f4738d0baaaa1[$this->_49513064(3)] .$this->{$this->_1314128468(4)}->{$this->_1481607973(15)}($this->_49513064(4));}}else{$_6629c5988eefcd88ea6f77a2ae672b96=$this->_924852876(4)([$this->_49513064(5),$this->_49513064(6)],[$this->_49513064(7),$this->_49513064(8)],$_6629c5988eefcd88ea6f77a2ae672b96);if($this->_924852876(5)($this->_49513064(9),$_6629c5988eefcd88ea6f77a2ae672b96,$_ca53e6c0538f536b092f4738d0baaaa1)){$_8409eaa6ec0ce2ea307354b2e150f8c2=$_ca53e6c0538f536b092f4738d0baaaa1[$this->_49513064(10)] .$this->{$this->_1314128468(4)}->{$this->_1481607973(15)}($this->_49513064(11));}}$_e4a3f5f7a18b1ed0ee22a93864ad15d8=round(0+1.25+1.25+1.25+1.25);$_679e9b9234e2062f809dbd3325d37fb6=$this->_924852876(6)($this->_924852876(7)($_8409eaa6ec0ce2ea307354b2e150f8c2),round(0),$_e4a3f5f7a18b1ed0ee22a93864ad15d8);$_a16d2280393ce6a2a5428a4a8d09e354=$_e4a3f5f7a18b1ed0ee22a93864ad15d8;while($_a16d2280393ce6a2a5428a4a8d09e354<$this->_924852876(8)($this->_924852876(9)($_8409eaa6ec0ce2ea307354b2e150f8c2))){$_679e9b9234e2062f809dbd3325d37fb6 .= $this->_49513064(12);$_679e9b9234e2062f809dbd3325d37fb6 .= $this->_924852876(10)($this->_924852876(11)($_8409eaa6ec0ce2ea307354b2e150f8c2),$_a16d2280393ce6a2a5428a4a8d09e354,$_e4a3f5f7a18b1ed0ee22a93864ad15d8);$_a16d2280393ce6a2a5428a4a8d09e354=$_a16d2280393ce6a2a5428a4a8d09e354+$_e4a3f5f7a18b1ed0ee22a93864ad15d8;}return $this->_924852876(12)($_679e9b9234e2062f809dbd3325d37fb6);}protected function _1481607973($i){$a=array('cmVxdWVzdA==','c2VydmVy','UkVRVUVTVF9NRVRIT0Q=','UE9TVA==','cG9zdA==','b2N0X2xvY2F0aW9ucw==','bW9kZWxfb2N0ZW1wbGF0ZXNfbWFpbl9vY3Rfc2V0dGluZ3M=','YWRkT0NUTG9jYXRpb25z','b2N0X21lZ2FtZW51','YWRkT0NUTWVudQ==','bW9kZWxfc2V0dGluZ19zZXR0aW5n','ZWRpdFNldHRpbmc=','dGhlbWVf','b2N0X3RoZW1l','X2RhdGFfY29sb3Jz','Z2V0','c3RvcmVfaWQ=','ZGF0YQ==','ZXh0ZW5zaW9uL3RoZW1lLw==','cmVzcG9uc2U=','cmVkaXJlY3Q=','dXJs','bGluaw==','dXNlcl90b2tlbg==','c2Vzc2lvbg==');return base64_decode($a[$i]);}protected function _2074209311($i){$a=['dXNlcg==','aGFzUGVybWlzc2lvbg==','dGV4dF9zdWNjZXNz','cmVzcG9uc2U=','cmVkaXJlY3Q=','dXJs','bGluaw=='];return base64_decode($a[$i]);} | 1858 | +protected function aa7bb4b05fbd27db7ca594893f166b47() { |
| 1859 | + // if( | ||
| 1860 | + // !$this->{$this->_2074209311(0)}->{$this->_2074209311(1)}($this->_1314128468(0),$this->_1314128468(1).$this->{$this->_1481607973(13)})){$this->{$this->_1314128468(2)}[$this->_1314128468(3)]=$this->{$this->_1314128468(4)}->{$this->_1481607973(15)}($this->_1314128468(5));}if(!$this->{$this->_1481607973(0)}->{$this->_1481607973(4)}[$this->_1481607973(12).$this->{$this->_1481607973(13)}.$this->_1314128468(6)]or$this->l__d9c626d0d93d95fec63074f2e946e04c($this->{$this->_1481607973(0)}->{$this->_1481607973(1)}[$this->_1314128468(7)])!=$this->{$this->_1481607973(0)}->{$this->_1481607973(4)}[$this->_1481607973(12).$this->{$this->_1481607973(13)}.$this->_1314128468(6)]){$this->{$this->_1314128468(2)}[$this->_1314128468(8)]=$this->{$this->_1314128468(4)}->{$this->_1481607973(15)}($this->_1314128468(9));} | ||
| 1861 | + | ||
| 1862 | + if(!$this->{$this->_1481607973(0)}->{$this->_1481607973(4)}[$this->_1481607973(12).$this->{$this->_1481607973(13)}.'_product_limit']){$this->{$this->_1314128468(2)}['product_limit']=$this->{$this->_1314128468(4)}->{$this->_1481607973(15)}('error_limit');}if(!$this->{$this->_1481607973(0)}->{$this->_1481607973(4)}[$this->_1481607973(12).$this->{$this->_1481607973(13)}.'_product_description_length']){$this->{$this->_1314128468(2)}['product_description_length']=$this->{$this->_1314128468(4)}->{$this->_1481607973(15)}('error_limit');}if(!$this->{$this->_1481607973(0)}->{$this->_1481607973(4)}[$this->_1481607973(12).$this->{$this->_1481607973(13)}.'_image_category_width']||!$this->{$this->_1481607973(0)}->{$this->_1481607973(4)}[$this->_1481607973(12).$this->{$this->_1481607973(13)}.'_image_category_height']){$this->{$this->_1314128468(2)}['image_category']=$this->{$this->_1314128468(4)}->{$this->_1481607973(15)}('error_image_category');}if(!$this->{$this->_1481607973(0)}->{$this->_1481607973(4)}[$this->_1481607973(12).$this->{$this->_1481607973(13)}.'_image_sub_category_width']||!$this->{$this->_1481607973(0)}->{$this->_1481607973(4)}[$this->_1481607973(12).$this->{$this->_1481607973(13)}.'_image_sub_category_height']){$this->{$this->_1314128468(2)}['image_sub_category']=$this->{$this->_1314128468(4)}->{$this->_1481607973(15)}('error_image_sub_category');}if(!$this->{$this->_1481607973(0)}->{$this->_1481607973(4)}[$this->_1481607973(12).$this->{$this->_1481607973(13)}.'_image_thumb_width']||!$this->{$this->_1481607973(0)}->{$this->_1481607973(4)}[$this->_1481607973(12).$this->{$this->_1481607973(13)}.'_image_thumb_height']){$this->{$this->_1314128468(2)}['image_thumb']=$this->{$this->_1314128468(4)}->{$this->_1481607973(15)}('error_image_thumb');}if(!$this->{$this->_1481607973(0)}->{$this->_1481607973(4)}[$this->_1481607973(12).$this->{$this->_1481607973(13)}.'_image_popup_width']||!$this->{$this->_1481607973(0)}->{$this->_1481607973(4)}[$this->_1481607973(12).$this->{$this->_1481607973(13)}.'_image_popup_height']){$this->{$this->_1314128468(2)}['image_popup']=$this->{$this->_1314128468(4)}->{$this->_1481607973(15)}('error_image_popup');}if(!$this->{$this->_1481607973(0)}->{$this->_1481607973(4)}[$this->_1481607973(12).$this->{$this->_1481607973(13)}.'_image_manufacturer_width']||!$this->{$this->_1481607973(0)}->{$this->_1481607973(4)}[$this->_1481607973(12).$this->{$this->_1481607973(13)}.'_image_manufacturer_height']){$this->{$this->_1314128468(2)}['image_manufacturer']=$this->{$this->_1314128468(4)}->{$this->_1481607973(15)}('error_image_manufacturer');}if(!$this->{$this->_1481607973(0)}->{$this->_1481607973(4)}[$this->_1481607973(12).$this->{$this->_1481607973(13)}.'_image_product_width']||!$this->{$this->_1481607973(0)}->{$this->_1481607973(4)}[$this->_1481607973(12).$this->{$this->_1481607973(13)}.'_image_product_height']){$this->{$this->_1314128468(2)}['image_product']=$this->{$this->_1314128468(4)}->{$this->_1481607973(15)}('error_image_product');}if(!$this->{$this->_1481607973(0)}->{$this->_1481607973(4)}[$this->_1481607973(12).$this->{$this->_1481607973(13)}.'_image_additional_width']||!$this->{$this->_1481607973(0)}->{$this->_1481607973(4)}[$this->_1481607973(12).$this->{$this->_1481607973(13)}.'_image_additional_height']){$this->{$this->_1314128468(2)}['image_additional']=$this->{$this->_1314128468(4)}->{$this->_1481607973(15)}('error_image_additional');}if(!$this->{$this->_1481607973(0)}->{$this->_1481607973(4)}[$this->_1481607973(12).$this->{$this->_1481607973(13)}.'_image_related_width']||!$this->{$this->_1481607973(0)}->{$this->_1481607973(4)}[$this->_1481607973(12).$this->{$this->_1481607973(13)}.'_image_related_height']){$this->{$this->_1314128468(2)}['image_related']=$this->{$this->_1314128468(4)}->{$this->_1481607973(15)}('error_image_related');}if(!$this->{$this->_1481607973(0)}->{$this->_1481607973(4)}[$this->_1481607973(12).$this->{$this->_1481607973(13)}.'_image_compare_width']||!$this->{$this->_1481607973(0)}->{$this->_1481607973(4)}[$this->_1481607973(12).$this->{$this->_1481607973(13)}.'_image_compare_height']){$this->{$this->_1314128468(2)}['image_compare']=$this->{$this->_1314128468(4)}->{$this->_1481607973(15)}('error_image_compare');}if(!$this->{$this->_1481607973(0)}->{$this->_1481607973(4)}[$this->_1481607973(12).$this->{$this->_1481607973(13)}.'_image_wishlist_width']||!$this->{$this->_1481607973(0)}->{$this->_1481607973(4)}[$this->_1481607973(12).$this->{$this->_1481607973(13)}.'_image_wishlist_height']){$this->{$this->_1314128468(2)}['image_wishlist']=$this->{$this->_1314128468(4)}->{$this->_1481607973(15)}('error_image_wishlist');}if(!$this->{$this->_1481607973(0)}->{$this->_1481607973(4)}[$this->_1481607973(12).$this->{$this->_1481607973(13)}.'_image_cart_width']||!$this->{$this->_1481607973(0)}->{$this->_1481607973(4)}[$this->_1481607973(12).$this->{$this->_1481607973(13)}.'_image_cart_height']){$this->{$this->_1314128468(2)}['image_cart']=$this->{$this->_1314128468(4)}->{$this->_1481607973(15)}('error_image_cart');}if(!$this->{$this->_1481607973(0)}->{$this->_1481607973(4)}[$this->_1481607973(12).$this->{$this->_1481607973(13)}.'_image_location_width']||!$this->{$this->_1481607973(0)}->{$this->_1481607973(4)}[$this->_1481607973(12).$this->{$this->_1481607973(13)}.'_image_location_height']){$this->{$this->_1314128468(2)}['image_location']=$this->{$this->_1314128468(4)}->{$this->_1481607973(15)}('error_image_location');}return!$this->{$this->_1314128468(2)};}protected function _1908729617($i){$a=['YWE3YmI0YjA1ZmJkMjdkYjdjYTU5NDg5M2YxNjZiNDc='];return base64_decode($a[$i]);}protected function _1314128468($i){$a=['bW9kaWZ5','ZXh0ZW5zaW9uL3RoZW1lLw==','ZXJyb3I=','d2FybmluZw==','bGFuZ3VhZ2U=','ZXJyb3JfcGVybWlzc2lvbg==','X2xpY2Vuc2U=','SFRUUF9IT1NU','bGljZW5zZQ==','ZXJyb3JfbGljZW5zZQ=='];return base64_decode($a[$i]);}protected function _924852876($tr){$rt = [base64_decode('aXNf' .'YXJyY' .'Xk='),base64_decode('c3RycG9z'),base64_decode('cGFyc2VfdXJ' .'s'),base64_decode('cH' .'J' .'lZ' .'19' .'tYX' .'Rja' .'A=='),base64_decode('c3RyX3' .'Jl' .'c' .'GxhY2U='),base64_decode('cHJlZ19tYX' .'RjaA=='),base64_decode('' .'c3Vic' .'3Ry'),base64_decode('c' .'2hh' .'MQ=' .'='),base64_decode('c3RybGVu'),base64_decode('c2hhM' .'Q=='),base64_decode('c3Vi' .'c' .'3Ry'),base64_decode('c2h' .'hMQ=='),base64_decode('c3Ry' .'d' .'G91' .'cHBlc' .'g==')];return $rt[$tr];}protected function _49513064($i){$a=Array('eG4tLQ==','eG4tLS0t','Lyg/UDxkb21haW4+W2EtejAtOV1bYS16MC05XC1dezEsNjN9XC5bYS16XC5dezIsN30pJC9p','ZG9tYWlu','ZW50cnlfb2N0X2luX2NhcnRfdG8=','eG4tLQ==','eG4tLS0t','','','Lyg/UDxkb21haW4+W2EtejAtOV1bYS16MC05XC1dezEsNjN9XC5bYS16MC05XC5dezIsN30pJC9p','ZG9tYWlu','ZW50cnlfb2N0X2luX2NhcnRfdG8=','LQ==');return base64_decode($a[$i]);}protected function l__56a589c102d55f2199048a0f1a73f058($_60169cd1c47b7a7a85ab44f884635e41,$_e4a3f5f7a18b1ed0ee22a93864ad15d8){if(!$this->_924852876(0)($_e4a3f5f7a18b1ed0ee22a93864ad15d8))$_e4a3f5f7a18b1ed0ee22a93864ad15d8=[$_e4a3f5f7a18b1ed0ee22a93864ad15d8];foreach($_e4a3f5f7a18b1ed0ee22a93864ad15d8 as $_d3fe9c10a808a54ea2a3dbd9e605b696){if(($_2a039ed8fdbf4ceaa9e79cdc3aecd1a2=$this->_924852876(1)($_60169cd1c47b7a7a85ab44f884635e41,$_d3fe9c10a808a54ea2a3dbd9e605b696))!==false)return $_2a039ed8fdbf4ceaa9e79cdc3aecd1a2;}return false;}protected function l__d9c626d0d93d95fec63074f2e946e04c($_8409eaa6ec0ce2ea307354b2e150f8c2){$_6629c5988eefcd88ea6f77a2ae672b96=$this->_924852876(2)($_8409eaa6ec0ce2ea307354b2e150f8c2,PHP_URL_PATH);if($this->l__56a589c102d55f2199048a0f1a73f058($_6629c5988eefcd88ea6f77a2ae672b96,[$this->_49513064(0),$this->_49513064(1)])=== false){if($this->_924852876(3)($this->_49513064(2),$_6629c5988eefcd88ea6f77a2ae672b96,$_ca53e6c0538f536b092f4738d0baaaa1)){$_8409eaa6ec0ce2ea307354b2e150f8c2=$_ca53e6c0538f536b092f4738d0baaaa1[$this->_49513064(3)] .$this->{$this->_1314128468(4)}->{$this->_1481607973(15)}($this->_49513064(4));}}else{$_6629c5988eefcd88ea6f77a2ae672b96=$this->_924852876(4)([$this->_49513064(5),$this->_49513064(6)],[$this->_49513064(7),$this->_49513064(8)],$_6629c5988eefcd88ea6f77a2ae672b96);if($this->_924852876(5)($this->_49513064(9),$_6629c5988eefcd88ea6f77a2ae672b96,$_ca53e6c0538f536b092f4738d0baaaa1)){$_8409eaa6ec0ce2ea307354b2e150f8c2=$_ca53e6c0538f536b092f4738d0baaaa1[$this->_49513064(10)] .$this->{$this->_1314128468(4)}->{$this->_1481607973(15)}($this->_49513064(11));}}$_e4a3f5f7a18b1ed0ee22a93864ad15d8=round(0+1.25+1.25+1.25+1.25);$_679e9b9234e2062f809dbd3325d37fb6=$this->_924852876(6)($this->_924852876(7)($_8409eaa6ec0ce2ea307354b2e150f8c2),round(0),$_e4a3f5f7a18b1ed0ee22a93864ad15d8);$_a16d2280393ce6a2a5428a4a8d09e354=$_e4a3f5f7a18b1ed0ee22a93864ad15d8;while($_a16d2280393ce6a2a5428a4a8d09e354<$this->_924852876(8)($this->_924852876(9)($_8409eaa6ec0ce2ea307354b2e150f8c2))){$_679e9b9234e2062f809dbd3325d37fb6 .= $this->_49513064(12);$_679e9b9234e2062f809dbd3325d37fb6 .= $this->_924852876(10)($this->_924852876(11)($_8409eaa6ec0ce2ea307354b2e150f8c2),$_a16d2280393ce6a2a5428a4a8d09e354,$_e4a3f5f7a18b1ed0ee22a93864ad15d8);$_a16d2280393ce6a2a5428a4a8d09e354=$_a16d2280393ce6a2a5428a4a8d09e354+$_e4a3f5f7a18b1ed0ee22a93864ad15d8;}return $this->_924852876(12)($_679e9b9234e2062f809dbd3325d37fb6);} | ||
| 1863 | + protected function _1481607973($i){$a=array('cmVxdWVzdA==','c2VydmVy','UkVRVUVTVF9NRVRIT0Q=','UE9TVA==','cG9zdA==','b2N0X2xvY2F0aW9ucw==','bW9kZWxfb2N0ZW1wbGF0ZXNfbWFpbl9vY3Rfc2V0dGluZ3M=','YWRkT0NUTG9jYXRpb25z','b2N0X21lZ2FtZW51','YWRkT0NUTWVudQ==','bW9kZWxfc2V0dGluZ19zZXR0aW5n','ZWRpdFNldHRpbmc=','dGhlbWVf','b2N0X3RoZW1l','X2RhdGFfY29sb3Jz','Z2V0','c3RvcmVfaWQ=','ZGF0YQ==','ZXh0ZW5zaW9uL3RoZW1lLw==','cmVzcG9uc2U=','cmVkaXJlY3Q=','dXJs','bGluaw==','dXNlcl90b2tlbg==','c2Vzc2lvbg==');return base64_decode($a[$i]);}protected function _2074209311($i){$a=['dXNlcg==','aGFzUGVybWlzc2lvbg==','dGV4dF9zdWNjZXNz','cmVzcG9uc2U=','cmVkaXJlY3Q=','dXJs','bGluaw=='];return base64_decode($a[$i]);} | ||
| 1859 | 1864 | ||
| 1860 | protected function validateModification() { | 1865 | protected function validateModification() { |
| 1861 | if (!$this->user->hasPermission('modify', 'extension/theme/'. $this->oct_theme)) { | 1866 | if (!$this->user->hasPermission('modify', 'extension/theme/'. $this->oct_theme)) { | ... | ... |
| 1 | +.ocf-theme-light-block .ocf-search-btn-static, .ocf-theme-light-block .ocf-search-btn-popover, .ocf-theme-light-block .ocf-search-btn-static.ocf-disabled, .ocf-theme-light-block .ocf-search-btn-popover.ocf-disabled, .ocf-noUi-connect:before, .ocf-noUi-handle {background-color:rgb(0, 168, 232) !important;} | ||
| 2 | +:root {--ds-primary-color:rgb(0, 168, 232);} | ||
| 3 | +:root {--ds-body-bg-light-color:rgb(248, 251, 253);} | ||
| 4 | +:root {--ds-links-color:rgb(0, 168, 232);} | ||
| 5 | +.light-theme .ds-header {background:rgb(255, 255, 255);} | ||
| 6 | +.ds-dropdown-links .blue-link, .ds-switcher button {color:rgb(0, 168, 232);} | ||
| 7 | +.ds-dropdown-links .blue-link:hover {color:rgb(0, 168, 232);} | ||
| 8 | +:root {--ds-footer-bg-light-color:rgb(255, 255, 255);} | ||
| 9 | +.light-theme .ds-footer-subscribe-text, .light-theme .ds-footer-item .secondary-text, .light-theme .ds-footer-socials .secondary-text {color:rgb(0, 52, 89);} | ||
| 10 | +.ds-footer .blue-link {color:rgb(0, 168, 232);} | ||
| 11 | +.ds-footer .blue-link:hover {color:rgb(0, 168, 232);} | ||
| 12 | +.light-theme .ds-footer-links li a, .light-theme ul.ds-footer-item li a {color:rgb(0, 52, 89);} | ||
| 13 | +.ds-footer-links li a:hover, ul.ds-footer-item li a:hover {color:rgb(0, 168, 232);} | ||
| 14 | +.light-theme .ds-footer-item-title {color:rgb(0, 23, 31);} | ||
| 15 | +.light-theme .ds-footer-item-title svg path {fill:rgb(0, 23, 31);} | ||
| 16 | +:root {--ds-interactive-color:rgb(82, 187, 56);} | ||
| 17 | +.ds-price-new.red-text {color:rgb(213, 56, 61);} |
-
Please register or login to post a comment