Рамиз Мирзаев

Init commit

Showing 65 changed files with 23 additions and 15572 deletions
{"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
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* common/dashboard.twig */
class __TwigTemplate_645f308cbd17f5ff13697d9f140791d6 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
yield ($context["header"] ?? null);
yield ($context["column_left"] ?? null);
yield "
<div id=\"content\">
<div class=\"page-header\">
<div class=\"container-fluid\">
<div class=\"pull-right\">
<button type=\"button\" id=\"button-developer\" title=\"";
// line 6
yield ($context["button_developer"] ?? null);
yield "\" data-loading-text=\"";
yield ($context["text_loading"] ?? null);
yield "\" class=\"btn btn-info\"><i class=\"fa fa-cog\"></i></button>
</div>
<h1>";
// line 8
yield ($context["heading_title"] ?? null);
yield "</h1>
<ul class=\"breadcrumb\">
";
// line 10
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(($context["breadcrumbs"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["breadcrumb"]) {
// line 11
yield " <li><a href=\"";
yield CoreExtension::getAttribute($this->env, $this->source, $context["breadcrumb"], "href", [], "any", false, false, false, 11);
yield "\">";
yield CoreExtension::getAttribute($this->env, $this->source, $context["breadcrumb"], "text", [], "any", false, false, false, 11);
yield "</a></li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['breadcrumb'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 13
yield " </ul>
</div>
</div>
<div class=\"container-fluid\">";
// line 16
if (($context["error_install"] ?? null)) {
// line 17
yield " <div class=\"alert alert-danger alert-dismissible\">
<button type=\"button\" class=\"close pull-right\" data-dismiss=\"alert\">&times;</button>
<i class=\"fa fa-exclamation-circle\"></i> ";
// line 19
yield ($context["error_install"] ?? null);
yield "</div>
";
}
// line 21
yield " ";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(($context["rows"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["row"]) {
// line 22
yield " <div class=\"row\">";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable($context["row"]);
foreach ($context['_seq'] as $context["_key"] => $context["dashboard_1"]) {
// line 23
yield " ";
$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");
// line 24
yield " ";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable($context["row"]);
foreach ($context['_seq'] as $context["_key"] => $context["dashboard_2"]) {
// line 25
yield " ";
if ((CoreExtension::getAttribute($this->env, $this->source, $context["dashboard_2"], "width", [], "any", false, false, false, 25) > 3)) {
// line 26
yield " ";
$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");
// line 27
yield " ";
}
// line 28
yield " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['dashboard_2'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 29
yield " <div class=\"";
yield ($context["class"] ?? null);
yield "\">";
yield CoreExtension::getAttribute($this->env, $this->source, $context["dashboard_1"], "output", [], "any", false, false, false, 29);
yield "</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['dashboard_1'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 30
yield "</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['row'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 31
yield "</div>
";
// line 32
yield ($context["security"] ?? null);
yield "
<script type=\"text/javascript\"><!--
\$('#button-developer').on('click', function() {
\t\$.ajax({
\t\turl: 'index.php?route=common/developer&user_token=";
// line 36
yield ($context["user_token"] ?? null);
yield "',
\t\tdataType: 'html',
\t\tbeforeSend: function() {
\t\t\t\$('#button-developer').button('loading');
\t\t},
\t\tcomplete: function() {
\t\t\t\$('#button-developer').button('reset');
\t\t},
\t\tsuccess: function(html) {
\t\t\t\$('#modal-developer').remove();
\t\t\t
\t\t\t\$('body').prepend('<div id=\"modal-developer\" class=\"modal\">' + html + '</div>');
\t\t\t
\t\t\t\$('#modal-developer').modal('show');
\t\t},
\t\terror: function(xhr, ajaxOptions, thrownError) {
\t\t\talert(thrownError + \"\\r\\n\" + xhr.statusText + \"\\r\\n\" + xhr.responseText);
\t\t}
\t});\t
});\t
//--></script>
</div>
";
// line 58
yield ($context["footer"] ?? null);
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "common/dashboard.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("", "common/dashboard.twig", "");
}
}
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* extension/dashboard/chart_info.twig */
class __TwigTemplate_63e40ddc5483dc8145e6e44276a3aaaa extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
yield "<div class=\"panel panel-default\">
<div class=\"panel-heading\">
<div class=\"pull-right\"><a href=\"#\" class=\"dropdown-toggle\" data-toggle=\"dropdown\"><i class=\"fa fa-calendar\"></i> <i class=\"caret\"></i></a>
<ul id=\"range\" class=\"dropdown-menu dropdown-menu-right\">
<li><a href=\"day\">";
// line 5
yield ($context["text_day"] ?? null);
yield "</a></li>
<li><a href=\"week\">";
// line 6
yield ($context["text_week"] ?? null);
yield "</a></li>
<li class=\"active\"><a href=\"month\">";
// line 7
yield ($context["text_month"] ?? null);
yield "</a></li>
<li><a href=\"year\">";
// line 8
yield ($context["text_year"] ?? null);
yield "</a></li>
</ul>
</div>
<h3 class=\"panel-title\"><i class=\"fa fa-bar-chart-o\"></i> ";
// line 11
yield ($context["heading_title"] ?? null);
yield "</h3>
</div>
<div class=\"panel-body\">
<div id=\"chart-sale\" style=\"width: 100%; height: 260px;\"></div>
</div>
</div>
<script type=\"text/javascript\" src=\"view/javascript/jquery/flot/jquery.flot.js\"></script>
<script type=\"text/javascript\" src=\"view/javascript/jquery/flot/jquery.flot.resize.min.js\"></script>
<script type=\"text/javascript\"><!--
\$('#range a').on('click', function(e) {
\te.preventDefault();
\t
\t\$(this).parent().parent().find('li').removeClass('active');
\t
\t\$(this).parent().addClass('active');
\t
\t\$.ajax({
\t\ttype: 'get',
\t\turl: 'index.php?route=extension/dashboard/chart/chart&user_token=";
// line 29
yield ($context["user_token"] ?? null);
yield "&range=' + \$(this).attr('href'),
\t\tdataType: 'json',
\t\tsuccess: function(json) {
if (typeof json['order'] == 'undefined') { return false; }
\t\t\t
\t\t\tvar option = {\t
\t\t\t\tshadowSize: 0,
\t\t\t\tcolors: ['#9FD5F1', '#1065D2'],
\t\t\t\tbars: {
\t\t\t\t\tshow: true,
\t\t\t\t\tfill: true,
\t\t\t\t\tlineWidth: 1
\t\t\t\t},
\t\t\t\tgrid: {
\t\t\t\t\tbackgroundColor: '#FFFFFF',
\t\t\t\t\thoverable: true
\t\t\t\t},
\t\t\t\tpoints: {
\t\t\t\t\tshow: false
\t\t\t\t},
\t\t\t\txaxis: {
\t\t\t\t\tshow: true,
\t\tticks: json['xaxis']
\t\t\t\t}
\t\t\t}
\t\t\t
\t\t\t\$.plot('#chart-sale', [json['order'], json['customer']], option);\t
\t\t\t\t\t
\t\t\t\$('#chart-sale').bind('plothover', function(event, pos, item) {
\t\t\t\t\$('.tooltip').remove();
\t\t\t
\t\t\t\tif (item) {
\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');
\t\t\t\t\t
\t\t\t\t\t\$('#tooltip').css({
\t\t\t\t\t\tposition: 'absolute',
\t\t\t\t\t\tleft: item.pageX - (\$('#tooltip').outerWidth() / 2),
\t\t\t\t\t\ttop: item.pageY - \$('#tooltip').outerHeight(),
\t\t\t\t\t\tpointer: 'cusror'
\t\t\t\t\t}).fadeIn('slow');\t
\t\t\t\t\t
\t\t\t\t\t\$('#chart-sale').css('cursor', 'pointer');\t\t
\t\t\t \t} else {
\t\t\t\t\t\$('#chart-sale').css('cursor', 'auto');
\t\t\t\t}
\t\t\t});
\t\t},
error: function(xhr, ajaxOptions, thrownError) {
alert(thrownError + \"\\r\\n\" + xhr.statusText + \"\\r\\n\" + xhr.responseText);
}
\t});
});
\$('#range .active a').trigger('click');
//--></script> ";
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "extension/dashboard/chart_info.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 83 => 29, 62 => 11, 56 => 8, 52 => 7, 48 => 6, 44 => 5, 38 => 1,);
}
public function getSourceContext()
{
return new Source("", "extension/dashboard/chart_info.twig", "");
}
}
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* default/template/product/review.twig */
class __TwigTemplate_18920efd05b3a9626f33dc9a01db1aa6006fbec243a4499698f76b8f260ccd04 extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
if (($context["reviews"] ?? null)) {
// line 2
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["reviews"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["review"]) {
// line 3
echo "<table class=\"table table-striped table-bordered\">
<tr>
<td style=\"width: 50%;\"><strong>";
// line 5
echo twig_get_attribute($this->env, $this->source, $context["review"], "author", [], "any", false, false, false, 5);
echo "</strong></td>
<td class=\"text-right\">";
// line 6
echo twig_get_attribute($this->env, $this->source, $context["review"], "date_added", [], "any", false, false, false, 6);
echo "</td>
</tr>
<tr>
<td colspan=\"2\"><p>";
// line 9
echo twig_get_attribute($this->env, $this->source, $context["review"], "text", [], "any", false, false, false, 9);
echo "</p>
";
// line 10
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(range(1, 5));
foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
// line 11
echo " ";
if ((twig_get_attribute($this->env, $this->source, $context["review"], "rating", [], "any", false, false, false, 11) < $context["i"])) {
echo " <span class=\"fa fa-stack\"><i class=\"fa fa-star-o fa-stack-2x\"></i></span> ";
} else {
echo " <span class=\"fa fa-stack\"><i class=\"fa fa-star fa-stack-2x\"></i><i class=\"fa fa-star-o fa-stack-2x\"></i></span> ";
}
// line 12
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
echo "</td>
</tr>
</table>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['review'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 16
echo "<div class=\"row\">
<div class=\"col-sm-6 text-left\">";
// line 17
echo ($context["pagination"] ?? null);
echo "</div>
<div class=\"col-sm-6 text-right\">";
// line 18
echo ($context["results"] ?? null);
echo "</div>
</div>
";
} else {
// line 21
echo "<p>";
echo ($context["text_no_reviews"] ?? null);
echo "</p>
";
}
}
public function getTemplateName()
{
return "default/template/product/review.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("", "default/template/product/review.twig", "");
}
}
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* extension/dashboard/recent_info.twig */
class __TwigTemplate_7fde69e7068a0fa95656f79ed81865a0 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
yield "<div class=\"panel panel-default\">
<div class=\"panel-heading\">
<h3 class=\"panel-title\"><i class=\"fa fa-shopping-cart\"></i> ";
// line 3
yield ($context["heading_title"] ?? null);
yield "</h3>
</div>
<div class=\"table-responsive\">
<table class=\"table\">
<thead>
<tr>
<td class=\"text-right\">";
// line 9
yield ($context["column_order_id"] ?? null);
yield "</td>
<td>";
// line 10
yield ($context["column_customer"] ?? null);
yield "</td>
<td>";
// line 11
yield ($context["column_status"] ?? null);
yield "</td>
<td>";
// line 12
yield ($context["column_date_added"] ?? null);
yield "</td>
<td class=\"text-right\">";
// line 13
yield ($context["column_total"] ?? null);
yield "</td>
<td class=\"text-right\">";
// line 14
yield ($context["column_action"] ?? null);
yield "</td>
</tr>
</thead>
<tbody>
";
// line 18
if (($context["orders"] ?? null)) {
// line 19
yield " ";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(($context["orders"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["order"]) {
// line 20
yield " <tr>
<td class=\"text-right\">";
// line 21
yield CoreExtension::getAttribute($this->env, $this->source, $context["order"], "order_id", [], "any", false, false, false, 21);
yield "</td>
<td>";
// line 22
yield CoreExtension::getAttribute($this->env, $this->source, $context["order"], "customer", [], "any", false, false, false, 22);
yield "</td>
<td>";
// line 23
yield CoreExtension::getAttribute($this->env, $this->source, $context["order"], "status", [], "any", false, false, false, 23);
yield "</td>
<td>";
// line 24
yield CoreExtension::getAttribute($this->env, $this->source, $context["order"], "date_added", [], "any", false, false, false, 24);
yield "</td>
<td class=\"text-right\">";
// line 25
yield CoreExtension::getAttribute($this->env, $this->source, $context["order"], "total", [], "any", false, false, false, 25);
yield "</td>
<td class=\"text-right\"><a href=\"";
// line 26
yield CoreExtension::getAttribute($this->env, $this->source, $context["order"], "view", [], "any", false, false, false, 26);
yield "\" data-toggle=\"tooltip\" title=\"";
yield ($context["button_view"] ?? null);
yield "\" class=\"btn btn-info\"><i class=\"fa fa-eye\"></i></a></td>
</tr>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['order'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 29
yield " ";
} else {
// line 30
yield " <tr>
<td class=\"text-center\" colspan=\"6\">";
// line 31
yield ($context["text_no_results"] ?? null);
yield "</td>
</tr>
";
}
// line 34
yield " </tbody>
</table>
</div>
</div>
";
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "extension/dashboard/recent_info.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("", "extension/dashboard/recent_info.twig", "");
}
}
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* default/template/extension/module/featured.twig */
class __TwigTemplate_c784c8d8ddcacc3ea47bcbed8b9a441b62083520d32c19779c35181dd0f828f0 extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
echo "<h3>";
echo ($context["heading_title"] ?? null);
echo "</h3>
<div class=\"row\">
";
// line 3
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["products"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["product"]) {
// line 4
echo " <div class=\"product-layout col-lg-3 col-md-3 col-sm-6 col-xs-12\">
<div class=\"product-thumb transition\">
<div class=\"image\"><a href=\"";
// line 6
echo twig_get_attribute($this->env, $this->source, $context["product"], "href", [], "any", false, false, false, 6);
echo "\"><img src=\"";
echo twig_get_attribute($this->env, $this->source, $context["product"], "thumb", [], "any", false, false, false, 6);
echo "\" alt=\"";
echo twig_get_attribute($this->env, $this->source, $context["product"], "name", [], "any", false, false, false, 6);
echo "\" title=\"";
echo twig_get_attribute($this->env, $this->source, $context["product"], "name", [], "any", false, false, false, 6);
echo "\" class=\"img-responsive\" /></a></div>
<div class=\"caption\">
<h4><a href=\"";
// line 8
echo twig_get_attribute($this->env, $this->source, $context["product"], "href", [], "any", false, false, false, 8);
echo "\">";
echo twig_get_attribute($this->env, $this->source, $context["product"], "name", [], "any", false, false, false, 8);
echo "</a></h4>
<p>";
// line 9
echo twig_get_attribute($this->env, $this->source, $context["product"], "description", [], "any", false, false, false, 9);
echo "</p>
";
// line 10
if (twig_get_attribute($this->env, $this->source, $context["product"], "rating", [], "any", false, false, false, 10)) {
// line 11
echo " <div class=\"rating\">
";
// line 12
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(5);
foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
// line 13
echo " ";
if ((twig_get_attribute($this->env, $this->source, $context["product"], "rating", [], "any", false, false, false, 13) < $context["i"])) {
// line 14
echo " <span class=\"fa fa-stack\"><i class=\"fa fa-star-o fa-stack-2x\"></i></span>
";
} else {
// line 16
echo " <span class=\"fa fa-stack\"><i class=\"fa fa-star fa-stack-2x\"></i><i class=\"fa fa-star-o fa-stack-2x\"></i></span>
";
}
// line 18
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 19
echo " </div>
";
}
// line 21
echo " ";
if (twig_get_attribute($this->env, $this->source, $context["product"], "price", [], "any", false, false, false, 21)) {
// line 22
echo " <p class=\"price\">
";
// line 23
if ( !twig_get_attribute($this->env, $this->source, $context["product"], "special", [], "any", false, false, false, 23)) {
// line 24
echo " ";
echo twig_get_attribute($this->env, $this->source, $context["product"], "price", [], "any", false, false, false, 24);
echo "
";
} else {
// line 26
echo " <span class=\"price-new\">";
echo twig_get_attribute($this->env, $this->source, $context["product"], "special", [], "any", false, false, false, 26);
echo "</span> <span class=\"price-old\">";
echo twig_get_attribute($this->env, $this->source, $context["product"], "price", [], "any", false, false, false, 26);
echo "</span>
";
}
// line 28
echo " ";
if (twig_get_attribute($this->env, $this->source, $context["product"], "tax", [], "any", false, false, false, 28)) {
// line 29
echo " <span class=\"price-tax\">";
echo ($context["text_tax"] ?? null);
echo " ";
echo twig_get_attribute($this->env, $this->source, $context["product"], "tax", [], "any", false, false, false, 29);
echo "</span>
";
}
// line 31
echo " </p>
";
}
// line 33
echo " </div>
<div class=\"button-group\">
<button type=\"button\" onclick=\"cart.add('";
// line 35
echo twig_get_attribute($this->env, $this->source, $context["product"], "product_id", [], "any", false, false, false, 35);
echo "');\"><i class=\"fa fa-shopping-cart\"></i> <span class=\"hidden-xs hidden-sm hidden-md\">";
echo ($context["button_cart"] ?? null);
echo "</span></button>
<button type=\"button\" data-toggle=\"tooltip\" title=\"";
// line 36
echo ($context["button_wishlist"] ?? null);
echo "\" onclick=\"wishlist.add('";
echo twig_get_attribute($this->env, $this->source, $context["product"], "product_id", [], "any", false, false, false, 36);
echo "');\"><i class=\"fa fa-heart\"></i></button>
<button type=\"button\" data-toggle=\"tooltip\" title=\"";
// line 37
echo ($context["button_compare"] ?? null);
echo "\" onclick=\"compare.add('";
echo twig_get_attribute($this->env, $this->source, $context["product"], "product_id", [], "any", false, false, false, 37);
echo "');\"><i class=\"fa fa-exchange\"></i></button>
</div>
</div>
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['product'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 42
echo "</div>
";
}
public function getTemplateName()
{
return "default/template/extension/module/featured.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("", "default/template/extension/module/featured.twig", "");
}
}
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* default/template/extension/module/featured.twig */
class __TwigTemplate_83bfbef6815bf06560c4a9255f06f0b6 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
yield "<h3>";
yield ($context["heading_title"] ?? null);
yield "</h3>
<div class=\"row\">
";
// line 3
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(($context["products"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["product"]) {
// line 4
yield " <div class=\"product-layout col-lg-3 col-md-3 col-sm-6 col-xs-12\">
<div class=\"product-thumb transition\">
<div class=\"image\"><a href=\"";
// line 6
yield CoreExtension::getAttribute($this->env, $this->source, $context["product"], "href", [], "any", false, false, false, 6);
yield "\"><img src=\"";
yield CoreExtension::getAttribute($this->env, $this->source, $context["product"], "thumb", [], "any", false, false, false, 6);
yield "\" alt=\"";
yield CoreExtension::getAttribute($this->env, $this->source, $context["product"], "name", [], "any", false, false, false, 6);
yield "\" title=\"";
yield CoreExtension::getAttribute($this->env, $this->source, $context["product"], "name", [], "any", false, false, false, 6);
yield "\" class=\"img-responsive\" /></a></div>
<div class=\"caption\">
<h4><a href=\"";
// line 8
yield CoreExtension::getAttribute($this->env, $this->source, $context["product"], "href", [], "any", false, false, false, 8);
yield "\">";
yield CoreExtension::getAttribute($this->env, $this->source, $context["product"], "name", [], "any", false, false, false, 8);
yield "</a></h4>
<p>";
// line 9
yield CoreExtension::getAttribute($this->env, $this->source, $context["product"], "description", [], "any", false, false, false, 9);
yield "</p>
";
// line 10
if (CoreExtension::getAttribute($this->env, $this->source, $context["product"], "rating", [], "any", false, false, false, 10)) {
// line 11
yield " <div class=\"rating\">
";
// line 12
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(5);
foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
// line 13
yield " ";
if ((CoreExtension::getAttribute($this->env, $this->source, $context["product"], "rating", [], "any", false, false, false, 13) < $context["i"])) {
// line 14
yield " <span class=\"fa fa-stack\"><i class=\"fa fa-star-o fa-stack-2x\"></i></span>
";
} else {
// line 16
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>
";
}
// line 18
yield " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 19
yield " </div>
";
}
// line 21
yield " ";
if (CoreExtension::getAttribute($this->env, $this->source, $context["product"], "price", [], "any", false, false, false, 21)) {
// line 22
yield " <p class=\"price\">
";
// line 23
if ( !CoreExtension::getAttribute($this->env, $this->source, $context["product"], "special", [], "any", false, false, false, 23)) {
// line 24
yield " ";
yield CoreExtension::getAttribute($this->env, $this->source, $context["product"], "price", [], "any", false, false, false, 24);
yield "
";
} else {
// line 26
yield " <span class=\"price-new\">";
yield CoreExtension::getAttribute($this->env, $this->source, $context["product"], "special", [], "any", false, false, false, 26);
yield "</span> <span class=\"price-old\">";
yield CoreExtension::getAttribute($this->env, $this->source, $context["product"], "price", [], "any", false, false, false, 26);
yield "</span>
";
}
// line 28
yield " ";
if (CoreExtension::getAttribute($this->env, $this->source, $context["product"], "tax", [], "any", false, false, false, 28)) {
// line 29
yield " <span class=\"price-tax\">";
yield ($context["text_tax"] ?? null);
yield " ";
yield CoreExtension::getAttribute($this->env, $this->source, $context["product"], "tax", [], "any", false, false, false, 29);
yield "</span>
";
}
// line 31
yield " </p>
";
}
// line 33
yield " </div>
<div class=\"button-group\">
<button type=\"button\" onclick=\"cart.add('";
// line 35
yield CoreExtension::getAttribute($this->env, $this->source, $context["product"], "product_id", [], "any", false, false, false, 35);
yield "');\"><i class=\"fa fa-shopping-cart\"></i> <span class=\"hidden-xs hidden-sm hidden-md\">";
yield ($context["button_cart"] ?? null);
yield "</span></button>
<button type=\"button\" data-toggle=\"tooltip\" title=\"";
// line 36
yield ($context["button_wishlist"] ?? null);
yield "\" onclick=\"wishlist.add('";
yield CoreExtension::getAttribute($this->env, $this->source, $context["product"], "product_id", [], "any", false, false, false, 36);
yield "');\"><i class=\"fa fa-heart\"></i></button>
<button type=\"button\" data-toggle=\"tooltip\" title=\"";
// line 37
yield ($context["button_compare"] ?? null);
yield "\" onclick=\"compare.add('";
yield CoreExtension::getAttribute($this->env, $this->source, $context["product"], "product_id", [], "any", false, false, false, 37);
yield "');\"><i class=\"fa fa-exchange\"></i></button>
</div>
</div>
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['product'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 42
yield "</div>
";
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "default/template/extension/module/featured.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("", "default/template/extension/module/featured.twig", "");
}
}
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* default/template/common/cart.twig */
class __TwigTemplate_1689113732a81c49ad473b69c9220dbd extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
yield "<div id=\"cart\" class=\"btn-group btn-block\">
<button type=\"button\" data-toggle=\"dropdown\" data-loading-text=\"";
// line 2
yield ($context["text_loading"] ?? null);
yield "\" class=\"btn btn-inverse btn-block btn-lg dropdown-toggle\"><i class=\"fa fa-shopping-cart\"></i> <span id=\"cart-total\">";
yield ($context["text_items"] ?? null);
yield "</span></button>
<ul class=\"dropdown-menu pull-right\">
";
// line 4
if ((($context["products"] ?? null) || ($context["vouchers"] ?? null))) {
// line 5
yield " <li>
<table class=\"table table-striped\">
";
// line 7
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(($context["products"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["product"]) {
// line 8
yield " <tr>
<td class=\"text-center\">";
// line 9
if (CoreExtension::getAttribute($this->env, $this->source, $context["product"], "thumb", [], "any", false, false, false, 9)) {
yield " <a href=\"";
yield CoreExtension::getAttribute($this->env, $this->source, $context["product"], "href", [], "any", false, false, false, 9);
yield "\"><img src=\"";
yield CoreExtension::getAttribute($this->env, $this->source, $context["product"], "thumb", [], "any", false, false, false, 9);
yield "\" alt=\"";
yield CoreExtension::getAttribute($this->env, $this->source, $context["product"], "name", [], "any", false, false, false, 9);
yield "\" title=\"";
yield CoreExtension::getAttribute($this->env, $this->source, $context["product"], "name", [], "any", false, false, false, 9);
yield "\" class=\"img-thumbnail\" /></a> ";
}
yield "</td>
<td class=\"text-left\"><a href=\"";
// line 10
yield CoreExtension::getAttribute($this->env, $this->source, $context["product"], "href", [], "any", false, false, false, 10);
yield "\">";
yield CoreExtension::getAttribute($this->env, $this->source, $context["product"], "name", [], "any", false, false, false, 10);
yield "</a> ";
if (CoreExtension::getAttribute($this->env, $this->source, $context["product"], "option", [], "any", false, false, false, 10)) {
// line 11
yield " ";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, $context["product"], "option", [], "any", false, false, false, 11));
foreach ($context['_seq'] as $context["_key"] => $context["option"]) {
yield " <br />
- <small>";
// line 12
yield CoreExtension::getAttribute($this->env, $this->source, $context["option"], "name", [], "any", false, false, false, 12);
yield " ";
yield CoreExtension::getAttribute($this->env, $this->source, $context["option"], "value", [], "any", false, false, false, 12);
yield "</small> ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['option'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 13
yield " ";
}
// line 14
yield " ";
if (CoreExtension::getAttribute($this->env, $this->source, $context["product"], "recurring", [], "any", false, false, false, 14)) {
yield " <br />
- <small>";
// line 15
yield ($context["text_recurring"] ?? null);
yield " ";
yield CoreExtension::getAttribute($this->env, $this->source, $context["product"], "recurring", [], "any", false, false, false, 15);
yield "</small> ";
}
yield "</td>
<td class=\"text-right\">x ";
// line 16
yield CoreExtension::getAttribute($this->env, $this->source, $context["product"], "quantity", [], "any", false, false, false, 16);
yield "</td>
<td class=\"text-right\">";
// line 17
yield CoreExtension::getAttribute($this->env, $this->source, $context["product"], "total", [], "any", false, false, false, 17);
yield "</td>
<td class=\"text-center\"><button type=\"button\" onclick=\"cart.remove('";
// line 18
yield CoreExtension::getAttribute($this->env, $this->source, $context["product"], "cart_id", [], "any", false, false, false, 18);
yield "');\" title=\"";
yield ($context["button_remove"] ?? null);
yield "\" class=\"btn btn-danger btn-xs\"><i class=\"fa fa-times\"></i></button></td>
</tr>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['product'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 21
yield " ";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(($context["vouchers"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["voucher"]) {
// line 22
yield " <tr>
<td class=\"text-center\"></td>
<td class=\"text-left\">";
// line 24
yield CoreExtension::getAttribute($this->env, $this->source, $context["voucher"], "description", [], "any", false, false, false, 24);
yield "</td>
<td class=\"text-right\">x&nbsp;1</td>
<td class=\"text-right\">";
// line 26
yield CoreExtension::getAttribute($this->env, $this->source, $context["voucher"], "amount", [], "any", false, false, false, 26);
yield "</td>
<td class=\"text-center text-danger\"><button type=\"button\" onclick=\"voucher.remove('";
// line 27
yield CoreExtension::getAttribute($this->env, $this->source, $context["voucher"], "key", [], "any", false, false, false, 27);
yield "');\" title=\"";
yield ($context["button_remove"] ?? null);
yield "\" class=\"btn btn-danger btn-xs\"><i class=\"fa fa-times\"></i></button></td>
</tr>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['voucher'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 30
yield " </table>
</li>
<li>
<div>
<table class=\"table table-bordered\">
";
// line 35
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(($context["totals"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["total"]) {
// line 36
yield " <tr>
<td class=\"text-right\"><strong>";
// line 37
yield CoreExtension::getAttribute($this->env, $this->source, $context["total"], "title", [], "any", false, false, false, 37);
yield "</strong></td>
<td class=\"text-right\">";
// line 38
yield CoreExtension::getAttribute($this->env, $this->source, $context["total"], "text", [], "any", false, false, false, 38);
yield "</td>
</tr>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['total'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 41
yield " </table>
<p class=\"text-right\"><a href=\"";
// line 42
yield ($context["cart"] ?? null);
yield "\"><strong><i class=\"fa fa-shopping-cart\"></i> ";
yield ($context["text_cart"] ?? null);
yield "</strong></a>&nbsp;&nbsp;&nbsp;<a href=\"";
yield ($context["checkout"] ?? null);
yield "\"><strong><i class=\"fa fa-share\"></i> ";
yield ($context["text_checkout"] ?? null);
yield "</strong></a></p>
</div>
</li>
";
} else {
// line 46
yield " <li>
<p class=\"text-center\">";
// line 47
yield ($context["text_empty"] ?? null);
yield "</p>
</li>
";
}
// line 50
yield " </ul>
</div>
";
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "default/template/common/cart.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("", "default/template/common/cart.twig", "");
}
}
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* default/template/common/content_top.twig */
class __TwigTemplate_cd031aef338eff64aafe64f5009a200ae7b66868fce497eca2c8bd2013135d85 extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["modules"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["module"]) {
// line 2
echo $context["module"];
echo "
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['module'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
}
public function getTemplateName()
{
return "default/template/common/content_top.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 41 => 2, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "default/template/common/content_top.twig", "");
}
}
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* catalog/category_list.twig */
class __TwigTemplate_d1a959a3f3ddc9efd9fd01861e8e554d extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
yield ($context["header"] ?? null);
yield ($context["column_left"] ?? null);
yield "
<div id=\"content\">
<div class=\"page-header\">
<div class=\"container-fluid\">
<div class=\"pull-right\"><a href=\"";
// line 5
yield ($context["add"] ?? null);
yield "\" data-toggle=\"tooltip\" title=\"";
yield ($context["button_add"] ?? null);
yield "\" class=\"btn btn-primary\"><i class=\"fa fa-plus\"></i></a>
\t <a href=\"";
// line 6
yield ($context["repair"] ?? null);
yield "\" data-toggle=\"tooltip\" title=\"";
yield ($context["button_rebuild"] ?? null);
yield "\" class=\"btn btn-default\"><i class=\"fa fa-refresh\"></i></a>
\t\t<button type=\"submit\" form=\"form-category\" formaction=\"";
// line 7
yield ($context["enabled"] ?? null);
yield "\" data-toggle=\"tooltip\" title=\"";
yield ($context["button_enable"] ?? null);
yield "\" class=\"btn btn-default\"><i class=\"fa fa-play\"></i></button>
\t\t<button type=\"submit\" form=\"form-category\" formaction=\"";
// line 8
yield ($context["disabled"] ?? null);
yield "\" data-toggle=\"tooltip\" title=\"";
yield ($context["button_disable"] ?? null);
yield "\" class=\"btn btn-default\"><i class=\"fa fa-pause\"></i></button>
\t\t<button type=\"button\" form=\"form-category\" formaction=\"";
// line 9
yield ($context["delete"] ?? null);
yield "\" data-toggle=\"tooltip\" title=\"";
yield ($context["button_delete"] ?? null);
yield "\" class=\"btn btn-danger\" onclick=\"confirm('";
yield ($context["text_confirm"] ?? null);
yield "') ? \$('#form-category').submit() : false;\"><i class=\"fa fa-trash-o\"></i></button>
</div>
<h1>";
// line 11
yield ($context["heading_title"] ?? null);
yield "</h1>
<ul class=\"breadcrumb\">
";
// line 13
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(($context["breadcrumbs"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["breadcrumb"]) {
// line 14
yield " <li><a href=\"";
yield CoreExtension::getAttribute($this->env, $this->source, $context["breadcrumb"], "href", [], "any", false, false, false, 14);
yield "\">";
yield CoreExtension::getAttribute($this->env, $this->source, $context["breadcrumb"], "text", [], "any", false, false, false, 14);
yield "</a></li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['breadcrumb'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 16
yield " </ul>
</div>
</div>
<div class=\"container-fluid\">
";
// line 20
if (($context["error_warning"] ?? null)) {
// line 21
yield " <div class=\"alert alert-danger alert-dismissible\"><i class=\"fa fa-exclamation-circle\"></i> ";
yield ($context["error_warning"] ?? null);
yield "
<button type=\"button\" class=\"close\" data-dismiss=\"alert\">&times;</button>
</div>
";
}
// line 25
yield " ";
if (($context["success"] ?? null)) {
// line 26
yield " <div class=\"alert alert-success alert-dismissible\"><i class=\"fa fa-check-circle\"></i> ";
yield ($context["success"] ?? null);
yield "
<button type=\"button\" class=\"close\" data-dismiss=\"alert\">&times;</button>
</div>
";
}
// line 30
yield " <div class=\"panel panel-default\">
<div class=\"panel-heading\">
<h3 class=\"panel-title\"><i class=\"fa fa-list\"></i> ";
// line 32
yield ($context["text_list"] ?? null);
yield "</h3>
</div>
<div class=\"panel-body\">
<form action=\"";
// line 35
yield ($context["delete"] ?? null);
yield "\" method=\"post\" enctype=\"multipart/form-data\" id=\"form-category\">
<div class=\"table-responsive\">
<table class=\"table table-bordered table-hover\">
<thead>
<tr>
<td style=\"width: 1px;\" class=\"text-center\"><input type=\"checkbox\" onclick=\"\$('input[name*=\\'selected\\']').prop('checked', this.checked);\" /></td>
<td class=\"text-left\">";
// line 41
yield ($context["column_name"] ?? null);
yield "</td>
<td class=\"text-right\">";
// line 42
yield ($context["column_sort_order"] ?? null);
yield "</td>
\t\t\t\t <td class=\"text-right\">";
// line 43
if ((($context["sort"] ?? null) == "noindex")) {
// line 44
yield " <a href=\"";
yield ($context["sort_noindex"] ?? null);
yield "\" class=\"";
yield Twig\Extension\CoreExtension::lower($this->env->getCharset(), ($context["order"] ?? null));
yield "\">";
yield ($context["column_noindex"] ?? null);
yield "</a>
";
} else {
// line 46
yield " <a href=\"";
yield ($context["sort_noindex"] ?? null);
yield "\">";
yield ($context["column_noindex"] ?? null);
yield "</a>
\t\t\t\t\t";
}
// line 47
yield "</td>
<td class=\"text-right\">";
// line 48
yield ($context["column_action"] ?? null);
yield "</td>
</tr>
</thead>
<tbody>
";
// line 52
if (($context["categories"] ?? null)) {
// line 53
yield " ";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(($context["categories"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["category"]) {
// line 54
yield " <tr>
<td class=\"text-center\">";
// line 55
if (CoreExtension::inFilter(CoreExtension::getAttribute($this->env, $this->source, $context["category"], "category_id", [], "any", false, false, false, 55), ($context["selected"] ?? null))) {
// line 56
yield " <input type=\"checkbox\" name=\"selected[]\" value=\"";
yield CoreExtension::getAttribute($this->env, $this->source, $context["category"], "category_id", [], "any", false, false, false, 56);
yield "\" checked=\"checked\" />
";
} else {
// line 58
yield " <input type=\"checkbox\" name=\"selected[]\" value=\"";
yield CoreExtension::getAttribute($this->env, $this->source, $context["category"], "category_id", [], "any", false, false, false, 58);
yield "\" />
";
}
// line 59
yield "</td>
\t\t\t\t ";
// line 60
if (CoreExtension::getAttribute($this->env, $this->source, $context["category"], "href", [], "any", false, false, false, 60)) {
// line 61
yield " <td class=\"left\">";
yield CoreExtension::getAttribute($this->env, $this->source, $context["category"], "indent", [], "any", false, false, false, 61);
yield "<a href=\"";
yield CoreExtension::getAttribute($this->env, $this->source, $context["category"], "href", [], "any", false, false, false, 61);
yield "\">";
yield CoreExtension::getAttribute($this->env, $this->source, $context["category"], "name", [], "any", false, false, false, 61);
yield "</a>&nbsp;<i class=\"fa fa-sort-desc\"></i></td>
\t\t\t\t\t";
} else {
// line 63
yield " <td class=\"left\">";
yield CoreExtension::getAttribute($this->env, $this->source, $context["category"], "indent", [], "any", false, false, false, 63);
yield CoreExtension::getAttribute($this->env, $this->source, $context["category"], "name", [], "any", false, false, false, 63);
yield "</td>
";
}
// line 65
yield " <td class=\"text-right\">";
yield CoreExtension::getAttribute($this->env, $this->source, $context["category"], "sort_order", [], "any", false, false, false, 65);
yield "</td>
\t\t\t\t <td class=\"text-right\">";
// line 66
yield CoreExtension::getAttribute($this->env, $this->source, $context["category"], "noindex", [], "any", false, false, false, 66);
yield "</td>
<td class=\"text-right\">
\t\t\t\t\t<a target=\"_blank\" href=\"";
// line 68
yield CoreExtension::getAttribute($this->env, $this->source, $context["category"], "href_shop", [], "any", false, false, false, 68);
yield "\" data-toggle=\"tooltip\" title=\"";
yield ($context["button_shop"] ?? null);
yield "\" class=\"btn btn-success\"><i class=\"fa fa-eye\"></i></a>
\t\t\t\t\t<a href=\"";
// line 69
yield CoreExtension::getAttribute($this->env, $this->source, $context["category"], "edit", [], "any", false, false, false, 69);
yield "\" data-toggle=\"tooltip\" title=\"";
yield ($context["button_edit"] ?? null);
yield "\" class=\"btn btn-primary\"><i class=\"fa fa-pencil\"></i></a>
\t\t\t\t </td>
</tr>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['category'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 73
yield " ";
} else {
// line 74
yield " <tr>
<td class=\"text-center\" colspan=\"4\">";
// line 75
yield ($context["text_no_results"] ?? null);
yield "</td>
</tr>
";
}
// line 78
yield " </tbody>
</table>
</div>
</form>
<div class=\"row\">
<div class=\"col-sm-6 text-left\">";
// line 83
yield ($context["pagination"] ?? null);
yield "</div>
<div class=\"col-sm-6 text-right\">";
// line 84
yield ($context["results"] ?? null);
yield "</div>
</div>
</div>
</div>
</div>
<script type=\"text/javascript\"><!--
// IE and Edge fix!
\$('button[form=\\'form-category\\']').on('click', function(e) {
\t\$('#form-category').attr('action', \$(this).attr('formaction'));
});
//--></script>
</div>
";
// line 97
yield ($context["footer"] ?? null);
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "catalog/category_list.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("", "catalog/category_list.twig", "");
}
}
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* common/security.twig */
class __TwigTemplate_fd0094b311699d2489da3e5c09c36f51 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
yield "<div id=\"modal-security\" class=\"modal\">
<div class=\"modal-dialog\">
<div class=\"modal-content\">
<div class=\"modal-header\">
<button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-hidden=\"true\">&times;</button>
<h4 class=\"modal-title text-danger\"><i class=\"fa fa-exclamation-triangle\"></i> ";
// line 6
yield ($context["heading_title"] ?? null);
yield "</h4>
</div>
<div class=\"modal-body\">
<div class=\"alert alert-info\"><i class=\"fa fa-exclamation-circle\"></i> ";
// line 9
yield ($context["text_security"] ?? null);
yield "</div>
<form class=\"form-horizontal\">
<fieldset>
<legend>";
// line 12
yield ($context["text_choose"] ?? null);
yield "</legend>
<div class=\"form-group\">
<select name=\"type\" id=\"input-type\" class=\"form-control\">
<option value=\"automatic\">";
// line 15
yield ($context["text_automatic"] ?? null);
yield "</option>
<option value=\"manual\">";
// line 16
yield ($context["text_manual"] ?? null);
yield "</option>
</select>
</div>
</fieldset>
<fieldset id=\"collapse-automatic\" class=\"collapse\">
<legend>";
// line 21
yield ($context["text_automatic"] ?? null);
yield "</legend>
<div class=\"form-group\">
<div class=\"input-group\">
<div class=\"input-group-btn dropdown\">
<button type=\"button\" id=\"button-path\" data-toggle=\"dropdown\" class=\"btn btn-default\">";
// line 25
yield ($context["document_root"] ?? null);
yield " <span class=\"caret\"></span></button>
<ul class=\"dropdown-menu\">
";
// line 27
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(($context["paths"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["path"]) {
// line 28
yield " ";
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), $context["path"]) > Twig\Extension\CoreExtension::length($this->env->getCharset(), ($context["document_root"] ?? null)))) {
// line 29
yield " <li><a href=\"";
yield $context["path"];
yield "\"><i class=\"fa fa-exclamation-triangle fa-fw text-danger\"></i> ";
yield $context["path"];
yield "</a></li>
";
} else {
// line 31
yield " <li><a href=\"";
yield $context["path"];
yield "\"><i class=\"fa fa-check-circle fa-fw text-success\"></i> ";
yield $context["path"];
yield "</a></li>
";
}
// line 33
yield " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['path'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 34
yield " </ul>
</div>
<input type=\"text\" name=\"directory\" value=\"storage\" placeholder=\"";
// line 36
yield ($context["entry_directory"] ?? null);
yield "\" class=\"form-control\" />
<div class=\"input-group-btn\">
<button type=\"button\" id=\"button-move\" data-loading-text=\"";
// line 38
yield ($context["text_loading"] ?? null);
yield "\" class=\"btn btn-danger\"><i class=\"fa fa-exclamation-triangle\"></i> ";
yield ($context["button_move"] ?? null);
yield "</button>
</div>
</div>
<input type=\"hidden\" name=\"path\" value=\"";
// line 41
yield ($context["document_root"] ?? null);
yield "\" />
</div>
</fieldset>
<fieldset id=\"collapse-manual\" class=\"collapse\">
<legend>";
// line 45
yield ($context["text_manual"] ?? null);
yield "</legend>
<div class=\"form-group\">
<div style=\"height: 300px; overflow-y: scroll;\" class=\"form-control\" disabled=\"disabled\"></div>
</div>
</fieldset>
</form>
</div>
</div>
</div>
</div>
<script type=\"text/javascript\"><!--
\$(document).ready(function() {
\t\$('#modal-security').modal('show');
});
\$('#modal-security select[name=\\'type\\']').on('change', function() {
\t\$('#modal-security fieldset.collapse').removeClass('in');
\t
\t\$('#modal-security #collapse-' + \$(this).val()).addClass('in');
});
\$('#modal-security select[name=\\'type\\']').trigger('change');
\$('#modal-security .dropdown-menu a').on('click', function(e) {
\te.preventDefault();
\t
\t\$('#modal-security #button-path').html(\$(this).html() + ' <span class=\"caret\"></span>');
\t
\t\$('#modal-security input[name=\\'path\\']').val(\$(this).attr('href'));
});
\$('#modal-security .dropdown-menu a').on('click', function(e) {
\te.preventDefault();
\t
\t\$('#button-path').html(\$(this).text() + ' <span class=\"caret\"></span>');
\t
\t\$('input[name=\\'path\\']').val(\$(this).attr('href'));
\t
\t\$('input[name=\\'path\\']').trigger('change');
});
\$('#button-move').on('click', function() {
\tvar element = this;
\t
\t\$.ajax({
\t\turl: 'index.php?route=common/security/move&user_token=";
// line 91
yield ($context["user_token"] ?? null);
yield "',
\t\ttype: 'post',
\t\tdata: \$('input[name=\\'path\\'], input[name=\\'directory\\']'),
\t\tdataType: 'json',
\t\tcrossDomain: true,
\t\tbeforeSend: function() {
\t\t\t\$(element).button('loading');
\t\t},
\t\tcomplete: function() {
\t\t\t\$(element).button('reset');
\t\t},
\t\tsuccess: function(json) {
\t\t\t\$('.alert-dismissible').remove();
\t\t\tif (json['error']) {
\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\">&times;</button></div>');
\t\t\t}
\t\t\tif (json['success']) {
\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\">&times;</button></div>');
\t\t\t}
\t\t},
\t\terror: function(xhr, ajaxOptions, thrownError) {
\t\t\talert(thrownError + \"\\r\\n\" + xhr.statusText + \"\\r\\n\" + xhr.responseText);
\t\t}
\t});
});
\$('#modal-security select[name=\\'type\\']').on('change', function () {
\thtml = '<ol>';
\thtml += '<li><p>";
// line 121
yield ($context["text_move"] ?? null);
yield "</p>';
\thtml += '<p><strong>";
// line 122
yield ($context["storage"] ?? null);
yield "</strong></p>';
\thtml += '<p>";
// line 123
yield ($context["text_to"] ?? null);
yield "</p>';
\thtml += '<p><strong>' + \$('#modal-security input[name=\\'path\\']').val() + \$('#modal-security input[name=\\'directory\\']').val() + '/</strong></p></li>';
\thtml += '<li><p>";
// line 125
yield ($context["text_config"] ?? null);
yield "</p>';
\thtml += '<p><strong>define(\\'DIR_STORAGE\\', DIR_SYSTEM . \\'storage/\\');</strong></p>';
\thtml += '<p>to</p>';
\thtml += '<p><strong>define(\\'DIR_STORAGE\\', \\'' + \$('#modal-security input[name=\\'path\\']').val() + \$('#modal-security input[name=\\'directory\\']').val() + '/\\');</strong></p></li>';
\thtml += '<li><p>";
// line 129
yield ($context["text_admin"] ?? null);
yield "</p>';
\thtml += '<p><strong>define(\\'DIR_STORAGE\\', DIR_SYSTEM . \\'storage/\\');</strong></p>';
\thtml += '<p>to</p>';
\thtml += '<p><strong>define(\\'DIR_STORAGE\\', \\'' + \$('#modal-security input[name=\\'path\\']').val() + \$('#modal-security input[name=\\'directory\\']').val() + '/\\');</strong></p></li>';
html += '</ol>';
\t
\t\$('#collapse-manual .form-control').html(html);
});
\$('input[name=\\'path\\']').trigger('change');
//--></script>";
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "common/security.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("", "common/security.twig", "");
}
}
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* default/template/common/language.twig */
class __TwigTemplate_f2994740b617d18e23ed8ab68913987326a3cfc1c1d49dd8113141a20b4fdd61 extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
if ((twig_length_filter($this->env, ($context["languages"] ?? null)) > 1)) {
// line 2
echo "<div class=\"pull-left\">
<form action=\"";
// line 3
echo ($context["action"] ?? null);
echo "\" method=\"post\" enctype=\"multipart/form-data\" id=\"form-language\">
<div class=\"btn-group\">
<button class=\"btn btn-link dropdown-toggle\" data-toggle=\"dropdown\">
";
// line 6
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["languages"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["language"]) {
// line 7
echo " ";
if ((twig_get_attribute($this->env, $this->source, $context["language"], "code", [], "any", false, false, false, 7) == ($context["code"] ?? null))) {
echo "
<img src=\"catalog/language/";
// line 8
echo twig_get_attribute($this->env, $this->source, $context["language"], "code", [], "any", false, false, false, 8);
echo "/";
echo twig_get_attribute($this->env, $this->source, $context["language"], "code", [], "any", false, false, false, 8);
echo ".png\" alt=\"";
echo twig_get_attribute($this->env, $this->source, $context["language"], "name", [], "any", false, false, false, 8);
echo "\" title=\"";
echo twig_get_attribute($this->env, $this->source, $context["language"], "name", [], "any", false, false, false, 8);
echo "\">
";
}
// line 10
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['language'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 11
echo " <span class=\"hidden-xs hidden-sm hidden-md\">";
echo ($context["text_language"] ?? null);
echo "</span>&nbsp;<i class=\"fa fa-caret-down\"></i></button>
<ul class=\"dropdown-menu\">
";
// line 13
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["languages"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["language"]) {
// line 14
echo " <li>
<button class=\"btn btn-link btn-block language-select\" type=\"button\" name=\"";
// line 15
echo twig_get_attribute($this->env, $this->source, $context["language"], "code", [], "any", false, false, false, 15);
echo "\"><img src=\"catalog/language/";
echo twig_get_attribute($this->env, $this->source, $context["language"], "code", [], "any", false, false, false, 15);
echo "/";
echo twig_get_attribute($this->env, $this->source, $context["language"], "code", [], "any", false, false, false, 15);
echo ".png\" alt=\"";
echo twig_get_attribute($this->env, $this->source, $context["language"], "name", [], "any", false, false, false, 15);
echo "\" title=\"";
echo twig_get_attribute($this->env, $this->source, $context["language"], "name", [], "any", false, false, false, 15);
echo "\" /> ";
echo twig_get_attribute($this->env, $this->source, $context["language"], "name", [], "any", false, false, false, 15);
echo "</button>
</li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['language'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 18
echo " </ul>
</div>
<input type=\"hidden\" name=\"code\" value=\"\" />
<input type=\"hidden\" name=\"redirect\" value=\"";
// line 21
echo ($context["redirect"] ?? null);
echo "\" />
</form>
</div>
";
}
}
public function getTemplateName()
{
return "default/template/common/language.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("", "default/template/common/language.twig", "");
}
}
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* default/template/blog/menu.twig */
class __TwigTemplate_035228b126f7856a7956ece659d42675 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
yield "\t<div class=\"pull-left\">
\t<div class=\"btn-group\">
<button class=\"btn btn-link dropdown-toggle\" data-toggle=\"dropdown\">
\t<i class=\"fa fa-book\"></i> <span class=\"hidden-xs hidden-sm hidden-md\">";
// line 4
yield ($context["text_blog"] ?? null);
yield "</span> <i class=\"fa fa-caret-down\"></i>
\t</button>
\t<ul class=\"dropdown-menu\">
\t";
// line 7
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(($context["categories"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["category"]) {
// line 8
yield " ";
if (CoreExtension::getAttribute($this->env, $this->source, $context["category"], "children", [], "any", false, false, false, 8)) {
// line 9
yield " <li><a href=\"";
yield CoreExtension::getAttribute($this->env, $this->source, $context["category"], "href", [], "any", false, false, false, 9);
yield "\">";
yield CoreExtension::getAttribute($this->env, $this->source, $context["category"], "name", [], "any", false, false, false, 9);
yield "</a></li>
";
// line 10
$context['_parent'] = $context;
$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"))));
foreach ($context['_seq'] as $context["_key"] => $context["children"]) {
yield "
\t\t\t\t";
// line 11
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable($context["children"]);
foreach ($context['_seq'] as $context["_key"] => $context["child"]) {
// line 12
yield " <li><a href=\"";
yield CoreExtension::getAttribute($this->env, $this->source, $context["child"], "href", [], "any", false, false, false, 12);
yield "\"><i class=\"fa fa-angle-right\"></i> ";
yield CoreExtension::getAttribute($this->env, $this->source, $context["child"], "name", [], "any", false, false, false, 12);
yield "</a></li>
\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['child'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 14
yield "\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['children'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 15
yield "\t\t";
} else {
// line 16
yield " <li><a href=\"";
yield CoreExtension::getAttribute($this->env, $this->source, $context["category"], "href", [], "any", false, false, false, 16);
yield "\">";
yield CoreExtension::getAttribute($this->env, $this->source, $context["category"], "name", [], "any", false, false, false, 16);
yield "</a></li>
";
}
// line 18
yield "\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['category'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 19
yield "\t<li><a href=\"";
yield ($context["blog"] ?? null);
yield "\" class=\"see-all\">";
yield ($context["text_all"] ?? null);
yield " ";
yield ($context["text_blog"] ?? null);
yield "</a></li>
\t</ul>
\t</div>
\t</div>";
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "default/template/blog/menu.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("", "default/template/blog/menu.twig", "");
}
}
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* default/template/common/language.twig */
class __TwigTemplate_caff0536ccb09d1b99e9e12dcb40cd76 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), ($context["languages"] ?? null)) > 1)) {
// line 2
yield "<div class=\"pull-left\">
<form action=\"";
// line 3
yield ($context["action"] ?? null);
yield "\" method=\"post\" enctype=\"multipart/form-data\" id=\"form-language\">
<div class=\"btn-group\">
<button class=\"btn btn-link dropdown-toggle\" data-toggle=\"dropdown\">
";
// line 6
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(($context["languages"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["language"]) {
// line 7
yield " ";
if ((CoreExtension::getAttribute($this->env, $this->source, $context["language"], "code", [], "any", false, false, false, 7) == ($context["code"] ?? null))) {
yield "
<img src=\"catalog/language/";
// line 8
yield CoreExtension::getAttribute($this->env, $this->source, $context["language"], "code", [], "any", false, false, false, 8);
yield "/";
yield CoreExtension::getAttribute($this->env, $this->source, $context["language"], "code", [], "any", false, false, false, 8);
yield ".png\" alt=\"";
yield CoreExtension::getAttribute($this->env, $this->source, $context["language"], "name", [], "any", false, false, false, 8);
yield "\" title=\"";
yield CoreExtension::getAttribute($this->env, $this->source, $context["language"], "name", [], "any", false, false, false, 8);
yield "\">
";
}
// line 10
yield " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['language'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 11
yield " <span class=\"hidden-xs hidden-sm hidden-md\">";
yield ($context["text_language"] ?? null);
yield "</span>&nbsp;<i class=\"fa fa-caret-down\"></i></button>
<ul class=\"dropdown-menu\">
";
// line 13
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(($context["languages"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["language"]) {
// line 14
yield " <li>
<button class=\"btn btn-link btn-block language-select\" type=\"button\" name=\"";
// line 15
yield CoreExtension::getAttribute($this->env, $this->source, $context["language"], "code", [], "any", false, false, false, 15);
yield "\"><img src=\"catalog/language/";
yield CoreExtension::getAttribute($this->env, $this->source, $context["language"], "code", [], "any", false, false, false, 15);
yield "/";
yield CoreExtension::getAttribute($this->env, $this->source, $context["language"], "code", [], "any", false, false, false, 15);
yield ".png\" alt=\"";
yield CoreExtension::getAttribute($this->env, $this->source, $context["language"], "name", [], "any", false, false, false, 15);
yield "\" title=\"";
yield CoreExtension::getAttribute($this->env, $this->source, $context["language"], "name", [], "any", false, false, false, 15);
yield "\" /> ";
yield CoreExtension::getAttribute($this->env, $this->source, $context["language"], "name", [], "any", false, false, false, 15);
yield "</button>
</li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['language'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 18
yield " </ul>
</div>
<input type=\"hidden\" name=\"code\" value=\"\" />
<input type=\"hidden\" name=\"redirect\" value=\"";
// line 21
yield ($context["redirect"] ?? null);
yield "\" />
</form>
</div>
";
}
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "default/template/common/language.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("", "default/template/common/language.twig", "");
}
}
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* default/template/common/header.twig */
class __TwigTemplate_56db892b8a133b7ae13f1f5544db751b101f9b9098c9e859d8c2b5dde2bf8fd8 extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
echo "<!DOCTYPE html>
<!--[if IE]><![endif]-->
<!--[if IE 8 ]><html dir=\"";
// line 3
echo ($context["direction"] ?? null);
echo "\" lang=\"";
echo ($context["lang"] ?? null);
echo "\" class=\"ie8\"><![endif]-->
<!--[if IE 9 ]><html dir=\"";
// line 4
echo ($context["direction"] ?? null);
echo "\" lang=\"";
echo ($context["lang"] ?? null);
echo "\" class=\"ie9\"><![endif]-->
<!--[if (gt IE 9)|!(IE)]><!-->
<html dir=\"";
// line 6
echo ($context["direction"] ?? null);
echo "\" lang=\"";
echo ($context["lang"] ?? null);
echo "\">
<!--<![endif]-->
<head>
<meta charset=\"UTF-8\" />
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">
<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
<title>";
// line 12
echo ($context["title"] ?? null);
echo "</title>
";
// line 13
if (($context["robots"] ?? null)) {
// line 14
echo "<meta name=\"robots\" content=\"";
echo ($context["robots"] ?? null);
echo "\" />
";
}
// line 16
echo "<base href=\"";
echo ($context["base"] ?? null);
echo "\" />
";
// line 17
if (($context["description"] ?? null)) {
// line 18
echo "<meta name=\"description\" content=\"";
echo ($context["description"] ?? null);
echo "\" />
";
}
// line 20
if (($context["keywords"] ?? null)) {
// line 21
echo "<meta name=\"keywords\" content=\"";
echo ($context["keywords"] ?? null);
echo "\" />
";
}
// line 23
echo "<meta property=\"og:title\" content=\"";
echo ($context["title"] ?? null);
echo "\" />
<meta property=\"og:type\" content=\"website\" />
<meta property=\"og:url\" content=\"";
// line 25
echo ($context["og_url"] ?? null);
echo "\" />
";
// line 26
if (($context["og_image"] ?? null)) {
// line 27
echo "<meta property=\"og:image\" content=\"";
echo ($context["og_image"] ?? null);
echo "\" />
";
} else {
// line 29
echo "<meta property=\"og:image\" content=\"";
echo ($context["logo"] ?? null);
echo "\" />
";
}
// line 31
echo "<meta property=\"og:site_name\" content=\"";
echo ($context["name"] ?? null);
echo "\" />
<script src=\"catalog/view/javascript/jquery/jquery-2.1.1.min.js\" type=\"text/javascript\"></script>
<link href=\"catalog/view/javascript/bootstrap/css/bootstrap.min.css\" rel=\"stylesheet\" media=\"screen\" />
<script src=\"catalog/view/javascript/bootstrap/js/bootstrap.min.js\" type=\"text/javascript\"></script>
<link href=\"catalog/view/javascript/font-awesome/css/font-awesome.min.css\" rel=\"stylesheet\" type=\"text/css\" />
<link href=\"//fonts.googleapis.com/css?family=Open+Sans:400,400i,300,700\" rel=\"stylesheet\" type=\"text/css\" />
<link href=\"catalog/view/theme/default/stylesheet/stylesheet.css\" rel=\"stylesheet\">
";
// line 38
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["styles"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["style"]) {
// line 39
echo "<link href=\"";
echo twig_get_attribute($this->env, $this->source, $context["style"], "href", [], "any", false, false, false, 39);
echo "\" type=\"text/css\" rel=\"";
echo twig_get_attribute($this->env, $this->source, $context["style"], "rel", [], "any", false, false, false, 39);
echo "\" media=\"";
echo twig_get_attribute($this->env, $this->source, $context["style"], "media", [], "any", false, false, false, 39);
echo "\" />
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['style'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 41
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["scripts"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["script"]) {
// line 42
echo "<script src=\"";
echo $context["script"];
echo "\" type=\"text/javascript\"></script>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['script'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 44
echo "<script src=\"catalog/view/javascript/common.js\" type=\"text/javascript\"></script>
";
// line 45
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["links"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["link"]) {
// line 46
echo "<link href=\"";
echo twig_get_attribute($this->env, $this->source, $context["link"], "href", [], "any", false, false, false, 46);
echo "\" rel=\"";
echo twig_get_attribute($this->env, $this->source, $context["link"], "rel", [], "any", false, false, false, 46);
echo "\" />
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['link'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 48
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["analytics"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["analytic"]) {
// line 49
echo $context["analytic"];
echo "
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['analytic'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 51
echo "</head>
<body>
<nav id=\"top\">
<div class=\"container\">";
// line 54
echo ($context["currency"] ?? null);
echo "
";
// line 55
echo ($context["language"] ?? null);
echo "
\t";
// line 56
echo ($context["blog_menu"] ?? null);
echo "
<div id=\"top-links\" class=\"nav pull-right\">
<ul class=\"list-inline\">
<li><a href=\"";
// line 59
echo ($context["contact"] ?? null);
echo "\"><i class=\"fa fa-phone\"></i></a> <span class=\"hidden-xs hidden-sm hidden-md\">";
echo ($context["telephone"] ?? null);
echo "</span></li>
<li class=\"dropdown\"><a href=\"";
// line 60
echo ($context["account"] ?? null);
echo "\" title=\"";
echo ($context["text_account"] ?? null);
echo "\" class=\"dropdown-toggle\" data-toggle=\"dropdown\"><i class=\"fa fa-user\"></i> <span class=\"hidden-xs hidden-sm hidden-md\">";
echo ($context["text_account"] ?? null);
echo "</span> <span class=\"caret\"></span></a>
<ul class=\"dropdown-menu dropdown-menu-right\">
";
// line 62
if (($context["logged"] ?? null)) {
// line 63
echo " <li><a href=\"";
echo ($context["account"] ?? null);
echo "\">";
echo ($context["text_account"] ?? null);
echo "</a></li>
<li><a href=\"";
// line 64
echo ($context["order"] ?? null);
echo "\">";
echo ($context["text_order"] ?? null);
echo "</a></li>
<li><a href=\"";
// line 65
echo ($context["transaction"] ?? null);
echo "\">";
echo ($context["text_transaction"] ?? null);
echo "</a></li>
<li><a href=\"";
// line 66
echo ($context["download"] ?? null);
echo "\">";
echo ($context["text_download"] ?? null);
echo "</a></li>
<li><a href=\"";
// line 67
echo ($context["logout"] ?? null);
echo "\">";
echo ($context["text_logout"] ?? null);
echo "</a></li>
";
} else {
// line 69
echo " <li><a href=\"";
echo ($context["register"] ?? null);
echo "\">";
echo ($context["text_register"] ?? null);
echo "</a></li>
<li><a href=\"";
// line 70
echo ($context["login"] ?? null);
echo "\">";
echo ($context["text_login"] ?? null);
echo "</a></li>
";
}
// line 72
echo " </ul>
</li>
<li><a href=\"";
// line 74
echo ($context["wishlist"] ?? null);
echo "\" id=\"wishlist-total\" title=\"";
echo ($context["text_wishlist"] ?? null);
echo "\"><i class=\"fa fa-heart\"></i> <span class=\"hidden-xs hidden-sm hidden-md\">";
echo ($context["text_wishlist"] ?? null);
echo "</span></a></li>
<li><a href=\"";
// line 75
echo ($context["shopping_cart"] ?? null);
echo "\" title=\"";
echo ($context["text_shopping_cart"] ?? null);
echo "\"><i class=\"fa fa-shopping-cart\"></i> <span class=\"hidden-xs hidden-sm hidden-md\">";
echo ($context["text_shopping_cart"] ?? null);
echo "</span></a></li>
<li><a href=\"";
// line 76
echo ($context["checkout"] ?? null);
echo "\" title=\"";
echo ($context["text_checkout"] ?? null);
echo "\"><i class=\"fa fa-share\"></i> <span class=\"hidden-xs hidden-sm hidden-md\">";
echo ($context["text_checkout"] ?? null);
echo "</span></a></li>
</ul>
</div>
</div>
</nav>
<header>
<div class=\"container\">
<div class=\"row\">
<div class=\"col-sm-4\">
\t\t<div id=\"logo\">
";
// line 86
if (($context["logo"] ?? null)) {
// line 87
echo " ";
if ((($context["home"] ?? null) == ($context["og_url"] ?? null))) {
// line 88
echo " <img src=\"";
echo ($context["logo"] ?? null);
echo "\" title=\"";
echo ($context["name"] ?? null);
echo "\" alt=\"";
echo ($context["name"] ?? null);
echo "\" class=\"img-responsive\" />
";
} else {
// line 90
echo " <a href=\"";
echo ($context["home"] ?? null);
echo "\"><img src=\"";
echo ($context["logo"] ?? null);
echo "\" title=\"";
echo ($context["name"] ?? null);
echo "\" alt=\"";
echo ($context["name"] ?? null);
echo "\" class=\"img-responsive\" /></a>
";
}
// line 92
echo " ";
} else {
// line 93
echo " <h1><a href=\"";
echo ($context["home"] ?? null);
echo "\">";
echo ($context["name"] ?? null);
echo "</a></h1>
";
}
// line 95
echo "\t\t</div>
</div>
<div class=\"col-sm-5\">";
// line 97
echo ($context["search"] ?? null);
echo "</div>
<div class=\"col-sm-3\">";
// line 98
echo ($context["cart"] ?? null);
echo "</div>
</div>
</div>
</header>
";
// line 102
echo ($context["menu"] ?? null);
echo "
";
}
public function getTemplateName()
{
return "default/template/common/header.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("", "default/template/common/header.twig", "");
}
}
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* catalog/attribute_group_list.twig */
class __TwigTemplate_35848acc7825c34a9e0ad4039214feb5 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
yield ($context["header"] ?? null);
yield ($context["column_left"] ?? null);
yield "
<div id=\"content\">
<div class=\"page-header\">
<div class=\"container-fluid\">
<div class=\"pull-right\"><a href=\"";
// line 5
yield ($context["add"] ?? null);
yield "\" data-toggle=\"tooltip\" title=\"";
yield ($context["button_add"] ?? null);
yield "\" class=\"btn btn-primary\"><i class=\"fa fa-plus\"></i></a>
<button type=\"button\" data-toggle=\"tooltip\" title=\"";
// line 6
yield ($context["button_delete"] ?? null);
yield "\" class=\"btn btn-danger\" onclick=\"confirm('";
yield ($context["text_confirm"] ?? null);
yield "') ? \$('#form-attribute-group').submit() : false;\"><i class=\"fa fa-trash-o\"></i></button>
</div>
<h1>";
// line 8
yield ($context["heading_title"] ?? null);
yield "</h1>
<ul class=\"breadcrumb\">
";
// line 10
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(($context["breadcrumbs"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["breadcrumb"]) {
// line 11
yield " <li><a href=\"";
yield CoreExtension::getAttribute($this->env, $this->source, $context["breadcrumb"], "href", [], "any", false, false, false, 11);
yield "\">";
yield CoreExtension::getAttribute($this->env, $this->source, $context["breadcrumb"], "text", [], "any", false, false, false, 11);
yield "</a></li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['breadcrumb'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 13
yield " </ul>
</div>
</div>
<div class=\"container-fluid\">
";
// line 17
if (($context["error_warning"] ?? null)) {
// line 18
yield " <div class=\"alert alert-danger alert-dismissible\"><i class=\"fa fa-exclamation-circle\"></i> ";
yield ($context["error_warning"] ?? null);
yield "
<button type=\"button\" class=\"close\" data-dismiss=\"alert\">&times;</button>
</div>
";
}
// line 22
yield " ";
if (($context["success"] ?? null)) {
// line 23
yield " <div class=\"alert alert-success alert-dismissible\"><i class=\"fa fa-check-circle\"></i> ";
yield ($context["success"] ?? null);
yield "
<button type=\"button\" class=\"close\" data-dismiss=\"alert\">&times;</button>
</div>
";
}
// line 27
yield " <div class=\"panel panel-default\">
<div class=\"panel-heading\">
<h3 class=\"panel-title\"><i class=\"fa fa-list\"></i> ";
// line 29
yield ($context["text_list"] ?? null);
yield "</h3>
</div>
<div class=\"panel-body\">
<form action=\"";
// line 32
yield ($context["delete"] ?? null);
yield "\" method=\"post\" enctype=\"multipart/form-data\" id=\"form-attribute-group\">
<div class=\"table-responsive\">
<table class=\"table table-bordered table-hover\">
<thead>
<tr>
<td style=\"width: 1px;\" class=\"text-center\"><input type=\"checkbox\" onclick=\"\$('input[name*=\\'selected\\']').prop('checked', this.checked);\" /></td>
<td class=\"text-left\">";
// line 38
if ((($context["sort"] ?? null) == "agd.name")) {
// line 39
yield " <a href=\"";
yield ($context["sort_name"] ?? null);
yield "\" class=\"";
yield Twig\Extension\CoreExtension::lower($this->env->getCharset(), ($context["order"] ?? null));
yield "\">";
yield ($context["column_name"] ?? null);
yield "</a>
";
} else {
// line 41
yield " <a href=\"";
yield ($context["sort_name"] ?? null);
yield "\">";
yield ($context["column_name"] ?? null);
yield "</a>
";
}
// line 42
yield "</td>
<td class=\"text-right\">";
// line 43
if ((($context["sort"] ?? null) == "ag.sort_order")) {
// line 44
yield " <a href=\"";
yield ($context["sort_sort_order"] ?? null);
yield "\" class=\"";
yield Twig\Extension\CoreExtension::lower($this->env->getCharset(), ($context["order"] ?? null));
yield "\">";
yield ($context["column_sort_order"] ?? null);
yield "</a>
";
} else {
// line 46
yield " <a href=\"";
yield ($context["sort_sort_order"] ?? null);
yield "\">";
yield ($context["column_sort_order"] ?? null);
yield "</a>
";
}
// line 47
yield "</td>
<td class=\"text-right\">";
// line 48
yield ($context["column_action"] ?? null);
yield "</td>
</tr>
</thead>
<tbody>
";
// line 52
if (($context["attribute_groups"] ?? null)) {
// line 53
yield " ";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(($context["attribute_groups"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["attribute_group"]) {
// line 54
yield " <tr>
<td class=\"text-center\">";
// line 55
if (CoreExtension::inFilter(CoreExtension::getAttribute($this->env, $this->source, $context["attribute_group"], "attribute_group_id", [], "any", false, false, false, 55), ($context["selected"] ?? null))) {
// line 56
yield " <input type=\"checkbox\" name=\"selected[]\" value=\"";
yield CoreExtension::getAttribute($this->env, $this->source, $context["attribute_group"], "attribute_group_id", [], "any", false, false, false, 56);
yield "\" checked=\"checked\" />
";
} else {
// line 58
yield " <input type=\"checkbox\" name=\"selected[]\" value=\"";
yield CoreExtension::getAttribute($this->env, $this->source, $context["attribute_group"], "attribute_group_id", [], "any", false, false, false, 58);
yield "\" />
";
}
// line 59
yield "</td>
<td class=\"text-left\">";
// line 60
yield CoreExtension::getAttribute($this->env, $this->source, $context["attribute_group"], "name", [], "any", false, false, false, 60);
yield "</td>
<td class=\"text-right\">";
// line 61
yield CoreExtension::getAttribute($this->env, $this->source, $context["attribute_group"], "sort_order", [], "any", false, false, false, 61);
yield "</td>
<td class=\"text-right\"><a href=\"";
// line 62
yield CoreExtension::getAttribute($this->env, $this->source, $context["attribute_group"], "edit", [], "any", false, false, false, 62);
yield "\" data-toggle=\"tooltip\" title=\"";
yield ($context["button_edit"] ?? null);
yield "\" class=\"btn btn-primary\"><i class=\"fa fa-pencil\"></i></a></td>
</tr>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['attribute_group'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 65
yield " ";
} else {
// line 66
yield " <tr>
<td class=\"text-center\" colspan=\"4\">";
// line 67
yield ($context["text_no_results"] ?? null);
yield "</td>
</tr>
";
}
// line 70
yield " </tbody>
</table>
</div>
</form>
<div class=\"row\">
<div class=\"col-sm-6 text-left\">";
// line 75
yield ($context["pagination"] ?? null);
yield "</div>
<div class=\"col-sm-6 text-right\">";
// line 76
yield ($context["results"] ?? null);
yield "</div>
</div>
</div>
</div>
</div>
</div>
";
// line 82
yield ($context["footer"] ?? null);
yield "
";
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "catalog/attribute_group_list.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("", "catalog/attribute_group_list.twig", "");
}
}
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* default/template/common/menu.twig */
class __TwigTemplate_dee2b551e81ab88b08f07c26c62e8cbdd06acc5efe9fe9367a5ce7392b5a178b extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
if (($context["categories"] ?? null)) {
// line 2
echo "<div class=\"container\">
<nav id=\"menu\" class=\"navbar\">
<div class=\"navbar-header\"><span id=\"category\" class=\"visible-xs\">";
// line 4
echo ($context["text_category"] ?? null);
echo "</span>
<button type=\"button\" class=\"btn btn-navbar navbar-toggle\" data-toggle=\"collapse\" data-target=\".navbar-ex1-collapse\"><i class=\"fa fa-bars\"></i></button>
</div>
<div class=\"collapse navbar-collapse navbar-ex1-collapse\">
<ul class=\"nav navbar-nav\">
";
// line 9
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["categories"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["category"]) {
// line 10
echo " ";
if (twig_get_attribute($this->env, $this->source, $context["category"], "children", [], "any", false, false, false, 10)) {
// line 11
echo " <li class=\"dropdown\"><a href=\"";
echo twig_get_attribute($this->env, $this->source, $context["category"], "href", [], "any", false, false, false, 11);
echo "\" class=\"dropdown-toggle\" data-toggle=\"dropdown\">";
echo twig_get_attribute($this->env, $this->source, $context["category"], "name", [], "any", false, false, false, 11);
echo "</a>
<div class=\"dropdown-menu\">
<div class=\"dropdown-inner\"> ";
// line 13
$context['_parent'] = $context;
$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"))));
foreach ($context['_seq'] as $context["_key"] => $context["children"]) {
// line 14
echo " <ul class=\"list-unstyled\">
";
// line 15
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable($context["children"]);
foreach ($context['_seq'] as $context["_key"] => $context["child"]) {
// line 16
echo " <li><a href=\"";
echo twig_get_attribute($this->env, $this->source, $context["child"], "href", [], "any", false, false, false, 16);
echo "\">";
echo twig_get_attribute($this->env, $this->source, $context["child"], "name", [], "any", false, false, false, 16);
echo "</a></li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['child'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 18
echo " </ul>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['children'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 19
echo "</div>
<a href=\"";
// line 20
echo twig_get_attribute($this->env, $this->source, $context["category"], "href", [], "any", false, false, false, 20);
echo "\" class=\"see-all\">";
echo ($context["text_all"] ?? null);
echo " ";
echo twig_get_attribute($this->env, $this->source, $context["category"], "name", [], "any", false, false, false, 20);
echo "</a> </div>
</li>
";
} else {
// line 23
echo " <li><a href=\"";
echo twig_get_attribute($this->env, $this->source, $context["category"], "href", [], "any", false, false, false, 23);
echo "\">";
echo twig_get_attribute($this->env, $this->source, $context["category"], "name", [], "any", false, false, false, 23);
echo "</a></li>
";
}
// line 25
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['category'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 26
echo " </ul>
</div>
</nav>
</div>
";
}
// line 30
echo " ";
}
public function getTemplateName()
{
return "default/template/common/menu.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("", "default/template/common/menu.twig", "");
}
}
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* install/step_1.twig */
class __TwigTemplate_4c297b6c38896feda5794f3cb7f06c3ad2036741a13f604b6b55e191db4ab7ef extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
echo ($context["header"] ?? null);
echo "
<div class=\"container\">
<header>
<div class=\"row\">
<div class=\"col-sm-6\">
<h1 class=\"pull-left\">1<small>/4</small></h1>
<h3>";
// line 7
echo ($context["heading_title"] ?? null);
echo "<br>
<small>";
// line 8
echo ($context["text_step_1"] ?? null);
echo "</small></h3>
</div>
<div class=\"col-sm-6\">
<div id=\"logo\" class=\"pull-right hidden-xs\"><img src=\"view/image/logo.png\" alt=\"ocStore\" title=\"ocStore\" /></div>
</div>
</div>
</header>
<div class=\"row\">
<div class=\"col-sm-9\">
<form action=\"";
// line 17
echo ($context["action"] ?? null);
echo "\" method=\"post\" enctype=\"multipart/form-data\">
<div class=\"terms\">";
// line 18
echo ($context["text_terms"] ?? null);
echo "</div>
<div class=\"buttons\">
<div class=\"pull-right\">
<input type=\"submit\" value=\"";
// line 21
echo ($context["button_continue"] ?? null);
echo "\" class=\"btn btn-primary\" />
</div>
</div>
</form>
</div>
<div class=\"col-sm-3\">";
// line 26
echo ($context["column_left"] ?? null);
echo "</div>
</div>
</div>
";
// line 29
echo ($context["footer"] ?? null);
}
public function getTemplateName()
{
return "install/step_1.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 86 => 29, 80 => 26, 72 => 21, 66 => 18, 62 => 17, 50 => 8, 46 => 7, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "install/step_1.twig", "");
}
}
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* default/template/common/footer.twig */
class __TwigTemplate_78f2983509b129bcbae4e5bc5c67ba84 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
yield "<footer>
<div class=\"container\">
<div class=\"row\">
";
// line 4
if (($context["informations"] ?? null)) {
// line 5
yield " <div class=\"col-sm-3\">
<h5>";
// line 6
yield ($context["text_information"] ?? null);
yield "</h5>
<ul class=\"list-unstyled\">
";
// line 8
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(($context["informations"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["information"]) {
// line 9
yield " <li><a href=\"";
yield CoreExtension::getAttribute($this->env, $this->source, $context["information"], "href", [], "any", false, false, false, 9);
yield "\">";
yield CoreExtension::getAttribute($this->env, $this->source, $context["information"], "title", [], "any", false, false, false, 9);
yield "</a></li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['information'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 11
yield " </ul>
</div>
";
}
// line 14
yield " <div class=\"col-sm-3\">
<h5>";
// line 15
yield ($context["text_service"] ?? null);
yield "</h5>
<ul class=\"list-unstyled\">
<li><a href=\"";
// line 17
yield ($context["contact"] ?? null);
yield "\">";
yield ($context["text_contact"] ?? null);
yield "</a></li>
<li><a href=\"";
// line 18
yield ($context["return"] ?? null);
yield "\">";
yield ($context["text_return"] ?? null);
yield "</a></li>
<li><a href=\"";
// line 19
yield ($context["sitemap"] ?? null);
yield "\">";
yield ($context["text_sitemap"] ?? null);
yield "</a></li>
</ul>
</div>
<div class=\"col-sm-3\">
<h5>";
// line 23
yield ($context["text_extra"] ?? null);
yield "</h5>
<ul class=\"list-unstyled\">
<li><a href=\"";
// line 25
yield ($context["manufacturer"] ?? null);
yield "\">";
yield ($context["text_manufacturer"] ?? null);
yield "</a></li>
<li><a href=\"";
// line 26
yield ($context["voucher"] ?? null);
yield "\">";
yield ($context["text_voucher"] ?? null);
yield "</a></li>
<li><a href=\"";
// line 27
yield ($context["affiliate"] ?? null);
yield "\">";
yield ($context["text_affiliate"] ?? null);
yield "</a></li>
<li><a href=\"";
// line 28
yield ($context["special"] ?? null);
yield "\">";
yield ($context["text_special"] ?? null);
yield "</a></li>
</ul>
</div>
<div class=\"col-sm-3\">
<h5>";
// line 32
yield ($context["text_account"] ?? null);
yield "</h5>
<ul class=\"list-unstyled\">
<li><a href=\"";
// line 34
yield ($context["account"] ?? null);
yield "\">";
yield ($context["text_account"] ?? null);
yield "</a></li>
<li><a href=\"";
// line 35
yield ($context["order"] ?? null);
yield "\">";
yield ($context["text_order"] ?? null);
yield "</a></li>
<li><a href=\"";
// line 36
yield ($context["wishlist"] ?? null);
yield "\">";
yield ($context["text_wishlist"] ?? null);
yield "</a></li>
<li><a href=\"";
// line 37
yield ($context["newsletter"] ?? null);
yield "\">";
yield ($context["text_newsletter"] ?? null);
yield "</a></li>
</ul>
</div>
</div>
<hr>
<p>";
// line 42
yield ($context["powered"] ?? null);
yield "</p>
</div>
</footer>
";
// line 45
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(($context["styles"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["style"]) {
// line 46
yield "<link href=\"";
yield CoreExtension::getAttribute($this->env, $this->source, $context["style"], "href", [], "any", false, false, false, 46);
yield "\" type=\"text/css\" rel=\"";
yield CoreExtension::getAttribute($this->env, $this->source, $context["style"], "rel", [], "any", false, false, false, 46);
yield "\" media=\"";
yield CoreExtension::getAttribute($this->env, $this->source, $context["style"], "media", [], "any", false, false, false, 46);
yield "\" />
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['style'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 48
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(($context["scripts"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["script"]) {
// line 49
yield "<script src=\"";
yield $context["script"];
yield "\" type=\"text/javascript\"></script>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['script'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 51
yield "<!--
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.
Please donate via PayPal to donate@opencart.com
//-->
</body></html>";
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "default/template/common/footer.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("", "default/template/common/footer.twig", "");
}
}
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* default/template/common/home.twig */
class __TwigTemplate_afa29637b6792a8ca030276dcd307b3bd6cc9b21a88cd815a05248463ea71c03 extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
echo ($context["header"] ?? null);
echo "
<div id=\"common-home\" class=\"container\">
<div class=\"row\">";
// line 3
echo ($context["column_left"] ?? null);
echo "
";
// line 4
if ((($context["column_left"] ?? null) && ($context["column_right"] ?? null))) {
// line 5
echo " ";
$context["class"] = "col-sm-6";
// line 6
echo " ";
} elseif ((($context["column_left"] ?? null) || ($context["column_right"] ?? null))) {
// line 7
echo " ";
$context["class"] = "col-sm-9";
// line 8
echo " ";
} else {
// line 9
echo " ";
$context["class"] = "col-sm-12";
// line 10
echo " ";
}
// line 11
echo " <div id=\"content\" class=\"";
echo ($context["class"] ?? null);
echo "\">";
echo ($context["content_top"] ?? null);
echo ($context["content_bottom"] ?? null);
echo "</div>
";
// line 12
echo ($context["column_right"] ?? null);
echo "</div>
</div>
";
// line 14
echo ($context["footer"] ?? null);
}
public function getTemplateName()
{
return "default/template/common/home.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("", "default/template/common/home.twig", "");
}
}
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* default/template/common/footer.twig */
class __TwigTemplate_095914b04076c5765a8029522dfff278289ca928a3a097ff1599ca56143b6229 extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
echo "<footer>
<div class=\"container\">
<div class=\"row\">
";
// line 4
if (($context["informations"] ?? null)) {
// line 5
echo " <div class=\"col-sm-3\">
<h5>";
// line 6
echo ($context["text_information"] ?? null);
echo "</h5>
<ul class=\"list-unstyled\">
";
// line 8
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["informations"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["information"]) {
// line 9
echo " <li><a href=\"";
echo twig_get_attribute($this->env, $this->source, $context["information"], "href", [], "any", false, false, false, 9);
echo "\">";
echo twig_get_attribute($this->env, $this->source, $context["information"], "title", [], "any", false, false, false, 9);
echo "</a></li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['information'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 11
echo " </ul>
</div>
";
}
// line 14
echo " <div class=\"col-sm-3\">
<h5>";
// line 15
echo ($context["text_service"] ?? null);
echo "</h5>
<ul class=\"list-unstyled\">
<li><a href=\"";
// line 17
echo ($context["contact"] ?? null);
echo "\">";
echo ($context["text_contact"] ?? null);
echo "</a></li>
<li><a href=\"";
// line 18
echo ($context["return"] ?? null);
echo "\">";
echo ($context["text_return"] ?? null);
echo "</a></li>
<li><a href=\"";
// line 19
echo ($context["sitemap"] ?? null);
echo "\">";
echo ($context["text_sitemap"] ?? null);
echo "</a></li>
</ul>
</div>
<div class=\"col-sm-3\">
<h5>";
// line 23
echo ($context["text_extra"] ?? null);
echo "</h5>
<ul class=\"list-unstyled\">
<li><a href=\"";
// line 25
echo ($context["manufacturer"] ?? null);
echo "\">";
echo ($context["text_manufacturer"] ?? null);
echo "</a></li>
<li><a href=\"";
// line 26
echo ($context["voucher"] ?? null);
echo "\">";
echo ($context["text_voucher"] ?? null);
echo "</a></li>
<li><a href=\"";
// line 27
echo ($context["affiliate"] ?? null);
echo "\">";
echo ($context["text_affiliate"] ?? null);
echo "</a></li>
<li><a href=\"";
// line 28
echo ($context["special"] ?? null);
echo "\">";
echo ($context["text_special"] ?? null);
echo "</a></li>
</ul>
</div>
<div class=\"col-sm-3\">
<h5>";
// line 32
echo ($context["text_account"] ?? null);
echo "</h5>
<ul class=\"list-unstyled\">
<li><a href=\"";
// line 34
echo ($context["account"] ?? null);
echo "\">";
echo ($context["text_account"] ?? null);
echo "</a></li>
<li><a href=\"";
// line 35
echo ($context["order"] ?? null);
echo "\">";
echo ($context["text_order"] ?? null);
echo "</a></li>
<li><a href=\"";
// line 36
echo ($context["wishlist"] ?? null);
echo "\">";
echo ($context["text_wishlist"] ?? null);
echo "</a></li>
<li><a href=\"";
// line 37
echo ($context["newsletter"] ?? null);
echo "\">";
echo ($context["text_newsletter"] ?? null);
echo "</a></li>
</ul>
</div>
</div>
<hr>
<p>";
// line 42
echo ($context["powered"] ?? null);
echo "</p>
</div>
</footer>
";
// line 45
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["styles"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["style"]) {
// line 46
echo "<link href=\"";
echo twig_get_attribute($this->env, $this->source, $context["style"], "href", [], "any", false, false, false, 46);
echo "\" type=\"text/css\" rel=\"";
echo twig_get_attribute($this->env, $this->source, $context["style"], "rel", [], "any", false, false, false, 46);
echo "\" media=\"";
echo twig_get_attribute($this->env, $this->source, $context["style"], "media", [], "any", false, false, false, 46);
echo "\" />
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['style'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 48
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["scripts"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["script"]) {
// line 49
echo "<script src=\"";
echo $context["script"];
echo "\" type=\"text/javascript\"></script>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['script'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 51
echo "<!--
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.
Please donate via PayPal to donate@opencart.com
//-->
</body></html>";
}
public function getTemplateName()
{
return "default/template/common/footer.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("", "default/template/common/footer.twig", "");
}
}
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* common/column_left.twig */
class __TwigTemplate_0f26b9c9327b25ba06f2e1da065dd767f46a8bab863a584b1d0176305e9d624c extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
echo "<ul class=\"list-group\">
";
// line 2
if ((twig_slice($this->env, ($context["route"] ?? null), 0, 8) != "upgrade/")) {
// line 3
echo " ";
if ((($context["route"] ?? null) == "install/step_1")) {
// line 4
echo " <li class=\"list-group-item\"><b>";
echo ($context["text_license"] ?? null);
echo "</b></li>
";
} else {
// line 6
echo " <li class=\"list-group-item\">";
echo ($context["text_license"] ?? null);
echo "</li>
";
}
// line 8
echo " ";
if ((($context["route"] ?? null) == "install/step_2")) {
// line 9
echo " <li class=\"list-group-item\"><b>";
echo ($context["text_installation"] ?? null);
echo "</b></li>
";
} else {
// line 11
echo " <li class=\"list-group-item\">";
echo ($context["text_installation"] ?? null);
echo "</li>
";
}
// line 13
echo " ";
if ((($context["route"] ?? null) == "install/step_3")) {
// line 14
echo " <li class=\"list-group-item\"><b>";
echo ($context["text_configuration"] ?? null);
echo "</b></li>
";
} else {
// line 16
echo " <li class=\"list-group-item\">";
echo ($context["text_configuration"] ?? null);
echo "</li>
";
}
// line 18
echo " ";
} else {
// line 19
echo " ";
if ((($context["route"] ?? null) == "upgrade/upgrade")) {
// line 20
echo " <li class=\"list-group-item\"><b>";
echo ($context["text_upgrade"] ?? null);
echo "</b></li>
";
} else {
// line 22
echo " <li class=\"list-group-item\">";
echo ($context["text_upgrade"] ?? null);
echo "</li>
";
}
// line 24
echo " ";
if ((($context["route"] ?? null) == "upgrade/upgrade/success")) {
// line 25
echo " <li class=\"list-group-item\"><b>";
echo ($context["text_finished"] ?? null);
echo "</b></li>
";
} else {
// line 27
echo " <li class=\"list-group-item\">";
echo ($context["text_finished"] ?? null);
echo "</li>
";
}
// line 29
echo " ";
}
// line 30
echo "</ul>
<form action=\"";
// line 31
echo ($context["action"] ?? null);
echo "\" method=\"post\" enctype=\"multipart/form-data\" id=\"language\">
<ul class=\"list-group\">
<li class=\"list-group-item\">
<div class=\"dropdown\">
<button class=\"btn btn-default dropdown-toggle\" type=\"button\" data-toggle=\"dropdown\">";
// line 35
echo ($context["text_language"] ?? null);
echo " <span class=\"caret\"></span></button>
<ul class=\"dropdown-menu\">
";
// line 37
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["languages"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["language"]) {
// line 38
echo " <li><a href=\"";
echo $context["language"];
echo "\"><img src=\"language/";
echo $context["language"];
echo "/";
echo $context["language"];
echo ".png\" /></a></li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['language'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 40
echo " </ul>
</div>
</li>
</ul>
<input type=\"hidden\" name=\"code\" value=\"\" />
<input type=\"hidden\" name=\"redirect\" value=\"";
// line 45
echo ($context["redirect"] ?? null);
echo "\" />
</form>
<script type=\"text/javascript\"><!--
// Language
\$('#language a').on('click', function(e) {
\te.preventDefault();
\t\$('#language input[name=\\'code\\']').val(\$(this).attr('href'));
\t\$('#language').submit();
});
--></script>
";
}
public function getTemplateName()
{
return "common/column_left.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("", "common/column_left.twig", "");
}
}
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* extension/dashboard/customer_info.twig */
class __TwigTemplate_659781e46f5c784590b47fed2ed45b74 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
yield "<div class=\"tile tile-primary\">
<div class=\"tile-heading\">";
// line 2
yield ($context["heading_title"] ?? null);
yield " <span class=\"pull-right\">
";
// line 3
if ((($context["percentage"] ?? null) > 0)) {
// line 4
yield " <i class=\"fa fa-caret-up\"></i>
";
} elseif (( // line 5
($context["percentage"] ?? null) < 0)) {
// line 6
yield " <i class=\"fa fa-caret-down\"></i>
";
}
// line 8
yield " ";
yield ($context["percentage"] ?? null);
yield "%</span></div>
<div class=\"tile-body\"><i class=\"fa fa-user\"></i>
<h2 class=\"pull-right\">";
// line 10
yield ($context["total"] ?? null);
yield "</h2>
</div>
<div class=\"tile-footer\"><a href=\"";
// line 12
yield ($context["customer"] ?? null);
yield "\">";
yield ($context["text_view"] ?? null);
yield "</a></div>
</div>
";
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "extension/dashboard/customer_info.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 67 => 12, 62 => 10, 56 => 8, 52 => 6, 50 => 5, 47 => 4, 45 => 3, 41 => 2, 38 => 1,);
}
public function getSourceContext()
{
return new Source("", "extension/dashboard/customer_info.twig", "");
}
}
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* default/template/extension/module/banner.twig */
class __TwigTemplate_9216e8c0a91492b2711969861742c88676fbf2c7049554ca627d2ff700fbe872 extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
echo "<div class=\"swiper-viewport\">
<div id=\"banner";
// line 2
echo ($context["module"] ?? null);
echo "\" class=\"swiper-container\">
<div class=\"swiper-wrapper\">";
// line 3
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["banners"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["banner"]) {
// line 4
echo " <div class=\"swiper-slide\">";
if (twig_get_attribute($this->env, $this->source, $context["banner"], "link", [], "any", false, false, false, 4)) {
echo "<a href=\"";
echo twig_get_attribute($this->env, $this->source, $context["banner"], "link", [], "any", false, false, false, 4);
echo "\"><img src=\"";
echo twig_get_attribute($this->env, $this->source, $context["banner"], "image", [], "any", false, false, false, 4);
echo "\" alt=\"";
echo twig_get_attribute($this->env, $this->source, $context["banner"], "title", [], "any", false, false, false, 4);
echo "\" class=\"img-responsive\" /></a>";
} else {
echo "<img src=\"";
echo twig_get_attribute($this->env, $this->source, $context["banner"], "image", [], "any", false, false, false, 4);
echo "\" alt=\"";
echo twig_get_attribute($this->env, $this->source, $context["banner"], "title", [], "any", false, false, false, 4);
echo "\" class=\"img-responsive\" />";
}
echo "</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['banner'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 5
echo "</div>
</div>
</div>
<script type=\"text/javascript\"><!--
\$('#banner";
// line 9
echo ($context["module"] ?? null);
echo "').swiper({
\teffect: 'fade',
\tautoplay: 2500,
autoplayDisableOnInteraction: false
});
--></script> ";
}
public function getTemplateName()
{
return "default/template/extension/module/banner.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 77 => 9, 71 => 5, 48 => 4, 44 => 3, 40 => 2, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "default/template/extension/module/banner.twig", "");
}
}
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* extension/dashboard/order_info.twig */
class __TwigTemplate_fc712c5b5b70dfee284d07321debaaa9 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
yield "<div class=\"tile tile-primary\">
<div class=\"tile-heading\">";
// line 2
yield ($context["heading_title"] ?? null);
yield " <span class=\"pull-right\">
";
// line 3
if ((($context["percentage"] ?? null) > 0)) {
yield "
<i class=\"fa fa-caret-up\"></i>
";
} elseif (( // line 5
($context["percentage"] ?? null) < 0)) {
// line 6
yield " <i class=\"fa fa-caret-down\"></i>
";
}
// line 8
yield " ";
yield ($context["percentage"] ?? null);
yield "%</span></div>
<div class=\"tile-body\"><i class=\"fa fa-shopping-cart\"></i>
<h2 class=\"pull-right\">";
// line 10
yield ($context["total"] ?? null);
yield "</h2>
</div>
<div class=\"tile-footer\"><a href=\"";
// line 12
yield ($context["order"] ?? null);
yield "\">";
yield ($context["text_view"] ?? null);
yield "</a></div>
</div>
";
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "extension/dashboard/order_info.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 67 => 12, 62 => 10, 56 => 8, 52 => 6, 50 => 5, 45 => 3, 41 => 2, 38 => 1,);
}
public function getSourceContext()
{
return new Source("", "extension/dashboard/order_info.twig", "");
}
}
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* default/template/product/category.twig */
class __TwigTemplate_ecede05931945df38d4a5502c7356047b96dd0efa138f07ca7d56ceb21c8cd7c extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
echo ($context["header"] ?? null);
echo "
<div id=\"product-category\" class=\"container\">
<ul class=\"breadcrumb\">
";
// line 4
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["breadcrumbs"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["breadcrumb"]) {
// line 5
echo " <li><a href=\"";
echo twig_get_attribute($this->env, $this->source, $context["breadcrumb"], "href", [], "any", false, false, false, 5);
echo "\">";
echo twig_get_attribute($this->env, $this->source, $context["breadcrumb"], "text", [], "any", false, false, false, 5);
echo "</a></li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['breadcrumb'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 7
echo " </ul>
<div class=\"row\">";
// line 8
echo ($context["column_left"] ?? null);
echo "
";
// line 9
if ((($context["column_left"] ?? null) && ($context["column_right"] ?? null))) {
// line 10
echo " ";
$context["class"] = "col-sm-6";
// line 11
echo " ";
} elseif ((($context["column_left"] ?? null) || ($context["column_right"] ?? null))) {
// line 12
echo " ";
$context["class"] = "col-sm-9";
// line 13
echo " ";
} else {
// line 14
echo " ";
$context["class"] = "col-sm-12";
// line 15
echo " ";
}
// line 16
echo " <div id=\"content\" class=\"";
echo ($context["class"] ?? null);
echo "\">";
echo ($context["content_top"] ?? null);
echo "
<h1>";
// line 17
echo ($context["heading_title"] ?? null);
echo "</h1>
";
// line 18
if ((($context["thumb"] ?? null) || ($context["description"] ?? null))) {
// line 19
echo " <div class=\"row\"> ";
if (($context["thumb"] ?? null)) {
// line 20
echo " <div class=\"col-sm-2\"><img src=\"";
echo ($context["thumb"] ?? null);
echo "\" alt=\"";
echo ($context["heading_title"] ?? null);
echo "\" title=\"";
echo ($context["heading_title"] ?? null);
echo "\" class=\"img-thumbnail\" /></div>
";
}
// line 22
echo " ";
if (($context["description"] ?? null)) {
// line 23
echo " <div class=\"col-sm-10\">";
echo ($context["description"] ?? null);
echo "</div>
";
}
// line 24
echo "</div>
<hr>
";
}
// line 27
echo " ";
if (($context["categories"] ?? null)) {
// line 28
echo " <h3>";
echo ($context["text_refine"] ?? null);
echo "</h3>
";
// line 29
if ((twig_length_filter($this->env, ($context["categories"] ?? null)) <= 5)) {
// line 30
echo " <div class=\"row\">
<div class=\"col-sm-3\">
<ul>
";
// line 33
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["categories"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["category"]) {
// line 34
echo " <li><a href=\"";
echo twig_get_attribute($this->env, $this->source, $context["category"], "href", [], "any", false, false, false, 34);
echo "\">";
echo twig_get_attribute($this->env, $this->source, $context["category"], "name", [], "any", false, false, false, 34);
echo "</a></li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['category'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 36
echo " </ul>
</div>
</div>
";
} else {
// line 40
echo " <div class=\"row\">";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_array_batch(($context["categories"] ?? null), twig_round((twig_length_filter($this->env, ($context["categories"] ?? null)) / 4), 1, "ceil")));
foreach ($context['_seq'] as $context["_key"] => $context["category"]) {
// line 41
echo " <div class=\"col-sm-3\">
<ul>
";
// line 43
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable($context["category"]);
foreach ($context['_seq'] as $context["_key"] => $context["child"]) {
// line 44
echo " <li><a href=\"";
echo twig_get_attribute($this->env, $this->source, $context["child"], "href", [], "any", false, false, false, 44);
echo "\">";
echo twig_get_attribute($this->env, $this->source, $context["child"], "name", [], "any", false, false, false, 44);
echo "</a></li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['child'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 46
echo " </ul>
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['category'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 48
echo "</div>
<br />
";
}
// line 51
echo " ";
}
// line 52
echo " ";
if (($context["products"] ?? null)) {
// line 53
echo " <div class=\"row\">
<div class=\"col-md-2 col-sm-6 hidden-xs\">
<div class=\"btn-group btn-group-sm\">
<button type=\"button\" id=\"list-view\" class=\"btn btn-default\" data-toggle=\"tooltip\" title=\"";
// line 56
echo ($context["button_list"] ?? null);
echo "\"><i class=\"fa fa-th-list\"></i></button>
<button type=\"button\" id=\"grid-view\" class=\"btn btn-default\" data-toggle=\"tooltip\" title=\"";
// line 57
echo ($context["button_grid"] ?? null);
echo "\"><i class=\"fa fa-th\"></i></button>
</div>
</div>
<div class=\"col-md-3 col-sm-6\">
<div class=\"form-group\"><a href=\"";
// line 61
echo ($context["compare"] ?? null);
echo "\" id=\"compare-total\" class=\"btn btn-link\">";
echo ($context["text_compare"] ?? null);
echo "</a></div>
</div>
<div class=\"col-md-4 col-xs-6\">
<div class=\"form-group input-group input-group-sm\">
<label class=\"input-group-addon\" for=\"input-sort\">";
// line 65
echo ($context["text_sort"] ?? null);
echo "</label>
<select id=\"input-sort\" class=\"form-control\" onchange=\"location = this.value;\">
";
// line 70
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable($context["sorts"]);
foreach ($context['_seq'] as $context["_key"] => $context["sorts"]) {
// line 71
echo " ";
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)))) {
// line 72
echo "
<option value=\"";
// line 75
echo twig_get_attribute($this->env, $this->source, $context["sorts"], "href", [], "any", false, false, false, 75);
echo "\" selected=\"selected\">";
echo twig_get_attribute($this->env, $this->source, $context["sorts"], "text", [], "any", false, false, false, 75);
echo "</option>
";
} else {
// line 80
echo "
<option value=\"";
// line 83
echo twig_get_attribute($this->env, $this->source, $context["sorts"], "href", [], "any", false, false, false, 83);
echo "\">";
echo twig_get_attribute($this->env, $this->source, $context["sorts"], "text", [], "any", false, false, false, 83);
echo "</option>
";
}
// line 88
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['sorts'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 89
echo "
</select>
</div>
</div>
<div class=\"col-md-3 col-xs-6\">
<div class=\"form-group input-group input-group-sm\">
<label class=\"input-group-addon\" for=\"input-limit\">";
// line 97
echo ($context["text_limit"] ?? null);
echo "</label>
<select id=\"input-limit\" class=\"form-control\" onchange=\"location = this.value;\">
";
// line 102
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable($context["limits"]);
foreach ($context['_seq'] as $context["_key"] => $context["limits"]) {
// line 103
echo " ";
if ((twig_get_attribute($this->env, $this->source, $context["limits"], "value", [], "any", false, false, false, 103) == ($context["limit"] ?? null))) {
// line 104
echo "
<option value=\"";
// line 107
echo twig_get_attribute($this->env, $this->source, $context["limits"], "href", [], "any", false, false, false, 107);
echo "\" selected=\"selected\">";
echo twig_get_attribute($this->env, $this->source, $context["limits"], "text", [], "any", false, false, false, 107);
echo "</option>
";
} else {
// line 112
echo "
<option value=\"";
// line 115
echo twig_get_attribute($this->env, $this->source, $context["limits"], "href", [], "any", false, false, false, 115);
echo "\">";
echo twig_get_attribute($this->env, $this->source, $context["limits"], "text", [], "any", false, false, false, 115);
echo "</option>
";
}
// line 120
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['limits'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 121
echo "
</select>
</div>
</div>
</div>
<div class=\"row\"> ";
// line 128
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["products"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["product"]) {
// line 129
echo " <div class=\"product-layout product-list col-xs-12\">
<div class=\"product-thumb\">
<div class=\"image\"><a href=\"";
// line 131
echo twig_get_attribute($this->env, $this->source, $context["product"], "href", [], "any", false, false, false, 131);
echo "\"><img src=\"";
echo twig_get_attribute($this->env, $this->source, $context["product"], "thumb", [], "any", false, false, false, 131);
echo "\" alt=\"";
echo twig_get_attribute($this->env, $this->source, $context["product"], "name", [], "any", false, false, false, 131);
echo "\" title=\"";
echo twig_get_attribute($this->env, $this->source, $context["product"], "name", [], "any", false, false, false, 131);
echo "\" class=\"img-responsive\" /></a></div>
<div>
<div class=\"caption\">
<h4><a href=\"";
// line 134
echo twig_get_attribute($this->env, $this->source, $context["product"], "href", [], "any", false, false, false, 134);
echo "\">";
echo twig_get_attribute($this->env, $this->source, $context["product"], "name", [], "any", false, false, false, 134);
echo "</a></h4>
<p>";
// line 135
echo twig_get_attribute($this->env, $this->source, $context["product"], "description", [], "any", false, false, false, 135);
echo "</p>
";
// line 136
if (twig_get_attribute($this->env, $this->source, $context["product"], "price", [], "any", false, false, false, 136)) {
// line 137
echo " <p class=\"price\"> ";
if ( !twig_get_attribute($this->env, $this->source, $context["product"], "special", [], "any", false, false, false, 137)) {
// line 138
echo " ";
echo twig_get_attribute($this->env, $this->source, $context["product"], "price", [], "any", false, false, false, 138);
echo "
";
} else {
// line 139
echo " <span class=\"price-new\">";
echo twig_get_attribute($this->env, $this->source, $context["product"], "special", [], "any", false, false, false, 139);
echo "</span> <span class=\"price-old\">";
echo twig_get_attribute($this->env, $this->source, $context["product"], "price", [], "any", false, false, false, 139);
echo "</span> ";
}
// line 140
echo " ";
if (twig_get_attribute($this->env, $this->source, $context["product"], "tax", [], "any", false, false, false, 140)) {
echo " <span class=\"price-tax\">";
echo ($context["text_tax"] ?? null);
echo " ";
echo twig_get_attribute($this->env, $this->source, $context["product"], "tax", [], "any", false, false, false, 140);
echo "</span> ";
}
echo " </p>
";
}
// line 142
echo " ";
if (twig_get_attribute($this->env, $this->source, $context["product"], "rating", [], "any", false, false, false, 142)) {
// line 143
echo " <div class=\"rating\"> ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(range(1, 5));
foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
// line 144
echo " ";
if ((twig_get_attribute($this->env, $this->source, $context["product"], "rating", [], "any", false, false, false, 144) < $context["i"])) {
echo " <span class=\"fa fa-stack\"><i class=\"fa fa-star-o fa-stack-2x\"></i></span> ";
} else {
echo " <span class=\"fa fa-stack\"><i class=\"fa fa-star fa-stack-2x\"></i><i class=\"fa fa-star-o fa-stack-2x\"></i></span>";
}
// line 145
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
echo " </div>
";
}
// line 146
echo " </div>
<div class=\"button-group\">
<button type=\"button\" onclick=\"cart.add('";
// line 148
echo twig_get_attribute($this->env, $this->source, $context["product"], "product_id", [], "any", false, false, false, 148);
echo "', '";
echo twig_get_attribute($this->env, $this->source, $context["product"], "minimum", [], "any", false, false, false, 148);
echo "');\"><i class=\"fa fa-shopping-cart\"></i> <span class=\"hidden-xs hidden-sm hidden-md\">";
echo ($context["button_cart"] ?? null);
echo "</span></button>
<button type=\"button\" data-toggle=\"tooltip\" title=\"";
// line 149
echo ($context["button_wishlist"] ?? null);
echo "\" onclick=\"wishlist.add('";
echo twig_get_attribute($this->env, $this->source, $context["product"], "product_id", [], "any", false, false, false, 149);
echo "');\"><i class=\"fa fa-heart\"></i></button>
<button type=\"button\" data-toggle=\"tooltip\" title=\"";
// line 150
echo ($context["button_compare"] ?? null);
echo "\" onclick=\"compare.add('";
echo twig_get_attribute($this->env, $this->source, $context["product"], "product_id", [], "any", false, false, false, 150);
echo "');\"><i class=\"fa fa-exchange\"></i></button>
</div>
</div>
</div>
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['product'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 155
echo " </div>
<div class=\"row\">
<div class=\"col-sm-6 text-left\">";
// line 157
echo ($context["pagination"] ?? null);
echo "</div>
<div class=\"col-sm-6 text-right\">";
// line 158
echo ($context["results"] ?? null);
echo "</div>
</div>
";
}
// line 161
echo " ";
if (( !($context["categories"] ?? null) && !($context["products"] ?? null))) {
// line 162
echo " <p>";
echo ($context["text_empty"] ?? null);
echo "</p>
<div class=\"buttons\">
<div class=\"pull-right\"><a href=\"";
// line 164
echo ($context["continue"] ?? null);
echo "\" class=\"btn btn-primary\">";
echo ($context["button_continue"] ?? null);
echo "</a></div>
</div>
";
}
// line 167
echo " ";
echo ($context["content_bottom"] ?? null);
echo "</div>
";
// line 168
echo ($context["column_right"] ?? null);
echo "</div>
</div>
";
// line 170
echo ($context["footer"] ?? null);
echo "
";
}
public function getTemplateName()
{
return "default/template/product/category.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("", "default/template/product/category.twig", "");
}
}
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* catalog/filter_list.twig */
class __TwigTemplate_d95c088d7733e57012df3773cd391ac6 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
yield ($context["header"] ?? null);
yield ($context["column_left"] ?? null);
yield "
<div id=\"content\">
<div class=\"page-header\">
<div class=\"container-fluid\">
<div class=\"pull-right\"><a href=\"";
// line 5
yield ($context["add"] ?? null);
yield "\" data-toggle=\"tooltip\" title=\"";
yield ($context["button_add"] ?? null);
yield "\" class=\"btn btn-primary\"><i class=\"fa fa-plus\"></i></a>
<button type=\"button\" data-toggle=\"tooltip\" title=\"";
// line 6
yield ($context["button_delete"] ?? null);
yield "\" class=\"btn btn-danger\" onclick=\"confirm('";
yield ($context["text_confirm"] ?? null);
yield "') ? \$('#form-filter').submit() : false;\"><i class=\"fa fa-trash-o\"></i></button>
</div>
<h1>";
// line 8
yield ($context["heading_title"] ?? null);
yield "</h1>
<ul class=\"breadcrumb\">
";
// line 10
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(($context["breadcrumbs"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["breadcrumb"]) {
// line 11
yield " <li><a href=\"";
yield CoreExtension::getAttribute($this->env, $this->source, $context["breadcrumb"], "href", [], "any", false, false, false, 11);
yield "\">";
yield CoreExtension::getAttribute($this->env, $this->source, $context["breadcrumb"], "text", [], "any", false, false, false, 11);
yield "</a></li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['breadcrumb'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 13
yield " </ul>
</div>
</div>
<div class=\"container-fluid\">
";
// line 17
if (($context["error_warning"] ?? null)) {
// line 18
yield " <div class=\"alert alert-danger alert-dismissible\"><i class=\"fa fa-exclamation-circle\"></i> ";
yield ($context["error_warning"] ?? null);
yield "
<button type=\"button\" class=\"close\" data-dismiss=\"alert\">&times;</button>
</div>
";
}
// line 22
yield " ";
if (($context["success"] ?? null)) {
// line 23
yield " <div class=\"alert alert-success alert-dismissible\"><i class=\"fa fa-check-circle\"></i> ";
yield ($context["success"] ?? null);
yield "
<button type=\"button\" class=\"close\" data-dismiss=\"alert\">&times;</button>
</div>
";
}
// line 27
yield " <div class=\"panel panel-default\">
<div class=\"panel-heading\">
<h3 class=\"panel-title\"><i class=\"fa fa-list\"></i> ";
// line 29
yield ($context["text_list"] ?? null);
yield "</h3>
</div>
<div class=\"panel-body\">
<form action=\"";
// line 32
yield ($context["delete"] ?? null);
yield "\" method=\"post\" enctype=\"multipart/form-data\" id=\"form-filter\">
<div class=\"table-responsive\">
<table class=\"table table-bordered table-hover\">
<thead>
<tr>
<td style=\"width: 1px;\" class=\"text-center\"><input type=\"checkbox\" onclick=\"\$('input[name*=\\'selected\\']').prop('checked', this.checked);\" /></td>
<td class=\"text-left\">";
// line 38
if ((($context["sort"] ?? null) == "fgd.name")) {
// line 39
yield " <a href=\"";
yield ($context["sort_name"] ?? null);
yield "\" class=\"";
yield Twig\Extension\CoreExtension::lower($this->env->getCharset(), ($context["order"] ?? null));
yield "\">";
yield ($context["column_group"] ?? null);
yield "</a>
";
} else {
// line 41
yield " <a href=\"";
yield ($context["sort_name"] ?? null);
yield "\">";
yield ($context["column_group"] ?? null);
yield "</a>
";
}
// line 42
yield "</td>
<td class=\"text-right\">";
// line 43
if ((($context["sort"] ?? null) == "fg.sort_order")) {
// line 44
yield " <a href=\"";
yield ($context["sort_sort_order"] ?? null);
yield "\" class=\"";
yield Twig\Extension\CoreExtension::lower($this->env->getCharset(), ($context["order"] ?? null));
yield "\">";
yield ($context["column_sort_order"] ?? null);
yield "</a>
";
} else {
// line 46
yield " <a href=\"";
yield ($context["sort_sort_order"] ?? null);
yield "\">";
yield ($context["column_sort_order"] ?? null);
yield "</a>
";
}
// line 47
yield "</td>
<td class=\"text-right\">";
// line 48
yield ($context["column_action"] ?? null);
yield "</td>
</tr>
</thead>
<tbody>
";
// line 52
if (($context["filters"] ?? null)) {
// line 53
yield " ";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(($context["filters"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["filter"]) {
// line 54
yield " <tr>
<td class=\"text-center\">";
// line 55
if (CoreExtension::inFilter(CoreExtension::getAttribute($this->env, $this->source, $context["filter"], "filter_group_id", [], "any", false, false, false, 55), ($context["selected"] ?? null))) {
// line 56
yield " <input type=\"checkbox\" name=\"selected[]\" value=\"";
yield CoreExtension::getAttribute($this->env, $this->source, $context["filter"], "filter_group_id", [], "any", false, false, false, 56);
yield "\" checked=\"checked\" />
";
} else {
// line 58
yield " <input type=\"checkbox\" name=\"selected[]\" value=\"";
yield CoreExtension::getAttribute($this->env, $this->source, $context["filter"], "filter_group_id", [], "any", false, false, false, 58);
yield "\" />
";
}
// line 59
yield "</td>
<td class=\"text-left\">";
// line 60
yield CoreExtension::getAttribute($this->env, $this->source, $context["filter"], "name", [], "any", false, false, false, 60);
yield "</td>
<td class=\"text-right\">";
// line 61
yield CoreExtension::getAttribute($this->env, $this->source, $context["filter"], "sort_order", [], "any", false, false, false, 61);
yield "</td>
<td class=\"text-right\"><a href=\"";
// line 62
yield CoreExtension::getAttribute($this->env, $this->source, $context["filter"], "edit", [], "any", false, false, false, 62);
yield "\" data-toggle=\"tooltip\" title=\"";
yield ($context["button_edit"] ?? null);
yield "\" class=\"btn btn-primary\"><i class=\"fa fa-pencil\"></i></a></td>
</tr>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['filter'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 65
yield " ";
} else {
// line 66
yield " <tr>
<td class=\"text-center\" colspan=\"4\">";
// line 67
yield ($context["text_no_results"] ?? null);
yield "</td>
</tr>
";
}
// line 70
yield " </tbody>
</table>
</div>
</form>
<div class=\"row\">
<div class=\"col-sm-6 text-left\">";
// line 75
yield ($context["pagination"] ?? null);
yield "</div>
<div class=\"col-sm-6 text-right\">";
// line 76
yield ($context["results"] ?? null);
yield "</div>
</div>
</div>
</div>
</div>
</div>
";
// line 82
yield ($context["footer"] ?? null);
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "catalog/filter_list.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("", "catalog/filter_list.twig", "");
}
}
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* default/template/product/review.twig */
class __TwigTemplate_589bddb68b64212c3aca6e8ecabb81b5 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
if (($context["reviews"] ?? null)) {
// line 2
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(($context["reviews"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["review"]) {
// line 3
yield "<table class=\"table table-striped table-bordered\">
<tr>
<td style=\"width: 50%;\"><strong>";
// line 5
yield CoreExtension::getAttribute($this->env, $this->source, $context["review"], "author", [], "any", false, false, false, 5);
yield "</strong></td>
<td class=\"text-right\">";
// line 6
yield CoreExtension::getAttribute($this->env, $this->source, $context["review"], "date_added", [], "any", false, false, false, 6);
yield "</td>
</tr>
<tr>
<td colspan=\"2\"><p>";
// line 9
yield CoreExtension::getAttribute($this->env, $this->source, $context["review"], "text", [], "any", false, false, false, 9);
yield "</p>
";
// line 10
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(range(1, 5));
foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
// line 11
yield " ";
if ((CoreExtension::getAttribute($this->env, $this->source, $context["review"], "rating", [], "any", false, false, false, 11) < $context["i"])) {
yield " <span class=\"fa fa-stack\"><i class=\"fa fa-star-o fa-stack-2x\"></i></span> ";
} else {
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> ";
}
// line 12
yield " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
yield "</td>
</tr>
</table>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['review'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 16
yield "<div class=\"row\">
<div class=\"col-sm-6 text-left\">";
// line 17
yield ($context["pagination"] ?? null);
yield "</div>
<div class=\"col-sm-6 text-right\">";
// line 18
yield ($context["results"] ?? null);
yield "</div>
</div>
";
} else {
// line 21
yield "<p>";
yield ($context["text_no_reviews"] ?? null);
yield "</p>
";
}
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "default/template/product/review.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("", "default/template/product/review.twig", "");
}
}
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* extension/dashboard/activity_info.twig */
class __TwigTemplate_fdea16af57e6671a4e31a6367df42457 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
yield "<div class=\"panel panel-default\">
<div class=\"panel-heading\">
<h3 class=\"panel-title\"><i class=\"fa fa-calendar\"></i> ";
// line 3
yield ($context["heading_title"] ?? null);
yield "</h3>
</div>
<ul class=\"list-group\">
";
// line 6
if (($context["activities"] ?? null)) {
// line 7
yield " ";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(($context["activities"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["activity"]) {
// line 8
yield " <li class=\"list-group-item\">";
yield CoreExtension::getAttribute($this->env, $this->source, $context["activity"], "comment", [], "any", false, false, false, 8);
yield "<br />
<small class=\"text-muted\"><i class=\"fa fa-clock-o\"></i> ";
// line 9
yield CoreExtension::getAttribute($this->env, $this->source, $context["activity"], "date_added", [], "any", false, false, false, 9);
yield "</small></li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['activity'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 11
yield " ";
} else {
// line 12
yield " <li class=\"list-group-item text-center\">";
yield ($context["text_no_results"] ?? null);
yield "</li>
";
}
// line 14
yield " </ul>
</div>";
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "extension/dashboard/activity_info.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 77 => 14, 71 => 12, 68 => 11, 60 => 9, 55 => 8, 50 => 7, 48 => 6, 42 => 3, 38 => 1,);
}
public function getSourceContext()
{
return new Source("", "extension/dashboard/activity_info.twig", "");
}
}
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* default/template/common/cart.twig */
class __TwigTemplate_9654ec28c61d728d9159c8acb019a6ffe643f74c157d75b6a1f46dd6b40818af extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
echo "<div id=\"cart\" class=\"btn-group btn-block\">
<button type=\"button\" data-toggle=\"dropdown\" data-loading-text=\"";
// line 2
echo ($context["text_loading"] ?? null);
echo "\" class=\"btn btn-inverse btn-block btn-lg dropdown-toggle\"><i class=\"fa fa-shopping-cart\"></i> <span id=\"cart-total\">";
echo ($context["text_items"] ?? null);
echo "</span></button>
<ul class=\"dropdown-menu pull-right\">
";
// line 4
if ((($context["products"] ?? null) || ($context["vouchers"] ?? null))) {
// line 5
echo " <li>
<table class=\"table table-striped\">
";
// line 7
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["products"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["product"]) {
// line 8
echo " <tr>
<td class=\"text-center\">";
// line 9
if (twig_get_attribute($this->env, $this->source, $context["product"], "thumb", [], "any", false, false, false, 9)) {
echo " <a href=\"";
echo twig_get_attribute($this->env, $this->source, $context["product"], "href", [], "any", false, false, false, 9);
echo "\"><img src=\"";
echo twig_get_attribute($this->env, $this->source, $context["product"], "thumb", [], "any", false, false, false, 9);
echo "\" alt=\"";
echo twig_get_attribute($this->env, $this->source, $context["product"], "name", [], "any", false, false, false, 9);
echo "\" title=\"";
echo twig_get_attribute($this->env, $this->source, $context["product"], "name", [], "any", false, false, false, 9);
echo "\" class=\"img-thumbnail\" /></a> ";
}
echo "</td>
<td class=\"text-left\"><a href=\"";
// line 10
echo twig_get_attribute($this->env, $this->source, $context["product"], "href", [], "any", false, false, false, 10);
echo "\">";
echo twig_get_attribute($this->env, $this->source, $context["product"], "name", [], "any", false, false, false, 10);
echo "</a> ";
if (twig_get_attribute($this->env, $this->source, $context["product"], "option", [], "any", false, false, false, 10)) {
// line 11
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["product"], "option", [], "any", false, false, false, 11));
foreach ($context['_seq'] as $context["_key"] => $context["option"]) {
echo " <br />
- <small>";
// line 12
echo twig_get_attribute($this->env, $this->source, $context["option"], "name", [], "any", false, false, false, 12);
echo " ";
echo twig_get_attribute($this->env, $this->source, $context["option"], "value", [], "any", false, false, false, 12);
echo "</small> ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['option'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 13
echo " ";
}
// line 14
echo " ";
if (twig_get_attribute($this->env, $this->source, $context["product"], "recurring", [], "any", false, false, false, 14)) {
echo " <br />
- <small>";
// line 15
echo ($context["text_recurring"] ?? null);
echo " ";
echo twig_get_attribute($this->env, $this->source, $context["product"], "recurring", [], "any", false, false, false, 15);
echo "</small> ";
}
echo "</td>
<td class=\"text-right\">x ";
// line 16
echo twig_get_attribute($this->env, $this->source, $context["product"], "quantity", [], "any", false, false, false, 16);
echo "</td>
<td class=\"text-right\">";
// line 17
echo twig_get_attribute($this->env, $this->source, $context["product"], "total", [], "any", false, false, false, 17);
echo "</td>
<td class=\"text-center\"><button type=\"button\" onclick=\"cart.remove('";
// line 18
echo twig_get_attribute($this->env, $this->source, $context["product"], "cart_id", [], "any", false, false, false, 18);
echo "');\" title=\"";
echo ($context["button_remove"] ?? null);
echo "\" class=\"btn btn-danger btn-xs\"><i class=\"fa fa-times\"></i></button></td>
</tr>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['product'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 21
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["vouchers"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["voucher"]) {
// line 22
echo " <tr>
<td class=\"text-center\"></td>
<td class=\"text-left\">";
// line 24
echo twig_get_attribute($this->env, $this->source, $context["voucher"], "description", [], "any", false, false, false, 24);
echo "</td>
<td class=\"text-right\">x&nbsp;1</td>
<td class=\"text-right\">";
// line 26
echo twig_get_attribute($this->env, $this->source, $context["voucher"], "amount", [], "any", false, false, false, 26);
echo "</td>
<td class=\"text-center text-danger\"><button type=\"button\" onclick=\"voucher.remove('";
// line 27
echo twig_get_attribute($this->env, $this->source, $context["voucher"], "key", [], "any", false, false, false, 27);
echo "');\" title=\"";
echo ($context["button_remove"] ?? null);
echo "\" class=\"btn btn-danger btn-xs\"><i class=\"fa fa-times\"></i></button></td>
</tr>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['voucher'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 30
echo " </table>
</li>
<li>
<div>
<table class=\"table table-bordered\">
";
// line 35
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["totals"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["total"]) {
// line 36
echo " <tr>
<td class=\"text-right\"><strong>";
// line 37
echo twig_get_attribute($this->env, $this->source, $context["total"], "title", [], "any", false, false, false, 37);
echo "</strong></td>
<td class=\"text-right\">";
// line 38
echo twig_get_attribute($this->env, $this->source, $context["total"], "text", [], "any", false, false, false, 38);
echo "</td>
</tr>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['total'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 41
echo " </table>
<p class=\"text-right\"><a href=\"";
// line 42
echo ($context["cart"] ?? null);
echo "\"><strong><i class=\"fa fa-shopping-cart\"></i> ";
echo ($context["text_cart"] ?? null);
echo "</strong></a>&nbsp;&nbsp;&nbsp;<a href=\"";
echo ($context["checkout"] ?? null);
echo "\"><strong><i class=\"fa fa-share\"></i> ";
echo ($context["text_checkout"] ?? null);
echo "</strong></a></p>
</div>
</li>
";
} else {
// line 46
echo " <li>
<p class=\"text-center\">";
// line 47
echo ($context["text_empty"] ?? null);
echo "</p>
</li>
";
}
// line 50
echo " </ul>
</div>
";
}
public function getTemplateName()
{
return "default/template/common/cart.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("", "default/template/common/cart.twig", "");
}
}
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* common/header.twig */
class __TwigTemplate_9e1e9be69d7e6401ebebb93e8b55a60c37f6bd697ad410e43b601d290644978f extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
echo "<!DOCTYPE html>
<html lang=\"en\">
<head>
<meta charset=\"UTF-8\" />
<title>";
// line 5
echo ($context["title"] ?? null);
echo "</title>
<base href=\"";
// line 6
echo ($context["base"] ?? null);
echo "\" />
<script type=\"text/javascript\" src=\"view/javascript/jquery/jquery-2.1.1.min.js\"></script>
<link href=\"view/javascript/bootstrap/css/bootstrap.css\" rel=\"stylesheet\" media=\"screen\" />
<script src=\"view/javascript/bootstrap/js/bootstrap.js\" type=\"text/javascript\"></script>
<link href=\"view/javascript/font-awesome/css/font-awesome.min.css\" type=\"text/css\" rel=\"stylesheet\" />
<link href=\"//fonts.googleapis.com/css?family=Open+Sans:400,400i,300,700\" rel=\"stylesheet\" type=\"text/css\" />
<link rel=\"stylesheet\" type=\"text/css\" href=\"view/stylesheet/stylesheet.css\" />
</head>
<body>";
}
public function getTemplateName()
{
return "common/header.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 47 => 6, 43 => 5, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "common/header.twig", "");
}
}
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* default/template/error/not_found.twig */
class __TwigTemplate_af0ae301916cc5e35b5d33f3d5dc78315e7f6383fc653f1551802f2eb3b53153 extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
echo ($context["header"] ?? null);
echo "
<div id=\"error-not-found\" class=\"container\">
<ul class=\"breadcrumb\">
";
// line 4
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["breadcrumbs"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["breadcrumb"]) {
// line 5
echo " <li><a href=\"";
echo twig_get_attribute($this->env, $this->source, $context["breadcrumb"], "href", [], "any", false, false, false, 5);
echo "\">";
echo twig_get_attribute($this->env, $this->source, $context["breadcrumb"], "text", [], "any", false, false, false, 5);
echo "</a></li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['breadcrumb'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 7
echo " </ul>
<div class=\"row\">";
// line 8
echo ($context["column_left"] ?? null);
echo "
";
// line 9
if ((($context["column_left"] ?? null) && ($context["column_right"] ?? null))) {
// line 10
echo " ";
$context["class"] = "col-sm-6";
// line 11
echo " ";
} elseif ((($context["column_left"] ?? null) || ($context["column_right"] ?? null))) {
// line 12
echo " ";
$context["class"] = "col-sm-9";
// line 13
echo " ";
} else {
// line 14
echo " ";
$context["class"] = "col-sm-12";
// line 15
echo " ";
}
// line 16
echo " <div id=\"content\" class=\"";
echo ($context["class"] ?? null);
echo "\">";
echo ($context["content_top"] ?? null);
echo "
<h1>";
// line 17
echo ($context["heading_title"] ?? null);
echo "</h1>
<p>";
// line 18
echo ($context["text_error"] ?? null);
echo "</p>
<div class=\"buttons clearfix\">
<div class=\"pull-right\"><a href=\"";
// line 20
echo ($context["continue"] ?? null);
echo "\" class=\"btn btn-primary\">";
echo ($context["button_continue"] ?? null);
echo "</a></div>
</div>
";
// line 22
echo ($context["content_bottom"] ?? null);
echo "</div>
";
// line 23
echo ($context["column_right"] ?? null);
echo "</div>
</div>
";
// line 25
echo ($context["footer"] ?? null);
echo "
";
}
public function getTemplateName()
{
return "default/template/error/not_found.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("", "default/template/error/not_found.twig", "");
}
}
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* extension/dashboard/domovoy_info.twig */
class __TwigTemplate_b1758d9c4903630aabd74a1f3e3987a5 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
yield "<div id=\"domovoy\" class=\"panel panel-default\">
<div class=\"panel-heading\">
<h3 class=\"panel-title\"><i class=\"fa fa-calendar\"></i> ";
// line 3
yield ($context["heading_title"] ?? null);
yield "</h3>
<button type=\"button\" id=\"button-phpinfo\" title=\"";
// line 4
yield ($context["text_phpinfo"] ?? null);
yield "\" class=\"btn btn-info\">phpinfo</button>
";
// line 5
if (($context["phpversion"] ?? null)) {
// line 6
yield " <button type=\"button\" title=\"";
yield ($context["text_copy"] ?? null);
yield "\" onclick=\"copyToClipboard('#phpversion')\" class=\"btn\"><i
class=\"fa fa-php\"></i> <span id=\"phpversion\">PHP ";
// line 7
yield ($context["phpversion"] ?? null);
yield "</span></button>";
}
// line 8
yield " ";
if (($context["database_version"] ?? null)) {
// line 9
yield " <button type=\"button\" title=\"";
yield ($context["text_copy"] ?? null);
yield "\" onclick=\"copyToClipboard('#database_version')\" class=\"btn\"><i
class=\"fa fa-database\"></i> <span id=\"database_version\">";
// line 10
yield ($context["database_version"] ?? null);
yield "</span>
</button>";
}
// line 12
yield " ";
if (($context["ioncube_version"] ?? null)) {
// line 13
yield " <button type=\"button\" title=\"";
yield ($context["text_copy"] ?? null);
yield "\" onclick=\"copyToClipboard('#ioncube_version')\" class=\"btn\"><i
class=\"fa fa-square\"></i> <span id=\"ioncube_version\">ionCube ";
// line 14
yield ($context["ioncube_version"] ?? null);
yield "</span>
</button>";
}
// line 16
yield " ";
if (($context["disk_free_space"] ?? null)) {
// line 17
yield " <button type=\"button\" title=\"";
yield ($context["text_copy"] ?? null);
yield "\" onclick=\"copyToClipboard('#disk_free_space')\" class=\"btn";
if (($context["disk_free_space_warning"] ?? null)) {
yield " btn-danger";
}
yield "\"><i
class=\"fa fa-hdd-o\"></i> <span
id=\"disk_free_space\">";
// line 19
yield ($context["text_disk_free_space"] ?? null);
yield " ";
yield CoreExtension::getAttribute($this->env, $this->source, ($context["disk_free_space"] ?? null), "size", [], "any", false, false, false, 19);
yield CoreExtension::getAttribute($this->env, $this->source, ($context["disk_free_space"] ?? null), "unit", [], "any", false, false, false, 19);
yield "</span>
</button>";
}
// line 21
yield " <div class=\"pull-right\">
<a title=\"";
// line 22
yield ($context["text_setting"] ?? null);
yield "\" href=\"";
yield ($context["setting"] ?? null);
yield "\" class=\"close\"><i class=\"fa fa-cog fa-2x \"></i></a>
</div>
</div>
<div class=\"alert-body\"></div>
<ul class=\"list-group\">
<li class=\"list-group-item\">
<table class=\"table table-bordered\">
<tr>
<td>
<button type=\"button\" value=\"theme\" data-toggle=\"tooltip\" title=\"";
// line 31
yield ($context["button_refresh"] ?? null);
yield "\"
class=\"btn btn-warning\"><i class=\"fa fa-refresh\"></i></button>
<div class=\"btn-group\" data-toggle=\"buttons\">
";
// line 34
if (($context["developer_theme"] ?? null)) {
// line 35
yield " <label class=\"btn btn-success active\" ";
if ( !($context["eval"] ?? null)) {
yield "disabled=\"disabled\"";
}
yield ">
<input type=\"radio\" name=\"developer_theme\" value=\"1\" autocomplete=\"off\"
";
// line 37
if ( !($context["eval"] ?? null)) {
yield "disabled=\"disabled\"";
}
yield " checked/>
";
// line 38
yield ($context["button_on"] ?? null);
yield "
</label>
";
} else {
// line 41
yield " <label class=\"btn btn-success\" ";
if ( !($context["eval"] ?? null)) {
yield "disabled=\"disabled\"";
}
yield ">
<input type=\"radio\" name=\"developer_theme\" value=\"1\" autocomplete=\"off\"
";
// line 43
if ( !($context["eval"] ?? null)) {
yield "disabled=\"disabled\"";
}
yield "/>
";
// line 44
yield ($context["button_on"] ?? null);
yield "
</label>
";
}
// line 47
yield " ";
if ( !($context["developer_theme"] ?? null)) {
// line 48
yield " <label class=\"btn btn-danger active\" ";
if ( !($context["eval"] ?? null)) {
yield "disabled=\"disabled\"";
}
yield ">
<input type=\"radio\" name=\"developer_theme\" value=\"0\" autocomplete=\"off\"
";
// line 50
if ( !($context["eval"] ?? null)) {
yield "disabled=\"disabled\"";
}
yield " checked/>
";
// line 51
yield ($context["button_off"] ?? null);
yield "
</label>
";
} else {
// line 54
yield " <label class=\"btn btn-danger\" ";
if ( !($context["eval"] ?? null)) {
yield "disabled=\"disabled\"";
}
yield ">
<input type=\"radio\" name=\"developer_theme\" value=\"0\" autocomplete=\"off\"
";
// line 56
if ( !($context["eval"] ?? null)) {
yield "disabled=\"disabled\"";
}
yield "/>
";
// line 57
yield ($context["button_off"] ?? null);
yield "
</label>
";
}
// line 59
yield "</div> ";
yield ($context["entry_theme_cache"] ?? null);
yield "
</td>
<td>
<button type=\"button\" value=\"sass\" data-toggle=\"tooltip\" title=\"";
// line 62
yield ($context["button_refresh"] ?? null);
yield "\"
class=\"btn btn-warning\"><i class=\"fa fa-refresh\"></i></button>
<div class=\"btn-group\" data-toggle=\"buttons\">";
// line 64
if (($context["developer_sass"] ?? null)) {
// line 65
yield " <label class=\"btn btn-success active\">
<input type=\"radio\" name=\"developer_sass\" value=\"1\" autocomplete=\"off\" checked>
";
// line 67
yield ($context["button_on"] ?? null);
yield "</label>
";
} else {
// line 69
yield " <label class=\"btn btn-success\">
<input type=\"radio\" name=\"developer_sass\" value=\"1\" autocomplete=\"off\">
";
// line 71
yield ($context["button_on"] ?? null);
yield "</label>
";
}
// line 73
yield " ";
if ( !($context["developer_sass"] ?? null)) {
// line 74
yield " <label class=\"btn btn-danger active\">
<input type=\"radio\" name=\"developer_sass\" value=\"0\" autocomplete=\"off\" checked>
";
// line 76
yield ($context["button_off"] ?? null);
yield "</label>
";
} else {
// line 78
yield " <label class=\"btn btn-danger\">
<input type=\"radio\" name=\"developer_sass\" value=\"0\" autocomplete=\"off\">
";
// line 80
yield ($context["button_off"] ?? null);
yield "</label>
";
}
// line 81
yield "</div> ";
yield ($context["entry_sass"] ?? null);
yield "</td>
<td class=\"text-right\">";
// line 82
yield ($context["entry_modification_cache"] ?? null);
yield " <a id=\"odmod-refresh\" data-toggle=\"tooltip\"
title=\"";
// line 83
yield ($context["button_refresh"] ?? null);
yield "\"
class=\"btn btn-warning\"><i
class=\"fa fa-refresh\"></i></a></td>
<td class=\"text-right\">";
// line 86
yield ($context["entry_allcache"] ?? null);
yield "
<button type=\"button\" value=\"allcache\" data-toggle=\"tooltip\" title=\"";
// line 87
yield ($context["button_refresh"] ?? null);
yield "\"
class=\"btn btn-warning\"><i class=\"fa fa-refresh\"></i></button>
</td>
</tr>
</table>
</li>
";
// line 93
if (($context["disk_free_space_warning"] ?? null)) {
// line 94
yield " <li class=\"list-group-item\">";
yield ($context["disk_free_space_warning"] ?? null);
yield "</li>
";
}
// line 96
yield " ";
if ( !($context["developer_theme"] ?? null)) {
// line 97
yield " <li class=\"list-group-item\"><span class=\"btn-warning btn-xs\">";
yield ($context["text_warning"] ?? null);
yield "</span> ";
yield ($context["text_twig_off_warning"] ?? null);
yield "</li>
";
}
// line 99
yield " ";
if (($context["folders"] ?? null)) {
// line 100
yield " ";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(($context["folders"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["folder"]) {
// line 101
yield " <li class=\"list-group-item\">
<button type=\"button\" value=\"";
// line 102
yield CoreExtension::getAttribute($this->env, $this->source, $context["folder"], "key", [], "any", false, false, false, 102);
yield "\" data-toggle=\"tooltip\" title=\"";
yield ($context["text_clear"] ?? null);
yield "\"
class=\"btn btn-warning clearFolder\" data-original-title=\"";
// line 103
yield ($context["button_refresh"] ?? null);
yield "\"><i
class=\"fa fa-refresh\"></i></button>
<button type=\"button\" value=\"";
// line 105
yield CoreExtension::getAttribute($this->env, $this->source, $context["folder"], "key", [], "any", false, false, false, 105);
yield "\" data-toggle=\"tooltip\" title=\"";
yield ($context["text_calculate"] ?? null);
yield "\"
class=\"btn btn-success calcFolder\" data-original-title=\"";
// line 106
yield ($context["button_refresh"] ?? null);
yield "\"><i
class=\"fa fa-cogs\"></i></button>
";
// line 108
yield CoreExtension::getAttribute($this->env, $this->source, $context["folder"], "name", [], "any", false, false, false, 108);
yield "<span
class=\"textFolder\">";
// line 109
yield CoreExtension::getAttribute($this->env, $this->source, $context["folder"], "size", [], "any", false, false, false, 109);
yield " ";
yield CoreExtension::getAttribute($this->env, $this->source, $context["folder"], "files", [], "any", false, false, false, 109);
if ( !CoreExtension::getAttribute($this->env, $this->source, $context["folder"], "warning_size", [], "any", false, false, false, 109)) {
yield ($context["text_normal"] ?? null);
} else {
yield " ";
yield CoreExtension::getAttribute($this->env, $this->source, $context["folder"], "warning_size", [], "any", false, false, false, 109);
yield " ";
}
yield "</span>
</li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['folder'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 112
yield " ";
}
// line 113
yield "
<li class=\"list-group-item\">
";
// line 115
if (($context["danger_funtions"] ?? null)) {
// line 116
yield " <span class=\"btn-warning btn-xs\">";
yield ($context["text_warning"] ?? null);
yield "</span> ";
yield ($context["text_danger_info"] ?? null);
yield "
<span>";
// line 117
yield ($context["danger_funtions"] ?? null);
yield "</span>
";
} else {
// line 119
yield " <span class=\"btn-warning btn-xs\">";
yield ($context["text_normal"] ?? null);
yield "</span> ";
yield ($context["text_danger_info_normal"] ?? null);
yield "
";
}
// line 121
yield " </li>
<li class=\"list-group-item\">
";
// line 123
if (($context["warning_funtions"] ?? null)) {
// line 124
yield " <span class=\"btn-warning btn-xs\">";
yield ($context["text_warning"] ?? null);
yield "</span> ";
yield ($context["text_warning_info"] ?? null);
yield "
<span>";
// line 125
yield ($context["warning_funtions"] ?? null);
yield "</span>
";
} else {
// line 127
yield " <span class=\"btn-warning btn-xs\">";
yield ($context["text_normal"] ?? null);
yield "</span> ";
yield ($context["text_warning_info_normal"] ?? null);
yield "
";
}
// line 129
yield " </li>
";
// line 130
if (($context["activities"] ?? null)) {
// line 131
yield " ";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(($context["activities"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["activity"]) {
// line 132
yield " <li class=\"list-group-item\">";
yield CoreExtension::getAttribute($this->env, $this->source, $context["activity"], "comment", [], "any", false, false, false, 132);
yield "<br/>
<small class=\"text-muted\"><i class=\"fa fa-clock-o\"></i> ";
// line 133
yield CoreExtension::getAttribute($this->env, $this->source, $context["activity"], "date_added", [], "any", false, false, false, 133);
yield "</small></li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['activity'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 135
yield " ";
}
// line 136
yield "
</ul>
</div>
<style>
#domovoy .btn-group label {
background: #a9a9a9
}
#domovoy .btn-group label.btn-success.active {
background-color: #4cb64c;
}
#domovoy .btn-group label.btn-danger.active {
background-color: #d0321e;
}
</style>
<script type=\"text/javascript\"><!--
\$('#button-phpinfo').on('click', function () {
\$.ajax({
url: 'index.php?route=extension/dashboard/domovoy/phpinfo&user_token=";
// line 155
yield ($context["user_token"] ?? null);
yield "',
dataType: 'html',
beforeSend: function () {
\$('#modal-phpinfo').button('loading');
},
complete: function () {
\$('#modal-phpinfo').button('reset');
},
success: function (html) {
\$('#modal-phpinfo').remove();
\$('body').prepend('<div id=\"modal-phpinfo\" class=\"modal\">' + html + '</div>');
\$('#modal-phpinfo').modal('show');
},
error: function (xhr, ajaxOptions, thrownError) {
alert(thrownError + \"\\r\\n\" + xhr.statusText + \"\\r\\n\" + xhr.responseText);
}
});
});
function setTooltip(element) {
\$(element).tooltip('enable');
\$(element).tooltip('hide')
.attr('data-original-title', '";
// line 180
yield ($context["text_copied"] ?? null);
yield "')
.tooltip('show');
}
function hideTooltip(element) {
setTimeout(function () {
\$(element).tooltip('disable');
}, 1000);
}
function copyToClipboard(element) {
var \$temp = \$(\"<input>\");
\$(\"body\").append(\$temp);
\$temp.val(\$(element).text()).select();
document.execCommand(\"copy\");
setTooltip(element);
hideTooltip(element);
\$temp.remove();
}
function calcFolder(element) {
\$.ajax({
url: 'index.php?route=extension/dashboard/domovoy/calc&dir=' + \$(element).attr('value') + '&user_token=";
// line 203
yield ($context["user_token"] ?? null);
yield "',
dataType: 'json',
beforeSend: function () {
\$(element).button('loading');
},
complete: function () {
\$(element).button('reset');
\$(element).tooltip('disable');
},
success: function (json) {
\$('.alert-dismissible').remove();
if (json['error']) {
\$(element).parent().find('.textFolder').html(json['error']['warning']);
}
if (json['success']) {
\$(element).parent().find('.textFolder').html(json['success']);
}
},
error: function (xhr, ajaxOptions, thrownError) {
alert(thrownError + \"\\r\\n\" + xhr.statusText + \"\\r\\n\" + xhr.responseText);
}
});
}
\$('#domovoy button.clearFolder').on('click', function () {
var element = this;
\$.ajax({
url: 'index.php?route=extension/dashboard/domovoy/clear&dir=' + \$(element).attr('value') + '&user_token=";
// line 234
yield ($context["user_token"] ?? null);
yield "',
dataType: 'json',
beforeSend: function () {
\$(element).button('loading');
},
complete: function () {
\$(element).button('reset');
},
success: function (json) {
\$('.alert-dismissible').remove();
if (json['error']) {
\$(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\">&times;</button></div>');
}
if (json['success']) {
\$(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\">&times;</button></div>');
setTimeout(function () {
calcFolder(element);
}, 2000);
}
},
error: function (xhr, ajaxOptions, thrownError) {
alert(thrownError + \"\\r\\n\" + xhr.statusText + \"\\r\\n\" + xhr.responseText);
}
});
});
\$('#domovoy button.calcFolder').on('click', function () {
var element = this;
calcFolder(element);
});
//--></script>
<script type=\"text/javascript\"><!--
\$('#domovoy input[name=\\'developer_theme\\'], input[name=\\'developer_sass\\']').on('change', function () {
\$.ajax({
url: 'index.php?route=common/developer/edit&user_token=";
// line 271
yield ($context["user_token"] ?? null);
yield "',
type: 'post',
data: \$('input[name=\\'developer_theme\\']:checked, input[name=\\'developer_sass\\']:checked'),
dataType: 'json',
beforeSend: function () {
\$('input[name=\\'developer_theme\\'], input[name=\\'developer_sass\\']').prop('disabled', true);
},
complete: function () {
\$('input[name=\\'developer_theme\\'], input[name=\\'developer_sass\\']').prop('disabled', false);
},
success: function (json) {
\$('.alert-dismissible').remove();
if (json['error']) {
\$('#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\">&times;</button></div>');
}
if (json['success']) {
\$('#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\">&times;</button></div>');
}
},
error: function (xhr, ajaxOptions, thrownError) {
alert(thrownError + \"\\r\\n\" + xhr.statusText + \"\\r\\n\" + xhr.responseText);
}
});
});
\$('#domovoy table button').on('click', function () {
var element = this;
\$.ajax({
url: 'index.php?route=common/developer/' + \$(element).attr('value') + '&user_token=";
// line 302
yield ($context["user_token"] ?? null);
yield "',
dataType: 'json',
beforeSend: function () {
\$(element).button('loading');
},
complete: function () {
\$(element).button('reset');
},
success: function (json) {
\$('.alert-dismissible').remove();
if (json['error']) {
\$('#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\">&times;</button></div>');
}
if (json['success']) {
\$('#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\">&times;</button></div>');
}
},
error: function (xhr, ajaxOptions, thrownError) {
alert(thrownError + \"\\r\\n\" + xhr.statusText + \"\\r\\n\" + xhr.responseText);
}
});
});
\$('#odmod-refresh').on('click', function () {
var element = this;
\$.ajax({
url: 'index.php?route=marketplace/modification/refresh&user_token=";
// line 331
yield ($context["user_token"] ?? null);
yield "',
dataType: 'json',
complete: function () {
\$(element).button('reset');
\$('.alert-dismissible').remove();
\$('#domovoy .alert-body').prepend('<div class=\"alert alert-success alert-dismissible\"><i class=\"fa fa-check-circle\"></i> ";
// line 336
yield ($context["text_ocmod_cache_success"] ?? null);
yield " <button type=\"button\" class=\"close\" data-dismiss=\"alert\">&times;</button></div>');
}
});
});
//--></script>";
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "extension/dashboard/domovoy_info.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("", "extension/dashboard/domovoy_info.twig", "");
}
}
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* default/template/common/search.twig */
class __TwigTemplate_e077406cf252d73d0cbbf4a31dcbfb441ad8cc3b747eb6f43576687e0f118c58 extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
echo "<div id=\"search\" class=\"input-group\">
<input type=\"text\" name=\"search\" value=\"";
// line 2
echo ($context["search"] ?? null);
echo "\" placeholder=\"";
echo ($context["text_search"] ?? null);
echo "\" class=\"form-control input-lg\" />
<span class=\"input-group-btn\">
<button type=\"button\" class=\"btn btn-default btn-lg\"><i class=\"fa fa-search\"></i></button>
</span>
</div>";
}
public function getTemplateName()
{
return "default/template/common/search.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 40 => 2, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "default/template/common/search.twig", "");
}
}
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* install/step_4.twig */
class __TwigTemplate_0cfacc6460d0e7c35b44e4ca7f20fc23a058a184ea432285e0b41d7296cad73a extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
echo ($context["header"] ?? null);
echo "
<div class=\"container\">
<header>
<div class=\"row\">
<div class=\"col-sm-6\">
<h1 class=\"pull-left\">4
<small>/4</small>
</h1>
<h3>";
// line 9
echo ($context["heading_title"] ?? null);
echo "
<br>
<small>";
// line 11
echo ($context["text_step_4"] ?? null);
echo "</small>
</h3>
</div>
<div class=\"col-sm-6\">
<div id=\"logo\" class=\"pull-right hidden-xs\"><img src=\"view/image/logo.png\" alt=\"OpenCart\" title=\"OpenCart\" /></div>
</div>
</div>
</header>
<div class=\"alert alert-danger alert-dismissible\"><i class=\"fa fa-exclamation-circle\"></i> ";
// line 19
echo ($context["error_warning"] ?? null);
echo " <button type=\"button\" class=\"close\" data-dismiss=\"alert\">&times;</button></div>
<div class=\"visit\">
<div class=\"row\">
<div class=\"col-sm-5 col-sm-offset-1 text-center\">
<p><i class=\"fa fa-shopping-cart fa-5x\"></i></p>
<a href=\"../\" class=\"btn btn-secondary\">";
// line 24
echo ($context["text_catalog"] ?? null);
echo "</a>
</div>
<div class=\"col-sm-5 text-center\">
<p><i class=\"fa fa-cog fa-5x white\"></i></p>
<a href=\"../admin/\" class=\"btn btn-secondary\">";
// line 28
echo ($context["text_admin"] ?? null);
echo "</a>
</div>
</div>
</div>
<div class=\"modules\">
<div class=\"row\" id=\"extension\">
<h2 class=\"text-center\"><i class=\"fa fa-circle-o-notch fa-spin\"></i> ";
// line 34
echo ($context["text_loading"] ?? null);
echo "</h2>
</div>
<div class=\"row\">
<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\">";
// line 37
echo ($context["text_extension"] ?? null);
echo "</a></div>
</div>
</div>
<div class=\"mailing\">
<div class=\"row\">
<div class=\"col-sm-12\"><i class=\"fa fa-envelope-o fa-5x\"></i>
<h3>";
// line 43
echo ($context["text_mail"] ?? null);
echo "
<br/>
<small>";
// line 45
echo ($context["text_mail_description"] ?? null);
echo "</small>
</h3>
<a href=\"https://ocstore.com/subscribe/\" target=\"_BLANK\" class=\"btn btn-secondary\">";
// line 47
echo ($context["button_mail"] ?? null);
echo "</a>
</div>
</div>
</div>
<div class=\"support text-center\">
<div class=\"row\">
<div class=\"col-sm-4\">
<a href=\"https://www.facebook.com/opencartforum\" class=\"icon transition\"><i class=\"fa fa-facebook fa-4x\"></i></a>
<h3>";
// line 55
echo ($context["text_facebook"] ?? null);
echo "</h3>
<p>";
// line 56
echo ($context["text_facebook_description"] ?? null);
echo "</p>
<a href=\"https://www.facebook.com/opencartforum\">";
// line 57
echo ($context["text_facebook_visit"] ?? null);
echo "</a>
</div>
<div class=\"col-sm-4\">
<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>
<h3>";
// line 61
echo ($context["text_forum"] ?? null);
echo "</h3>
<p>";
// line 62
echo ($context["text_forum_description"] ?? null);
echo "</p>
<a href=\"https://opencartforum.com/?utm_source=ocstore_install&utm_medium=forum_link&utm_campaign=ocstore_install\">";
// line 63
echo ($context["text_forum_visit"] ?? null);
echo "</a>
</div>
<div class=\"col-sm-4\">
<a href=\"https://dedicated.ocstore.com/?utm_source=ocstore3_install\" class=\"icon transition\"><i class=\"fa fa-user fa-4x\"></i></a>
<h3>";
// line 67
echo ($context["text_commercial"] ?? null);
echo "</h3>
<p>";
// line 68
echo ($context["text_commercial_description"] ?? null);
echo "</p>
<a href=\"https://dedicated.ocstore.com/?utm_source=ocstore3_install\" target=\"_BLANK\">";
// line 69
echo ($context["text_commercial_visit"] ?? null);
echo "</a>
</div>
</div>
</div>
</div>
";
// line 74
echo ($context["footer"] ?? null);
echo "
<script type=\"text/javascript\"><!--
\$(document).ready(function() {
\$.ajax({
url: '";
// line 78
echo ($context["extension"] ?? null);
echo "',
type: 'post',
dataType: 'json',
success: function(json) {
if (json['extensions']) {
html = '';
for (i = 0; i < json['extensions'].length; i++) {
extension = json['extensions'][i];
html += '<div class=\"col-sm-6 module\">';
html += ' <a class=\"thumbnail pull-left\" href=\"' + extension['href'] + '\"><img src=\"' + extension['image'] + '\" alt=\"' + extension['name'] + '\" /></a>';
html += ' <h5>' + extension['name'] + '</h5>';
html += ' <p>' + extension['price'] + ' <a target=\"_BLANK\" href=\"' + extension['href'] + '\">";
// line 91
echo ($context["text_view"] ?? null);
echo "</a></p>';
html += ' <div class=\"clearfix\"></div>';
html += '</div>';
}
\$('#extension').html(html);
} else {
\$('#extension').fadeOut();
}
}
});
});
//--></script>
";
}
public function getTemplateName()
{
return "install/step_4.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("", "install/step_4.twig", "");
}
}
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* common/footer.twig */
class __TwigTemplate_00218df58a7753524afd32b0fe75b21d9026fe4dbf9f9039de4b218143c3ecb0 extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
echo "<footer>
<div class=\"container\"><a href=\"https://ocstore.com/?utm_source=ocstore3\" target=\"_blank\">";
// line 2
echo ($context["text_project"] ?? null);
echo "</a>|<a href=\"https://docs.ocstore.com/?utm_source=ocstore3\" target=\"_blank\">";
echo ($context["text_documentation"] ?? null);
echo "</a>|<a href=\"https://opencartforum.com/?utm_source=ocstore3\" target=\"_blank\">";
echo ($context["text_support"] ?? null);
echo "</a><br />
</div>
</footer>
</body></html>
";
}
public function getTemplateName()
{
return "common/footer.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 40 => 2, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "common/footer.twig", "");
}
}
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* default/template/common/column_right.twig */
class __TwigTemplate_332e181c7599efe3eb9016853ca69ee7e4e4203659124c84f7afc0efd1b7b0de extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
if (($context["modules"] ?? null)) {
// line 2
echo "<aside id=\"column-right\" class=\"col-sm-3 hidden-xs\">
";
// line 3
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["modules"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["module"]) {
// line 4
echo " ";
echo $context["module"];
echo "
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['module'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 6
echo "</aside>
";
}
}
public function getTemplateName()
{
return "default/template/common/column_right.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 55 => 6, 46 => 4, 42 => 3, 39 => 2, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "default/template/common/column_right.twig", "");
}
}
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* default/template/extension/module/category.twig */
class __TwigTemplate_f118bf5e29f101449e4e20a11f48c9a364b7fd6a8dc317bab750ee2e7023cb0b extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
echo "<div class=\"list-group\">
";
// line 2
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["categories"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["category"]) {
// line 3
echo " ";
if ((twig_get_attribute($this->env, $this->source, $context["category"], "category_id", [], "any", false, false, false, 3) == ($context["category_id"] ?? null))) {
echo "
<a href=\"";
// line 4
echo twig_get_attribute($this->env, $this->source, $context["category"], "href", [], "any", false, false, false, 4);
echo "\" class=\"list-group-item active\">";
echo twig_get_attribute($this->env, $this->source, $context["category"], "name", [], "any", false, false, false, 4);
echo "</a>
";
// line 5
if (twig_get_attribute($this->env, $this->source, $context["category"], "children", [], "any", false, false, false, 5)) {
// line 6
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["category"], "children", [], "any", false, false, false, 6));
foreach ($context['_seq'] as $context["_key"] => $context["child"]) {
// line 7
echo " ";
if ((twig_get_attribute($this->env, $this->source, $context["child"], "category_id", [], "any", false, false, false, 7) == ($context["child_id"] ?? null))) {
// line 8
echo " <a href=\"";
echo twig_get_attribute($this->env, $this->source, $context["child"], "href", [], "any", false, false, false, 8);
echo "\" class=\"list-group-item active\">&nbsp;&nbsp;&nbsp;- ";
echo twig_get_attribute($this->env, $this->source, $context["child"], "name", [], "any", false, false, false, 8);
echo "</a>
";
} else {
// line 9
echo "
<a href=\"";
// line 10
echo twig_get_attribute($this->env, $this->source, $context["child"], "href", [], "any", false, false, false, 10);
echo "\" class=\"list-group-item\">&nbsp;&nbsp;&nbsp;- ";
echo twig_get_attribute($this->env, $this->source, $context["child"], "name", [], "any", false, false, false, 10);
echo "</a>
";
}
// line 12
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['child'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 13
echo " ";
}
// line 14
echo " ";
} else {
echo " <a href=\"";
echo twig_get_attribute($this->env, $this->source, $context["category"], "href", [], "any", false, false, false, 14);
echo "\" class=\"list-group-item\">";
echo twig_get_attribute($this->env, $this->source, $context["category"], "name", [], "any", false, false, false, 14);
echo "</a>
";
}
// line 16
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['category'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 17
echo "</div>
";
}
public function getTemplateName()
{
return "default/template/extension/module/category.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("", "default/template/extension/module/category.twig", "");
}
}
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* extension/dashboard/sale_info.twig */
class __TwigTemplate_c1447253c420b4175648a20d461c39d7 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
yield "<div class=\"tile tile-primary\">
<div class=\"tile-heading\">";
// line 2
yield ($context["heading_title"] ?? null);
yield " <span class=\"pull-right\">
";
// line 3
if ((($context["percentage"] ?? null) > 0)) {
// line 4
yield " <i class=\"fa fa-caret-up\"></i>
";
} elseif (( // line 5
($context["percentage"] ?? null) < 0)) {
// line 6
yield " <i class=\"fa fa-caret-down\"></i>
";
}
// line 8
yield " ";
yield ($context["percentage"] ?? null);
yield "%</span></div>
<div class=\"tile-body\"><i class=\"fa fa-credit-card\"></i>
<h2 class=\"pull-right\">";
// line 10
yield ($context["total"] ?? null);
yield "</h2>
</div>
<div class=\"tile-footer\"><a href=\"";
// line 12
yield ($context["sale"] ?? null);
yield "\">";
yield ($context["text_view"] ?? null);
yield "</a></div>
</div>
";
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "extension/dashboard/sale_info.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 67 => 12, 62 => 10, 56 => 8, 52 => 6, 50 => 5, 47 => 4, 45 => 3, 41 => 2, 38 => 1,);
}
public function getSourceContext()
{
return new Source("", "extension/dashboard/sale_info.twig", "");
}
}
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* default/template/product/product.twig */
class __TwigTemplate_328f5db7481ef361dc5779d8d28ae51d extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
yield ($context["header"] ?? null);
yield "
<div id=\"product-product\" class=\"container\">
<ul class=\"breadcrumb\">
";
// line 4
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(($context["breadcrumbs"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["breadcrumb"]) {
// line 5
yield " <li><a href=\"";
yield CoreExtension::getAttribute($this->env, $this->source, $context["breadcrumb"], "href", [], "any", false, false, false, 5);
yield "\">";
yield CoreExtension::getAttribute($this->env, $this->source, $context["breadcrumb"], "text", [], "any", false, false, false, 5);
yield "</a></li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['breadcrumb'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 7
yield " </ul>
<div class=\"row\">";
// line 8
yield ($context["column_left"] ?? null);
yield "
";
// line 9
if ((($context["column_left"] ?? null) && ($context["column_right"] ?? null))) {
// line 10
yield " ";
$context["class"] = "col-sm-6";
// line 11
yield " ";
} elseif ((($context["column_left"] ?? null) || ($context["column_right"] ?? null))) {
// line 12
yield " ";
$context["class"] = "col-sm-9";
// line 13
yield " ";
} else {
// line 14
yield " ";
$context["class"] = "col-sm-12";
// line 15
yield " ";
}
// line 16
yield " <div id=\"content\" class=\"";
yield ($context["class"] ?? null);
yield "\">";
yield ($context["content_top"] ?? null);
yield "
<div class=\"row\"> ";
// line 17
if ((($context["column_left"] ?? null) || ($context["column_right"] ?? null))) {
// line 18
yield " ";
$context["class"] = "col-sm-6";
// line 19
yield " ";
} else {
// line 20
yield " ";
$context["class"] = "col-sm-8";
// line 21
yield " ";
}
// line 22
yield " <div class=\"";
yield ($context["class"] ?? null);
yield "\"> ";
if ((($context["thumb"] ?? null) || ($context["images"] ?? null))) {
// line 23
yield " <ul class=\"thumbnails\">
";
// line 24
if (($context["thumb"] ?? null)) {
// line 25
yield " <li><a class=\"thumbnail\" href=\"";
yield ($context["popup"] ?? null);
yield "\" title=\"";
yield ($context["heading_title"] ?? null);
yield "\"><img src=\"";
yield ($context["thumb"] ?? null);
yield "\" title=\"";
yield ($context["heading_title"] ?? null);
yield "\" alt=\"";
yield ($context["heading_title"] ?? null);
yield "\" /></a></li>
";
}
// line 27
yield " ";
if (($context["images"] ?? null)) {
// line 28
yield " ";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(($context["images"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["image"]) {
// line 29
yield " <li class=\"image-additional\"><a class=\"thumbnail\" href=\"";
yield CoreExtension::getAttribute($this->env, $this->source, $context["image"], "popup", [], "any", false, false, false, 29);
yield "\" title=\"";
yield ($context["heading_title"] ?? null);
yield "\"> <img src=\"";
yield CoreExtension::getAttribute($this->env, $this->source, $context["image"], "thumb", [], "any", false, false, false, 29);
yield "\" title=\"";
yield ($context["heading_title"] ?? null);
yield "\" alt=\"";
yield ($context["heading_title"] ?? null);
yield "\" /></a></li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['image'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 31
yield " ";
}
// line 32
yield " </ul>
";
}
// line 34
yield " <ul class=\"nav nav-tabs\">
<li class=\"active\"><a href=\"#tab-description\" data-toggle=\"tab\">";
// line 35
yield ($context["tab_description"] ?? null);
yield "</a></li>
";
// line 36
if (($context["attribute_groups"] ?? null)) {
// line 37
yield " <li><a href=\"#tab-specification\" data-toggle=\"tab\">";
yield ($context["tab_attribute"] ?? null);
yield "</a></li>
";
}
// line 39
yield " ";
if (($context["review_status"] ?? null)) {
// line 40
yield " <li><a href=\"#tab-review\" data-toggle=\"tab\">";
yield ($context["tab_review"] ?? null);
yield "</a></li>
";
}
// line 42
yield " </ul>
<div class=\"tab-content\">
<div class=\"tab-pane active\" id=\"tab-description\">";
// line 44
yield ($context["description"] ?? null);
yield "</div>
";
// line 45
if (($context["attribute_groups"] ?? null)) {
// line 46
yield " <div class=\"tab-pane\" id=\"tab-specification\">
<table class=\"table table-bordered\">
";
// line 48
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(($context["attribute_groups"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["attribute_group"]) {
// line 49
yield " <thead>
<tr>
<td colspan=\"2\"><strong>";
// line 51
yield CoreExtension::getAttribute($this->env, $this->source, $context["attribute_group"], "name", [], "any", false, false, false, 51);
yield "</strong></td>
</tr>
</thead>
<tbody>
";
// line 55
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, $context["attribute_group"], "attribute", [], "any", false, false, false, 55));
foreach ($context['_seq'] as $context["_key"] => $context["attribute"]) {
// line 56
yield " <tr>
<td>";
// line 57
yield CoreExtension::getAttribute($this->env, $this->source, $context["attribute"], "name", [], "any", false, false, false, 57);
yield "</td>
<td>";
// line 58
yield CoreExtension::getAttribute($this->env, $this->source, $context["attribute"], "text", [], "any", false, false, false, 58);
yield "</td>
</tr>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['attribute'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 61
yield " </tbody>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['attribute_group'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 63
yield " </table>
</div>
";
}
// line 66
yield " ";
if (($context["review_status"] ?? null)) {
// line 67
yield " <div class=\"tab-pane\" id=\"tab-review\">
<form class=\"form-horizontal\" id=\"form-review\">
<div id=\"review\"></div>
<h2>";
// line 70
yield ($context["text_write"] ?? null);
yield "</h2>
";
// line 71
if (($context["review_guest"] ?? null)) {
// line 72
yield " <div class=\"form-group required\">
<div class=\"col-sm-12\">
<label class=\"control-label\" for=\"input-name\">";
// line 74
yield ($context["entry_name"] ?? null);
yield "</label>
<input type=\"text\" name=\"name\" value=\"";
// line 75
yield ($context["customer_name"] ?? null);
yield "\" id=\"input-name\" class=\"form-control\" />
</div>
</div>
<div class=\"form-group required\">
<div class=\"col-sm-12\">
<label class=\"control-label\" for=\"input-review\">";
// line 80
yield ($context["entry_review"] ?? null);
yield "</label>
<textarea name=\"text\" rows=\"5\" id=\"input-review\" class=\"form-control\"></textarea>
<div class=\"help-block\">";
// line 82
yield ($context["text_note"] ?? null);
yield "</div>
</div>
</div>
<div class=\"form-group required\">
<div class=\"col-sm-12\">
<label class=\"control-label\">";
// line 87
yield ($context["entry_rating"] ?? null);
yield "</label>
&nbsp;&nbsp;&nbsp; ";
// line 88
yield ($context["entry_bad"] ?? null);
yield "&nbsp;
<input type=\"radio\" name=\"rating\" value=\"1\" />
&nbsp;
<input type=\"radio\" name=\"rating\" value=\"2\" />
&nbsp;
<input type=\"radio\" name=\"rating\" value=\"3\" />
&nbsp;
<input type=\"radio\" name=\"rating\" value=\"4\" />
&nbsp;
<input type=\"radio\" name=\"rating\" value=\"5\" />
&nbsp;";
// line 98
yield ($context["entry_good"] ?? null);
yield "</div>
</div>
";
// line 100
yield ($context["captcha"] ?? null);
yield "
<div class=\"buttons clearfix\">
<div class=\"pull-right\">
<button type=\"button\" id=\"button-review\" data-loading-text=\"";
// line 103
yield ($context["text_loading"] ?? null);
yield "\" class=\"btn btn-primary\">";
yield ($context["button_continue"] ?? null);
yield "</button>
</div>
</div>
";
} else {
// line 107
yield " ";
yield ($context["text_login"] ?? null);
yield "
";
}
// line 109
yield " </form>
</div>
";
}
// line 111
yield "</div>
</div>
";
// line 113
if ((($context["column_left"] ?? null) || ($context["column_right"] ?? null))) {
// line 114
yield " ";
$context["class"] = "col-sm-6";
// line 115
yield " ";
} else {
// line 116
yield " ";
$context["class"] = "col-sm-4";
// line 117
yield " ";
}
// line 118
yield " <div class=\"";
yield ($context["class"] ?? null);
yield "\">
<div class=\"btn-group\">
<button type=\"button\" data-toggle=\"tooltip\" class=\"btn btn-default\" title=\"";
// line 120
yield ($context["button_wishlist"] ?? null);
yield "\" onclick=\"wishlist.add('";
yield ($context["product_id"] ?? null);
yield "');\"><i class=\"fa fa-heart\"></i></button>
<button type=\"button\" data-toggle=\"tooltip\" class=\"btn btn-default\" title=\"";
// line 121
yield ($context["button_compare"] ?? null);
yield "\" onclick=\"compare.add('";
yield ($context["product_id"] ?? null);
yield "');\"><i class=\"fa fa-exchange\"></i></button>
</div>
<h1>";
// line 123
yield ($context["heading_title"] ?? null);
yield "</h1>
<ul class=\"list-unstyled\">
";
// line 125
if (($context["manufacturer"] ?? null)) {
// line 126
yield " <li>";
yield ($context["text_manufacturer"] ?? null);
yield " <a href=\"";
yield ($context["manufacturers"] ?? null);
yield "\">";
yield ($context["manufacturer"] ?? null);
yield "</a></li>
";
}
// line 128
yield " <li>";
yield ($context["text_model"] ?? null);
yield " ";
yield ($context["model"] ?? null);
yield "</li>
";
// line 129
if (($context["reward"] ?? null)) {
// line 130
yield " <li>";
yield ($context["text_reward"] ?? null);
yield " ";
yield ($context["reward"] ?? null);
yield "</li>
";
}
// line 132
yield " <li>";
yield ($context["text_stock"] ?? null);
yield " ";
yield ($context["stock"] ?? null);
yield "</li>
</ul>
";
// line 134
if (($context["price"] ?? null)) {
// line 135
yield " <ul class=\"list-unstyled\">
";
// line 136
if ( !($context["special"] ?? null)) {
// line 137
yield " <li>
<h2>";
// line 138
yield ($context["price"] ?? null);
yield "</h2>
</li>
";
} else {
// line 141
yield " <li><span style=\"text-decoration: line-through;\">";
yield ($context["price"] ?? null);
yield "</span></li>
<li>
<h2>";
// line 143
yield ($context["special"] ?? null);
yield "</h2>
</li>
";
}
// line 146
yield " ";
if (($context["tax"] ?? null)) {
// line 147
yield " <li>";
yield ($context["text_tax"] ?? null);
yield " ";
yield ($context["tax"] ?? null);
yield "</li>
";
}
// line 149
yield " ";
if (($context["points"] ?? null)) {
// line 150
yield " <li>";
yield ($context["text_points"] ?? null);
yield " ";
yield ($context["points"] ?? null);
yield "</li>
";
}
// line 152
yield " ";
if (($context["discounts"] ?? null)) {
// line 153
yield " <li>
<hr>
</li>
";
// line 156
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(($context["discounts"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["discount"]) {
// line 157
yield " <li>";
yield CoreExtension::getAttribute($this->env, $this->source, $context["discount"], "quantity", [], "any", false, false, false, 157);
yield ($context["text_discount"] ?? null);
yield CoreExtension::getAttribute($this->env, $this->source, $context["discount"], "price", [], "any", false, false, false, 157);
yield "</li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['discount'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 159
yield " ";
}
// line 160
yield " </ul>
";
}
// line 162
yield " <div id=\"product\"> ";
if (($context["options"] ?? null)) {
// line 163
yield " <hr>
<h3>";
// line 164
yield ($context["text_option"] ?? null);
yield "</h3>
";
// line 165
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(($context["options"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["option"]) {
// line 166
yield " ";
if ((CoreExtension::getAttribute($this->env, $this->source, $context["option"], "type", [], "any", false, false, false, 166) == "select")) {
// line 167
yield " <div class=\"form-group";
if (CoreExtension::getAttribute($this->env, $this->source, $context["option"], "required", [], "any", false, false, false, 167)) {
yield " required ";
}
yield "\">
<label class=\"control-label\" for=\"input-option";
// line 168
yield CoreExtension::getAttribute($this->env, $this->source, $context["option"], "product_option_id", [], "any", false, false, false, 168);
yield "\">";
yield CoreExtension::getAttribute($this->env, $this->source, $context["option"], "name", [], "any", false, false, false, 168);
yield "</label>
<select name=\"option[";
// line 169
yield CoreExtension::getAttribute($this->env, $this->source, $context["option"], "product_option_id", [], "any", false, false, false, 169);
yield "]\" id=\"input-option";
yield CoreExtension::getAttribute($this->env, $this->source, $context["option"], "product_option_id", [], "any", false, false, false, 169);
yield "\" class=\"form-control\">
<option value=\"\">";
// line 170
yield ($context["text_select"] ?? null);
yield "</option>
";
// line 171
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, $context["option"], "product_option_value", [], "any", false, false, false, 171));
foreach ($context['_seq'] as $context["_key"] => $context["option_value"]) {
// line 172
yield " <option value=\"";
yield CoreExtension::getAttribute($this->env, $this->source, $context["option_value"], "product_option_value_id", [], "any", false, false, false, 172);
yield "\">";
yield CoreExtension::getAttribute($this->env, $this->source, $context["option_value"], "name", [], "any", false, false, false, 172);
yield "
";
// line 173
if (CoreExtension::getAttribute($this->env, $this->source, $context["option_value"], "price", [], "any", false, false, false, 173)) {
// line 174
yield " (";
yield CoreExtension::getAttribute($this->env, $this->source, $context["option_value"], "price_prefix", [], "any", false, false, false, 174);
yield CoreExtension::getAttribute($this->env, $this->source, $context["option_value"], "price", [], "any", false, false, false, 174);
yield ")
";
}
// line 175
yield " </option>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['option_value'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 177
yield " </select>
</div>
";
}
// line 180
yield " ";
if ((CoreExtension::getAttribute($this->env, $this->source, $context["option"], "type", [], "any", false, false, false, 180) == "radio")) {
// line 181
yield " <div class=\"form-group";
if (CoreExtension::getAttribute($this->env, $this->source, $context["option"], "required", [], "any", false, false, false, 181)) {
yield " required ";
}
yield "\">
<label class=\"control-label\">";
// line 182
yield CoreExtension::getAttribute($this->env, $this->source, $context["option"], "name", [], "any", false, false, false, 182);
yield "</label>
<div id=\"input-option";
// line 183
yield CoreExtension::getAttribute($this->env, $this->source, $context["option"], "product_option_id", [], "any", false, false, false, 183);
yield "\"> ";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, $context["option"], "product_option_value", [], "any", false, false, false, 183));
foreach ($context['_seq'] as $context["_key"] => $context["option_value"]) {
// line 184
yield " <div class=\"radio\">
<label>
<input type=\"radio\" name=\"option[";
// line 186
yield CoreExtension::getAttribute($this->env, $this->source, $context["option"], "product_option_id", [], "any", false, false, false, 186);
yield "]\" value=\"";
yield CoreExtension::getAttribute($this->env, $this->source, $context["option_value"], "product_option_value_id", [], "any", false, false, false, 186);
yield "\" />
";
// line 187
if (CoreExtension::getAttribute($this->env, $this->source, $context["option_value"], "image", [], "any", false, false, false, 187)) {
yield " <img src=\"";
yield CoreExtension::getAttribute($this->env, $this->source, $context["option_value"], "image", [], "any", false, false, false, 187);
yield "\" alt=\"";
yield CoreExtension::getAttribute($this->env, $this->source, $context["option_value"], "name", [], "any", false, false, false, 187);
yield " ";
if (CoreExtension::getAttribute($this->env, $this->source, $context["option_value"], "price", [], "any", false, false, false, 187)) {
yield " ";
yield CoreExtension::getAttribute($this->env, $this->source, $context["option_value"], "price_prefix", [], "any", false, false, false, 187);
yield " ";
yield CoreExtension::getAttribute($this->env, $this->source, $context["option_value"], "price", [], "any", false, false, false, 187);
yield " ";
}
yield "\" class=\"img-thumbnail\" /> ";
}
yield "
";
// line 188
yield CoreExtension::getAttribute($this->env, $this->source, $context["option_value"], "name", [], "any", false, false, false, 188);
yield "
";
// line 189
if (CoreExtension::getAttribute($this->env, $this->source, $context["option_value"], "price", [], "any", false, false, false, 189)) {
// line 190
yield " (";
yield CoreExtension::getAttribute($this->env, $this->source, $context["option_value"], "price_prefix", [], "any", false, false, false, 190);
yield CoreExtension::getAttribute($this->env, $this->source, $context["option_value"], "price", [], "any", false, false, false, 190);
yield ")
";
}
// line 191
yield " </label>
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['option_value'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 193
yield " </div>
</div>
";
}
// line 196
yield " ";
if ((CoreExtension::getAttribute($this->env, $this->source, $context["option"], "type", [], "any", false, false, false, 196) == "checkbox")) {
// line 197
yield " <div class=\"form-group";
if (CoreExtension::getAttribute($this->env, $this->source, $context["option"], "required", [], "any", false, false, false, 197)) {
yield " required ";
}
yield "\">
<label class=\"control-label\">";
// line 198
yield CoreExtension::getAttribute($this->env, $this->source, $context["option"], "name", [], "any", false, false, false, 198);
yield "</label>
<div id=\"input-option";
// line 199
yield CoreExtension::getAttribute($this->env, $this->source, $context["option"], "product_option_id", [], "any", false, false, false, 199);
yield "\"> ";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, $context["option"], "product_option_value", [], "any", false, false, false, 199));
foreach ($context['_seq'] as $context["_key"] => $context["option_value"]) {
// line 200
yield " <div class=\"checkbox\">
<label>
<input type=\"checkbox\" name=\"option[";
// line 202
yield CoreExtension::getAttribute($this->env, $this->source, $context["option"], "product_option_id", [], "any", false, false, false, 202);
yield "][]\" value=\"";
yield CoreExtension::getAttribute($this->env, $this->source, $context["option_value"], "product_option_value_id", [], "any", false, false, false, 202);
yield "\" />
";
// line 203
if (CoreExtension::getAttribute($this->env, $this->source, $context["option_value"], "image", [], "any", false, false, false, 203)) {
yield " <img src=\"";
yield CoreExtension::getAttribute($this->env, $this->source, $context["option_value"], "image", [], "any", false, false, false, 203);
yield "\" alt=\"";
yield CoreExtension::getAttribute($this->env, $this->source, $context["option_value"], "name", [], "any", false, false, false, 203);
yield " ";
if (CoreExtension::getAttribute($this->env, $this->source, $context["option_value"], "price", [], "any", false, false, false, 203)) {
yield " ";
yield CoreExtension::getAttribute($this->env, $this->source, $context["option_value"], "price_prefix", [], "any", false, false, false, 203);
yield " ";
yield CoreExtension::getAttribute($this->env, $this->source, $context["option_value"], "price", [], "any", false, false, false, 203);
yield " ";
}
yield "\" class=\"img-thumbnail\" /> ";
}
// line 204
yield " ";
yield CoreExtension::getAttribute($this->env, $this->source, $context["option_value"], "name", [], "any", false, false, false, 204);
yield "
";
// line 205
if (CoreExtension::getAttribute($this->env, $this->source, $context["option_value"], "price", [], "any", false, false, false, 205)) {
// line 206
yield " (";
yield CoreExtension::getAttribute($this->env, $this->source, $context["option_value"], "price_prefix", [], "any", false, false, false, 206);
yield CoreExtension::getAttribute($this->env, $this->source, $context["option_value"], "price", [], "any", false, false, false, 206);
yield ")
";
}
// line 207
yield " </label>
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['option_value'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 209
yield " </div>
</div>
";
}
// line 212
yield " ";
if ((CoreExtension::getAttribute($this->env, $this->source, $context["option"], "type", [], "any", false, false, false, 212) == "text")) {
// line 213
yield " <div class=\"form-group";
if (CoreExtension::getAttribute($this->env, $this->source, $context["option"], "required", [], "any", false, false, false, 213)) {
yield " required ";
}
yield "\">
<label class=\"control-label\" for=\"input-option";
// line 214
yield CoreExtension::getAttribute($this->env, $this->source, $context["option"], "product_option_id", [], "any", false, false, false, 214);
yield "\">";
yield CoreExtension::getAttribute($this->env, $this->source, $context["option"], "name", [], "any", false, false, false, 214);
yield "</label>
<input type=\"text\" name=\"option[";
// line 215
yield CoreExtension::getAttribute($this->env, $this->source, $context["option"], "product_option_id", [], "any", false, false, false, 215);
yield "]\" value=\"";
yield CoreExtension::getAttribute($this->env, $this->source, $context["option"], "value", [], "any", false, false, false, 215);
yield "\" placeholder=\"";
yield CoreExtension::getAttribute($this->env, $this->source, $context["option"], "name", [], "any", false, false, false, 215);
yield "\" id=\"input-option";
yield CoreExtension::getAttribute($this->env, $this->source, $context["option"], "product_option_id", [], "any", false, false, false, 215);
yield "\" class=\"form-control\" />
</div>
";
}
// line 218
yield " ";
if ((CoreExtension::getAttribute($this->env, $this->source, $context["option"], "type", [], "any", false, false, false, 218) == "textarea")) {
// line 219
yield " <div class=\"form-group";
if (CoreExtension::getAttribute($this->env, $this->source, $context["option"], "required", [], "any", false, false, false, 219)) {
yield " required ";
}
yield "\">
<label class=\"control-label\" for=\"input-option";
// line 220
yield CoreExtension::getAttribute($this->env, $this->source, $context["option"], "product_option_id", [], "any", false, false, false, 220);
yield "\">";
yield CoreExtension::getAttribute($this->env, $this->source, $context["option"], "name", [], "any", false, false, false, 220);
yield "</label>
<textarea name=\"option[";
// line 221
yield CoreExtension::getAttribute($this->env, $this->source, $context["option"], "product_option_id", [], "any", false, false, false, 221);
yield "]\" rows=\"5\" placeholder=\"";
yield CoreExtension::getAttribute($this->env, $this->source, $context["option"], "name", [], "any", false, false, false, 221);
yield "\" id=\"input-option";
yield CoreExtension::getAttribute($this->env, $this->source, $context["option"], "product_option_id", [], "any", false, false, false, 221);
yield "\" class=\"form-control\">";
yield CoreExtension::getAttribute($this->env, $this->source, $context["option"], "value", [], "any", false, false, false, 221);
yield "</textarea>
</div>
";
}
// line 224
yield " ";
if ((CoreExtension::getAttribute($this->env, $this->source, $context["option"], "type", [], "any", false, false, false, 224) == "file")) {
// line 225
yield " <div class=\"form-group";
if (CoreExtension::getAttribute($this->env, $this->source, $context["option"], "required", [], "any", false, false, false, 225)) {
yield " required ";
}
yield "\">
<label class=\"control-label\">";
// line 226
yield CoreExtension::getAttribute($this->env, $this->source, $context["option"], "name", [], "any", false, false, false, 226);
yield "</label>
<button type=\"button\" id=\"button-upload";
// line 227
yield CoreExtension::getAttribute($this->env, $this->source, $context["option"], "product_option_id", [], "any", false, false, false, 227);
yield "\" data-loading-text=\"";
yield ($context["text_loading"] ?? null);
yield "\" class=\"btn btn-default btn-block\"><i class=\"fa fa-upload\"></i> ";
yield ($context["button_upload"] ?? null);
yield "</button>
<input type=\"hidden\" name=\"option[";
// line 228
yield CoreExtension::getAttribute($this->env, $this->source, $context["option"], "product_option_id", [], "any", false, false, false, 228);
yield "]\" value=\"\" id=\"input-option";
yield CoreExtension::getAttribute($this->env, $this->source, $context["option"], "product_option_id", [], "any", false, false, false, 228);
yield "\" />
</div>
";
}
// line 231
yield " ";
if ((CoreExtension::getAttribute($this->env, $this->source, $context["option"], "type", [], "any", false, false, false, 231) == "date")) {
// line 232
yield " <div class=\"form-group";
if (CoreExtension::getAttribute($this->env, $this->source, $context["option"], "required", [], "any", false, false, false, 232)) {
yield " required ";
}
yield "\">
<label class=\"control-label\" for=\"input-option";
// line 233
yield CoreExtension::getAttribute($this->env, $this->source, $context["option"], "product_option_id", [], "any", false, false, false, 233);
yield "\">";
yield CoreExtension::getAttribute($this->env, $this->source, $context["option"], "name", [], "any", false, false, false, 233);
yield "</label>
<div class=\"input-group date\">
<input type=\"text\" name=\"option[";
// line 235
yield CoreExtension::getAttribute($this->env, $this->source, $context["option"], "product_option_id", [], "any", false, false, false, 235);
yield "]\" value=\"";
yield CoreExtension::getAttribute($this->env, $this->source, $context["option"], "value", [], "any", false, false, false, 235);
yield "\" data-date-format=\"YYYY-MM-DD\" id=\"input-option";
yield CoreExtension::getAttribute($this->env, $this->source, $context["option"], "product_option_id", [], "any", false, false, false, 235);
yield "\" class=\"form-control\" />
<span class=\"input-group-btn\">
<button class=\"btn btn-default\" type=\"button\"><i class=\"fa fa-calendar\"></i></button>
</span></div>
</div>
";
}
// line 241
yield " ";
if ((CoreExtension::getAttribute($this->env, $this->source, $context["option"], "type", [], "any", false, false, false, 241) == "datetime")) {
// line 242
yield " <div class=\"form-group";
if (CoreExtension::getAttribute($this->env, $this->source, $context["option"], "required", [], "any", false, false, false, 242)) {
yield " required ";
}
yield "\">
<label class=\"control-label\" for=\"input-option";
// line 243
yield CoreExtension::getAttribute($this->env, $this->source, $context["option"], "product_option_id", [], "any", false, false, false, 243);
yield "\">";
yield CoreExtension::getAttribute($this->env, $this->source, $context["option"], "name", [], "any", false, false, false, 243);
yield "</label>
<div class=\"input-group datetime\">
<input type=\"text\" name=\"option[";
// line 245
yield CoreExtension::getAttribute($this->env, $this->source, $context["option"], "product_option_id", [], "any", false, false, false, 245);
yield "]\" value=\"";
yield CoreExtension::getAttribute($this->env, $this->source, $context["option"], "value", [], "any", false, false, false, 245);
yield "\" data-date-format=\"YYYY-MM-DD HH:mm\" id=\"input-option";
yield CoreExtension::getAttribute($this->env, $this->source, $context["option"], "product_option_id", [], "any", false, false, false, 245);
yield "\" class=\"form-control\" />
<span class=\"input-group-btn\">
<button type=\"button\" class=\"btn btn-default\"><i class=\"fa fa-calendar\"></i></button>
</span></div>
</div>
";
}
// line 251
yield " ";
if ((CoreExtension::getAttribute($this->env, $this->source, $context["option"], "type", [], "any", false, false, false, 251) == "time")) {
// line 252
yield " <div class=\"form-group";
if (CoreExtension::getAttribute($this->env, $this->source, $context["option"], "required", [], "any", false, false, false, 252)) {
yield " required ";
}
yield "\">
<label class=\"control-label\" for=\"input-option";
// line 253
yield CoreExtension::getAttribute($this->env, $this->source, $context["option"], "product_option_id", [], "any", false, false, false, 253);
yield "\">";
yield CoreExtension::getAttribute($this->env, $this->source, $context["option"], "name", [], "any", false, false, false, 253);
yield "</label>
<div class=\"input-group time\">
<input type=\"text\" name=\"option[";
// line 255
yield CoreExtension::getAttribute($this->env, $this->source, $context["option"], "product_option_id", [], "any", false, false, false, 255);
yield "]\" value=\"";
yield CoreExtension::getAttribute($this->env, $this->source, $context["option"], "value", [], "any", false, false, false, 255);
yield "\" data-date-format=\"HH:mm\" id=\"input-option";
yield CoreExtension::getAttribute($this->env, $this->source, $context["option"], "product_option_id", [], "any", false, false, false, 255);
yield "\" class=\"form-control\" />
<span class=\"input-group-btn\">
<button type=\"button\" class=\"btn btn-default\"><i class=\"fa fa-calendar\"></i></button>
</span></div>
</div>
";
}
// line 261
yield " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['option'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 262
yield " ";
}
// line 263
yield " ";
if (($context["recurrings"] ?? null)) {
// line 264
yield " <hr>
<h3>";
// line 265
yield ($context["text_payment_recurring"] ?? null);
yield "</h3>
<div class=\"form-group required\">
<select name=\"recurring_id\" class=\"form-control\">
<option value=\"\">";
// line 268
yield ($context["text_select"] ?? null);
yield "</option>
";
// line 269
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(($context["recurrings"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["recurring"]) {
// line 270
yield " <option value=\"";
yield CoreExtension::getAttribute($this->env, $this->source, $context["recurring"], "recurring_id", [], "any", false, false, false, 270);
yield "\">";
yield CoreExtension::getAttribute($this->env, $this->source, $context["recurring"], "name", [], "any", false, false, false, 270);
yield "</option>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['recurring'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 272
yield " </select>
<div class=\"help-block\" id=\"recurring-description\"></div>
</div>
";
}
// line 276
yield " <div class=\"form-group\">
<label class=\"control-label\" for=\"input-quantity\">";
// line 277
yield ($context["entry_qty"] ?? null);
yield "</label>
<input type=\"text\" name=\"quantity\" value=\"";
// line 278
yield ($context["minimum"] ?? null);
yield "\" size=\"2\" id=\"input-quantity\" class=\"form-control\" />
<input type=\"hidden\" name=\"product_id\" value=\"";
// line 279
yield ($context["product_id"] ?? null);
yield "\" />
<br />
<button type=\"button\" id=\"button-cart\" data-loading-text=\"";
// line 281
yield ($context["text_loading"] ?? null);
yield "\" class=\"btn btn-primary btn-lg btn-block\">";
yield ($context["button_cart"] ?? null);
yield "</button>
</div>
";
// line 283
if ((($context["minimum"] ?? null) > 1)) {
// line 284
yield " <div class=\"alert alert-info\"><i class=\"fa fa-info-circle\"></i> ";
yield ($context["text_minimum"] ?? null);
yield "</div>
";
}
// line 285
yield "</div>
";
// line 286
if (($context["review_status"] ?? null)) {
// line 287
yield " <div class=\"rating\">
<p>";
// line 288
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(range(1, 5));
foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
// line 289
yield " ";
if ((($context["rating"] ?? null) < $context["i"])) {
yield "<span class=\"fa fa-stack\"><i class=\"fa fa-star-o fa-stack-1x\"></i></span>";
} else {
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>";
}
// line 290
yield " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
yield " <a href=\"\" onclick=\"\$('a[href=\\'#tab-review\\']').trigger('click'); return false;\">";
yield ($context["reviews"] ?? null);
yield "</a> / <a href=\"\" onclick=\"\$('a[href=\\'#tab-review\\']').trigger('click'); return false;\">";
yield ($context["text_write"] ?? null);
yield "</a></p>
<hr>
<!-- AddThis Button BEGIN -->
<div class=\"addthis_toolbox addthis_default_style\" data-url=\"";
// line 293
yield ($context["share"] ?? null);
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>
<script type=\"text/javascript\" src=\"//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-515eeaf54693130e\"></script>
<!-- AddThis Button END -->
</div>
";
}
// line 297
yield " </div>
</div>
";
// line 299
if (($context["products"] ?? null)) {
// line 300
yield " <h3>";
yield ($context["text_related"] ?? null);
yield "</h3>
<div class=\"row\"> ";
// line 301
$context["i"] = 0;
// line 302
yield " ";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(($context["products"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["product"]) {
// line 303
yield " ";
if ((($context["column_left"] ?? null) && ($context["column_right"] ?? null))) {
// line 304
yield " ";
$context["class"] = "col-xs-8 col-sm-6";
// line 305
yield " ";
} elseif ((($context["column_left"] ?? null) || ($context["column_right"] ?? null))) {
// line 306
yield " ";
$context["class"] = "col-xs-6 col-md-4";
// line 307
yield " ";
} else {
// line 308
yield " ";
$context["class"] = "col-xs-6 col-sm-3";
// line 309
yield " ";
}
// line 310
yield " <div class=\"";
yield ($context["class"] ?? null);
yield "\">
<div class=\"product-thumb transition\">
<div class=\"image\"><a href=\"";
// line 312
yield CoreExtension::getAttribute($this->env, $this->source, $context["product"], "href", [], "any", false, false, false, 312);
yield "\"><img src=\"";
yield CoreExtension::getAttribute($this->env, $this->source, $context["product"], "thumb", [], "any", false, false, false, 312);
yield "\" alt=\"";
yield CoreExtension::getAttribute($this->env, $this->source, $context["product"], "name", [], "any", false, false, false, 312);
yield "\" title=\"";
yield CoreExtension::getAttribute($this->env, $this->source, $context["product"], "name", [], "any", false, false, false, 312);
yield "\" class=\"img-responsive\" /></a></div>
<div class=\"caption\">
<h4><a href=\"";
// line 314
yield CoreExtension::getAttribute($this->env, $this->source, $context["product"], "href", [], "any", false, false, false, 314);
yield "\">";
yield CoreExtension::getAttribute($this->env, $this->source, $context["product"], "name", [], "any", false, false, false, 314);
yield "</a></h4>
<p>";
// line 315
yield CoreExtension::getAttribute($this->env, $this->source, $context["product"], "description", [], "any", false, false, false, 315);
yield "</p>
";
// line 316
if (CoreExtension::getAttribute($this->env, $this->source, $context["product"], "rating", [], "any", false, false, false, 316)) {
// line 317
yield " <div class=\"rating\"> ";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(range(1, 5));
foreach ($context['_seq'] as $context["_key"] => $context["j"]) {
// line 318
yield " ";
if ((CoreExtension::getAttribute($this->env, $this->source, $context["product"], "rating", [], "any", false, false, false, 318) < $context["j"])) {
yield " <span class=\"fa fa-stack\"><i class=\"fa fa-star-o fa-stack-1x\"></i></span> ";
} else {
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> ";
}
// line 319
yield " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['j'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
yield " </div>
";
}
// line 321
yield " ";
if (CoreExtension::getAttribute($this->env, $this->source, $context["product"], "price", [], "any", false, false, false, 321)) {
// line 322
yield " <p class=\"price\"> ";
if ( !CoreExtension::getAttribute($this->env, $this->source, $context["product"], "special", [], "any", false, false, false, 322)) {
// line 323
yield " ";
yield CoreExtension::getAttribute($this->env, $this->source, $context["product"], "price", [], "any", false, false, false, 323);
yield "
";
} else {
// line 324
yield " <span class=\"price-new\">";
yield CoreExtension::getAttribute($this->env, $this->source, $context["product"], "special", [], "any", false, false, false, 324);
yield "</span> <span class=\"price-old\">";
yield CoreExtension::getAttribute($this->env, $this->source, $context["product"], "price", [], "any", false, false, false, 324);
yield "</span> ";
}
// line 325
yield " ";
if (CoreExtension::getAttribute($this->env, $this->source, $context["product"], "tax", [], "any", false, false, false, 325)) {
yield " <span class=\"price-tax\">";
yield ($context["text_tax"] ?? null);
yield " ";
yield CoreExtension::getAttribute($this->env, $this->source, $context["product"], "tax", [], "any", false, false, false, 325);
yield "</span> ";
}
yield " </p>
";
}
// line 326
yield " </div>
<div class=\"button-group\">
<button type=\"button\" onclick=\"cart.add('";
// line 328
yield CoreExtension::getAttribute($this->env, $this->source, $context["product"], "product_id", [], "any", false, false, false, 328);
yield "', '";
yield CoreExtension::getAttribute($this->env, $this->source, $context["product"], "minimum", [], "any", false, false, false, 328);
yield "');\"><span class=\"hidden-xs hidden-sm hidden-md\">";
yield ($context["button_cart"] ?? null);
yield "</span> <i class=\"fa fa-shopping-cart\"></i></button>
<button type=\"button\" data-toggle=\"tooltip\" title=\"";
// line 329
yield ($context["button_wishlist"] ?? null);
yield "\" onclick=\"wishlist.add('";
yield CoreExtension::getAttribute($this->env, $this->source, $context["product"], "product_id", [], "any", false, false, false, 329);
yield "');\"><i class=\"fa fa-heart\"></i></button>
<button type=\"button\" data-toggle=\"tooltip\" title=\"";
// line 330
yield ($context["button_compare"] ?? null);
yield "\" onclick=\"compare.add('";
yield CoreExtension::getAttribute($this->env, $this->source, $context["product"], "product_id", [], "any", false, false, false, 330);
yield "');\"><i class=\"fa fa-exchange\"></i></button>
</div>
</div>
</div>
";
// line 334
if (((($context["column_left"] ?? null) && ($context["column_right"] ?? null)) && (((($context["i"] ?? null) + 1) % 2) == 0))) {
// line 335
yield " <div class=\"clearfix visible-md visible-sm\"></div>
";
} elseif (( // line 336
($context["column_left"] ?? null) || (($context["column_right"] ?? null) && (((($context["i"] ?? null) + 1) % 3) == 0)))) {
// line 337
yield " <div class=\"clearfix visible-md\"></div>
";
} elseif (((( // line 338
($context["i"] ?? null) + 1) % 4) == 0)) {
// line 339
yield " <div class=\"clearfix visible-md\"></div>
";
}
// line 341
yield " ";
$context["i"] = (($context["i"] ?? null) + 1);
// line 342
yield " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['product'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
yield " </div>
";
}
// line 344
yield " ";
if (($context["tags"] ?? null)) {
// line 345
yield " <p>";
yield ($context["text_tags"] ?? null);
yield "
";
// line 346
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(range(0, (Twig\Extension\CoreExtension::length($this->env->getCharset(), ($context["tags"] ?? null)) - 1)));
foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
// line 347
yield " ";
if (($context["i"] < (Twig\Extension\CoreExtension::length($this->env->getCharset(), ($context["tags"] ?? null)) - 1))) {
yield " <a href=\"";
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);
yield "\">";
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);
yield "</a>,
";
} else {
// line 348
yield " <a href=\"";
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);
yield "\">";
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);
yield "</a> ";
}
// line 349
yield " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
yield " </p>
";
}
// line 351
yield " ";
yield ($context["content_bottom"] ?? null);
yield "</div>
";
// line 352
yield ($context["column_right"] ?? null);
yield "</div>
</div>
<script type=\"text/javascript\"><!--
\$('select[name=\\'recurring_id\\'], input[name=\"quantity\"]').change(function(){
\t\$.ajax({
\t\turl: 'index.php?route=product/product/getRecurringDescription',
\t\ttype: 'post',
\t\tdata: \$('input[name=\\'product_id\\'], input[name=\\'quantity\\'], select[name=\\'recurring_id\\']'),
\t\tdataType: 'json',
\t\tbeforeSend: function() {
\t\t\t\$('#recurring-description').html('');
\t\t},
\t\tsuccess: function(json) {
\t\t\t\$('.alert-dismissible, .text-danger').remove();
\t\t\tif (json['success']) {
\t\t\t\t\$('#recurring-description').html(json['success']);
\t\t\t}
\t\t}
\t});
});
//--></script>
<script type=\"text/javascript\"><!--
\$('#button-cart').on('click', function() {
\t\$.ajax({
\t\turl: 'index.php?route=checkout/cart/add',
\t\ttype: 'post',
\t\tdata: \$('#product input[type=\\'text\\'], #product input[type=\\'hidden\\'], #product input[type=\\'radio\\']:checked, #product input[type=\\'checkbox\\']:checked, #product select, #product textarea'),
\t\tdataType: 'json',
\t\tbeforeSend: function() {
\t\t\t\$('#button-cart').button('loading');
\t\t},
\t\tcomplete: function() {
\t\t\t\$('#button-cart').button('reset');
\t\t},
\t\tsuccess: function(json) {
\t\t\t\$('.alert-dismissible, .text-danger').remove();
\t\t\t\$('.form-group').removeClass('has-error');
\t\t\tif (json['error']) {
\t\t\t\tif (json['error']['option']) {
\t\t\t\t\tfor (i in json['error']['option']) {
\t\t\t\t\t\tvar element = \$('#input-option' + i.replace('_', '-'));
\t\t\t\t\t\tif (element.parent().hasClass('input-group')) {
\t\t\t\t\t\t\telement.parent().after('<div class=\"text-danger\">' + json['error']['option'][i] + '</div>');
\t\t\t\t\t\t} else {
\t\t\t\t\t\t\telement.after('<div class=\"text-danger\">' + json['error']['option'][i] + '</div>');
\t\t\t\t\t\t}
\t\t\t\t\t}
\t\t\t\t}
\t\t\t\tif (json['error']['recurring']) {
\t\t\t\t\t\$('select[name=\\'recurring_id\\']').after('<div class=\"text-danger\">' + json['error']['recurring'] + '</div>');
\t\t\t\t}
\t\t\t\t// Highlight any found errors
\t\t\t\t\$('.text-danger').parent().addClass('has-error');
\t\t\t}
\t\t\tif (json['success']) {
\t\t\t\t\$('.breadcrumb').after('<div class=\"alert alert-success alert-dismissible\">' + json['success'] + '<button type=\"button\" class=\"close\" data-dismiss=\"alert\">&times;</button></div>');
\t\t\t\t\$('#cart > button').html('<span id=\"cart-total\"><i class=\"fa fa-shopping-cart\"></i> ' + json['total'] + '</span>');
\t\t\t\t\$('html, body').animate({ scrollTop: 0 }, 'slow');
\t\t\t\t\$('#cart > ul').load('index.php?route=common/cart/info ul li');
\t\t\t}
\t\t},
error: function(xhr, ajaxOptions, thrownError) {
alert(thrownError + \"\\r\\n\" + xhr.statusText + \"\\r\\n\" + xhr.responseText);
}
\t});
});
//--></script>
<script type=\"text/javascript\"><!--
\$('.date').datetimepicker({
\tlanguage: '";
// line 430
yield ($context["datepicker"] ?? null);
yield "',
\tpickTime: false
});
\$('.datetime').datetimepicker({
\tlanguage: '";
// line 435
yield ($context["datepicker"] ?? null);
yield "',
\tpickDate: true,
\tpickTime: true
});
\$('.time').datetimepicker({
\tlanguage: '";
// line 441
yield ($context["datepicker"] ?? null);
yield "',
\tpickDate: false
});
\$('button[id^=\\'button-upload\\']').on('click', function() {
\tvar node = this;
\t\$('#form-upload').remove();
\t\$('body').prepend('<form enctype=\"multipart/form-data\" id=\"form-upload\" style=\"display: none;\"><input type=\"file\" name=\"file\" /></form>');
\t\$('#form-upload input[name=\\'file\\']').trigger('click');
\tif (typeof timer != 'undefined') {
\tclearInterval(timer);
\t}
\ttimer = setInterval(function() {
\t\tif (\$('#form-upload input[name=\\'file\\']').val() != '') {
\t\t\tclearInterval(timer);
\t\t\t\$.ajax({
\t\t\t\turl: 'index.php?route=tool/upload',
\t\t\t\ttype: 'post',
\t\t\t\tdataType: 'json',
\t\t\t\tdata: new FormData(\$('#form-upload')[0]),
\t\t\t\tcache: false,
\t\t\t\tcontentType: false,
\t\t\t\tprocessData: false,
\t\t\t\tbeforeSend: function() {
\t\t\t\t\t\$(node).button('loading');
\t\t\t\t},
\t\t\t\tcomplete: function() {
\t\t\t\t\t\$(node).button('reset');
\t\t\t\t},
\t\t\t\tsuccess: function(json) {
\t\t\t\t\t\$('.text-danger').remove();
\t\t\t\t\tif (json['error']) {
\t\t\t\t\t\t\$(node).parent().find('input').after('<div class=\"text-danger\">' + json['error'] + '</div>');
\t\t\t\t\t}
\t\t\t\t\tif (json['success']) {
\t\t\t\t\t\talert(json['success']);
\t\t\t\t\t\t\$(node).parent().find('input').val(json['code']);
\t\t\t\t\t}
\t\t\t\t},
\t\t\t\terror: function(xhr, ajaxOptions, thrownError) {
\t\t\t\t\talert(thrownError + \"\\r\\n\" + xhr.statusText + \"\\r\\n\" + xhr.responseText);
\t\t\t\t}
\t\t\t});
\t\t}
\t}, 500);
});
//--></script>
<script type=\"text/javascript\"><!--
\$('#review').delegate('.pagination a', 'click', function(e) {
e.preventDefault();
\$('#review').fadeOut('slow');
\$('#review').load(this.href);
\$('#review').fadeIn('slow');
});
\$('#review').load('index.php?route=product/product/review&product_id=";
// line 508
yield ($context["product_id"] ?? null);
yield "');
\$('#button-review').on('click', function() {
\t\$.ajax({
\t\turl: 'index.php?route=product/product/write&product_id=";
// line 512
yield ($context["product_id"] ?? null);
yield "',
\t\ttype: 'post',
\t\tdataType: 'json',
\t\tdata: \$(\"#form-review\").serialize(),
\t\tbeforeSend: function() {
\t\t\t\$('#button-review').button('loading');
\t\t},
\t\tcomplete: function() {
\t\t\t\$('#button-review').button('reset');
\t\t},
\t\tsuccess: function(json) {
\t\t\t\$('.alert-dismissible').remove();
\t\t\tif (json['error']) {
\t\t\t\t\$('#review').after('<div class=\"alert alert-danger alert-dismissible\"><i class=\"fa fa-exclamation-circle\"></i> ' + json['error'] + '</div>');
\t\t\t}
\t\t\tif (json['success']) {
\t\t\t\t\$('#review').after('<div class=\"alert alert-success alert-dismissible\"><i class=\"fa fa-check-circle\"></i> ' + json['success'] + '</div>');
\t\t\t\t\$('input[name=\\'name\\']').val('');
\t\t\t\t\$('textarea[name=\\'text\\']').val('');
\t\t\t\t\$('input[name=\\'rating\\']:checked').prop('checked', false);
\t\t\t}
\t\t}
\t});
});
\$(document).ready(function() {
\t\$('.thumbnails').magnificPopup({
\t\ttype:'image',
\t\tdelegate: 'a',
\t\tgallery: {
\t\t\tenabled: true
\t\t}
\t});
});
//--></script>
";
// line 550
yield ($context["footer"] ?? null);
yield "
";
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "default/template/product/product.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("", "default/template/product/product.twig", "");
}
}
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* extension/dashboard/online_info.twig */
class __TwigTemplate_c2587a313ada31f952ee250ece28c036 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
yield "<div class=\"tile tile-primary\">
<div class=\"tile-heading\">";
// line 2
yield ($context["heading_title"] ?? null);
yield "</div>
<div class=\"tile-body\"><i class=\"fa fa-users\"></i>
<h2 class=\"pull-right\">";
// line 4
yield ($context["total"] ?? null);
yield "</h2>
</div>
<div class=\"tile-footer\"><a href=\"";
// line 6
yield ($context["online"] ?? null);
yield "\">";
yield ($context["text_view"] ?? null);
yield "</a></div>
</div>
";
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "extension/dashboard/online_info.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 51 => 6, 46 => 4, 41 => 2, 38 => 1,);
}
public function getSourceContext()
{
return new Source("", "extension/dashboard/online_info.twig", "");
}
}
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* default/template/common/header.twig */
class __TwigTemplate_a0a3e5d711324d164b2e49c5c3b47b6d extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
yield "<!DOCTYPE html>
<!--[if IE]><![endif]-->
<!--[if IE 8 ]><html dir=\"";
// line 3
yield ($context["direction"] ?? null);
yield "\" lang=\"";
yield ($context["lang"] ?? null);
yield "\" class=\"ie8\"><![endif]-->
<!--[if IE 9 ]><html dir=\"";
// line 4
yield ($context["direction"] ?? null);
yield "\" lang=\"";
yield ($context["lang"] ?? null);
yield "\" class=\"ie9\"><![endif]-->
<!--[if (gt IE 9)|!(IE)]><!-->
<html dir=\"";
// line 6
yield ($context["direction"] ?? null);
yield "\" lang=\"";
yield ($context["lang"] ?? null);
yield "\">
<!--<![endif]-->
<head>
<meta charset=\"UTF-8\" />
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">
<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
<title>";
// line 12
yield ($context["title"] ?? null);
yield "</title>
";
// line 13
if (($context["robots"] ?? null)) {
// line 14
yield "<meta name=\"robots\" content=\"";
yield ($context["robots"] ?? null);
yield "\" />
";
}
// line 16
yield "<base href=\"";
yield ($context["base"] ?? null);
yield "\" />
";
// line 17
if (($context["description"] ?? null)) {
// line 18
yield "<meta name=\"description\" content=\"";
yield ($context["description"] ?? null);
yield "\" />
";
}
// line 20
if (($context["keywords"] ?? null)) {
// line 21
yield "<meta name=\"keywords\" content=\"";
yield ($context["keywords"] ?? null);
yield "\" />
";
}
// line 23
yield "<meta property=\"og:title\" content=\"";
yield ($context["title"] ?? null);
yield "\" />
<meta property=\"og:type\" content=\"website\" />
<meta property=\"og:url\" content=\"";
// line 25
yield ($context["og_url"] ?? null);
yield "\" />
";
// line 26
if (($context["og_image"] ?? null)) {
// line 27
yield "<meta property=\"og:image\" content=\"";
yield ($context["og_image"] ?? null);
yield "\" />
";
} else {
// line 29
yield "<meta property=\"og:image\" content=\"";
yield ($context["logo"] ?? null);
yield "\" />
";
}
// line 31
yield "<meta property=\"og:site_name\" content=\"";
yield ($context["name"] ?? null);
yield "\" />
<script src=\"catalog/view/javascript/jquery/jquery-2.1.1.min.js\" type=\"text/javascript\"></script>
<link href=\"catalog/view/javascript/bootstrap/css/bootstrap.min.css\" rel=\"stylesheet\" media=\"screen\" />
<script src=\"catalog/view/javascript/bootstrap/js/bootstrap.min.js\" type=\"text/javascript\"></script>
<link href=\"catalog/view/javascript/font-awesome/css/font-awesome.min.css\" rel=\"stylesheet\" type=\"text/css\" />
<link href=\"//fonts.googleapis.com/css?family=Open+Sans:400,400i,300,700\" rel=\"stylesheet\" type=\"text/css\" />
<link href=\"catalog/view/theme/default/stylesheet/stylesheet.css\" rel=\"stylesheet\">
";
// line 38
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(($context["styles"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["style"]) {
// line 39
yield "<link href=\"";
yield CoreExtension::getAttribute($this->env, $this->source, $context["style"], "href", [], "any", false, false, false, 39);
yield "\" type=\"text/css\" rel=\"";
yield CoreExtension::getAttribute($this->env, $this->source, $context["style"], "rel", [], "any", false, false, false, 39);
yield "\" media=\"";
yield CoreExtension::getAttribute($this->env, $this->source, $context["style"], "media", [], "any", false, false, false, 39);
yield "\" />
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['style'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 41
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(($context["scripts"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["script"]) {
// line 42
yield "<script src=\"";
yield $context["script"];
yield "\" type=\"text/javascript\"></script>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['script'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 44
yield "<script src=\"catalog/view/javascript/common.js\" type=\"text/javascript\"></script>
";
// line 45
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(($context["links"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["link"]) {
// line 46
yield "<link href=\"";
yield CoreExtension::getAttribute($this->env, $this->source, $context["link"], "href", [], "any", false, false, false, 46);
yield "\" rel=\"";
yield CoreExtension::getAttribute($this->env, $this->source, $context["link"], "rel", [], "any", false, false, false, 46);
yield "\" />
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['link'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 48
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(($context["analytics"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["analytic"]) {
// line 49
yield $context["analytic"];
yield "
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['analytic'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 51
yield "</head>
<body>
<nav id=\"top\">
<div class=\"container\">";
// line 54
yield ($context["currency"] ?? null);
yield "
";
// line 55
yield ($context["language"] ?? null);
yield "
\t";
// line 56
yield ($context["blog_menu"] ?? null);
yield "
<div id=\"top-links\" class=\"nav pull-right\">
<ul class=\"list-inline\">
<li><a href=\"";
// line 59
yield ($context["contact"] ?? null);
yield "\"><i class=\"fa fa-phone\"></i></a> <span class=\"hidden-xs hidden-sm hidden-md\">";
yield ($context["telephone"] ?? null);
yield "</span></li>
<li class=\"dropdown\"><a href=\"";
// line 60
yield ($context["account"] ?? null);
yield "\" title=\"";
yield ($context["text_account"] ?? null);
yield "\" class=\"dropdown-toggle\" data-toggle=\"dropdown\"><i class=\"fa fa-user\"></i> <span class=\"hidden-xs hidden-sm hidden-md\">";
yield ($context["text_account"] ?? null);
yield "</span> <span class=\"caret\"></span></a>
<ul class=\"dropdown-menu dropdown-menu-right\">
";
// line 62
if (($context["logged"] ?? null)) {
// line 63
yield " <li><a href=\"";
yield ($context["account"] ?? null);
yield "\">";
yield ($context["text_account"] ?? null);
yield "</a></li>
<li><a href=\"";
// line 64
yield ($context["order"] ?? null);
yield "\">";
yield ($context["text_order"] ?? null);
yield "</a></li>
<li><a href=\"";
// line 65
yield ($context["transaction"] ?? null);
yield "\">";
yield ($context["text_transaction"] ?? null);
yield "</a></li>
<li><a href=\"";
// line 66
yield ($context["download"] ?? null);
yield "\">";
yield ($context["text_download"] ?? null);
yield "</a></li>
<li><a href=\"";
// line 67
yield ($context["logout"] ?? null);
yield "\">";
yield ($context["text_logout"] ?? null);
yield "</a></li>
";
} else {
// line 69
yield " <li><a href=\"";
yield ($context["register"] ?? null);
yield "\">";
yield ($context["text_register"] ?? null);
yield "</a></li>
<li><a href=\"";
// line 70
yield ($context["login"] ?? null);
yield "\">";
yield ($context["text_login"] ?? null);
yield "</a></li>
";
}
// line 72
yield " </ul>
</li>
<li><a href=\"";
// line 74
yield ($context["wishlist"] ?? null);
yield "\" id=\"wishlist-total\" title=\"";
yield ($context["text_wishlist"] ?? null);
yield "\"><i class=\"fa fa-heart\"></i> <span class=\"hidden-xs hidden-sm hidden-md\">";
yield ($context["text_wishlist"] ?? null);
yield "</span></a></li>
<li><a href=\"";
// line 75
yield ($context["shopping_cart"] ?? null);
yield "\" title=\"";
yield ($context["text_shopping_cart"] ?? null);
yield "\"><i class=\"fa fa-shopping-cart\"></i> <span class=\"hidden-xs hidden-sm hidden-md\">";
yield ($context["text_shopping_cart"] ?? null);
yield "</span></a></li>
<li><a href=\"";
// line 76
yield ($context["checkout"] ?? null);
yield "\" title=\"";
yield ($context["text_checkout"] ?? null);
yield "\"><i class=\"fa fa-share\"></i> <span class=\"hidden-xs hidden-sm hidden-md\">";
yield ($context["text_checkout"] ?? null);
yield "</span></a></li>
</ul>
</div>
</div>
</nav>
<header>
<div class=\"container\">
<div class=\"row\">
<div class=\"col-sm-4\">
\t\t<div id=\"logo\">
";
// line 86
if (($context["logo"] ?? null)) {
// line 87
yield " ";
if ((($context["home"] ?? null) == ($context["og_url"] ?? null))) {
// line 88
yield " <img src=\"";
yield ($context["logo"] ?? null);
yield "\" title=\"";
yield ($context["name"] ?? null);
yield "\" alt=\"";
yield ($context["name"] ?? null);
yield "\" class=\"img-responsive\" />
";
} else {
// line 90
yield " <a href=\"";
yield ($context["home"] ?? null);
yield "\"><img src=\"";
yield ($context["logo"] ?? null);
yield "\" title=\"";
yield ($context["name"] ?? null);
yield "\" alt=\"";
yield ($context["name"] ?? null);
yield "\" class=\"img-responsive\" /></a>
";
}
// line 92
yield " ";
} else {
// line 93
yield " <h1><a href=\"";
yield ($context["home"] ?? null);
yield "\">";
yield ($context["name"] ?? null);
yield "</a></h1>
";
}
// line 95
yield "\t\t</div>
</div>
<div class=\"col-sm-5\">";
// line 97
yield ($context["search"] ?? null);
yield "</div>
<div class=\"col-sm-3\">";
// line 98
yield ($context["cart"] ?? null);
yield "</div>
</div>
</div>
</header>
";
// line 102
yield ($context["menu"] ?? null);
yield "
";
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "default/template/common/header.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("", "default/template/common/header.twig", "");
}
}
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* default/template/extension/module/slideshow.twig */
class __TwigTemplate_ab35027df8212c18ad8ffbb836db91a6e82a5061909d9c80c93b2f5753189da7 extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
echo "<div class=\"slideshow swiper-viewport\">
<div id=\"slideshow";
// line 2
echo ($context["module"] ?? null);
echo "\" class=\"swiper-container\">
<div class=\"swiper-wrapper\"> ";
// line 3
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["banners"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["banner"]) {
// line 4
echo " <div class=\"swiper-slide text-center\">";
if (twig_get_attribute($this->env, $this->source, $context["banner"], "link", [], "any", false, false, false, 4)) {
echo "<a href=\"";
echo twig_get_attribute($this->env, $this->source, $context["banner"], "link", [], "any", false, false, false, 4);
echo "\"><img src=\"";
echo twig_get_attribute($this->env, $this->source, $context["banner"], "image", [], "any", false, false, false, 4);
echo "\" alt=\"";
echo twig_get_attribute($this->env, $this->source, $context["banner"], "title", [], "any", false, false, false, 4);
echo "\" class=\"img-responsive\" /></a>";
} else {
echo "<img src=\"";
echo twig_get_attribute($this->env, $this->source, $context["banner"], "image", [], "any", false, false, false, 4);
echo "\" alt=\"";
echo twig_get_attribute($this->env, $this->source, $context["banner"], "title", [], "any", false, false, false, 4);
echo "\" class=\"img-responsive\" />";
}
echo "</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['banner'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 5
echo " </div>
</div>
<div class=\"swiper-pagination slideshow";
// line 7
echo ($context["module"] ?? null);
echo "\"></div>
<div class=\"swiper-pager\">
<div class=\"swiper-button-next\"></div>
<div class=\"swiper-button-prev\"></div>
</div>
</div>
<script type=\"text/javascript\"><!--
\$('#slideshow";
// line 14
echo ($context["module"] ?? null);
echo "').swiper({
\tmode: 'horizontal',
\tslidesPerView: 1,
\tpagination: '.slideshow";
// line 17
echo ($context["module"] ?? null);
echo "',
\tpaginationClickable: true,
\tnextButton: '.slideshow .swiper-button-next',
prevButton: '.slideshow .swiper-button-prev',
spaceBetween: 30,
\tautoplay: 2500,
autoplayDisableOnInteraction: true,
\tloop: true
});
//--></script>";
}
public function getTemplateName()
{
return "default/template/extension/module/slideshow.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 91 => 17, 85 => 14, 75 => 7, 71 => 5, 48 => 4, 44 => 3, 40 => 2, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "default/template/extension/module/slideshow.twig", "");
}
}
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* default/template/extension/module/featured_product.twig */
class __TwigTemplate_687390be2c9733cb697b56dc7b2e989eb85d0e5462d6e63dac1d13726b1aef3f extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
if (($context["products"] ?? null)) {
// line 2
echo "<h3>";
echo ($context["heading_title"] ?? null);
echo "</h3>
<div class=\"row\"> ";
// line 3
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["products"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["product"]) {
// line 4
echo " <div class=\"product-layout col-lg-3 col-md-3 col-sm-6 col-xs-12\">
<div class=\"product-thumb transition\">
<div class=\"image\"><a href=\"";
// line 6
echo twig_get_attribute($this->env, $this->source, $context["product"], "href", [], "any", false, false, false, 6);
echo "\"><img src=\"";
echo twig_get_attribute($this->env, $this->source, $context["product"], "thumb", [], "any", false, false, false, 6);
echo "\" alt=\"";
echo twig_get_attribute($this->env, $this->source, $context["product"], "name", [], "any", false, false, false, 6);
echo "\" title=\"";
echo twig_get_attribute($this->env, $this->source, $context["product"], "name", [], "any", false, false, false, 6);
echo "\" class=\"img-responsive\" /></a></div>
<div class=\"caption\">
<h4><a href=\"";
// line 8
echo twig_get_attribute($this->env, $this->source, $context["product"], "href", [], "any", false, false, false, 8);
echo "\">";
echo twig_get_attribute($this->env, $this->source, $context["product"], "name", [], "any", false, false, false, 8);
echo "</a></h4>
<p>";
// line 9
echo twig_get_attribute($this->env, $this->source, $context["product"], "description", [], "any", false, false, false, 9);
echo "</p>
";
// line 10
if (twig_get_attribute($this->env, $this->source, $context["product"], "rating", [], "any", false, false, false, 10)) {
// line 11
echo " <div class=\"rating\">";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(range(1, 5));
foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
// line 12
echo " ";
if ((twig_get_attribute($this->env, $this->source, $context["product"], "rating", [], "any", false, false, false, 12) < $context["i"])) {
echo " <span class=\"fa fa-stack\"><i class=\"fa fa-star-o fa-stack-2x\"></i></span> ";
} else {
echo " <span class=\"fa fa-stack\"><i class=\"fa fa-star fa-stack-2x\"></i><i class=\"fa fa-star-o fa-stack-2x\"></i></span> ";
}
// line 13
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
echo "</div>
";
}
// line 15
echo " ";
if (twig_get_attribute($this->env, $this->source, $context["product"], "price", [], "any", false, false, false, 15)) {
// line 16
echo " <p class=\"price\"> ";
if ( !twig_get_attribute($this->env, $this->source, $context["product"], "special", [], "any", false, false, false, 16)) {
// line 17
echo " ";
echo twig_get_attribute($this->env, $this->source, $context["product"], "price", [], "any", false, false, false, 17);
echo "
";
} else {
// line 18
echo " <span class=\"price-new\">";
echo twig_get_attribute($this->env, $this->source, $context["product"], "special", [], "any", false, false, false, 18);
echo "</span> <span class=\"price-old\">";
echo twig_get_attribute($this->env, $this->source, $context["product"], "price", [], "any", false, false, false, 18);
echo "</span> ";
}
// line 19
echo " ";
if (twig_get_attribute($this->env, $this->source, $context["product"], "tax", [], "any", false, false, false, 19)) {
echo " <span class=\"price-tax\">";
echo ($context["text_tax"] ?? null);
echo " ";
echo twig_get_attribute($this->env, $this->source, $context["product"], "tax", [], "any", false, false, false, 19);
echo "</span> ";
}
echo " </p>
";
}
// line 20
echo " </div>
<div class=\"button-group\">
<button type=\"button\" onclick=\"cart.add('";
// line 22
echo twig_get_attribute($this->env, $this->source, $context["product"], "product_id", [], "any", false, false, false, 22);
echo "');\"><i class=\"fa fa-shopping-cart\"></i> <span class=\"hidden-xs hidden-sm hidden-md\">";
echo ($context["button_cart"] ?? null);
echo "</span></button>
<button type=\"button\" data-toggle=\"tooltip\" title=\"";
// line 23
echo ($context["button_wishlist"] ?? null);
echo "\" onclick=\"wishlist.add('";
echo twig_get_attribute($this->env, $this->source, $context["product"], "product_id", [], "any", false, false, false, 23);
echo "');\"><i class=\"fa fa-heart\"></i></button>
<button type=\"button\" data-toggle=\"tooltip\" title=\"";
// line 24
echo ($context["button_compare"] ?? null);
echo "\" onclick=\"compare.add('";
echo twig_get_attribute($this->env, $this->source, $context["product"], "product_id", [], "any", false, false, false, 24);
echo "');\"><i class=\"fa fa-exchange\"></i></button>
</div>
</div>
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['product'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 28
echo " </div>
";
}
}
public function getTemplateName()
{
return "default/template/extension/module/featured_product.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("", "default/template/extension/module/featured_product.twig", "");
}
}
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* common/login.twig */
class __TwigTemplate_e125c98d8c90775552816e3e4e44a5b5 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
yield ($context["header"] ?? null);
yield "
<div id=\"content\">
<div class=\"container-fluid\"><br />
<br />
<div class=\"row\">
<div class=\"col-sm-offset-4 col-sm-4\">
<div class=\"panel panel-default\">
<div class=\"panel-heading\">
<h1 class=\"panel-title\"><i class=\"fa fa-lock\"></i> ";
// line 9
yield ($context["text_login"] ?? null);
yield "</h1>
</div>
<div class=\"panel-body\">
";
// line 12
if (($context["success"] ?? null)) {
// line 13
yield " <div class=\"alert alert-success alert-dismissible\"><i class=\"fa fa-check-circle\"></i> ";
yield ($context["success"] ?? null);
yield "
<button type=\"button\" class=\"close\" data-dismiss=\"alert\">&times;</button>
</div>
";
}
// line 17
yield " ";
if (($context["error_warning"] ?? null)) {
// line 18
yield " <div class=\"alert alert-danger alert-dismissible\"><i class=\"fa fa-exclamation-circle\"></i> ";
yield ($context["error_warning"] ?? null);
yield "
<button type=\"button\" class=\"close\" data-dismiss=\"alert\">&times;</button>
</div>
";
}
// line 22
yield " <form action=\"";
yield ($context["action"] ?? null);
yield "\" method=\"post\" enctype=\"multipart/form-data\">
<div class=\"form-group\">
<label for=\"input-username\">";
// line 24
yield ($context["entry_username"] ?? null);
yield "</label>
<div class=\"input-group\"><span class=\"input-group-addon\"><i class=\"fa fa-user\"></i></span>
<input type=\"text\" name=\"username\" value=\"";
// line 26
yield ($context["username"] ?? null);
yield "\" placeholder=\"";
yield ($context["entry_username"] ?? null);
yield "\" id=\"input-username\" class=\"form-control\" />
</div>
</div>
<div class=\"form-group\">
<label for=\"input-password\">";
// line 30
yield ($context["entry_password"] ?? null);
yield "</label>
<div class=\"input-group\"><span class=\"input-group-addon\"><i class=\"fa fa-lock\"></i></span>
<input type=\"password\" name=\"password\" value=\"";
// line 32
yield ($context["password"] ?? null);
yield "\" placeholder=\"";
yield ($context["entry_password"] ?? null);
yield "\" id=\"input-password\" class=\"form-control\" />
</div>
";
// line 34
if (($context["forgotten"] ?? null)) {
// line 35
yield " <span class=\"help-block\"><a href=\"";
yield ($context["forgotten"] ?? null);
yield "\">";
yield ($context["text_forgotten"] ?? null);
yield "</a></span>
";
}
// line 37
yield " </div>
<div class=\"text-right\">
<button type=\"submit\" class=\"btn btn-primary\"><i class=\"fa fa-key\"></i> ";
// line 39
yield ($context["button_login"] ?? null);
yield "</button>
</div>
";
// line 41
if (($context["redirect"] ?? null)) {
// line 42
yield " <input type=\"hidden\" name=\"redirect\" value=\"";
yield ($context["redirect"] ?? null);
yield "\" />
";
}
// line 44
yield " </form>
</div>
</div>
</div>
</div>
</div>
</div>
";
// line 51
yield ($context["footer"] ?? null);
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "common/login.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("", "common/login.twig", "");
}
}
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* default/template/extension/module/carousel.twig */
class __TwigTemplate_170e2614a2a391e7f76aec123a9ae1694070957b148f5428c72dbbf92293c77d extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
echo "<div class=\"carousel swiper-viewport\">
<div id=\"carousel";
// line 2
echo ($context["module"] ?? null);
echo "\" class=\"swiper-container\">
<div class=\"swiper-wrapper\">";
// line 3
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["banners"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["banner"]) {
// line 4
echo " <div class=\"swiper-slide text-center\">";
if (twig_get_attribute($this->env, $this->source, $context["banner"], "link", [], "any", false, false, false, 4)) {
echo "<a href=\"";
echo twig_get_attribute($this->env, $this->source, $context["banner"], "link", [], "any", false, false, false, 4);
echo "\"><img src=\"";
echo twig_get_attribute($this->env, $this->source, $context["banner"], "image", [], "any", false, false, false, 4);
echo "\" alt=\"";
echo twig_get_attribute($this->env, $this->source, $context["banner"], "title", [], "any", false, false, false, 4);
echo "\" class=\"img-responsive\" /></a>";
} else {
echo "<img src=\"";
echo twig_get_attribute($this->env, $this->source, $context["banner"], "image", [], "any", false, false, false, 4);
echo "\" alt=\"";
echo twig_get_attribute($this->env, $this->source, $context["banner"], "title", [], "any", false, false, false, 4);
echo "\" class=\"img-responsive\" />";
}
echo "</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['banner'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 5
echo "</div>
</div>
<div class=\"swiper-pagination carousel";
// line 7
echo ($context["module"] ?? null);
echo "\"></div>
<div class=\"swiper-pager\">
<div class=\"swiper-button-next\"></div>
<div class=\"swiper-button-prev\"></div>
</div>
</div>
<script type=\"text/javascript\"><!--
\$('#carousel";
// line 14
echo ($context["module"] ?? null);
echo "').swiper({
\tmode: 'horizontal',
\tslidesPerView: 5,
\tpagination: '.carousel";
// line 17
echo ($context["module"] ?? null);
echo "',
\tpaginationClickable: true,
\tnextButton: '.carousel .swiper-button-next',
prevButton: '.carousel .swiper-button-prev',
\tautoplay: 2500,
\tloop: true
});
--></script>";
}
public function getTemplateName()
{
return "default/template/extension/module/carousel.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 91 => 17, 85 => 14, 75 => 7, 71 => 5, 48 => 4, 44 => 3, 40 => 2, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "default/template/extension/module/carousel.twig", "");
}
}
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* default/template/common/content_bottom.twig */
class __TwigTemplate_f202e0267a8d078c6cbb0a2295fc4ab7553504c939492901e3d88f96f0cb2700 extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["modules"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["module"]) {
// line 2
echo $context["module"];
echo "
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['module'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
}
public function getTemplateName()
{
return "default/template/common/content_bottom.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 41 => 2, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "default/template/common/content_bottom.twig", "");
}
}
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* default/template/common/menu.twig */
class __TwigTemplate_fcfcb8e05e538f1a0f4724f3e514208f extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
if (($context["categories"] ?? null)) {
// line 2
yield "<div class=\"container\">
<nav id=\"menu\" class=\"navbar\">
<div class=\"navbar-header\"><span id=\"category\" class=\"visible-xs\">";
// line 4
yield ($context["text_category"] ?? null);
yield "</span>
<button type=\"button\" class=\"btn btn-navbar navbar-toggle\" data-toggle=\"collapse\" data-target=\".navbar-ex1-collapse\"><i class=\"fa fa-bars\"></i></button>
</div>
<div class=\"collapse navbar-collapse navbar-ex1-collapse\">
<ul class=\"nav navbar-nav\">
";
// line 9
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(($context["categories"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["category"]) {
// line 10
yield " ";
if (CoreExtension::getAttribute($this->env, $this->source, $context["category"], "children", [], "any", false, false, false, 10)) {
// line 11
yield " <li class=\"dropdown\"><a href=\"";
yield CoreExtension::getAttribute($this->env, $this->source, $context["category"], "href", [], "any", false, false, false, 11);
yield "\" class=\"dropdown-toggle\" data-toggle=\"dropdown\">";
yield CoreExtension::getAttribute($this->env, $this->source, $context["category"], "name", [], "any", false, false, false, 11);
yield "</a>
<div class=\"dropdown-menu\">
<div class=\"dropdown-inner\"> ";
// line 13
$context['_parent'] = $context;
$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"))));
foreach ($context['_seq'] as $context["_key"] => $context["children"]) {
// line 14
yield " <ul class=\"list-unstyled\">
";
// line 15
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable($context["children"]);
foreach ($context['_seq'] as $context["_key"] => $context["child"]) {
// line 16
yield " <li><a href=\"";
yield CoreExtension::getAttribute($this->env, $this->source, $context["child"], "href", [], "any", false, false, false, 16);
yield "\">";
yield CoreExtension::getAttribute($this->env, $this->source, $context["child"], "name", [], "any", false, false, false, 16);
yield "</a></li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['child'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 18
yield " </ul>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['children'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 19
yield "</div>
<a href=\"";
// line 20
yield CoreExtension::getAttribute($this->env, $this->source, $context["category"], "href", [], "any", false, false, false, 20);
yield "\" class=\"see-all\">";
yield ($context["text_all"] ?? null);
yield " ";
yield CoreExtension::getAttribute($this->env, $this->source, $context["category"], "name", [], "any", false, false, false, 20);
yield "</a> </div>
</li>
";
} else {
// line 23
yield " <li><a href=\"";
yield CoreExtension::getAttribute($this->env, $this->source, $context["category"], "href", [], "any", false, false, false, 23);
yield "\">";
yield CoreExtension::getAttribute($this->env, $this->source, $context["category"], "name", [], "any", false, false, false, 23);
yield "</a></li>
";
}
// line 25
yield " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['category'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 26
yield " </ul>
</div>
</nav>
</div>
";
}
// line 30
yield " ";
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "default/template/common/menu.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("", "default/template/common/menu.twig", "");
}
}
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* default/template/product/product.twig */
class __TwigTemplate_2df592099cc848e700d28fb987cb2c527992853cadf8f39f8031dabf1a63e4c0 extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
echo ($context["header"] ?? null);
echo "
<div id=\"product-product\" class=\"container\">
<ul class=\"breadcrumb\">
";
// line 4
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["breadcrumbs"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["breadcrumb"]) {
// line 5
echo " <li><a href=\"";
echo twig_get_attribute($this->env, $this->source, $context["breadcrumb"], "href", [], "any", false, false, false, 5);
echo "\">";
echo twig_get_attribute($this->env, $this->source, $context["breadcrumb"], "text", [], "any", false, false, false, 5);
echo "</a></li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['breadcrumb'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 7
echo " </ul>
<div class=\"row\">";
// line 8
echo ($context["column_left"] ?? null);
echo "
";
// line 9
if ((($context["column_left"] ?? null) && ($context["column_right"] ?? null))) {
// line 10
echo " ";
$context["class"] = "col-sm-6";
// line 11
echo " ";
} elseif ((($context["column_left"] ?? null) || ($context["column_right"] ?? null))) {
// line 12
echo " ";
$context["class"] = "col-sm-9";
// line 13
echo " ";
} else {
// line 14
echo " ";
$context["class"] = "col-sm-12";
// line 15
echo " ";
}
// line 16
echo " <div id=\"content\" class=\"";
echo ($context["class"] ?? null);
echo "\">";
echo ($context["content_top"] ?? null);
echo "
<div class=\"row\"> ";
// line 17
if ((($context["column_left"] ?? null) || ($context["column_right"] ?? null))) {
// line 18
echo " ";
$context["class"] = "col-sm-6";
// line 19
echo " ";
} else {
// line 20
echo " ";
$context["class"] = "col-sm-8";
// line 21
echo " ";
}
// line 22
echo " <div class=\"";
echo ($context["class"] ?? null);
echo "\"> ";
if ((($context["thumb"] ?? null) || ($context["images"] ?? null))) {
// line 23
echo " <ul class=\"thumbnails\">
";
// line 24
if (($context["thumb"] ?? null)) {
// line 25
echo " <li><a class=\"thumbnail\" href=\"";
echo ($context["popup"] ?? null);
echo "\" title=\"";
echo ($context["heading_title"] ?? null);
echo "\"><img src=\"";
echo ($context["thumb"] ?? null);
echo "\" title=\"";
echo ($context["heading_title"] ?? null);
echo "\" alt=\"";
echo ($context["heading_title"] ?? null);
echo "\" /></a></li>
";
}
// line 27
echo " ";
if (($context["images"] ?? null)) {
// line 28
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["images"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["image"]) {
// line 29
echo " <li class=\"image-additional\"><a class=\"thumbnail\" href=\"";
echo twig_get_attribute($this->env, $this->source, $context["image"], "popup", [], "any", false, false, false, 29);
echo "\" title=\"";
echo ($context["heading_title"] ?? null);
echo "\"> <img src=\"";
echo twig_get_attribute($this->env, $this->source, $context["image"], "thumb", [], "any", false, false, false, 29);
echo "\" title=\"";
echo ($context["heading_title"] ?? null);
echo "\" alt=\"";
echo ($context["heading_title"] ?? null);
echo "\" /></a></li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['image'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 31
echo " ";
}
// line 32
echo " </ul>
";
}
// line 34
echo " <ul class=\"nav nav-tabs\">
<li class=\"active\"><a href=\"#tab-description\" data-toggle=\"tab\">";
// line 35
echo ($context["tab_description"] ?? null);
echo "</a></li>
";
// line 36
if (($context["attribute_groups"] ?? null)) {
// line 37
echo " <li><a href=\"#tab-specification\" data-toggle=\"tab\">";
echo ($context["tab_attribute"] ?? null);
echo "</a></li>
";
}
// line 39
echo " ";
if (($context["review_status"] ?? null)) {
// line 40
echo " <li><a href=\"#tab-review\" data-toggle=\"tab\">";
echo ($context["tab_review"] ?? null);
echo "</a></li>
";
}
// line 42
echo " </ul>
<div class=\"tab-content\">
<div class=\"tab-pane active\" id=\"tab-description\">";
// line 44
echo ($context["description"] ?? null);
echo "</div>
";
// line 45
if (($context["attribute_groups"] ?? null)) {
// line 46
echo " <div class=\"tab-pane\" id=\"tab-specification\">
<table class=\"table table-bordered\">
";
// line 48
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["attribute_groups"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["attribute_group"]) {
// line 49
echo " <thead>
<tr>
<td colspan=\"2\"><strong>";
// line 51
echo twig_get_attribute($this->env, $this->source, $context["attribute_group"], "name", [], "any", false, false, false, 51);
echo "</strong></td>
</tr>
</thead>
<tbody>
";
// line 55
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["attribute_group"], "attribute", [], "any", false, false, false, 55));
foreach ($context['_seq'] as $context["_key"] => $context["attribute"]) {
// line 56
echo " <tr>
<td>";
// line 57
echo twig_get_attribute($this->env, $this->source, $context["attribute"], "name", [], "any", false, false, false, 57);
echo "</td>
<td>";
// line 58
echo twig_get_attribute($this->env, $this->source, $context["attribute"], "text", [], "any", false, false, false, 58);
echo "</td>
</tr>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['attribute'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 61
echo " </tbody>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['attribute_group'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 63
echo " </table>
</div>
";
}
// line 66
echo " ";
if (($context["review_status"] ?? null)) {
// line 67
echo " <div class=\"tab-pane\" id=\"tab-review\">
<form class=\"form-horizontal\" id=\"form-review\">
<div id=\"review\"></div>
<h2>";
// line 70
echo ($context["text_write"] ?? null);
echo "</h2>
";
// line 71
if (($context["review_guest"] ?? null)) {
// line 72
echo " <div class=\"form-group required\">
<div class=\"col-sm-12\">
<label class=\"control-label\" for=\"input-name\">";
// line 74
echo ($context["entry_name"] ?? null);
echo "</label>
<input type=\"text\" name=\"name\" value=\"";
// line 75
echo ($context["customer_name"] ?? null);
echo "\" id=\"input-name\" class=\"form-control\" />
</div>
</div>
<div class=\"form-group required\">
<div class=\"col-sm-12\">
<label class=\"control-label\" for=\"input-review\">";
// line 80
echo ($context["entry_review"] ?? null);
echo "</label>
<textarea name=\"text\" rows=\"5\" id=\"input-review\" class=\"form-control\"></textarea>
<div class=\"help-block\">";
// line 82
echo ($context["text_note"] ?? null);
echo "</div>
</div>
</div>
<div class=\"form-group required\">
<div class=\"col-sm-12\">
<label class=\"control-label\">";
// line 87
echo ($context["entry_rating"] ?? null);
echo "</label>
&nbsp;&nbsp;&nbsp; ";
// line 88
echo ($context["entry_bad"] ?? null);
echo "&nbsp;
<input type=\"radio\" name=\"rating\" value=\"1\" />
&nbsp;
<input type=\"radio\" name=\"rating\" value=\"2\" />
&nbsp;
<input type=\"radio\" name=\"rating\" value=\"3\" />
&nbsp;
<input type=\"radio\" name=\"rating\" value=\"4\" />
&nbsp;
<input type=\"radio\" name=\"rating\" value=\"5\" />
&nbsp;";
// line 98
echo ($context["entry_good"] ?? null);
echo "</div>
</div>
";
// line 100
echo ($context["captcha"] ?? null);
echo "
<div class=\"buttons clearfix\">
<div class=\"pull-right\">
<button type=\"button\" id=\"button-review\" data-loading-text=\"";
// line 103
echo ($context["text_loading"] ?? null);
echo "\" class=\"btn btn-primary\">";
echo ($context["button_continue"] ?? null);
echo "</button>
</div>
</div>
";
} else {
// line 107
echo " ";
echo ($context["text_login"] ?? null);
echo "
";
}
// line 109
echo " </form>
</div>
";
}
// line 111
echo "</div>
</div>
";
// line 113
if ((($context["column_left"] ?? null) || ($context["column_right"] ?? null))) {
// line 114
echo " ";
$context["class"] = "col-sm-6";
// line 115
echo " ";
} else {
// line 116
echo " ";
$context["class"] = "col-sm-4";
// line 117
echo " ";
}
// line 118
echo " <div class=\"";
echo ($context["class"] ?? null);
echo "\">
<div class=\"btn-group\">
<button type=\"button\" data-toggle=\"tooltip\" class=\"btn btn-default\" title=\"";
// line 120
echo ($context["button_wishlist"] ?? null);
echo "\" onclick=\"wishlist.add('";
echo ($context["product_id"] ?? null);
echo "');\"><i class=\"fa fa-heart\"></i></button>
<button type=\"button\" data-toggle=\"tooltip\" class=\"btn btn-default\" title=\"";
// line 121
echo ($context["button_compare"] ?? null);
echo "\" onclick=\"compare.add('";
echo ($context["product_id"] ?? null);
echo "');\"><i class=\"fa fa-exchange\"></i></button>
</div>
<h1>";
// line 123
echo ($context["heading_title"] ?? null);
echo "</h1>
<ul class=\"list-unstyled\">
";
// line 125
if (($context["manufacturer"] ?? null)) {
// line 126
echo " <li>";
echo ($context["text_manufacturer"] ?? null);
echo " <a href=\"";
echo ($context["manufacturers"] ?? null);
echo "\">";
echo ($context["manufacturer"] ?? null);
echo "</a></li>
";
}
// line 128
echo " <li>";
echo ($context["text_model"] ?? null);
echo " ";
echo ($context["model"] ?? null);
echo "</li>
";
// line 129
if (($context["reward"] ?? null)) {
// line 130
echo " <li>";
echo ($context["text_reward"] ?? null);
echo " ";
echo ($context["reward"] ?? null);
echo "</li>
";
}
// line 132
echo " <li>";
echo ($context["text_stock"] ?? null);
echo " ";
echo ($context["stock"] ?? null);
echo "</li>
</ul>
";
// line 134
if (($context["price"] ?? null)) {
// line 135
echo " <ul class=\"list-unstyled\">
";
// line 136
if ( !($context["special"] ?? null)) {
// line 137
echo " <li>
<h2>";
// line 138
echo ($context["price"] ?? null);
echo "</h2>
</li>
";
} else {
// line 141
echo " <li><span style=\"text-decoration: line-through;\">";
echo ($context["price"] ?? null);
echo "</span></li>
<li>
<h2>";
// line 143
echo ($context["special"] ?? null);
echo "</h2>
</li>
";
}
// line 146
echo " ";
if (($context["tax"] ?? null)) {
// line 147
echo " <li>";
echo ($context["text_tax"] ?? null);
echo " ";
echo ($context["tax"] ?? null);
echo "</li>
";
}
// line 149
echo " ";
if (($context["points"] ?? null)) {
// line 150
echo " <li>";
echo ($context["text_points"] ?? null);
echo " ";
echo ($context["points"] ?? null);
echo "</li>
";
}
// line 152
echo " ";
if (($context["discounts"] ?? null)) {
// line 153
echo " <li>
<hr>
</li>
";
// line 156
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["discounts"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["discount"]) {
// line 157
echo " <li>";
echo twig_get_attribute($this->env, $this->source, $context["discount"], "quantity", [], "any", false, false, false, 157);
echo ($context["text_discount"] ?? null);
echo twig_get_attribute($this->env, $this->source, $context["discount"], "price", [], "any", false, false, false, 157);
echo "</li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['discount'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 159
echo " ";
}
// line 160
echo " </ul>
";
}
// line 162
echo " <div id=\"product\"> ";
if (($context["options"] ?? null)) {
// line 163
echo " <hr>
<h3>";
// line 164
echo ($context["text_option"] ?? null);
echo "</h3>
";
// line 165
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["options"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["option"]) {
// line 166
echo " ";
if ((twig_get_attribute($this->env, $this->source, $context["option"], "type", [], "any", false, false, false, 166) == "select")) {
// line 167
echo " <div class=\"form-group";
if (twig_get_attribute($this->env, $this->source, $context["option"], "required", [], "any", false, false, false, 167)) {
echo " required ";
}
echo "\">
<label class=\"control-label\" for=\"input-option";
// line 168
echo twig_get_attribute($this->env, $this->source, $context["option"], "product_option_id", [], "any", false, false, false, 168);
echo "\">";
echo twig_get_attribute($this->env, $this->source, $context["option"], "name", [], "any", false, false, false, 168);
echo "</label>
<select name=\"option[";
// line 169
echo twig_get_attribute($this->env, $this->source, $context["option"], "product_option_id", [], "any", false, false, false, 169);
echo "]\" id=\"input-option";
echo twig_get_attribute($this->env, $this->source, $context["option"], "product_option_id", [], "any", false, false, false, 169);
echo "\" class=\"form-control\">
<option value=\"\">";
// line 170
echo ($context["text_select"] ?? null);
echo "</option>
";
// line 171
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["option"], "product_option_value", [], "any", false, false, false, 171));
foreach ($context['_seq'] as $context["_key"] => $context["option_value"]) {
// line 172
echo " <option value=\"";
echo twig_get_attribute($this->env, $this->source, $context["option_value"], "product_option_value_id", [], "any", false, false, false, 172);
echo "\">";
echo twig_get_attribute($this->env, $this->source, $context["option_value"], "name", [], "any", false, false, false, 172);
echo "
";
// line 173
if (twig_get_attribute($this->env, $this->source, $context["option_value"], "price", [], "any", false, false, false, 173)) {
// line 174
echo " (";
echo twig_get_attribute($this->env, $this->source, $context["option_value"], "price_prefix", [], "any", false, false, false, 174);
echo twig_get_attribute($this->env, $this->source, $context["option_value"], "price", [], "any", false, false, false, 174);
echo ")
";
}
// line 175
echo " </option>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['option_value'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 177
echo " </select>
</div>
";
}
// line 180
echo " ";
if ((twig_get_attribute($this->env, $this->source, $context["option"], "type", [], "any", false, false, false, 180) == "radio")) {
// line 181
echo " <div class=\"form-group";
if (twig_get_attribute($this->env, $this->source, $context["option"], "required", [], "any", false, false, false, 181)) {
echo " required ";
}
echo "\">
<label class=\"control-label\">";
// line 182
echo twig_get_attribute($this->env, $this->source, $context["option"], "name", [], "any", false, false, false, 182);
echo "</label>
<div id=\"input-option";
// line 183
echo twig_get_attribute($this->env, $this->source, $context["option"], "product_option_id", [], "any", false, false, false, 183);
echo "\"> ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["option"], "product_option_value", [], "any", false, false, false, 183));
foreach ($context['_seq'] as $context["_key"] => $context["option_value"]) {
// line 184
echo " <div class=\"radio\">
<label>
<input type=\"radio\" name=\"option[";
// line 186
echo twig_get_attribute($this->env, $this->source, $context["option"], "product_option_id", [], "any", false, false, false, 186);
echo "]\" value=\"";
echo twig_get_attribute($this->env, $this->source, $context["option_value"], "product_option_value_id", [], "any", false, false, false, 186);
echo "\" />
";
// line 187
if (twig_get_attribute($this->env, $this->source, $context["option_value"], "image", [], "any", false, false, false, 187)) {
echo " <img src=\"";
echo twig_get_attribute($this->env, $this->source, $context["option_value"], "image", [], "any", false, false, false, 187);
echo "\" alt=\"";
echo twig_get_attribute($this->env, $this->source, $context["option_value"], "name", [], "any", false, false, false, 187);
echo " ";
if (twig_get_attribute($this->env, $this->source, $context["option_value"], "price", [], "any", false, false, false, 187)) {
echo " ";
echo twig_get_attribute($this->env, $this->source, $context["option_value"], "price_prefix", [], "any", false, false, false, 187);
echo " ";
echo twig_get_attribute($this->env, $this->source, $context["option_value"], "price", [], "any", false, false, false, 187);
echo " ";
}
echo "\" class=\"img-thumbnail\" /> ";
}
echo "
";
// line 188
echo twig_get_attribute($this->env, $this->source, $context["option_value"], "name", [], "any", false, false, false, 188);
echo "
";
// line 189
if (twig_get_attribute($this->env, $this->source, $context["option_value"], "price", [], "any", false, false, false, 189)) {
// line 190
echo " (";
echo twig_get_attribute($this->env, $this->source, $context["option_value"], "price_prefix", [], "any", false, false, false, 190);
echo twig_get_attribute($this->env, $this->source, $context["option_value"], "price", [], "any", false, false, false, 190);
echo ")
";
}
// line 191
echo " </label>
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['option_value'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 193
echo " </div>
</div>
";
}
// line 196
echo " ";
if ((twig_get_attribute($this->env, $this->source, $context["option"], "type", [], "any", false, false, false, 196) == "checkbox")) {
// line 197
echo " <div class=\"form-group";
if (twig_get_attribute($this->env, $this->source, $context["option"], "required", [], "any", false, false, false, 197)) {
echo " required ";
}
echo "\">
<label class=\"control-label\">";
// line 198
echo twig_get_attribute($this->env, $this->source, $context["option"], "name", [], "any", false, false, false, 198);
echo "</label>
<div id=\"input-option";
// line 199
echo twig_get_attribute($this->env, $this->source, $context["option"], "product_option_id", [], "any", false, false, false, 199);
echo "\"> ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["option"], "product_option_value", [], "any", false, false, false, 199));
foreach ($context['_seq'] as $context["_key"] => $context["option_value"]) {
// line 200
echo " <div class=\"checkbox\">
<label>
<input type=\"checkbox\" name=\"option[";
// line 202
echo twig_get_attribute($this->env, $this->source, $context["option"], "product_option_id", [], "any", false, false, false, 202);
echo "][]\" value=\"";
echo twig_get_attribute($this->env, $this->source, $context["option_value"], "product_option_value_id", [], "any", false, false, false, 202);
echo "\" />
";
// line 203
if (twig_get_attribute($this->env, $this->source, $context["option_value"], "image", [], "any", false, false, false, 203)) {
echo " <img src=\"";
echo twig_get_attribute($this->env, $this->source, $context["option_value"], "image", [], "any", false, false, false, 203);
echo "\" alt=\"";
echo twig_get_attribute($this->env, $this->source, $context["option_value"], "name", [], "any", false, false, false, 203);
echo " ";
if (twig_get_attribute($this->env, $this->source, $context["option_value"], "price", [], "any", false, false, false, 203)) {
echo " ";
echo twig_get_attribute($this->env, $this->source, $context["option_value"], "price_prefix", [], "any", false, false, false, 203);
echo " ";
echo twig_get_attribute($this->env, $this->source, $context["option_value"], "price", [], "any", false, false, false, 203);
echo " ";
}
echo "\" class=\"img-thumbnail\" /> ";
}
// line 204
echo " ";
echo twig_get_attribute($this->env, $this->source, $context["option_value"], "name", [], "any", false, false, false, 204);
echo "
";
// line 205
if (twig_get_attribute($this->env, $this->source, $context["option_value"], "price", [], "any", false, false, false, 205)) {
// line 206
echo " (";
echo twig_get_attribute($this->env, $this->source, $context["option_value"], "price_prefix", [], "any", false, false, false, 206);
echo twig_get_attribute($this->env, $this->source, $context["option_value"], "price", [], "any", false, false, false, 206);
echo ")
";
}
// line 207
echo " </label>
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['option_value'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 209
echo " </div>
</div>
";
}
// line 212
echo " ";
if ((twig_get_attribute($this->env, $this->source, $context["option"], "type", [], "any", false, false, false, 212) == "text")) {
// line 213
echo " <div class=\"form-group";
if (twig_get_attribute($this->env, $this->source, $context["option"], "required", [], "any", false, false, false, 213)) {
echo " required ";
}
echo "\">
<label class=\"control-label\" for=\"input-option";
// line 214
echo twig_get_attribute($this->env, $this->source, $context["option"], "product_option_id", [], "any", false, false, false, 214);
echo "\">";
echo twig_get_attribute($this->env, $this->source, $context["option"], "name", [], "any", false, false, false, 214);
echo "</label>
<input type=\"text\" name=\"option[";
// line 215
echo twig_get_attribute($this->env, $this->source, $context["option"], "product_option_id", [], "any", false, false, false, 215);
echo "]\" value=\"";
echo twig_get_attribute($this->env, $this->source, $context["option"], "value", [], "any", false, false, false, 215);
echo "\" placeholder=\"";
echo twig_get_attribute($this->env, $this->source, $context["option"], "name", [], "any", false, false, false, 215);
echo "\" id=\"input-option";
echo twig_get_attribute($this->env, $this->source, $context["option"], "product_option_id", [], "any", false, false, false, 215);
echo "\" class=\"form-control\" />
</div>
";
}
// line 218
echo " ";
if ((twig_get_attribute($this->env, $this->source, $context["option"], "type", [], "any", false, false, false, 218) == "textarea")) {
// line 219
echo " <div class=\"form-group";
if (twig_get_attribute($this->env, $this->source, $context["option"], "required", [], "any", false, false, false, 219)) {
echo " required ";
}
echo "\">
<label class=\"control-label\" for=\"input-option";
// line 220
echo twig_get_attribute($this->env, $this->source, $context["option"], "product_option_id", [], "any", false, false, false, 220);
echo "\">";
echo twig_get_attribute($this->env, $this->source, $context["option"], "name", [], "any", false, false, false, 220);
echo "</label>
<textarea name=\"option[";
// line 221
echo twig_get_attribute($this->env, $this->source, $context["option"], "product_option_id", [], "any", false, false, false, 221);
echo "]\" rows=\"5\" placeholder=\"";
echo twig_get_attribute($this->env, $this->source, $context["option"], "name", [], "any", false, false, false, 221);
echo "\" id=\"input-option";
echo twig_get_attribute($this->env, $this->source, $context["option"], "product_option_id", [], "any", false, false, false, 221);
echo "\" class=\"form-control\">";
echo twig_get_attribute($this->env, $this->source, $context["option"], "value", [], "any", false, false, false, 221);
echo "</textarea>
</div>
";
}
// line 224
echo " ";
if ((twig_get_attribute($this->env, $this->source, $context["option"], "type", [], "any", false, false, false, 224) == "file")) {
// line 225
echo " <div class=\"form-group";
if (twig_get_attribute($this->env, $this->source, $context["option"], "required", [], "any", false, false, false, 225)) {
echo " required ";
}
echo "\">
<label class=\"control-label\">";
// line 226
echo twig_get_attribute($this->env, $this->source, $context["option"], "name", [], "any", false, false, false, 226);
echo "</label>
<button type=\"button\" id=\"button-upload";
// line 227
echo twig_get_attribute($this->env, $this->source, $context["option"], "product_option_id", [], "any", false, false, false, 227);
echo "\" data-loading-text=\"";
echo ($context["text_loading"] ?? null);
echo "\" class=\"btn btn-default btn-block\"><i class=\"fa fa-upload\"></i> ";
echo ($context["button_upload"] ?? null);
echo "</button>
<input type=\"hidden\" name=\"option[";
// line 228
echo twig_get_attribute($this->env, $this->source, $context["option"], "product_option_id", [], "any", false, false, false, 228);
echo "]\" value=\"\" id=\"input-option";
echo twig_get_attribute($this->env, $this->source, $context["option"], "product_option_id", [], "any", false, false, false, 228);
echo "\" />
</div>
";
}
// line 231
echo " ";
if ((twig_get_attribute($this->env, $this->source, $context["option"], "type", [], "any", false, false, false, 231) == "date")) {
// line 232
echo " <div class=\"form-group";
if (twig_get_attribute($this->env, $this->source, $context["option"], "required", [], "any", false, false, false, 232)) {
echo " required ";
}
echo "\">
<label class=\"control-label\" for=\"input-option";
// line 233
echo twig_get_attribute($this->env, $this->source, $context["option"], "product_option_id", [], "any", false, false, false, 233);
echo "\">";
echo twig_get_attribute($this->env, $this->source, $context["option"], "name", [], "any", false, false, false, 233);
echo "</label>
<div class=\"input-group date\">
<input type=\"text\" name=\"option[";
// line 235
echo twig_get_attribute($this->env, $this->source, $context["option"], "product_option_id", [], "any", false, false, false, 235);
echo "]\" value=\"";
echo twig_get_attribute($this->env, $this->source, $context["option"], "value", [], "any", false, false, false, 235);
echo "\" data-date-format=\"YYYY-MM-DD\" id=\"input-option";
echo twig_get_attribute($this->env, $this->source, $context["option"], "product_option_id", [], "any", false, false, false, 235);
echo "\" class=\"form-control\" />
<span class=\"input-group-btn\">
<button class=\"btn btn-default\" type=\"button\"><i class=\"fa fa-calendar\"></i></button>
</span></div>
</div>
";
}
// line 241
echo " ";
if ((twig_get_attribute($this->env, $this->source, $context["option"], "type", [], "any", false, false, false, 241) == "datetime")) {
// line 242
echo " <div class=\"form-group";
if (twig_get_attribute($this->env, $this->source, $context["option"], "required", [], "any", false, false, false, 242)) {
echo " required ";
}
echo "\">
<label class=\"control-label\" for=\"input-option";
// line 243
echo twig_get_attribute($this->env, $this->source, $context["option"], "product_option_id", [], "any", false, false, false, 243);
echo "\">";
echo twig_get_attribute($this->env, $this->source, $context["option"], "name", [], "any", false, false, false, 243);
echo "</label>
<div class=\"input-group datetime\">
<input type=\"text\" name=\"option[";
// line 245
echo twig_get_attribute($this->env, $this->source, $context["option"], "product_option_id", [], "any", false, false, false, 245);
echo "]\" value=\"";
echo twig_get_attribute($this->env, $this->source, $context["option"], "value", [], "any", false, false, false, 245);
echo "\" data-date-format=\"YYYY-MM-DD HH:mm\" id=\"input-option";
echo twig_get_attribute($this->env, $this->source, $context["option"], "product_option_id", [], "any", false, false, false, 245);
echo "\" class=\"form-control\" />
<span class=\"input-group-btn\">
<button type=\"button\" class=\"btn btn-default\"><i class=\"fa fa-calendar\"></i></button>
</span></div>
</div>
";
}
// line 251
echo " ";
if ((twig_get_attribute($this->env, $this->source, $context["option"], "type", [], "any", false, false, false, 251) == "time")) {
// line 252
echo " <div class=\"form-group";
if (twig_get_attribute($this->env, $this->source, $context["option"], "required", [], "any", false, false, false, 252)) {
echo " required ";
}
echo "\">
<label class=\"control-label\" for=\"input-option";
// line 253
echo twig_get_attribute($this->env, $this->source, $context["option"], "product_option_id", [], "any", false, false, false, 253);
echo "\">";
echo twig_get_attribute($this->env, $this->source, $context["option"], "name", [], "any", false, false, false, 253);
echo "</label>
<div class=\"input-group time\">
<input type=\"text\" name=\"option[";
// line 255
echo twig_get_attribute($this->env, $this->source, $context["option"], "product_option_id", [], "any", false, false, false, 255);
echo "]\" value=\"";
echo twig_get_attribute($this->env, $this->source, $context["option"], "value", [], "any", false, false, false, 255);
echo "\" data-date-format=\"HH:mm\" id=\"input-option";
echo twig_get_attribute($this->env, $this->source, $context["option"], "product_option_id", [], "any", false, false, false, 255);
echo "\" class=\"form-control\" />
<span class=\"input-group-btn\">
<button type=\"button\" class=\"btn btn-default\"><i class=\"fa fa-calendar\"></i></button>
</span></div>
</div>
";
}
// line 261
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['option'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 262
echo " ";
}
// line 263
echo " ";
if (($context["recurrings"] ?? null)) {
// line 264
echo " <hr>
<h3>";
// line 265
echo ($context["text_payment_recurring"] ?? null);
echo "</h3>
<div class=\"form-group required\">
<select name=\"recurring_id\" class=\"form-control\">
<option value=\"\">";
// line 268
echo ($context["text_select"] ?? null);
echo "</option>
";
// line 269
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["recurrings"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["recurring"]) {
// line 270
echo " <option value=\"";
echo twig_get_attribute($this->env, $this->source, $context["recurring"], "recurring_id", [], "any", false, false, false, 270);
echo "\">";
echo twig_get_attribute($this->env, $this->source, $context["recurring"], "name", [], "any", false, false, false, 270);
echo "</option>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['recurring'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 272
echo " </select>
<div class=\"help-block\" id=\"recurring-description\"></div>
</div>
";
}
// line 276
echo " <div class=\"form-group\">
<label class=\"control-label\" for=\"input-quantity\">";
// line 277
echo ($context["entry_qty"] ?? null);
echo "</label>
<input type=\"text\" name=\"quantity\" value=\"";
// line 278
echo ($context["minimum"] ?? null);
echo "\" size=\"2\" id=\"input-quantity\" class=\"form-control\" />
<input type=\"hidden\" name=\"product_id\" value=\"";
// line 279
echo ($context["product_id"] ?? null);
echo "\" />
<br />
<button type=\"button\" id=\"button-cart\" data-loading-text=\"";
// line 281
echo ($context["text_loading"] ?? null);
echo "\" class=\"btn btn-primary btn-lg btn-block\">";
echo ($context["button_cart"] ?? null);
echo "</button>
</div>
";
// line 283
if ((($context["minimum"] ?? null) > 1)) {
// line 284
echo " <div class=\"alert alert-info\"><i class=\"fa fa-info-circle\"></i> ";
echo ($context["text_minimum"] ?? null);
echo "</div>
";
}
// line 285
echo "</div>
";
// line 286
if (($context["review_status"] ?? null)) {
// line 287
echo " <div class=\"rating\">
<p>";
// line 288
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(range(1, 5));
foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
// line 289
echo " ";
if ((($context["rating"] ?? null) < $context["i"])) {
echo "<span class=\"fa fa-stack\"><i class=\"fa fa-star-o fa-stack-1x\"></i></span>";
} else {
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>";
}
// line 290
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
echo " <a href=\"\" onclick=\"\$('a[href=\\'#tab-review\\']').trigger('click'); return false;\">";
echo ($context["reviews"] ?? null);
echo "</a> / <a href=\"\" onclick=\"\$('a[href=\\'#tab-review\\']').trigger('click'); return false;\">";
echo ($context["text_write"] ?? null);
echo "</a></p>
<hr>
<!-- AddThis Button BEGIN -->
<div class=\"addthis_toolbox addthis_default_style\" data-url=\"";
// line 293
echo ($context["share"] ?? null);
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>
<script type=\"text/javascript\" src=\"//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-515eeaf54693130e\"></script>
<!-- AddThis Button END -->
</div>
";
}
// line 297
echo " </div>
</div>
";
// line 299
if (($context["products"] ?? null)) {
// line 300
echo " <h3>";
echo ($context["text_related"] ?? null);
echo "</h3>
<div class=\"row\"> ";
// line 301
$context["i"] = 0;
// line 302
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["products"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["product"]) {
// line 303
echo " ";
if ((($context["column_left"] ?? null) && ($context["column_right"] ?? null))) {
// line 304
echo " ";
$context["class"] = "col-xs-8 col-sm-6";
// line 305
echo " ";
} elseif ((($context["column_left"] ?? null) || ($context["column_right"] ?? null))) {
// line 306
echo " ";
$context["class"] = "col-xs-6 col-md-4";
// line 307
echo " ";
} else {
// line 308
echo " ";
$context["class"] = "col-xs-6 col-sm-3";
// line 309
echo " ";
}
// line 310
echo " <div class=\"";
echo ($context["class"] ?? null);
echo "\">
<div class=\"product-thumb transition\">
<div class=\"image\"><a href=\"";
// line 312
echo twig_get_attribute($this->env, $this->source, $context["product"], "href", [], "any", false, false, false, 312);
echo "\"><img src=\"";
echo twig_get_attribute($this->env, $this->source, $context["product"], "thumb", [], "any", false, false, false, 312);
echo "\" alt=\"";
echo twig_get_attribute($this->env, $this->source, $context["product"], "name", [], "any", false, false, false, 312);
echo "\" title=\"";
echo twig_get_attribute($this->env, $this->source, $context["product"], "name", [], "any", false, false, false, 312);
echo "\" class=\"img-responsive\" /></a></div>
<div class=\"caption\">
<h4><a href=\"";
// line 314
echo twig_get_attribute($this->env, $this->source, $context["product"], "href", [], "any", false, false, false, 314);
echo "\">";
echo twig_get_attribute($this->env, $this->source, $context["product"], "name", [], "any", false, false, false, 314);
echo "</a></h4>
<p>";
// line 315
echo twig_get_attribute($this->env, $this->source, $context["product"], "description", [], "any", false, false, false, 315);
echo "</p>
";
// line 316
if (twig_get_attribute($this->env, $this->source, $context["product"], "rating", [], "any", false, false, false, 316)) {
// line 317
echo " <div class=\"rating\"> ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(range(1, 5));
foreach ($context['_seq'] as $context["_key"] => $context["j"]) {
// line 318
echo " ";
if ((twig_get_attribute($this->env, $this->source, $context["product"], "rating", [], "any", false, false, false, 318) < $context["j"])) {
echo " <span class=\"fa fa-stack\"><i class=\"fa fa-star-o fa-stack-1x\"></i></span> ";
} else {
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> ";
}
// line 319
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['j'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
echo " </div>
";
}
// line 321
echo " ";
if (twig_get_attribute($this->env, $this->source, $context["product"], "price", [], "any", false, false, false, 321)) {
// line 322
echo " <p class=\"price\"> ";
if ( !twig_get_attribute($this->env, $this->source, $context["product"], "special", [], "any", false, false, false, 322)) {
// line 323
echo " ";
echo twig_get_attribute($this->env, $this->source, $context["product"], "price", [], "any", false, false, false, 323);
echo "
";
} else {
// line 324
echo " <span class=\"price-new\">";
echo twig_get_attribute($this->env, $this->source, $context["product"], "special", [], "any", false, false, false, 324);
echo "</span> <span class=\"price-old\">";
echo twig_get_attribute($this->env, $this->source, $context["product"], "price", [], "any", false, false, false, 324);
echo "</span> ";
}
// line 325
echo " ";
if (twig_get_attribute($this->env, $this->source, $context["product"], "tax", [], "any", false, false, false, 325)) {
echo " <span class=\"price-tax\">";
echo ($context["text_tax"] ?? null);
echo " ";
echo twig_get_attribute($this->env, $this->source, $context["product"], "tax", [], "any", false, false, false, 325);
echo "</span> ";
}
echo " </p>
";
}
// line 326
echo " </div>
<div class=\"button-group\">
<button type=\"button\" onclick=\"cart.add('";
// line 328
echo twig_get_attribute($this->env, $this->source, $context["product"], "product_id", [], "any", false, false, false, 328);
echo "', '";
echo twig_get_attribute($this->env, $this->source, $context["product"], "minimum", [], "any", false, false, false, 328);
echo "');\"><span class=\"hidden-xs hidden-sm hidden-md\">";
echo ($context["button_cart"] ?? null);
echo "</span> <i class=\"fa fa-shopping-cart\"></i></button>
<button type=\"button\" data-toggle=\"tooltip\" title=\"";
// line 329
echo ($context["button_wishlist"] ?? null);
echo "\" onclick=\"wishlist.add('";
echo twig_get_attribute($this->env, $this->source, $context["product"], "product_id", [], "any", false, false, false, 329);
echo "');\"><i class=\"fa fa-heart\"></i></button>
<button type=\"button\" data-toggle=\"tooltip\" title=\"";
// line 330
echo ($context["button_compare"] ?? null);
echo "\" onclick=\"compare.add('";
echo twig_get_attribute($this->env, $this->source, $context["product"], "product_id", [], "any", false, false, false, 330);
echo "');\"><i class=\"fa fa-exchange\"></i></button>
</div>
</div>
</div>
";
// line 334
if (((($context["column_left"] ?? null) && ($context["column_right"] ?? null)) && (((($context["i"] ?? null) + 1) % 2) == 0))) {
// line 335
echo " <div class=\"clearfix visible-md visible-sm\"></div>
";
} elseif (( // line 336
($context["column_left"] ?? null) || (($context["column_right"] ?? null) && (((($context["i"] ?? null) + 1) % 3) == 0)))) {
// line 337
echo " <div class=\"clearfix visible-md\"></div>
";
} elseif (((( // line 338
($context["i"] ?? null) + 1) % 4) == 0)) {
// line 339
echo " <div class=\"clearfix visible-md\"></div>
";
}
// line 341
echo " ";
$context["i"] = (($context["i"] ?? null) + 1);
// line 342
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['product'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
echo " </div>
";
}
// line 344
echo " ";
if (($context["tags"] ?? null)) {
// line 345
echo " <p>";
echo ($context["text_tags"] ?? null);
echo "
";
// line 346
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(range(0, (twig_length_filter($this->env, ($context["tags"] ?? null)) - 1)));
foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
// line 347
echo " ";
if (($context["i"] < (twig_length_filter($this->env, ($context["tags"] ?? null)) - 1))) {
echo " <a href=\"";
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);
echo "\">";
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);
echo "</a>,
";
} else {
// line 348
echo " <a href=\"";
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);
echo "\">";
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);
echo "</a> ";
}
// line 349
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
echo " </p>
";
}
// line 351
echo " ";
echo ($context["content_bottom"] ?? null);
echo "</div>
";
// line 352
echo ($context["column_right"] ?? null);
echo "</div>
</div>
<script type=\"text/javascript\"><!--
\$('select[name=\\'recurring_id\\'], input[name=\"quantity\"]').change(function(){
\t\$.ajax({
\t\turl: 'index.php?route=product/product/getRecurringDescription',
\t\ttype: 'post',
\t\tdata: \$('input[name=\\'product_id\\'], input[name=\\'quantity\\'], select[name=\\'recurring_id\\']'),
\t\tdataType: 'json',
\t\tbeforeSend: function() {
\t\t\t\$('#recurring-description').html('');
\t\t},
\t\tsuccess: function(json) {
\t\t\t\$('.alert-dismissible, .text-danger').remove();
\t\t\tif (json['success']) {
\t\t\t\t\$('#recurring-description').html(json['success']);
\t\t\t}
\t\t}
\t});
});
//--></script>
<script type=\"text/javascript\"><!--
\$('#button-cart').on('click', function() {
\t\$.ajax({
\t\turl: 'index.php?route=checkout/cart/add',
\t\ttype: 'post',
\t\tdata: \$('#product input[type=\\'text\\'], #product input[type=\\'hidden\\'], #product input[type=\\'radio\\']:checked, #product input[type=\\'checkbox\\']:checked, #product select, #product textarea'),
\t\tdataType: 'json',
\t\tbeforeSend: function() {
\t\t\t\$('#button-cart').button('loading');
\t\t},
\t\tcomplete: function() {
\t\t\t\$('#button-cart').button('reset');
\t\t},
\t\tsuccess: function(json) {
\t\t\t\$('.alert-dismissible, .text-danger').remove();
\t\t\t\$('.form-group').removeClass('has-error');
\t\t\tif (json['error']) {
\t\t\t\tif (json['error']['option']) {
\t\t\t\t\tfor (i in json['error']['option']) {
\t\t\t\t\t\tvar element = \$('#input-option' + i.replace('_', '-'));
\t\t\t\t\t\tif (element.parent().hasClass('input-group')) {
\t\t\t\t\t\t\telement.parent().after('<div class=\"text-danger\">' + json['error']['option'][i] + '</div>');
\t\t\t\t\t\t} else {
\t\t\t\t\t\t\telement.after('<div class=\"text-danger\">' + json['error']['option'][i] + '</div>');
\t\t\t\t\t\t}
\t\t\t\t\t}
\t\t\t\t}
\t\t\t\tif (json['error']['recurring']) {
\t\t\t\t\t\$('select[name=\\'recurring_id\\']').after('<div class=\"text-danger\">' + json['error']['recurring'] + '</div>');
\t\t\t\t}
\t\t\t\t// Highlight any found errors
\t\t\t\t\$('.text-danger').parent().addClass('has-error');
\t\t\t}
\t\t\tif (json['success']) {
\t\t\t\t\$('.breadcrumb').after('<div class=\"alert alert-success alert-dismissible\">' + json['success'] + '<button type=\"button\" class=\"close\" data-dismiss=\"alert\">&times;</button></div>');
\t\t\t\t\$('#cart > button').html('<span id=\"cart-total\"><i class=\"fa fa-shopping-cart\"></i> ' + json['total'] + '</span>');
\t\t\t\t\$('html, body').animate({ scrollTop: 0 }, 'slow');
\t\t\t\t\$('#cart > ul').load('index.php?route=common/cart/info ul li');
\t\t\t}
\t\t},
error: function(xhr, ajaxOptions, thrownError) {
alert(thrownError + \"\\r\\n\" + xhr.statusText + \"\\r\\n\" + xhr.responseText);
}
\t});
});
//--></script>
<script type=\"text/javascript\"><!--
\$('.date').datetimepicker({
\tlanguage: '";
// line 430
echo ($context["datepicker"] ?? null);
echo "',
\tpickTime: false
});
\$('.datetime').datetimepicker({
\tlanguage: '";
// line 435
echo ($context["datepicker"] ?? null);
echo "',
\tpickDate: true,
\tpickTime: true
});
\$('.time').datetimepicker({
\tlanguage: '";
// line 441
echo ($context["datepicker"] ?? null);
echo "',
\tpickDate: false
});
\$('button[id^=\\'button-upload\\']').on('click', function() {
\tvar node = this;
\t\$('#form-upload').remove();
\t\$('body').prepend('<form enctype=\"multipart/form-data\" id=\"form-upload\" style=\"display: none;\"><input type=\"file\" name=\"file\" /></form>');
\t\$('#form-upload input[name=\\'file\\']').trigger('click');
\tif (typeof timer != 'undefined') {
\tclearInterval(timer);
\t}
\ttimer = setInterval(function() {
\t\tif (\$('#form-upload input[name=\\'file\\']').val() != '') {
\t\t\tclearInterval(timer);
\t\t\t\$.ajax({
\t\t\t\turl: 'index.php?route=tool/upload',
\t\t\t\ttype: 'post',
\t\t\t\tdataType: 'json',
\t\t\t\tdata: new FormData(\$('#form-upload')[0]),
\t\t\t\tcache: false,
\t\t\t\tcontentType: false,
\t\t\t\tprocessData: false,
\t\t\t\tbeforeSend: function() {
\t\t\t\t\t\$(node).button('loading');
\t\t\t\t},
\t\t\t\tcomplete: function() {
\t\t\t\t\t\$(node).button('reset');
\t\t\t\t},
\t\t\t\tsuccess: function(json) {
\t\t\t\t\t\$('.text-danger').remove();
\t\t\t\t\tif (json['error']) {
\t\t\t\t\t\t\$(node).parent().find('input').after('<div class=\"text-danger\">' + json['error'] + '</div>');
\t\t\t\t\t}
\t\t\t\t\tif (json['success']) {
\t\t\t\t\t\talert(json['success']);
\t\t\t\t\t\t\$(node).parent().find('input').val(json['code']);
\t\t\t\t\t}
\t\t\t\t},
\t\t\t\terror: function(xhr, ajaxOptions, thrownError) {
\t\t\t\t\talert(thrownError + \"\\r\\n\" + xhr.statusText + \"\\r\\n\" + xhr.responseText);
\t\t\t\t}
\t\t\t});
\t\t}
\t}, 500);
});
//--></script>
<script type=\"text/javascript\"><!--
\$('#review').delegate('.pagination a', 'click', function(e) {
e.preventDefault();
\$('#review').fadeOut('slow');
\$('#review').load(this.href);
\$('#review').fadeIn('slow');
});
\$('#review').load('index.php?route=product/product/review&product_id=";
// line 508
echo ($context["product_id"] ?? null);
echo "');
\$('#button-review').on('click', function() {
\t\$.ajax({
\t\turl: 'index.php?route=product/product/write&product_id=";
// line 512
echo ($context["product_id"] ?? null);
echo "',
\t\ttype: 'post',
\t\tdataType: 'json',
\t\tdata: \$(\"#form-review\").serialize(),
\t\tbeforeSend: function() {
\t\t\t\$('#button-review').button('loading');
\t\t},
\t\tcomplete: function() {
\t\t\t\$('#button-review').button('reset');
\t\t},
\t\tsuccess: function(json) {
\t\t\t\$('.alert-dismissible').remove();
\t\t\tif (json['error']) {
\t\t\t\t\$('#review').after('<div class=\"alert alert-danger alert-dismissible\"><i class=\"fa fa-exclamation-circle\"></i> ' + json['error'] + '</div>');
\t\t\t}
\t\t\tif (json['success']) {
\t\t\t\t\$('#review').after('<div class=\"alert alert-success alert-dismissible\"><i class=\"fa fa-check-circle\"></i> ' + json['success'] + '</div>');
\t\t\t\t\$('input[name=\\'name\\']').val('');
\t\t\t\t\$('textarea[name=\\'text\\']').val('');
\t\t\t\t\$('input[name=\\'rating\\']:checked').prop('checked', false);
\t\t\t}
\t\t}
\t});
});
\$(document).ready(function() {
\t\$('.thumbnails').magnificPopup({
\t\ttype:'image',
\t\tdelegate: 'a',
\t\tgallery: {
\t\t\tenabled: true
\t\t}
\t});
});
//--></script>
";
// line 550
echo ($context["footer"] ?? null);
echo "
";
}
public function getTemplateName()
{
return "default/template/product/product.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("", "default/template/product/product.twig", "");
}
}
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* default/template/common/home.twig */
class __TwigTemplate_1844c5db77336d5af78cacecf4799ad4 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
yield ($context["header"] ?? null);
yield "
<div id=\"common-home\" class=\"container\">
<div class=\"row\">";
// line 3
yield ($context["column_left"] ?? null);
yield "
";
// line 4
if ((($context["column_left"] ?? null) && ($context["column_right"] ?? null))) {
// line 5
yield " ";
$context["class"] = "col-sm-6";
// line 6
yield " ";
} elseif ((($context["column_left"] ?? null) || ($context["column_right"] ?? null))) {
// line 7
yield " ";
$context["class"] = "col-sm-9";
// line 8
yield " ";
} else {
// line 9
yield " ";
$context["class"] = "col-sm-12";
// line 10
yield " ";
}
// line 11
yield " <div id=\"content\" class=\"";
yield ($context["class"] ?? null);
yield "\">";
yield ($context["content_top"] ?? null);
yield ($context["content_bottom"] ?? null);
yield "</div>
";
// line 12
yield ($context["column_right"] ?? null);
yield "</div>
</div>
";
// line 14
yield ($context["footer"] ?? null);
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "default/template/common/home.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("", "default/template/common/home.twig", "");
}
}
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* default/template/extension/module/featured_article.twig */
class __TwigTemplate_1923a93651f3aa27aff1bff79ba8ac384784147d162258cb0e25c9591be98266 extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
if (($context["articles"] ?? null)) {
// line 2
echo "<h3>";
echo ($context["heading_title"] ?? null);
echo "</h3>
<div class=\"row\">
";
// line 4
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["articles"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["article"]) {
// line 5
echo " <div class=\"product-layout col-lg-3 col-md-3 col-sm-6 col-xs-12\">
<div class=\"product-thumb transition\">
<div class=\"image\"><a href=\"";
// line 7
echo twig_get_attribute($this->env, $this->source, $context["article"], "href", [], "any", false, false, false, 7);
echo "\"><img src=\"";
echo twig_get_attribute($this->env, $this->source, $context["article"], "thumb", [], "any", false, false, false, 7);
echo "\" alt=\"";
echo twig_get_attribute($this->env, $this->source, $context["article"], "name", [], "any", false, false, false, 7);
echo "\" title=\"";
echo twig_get_attribute($this->env, $this->source, $context["article"], "name", [], "any", false, false, false, 7);
echo "\" class=\"img-responsive\" /></a></div>
<div class=\"caption\">
<h4><a href=\"";
// line 9
echo twig_get_attribute($this->env, $this->source, $context["article"], "href", [], "any", false, false, false, 9);
echo "\">";
echo twig_get_attribute($this->env, $this->source, $context["article"], "name", [], "any", false, false, false, 9);
echo "</a></h4>
<p>";
// line 10
echo twig_get_attribute($this->env, $this->source, $context["article"], "description", [], "any", false, false, false, 10);
echo "</p>
";
// line 11
if (twig_get_attribute($this->env, $this->source, $context["article"], "rating", [], "any", false, false, false, 11)) {
// line 12
echo " <div class=\"rating\">
";
// line 13
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(5);
foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
// line 14
echo " ";
if ((twig_get_attribute($this->env, $this->source, $context["article"], "rating", [], "any", false, false, false, 14) < $context["i"])) {
// line 15
echo " <span class=\"fa fa-stack\"><i class=\"fa fa-star-o fa-stack-2x\"></i></span>
";
} else {
// line 17
echo " <span class=\"fa fa-stack\"><i class=\"fa fa-star fa-stack-2x\"></i><i class=\"fa fa-star-o fa-stack-2x\"></i></span>
";
}
// line 19
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 20
echo " </div>
";
}
// line 22
echo " </div>
\t <div class=\"button-group\">
<button type=\"button\" onclick=\"location.href = ('";
// line 24
echo twig_get_attribute($this->env, $this->source, $context["article"], "href", [], "any", false, false, false, 24);
echo "');\"><i class=\"fa fa-share\"></i> <span class=\"hidden-xs hidden-sm hidden-md\">";
echo ($context["button_more"] ?? null);
echo "</span></button>
<button type=\"button\" data-toggle=\"tooltip\" title=\"";
// line 25
echo twig_get_attribute($this->env, $this->source, $context["article"], "date_added", [], "any", false, false, false, 25);
echo "\" \"><i class=\"fa fa-clock-o\"></i></button>
<button type=\"button\" data-toggle=\"tooltip\" title=\"";
// line 26
echo ($context["text_views"] ?? null);
echo " ";
echo twig_get_attribute($this->env, $this->source, $context["article"], "viewed", [], "any", false, false, false, 26);
echo "\" \"><i class=\"fa fa-eye\"></i></button>
</div>
</div>
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['article'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 31
echo "</div>
";
}
}
public function getTemplateName()
{
return "default/template/extension/module/featured_article.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("", "default/template/extension/module/featured_article.twig", "");
}
}
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* extension/dashboard/map_info.twig */
class __TwigTemplate_61ffba840e61e7d5870a1d3e7864b88b extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
yield "<div class=\"panel panel-default\">
<div class=\"panel-heading\">
<h3 class=\"panel-title\"><i class=\"fa fa-globe\"></i> ";
// line 3
yield ($context["heading_title"] ?? null);
yield "</h3>
</div>
<div class=\"panel-body\">
<div id=\"vmap\" style=\"width: 100%; height: 260px;\"></div>
</div>
</div>
<link type=\"text/css\" href=\"view/javascript/jquery/jqvmap/jqvmap.css\" rel=\"stylesheet\" media=\"screen\" />
<script type=\"text/javascript\" src=\"view/javascript/jquery/jqvmap/jquery.vmap.js\"></script>
<script type=\"text/javascript\" src=\"view/javascript/jquery/jqvmap/maps/jquery.vmap.world.js\"></script>
<script type=\"text/javascript\"><!--
\$(document).ready(function() {
\t\$.ajax({
\t\turl: 'index.php?route=extension/dashboard/map/map&user_token=";
// line 15
yield ($context["user_token"] ?? null);
yield "',
\t\tdataType: 'json',
\t\tsuccess: function(json) {
\t\t\tdata = [];
\t\t\t\t\t\t
\t\t\tfor (i in json) {
\t\t\t\tdata[i] = json[i]['total'];
\t\t\t}
\t\t\t\t\t
\t\t\t\$('#vmap').vectorMap({
\t\t\t\tmap: 'world_en',
\t\t\t\tbackgroundColor: '#FFFFFF',
\t\t\t\tborderColor: '#FFFFFF',
\t\t\t\tcolor: '#9FD5F1',
\t\t\t\thoverOpacity: 0.7,
\t\t\t\tselectedColor: '#666666',
\t\t\t\tenableZoom: true,
\t\t\t\tshowTooltip: true,
\t\t\t\tvalues: data,
\t\t\t\tnormalizeFunction: 'polynomial',
\t\t\t\tonLabelShow: function(event, label, code) {
\t\t\t\t\tif (json[code]) {
\t\t\t\t\t\tlabel.html('<strong>' + label.text() + '</strong><br />' + '";
// line 37
yield ($context["text_order"] ?? null);
yield " ' + json[code]['total'] + '<br />' + '";
yield ($context["text_sale"] ?? null);
yield " ' + json[code]['amount']);
\t\t\t\t\t}
\t\t\t\t}
\t\t\t});\t\t\t
\t\t},
error: function(xhr, ajaxOptions, thrownError) {
alert(thrownError + \"\\r\\n\" + xhr.statusText + \"\\r\\n\" + xhr.responseText);
}
\t});\t\t\t
});
//--></script> ";
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "extension/dashboard/map_info.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 82 => 37, 57 => 15, 42 => 3, 38 => 1,);
}
public function getSourceContext()
{
return new Source("", "extension/dashboard/map_info.twig", "");
}
}
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* default/template/common/currency.twig */
class __TwigTemplate_431ae97ffa013c92f3fa1b70f9705420 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), ($context["currencies"] ?? null)) > 1)) {
// line 2
yield "<div class=\"pull-left\">
<form action=\"";
// line 3
yield ($context["action"] ?? null);
yield "\" method=\"post\" enctype=\"multipart/form-data\" id=\"form-currency\">
<div class=\"btn-group\">
<button class=\"btn btn-link dropdown-toggle\" data-toggle=\"dropdown\">";
// line 5
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(($context["currencies"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["currency"]) {
// line 6
yield " ";
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)))) {
yield " <strong>";
yield CoreExtension::getAttribute($this->env, $this->source, $context["currency"], "symbol_left", [], "any", false, false, false, 6);
yield "</strong> ";
} 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)))) {
yield " <strong>";
yield CoreExtension::getAttribute($this->env, $this->source, $context["currency"], "symbol_right", [], "any", false, false, false, 6);
yield "</strong> ";
}
// line 7
yield " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['currency'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
yield " <span class=\"hidden-xs hidden-sm hidden-md\">";
yield ($context["text_currency"] ?? null);
yield "</span>&nbsp;<i class=\"fa fa-caret-down\"></i></button>
<ul class=\"dropdown-menu\">
";
// line 9
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(($context["currencies"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["currency"]) {
// line 10
yield " ";
if (CoreExtension::getAttribute($this->env, $this->source, $context["currency"], "symbol_left", [], "any", false, false, false, 10)) {
// line 11
yield " <li>
<button class=\"currency-select btn btn-link btn-block\" type=\"button\" name=\"";
// line 12
yield CoreExtension::getAttribute($this->env, $this->source, $context["currency"], "code", [], "any", false, false, false, 12);
yield "\">";
yield CoreExtension::getAttribute($this->env, $this->source, $context["currency"], "symbol_left", [], "any", false, false, false, 12);
yield " ";
yield CoreExtension::getAttribute($this->env, $this->source, $context["currency"], "title", [], "any", false, false, false, 12);
yield "</button>
</li>
";
} else {
// line 15
yield " <li>
<button class=\"currency-select btn btn-link btn-block\" type=\"button\" name=\"";
// line 16
yield CoreExtension::getAttribute($this->env, $this->source, $context["currency"], "code", [], "any", false, false, false, 16);
yield "\">";
yield CoreExtension::getAttribute($this->env, $this->source, $context["currency"], "symbol_right", [], "any", false, false, false, 16);
yield " ";
yield CoreExtension::getAttribute($this->env, $this->source, $context["currency"], "title", [], "any", false, false, false, 16);
yield "</button>
</li>
";
}
// line 19
yield " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['currency'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 20
yield " </ul>
</div>
<input type=\"hidden\" name=\"code\" value=\"\" />
<input type=\"hidden\" name=\"redirect\" value=\"";
// line 23
yield ($context["redirect"] ?? null);
yield "\" />
</form>
</div>
";
}
// line 26
yield " ";
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "default/template/common/currency.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("", "default/template/common/currency.twig", "");
}
}
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* default/template/blog/menu.twig */
class __TwigTemplate_6dd5cd9a0945c304739293977ee8acb8749288c03dc8f0f3a86d7c51f8ecf0b8 extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
echo "\t<div class=\"pull-left\">
\t<div class=\"btn-group\">
<button class=\"btn btn-link dropdown-toggle\" data-toggle=\"dropdown\">
\t<i class=\"fa fa-book\"></i> <span class=\"hidden-xs hidden-sm hidden-md\">";
// line 4
echo ($context["text_blog"] ?? null);
echo "</span> <i class=\"fa fa-caret-down\"></i>
\t</button>
\t<ul class=\"dropdown-menu\">
\t";
// line 7
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["categories"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["category"]) {
// line 8
echo " ";
if (twig_get_attribute($this->env, $this->source, $context["category"], "children", [], "any", false, false, false, 8)) {
// line 9
echo " <li><a href=\"";
echo twig_get_attribute($this->env, $this->source, $context["category"], "href", [], "any", false, false, false, 9);
echo "\">";
echo twig_get_attribute($this->env, $this->source, $context["category"], "name", [], "any", false, false, false, 9);
echo "</a></li>
";
// line 10
$context['_parent'] = $context;
$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"))));
foreach ($context['_seq'] as $context["_key"] => $context["children"]) {
echo "
\t\t\t\t";
// line 11
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable($context["children"]);
foreach ($context['_seq'] as $context["_key"] => $context["child"]) {
// line 12
echo " <li><a href=\"";
echo twig_get_attribute($this->env, $this->source, $context["child"], "href", [], "any", false, false, false, 12);
echo "\"><i class=\"fa fa-angle-right\"></i> ";
echo twig_get_attribute($this->env, $this->source, $context["child"], "name", [], "any", false, false, false, 12);
echo "</a></li>
\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['child'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 14
echo "\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['children'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 15
echo "\t\t";
} else {
// line 16
echo " <li><a href=\"";
echo twig_get_attribute($this->env, $this->source, $context["category"], "href", [], "any", false, false, false, 16);
echo "\">";
echo twig_get_attribute($this->env, $this->source, $context["category"], "name", [], "any", false, false, false, 16);
echo "</a></li>
";
}
// line 18
echo "\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['category'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 19
echo "\t<li><a href=\"";
echo ($context["blog"] ?? null);
echo "\" class=\"see-all\">";
echo ($context["text_all"] ?? null);
echo " ";
echo ($context["text_blog"] ?? null);
echo "</a></li>
\t</ul>
\t</div>
\t</div>";
}
public function getTemplateName()
{
return "default/template/blog/menu.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("", "default/template/blog/menu.twig", "");
}
}
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* default/template/common/currency.twig */
class __TwigTemplate_20f0e5dcbe8c46e8a5dad619c3b05e2ce966d1171dbc7d42efd642144fdb571c extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
if ((twig_length_filter($this->env, ($context["currencies"] ?? null)) > 1)) {
// line 2
echo "<div class=\"pull-left\">
<form action=\"";
// line 3
echo ($context["action"] ?? null);
echo "\" method=\"post\" enctype=\"multipart/form-data\" id=\"form-currency\">
<div class=\"btn-group\">
<button class=\"btn btn-link dropdown-toggle\" data-toggle=\"dropdown\">";
// line 5
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["currencies"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["currency"]) {
// line 6
echo " ";
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)))) {
echo " <strong>";
echo twig_get_attribute($this->env, $this->source, $context["currency"], "symbol_left", [], "any", false, false, false, 6);
echo "</strong> ";
} 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)))) {
echo " <strong>";
echo twig_get_attribute($this->env, $this->source, $context["currency"], "symbol_right", [], "any", false, false, false, 6);
echo "</strong> ";
}
// line 7
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['currency'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
echo " <span class=\"hidden-xs hidden-sm hidden-md\">";
echo ($context["text_currency"] ?? null);
echo "</span>&nbsp;<i class=\"fa fa-caret-down\"></i></button>
<ul class=\"dropdown-menu\">
";
// line 9
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["currencies"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["currency"]) {
// line 10
echo " ";
if (twig_get_attribute($this->env, $this->source, $context["currency"], "symbol_left", [], "any", false, false, false, 10)) {
// line 11
echo " <li>
<button class=\"currency-select btn btn-link btn-block\" type=\"button\" name=\"";
// line 12
echo twig_get_attribute($this->env, $this->source, $context["currency"], "code", [], "any", false, false, false, 12);
echo "\">";
echo twig_get_attribute($this->env, $this->source, $context["currency"], "symbol_left", [], "any", false, false, false, 12);
echo " ";
echo twig_get_attribute($this->env, $this->source, $context["currency"], "title", [], "any", false, false, false, 12);
echo "</button>
</li>
";
} else {
// line 15
echo " <li>
<button class=\"currency-select btn btn-link btn-block\" type=\"button\" name=\"";
// line 16
echo twig_get_attribute($this->env, $this->source, $context["currency"], "code", [], "any", false, false, false, 16);
echo "\">";
echo twig_get_attribute($this->env, $this->source, $context["currency"], "symbol_right", [], "any", false, false, false, 16);
echo " ";
echo twig_get_attribute($this->env, $this->source, $context["currency"], "title", [], "any", false, false, false, 16);
echo "</button>
</li>
";
}
// line 19
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['currency'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 20
echo " </ul>
</div>
<input type=\"hidden\" name=\"code\" value=\"\" />
<input type=\"hidden\" name=\"redirect\" value=\"";
// line 23
echo ($context["redirect"] ?? null);
echo "\" />
</form>
</div>
";
}
// line 26
echo " ";
}
public function getTemplateName()
{
return "default/template/common/currency.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("", "default/template/common/currency.twig", "");
}
}
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* catalog/product_list.twig */
class __TwigTemplate_473d72e946935043f780d4ce105a8119 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
yield ($context["header"] ?? null);
yield ($context["column_left"] ?? null);
yield "
<div id=\"content\">
<div class=\"page-header\">
<div class=\"container-fluid\">
<div class=\"pull-right\">
<button type=\"button\" data-toggle=\"tooltip\" title=\"";
// line 6
yield ($context["button_filter"] ?? null);
yield "\" onclick=\"\$('#filter-product').toggleClass('hidden-sm hidden-xs');\" class=\"btn btn-default hidden-md hidden-lg\"><i class=\"fa fa-filter\"></i></button>
<a href=\"";
// line 7
yield ($context["add"] ?? null);
yield "\" data-toggle=\"tooltip\" title=\"";
yield ($context["button_add"] ?? null);
yield "\" class=\"btn btn-primary\"><i class=\"fa fa-plus\"></i></a>
<button type=\"submit\" form=\"form-product\" formaction=\"";
// line 8
yield ($context["copy"] ?? null);
yield "\" data-toggle=\"tooltip\" title=\"";
yield ($context["button_copy"] ?? null);
yield "\" class=\"btn btn-default\"><i class=\"fa fa-copy\"></i></button>
<button type=\"submit\" form=\"form-product\" formaction=\"";
// line 9
yield ($context["enabled"] ?? null);
yield "\" data-toggle=\"tooltip\" title=\"";
yield ($context["button_enable"] ?? null);
yield "\" class=\"btn btn-default\"><i class=\"fa fa-play\"></i></button>
\t\t<button type=\"submit\" form=\"form-product\" formaction=\"";
// line 10
yield ($context["disabled"] ?? null);
yield "\" data-toggle=\"tooltip\" title=\"";
yield ($context["button_disable"] ?? null);
yield "\" class=\"btn btn-default\"><i class=\"fa fa-pause\"></i></button>
\t\t<button type=\"button\" form=\"form-product\" formaction=\"";
// line 11
yield ($context["delete"] ?? null);
yield "\" data-toggle=\"tooltip\" title=\"";
yield ($context["button_delete"] ?? null);
yield "\" class=\"btn btn-danger\" onclick=\"confirm('";
yield ($context["text_confirm"] ?? null);
yield "') ? \$('#form-product').submit() : false;\"><i class=\"fa fa-trash-o\"></i></button>
</div>
<h1>";
// line 13
yield ($context["heading_title"] ?? null);
yield "</h1>
<ul class=\"breadcrumb\">
";
// line 15
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(($context["breadcrumbs"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["breadcrumb"]) {
// line 16
yield " <li><a href=\"";
yield CoreExtension::getAttribute($this->env, $this->source, $context["breadcrumb"], "href", [], "any", false, false, false, 16);
yield "\">";
yield CoreExtension::getAttribute($this->env, $this->source, $context["breadcrumb"], "text", [], "any", false, false, false, 16);
yield "</a></li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['breadcrumb'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 18
yield " </ul>
</div>
</div>
<div class=\"container-fluid\">";
// line 21
if (($context["error_warning"] ?? null)) {
// line 22
yield " <div class=\"alert alert-danger alert-dismissible\"><i class=\"fa fa-exclamation-circle\"></i> ";
yield ($context["error_warning"] ?? null);
yield "
<button type=\"button\" class=\"close\" data-dismiss=\"alert\">&times;</button>
</div>
";
}
// line 26
yield " ";
if (($context["success"] ?? null)) {
// line 27
yield " <div class=\"alert alert-success alert-dismissible\"><i class=\"fa fa-check-circle\"></i> ";
yield ($context["success"] ?? null);
yield "
<button type=\"button\" class=\"close\" data-dismiss=\"alert\">&times;</button>
</div>
";
}
// line 31
yield " <div class=\"row\">
<div id=\"filter-product\" class=\"col-md-3 col-md-push-9 col-sm-12 hidden-sm hidden-xs\">
<div class=\"panel panel-default\">
<div class=\"panel-heading\">
<h3 class=\"panel-title\"><i class=\"fa fa-filter\"></i> ";
// line 35
yield ($context["text_filter"] ?? null);
yield "</h3>
</div>
<div class=\"panel-body\">
<div class=\"form-group\">
<label class=\"control-label\" for=\"input-name\">";
// line 39
yield ($context["entry_name"] ?? null);
yield "</label>
\t\t\t <div class=\"input-group\">
<input type=\"text\" name=\"filter_name\" value=\"";
// line 41
yield ($context["filter_name"] ?? null);
yield "\" placeholder=\"";
yield ($context["entry_name"] ?? null);
yield "\" id=\"input-name\" class=\"form-control\" />
\t\t\t <div class=\"input-group-btn\">
<button type=\"button\" id=\"button-clear-input-name\" class=\"btn btn-default\"><i class=\"fa fa-times\"></i></button>
\t\t\t</div>
\t\t\t</div>
\t\t\t</div>
<div class=\"form-group\">
<label class=\"control-label\" for=\"input-model\">";
// line 48
yield ($context["entry_model"] ?? null);
yield "</label>
\t\t\t <div class=\"input-group\">
<input type=\"text\" name=\"filter_model\" value=\"";
// line 50
yield ($context["filter_model"] ?? null);
yield "\" placeholder=\"";
yield ($context["entry_model"] ?? null);
yield "\" id=\"input-model\" class=\"form-control\" />
<div class=\"input-group-btn\">
<button type=\"button\" id=\"button-clear-input-model\" class=\"btn btn-default\"><i class=\"fa fa-times\"></i></button>
</div>
\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t<div class=\"form-group\">
<label class=\"control-label\" for=\"input-category-name\">";
// line 57
yield ($context["entry_category"] ?? null);
yield "</label> <label class=\"control-label pull-right\" for=\"input-sub-category\">";
yield ($context["entry_sub_category"] ?? null);
yield " <input type=\"checkbox\" class=\"checkbox-inline\" name=\"filter_sub_category\" id=\"input-sub-category\" class=\"form-control\"";
yield ($context["filter_sub_category"] ?? null);
yield " ";
if (($context["filter_sub_category"] ?? null)) {
yield " checked=\"checked\" ";
}
yield " /></label>
<div class=\"clearfix\"></div>
\t\t\t\t<div class=\"input-group\">
<input type=\"text\" name=\"filter_category_name\" value=\"";
// line 60
yield ($context["filter_category_name"] ?? null);
yield "\" placeholder=\"";
yield ($context["entry_category"] ?? null);
yield "\" id=\"input-category-name\" class=\"form-control\" />
<div class=\"input-group-btn\">
<button type=\"button\" id=\"button-clear-input-category-name\" class=\"btn btn-default\"><i class=\"fa fa-times\"></i></button>
</div>
</div>
<input type=\"hidden\" name=\"filter_category\" value=\"";
// line 65
yield ($context["filter_category"] ?? null);
yield "\" id=\"input-category\" class=\"form-control\" />
</div>
\t\t\t
\t\t\t<div class=\"form-group\">
<label class=\"control-label\" for=\"input-manufacturer-name\">";
// line 69
yield ($context["entry_manufacturer"] ?? null);
yield "</label>
\t\t\t <div class=\"input-group\">
\t\t\t\t<input type=\"text\" name=\"filter_manufacturer_name\" value=\"";
// line 71
yield ($context["filter_manufacturer_name"] ?? null);
yield "\" placeholder=\"";
yield ($context["entry_manufacturer"] ?? null);
yield "\" id=\"input-manufacturer\" class=\"form-control\" />
\t\t\t\t
\t\t\t\t<div class=\"input-group-btn\">
<button type=\"button\" id=\"button-clear-input-manufacturer\" class=\"btn btn-default\"><i class=\"fa fa-times\"></i></button>
\t\t\t\t</div>
\t\t\t\t <input type=\"hidden\" name=\"filter_manufacturer_id\" value=\"";
// line 76
yield ($context["filter_manufacturer_id"] ?? null);
yield "\" id=\"input-manufacturer-id\" class=\"form-control\" />
\t\t\t\t</div>
\t\t\t</div>
\t\t\t\t
\t\t\t<!--
\t\t\t<div class=\"form-group\">
<label class=\"control-label\" for=\"input-manufacturer-name\">";
// line 82
yield ($context["entry_manufacturer"] ?? null);
yield "</label>
<div class=\"input-group\">
<input type=\"text\" name=\"filter_manufacturer_name\" value=\"";
// line 84
yield ($context["filter_manufacturer_name"] ?? null);
yield "\" placeholder=\"";
yield ($context["entry_manufacturer"] ?? null);
yield "\" id=\"input-manufacturer-name\" class=\"form-control\" />
<div class=\"input-group-btn\">
<button type=\"button\" id=\"button-clear-input-manufacturer-name\" class=\"btn btn-default\"><i class=\"fa fa-times\"></i></button>
</div>
</div>
<input type=\"hidden\" name=\"filter_manufacturer\" value=\"";
// line 89
yield ($context["filter_manufacturer_name"] ?? null);
yield "\" id=\"input-manufacturer\" class=\"form-control\" />
</div>
\t\t\t -->
\t\t\t<div class=\"form-group\">
<label class=\"control-label\" for=\"input-price\">";
// line 93
yield ($context["entry_price"] ?? null);
yield "</label>
<div class=\"row\">
<div class=\"col-sm-6\">
<div class=\"input-group\">
<input type=\"text\" name=\"filter_price_min\" value=\"";
// line 97
yield ($context["filter_price_min"] ?? null);
yield "\" placeholder=\"";
yield ($context["entry_min"] ?? null);
yield "\" id=\"input-price-min\" class=\"form-control\" />
<div class=\"input-group-btn\">
<button type=\"button\" id=\"button-clear-input-price-min\" class=\"btn btn-default\"><i class=\"fa fa-times\"></i></button>
</div>
</div>
</div>
<div class=\"col-sm-6 pull-right\">
<div class=\"input-group\">
<input type=\"text\" name=\"filter_price_max\" value=\"";
// line 105
yield ($context["filter_price_max"] ?? null);
yield "\" placeholder=\"";
yield ($context["entry_max"] ?? null);
yield "\" id=\"input-price-max\" class=\"form-control\" />
<div class=\"input-group-btn\">
<button type=\"button\" id=\"button-clear-input-price-max\" class=\"btn btn-default\"><i class=\"fa fa-times\"></i></button>
</div>
</div>
</div>
</div>
\t\t\t</div>
\t\t\t<div class=\"form-group\">
<label class=\"control-label\" for=\"input-quantity\">";
// line 114
yield ($context["entry_quantity"] ?? null);
yield "</label>
<div class=\"row\">
<div class=\"col-sm-6\">
<div class=\"input-group\">
<input type=\"text\" name=\"filter_quantity_min\" value=\"";
// line 118
yield ($context["filter_quantity_min"] ?? null);
yield "\" placeholder=\"";
yield ($context["entry_min"] ?? null);
yield "\" id=\"input-quantity-min\" class=\"form-control\" />
<div class=\"input-group-btn\">
<button type=\"button\" id=\"button-clear-input-quantity-min\" class=\"btn btn-default\"><i class=\"fa fa-times\"></i></button>
</div>
</div>
</div>
<div class=\"col-sm-6 pull-right\">
<div class=\"input-group\">
<input type=\"text\" name=\"filter_quantity_max\" value=\"";
// line 126
yield ($context["filter_quantity_max"] ?? null);
yield "\" placeholder=\"";
yield ($context["entry_max"] ?? null);
yield "\" id=\"input-quantity-max\" class=\"form-control\" />
<div class=\"input-group-btn\">
<button type=\"button\" id=\"button-clear-input-quantity-max\" class=\"btn btn-default\"><i class=\"fa fa-times\"></i></button>
</div>
</div>
</div>
</div>
\t\t\t</div>
<div class=\"form-group\">
<label class=\"control-label\" for=\"input-status\">";
// line 135
yield ($context["entry_status"] ?? null);
yield "</label>
<select name=\"filter_status\" id=\"input-status\" class=\"form-control\">
<option value=\"\"></option>
";
// line 144
if ((($context["filter_status"] ?? null) == "1")) {
// line 145
yield "
<option value=\"1\" selected=\"selected\">";
// line 151
yield ($context["text_enabled"] ?? null);
yield "</option>
";
} else {
// line 159
yield "
<option value=\"1\">";
// line 165
yield ($context["text_enabled"] ?? null);
yield "</option>
";
}
// line 173
yield " ";
if ((($context["filter_status"] ?? null) == "0")) {
// line 174
yield "
<option value=\"0\" selected=\"selected\">";
// line 180
yield ($context["text_disabled"] ?? null);
yield "</option>
";
} else {
// line 188
yield "
<option value=\"0\">";
// line 194
yield ($context["text_disabled"] ?? null);
yield "</option>
";
}
// line 202
yield "
</select>
</div>
\t\t\t<div class=\"form-group\">
<label class=\"control-label\" for=\"input-noindex\">";
// line 212
yield ($context["entry_noindex"] ?? null);
yield "</label>
<select name=\"filter_noindex\" id=\"input-noindex\" class=\"form-control\">
<option value=\"\"></option>
";
// line 215
if ((($context["filter_noindex"] ?? null) == "1")) {
// line 216
yield " <option value=\"1\" selected=\"selected\">";
yield ($context["text_enabled"] ?? null);
yield "</option>
";
} else {
// line 218
yield " <option value=\"1\">";
yield ($context["text_enabled"] ?? null);
yield "</option>
";
}
// line 220
yield " ";
if ((($context["filter_noindex"] ?? null) == "0")) {
// line 221
yield " <option value=\"0\" selected=\"selected\">";
yield ($context["text_disabled"] ?? null);
yield "</option>
";
} else {
// line 223
yield " <option value=\"0\">";
yield ($context["text_disabled"] ?? null);
yield "</option>
";
}
// line 225
yield " </select>
\t\t\t</div>
<div class=\"form-group text-right\">
<button type=\"button\" id=\"button-filter\" class=\"btn btn-default\"><i class=\"fa fa-filter\"></i> ";
// line 228
yield ($context["button_filter"] ?? null);
yield "</button>
\t\t\t <button type=\"button\" id=\"button-clear-filter\" class=\"btn btn-default\"><i class=\"fa fa-times\"></i><span class=\"hidden-sm\"> ";
// line 229
yield ($context["button_clear"] ?? null);
yield "</span></button>
</div>
</div>
</div>
</div>
<div class=\"col-md-9 col-md-pull-3 col-sm-12\">
<div class=\"panel panel-default\">
<div class=\"panel-heading\">
<h3 class=\"panel-title\"><i class=\"fa fa-list\"></i> ";
// line 237
yield ($context["text_list"] ?? null);
yield "</h3>
</div>
<div class=\"panel-body\">
<form action=\"";
// line 240
yield ($context["delete"] ?? null);
yield "\" method=\"post\" enctype=\"multipart/form-data\" id=\"form-product\">
<div class=\"table-responsive\">
<table class=\"table table-bordered table-hover\">
<thead>
<tr>
<td style=\"width: 1px;\" class=\"text-center\"><input type=\"checkbox\" onclick=\"\$('input[name*=\\'selected\\']').prop('checked', this.checked);\" /></td>
<td class=\"text-center\">";
// line 246
yield ($context["column_image"] ?? null);
yield "</td>
<td class=\"text-left\">";
// line 247
if ((($context["sort"] ?? null) == "pd.name")) {
yield " <a href=\"";
yield ($context["sort_name"] ?? null);
yield "\" class=\"";
yield Twig\Extension\CoreExtension::lower($this->env->getCharset(), ($context["order"] ?? null));
yield "\">";
yield ($context["column_name"] ?? null);
yield "</a> ";
} else {
yield " <a href=\"";
yield ($context["sort_name"] ?? null);
yield "\">";
yield ($context["column_name"] ?? null);
yield "</a> ";
}
yield "</td>
<td class=\"text-left\">";
// line 248
if ((($context["sort"] ?? null) == "p.model")) {
yield " <a href=\"";
yield ($context["sort_model"] ?? null);
yield "\" class=\"";
yield Twig\Extension\CoreExtension::lower($this->env->getCharset(), ($context["order"] ?? null));
yield "\">";
yield ($context["column_model"] ?? null);
yield "</a> ";
} else {
yield " <a href=\"";
yield ($context["sort_model"] ?? null);
yield "\">";
yield ($context["column_model"] ?? null);
yield "</a> ";
}
yield "</td>
<td class=\"text-right\">";
// line 249
if ((($context["sort"] ?? null) == "p.price")) {
yield " <a href=\"";
yield ($context["sort_price"] ?? null);
yield "\" class=\"";
yield Twig\Extension\CoreExtension::lower($this->env->getCharset(), ($context["order"] ?? null));
yield "\">";
yield ($context["column_price"] ?? null);
yield "</a> ";
} else {
yield " <a href=\"";
yield ($context["sort_price"] ?? null);
yield "\">";
yield ($context["column_price"] ?? null);
yield "</a> ";
}
yield "</td>
<td class=\"text-right\">";
// line 250
if ((($context["sort"] ?? null) == "p.quantity")) {
yield " <a href=\"";
yield ($context["sort_quantity"] ?? null);
yield "\" class=\"";
yield Twig\Extension\CoreExtension::lower($this->env->getCharset(), ($context["order"] ?? null));
yield "\">";
yield ($context["column_quantity"] ?? null);
yield "</a> ";
} else {
yield " <a href=\"";
yield ($context["sort_quantity"] ?? null);
yield "\">";
yield ($context["column_quantity"] ?? null);
yield "</a> ";
}
yield "</td>
<td class=\"text-left\">";
// line 251
if ((($context["sort"] ?? null) == "p.status")) {
yield " <a href=\"";
yield ($context["sort_status"] ?? null);
yield "\" class=\"";
yield Twig\Extension\CoreExtension::lower($this->env->getCharset(), ($context["order"] ?? null));
yield "\">";
yield ($context["column_status"] ?? null);
yield "</a> ";
} else {
yield " <a href=\"";
yield ($context["sort_status"] ?? null);
yield "\">";
yield ($context["column_status"] ?? null);
yield "</a> ";
}
yield "</td>
<td class=\"text-left\">";
// line 252
if ((($context["sort"] ?? null) == "p.noindex")) {
yield " <a href=\"";
yield ($context["sort_noindex"] ?? null);
yield "\" class=\"";
yield Twig\Extension\CoreExtension::lower($this->env->getCharset(), ($context["order"] ?? null));
yield "\">";
yield ($context["column_noindex"] ?? null);
yield "</a> ";
} else {
yield " <a href=\"";
yield ($context["sort_noindex"] ?? null);
yield "\">";
yield ($context["column_noindex"] ?? null);
yield "</a> ";
}
yield "</td>
\t\t\t\t\t <td class=\"text-right\">";
// line 253
yield ($context["column_action"] ?? null);
yield "</td>
</tr>
</thead>
<tbody>
";
// line 258
if (($context["products"] ?? null)) {
// line 259
yield " ";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(($context["products"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["product"]) {
// line 260
yield " <tr>
<td class=\"text-center\">";
// line 261
if (CoreExtension::inFilter(CoreExtension::getAttribute($this->env, $this->source, $context["product"], "product_id", [], "any", false, false, false, 261), ($context["selected"] ?? null))) {
// line 262
yield " <input type=\"checkbox\" name=\"selected[]\" value=\"";
yield CoreExtension::getAttribute($this->env, $this->source, $context["product"], "product_id", [], "any", false, false, false, 262);
yield "\" checked=\"checked\" />
";
} else {
// line 264
yield " <input type=\"checkbox\" name=\"selected[]\" value=\"";
yield CoreExtension::getAttribute($this->env, $this->source, $context["product"], "product_id", [], "any", false, false, false, 264);
yield "\" />
";
}
// line 265
yield "</td>
<td class=\"text-center\">";
// line 266
if (CoreExtension::getAttribute($this->env, $this->source, $context["product"], "image", [], "any", false, false, false, 266)) {
yield " <img src=\"";
yield CoreExtension::getAttribute($this->env, $this->source, $context["product"], "image", [], "any", false, false, false, 266);
yield "\" alt=\"";
yield CoreExtension::getAttribute($this->env, $this->source, $context["product"], "name", [], "any", false, false, false, 266);
yield "\" class=\"img-thumbnail\" /> ";
} else {
yield " <span class=\"img-thumbnail list\"><i class=\"fa fa-camera fa-2x\"></i></span> ";
}
yield "</td>
<td class=\"text-left\">";
// line 267
yield CoreExtension::getAttribute($this->env, $this->source, $context["product"], "name", [], "any", false, false, false, 267);
yield "</td>
<td class=\"text-left\">";
// line 268
yield CoreExtension::getAttribute($this->env, $this->source, $context["product"], "model", [], "any", false, false, false, 268);
yield "</td>
<td class=\"text-right\">";
// line 269
if (CoreExtension::getAttribute($this->env, $this->source, $context["product"], "special", [], "any", false, false, false, 269)) {
yield " <span style=\"text-decoration: line-through;\">";
yield CoreExtension::getAttribute($this->env, $this->source, $context["product"], "price", [], "any", false, false, false, 269);
yield "</span><br/>
<div class=\"text-danger\">";
// line 270
yield CoreExtension::getAttribute($this->env, $this->source, $context["product"], "special", [], "any", false, false, false, 270);
yield "</div>
";
} else {
// line 272
yield " ";
yield CoreExtension::getAttribute($this->env, $this->source, $context["product"], "price", [], "any", false, false, false, 272);
yield "
";
}
// line 273
yield "</td>
<td class=\"text-right\">";
// line 274
if ((CoreExtension::getAttribute($this->env, $this->source, $context["product"], "quantity", [], "any", false, false, false, 274) <= 0)) {
yield " <span class=\"label label-warning\">";
yield CoreExtension::getAttribute($this->env, $this->source, $context["product"], "quantity", [], "any", false, false, false, 274);
yield "</span> ";
} elseif ((CoreExtension::getAttribute($this->env, $this->source, $context["product"], "quantity", [], "any", false, false, false, 274) <= 5)) {
yield " <span class=\"label label-danger\">";
yield CoreExtension::getAttribute($this->env, $this->source, $context["product"], "quantity", [], "any", false, false, false, 274);
yield "</span> ";
} else {
yield " <span class=\"label label-success\">";
yield CoreExtension::getAttribute($this->env, $this->source, $context["product"], "quantity", [], "any", false, false, false, 274);
yield "</span> ";
}
yield "</td>
<td class=\"text-left\">";
// line 275
yield CoreExtension::getAttribute($this->env, $this->source, $context["product"], "status", [], "any", false, false, false, 275);
yield "</td>
\t\t\t\t\t<td class=\"text-left\">";
// line 276
yield CoreExtension::getAttribute($this->env, $this->source, $context["product"], "noindex", [], "any", false, false, false, 276);
yield "</td>
<td class=\"text-right\">
\t\t\t\t\t\t<a target=\"_blank\" href=\"";
// line 278
yield CoreExtension::getAttribute($this->env, $this->source, $context["product"], "href_shop", [], "any", false, false, false, 278);
yield "\" data-toggle=\"tooltip\" title=\"";
yield ($context["button_shop"] ?? null);
yield "\" class=\"btn btn-success\"><i class=\"fa fa-eye\"></i></a>
\t\t\t\t\t\t<a href=\"";
// line 279
yield CoreExtension::getAttribute($this->env, $this->source, $context["product"], "edit", [], "any", false, false, false, 279);
yield "\" data-toggle=\"tooltip\" title=\"";
yield ($context["button_edit"] ?? null);
yield "\" class=\"btn btn-primary\"><i class=\"fa fa-pencil\"></i></a>
\t\t\t\t\t</td>
</tr>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['product'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 283
yield " ";
} else {
// line 284
yield " <tr>
<td class=\"text-center\" colspan=\"9\">";
// line 285
yield ($context["text_no_results"] ?? null);
yield "</td>
</tr>
";
}
// line 288
yield " </tbody>
</table>
</div>
</form>
<div class=\"row\">
<div class=\"col-sm-6 text-left\">";
// line 294
yield ($context["pagination"] ?? null);
yield "</div>
<div class=\"col-sm-6 text-right\">";
// line 295
yield ($context["results"] ?? null);
yield "</div>
</div>
</div>
</div>
</div>
</div>
</div>
<script type=\"text/javascript\"><!--
\$('#button-filter').on('click', function() {
\tvar url = '';
\tvar filter_name = \$('input[name=\\'filter_name\\']').val();
\tif (filter_name) {
\t\turl += '&filter_name=' + encodeURIComponent(filter_name);
\t}
\tvar filter_model = \$('input[name=\\'filter_model\\']').val();
\tif (filter_model) {
\t\turl += '&filter_model=' + encodeURIComponent(filter_model);
\t}
\tvar filter_price_min = \$('input[name=\\'filter_price_min\\']').val();
\tif (filter_price_min) {
\t\turl += '&filter_price_min=' + encodeURIComponent(filter_price_min);
\t}
\t
\tvar filter_price_max = \$('input[name=\\'filter_price_max\\']').val();
\tif (filter_price_max) {
\t\turl += '&filter_price_max=' + encodeURIComponent(filter_price_max);
\t}
\tvar filter_quantity_min = \$('input[name=\\'filter_quantity_min\\']').val();
\tif (filter_quantity_min) {
\t\turl += '&filter_quantity_min=' + encodeURIComponent(filter_quantity_min);
\t}
\t
\tvar filter_quantity_max = \$('input[name=\\'filter_quantity_max\\']').val();
\tif (filter_quantity_max) {
\t\turl += '&filter_quantity_max=' + encodeURIComponent(filter_quantity_max);
\t}
\tvar filter_status = \$('select[name=\\'filter_status\\']').val();
\tif (filter_status !== '') {
\t\turl += '&filter_status=' + encodeURIComponent(filter_status);
\t}
\t
\tvar filter_category = \$('input[name=\\'filter_category\\']').val();
\tif (filter_category) {
\t\turl += '&filter_category=' + encodeURIComponent(filter_category);
\t}
\t
\tvar filter_sub_category = \$('input[name=\\'filter_sub_category\\']');
\tif (filter_sub_category.prop('checked')) {
\t\turl += '&filter_sub_category';
\t}
\t
\tvar filter_manufacturer_id = \$('input[name=\\'filter_manufacturer_id\\']').val();
\tif (filter_manufacturer_id) {
\t\turl += '&filter_manufacturer_id=' + encodeURIComponent(filter_manufacturer_id);
\t}
\t
\tvar filter_noindex = \$('select[name=\\'filter_noindex\\']').val();
\tif (filter_noindex !== '') {
\t\turl += '&filter_noindex=' + encodeURIComponent(filter_noindex);
\t}
\tlocation = 'index.php?route=catalog/product&user_token=";
// line 364
yield ($context["user_token"] ?? null);
yield "' + url;
});
\$('#button-clear-filter').on('click', function() {
\tlocation = 'index.php?route=catalog/product&user_token=";
// line 367
yield ($context["user_token"] ?? null);
yield "';
});
//--></script>
<script type=\"text/javascript\"><!--
// IE and Edge fix!
\$('button[form=\\'form-product\\']').on('click', function(e) {
\t\$('#form-product').attr('action', \$(this).attr('formaction'));
});
\$('input[name=\\'filter_name\\']').autocomplete({
\t'source': function(request, response) {
\t\t\$.ajax({
\t\t\turl: 'index.php?route=catalog/product/autocomplete&user_token=";
// line 379
yield ($context["user_token"] ?? null);
yield "&filter_name=' + encodeURIComponent(request),
\t\t\tdataType: 'json',
\t\t\tsuccess: function(json) {
\t\t\t\tresponse(\$.map(json, function(item) {
\t\t\t\t\treturn {
\t\t\t\t\t\tlabel: item['name'],
\t\t\t\t\t\tvalue: item['product_id']
\t\t\t\t\t}
\t\t\t\t}));
\t\t\t}
\t\t});
\t},
\t'select': function(item) {
\t\t\$('input[name=\\'filter_name\\']').val(item['label']);
\t}
});
\$('#button-clear-input-name').on('click',function(){
\t\$('input[name=\\'filter_name\\']').val('');
\t\$('#button-filter').trigger('click');
});
\$('input[name=\\'filter_model\\']').autocomplete({
\t'source': function(request, response) {
\t\t\$.ajax({
\t\t\turl: 'index.php?route=catalog/product/autocomplete&user_token=";
// line 403
yield ($context["user_token"] ?? null);
yield "&filter_model=' + encodeURIComponent(request),
\t\t\tdataType: 'json',
\t\t\tsuccess: function(json) {
\t\t\t\tresponse(\$.map(json, function(item) {
\t\t\t\t\treturn {
\t\t\t\t\t\tlabel: item['model'],
\t\t\t\t\t\tvalue: item['product_id']
\t\t\t\t\t}
\t\t\t\t}));
\t\t\t}
\t\t});
\t},
\t'select': function(item) {
\t\t\$('input[name=\\'filter_model\\']').val(item['label']);
\t}
});
\$('#button-clear-input-model').on('click',function(){
\t\$('input[name=\\'filter_model\\']').val('');
\t\$('#button-filter').trigger('click');
});
\$('input[name=\\'filter_category_name\\']').autocomplete({
\t'source': function(request, response) {
\t\tif (\$('input[name=\\'filter_category_name\\']').val().length==0) {
\t\t\t\$('input[name=\\'filter_category\\']').val(null);
\t\t}
\t\t\$.ajax({
\t\t\turl: 'index.php?route=catalog/category/autocomplete&user_token=";
// line 429
yield ($context["user_token"] ?? null);
yield "&filter_name=' + encodeURIComponent(request),
\t\t\tdataType: 'json',
\t\t\tsuccess: function(json) {
\t\t\t\tif (json.length>0) {
\t\t\t\t\tjson.unshift({'category_id':null,'name':'";
// line 433
yield ($context["text_all"] ?? null);
yield "'},{'category_id':0,'name':'";
yield ($context["text_none_category"] ?? null);
yield "'});
\t\t\t\t}
\t\t\t\tresponse(\$.map(json, function(item) {
\t\t\t\t\treturn {
\t\t\t\t\t\tlabel: item['name'],
\t\t\t\t\t\tvalue: item['category_id']
\t\t\t\t\t}
\t\t\t\t}));
\t\t\t}
\t\t});
\t},
\t'select': function(item) {
\t\tif (item['label']!='";
// line 445
yield ($context["text_all"] ?? null);
yield "') {
\t\t\t\$('input[name=\\'filter_category_name\\']').val(item['label']);
\t\t} else {
\t\t\t\$('input[name=\\'filter_category_name\\']').val('');
\t\t}
\t\t\$('input[name=\\'filter_category\\']').val(item['value']);
\t}
});
\$('#button-clear-input-category-name').on('click',function(){
\t\$('input[name=\\'filter_category_name\\']').val('');
\t\$('input[name=\\'filter_category\\']').val(null);
\t\$('#button-filter').trigger('click');
});
// Manufacturer
\$('input[name=\\'filter_manufacturer_name\\']').autocomplete({
\t'source': function(request, response) {
\t\tif (\$('input[name=\\'filter_manufacturer_name\\']').val().length==0) {
\t\t\t\$('input[name=\\'filter_manufacturer_id\\']').val(null);
\t\t}
\t\t\$.ajax({
\t\t\turl: 'index.php?route=catalog/manufacturer/autocomplete&user_token=";
// line 466
yield ($context["user_token"] ?? null);
yield "&filter_name=' + encodeURIComponent(request),
\t\t\tdataType: 'json',
\t\t\tsuccess: function(json) {
\t\t\t\tif (json.length>0) {
\t\t\t\t\tjson.unshift({'manufacturer_id':null,'name':'";
// line 470
yield ($context["text_all"] ?? null);
yield "'},{'manufacturer_id':0,'name':'";
yield ($context["text_none_manufacturer"] ?? null);
yield "'});
\t\t\t\t}
\t\t\t\tresponse(\$.map(json, function(item) {
\t\t\t\t\treturn {
\t\t\t\t\t\tlabel: item['name'],
\t\t\t\t\t\tvalue: item['manufacturer_id']
\t\t\t\t\t}
\t\t\t\t}));
\t\t\t}
\t\t});
\t},
\t'select': function(item) {
\t\t\$('input[name=\\'filter_manufacturer_name\\']').val(item['label']);
\t\t\$('input[name=\\'filter_manufacturer_id\\']').val(item['value']);
\t}
});
\$('#button-clear-input-manufacturer').on('click',function(){
\t\$('input[name=\\'filter_manufacturer_name\\']').val('');
\t\$('input[name=\\'filter_manufacturer_id\\']').val('');
\t\$('#button-filter').trigger('click');
});
\$('#button-clear-input-price-min').on('click',function(){
\t\$('input[name=\\'filter_price_min\\']').val('');
\t\$('#button-filter').trigger('click');
});
\$('#button-clear-input-price-max').on('click',function(){
\t\$('input[name=\\'filter_price_max\\']').val('');
\t\$('#button-filter').trigger('click');
});
\$('#button-clear-input-quantity-min').on('click',function(){
\t\$('input[name=\\'filter_quantity_min\\']').val('');
\t\$('#button-filter').trigger('click');
});
\$('#button-clear-input-quantity-max').on('click',function(){
\t\$('input[name=\\'filter_quantity_max\\']').val('');
\t\$('#button-filter').trigger('click');
});
\$('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) {
\tif (e.which == 13) {
\t\t\$('#button-filter').trigger('click');
\t\treturn false;
\t}
});
//--></script></div>
";
// line 515
yield ($context["footer"] ?? null);
yield " ";
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "catalog/product_list.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("", "catalog/product_list.twig", "");
}
}
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* default/template/common/column_left.twig */
class __TwigTemplate_babfb590d2220d2dbc83eb1bc1fb9ef3992f8d33de8a2cdc7222c6eff82ec360 extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
if (($context["modules"] ?? null)) {
// line 2
echo "<aside id=\"column-left\" class=\"col-sm-3 hidden-xs\">
";
// line 3
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["modules"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["module"]) {
// line 4
echo " ";
echo $context["module"];
echo "
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['module'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 6
echo "</aside>
";
}
}
public function getTemplateName()
{
return "default/template/common/column_left.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 55 => 6, 46 => 4, 42 => 3, 39 => 2, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "default/template/common/column_left.twig", "");
}
}
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* default/template/common/search.twig */
class __TwigTemplate_b5e3b9db6fea51139f630432b5e78875 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
yield "<div id=\"search\" class=\"input-group\">
<input type=\"text\" name=\"search\" value=\"";
// line 2
yield ($context["search"] ?? null);
yield "\" placeholder=\"";
yield ($context["text_search"] ?? null);
yield "\" class=\"form-control input-lg\" />
<span class=\"input-group-btn\">
<button type=\"button\" class=\"btn btn-default btn-lg\"><i class=\"fa fa-search\"></i></button>
</span>
</div>";
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "default/template/common/search.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 41 => 2, 38 => 1,);
}
public function getSourceContext()
{
return new Source("", "default/template/common/search.twig", "");
}
}
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* catalog/attribute_list.twig */
class __TwigTemplate_36dd537f2d5ac0e569e4013c6e83782c extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
yield ($context["header"] ?? null);
yield ($context["column_left"] ?? null);
yield "
<div id=\"content\">
<div class=\"page-header\">
<div class=\"container-fluid\">
<div class=\"pull-right\"><a href=\"";
// line 5
yield ($context["add"] ?? null);
yield "\" data-toggle=\"tooltip\" title=\"";
yield ($context["button_add"] ?? null);
yield "\" class=\"btn btn-primary\"><i class=\"fa fa-plus\"></i></a>
<button type=\"button\" data-toggle=\"tooltip\" title=\"";
// line 6
yield ($context["button_delete"] ?? null);
yield "\" class=\"btn btn-danger\" onclick=\"confirm('";
yield ($context["text_confirm"] ?? null);
yield "') ? \$('#form-attribute').submit() : false;\"><i class=\"fa fa-trash-o\"></i></button>
</div>
<h1>";
// line 8
yield ($context["heading_title"] ?? null);
yield "</h1>
<ul class=\"breadcrumb\">
";
// line 10
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(($context["breadcrumbs"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["breadcrumb"]) {
// line 11
yield " <li><a href=\"";
yield CoreExtension::getAttribute($this->env, $this->source, $context["breadcrumb"], "href", [], "any", false, false, false, 11);
yield "\">";
yield CoreExtension::getAttribute($this->env, $this->source, $context["breadcrumb"], "text", [], "any", false, false, false, 11);
yield "</a></li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['breadcrumb'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 13
yield " </ul>
</div>
</div>
<div class=\"container-fluid\">
";
// line 17
if (($context["error_warning"] ?? null)) {
// line 18
yield " <div class=\"alert alert-danger alert-dismissible\"><i class=\"fa fa-exclamation-circle\"></i> ";
yield ($context["error_warning"] ?? null);
yield "
<button type=\"button\" class=\"close\" data-dismiss=\"alert\">&times;</button>
</div>
";
}
// line 22
yield " ";
if (($context["success"] ?? null)) {
// line 23
yield " <div class=\"alert alert-success alert-dismissible\"><i class=\"fa fa-check-circle\"></i> ";
yield ($context["success"] ?? null);
yield "
<button type=\"button\" class=\"close\" data-dismiss=\"alert\">&times;</button>
</div>
";
}
// line 27
yield " <div class=\"panel panel-default\">
<div class=\"panel-heading\">
<h3 class=\"panel-title\"><i class=\"fa fa-list\"></i> ";
// line 29
yield ($context["text_list"] ?? null);
yield "</h3>
</div>
<div class=\"panel-body\">
<form action=\"";
// line 32
yield ($context["delete"] ?? null);
yield "\" method=\"post\" enctype=\"multipart/form-data\" id=\"form-attribute\">
<div class=\"table-responsive\">
<table class=\"table table-bordered table-hover\">
<thead>
<tr>
<td style=\"width: 1px;\" class=\"text-center\"><input type=\"checkbox\" onclick=\"\$('input[name*=\\'selected\\']').prop('checked', this.checked);\" /></td>
<td class=\"text-left\">";
// line 38
if ((($context["sort"] ?? null) == "ad.name")) {
// line 39
yield " <a href=\"";
yield ($context["sort_name"] ?? null);
yield "\" class=\"";
yield Twig\Extension\CoreExtension::lower($this->env->getCharset(), ($context["order"] ?? null));
yield "\">";
yield ($context["column_name"] ?? null);
yield "</a>
";
} else {
// line 41
yield " <a href=\"";
yield ($context["sort_name"] ?? null);
yield "\">";
yield ($context["column_name"] ?? null);
yield "</a>
";
}
// line 42
yield "</td>
<td class=\"text-left\">";
// line 43
if ((($context["sort"] ?? null) == "attribute_group")) {
// line 44
yield " <a href=\"";
yield ($context["sort_attribute_group"] ?? null);
yield "\" class=\"";
yield Twig\Extension\CoreExtension::lower($this->env->getCharset(), ($context["order"] ?? null));
yield "\">";
yield ($context["column_attribute_group"] ?? null);
yield "</a>
";
} else {
// line 46
yield " <a href=\"";
yield ($context["sort_attribute_group"] ?? null);
yield "\">";
yield ($context["column_attribute_group"] ?? null);
yield "</a>
";
}
// line 47
yield "</td>
<td class=\"text-right\">";
// line 48
if ((($context["sort"] ?? null) == "a.sort_order")) {
// line 49
yield " <a href=\"";
yield ($context["sort_sort_order"] ?? null);
yield "\" class=\"";
yield Twig\Extension\CoreExtension::lower($this->env->getCharset(), ($context["order"] ?? null));
yield "\">";
yield ($context["column_sort_order"] ?? null);
yield "</a>
";
} else {
// line 51
yield " <a href=\"";
yield ($context["sort_sort_order"] ?? null);
yield "\">";
yield ($context["column_sort_order"] ?? null);
yield "</a>
";
}
// line 52
yield "</td>
<td class=\"text-right\">";
// line 53
yield ($context["column_action"] ?? null);
yield "</td>
</tr>
</thead>
<tbody>
";
// line 57
if (($context["attributes"] ?? null)) {
// line 58
yield " ";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(($context["attributes"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["attribute"]) {
// line 59
yield " <tr>
<td class=\"text-center\">";
// line 60
if (CoreExtension::inFilter(CoreExtension::getAttribute($this->env, $this->source, $context["attribute"], "attribute_id", [], "any", false, false, false, 60), ($context["selected"] ?? null))) {
// line 61
yield " <input type=\"checkbox\" name=\"selected[]\" value=\"";
yield CoreExtension::getAttribute($this->env, $this->source, $context["attribute"], "attribute_id", [], "any", false, false, false, 61);
yield "\" checked=\"checked\" />
";
} else {
// line 63
yield " <input type=\"checkbox\" name=\"selected[]\" value=\"";
yield CoreExtension::getAttribute($this->env, $this->source, $context["attribute"], "attribute_id", [], "any", false, false, false, 63);
yield "\" />
";
}
// line 64
yield "</td>
<td class=\"text-left\">";
// line 65
yield CoreExtension::getAttribute($this->env, $this->source, $context["attribute"], "name", [], "any", false, false, false, 65);
yield "</td>
<td class=\"text-left\">";
// line 66
yield CoreExtension::getAttribute($this->env, $this->source, $context["attribute"], "attribute_group", [], "any", false, false, false, 66);
yield "</td>
<td class=\"text-right\">";
// line 67
yield CoreExtension::getAttribute($this->env, $this->source, $context["attribute"], "sort_order", [], "any", false, false, false, 67);
yield "</td>
<td class=\"text-right\"><a href=\"";
// line 68
yield CoreExtension::getAttribute($this->env, $this->source, $context["attribute"], "edit", [], "any", false, false, false, 68);
yield "\" data-toggle=\"tooltip\" title=\"";
yield ($context["button_edit"] ?? null);
yield "\" class=\"btn btn-primary\"><i class=\"fa fa-pencil\"></i></a></td>
</tr>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['attribute'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 71
yield " ";
} else {
// line 72
yield " <tr>
<td class=\"text-center\" colspan=\"5\">";
// line 73
yield ($context["text_no_results"] ?? null);
yield "</td>
</tr>
";
}
// line 76
yield " </tbody>
</table>
</div>
</form>
<div class=\"row\">
<div class=\"col-sm-6 text-left\">";
// line 81
yield ($context["pagination"] ?? null);
yield "</div>
<div class=\"col-sm-6 text-right\">";
// line 82
yield ($context["results"] ?? null);
yield "</div>
</div>
</div>
</div>
</div>
</div>
";
// line 88
yield ($context["footer"] ?? null);
yield "
";
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "catalog/attribute_list.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("", "catalog/attribute_list.twig", "");
}
}
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* install/step_3.twig */
class __TwigTemplate_3fc43250f5a0df90ec4e788545995dbf4bed4f54a68b1397b88fba63998286d7 extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
echo ($context["header"] ?? null);
echo "
<div class=\"container\">
<header>
<div class=\"row\">
<div class=\"col-sm-6\">
<h1 class=\"pull-left\">3
<small>/4</small>
</h1>
<h3>";
// line 9
echo ($context["heading_title"] ?? null);
echo "
<br>
<small>";
// line 11
echo ($context["text_step_3"] ?? null);
echo "</small>
</h3>
</div>
<div class=\"col-sm-6\">
<div id=\"logo\" class=\"pull-right hidden-xs\"><img src=\"view/image/logo.png\" alt=\"OpenCart\" title=\"OpenCart\"/></div>
</div>
</div>
</header>
";
// line 19
if (($context["error_warning"] ?? null)) {
// line 20
echo " <div class=\"alert alert-danger alert-dismissible\"><i class=\"fa fa-exclamation-circle\"></i> ";
echo ($context["error_warning"] ?? null);
echo "
<button type=\"button\" class=\"close\" data-dismiss=\"alert\">&times;</button>
</div>
";
}
// line 24
echo " <div class=\"row\">
<div class=\"col-sm-9\">
<form action=\"";
// line 26
echo ($context["action"] ?? null);
echo "\" method=\"post\" enctype=\"multipart/form-data\" class=\"form-horizontal\">
<p>";
// line 27
echo ($context["text_db_connection"] ?? null);
echo "</p>
<fieldset>
<div class=\"form-group\">
<label class=\"col-sm-2 control-label\" for=\"input-db-driver\">";
// line 30
echo ($context["entry_db_driver"] ?? null);
echo "</label>
<div class=\"col-sm-10\">
<select name=\"db_driver\" id=\"input-db-driver\" class=\"form-control\">
";
// line 33
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["drivers"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["driver"]) {
// line 34
echo " ";
if ((($context["db_driver"] ?? null) == twig_get_attribute($this->env, $this->source, $context["driver"], "value", [], "any", false, false, false, 34))) {
// line 35
echo " <option value=\"";
echo twig_get_attribute($this->env, $this->source, $context["driver"], "value", [], "any", false, false, false, 35);
echo "\" selected=\"selected\">";
echo twig_get_attribute($this->env, $this->source, $context["driver"], "text", [], "any", false, false, false, 35);
echo "</option>
";
} else {
// line 37
echo " <option value=\"";
echo twig_get_attribute($this->env, $this->source, $context["driver"], "value", [], "any", false, false, false, 37);
echo "\">";
echo twig_get_attribute($this->env, $this->source, $context["driver"], "text", [], "any", false, false, false, 37);
echo "</option>
";
}
// line 39
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['driver'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 40
echo " </select>
";
// line 41
if (($context["error_db_driver"] ?? null)) {
// line 42
echo " <div class=\"text-danger\">";
echo ($context["error_db_driver"] ?? null);
echo "</div>
";
}
// line 44
echo " </div>
</div>
<div class=\"form-group required\">
<label class=\"col-sm-2 control-label\" for=\"input-db-hostname\">";
// line 47
echo ($context["entry_db_hostname"] ?? null);
echo "</label>
<div class=\"col-sm-10\">
<input type=\"text\" name=\"db_hostname\" value=\"";
// line 49
echo ($context["db_hostname"] ?? null);
echo "\" id=\"input-db-hostname\" class=\"form-control\"/>
";
// line 50
if (($context["error_db_hostname"] ?? null)) {
// line 51
echo " <div class=\"text-danger\">";
echo ($context["error_db_hostname"] ?? null);
echo "</div>
";
}
// line 53
echo " </div>
</div>
<div class=\"form-group required\">
<label class=\"col-sm-2 control-label\" for=\"input-db-username\">";
// line 56
echo ($context["entry_db_username"] ?? null);
echo "</label>
<div class=\"col-sm-10\">
<input type=\"text\" name=\"db_username\" value=\"";
// line 58
echo ($context["db_username"] ?? null);
echo "\" id=\"input-db-username\" class=\"form-control\"/>
";
// line 59
if (($context["error_db_username"] ?? null)) {
// line 60
echo " <div class=\"text-danger\">";
echo ($context["error_db_username"] ?? null);
echo "</div>
";
}
// line 62
echo " </div>
</div>
<div class=\"form-group\">
<label class=\"col-sm-2 control-label\" for=\"input-db-password\">";
// line 65
echo ($context["entry_db_password"] ?? null);
echo "</label>
<div class=\"col-sm-10\">
<input type=\"password\" name=\"db_password\" value=\"";
// line 67
echo ($context["db_password"] ?? null);
echo "\" id=\"input-db-password\" class=\"form-control\"/>
</div>
</div>
<div class=\"form-group required\">
<label class=\"col-sm-2 control-label\" for=\"input-db-database\">";
// line 71
echo ($context["entry_db_database"] ?? null);
echo "</label>
<div class=\"col-sm-10\">
<input type=\"text\" name=\"db_database\" value=\"";
// line 73
echo ($context["db_database"] ?? null);
echo "\" id=\"input-db-database\" class=\"form-control\"/>
";
// line 74
if (($context["error_db_database"] ?? null)) {
// line 75
echo " <div class=\"text-danger\">";
echo ($context["error_db_database"] ?? null);
echo "</div>
";
}
// line 77
echo " </div>
</div>
<div class=\"form-group required\">
<label class=\"col-sm-2 control-label\" for=\"input-db-port\">";
// line 80
echo ($context["entry_db_port"] ?? null);
echo "</label>
<div class=\"col-sm-10\">
<input type=\"text\" name=\"db_port\" value=\"";
// line 82
echo ($context["db_port"] ?? null);
echo "\" id=\"input-db-port\" class=\"form-control\"/>
";
// line 83
if (($context["error_db_port"] ?? null)) {
// line 84
echo " <div class=\"text-danger\">";
echo ($context["error_db_port"] ?? null);
echo "</div>
";
}
// line 86
echo " </div>
</div>
<div class=\"form-group\">
<label class=\"col-sm-2 control-label\" for=\"input-db-prefix\">";
// line 89
echo ($context["entry_db_prefix"] ?? null);
echo "</label>
<div class=\"col-sm-10\">
<input type=\"text\" name=\"db_prefix\" value=\"";
// line 91
echo ($context["db_prefix"] ?? null);
echo "\" id=\"input-db-prefix\" class=\"form-control\"/>
";
// line 92
if (($context["error_db_prefix"] ?? null)) {
// line 93
echo " <div class=\"text-danger\">";
echo ($context["error_db_prefix"] ?? null);
echo "</div>
";
}
// line 95
echo " </div>
</div>
</fieldset>
<p>";
// line 98
echo ($context["text_db_administration"] ?? null);
echo "</p>
<fieldset>
<div class=\"form-group required\">
<label class=\"col-sm-2 control-label\" for=\"input-username\">";
// line 101
echo ($context["entry_username"] ?? null);
echo "</label>
<div class=\"col-sm-10\">
<input type=\"text\" name=\"username\" value=\"";
// line 103
echo ($context["username"] ?? null);
echo "\" id=\"input-username\" class=\"form-control\"/>
";
// line 104
if (($context["error_username"] ?? null)) {
// line 105
echo " <div class=\"text-danger\">";
echo ($context["error_username"] ?? null);
echo "</div>
";
}
// line 107
echo " </div>
</div>
<div class=\"form-group required\">
<label class=\"col-sm-2 control-label\" for=\"input-password\">";
// line 110
echo ($context["entry_password"] ?? null);
echo "</label>
<div class=\"col-sm-10\">
<input type=\"text\" name=\"password\" value=\"";
// line 112
echo ($context["password"] ?? null);
echo "\" id=\"input-password\" class=\"form-control\"/>
";
// line 113
if (($context["error_password"] ?? null)) {
// line 114
echo " <div class=\"text-danger\">";
echo ($context["error_password"] ?? null);
echo "</div>
";
}
// line 116
echo " </div>
</div>
<div class=\"form-group required\">
<label class=\"col-sm-2 control-label\" for=\"input-email\">";
// line 119
echo ($context["entry_email"] ?? null);
echo "</label>
<div class=\"col-sm-10\">
<input type=\"text\" name=\"email\" value=\"";
// line 121
echo ($context["email"] ?? null);
echo "\" id=\"input-email\" class=\"form-control\"/>
";
// line 122
if (($context["error_email"] ?? null)) {
// line 123
echo " <div class=\"text-danger\">";
echo ($context["error_email"] ?? null);
echo "</div>
";
}
// line 125
echo " </div>
</div>
</fieldset>
<div class=\"buttons\">
<div class=\"pull-left\"><a href=\"";
// line 129
echo ($context["back"] ?? null);
echo "\" class=\"btn btn-default\">";
echo ($context["button_back"] ?? null);
echo "</a></div>
<div class=\"pull-right\">
<input type=\"submit\" value=\"";
// line 131
echo ($context["button_continue"] ?? null);
echo "\" class=\"btn btn-primary\"/>
</div>
</div>
</form>
</div>
<div class=\"col-sm-3\">";
// line 136
echo ($context["column_left"] ?? null);
echo "</div>
</div>
</div>
";
// line 139
echo ($context["footer"] ?? null);
}
public function getTemplateName()
{
return "install/step_3.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("", "install/step_3.twig", "");
}
}
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* install/step_2.twig */
class __TwigTemplate_8ad227e52456184d0d192d6097bd1dc542547fb84c6da733426e3c2015a6313c extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
echo ($context["header"] ?? null);
echo "
<div class=\"container\">
<header>
<div class=\"row\">
<div class=\"col-sm-6\">
<h1 class=\"pull-left\">2<small>/4</small></h1>
<h3>";
// line 7
echo ($context["heading_title"] ?? null);
echo "<br>
<small>";
// line 8
echo ($context["text_step_2"] ?? null);
echo "</small></h3>
</div>
<div class=\"col-sm-6\">
<div id=\"logo\" class=\"pull-right hidden-xs\"><img src=\"view/image/logo.png\" alt=\"ocStore\" title=\"ocStore\" /></div>
</div>
</div>
</header>
";
// line 15
if (($context["error_warning"] ?? null)) {
// line 16
echo " <div class=\"alert alert-danger alert-dismissible\"><i class=\"fa fa-exclamation-circle\"></i> ";
echo ($context["error_warning"] ?? null);
echo "
<button type=\"button\" class=\"close\" data-dismiss=\"alert\">&times;</button>
</div>
";
}
// line 20
echo " <div class=\"row\">
<div class=\"col-sm-9\">
<form action=\"";
// line 22
echo ($context["action"] ?? null);
echo "\" method=\"post\" enctype=\"multipart/form-data\">
<p>";
// line 23
echo ($context["text_install_php"] ?? null);
echo "</p>
<fieldset>
<table class=\"table\">
<thead>
<tr>
<td width=\"35%\"><b>";
// line 28
echo ($context["text_setting"] ?? null);
echo "</b></td>
<td width=\"25%\"><b>";
// line 29
echo ($context["text_current"] ?? null);
echo "</b></td>
<td width=\"25%\"><b>";
// line 30
echo ($context["text_required"] ?? null);
echo "</b></td>
<td width=\"15%\" class=\"text-center\"><b>";
// line 31
echo ($context["text_status"] ?? null);
echo "</b></td>
</tr>
</thead>
<tbody>
<tr>
<td>";
// line 36
echo ($context["text_version"] ?? null);
echo "</td>
<td>";
// line 37
echo ($context["php_version"] ?? null);
echo "</td>
<td>7.3+</td>
<td class=\"text-center\">";
// line 39
if ((($context["php_version"] ?? null) >= "7.3")) {
// line 40
echo " <span class=\"text-success\"><i class=\"fa fa-check-circle\"></i></span>
";
} else {
// line 42
echo " <span class=\"text-danger\"><i class=\"fa fa-minus-circle\"></i></span>
";
}
// line 43
echo "</td>
</tr>
<tr>
<td>";
// line 46
echo ($context["text_global"] ?? null);
echo "</td>
<td>";
// line 47
if (($context["register_globals"] ?? null)) {
// line 48
echo " ";
echo ($context["text_on"] ?? null);
echo "
";
} else {
// line 50
echo " ";
echo ($context["text_off"] ?? null);
echo "
";
}
// line 51
echo "</td>
<td>";
// line 52
echo ($context["text_off"] ?? null);
echo "</td>
<td class=\"text-center\">";
// line 53
if ( !($context["register_globals"] ?? null)) {
// line 54
echo " <span class=\"text-success\"><i class=\"fa fa-check-circle\"></i></span>
";
} else {
// line 56
echo " <span class=\"text-danger\"><i class=\"fa fa-minus-circle\"></i></span>
";
}
// line 57
echo "</td>
</tr>
<tr>
<td>";
// line 60
echo ($context["text_magic"] ?? null);
echo "</td>
<td>";
// line 61
if (($context["magic_quotes_gpc"] ?? null)) {
// line 62
echo " ";
echo ($context["text_on"] ?? null);
echo "
";
} else {
// line 64
echo " ";
echo ($context["text_off"] ?? null);
echo "
";
}
// line 65
echo "</td>
<td>";
// line 66
echo ($context["text_off"] ?? null);
echo "</td>
<td class=\"text-center\">";
// line 67
if ( !($context["error_magic_quotes_gpc"] ?? null)) {
// line 68
echo " <span class=\"text-success\"><i class=\"fa fa-check-circle\"></i></span>
";
} else {
// line 70
echo " <span class=\"text-danger\"><i class=\"fa fa-minus-circle\"></i></span>
";
}
// line 71
echo "</td>
</tr>
<tr>
<td>";
// line 74
echo ($context["text_file_upload"] ?? null);
echo "</td>
<td>";
// line 75
if (($context["file_uploads"] ?? null)) {
// line 76
echo " ";
echo ($context["text_on"] ?? null);
echo "
";
} else {
// line 78
echo " ";
echo ($context["text_off"] ?? null);
echo "
";
}
// line 79
echo "</td>
<td>";
// line 80
echo ($context["text_on"] ?? null);
echo "</td>
<td class=\"text-center\">";
// line 81
if (($context["file_uploads"] ?? null)) {
// line 82
echo " <span class=\"text-success\"><i class=\"fa fa-check-circle\"></i></span>
";
} else {
// line 84
echo " <span class=\"text-danger\"><i class=\"fa fa-minus-circle\"></i></span>
";
}
// line 85
echo "</td>
</tr>
<tr>
<td>";
// line 88
echo ($context["text_session"] ?? null);
echo "</td>
<td>";
// line 89
if (($context["session_auto_start"] ?? null)) {
// line 90
echo " ";
echo ($context["text_on"] ?? null);
echo "
";
} else {
// line 92
echo " ";
echo ($context["text_off"] ?? null);
echo "
";
}
// line 93
echo "</td>
<td>";
// line 94
echo ($context["text_off"] ?? null);
echo "</td>
<td class=\"text-center\">";
// line 95
if ( !($context["session_auto_start"] ?? null)) {
// line 96
echo " <span class=\"text-success\"><i class=\"fa fa-check-circle\"></i></span>
";
} else {
// line 98
echo " <span class=\"text-danger\"><i class=\"fa fa-minus-circle\"></i></span>
";
}
// line 99
echo "</td>
</tr>
</tbody>
</table>
</fieldset>
<p>";
// line 104
echo ($context["text_install_extension"] ?? null);
echo "</p>
<fieldset>
<table class=\"table\">
<thead>
<tr>
<td width=\"35%\"><b>";
// line 109
echo ($context["text_extension"] ?? null);
echo "</b></td>
<td width=\"25%\"><b>";
// line 110
echo ($context["text_current"] ?? null);
echo "</b></td>
<td width=\"25%\"><b>";
// line 111
echo ($context["text_required"] ?? null);
echo "</b></td>
<td width=\"15%\" class=\"text-center\"><b>";
// line 112
echo ($context["text_status"] ?? null);
echo "</b></td>
</tr>
</thead>
<tbody>
<tr>
<td>";
// line 117
echo ($context["text_db"] ?? null);
echo "</td>
<td>";
// line 118
if (($context["db"] ?? null)) {
// line 119
echo " ";
echo ($context["text_on"] ?? null);
echo "
";
} else {
// line 121
echo " ";
echo ($context["text_off"] ?? null);
echo "
";
}
// line 122
echo "</td>
<td>";
// line 123
echo ($context["text_on"] ?? null);
echo "</td>
<td class=\"text-center\">";
// line 124
if (($context["db"] ?? null)) {
// line 125
echo " <span class=\"text-success\"><i class=\"fa fa-check-circle\"></i></span>
";
} else {
// line 127
echo " <span class=\"text-danger\"><i class=\"fa fa-minus-circle\"></i></span>
";
}
// line 128
echo "</td>
</tr>
<tr>
<td>";
// line 131
echo ($context["text_gd"] ?? null);
echo "</td>
<td>";
// line 132
if (($context["gd"] ?? null)) {
// line 133
echo " ";
echo ($context["text_on"] ?? null);
echo "
";
} else {
// line 135
echo " ";
echo ($context["text_off"] ?? null);
echo "
";
}
// line 136
echo "</td>
<td>";
// line 137
echo ($context["text_on"] ?? null);
echo "</td>
<td class=\"text-center\">";
// line 138
if (($context["gd"] ?? null)) {
// line 139
echo " <span class=\"text-success\"><i class=\"fa fa-check-circle\"></i></span>
";
} else {
// line 141
echo " <span class=\"text-danger\"><i class=\"fa fa-minus-circle\"></i></span>
";
}
// line 142
echo "</td>
</tr>
<tr>
<td>";
// line 145
echo ($context["text_curl"] ?? null);
echo "</td>
<td>";
// line 146
if (($context["curl"] ?? null)) {
// line 147
echo " ";
echo ($context["text_on"] ?? null);
echo "
";
} else {
// line 149
echo " ";
echo ($context["text_off"] ?? null);
echo "
";
}
// line 150
echo "</td>
<td>";
// line 151
echo ($context["text_on"] ?? null);
echo "</td>
<td class=\"text-center\">";
// line 152
if (($context["curl"] ?? null)) {
// line 153
echo " <span class=\"text-success\"><i class=\"fa fa-check-circle\"></i></span>
";
} else {
// line 155
echo " <span class=\"text-danger\"><i class=\"fa fa-minus-circle\"></i></span>
";
}
// line 156
echo "</td>
</tr>
<tr>
<td>";
// line 159
echo ($context["text_openssl"] ?? null);
echo "</td>
<td>";
// line 160
if (($context["openssl"] ?? null)) {
// line 161
echo " ";
echo ($context["text_on"] ?? null);
echo "
";
} else {
// line 163
echo " ";
echo ($context["text_off"] ?? null);
echo "
";
}
// line 164
echo "</td>
<td>";
// line 165
echo ($context["text_on"] ?? null);
echo "</td>
<td class=\"text-center\">";
// line 166
if (($context["openssl"] ?? null)) {
// line 167
echo " <span class=\"text-success\"><i class=\"fa fa-check-circle\"></i></span>
";
} else {
// line 169
echo " <span class=\"text-danger\"><i class=\"fa fa-minus-circle\"></i></span>
";
}
// line 170
echo "</td>
</tr>
<tr>
<td>";
// line 173
echo ($context["text_zlib"] ?? null);
echo "</td>
<td>";
// line 174
if (($context["zlib"] ?? null)) {
// line 175
echo " ";
echo ($context["text_on"] ?? null);
echo "
";
} else {
// line 177
echo " ";
echo ($context["text_off"] ?? null);
echo "
";
}
// line 178
echo "</td>
<td>";
// line 179
echo ($context["text_on"] ?? null);
echo "</td>
<td class=\"text-center\">";
// line 180
if (($context["zlib"] ?? null)) {
// line 181
echo " <span class=\"text-success\"><i class=\"fa fa-check-circle\"></i></span>
";
} else {
// line 183
echo " <span class=\"text-danger\"><i class=\"fa fa-minus-circle\"></i></span>
";
}
// line 184
echo "</td>
</tr>
<tr>
<td>";
// line 187
echo ($context["text_zip"] ?? null);
echo "</td>
<td>";
// line 188
if (($context["zip"] ?? null)) {
// line 189
echo " ";
echo ($context["text_on"] ?? null);
echo "
";
} else {
// line 191
echo " ";
echo ($context["text_off"] ?? null);
echo "
";
}
// line 192
echo "</td>
<td>";
// line 193
echo ($context["text_on"] ?? null);
echo "</td>
<td class=\"text-center\">";
// line 194
if (($context["zip"] ?? null)) {
// line 195
echo " <span class=\"text-success\"><i class=\"fa fa-check-circle\"></i></span>
";
} else {
// line 197
echo " <span class=\"text-danger\"><i class=\"fa fa-minus-circle\"></i></span>
";
}
// line 198
echo "</td>
</tr>
";
// line 200
if ( !($context["iconv"] ?? null)) {
// line 201
echo " <tr>
<td>";
// line 202
echo ($context["text_mbstring"] ?? null);
echo "</td>
<td>";
// line 203
if (($context["mbstring"] ?? null)) {
// line 204
echo " ";
echo ($context["text_on"] ?? null);
echo "
";
} else {
// line 206
echo " ";
echo ($context["text_off"] ?? null);
echo "
";
}
// line 207
echo "</td>
<td>";
// line 208
echo ($context["text_on"] ?? null);
echo "</td>
<td class=\"text-center\">";
// line 209
if (($context["mbstring"] ?? null)) {
// line 210
echo " <span class=\"text-success\"><i class=\"fa fa-check-circle\"></i></span>
";
} else {
// line 212
echo " <span class=\"text-danger\"><i class=\"fa fa-minus-circle\"></i></span>
";
}
// line 213
echo "</td>
</tr>
";
}
// line 216
echo " </tbody>
</table>
</fieldset>
<p>";
// line 219
echo ($context["text_install_file"] ?? null);
echo "</p>
<fieldset>
<table class=\"table\">
<thead>
<tr>
<td><b>";
// line 224
echo ($context["text_file"] ?? null);
echo "</b></td>
<td><b>";
// line 225
echo ($context["text_status"] ?? null);
echo "</b></td>
</tr>
</thead>
<tbody>
<tr>
<td>";
// line 230
echo ($context["catalog_config"] ?? null);
echo "</td>
<td>";
// line 231
if ( !($context["error_catalog_config"] ?? null)) {
// line 232
echo " <span class=\"text-success\">";
echo ($context["text_writable"] ?? null);
echo "</span>
";
} else {
// line 234
echo " <span class=\"text-danger\">";
echo ($context["error_catalog_config"] ?? null);
echo "</span>
";
}
// line 235
echo "</td>
</tr>
<tr>
<td>";
// line 238
echo ($context["admin_config"] ?? null);
echo "</td>
<td>";
// line 239
if ( !($context["error_admin_config"] ?? null)) {
// line 240
echo " <span class=\"text-success\">";
echo ($context["text_writable"] ?? null);
echo "</span>
";
} else {
// line 242
echo " <span class=\"text-danger\">";
echo ($context["error_admin_config"] ?? null);
echo "</span>
";
}
// line 243
echo "</td>
</tr>
</tbody>
</table>
</fieldset>
<p>";
// line 248
echo ($context["text_install_directory"] ?? null);
echo "</p>
<fieldset>
<table class=\"table\">
<thead>
<tr>
<td align=\"left\"><b>";
// line 253
echo ($context["text_directory"] ?? null);
echo "</b></td>
<td align=\"left\"><b>";
// line 254
echo ($context["text_status"] ?? null);
echo "</b></td>
</tr>
</thead>
<tbody>
<tr>
<td>";
// line 259
echo ($context["image"] ?? null);
echo "/</td>
<td>";
// line 260
if ( !($context["error_image"] ?? null)) {
// line 261
echo " <span class=\"text-success\">";
echo ($context["text_writable"] ?? null);
echo "</span>
";
} else {
// line 263
echo " <span class=\"text-danger\">";
echo ($context["error_image"] ?? null);
echo "</span>
";
}
// line 264
echo "</td>
</tr>
<tr>
<td>";
// line 267
echo ($context["image_cache"] ?? null);
echo "/</td>
<td>";
// line 268
if ( !($context["error_image_cache"] ?? null)) {
// line 269
echo " <span class=\"text-success\">";
echo ($context["text_writable"] ?? null);
echo "</span>
";
} else {
// line 271
echo " <span class=\"text-danger\">";
echo ($context["error_image_cache"] ?? null);
echo "</span>
";
}
// line 272
echo "</td>
</tr>
<tr>
<td>";
// line 275
echo ($context["image_catalog"] ?? null);
echo "/</td>
<td>";
// line 276
if ( !($context["error_image_catalog"] ?? null)) {
// line 277
echo " <span class=\"text-success\">";
echo ($context["text_writable"] ?? null);
echo "</span>
";
} else {
// line 279
echo " <span class=\"text-danger\">";
echo ($context["error_image_catalog"] ?? null);
echo "</span>
";
}
// line 280
echo "</td>
</tr>
<tr>
<td>";
// line 283
echo ($context["cache"] ?? null);
echo "/</td>
<td>";
// line 284
if ( !($context["error_cache"] ?? null)) {
// line 285
echo " <span class=\"text-success\">";
echo ($context["text_writable"] ?? null);
echo "</span>
";
} else {
// line 287
echo " <span class=\"text-danger\">";
echo ($context["error_cache"] ?? null);
echo "</span>
";
}
// line 288
echo "</td>
</tr>
<tr>
<td>";
// line 291
echo ($context["logs"] ?? null);
echo "/</td>
<td>";
// line 292
if ( !($context["error_logs"] ?? null)) {
// line 293
echo " <span class=\"text-success\">";
echo ($context["text_writable"] ?? null);
echo "</span>
";
} else {
// line 295
echo " <span class=\"text-danger\">";
echo ($context["error_logs"] ?? null);
echo "</span>
";
}
// line 296
echo "</td>
</tr>
<tr>
<td>";
// line 299
echo ($context["download"] ?? null);
echo "/</td>
<td>";
// line 300
if ( !($context["error_download"] ?? null)) {
// line 301
echo " <span class=\"text-success\">";
echo ($context["text_writable"] ?? null);
echo "</span>
";
} else {
// line 303
echo " <span class=\"text-danger\">";
echo ($context["error_download"] ?? null);
echo "</span>
";
}
// line 304
echo "</td>
</tr>
<tr>
<td>";
// line 307
echo ($context["upload"] ?? null);
echo "/</td>
<td>";
// line 308
if ( !($context["error_upload"] ?? null)) {
// line 309
echo " <span class=\"text-success\">";
echo ($context["text_writable"] ?? null);
echo "</span>
";
} else {
// line 311
echo " <span class=\"text-danger\">";
echo ($context["error_upload"] ?? null);
echo "</span>
";
}
// line 312
echo "</td>
</tr>
<tr>
<td>";
// line 315
echo ($context["modification"] ?? null);
echo "/</td>
<td>";
// line 316
if ( !($context["error_modification"] ?? null)) {
// line 317
echo " <span class=\"text-success\">";
echo ($context["text_writable"] ?? null);
echo "</span>
";
} else {
// line 319
echo " <span class=\"text-danger\">";
echo ($context["error_modification"] ?? null);
echo "</span>
";
}
// line 320
echo "</td>
</tr>
</tbody>
</table>
</fieldset>
<div class=\"buttons\">
<div class=\"pull-left\"><a href=\"";
// line 326
echo ($context["back"] ?? null);
echo "\" class=\"btn btn-default\">";
echo ($context["button_back"] ?? null);
echo "</a></div>
<div class=\"pull-right\">
<input type=\"submit\" value=\"";
// line 328
echo ($context["button_continue"] ?? null);
echo "\" class=\"btn btn-primary\" />
</div>
</div>
</form>
</div>
<div class=\"col-sm-3\">";
// line 333
echo ($context["column_left"] ?? null);
echo "</div>
</div>
</div>
";
// line 336
echo ($context["footer"] ?? null);
}
public function getTemplateName()
{
return "install/step_2.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("", "install/step_2.twig", "");
}
}
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* catalog/recurring_list.twig */
class __TwigTemplate_6ba0eb4142b82cc18e7380fb6a722609 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
yield ($context["header"] ?? null);
yield ($context["column_left"] ?? null);
yield "
<div id=\"content\">
<div class=\"page-header\">
<div class=\"container-fluid\">
<div class=\"pull-right\"><a href=\"";
// line 5
yield ($context["add"] ?? null);
yield "\" data-toggle=\"tooltip\" title=\"";
yield ($context["button_add"] ?? null);
yield "\" class=\"btn btn-primary\"><i class=\"fa fa-plus\"></i></a>
<button type=\"submit\" form=\"form-recurring\" formaction=\"";
// line 6
yield ($context["copy"] ?? null);
yield "\" data-toggle=\"tooltip\" title=\"";
yield ($context["button_copy"] ?? null);
yield "\" class=\"btn btn-default\"><i class=\"fa fa-copy\"></i></button>
<button type=\"button\" data-toggle=\"tooltip\" title=\"";
// line 7
yield ($context["button_delete"] ?? null);
yield "\" class=\"btn btn-danger\" onclick=\"confirm('";
yield ($context["text_confirm"] ?? null);
yield "') ? \$('#form-recurring').submit() : false;\"><i class=\"fa fa-trash-o\"></i></button>
</div>
<h1>";
// line 9
yield ($context["heading_title"] ?? null);
yield "</h1>
<ul class=\"breadcrumb\">
";
// line 11
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(($context["breadcrumbs"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["breadcrumb"]) {
// line 12
yield " <li><a href=\"";
yield CoreExtension::getAttribute($this->env, $this->source, $context["breadcrumb"], "href", [], "any", false, false, false, 12);
yield "\">";
yield CoreExtension::getAttribute($this->env, $this->source, $context["breadcrumb"], "text", [], "any", false, false, false, 12);
yield "</a></li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['breadcrumb'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 14
yield " </ul>
</div>
</div>
<div class=\"container-fluid\">
";
// line 18
if (($context["error_warning"] ?? null)) {
// line 19
yield " <div class=\"alert alert-danger alert-dismissible\"><i class=\"fa fa-exclamation-circle\"></i> ";
yield ($context["error_warning"] ?? null);
yield "
<button type=\"button\" class=\"close\" data-dismiss=\"alert\">&times;</button>
</div>
";
}
// line 23
yield " ";
if (($context["success"] ?? null)) {
// line 24
yield " <div class=\"alert alert-success alert-dismissible\"><i class=\"fa fa-check-circle\"></i> ";
yield ($context["success"] ?? null);
yield "
<button type=\"button\" class=\"close\" data-dismiss=\"alert\">&times;</button>
</div>
";
}
// line 28
yield " <div class=\"panel panel-default\">
<div class=\"panel-heading\">
<h3 class=\"panel-title\"><i class=\"fa fa-list\"></i> ";
// line 30
yield ($context["text_list"] ?? null);
yield "</h3>
</div>
<div class=\"panel-body\">
<form action=\"";
// line 33
yield ($context["delete"] ?? null);
yield "\" method=\"post\" enctype=\"multipart/form-data\" id=\"form-recurring\">
<div class=\"table-responsive\">
<table class=\"table table-bordered table-hover\">
<thead>
<tr>
<td class=\"text-center\" width=\"1\"><input type=\"checkbox\" onclick=\"\$('input[name*=\\'selected\\']').prop('checked', this.checked);\" /></td>
<td class=\"text-left\">";
// line 39
if ((($context["sort"] ?? null) == "pd.name")) {
// line 40
yield " <a href=\"";
yield ($context["sort_name"] ?? null);
yield "\" class=\"";
yield Twig\Extension\CoreExtension::lower($this->env->getCharset(), ($context["order"] ?? null));
yield "\">";
yield ($context["column_name"] ?? null);
yield "</a>
";
} else {
// line 42
yield " <a href=\"";
yield ($context["sort_name"] ?? null);
yield "\">";
yield ($context["column_name"] ?? null);
yield "</a>
";
}
// line 43
yield "</td>
<td class=\"text-right\">";
// line 44
if ((($context["sort"] ?? null) == "p.sort_order")) {
// line 45
yield " <a href=\"";
yield ($context["sort_sort_order"] ?? null);
yield "\" class=\"";
yield Twig\Extension\CoreExtension::lower($this->env->getCharset(), ($context["order"] ?? null));
yield "\">";
yield ($context["column_sort_order"] ?? null);
yield "</a>
";
} else {
// line 47
yield " <a href=\"";
yield ($context["sort_sort_order"] ?? null);
yield "\">";
yield ($context["column_sort_order"] ?? null);
yield "</a>
";
}
// line 48
yield "</td>
<td class=\"text-right\">";
// line 49
yield ($context["column_action"] ?? null);
yield "</td>
</tr>
</thead>
<tbody>
";
// line 53
if (($context["recurrings"] ?? null)) {
// line 54
yield " ";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(($context["recurrings"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["recurring"]) {
// line 55
yield " <tr>
<td class=\"text-center\">";
// line 56
if (CoreExtension::inFilter(CoreExtension::getAttribute($this->env, $this->source, $context["recurring"], "recurring_id", [], "any", false, false, false, 56), ($context["selected"] ?? null))) {
// line 57
yield " <input type=\"checkbox\" name=\"selected[]\" value=\"";
yield CoreExtension::getAttribute($this->env, $this->source, $context["recurring"], "recurring_id", [], "any", false, false, false, 57);
yield "\" checked=\"checked\" />
";
} else {
// line 59
yield " <input type=\"checkbox\" name=\"selected[]\" value=\"";
yield CoreExtension::getAttribute($this->env, $this->source, $context["recurring"], "recurring_id", [], "any", false, false, false, 59);
yield "\" />
";
}
// line 60
yield "</td>
<td class=\"text-left\">";
// line 61
yield CoreExtension::getAttribute($this->env, $this->source, $context["recurring"], "name", [], "any", false, false, false, 61);
yield "</td>
<td class=\"text-right\">";
// line 62
yield CoreExtension::getAttribute($this->env, $this->source, $context["recurring"], "sort_order", [], "any", false, false, false, 62);
yield "</td>
<td class=\"text-right\"><a href=\"";
// line 63
yield CoreExtension::getAttribute($this->env, $this->source, $context["recurring"], "edit", [], "any", false, false, false, 63);
yield "\" data-toggle=\"tooltip\" title=\"";
yield ($context["button_edit"] ?? null);
yield "\" class=\"btn btn-primary\"><i class=\"fa fa-pencil\"></i></a></td>
</tr>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['recurring'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 66
yield " ";
} else {
// line 67
yield " <tr>
<td class=\"text-center\" colspan=\"4\">";
// line 68
yield ($context["text_no_results"] ?? null);
yield "</td>
</tr>
";
}
// line 71
yield " </tbody>
</table>
</div>
</form>
<div class=\"row\">
<div class=\"col-sm-6 text-left\">";
// line 76
yield ($context["pagination"] ?? null);
yield "</div>
<div class=\"col-sm-6 text-right\">";
// line 77
yield ($context["results"] ?? null);
yield "</div>
</div>
</div>
</div>
</div>
</div>
";
// line 83
yield ($context["footer"] ?? null);
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "catalog/recurring_list.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("", "catalog/recurring_list.twig", "");
}
}
This diff could not be displayed because it is too large.
......@@ -1855,7 +1855,12 @@ class ControllerExtensionThemeOCTDeals extends Controller {
}
}
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]);}
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]);}
protected function validateModification() {
if (!$this->user->hasPermission('modify', 'extension/theme/'. $this->oct_theme)) {
......
.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;}
:root {--ds-primary-color:rgb(0, 168, 232);}
:root {--ds-body-bg-light-color:rgb(248, 251, 253);}
:root {--ds-links-color:rgb(0, 168, 232);}
.light-theme .ds-header {background:rgb(255, 255, 255);}
.ds-dropdown-links .blue-link, .ds-switcher button {color:rgb(0, 168, 232);}
.ds-dropdown-links .blue-link:hover {color:rgb(0, 168, 232);}
:root {--ds-footer-bg-light-color:rgb(255, 255, 255);}
.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);}
.ds-footer .blue-link {color:rgb(0, 168, 232);}
.ds-footer .blue-link:hover {color:rgb(0, 168, 232);}
.light-theme .ds-footer-links li a, .light-theme ul.ds-footer-item li a {color:rgb(0, 52, 89);}
.ds-footer-links li a:hover, ul.ds-footer-item li a:hover {color:rgb(0, 168, 232);}
.light-theme .ds-footer-item-title {color:rgb(0, 23, 31);}
.light-theme .ds-footer-item-title svg path {fill:rgb(0, 23, 31);}
:root {--ds-interactive-color:rgb(82, 187, 56);}
.ds-price-new.red-text {color:rgb(213, 56, 61);}