<?php

/* extension/module/aqe/catalog/category_list.twig */
class __TwigTemplate_92e19d9efe94dcd7918d773285442871a91cd3b008c82104d5c7e8b55173bb21 extends Twig_Template
{
    public function __construct(Twig_Environment $env)
    {
        parent::__construct($env);

        $this->parent = false;

        $this->blocks = array(
        );
    }

    protected function doDisplay(array $context, array $blocks = array())
    {
        // line 13
        echo (isset($context["header"]) ? $context["header"] : null);
        echo "
<!-- confirm deletion -->
<div class=\"modal fade\" id=\"confirmDelete\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"confirmDeleteLabel\" aria-hidden=\"true\">
\t<div class=\"modal-dialog\">
\t\t<div class=\"modal-content\">
\t\t\t<div class=\"modal-header\">
\t\t\t\t<button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-hidden=\"true\">&times;</button>
\t\t\t\t<h4 class=\"modal-title\" id=\"confirmDeleteLabel\">";
        // line 20
        echo (isset($context["text_confirm_delete"]) ? $context["text_confirm_delete"] : null);
        echo "</h4>
\t\t\t</div>
\t\t\t<div class=\"modal-body\">
\t\t\t\t<p>";
        // line 23
        echo (isset($context["text_are_you_sure"]) ? $context["text_are_you_sure"] : null);
        echo "</p>
\t\t\t</div>
\t\t\t<div class=\"modal-footer\">
\t\t\t\t<button type=\"button\" class=\"btn btn-default\" data-dismiss=\"modal\"><i class=\"fa fa-ban\"></i> ";
        // line 26
        echo (isset($context["button_cancel"]) ? $context["button_cancel"] : null);
        echo "</button>
\t\t\t\t<button type=\"button\" class=\"btn btn-danger delete\"><i class=\"fa fa-trash-o\"></i> ";
        // line 27
        echo (isset($context["button_delete"]) ? $context["button_delete"] : null);
        echo "</button>
\t\t\t</div>
\t\t</div><!-- /.modal-content -->
\t</div><!-- /.modal-dialog -->
</div><!-- /.modal -->

";
        // line 33
        if (twig_in_filter("image", (isset($context["columns"]) ? $context["columns"] : null))) {
            // line 34
            echo "<!-- image manager -->
<div class=\"modal fade\" id=\"modal-image\" tabindex=\"-1\" role=\"dialog\" aria-hidden=\"true\"></div>
";
        }
        // line 37
        echo "
<!-- action menu modal -->
<div class=\"modal fade\" id=\"aqe-modal\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"aqeModalLabel\" aria-hidden=\"true\">
\t<div class=\"modal-dialog\">
\t\t<div class=\"modal-content\">
\t\t\t<div class=\"modal-header\">
\t\t\t\t<button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-hidden=\"true\">&times;</button>
\t\t\t\t<h4 class=\"modal-title\" id=\"aqeModalLabel\"></h4>
\t\t\t</div>
\t\t\t<div class=\"modal-body bull5i-container\">
\t\t\t\t<div class=\"notice\">
\t\t\t\t</div>
\t\t\t\t<form enctype=\"multipart/form-data\" id=\"aqeQuickEditForm\" class=\"form-horizontal\">
\t\t\t\t\t<fieldset class=\"aqe-modal-contents\">
\t\t\t\t\t</fieldset>
\t\t\t\t</form>
\t\t\t</div>
\t\t\t<div class=\"modal-footer\">
\t\t\t\t<button type=\"button\" class=\"btn btn-default cancel\" data-dismiss=\"modal\"><i class=\"fa fa-times\"></i> ";
        // line 55
        echo (isset($context["button_close"]) ? $context["button_close"] : null);
        echo "</button>
\t\t\t\t<button type=\"button\" class=\"btn btn-primary submit\" data-form=\"#aqeQuickEditForm\" data-context=\"#aqe-modal\" data-loading-text=\"<i class='fa fa-spinner fa-spin'></i> ";
        // line 56
        echo (isset($context["text_saving"]) ? $context["text_saving"] : null);
        echo "\"><i class=\"fa fa-save\"></i> ";
        echo (isset($context["button_save"]) ? $context["button_save"] : null);
        echo "</button>
\t\t\t</div>
\t\t</div><!-- /.modal-content -->
\t</div><!-- /.modal-dialog -->
</div><!-- /.modal -->

";
        // line 62
        echo (isset($context["column_left"]) ? $context["column_left"] : null);
        echo "
<div id=\"content\">
\t<div class=\"page-header\">
\t\t<div class=\"container-fluid\">
\t\t\t<div class=\"pull-right\">
\t\t\t\t<div class=\"nav navbar-nav navbar-checkbox hidden\" id=\"batch-edit-container\">
\t\t\t\t\t<div class=\"checkbox\">
\t\t\t\t\t\t<label>
\t\t\t\t\t\t\t<input type=\"checkbox\" id=\"batch-edit\"";
        // line 70
        echo (((isset($context["batch_edit"]) ? $context["batch_edit"] : null)) ? (" checked") : (""));
        echo "> ";
        echo (isset($context["text_batch_edit"]) ? $context["text_batch_edit"] : null);
        echo "
\t\t\t\t\t\t</label>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t\t<button type=\"button\" class=\"btn btn-primary\" data-toggle=\"tooltip\" data-container=\"body\" data-placement=\"bottom\" title=\"";
        // line 74
        echo (isset($context["button_add"]) ? $context["button_add"] : null);
        echo "\" data-url=\"";
        echo (isset($context["add"]) ? $context["add"] : null);
        echo "\" id=\"btn-insert\" data-form=\"#pqe-list-form\" data-context=\"#content\" data-overlay=\"#page-overlay\"><i class=\"fa fa-plus\"></i></button>
\t\t\t\t<button type=\"button\" class=\"btn btn-default btn-nav-link\" data-toggle=\"tooltip\" data-container=\"body\" data-placement=\"bottom\" title=\"";
        // line 75
        echo (isset($context["button_rebuild"]) ? $context["button_rebuild"] : null);
        echo "\" data-url=\"";
        echo (isset($context["rebuild"]) ? $context["rebuild"] : null);
        echo "\" id=\"btn-rebuild\" data-form=\"#pqe-list-form\" data-context=\"#content\" data-loading-text=\"<i class='fa fa-spinner fa-spin'></i>\"><i class=\"fa fa-refresh\"></i></button>
\t\t\t\t<button type=\"button\" class=\"btn btn-danger\" data-toggle=\"tooltip\" data-container=\"body\" data-placement=\"bottom\" title=\"";
        // line 76
        echo (isset($context["button_delete"]) ? $context["button_delete"] : null);
        echo "\" data-url=\"";
        echo (isset($context["delete"]) ? $context["delete"] : null);
        echo "\" id=\"btn-delete\" data-form=\"#pqe-list-form\" data-context=\"#content\" data-overlay=\"#page-overlay\" data-loading-text=\"<i class='fa fa-spinner fa-spin'></i>\" disabled><i class=\"fa fa-trash-o\"></i></button>
\t\t\t</div>
\t\t\t<h1><i class=\"fa fa-list fa-fw ext-icon\"></i> ";
        // line 78
        echo (isset($context["heading_title"]) ? $context["heading_title"] : null);
        echo "</h1>
\t\t\t<ul class=\"breadcrumb\">
\t\t\t\t";
        // line 80
        $context['_parent'] = $context;
        $context['_seq'] = twig_ensure_traversable((isset($context["breadcrumbs"]) ? $context["breadcrumbs"] : null));
        foreach ($context['_seq'] as $context["_key"] => $context["breadcrumb"]) {
            // line 81
            echo "\t\t\t\t<li><a href=\"";
            echo $this->getAttribute($context["breadcrumb"], "href", array());
            echo "\">";
            echo $this->getAttribute($context["breadcrumb"], "text", array());
            echo "</a></li>
\t\t\t\t";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['breadcrumb'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 83
        echo "\t\t\t</ul>
\t\t</div>
\t</div>

\t<div class=\"alerts\">
\t\t<div class=\"container-fluid\" id=\"alerts\">
\t\t\t";
        // line 89
        $context['_parent'] = $context;
        $context['_seq'] = twig_ensure_traversable((isset($context["alerts"]) ? $context["alerts"] : null));
        foreach ($context['_seq'] as $context["type"] => $context["_alerts"]) {
            // line 90
            echo "\t\t\t\t";
            $context['_parent'] = $context;
            $context['_seq'] = twig_ensure_traversable($context["_alerts"]);
            foreach ($context['_seq'] as $context["_key"] => $context["alert"]) {
                // line 91
                echo "\t\t\t\t\t";
                if ($context["alert"]) {
                    // line 92
                    echo "\t\t\t<div class=\"alert alert-";
                    if (($context["type"] == "error")) {
                        echo "danger";
                    } else {
                        echo $context["type"];
                    }
                    echo " fade in\">
\t\t\t\t<button type=\"button\" class=\"close\" data-dismiss=\"alert\" aria-hidden=\"true\">&times;</button>
\t\t\t\t<i class=\"fa ";
                    // line 94
                    echo $this->getAttribute($this, "alert_icon", array(0 => $context["type"]), "method");
                    echo "\"></i>";
                    echo $context["alert"];
                    echo "
\t\t\t</div>
\t\t\t\t\t";
                }
                // line 97
                echo "\t\t\t\t";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_iterated'], $context['_key'], $context['alert'], $context['_parent'], $context['loop']);
            $context = array_intersect_key($context, $_parent) + $_parent;
            // line 98
            echo "\t\t\t";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['type'], $context['_alerts'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 99
        echo "\t\t</div>
\t</div>

\t<div class=\"container-fluid bull5i-content bull5i-container\">
\t\t<div class=\"panel panel-default\">
\t\t\t<div class=\"panel-heading\">
\t\t\t\t<h3 class=\"panel-title\"><i class=\"fa fa-list\"></i> ";
        // line 105
        echo (isset($context["text_list"]) ? $context["text_list"] : null);
        echo "</h3>
\t\t\t</div>
\t\t\t<div class=\"panel-body\">
\t\t\t\t<form method=\"post\" enctype=\"multipart/form-data\" id=\"pqe-list-form\" class=\"form-horizontal\" role=\"form\">
\t\t\t\t\t<fieldset>
\t\t\t\t\t\t<div class=\"table-responsive\">
\t\t\t\t\t\t\t<table cellpadding=\"0\" cellspacing=\"0\" border=\"0\" class=\"table table-bordered table-condensed";
        // line 111
        echo (((isset($context["module_admin_quick_edit_row_hover_highlighting"]) ? $context["module_admin_quick_edit_row_hover_highlighting"] : null)) ? (" table-hover") : (""));
        echo (((isset($context["module_admin_quick_edit_alternate_row_colour"]) ? $context["module_admin_quick_edit_alternate_row_colour"] : null)) ? (" table-striped") : (""));
        echo "\" id=\"dT\">
\t\t\t\t\t\t\t\t<thead>
\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t";
        // line 114
        $context['_parent'] = $context;
        $context['_seq'] = twig_ensure_traversable((isset($context["columns"]) ? $context["columns"] : null));
        foreach ($context['_seq'] as $context["_key"] => $context["col"]) {
            // line 115
            echo "\t\t\t\t\t\t\t\t\t\t\t";
            if (($context["col"] == "selector")) {
                // line 116
                echo "\t\t\t\t\t\t\t\t\t\t<th class=\"";
                echo $this->getAttribute($this->getAttribute((isset($context["column_info"]) ? $context["column_info"] : null), $context["col"], array(), "array"), "align", array());
                echo " col_";
                echo $context["col"];
                echo "\" width=\"1\"><input type=\"checkbox\" id=\"global-selector\" /></th>
\t\t\t\t\t\t\t\t\t\t\t";
            } elseif ((            // line 117
$context["col"] == "image")) {
                // line 118
                echo "\t\t\t\t\t\t\t\t\t\t<th class=\"";
                echo $this->getAttribute($this->getAttribute((isset($context["column_info"]) ? $context["column_info"] : null), $context["col"], array(), "array"), "align", array());
                echo " col_";
                echo $context["col"];
                echo "\" width=\"1\">";
                echo $this->getAttribute($this->getAttribute((isset($context["column_info"]) ? $context["column_info"] : null), $context["col"], array(), "array"), "name", array());
                echo "</th>
\t\t\t\t\t\t\t\t\t\t\t";
            } elseif ($this->getAttribute($this->getAttribute(            // line 119
(isset($context["column_info"]) ? $context["column_info"] : null), $context["col"], array(), "array"), "sort", array())) {
                // line 120
                echo "\t\t\t\t\t\t\t\t\t\t<th class=\"";
                echo $this->getAttribute($this->getAttribute((isset($context["column_info"]) ? $context["column_info"] : null), $context["col"], array(), "array"), "align", array());
                echo " col_";
                echo $context["col"];
                echo "\"><a href=\"";
                echo $this->getAttribute((isset($context["sorts"]) ? $context["sorts"] : null), $context["col"], array(), "array");
                echo "\"";
                echo ((((isset($context["sort"]) ? $context["sort"] : null) == $this->getAttribute($this->getAttribute((isset($context["column_info"]) ? $context["column_info"] : null), $context["col"], array(), "array"), "sort", array()))) ? (((" class=\"" . twig_lower_filter($this->env, (isset($context["order"]) ? $context["order"] : null))) . "\"")) : (""));
                echo ">";
                echo $this->getAttribute($this->getAttribute((isset($context["column_info"]) ? $context["column_info"] : null), $context["col"], array(), "array"), "name", array());
                echo "</a></th>
\t\t\t\t\t\t\t\t\t\t\t";
            } else {
                // line 122
                echo "\t\t\t\t\t\t\t\t\t\t<th class=\"";
                echo $this->getAttribute($this->getAttribute((isset($context["column_info"]) ? $context["column_info"] : null), $context["col"], array(), "array"), "align", array());
                echo " col_";
                echo $context["col"];
                echo "\">";
                echo $this->getAttribute($this->getAttribute((isset($context["column_info"]) ? $context["column_info"] : null), $context["col"], array(), "array"), "name", array());
                echo "</th>
\t\t\t\t\t\t\t\t\t\t\t";
            }
            // line 124
            echo "\t\t\t\t\t\t\t\t\t\t";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['col'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 125
        echo "\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t<tr class=\"filters\">
\t\t\t\t\t\t\t\t\t\t";
        // line 127
        $context['_parent'] = $context;
        $context['_seq'] = twig_ensure_traversable((isset($context["columns"]) ? $context["columns"] : null));
        foreach ($context['_seq'] as $context["_key"] => $context["col"]) {
            // line 128
            echo "\t\t\t\t\t\t\t\t\t\t\t";
            if (twig_in_filter($context["col"], array(0 => "selector", 1 => "view_in_store"))) {
                // line 129
                echo "\t\t\t\t\t\t\t\t\t\t<th></th>
\t\t\t\t\t\t\t\t\t\t\t";
            } elseif ((            // line 130
$context["col"] == "status")) {
                // line 131
                echo "\t\t\t\t\t\t\t\t\t\t<th class=\"";
                echo $this->getAttribute($this->getAttribute((isset($context["column_info"]) ? $context["column_info"] : null), $context["col"], array(), "array"), "align", array());
                echo "\">
\t\t\t\t\t\t\t\t\t\t\t<select name=\"filter_";
                // line 132
                echo $context["col"];
                echo "\" class=\"form-control input-sm search_init fltr ";
                echo $context["col"];
                echo "\" data-column=\"";
                echo $context["col"];
                echo "\">
\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"\"></option>
\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"1\"";
                // line 134
                echo ((($this->getAttribute((isset($context["filters"]) ? $context["filters"] : null), $context["col"], array(), "array") == "1")) ? (" selected") : (""));
                echo ">";
                echo (isset($context["text_enabled"]) ? $context["text_enabled"] : null);
                echo "</option>
\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"0\"";
                // line 135
                echo ((($this->getAttribute((isset($context["filters"]) ? $context["filters"] : null), $context["col"], array(), "array") == "0")) ? (" selected") : (""));
                echo ">";
                echo (isset($context["text_disabled"]) ? $context["text_disabled"] : null);
                echo "</option>
\t\t\t\t\t\t\t\t\t\t\t</select>
\t\t\t\t\t\t\t\t\t\t</th>
\t\t\t\t\t\t\t\t\t\t\t";
            } elseif (twig_in_filter(            // line 138
$context["col"], array(0 => "image", 1 => "top"))) {
                // line 139
                echo "\t\t\t\t\t\t\t\t\t\t<th class=\"";
                echo $this->getAttribute($this->getAttribute((isset($context["column_info"]) ? $context["column_info"] : null), $context["col"], array(), "array"), "align", array());
                echo "\">
\t\t\t\t\t\t\t\t\t\t\t<select name=\"filter_";
                // line 140
                echo $context["col"];
                echo "\" class=\"form-control input-sm search_init fltr ";
                echo $context["col"];
                echo "\" data-column=\"";
                echo $context["col"];
                echo "\">
\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"\"></option>
\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"1\"";
                // line 142
                echo ((($this->getAttribute((isset($context["filters"]) ? $context["filters"] : null), $context["col"], array(), "array") == "1")) ? (" selected") : (""));
                echo ">";
                echo (isset($context["text_yes"]) ? $context["text_yes"] : null);
                echo "</option>
\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"0\"";
                // line 143
                echo ((($this->getAttribute((isset($context["filters"]) ? $context["filters"] : null), $context["col"], array(), "array") == "0")) ? (" selected") : (""));
                echo ">";
                echo (isset($context["text_no"]) ? $context["text_no"] : null);
                echo "</option>
\t\t\t\t\t\t\t\t\t\t\t</select>
\t\t\t\t\t\t\t\t\t\t</th>
\t\t\t\t\t\t\t\t\t\t\t";
            } elseif ((            // line 146
$context["col"] == "action")) {
                // line 147
                echo "\t\t\t\t\t\t\t\t\t\t<th class=\"";
                echo $this->getAttribute($this->getAttribute((isset($context["column_info"]) ? $context["column_info"] : null), $context["col"], array(), "array"), "align", array());
                echo "\">
\t\t\t\t\t\t\t\t\t\t\t<div class=\"btn-group btn-group-flex\">
\t\t\t\t\t\t\t\t\t\t\t\t<button type=\"button\" class=\"btn btn-sm btn-default\" id=\"filter\" data-toggle=\"tooltip\" data-container=\"body\" title=\"";
                // line 149
                echo (isset($context["text_filter"]) ? $context["text_filter"] : null);
                echo "\"><i class=\"fa fa-filter fa-fw\"></i></button>
\t\t\t\t\t\t\t\t\t\t\t\t<button type=\"button\" class=\"btn btn-sm btn-default\" id=\"clear-filter\" data-toggle=\"tooltip\" data-container=\"body\" title=\"";
                // line 150
                echo (isset($context["text_clear_filter"]) ? $context["text_clear_filter"] : null);
                echo "\"><i class=\"fa fa-times fa-fw\"></i></button>
\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t</th>
\t\t\t\t\t\t\t\t\t\t\t";
            } elseif ((            // line 153
$context["col"] == "parent")) {
                // line 154
                echo "\t\t\t\t\t\t\t\t\t\t<th class=\"";
                echo $this->getAttribute($this->getAttribute((isset($context["column_info"]) ? $context["column_info"] : null), $context["col"], array(), "array"), "align", array());
                echo "\">
\t\t\t\t\t\t\t\t\t\t\t<select name=\"filter_";
                // line 155
                echo $context["col"];
                echo "\" class=\"form-control input-sm search_init fltr ";
                echo $context["col"];
                echo "\" data-column=\"";
                echo $context["col"];
                echo "\">
\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"\"></option>
\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"*\"";
                // line 157
                echo ((($this->getAttribute((isset($context["filters"]) ? $context["filters"] : null), $context["col"], array(), "array") == "*")) ? (" selected") : (""));
                echo ">";
                echo (isset($context["text_none"]) ? $context["text_none"] : null);
                echo "</option>
\t\t\t\t\t\t\t\t\t\t\t\t";
                // line 158
                $context['_parent'] = $context;
                $context['_seq'] = twig_ensure_traversable((isset($context["_categories"]) ? $context["_categories"] : null));
                foreach ($context['_seq'] as $context["_key"] => $context["c"]) {
                    // line 159
                    echo "\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"";
                    echo $this->getAttribute($context["c"], "category_id", array());
                    echo "\"";
                    echo ((($this->getAttribute((isset($context["filters"]) ? $context["filters"] : null), $context["col"], array(), "array") == $this->getAttribute($context["c"], "category_id", array()))) ? (" selected") : (""));
                    echo ">";
                    echo $this->getAttribute($context["c"], "name", array());
                    echo "</option>
\t\t\t\t\t\t\t\t\t\t\t\t";
                }
                $_parent = $context['_parent'];
                unset($context['_seq'], $context['_iterated'], $context['_key'], $context['c'], $context['_parent'], $context['loop']);
                $context = array_intersect_key($context, $_parent) + $_parent;
                // line 161
                echo "\t\t\t\t\t\t\t\t\t\t\t</select>
\t\t\t\t\t\t\t\t\t\t</th>
\t\t\t\t\t\t\t\t\t\t\t";
            } elseif ((            // line 163
$context["col"] == "filter")) {
                // line 164
                echo "\t\t\t\t\t\t\t\t\t\t<th class=\"";
                echo $this->getAttribute($this->getAttribute((isset($context["column_info"]) ? $context["column_info"] : null), $context["col"], array(), "array"), "align", array());
                echo "\">
\t\t\t\t\t\t\t\t\t\t\t<select name=\"filter_";
                // line 165
                echo $context["col"];
                echo "\" class=\"form-control input-sm search_init fltr ";
                echo $context["col"];
                echo "\" data-column=\"";
                echo $context["col"];
                echo "\">
\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"\"></option>
\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"*\"";
                // line 167
                echo ((($this->getAttribute((isset($context["filters"]) ? $context["filters"] : null), $context["col"], array(), "array") == "*")) ? (" selected") : (""));
                echo ">";
                echo (isset($context["text_none"]) ? $context["text_none"] : null);
                echo "</option>
\t\t\t\t\t\t\t\t\t\t\t\t";
                // line 168
                $context['_parent'] = $context;
                $context['_seq'] = twig_ensure_traversable((isset($context["_filters"]) ? $context["_filters"] : null));
                foreach ($context['_seq'] as $context["_key"] => $context["fg"]) {
                    // line 169
                    echo "\t\t\t\t\t\t\t\t\t\t\t\t<optgroup label=\"";
                    echo addslashes($this->getAttribute($context["fg"], "name", array()));
                    echo "\">
\t\t\t\t\t\t\t\t\t\t\t\t\t";
                    // line 170
                    $context['_parent'] = $context;
                    $context['_seq'] = twig_ensure_traversable($this->getAttribute($context["fg"], "filters", array()));
                    foreach ($context['_seq'] as $context["_key"] => $context["f"]) {
                        // line 171
                        echo "\t\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"";
                        echo $this->getAttribute($context["f"], "filter_id", array());
                        echo "\"";
                        echo ((($this->getAttribute((isset($context["filters"]) ? $context["filters"] : null), $context["col"], array(), "array") == $this->getAttribute($context["f"], "filter_id", array()))) ? (" selected") : (""));
                        echo ">";
                        echo $this->getAttribute($context["f"], "name", array());
                        echo "</option>
\t\t\t\t\t\t\t\t\t\t\t\t\t";
                    }
                    $_parent = $context['_parent'];
                    unset($context['_seq'], $context['_iterated'], $context['_key'], $context['f'], $context['_parent'], $context['loop']);
                    $context = array_intersect_key($context, $_parent) + $_parent;
                    // line 173
                    echo "\t\t\t\t\t\t\t\t\t\t\t\t</optgroup>
\t\t\t\t\t\t\t\t\t\t\t\t";
                }
                $_parent = $context['_parent'];
                unset($context['_seq'], $context['_iterated'], $context['_key'], $context['fg'], $context['_parent'], $context['loop']);
                $context = array_intersect_key($context, $_parent) + $_parent;
                // line 175
                echo "\t\t\t\t\t\t\t\t\t\t\t</select>
\t\t\t\t\t\t\t\t\t\t</th>
\t\t\t\t\t\t\t\t\t\t\t";
            } elseif ((            // line 177
$context["col"] == "store")) {
                // line 178
                echo "\t\t\t\t\t\t\t\t\t\t<th class=\"";
                echo $this->getAttribute($this->getAttribute((isset($context["column_info"]) ? $context["column_info"] : null), $context["col"], array(), "array"), "align", array());
                echo "\">
\t\t\t\t\t\t\t\t\t\t\t<select name=\"filter_";
                // line 179
                echo $context["col"];
                echo "\" class=\"form-control input-sm search_init fltr ";
                echo $context["col"];
                echo "\" data-column=\"";
                echo $context["col"];
                echo "\">
\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"\"></option>
\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"*\"";
                // line 181
                echo ((($this->getAttribute((isset($context["filters"]) ? $context["filters"] : null), $context["col"], array(), "array") == "*")) ? (" selected") : (""));
                echo ">";
                echo (isset($context["text_none"]) ? $context["text_none"] : null);
                echo "</option>
\t\t\t\t\t\t\t\t\t\t\t\t";
                // line 182
                $context['_parent'] = $context;
                $context['_seq'] = twig_ensure_traversable((isset($context["stores"]) ? $context["stores"] : null));
                foreach ($context['_seq'] as $context["store_id"] => $context["s"]) {
                    // line 183
                    echo "\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"";
                    echo $context["store_id"];
                    echo "\"";
                    echo (((($this->getAttribute((isset($context["filters"]) ? $context["filters"] : null), $context["col"], array(), "array") != "") && ($this->getAttribute((isset($context["filters"]) ? $context["filters"] : null), $context["col"], array(), "array") == $context["store_id"]))) ? (" selected") : (""));
                    echo ">";
                    echo $this->getAttribute($context["s"], "name", array());
                    echo "</option>
\t\t\t\t\t\t\t\t\t\t\t\t";
                }
                $_parent = $context['_parent'];
                unset($context['_seq'], $context['_iterated'], $context['store_id'], $context['s'], $context['_parent'], $context['loop']);
                $context = array_intersect_key($context, $_parent) + $_parent;
                // line 185
                echo "\t\t\t\t\t\t\t\t\t\t\t</select>
\t\t\t\t\t\t\t\t\t\t</th>
\t\t\t\t\t\t\t\t\t\t\t";
            } elseif (twig_in_filter(            // line 187
$context["col"], array(0 => "name", 1 => "seo"))) {
                // line 188
                echo "\t\t\t\t\t\t\t\t\t\t<th class=\"";
                echo $this->getAttribute($this->getAttribute((isset($context["column_info"]) ? $context["column_info"] : null), $context["col"], array(), "array"), "align", array());
                echo "\"><input type=\"text\" name=\"filter_";
                echo $context["col"];
                echo "\" class=\"form-control input-sm search_init fltr ";
                echo $context["col"];
                echo " typeahead\" data-column=\"";
                echo $context["col"];
                echo "\" value=\"";
                echo $this->getAttribute((isset($context["filters"]) ? $context["filters"] : null), $context["col"], array(), "array");
                echo "\" placeholder=\"";
                echo (isset($context["text_autocomplete"]) ? $context["text_autocomplete"] : null);
                echo "\"></th>
\t\t\t\t\t\t\t\t\t\t</th>
\t\t\t\t\t\t\t\t\t\t\t";
            } else {
                // line 191
                echo "\t\t\t\t\t\t\t\t\t\t<th class=\"";
                echo $this->getAttribute($this->getAttribute((isset($context["column_info"]) ? $context["column_info"] : null), $context["col"], array(), "array"), "align", array());
                echo "\"><input type=\"text\" name=\"filter_";
                echo $context["col"];
                echo "\" class=\"form-control input-sm search_init fltr ";
                echo $context["col"];
                echo "\" data-column=\"";
                echo $context["col"];
                echo "\" value=\"";
                echo $this->getAttribute((isset($context["filters"]) ? $context["filters"] : null), $context["col"], array(), "array");
                echo "\"></th>
\t\t\t\t\t\t\t\t\t\t\t";
            }
            // line 193
            echo "\t\t\t\t\t\t\t\t\t\t";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['col'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 194
        echo "\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t</thead>
\t\t\t\t\t\t\t\t<tbody>
\t\t\t\t\t\t\t\t\t";
        // line 197
        if ((isset($context["categories"]) ? $context["categories"] : null)) {
            // line 198
            echo "\t\t\t\t\t\t\t\t\t\t";
            $context['_parent'] = $context;
            $context['_seq'] = twig_ensure_traversable((isset($context["categories"]) ? $context["categories"] : null));
            foreach ($context['_seq'] as $context["_key"] => $context["category"]) {
                // line 199
                echo "\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t";
                // line 200
                $context['_parent'] = $context;
                $context['_seq'] = twig_ensure_traversable((isset($context["columns"]) ? $context["columns"] : null));
                foreach ($context['_seq'] as $context["_key"] => $context["col"]) {
                    // line 201
                    echo "\t\t\t\t\t\t\t\t\t\t\t";
                    if (($context["col"] == "selector")) {
                        // line 202
                        echo "\t\t\t\t\t\t\t\t\t\t<td style=\"width:1px\" class=\"text-center\">
\t\t\t\t\t\t\t\t\t\t\t<input type=\"checkbox\" name=\"selected[]\" value=\"";
                        // line 203
                        echo $this->getAttribute($context["category"], "category_id", array());
                        echo "\"";
                        echo (($this->getAttribute($context["category"], "selected", array())) ? (" checked") : (""));
                        echo "/>
\t\t\t\t\t\t\t\t\t\t</td>
\t\t\t\t\t\t\t\t\t\t\t";
                    } elseif ((                    // line 205
$context["col"] == "image")) {
                        // line 206
                        echo "\t\t\t\t\t\t\t\t\t\t<td class=\"";
                        echo $this->getAttribute($this->getAttribute((isset($context["column_info"]) ? $context["column_info"] : null), $context["col"], array(), "array"), "align", array());
                        echo (($this->getAttribute($this->getAttribute((isset($context["column_info"]) ? $context["column_info"] : null), $context["col"], array(), "array"), "qe_status", array())) ? ((" " . $this->getAttribute($this->getAttribute((isset($context["column_info"]) ? $context["column_info"] : null), $context["col"], array(), "array"), "type", array()))) : (""));
                        echo "\" id=\"";
                        echo (($context["col"] . "-") . $this->getAttribute($context["category"], "category_id", array()));
                        echo "\">
\t\t\t\t\t\t\t\t\t\t\t<img src=\"";
                        // line 207
                        echo $this->getAttribute($context["category"], "thumb", array());
                        echo "\" alt=\"";
                        echo $this->getAttribute($context["category"], "name", array());
                        echo "\" class=\"img-thumbnail\" data-id=\"";
                        echo $this->getAttribute($context["category"], "category_id", array());
                        echo "\" data-image=\"";
                        echo $this->getAttribute($context["category"], "image", array());
                        echo "\" />
\t\t\t\t\t\t\t\t\t\t</td>
\t\t\t\t\t\t\t\t\t\t\t";
                    } elseif ((                    // line 209
$context["col"] == "view_in_store")) {
                        // line 210
                        echo "\t\t\t\t\t\t\t\t\t\t<td class=\"view_store ";
                        echo $this->getAttribute($this->getAttribute((isset($context["column_info"]) ? $context["column_info"] : null), $context["col"], array(), "array"), "align", array());
                        echo (($this->getAttribute($this->getAttribute((isset($context["column_info"]) ? $context["column_info"] : null), $context["col"], array(), "array"), "qe_status", array())) ? ((" " . $this->getAttribute($this->getAttribute((isset($context["column_info"]) ? $context["column_info"] : null), $context["col"], array(), "array"), "type", array()))) : (""));
                        echo "\" id=\"";
                        echo (($context["col"] . "-") . $this->getAttribute($context["category"], "category_id", array()));
                        echo "\">
\t\t\t\t\t\t\t\t\t\t\t<select onchange=\"((this.value !== '') ? window.open(this.value) : null); this.value = '';\">
\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"\">";
                        // line 212
                        echo (isset($context["text_select"]) ? $context["text_select"] : null);
                        echo "</option>
\t\t\t\t\t\t\t\t\t\t\t\t";
                        // line 213
                        $context['_parent'] = $context;
                        $context['_seq'] = twig_ensure_traversable($this->getAttribute($context["category"], $context["col"], array(), "array"));
                        foreach ($context['_seq'] as $context["_key"] => $context["store"]) {
                            // line 214
                            echo "\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"";
                            echo $this->getAttribute($context["store"], "href", array());
                            echo "\">";
                            echo $this->getAttribute($context["store"], "name", array());
                            echo "</option>
\t\t\t\t\t\t\t\t\t\t\t\t";
                        }
                        $_parent = $context['_parent'];
                        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['store'], $context['_parent'], $context['loop']);
                        $context = array_intersect_key($context, $_parent) + $_parent;
                        // line 216
                        echo "\t\t\t\t\t\t\t\t\t\t\t</select>
\t\t\t\t\t\t\t\t\t\t</td>
\t\t\t\t\t\t\t\t\t\t\t";
                    } elseif ((                    // line 218
$context["col"] == "action")) {
                        // line 219
                        echo "\t\t\t\t\t\t\t\t\t\t<td class=\"";
                        echo $this->getAttribute($this->getAttribute((isset($context["column_info"]) ? $context["column_info"] : null), $context["col"], array(), "array"), "align", array());
                        echo " action\">
\t\t\t\t\t\t\t\t\t\t\t<div class=\"btn-group btn-group-flex\">
\t\t\t\t\t\t\t\t\t\t\t\t";
                        // line 221
                        $context['_parent'] = $context;
                        $context['_seq'] = twig_ensure_traversable($this->getAttribute($context["category"], "action", array()));
                        foreach ($context['_seq'] as $context["_key"] => $context["action"]) {
                            // line 222
                            echo "\t\t\t\t\t\t\t\t\t\t\t\t\t";
                            if ($this->getAttribute($context["action"], "url", array())) {
                                // line 223
                                echo "\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"";
                                echo $this->getAttribute($context["action"], "url", array());
                                echo "\" class=\"btn btn-default btn-sm ";
                                echo $this->getAttribute($context["action"], "type", array());
                                echo " ";
                                echo $this->getAttribute($context["action"], "class", array());
                                echo "\" id=\"";
                                echo (($this->getAttribute($context["action"], "action", array()) . "-") . $this->getAttribute($context["category"], "category_id", array()));
                                echo "\" data-toggle=\"tooltip\" data-container=\"body\" title=\"";
                                echo $this->getAttribute($context["action"], "title", array());
                                echo "\"><i class=\"fa fa-";
                                echo $this->getAttribute($context["action"], "icon", array());
                                echo "\"></i>";
                                echo $this->getAttribute($context["action"], "name", array());
                                echo "</a>
\t\t\t\t\t\t\t\t\t\t\t\t\t";
                            } else {
                                // line 225
                                echo "\t\t\t\t\t\t\t\t\t\t\t\t<button type=\"button\" class=\"btn ";
                                echo (($this->getAttribute($context["action"], "data", array())) ? ("btn-warning") : ("btn-default"));
                                echo " btn-sm action ";
                                echo $this->getAttribute($context["action"], "type", array());
                                echo " ";
                                echo $this->getAttribute($context["action"], "class", array());
                                echo "\" id=\"";
                                echo (($this->getAttribute($context["action"], "action", array()) . "-") . $this->getAttribute($context["category"], "category_id", array()));
                                echo "\" data-toggle=\"tooltip\" data-container=\"body\" title=\"";
                                echo $this->getAttribute($context["action"], "title", array());
                                echo "\" data-column=\"";
                                echo $this->getAttribute($context["action"], "action", array());
                                echo "\"";
                                echo (($this->getAttribute($context["action"], "rel", array())) ? (((" data-rel='" . $this->getAttribute($context["action"], "rel", array())) . "'")) : (""));
                                echo ">";
                                if ($this->getAttribute($context["action"], "icon", array())) {
                                    echo "<i class=\"fa fa-";
                                    echo $this->getAttribute($context["action"], "icon", array());
                                    echo "\"></i>";
                                }
                                echo $this->getAttribute($context["action"], "name", array());
                                echo "</button>
\t\t\t\t\t\t\t\t\t\t\t\t\t";
                            }
                            // line 227
                            echo "\t\t\t\t\t\t\t\t\t\t\t\t";
                        }
                        $_parent = $context['_parent'];
                        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['action'], $context['_parent'], $context['loop']);
                        $context = array_intersect_key($context, $_parent) + $_parent;
                        // line 228
                        echo "\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t</td>
\t\t\t\t\t\t\t\t\t\t\t\t";
                    } else {
                        // line 231
                        echo "\t\t\t\t\t\t\t\t\t\t<td class=\"";
                        echo $this->getAttribute($this->getAttribute((isset($context["column_info"]) ? $context["column_info"] : null), $context["col"], array(), "array"), "align", array());
                        echo (($this->getAttribute($this->getAttribute((isset($context["column_info"]) ? $context["column_info"] : null), $context["col"], array(), "array"), "qe_status", array())) ? ((" " . $this->getAttribute($this->getAttribute((isset($context["column_info"]) ? $context["column_info"] : null), $context["col"], array(), "array"), "type", array()))) : (""));
                        echo "\" id=\"";
                        echo (($context["col"] . "-") . $this->getAttribute($context["category"], "category_id", array()));
                        echo "\">";
                        echo $this->getAttribute($context["category"], $context["col"], array(), "array");
                        echo "</td>
\t\t\t\t\t\t\t\t\t\t\t\t";
                    }
                    // line 233
                    echo "\t\t\t\t\t\t\t\t\t\t\t";
                }
                $_parent = $context['_parent'];
                unset($context['_seq'], $context['_iterated'], $context['_key'], $context['col'], $context['_parent'], $context['loop']);
                $context = array_intersect_key($context, $_parent) + $_parent;
                // line 234
                echo "\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\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 236
            echo "\t\t\t\t\t\t\t\t\t";
        } else {
            // line 237
            echo "\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t<td class=\"text-center\" colspan=\"";
            // line 238
            echo (twig_length_filter($this->env, (isset($context["columns"]) ? $context["columns"] : null)) + 1);
            echo "\">";
            echo (isset($context["text_no_results"]) ? $context["text_no_results"] : null);
            echo "</td>
\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t";
        }
        // line 241
        echo "\t\t\t\t\t\t\t\t</tbody>
\t\t\t\t\t\t\t</table>
\t\t\t\t\t\t</div>
\t\t\t\t\t</fieldset>
\t\t\t\t</form>
\t\t\t\t<div class=\"row\">
\t\t\t\t\t<div class=\"col-sm-6 text-left\">";
        // line 247
        echo (isset($context["pagination"]) ? $context["pagination"] : null);
        echo "</div>
\t\t\t\t\t<div class=\"col-sm-6 text-right\">";
        // line 248
        echo (isset($context["results"]) ? $context["results"] : null);
        echo "</div>
\t\t\t\t</div>
\t\t\t</div>
\t\t</div>
\t</div>
</div>
<script type=\"text/javascript\"><!--
(function(bull5i,\$,undefined){
var related=";
        // line 256
        echo twig_jsonencode_filter((isset($context["related"]) ? $context["related"] : null));
        echo ";bull5i.batch_edit=parseInt(\"";
        echo ((isset($context["batch_edit"]) ? $context["batch_edit"] : null) * 1);
        echo "\"),bull5i.texts=\$.extend({},bull5i.texts,{error_ajax_request:\"";
        echo addslashes((isset($context["error_ajax_request"]) ? $context["error_ajax_request"] : null));
        echo "\"}),bull5i.update_image=function(e){var t=e,a=\$.Deferred();return \$.when(\$.ajax({url:\"index.php?route=common/filemanager&user_token=";
        echo (isset($context["user_token"]) ? $context["user_token"] : null);
        echo "&target=\"+encodeURIComponent(t),dataType:\"html\"})).done(function(e){\$(\"#\"+t).val(\"\"),\$(\"#modal-image\").append(e),\$(\"#modal-image\").modal(\"show\"),\$(\"#modal-image\").on(\"hide.bs.modal\",function(){\$(\"#\"+t).val()?a.resolve():a.reject(),\$(\"#modal-image\").off(\"hide.bs.modal\")}).on(\"hidden.bs.modal\",function(){\$(\"#modal-image\").empty(),\$(\"#modal-image\").off(\"hidden.bs.modal\")})}).fail(function(){a.reject()}),a.promise()},bull5i.update_related=function(e,t){if(t&&related[e]&&related[e].length){var a={};return \$.each(related[e],function(e,r){a[r]=t,\$.each(t,function(e,t){\$(\"#\"+r+\"-\"+t)&&bull5i.cell_updating(\$(\"#\"+r+\"-\"+t))})}),\$.ajax({url:\"";
        echo (isset($context["refresh_url"]) ? $context["refresh_url"] : null);
        echo "\",type:\"POST\",cache:!1,dataType:\"json\",data:{data:a}}).done(function(e){e.error?bull5i.display_alert(\$(\"#alerts\"),e.error,\"error\",0,!0):e.values&&\$.each(e.values,function(e,t){\$.each(t,function(t,a){var r=\$(\"#\"+t+\"-\"+e);r.empty().removeClass(\"updating\").removeAttr(\"style\").editable(\"enable\"),setTimeout(function(){r.html(a)},10)})})}).fail(function(e){var t=\"string\"==typeof e?e:e.responseText||e.statusText||\"Unknown error!\";bull5i.display_alert(\$(\"#alerts\"),bull5i.texts.error_ajax_request+\" \"+t,\"error\",0,!0)}).always(function(){\$(\"td.updating\").each(function(){var e=\$(this);e.empty().removeClass(\"updating\").removeAttr(\"style\").editable(\"enable\"),setTimeout(function(){e.html(e.data(\"original-content\"))},10)})}),!0}return!1};
bull5i.filter=function(){url='index.php?route=catalog/category&user_token=";
        // line 257
        echo (isset($context["user_token"]) ? $context["user_token"] : null);
        echo "&sort=";
        echo (isset($context["sort"]) ? $context["sort"] : null);
        echo "&order=";
        echo (isset($context["order"]) ? $context["order"] : null);
        echo "&aqer=1';
";
        // line 258
        $context['_parent'] = $context;
        $context['_seq'] = twig_ensure_traversable((isset($context["column_info"]) ? $context["column_info"] : null));
        foreach ($context['_seq'] as $context["column"] => $context["val"]) {
            if ($this->getAttribute($this->getAttribute($context["val"], "filter", array()), "show", array())) {
                if (($this->getAttribute($this->getAttribute($context["val"], "filter", array()), "type", array()) == 0)) {
                    // line 259
                    echo "var filter_";
                    echo $context["column"];
                    echo "=\$('input[name=\\'filter_";
                    echo $context["column"];
                    echo "\\']').not(':disabled').val();
if(filter_";
                    // line 260
                    echo $context["column"];
                    echo "){url+='&filter_";
                    echo $context["column"];
                    echo "='+encodeURIComponent(filter_";
                    echo $context["column"];
                    echo ");}
";
                } elseif (($this->getAttribute($this->getAttribute(                // line 261
$context["val"], "filter", array()), "type", array()) == 1)) {
                    // line 262
                    echo "var filter_";
                    echo $context["column"];
                    echo " = \$('select[name=\\'filter_";
                    echo $context["column"];
                    echo "\\']').val();
";
                    // line 263
                    if (twig_in_filter($context["column"], array(0 => "store", 1 => "parent", 2 => "filter"))) {
                        echo "if(filter_";
                        echo $context["column"];
                        echo "){ ";
                    } else {
                        echo "if(filter_";
                        echo $context["column"];
                        echo "&&filter_";
                        echo $context["column"];
                        echo "!='*'){ ";
                    }
                    echo "url+='&filter_";
                    echo $context["column"];
                    echo "='+encodeURIComponent(filter_";
                    echo $context["column"];
                    echo ");}
";
                }
            }
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['column'], $context['val'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 264
        echo "location=url;}
";
        // line 265
        $context['_parent'] = $context;
        $context['_seq'] = twig_ensure_traversable((isset($context["column_info"]) ? $context["column_info"] : null));
        foreach ($context['_seq'] as $context["column"] => $context["val"]) {
            if ($this->getAttribute($this->getAttribute($context["val"], "filter", array()), "autocomplete", array())) {
                // line 266
                echo "\$('input[name=\\'filter_";
                echo $context["column"];
                echo "\\']').autocomplete({source:function(request,response){\$.ajax({url:'index.php?route=extension/module/admin_quick_edit/catalog__category__autocomplete&user_token=";
                echo (isset($context["user_token"]) ? $context["user_token"] : null);
                echo "&filter_";
                echo $context["column"];
                echo "='+encodeURIComponent(request),dataType:'json',success:function(json){response(\$.unique(\$.map(json,function(item){
";
                // line 267
                if (twig_test_iterable($this->getAttribute($this->getAttribute($this->getAttribute($context["val"], "filter", array()), "autocomplete", array()), "return", array()))) {
                    echo "return { ";
                    $context['_parent'] = $context;
                    $context['_seq'] = twig_ensure_traversable($this->getAttribute($this->getAttribute($this->getAttribute($context["val"], "filter", array()), "autocomplete", array()), "return", array()));
                    foreach ($context['_seq'] as $context["k"] => $context["v"]) {
                        echo $context["k"];
                        echo ":item['";
                        echo $context["v"];
                        echo "'],";
                    }
                    $_parent = $context['_parent'];
                    unset($context['_seq'], $context['_iterated'], $context['k'], $context['v'], $context['_parent'], $context['loop']);
                    $context = array_intersect_key($context, $_parent) + $_parent;
                    echo "}
";
                } else {
                    // line 268
                    echo "return item['";
                    echo $this->getAttribute($this->getAttribute($this->getAttribute($context["val"], "filter", array()), "autocomplete", array()), "return", array());
                    echo "']";
                }
                // line 269
                echo "})));}});},select:function(item){\$('input[name=\\'filter_";
                echo $context["column"];
                echo "\\']').val(item['label']);return false;}});";
            }
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['column'], $context['val'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 270
        echo "\$(function(){\$(\".qe\").editable(function(e,t){return bull5i.quick_update(this,e,t,\"";
        echo (isset($context["update_url"]) ? $context["update_url"] : null);
        echo "\").done(\$.proxy(bull5i.update_finished,{column:\$(this).attr(\"id\").split(\"-\")[0]})).fail(\$.proxy(bull5i.update_failed,this)),t.indicator},{type:\"bs_text\",indicator:\"";
        echo (isset($context["text_saving"]) ? $context["text_saving"] : null);
        echo "\",tooltip:\"";
        echo (isset($context["module_admin_quick_edit_tooltip"]) ? $context["module_admin_quick_edit_tooltip"] : null);
        echo "\",event:\"";
        echo (isset($context["module_admin_quick_edit_quick_edit_on"]) ? $context["module_admin_quick_edit_quick_edit_on"] : null);
        echo "\",onblur:\"cancel\",placeholder:\"\",select:!0}),\$(\".seo_qe\").editable(function(e,t){return t.indicator},{type:\"multilingual_edit\",indicator:\"";
        echo (isset($context["text_saving"]) ? $context["text_saving"] : null);
        echo "\",tooltip:\"";
        echo (isset($context["module_admin_quick_edit_tooltip"]) ? $context["module_admin_quick_edit_tooltip"] : null);
        echo "\",event:\"";
        echo (isset($context["module_admin_quick_edit_quick_edit_on"]) ? $context["module_admin_quick_edit_quick_edit_on"] : null);
        echo "\",onblur:\"ignore\",placeholder:\"\",loadurl:\"";
        echo (isset($context["load_popup_url"]) ? $context["load_popup_url"] : null);
        echo "\",saveurl:\"";
        echo (isset($context["update_url"]) ? $context["update_url"] : null);
        echo "\",loadtype:\"POST\",loadtext:\"";
        echo (isset($context["text_loading"]) ? $context["text_loading"] : null);
        echo "\"}),\$(\".image_qe\").editable(function(e,t){var i={alt:\$(this.revert).attr(\"alt\")};return bull5i.quick_update(this,e,t,\"";
        echo (isset($context["update_url"]) ? $context["update_url"] : null);
        echo "\",i).done(\$.proxy(bull5i.update_finished,{column:\$(this).attr(\"id\").split(\"-\")[0]})).fail(\$.proxy(bull5i.update_failed,this)),\$(this).html()},{type:\"image_edit\",tooltip:\"";
        echo (isset($context["module_admin_quick_edit_tooltip"]) ? $context["module_admin_quick_edit_tooltip"] : null);
        echo "\",event:\"";
        echo (isset($context["module_admin_quick_edit_quick_edit_on"]) ? $context["module_admin_quick_edit_quick_edit_on"] : null);
        echo "\",onblur:\"ignore\",placeholder:\"\"}),\$(\".store_qe, .filter_qe\").editable(function(e,t){return bull5i.quick_update(this,e,t,\"";
        echo (isset($context["update_url"]) ? $context["update_url"] : null);
        echo "\",\$(\"#aqeQuickEditForm\").serializeHash()).done(\$.proxy(bull5i.update_finished,{column:\$(this).attr(\"id\").split(\"-\")[0]})).fail(\$.proxy(bull5i.update_failed,this)),t.indicator},{type:\"multiselect_edit\",indicator:\"";
        echo (isset($context["text_saving"]) ? $context["text_saving"] : null);
        echo "\",tooltip:\"";
        echo (isset($context["module_admin_quick_edit_tooltip"]) ? $context["module_admin_quick_edit_tooltip"] : null);
        echo "\",event:\"";
        echo (isset($context["module_admin_quick_edit_quick_edit_on"]) ? $context["module_admin_quick_edit_quick_edit_on"] : null);
        echo "\",onblur:\"ignore\",placeholder:\"\",loadurl:\"";
        echo (isset($context["load_popup_url"]) ? $context["load_popup_url"] : null);
        echo "\",loadtype:\"POST\",loadtext:\"";
        echo (isset($context["text_loading"]) ? $context["text_loading"] : null);
        echo "\"}),\$(\".filters_qe,.descr_qe,.keyw_qe\").on(\"click\",function(e){e.preventDefault();var t=\$(this).attr(\"id\"),i=\$(this).attr(\"id\").split(\"-\")[1],l=\$(this).attr(\"id\").split(\"-\")[0],p={alerts:\$.merge(\$(\"#aqe-modal .notice\"),\$(\"#alerts\"))};bull5i.load_popup_data(\"";
        echo (isset($context["load_popup_url"]) ? $context["load_popup_url"] : null);
        echo "\",{id:t}).done(function(e){e.alerts&&bull5i.display_alerts(e.alerts,!0,p.alerts),bull5i.aqe_popup(e.title,e.popup,function(o){e={id:t,old:\"\",\"new\":\"\"},bull5i.batch_edit&&\$(\"input[name*='selected']:checked\").length&&(e.ids=\$(\"input[name*='selected']:checked\").serializeObject().selected),\$.extend(e,\$(\"#aqeQuickEditForm\").serializeHash()),bull5i.aqe_popup_update.call(p,\"";
        echo (isset($context["update_url"]) ? $context["update_url"] : null);
        echo "\",e).done(function(t){(t===!0||t.success)&&bull5i.update_related(l,\$.unique(\$.merge([i],e.ids||[]))),\$.isFunction(o)&&o.call(null,t)}).fail(function(e){\$.isFunction(o)&&o.call(null,e)})},\"modal-lg\")})}),\$(\".status_qe\").editable(function(e,t){return bull5i.quick_update(this,e,t,\"";
        echo (isset($context["update_url"]) ? $context["update_url"] : null);
        echo "\").done(\$.proxy(bull5i.update_finished,{column:\$(this).attr(\"id\").split(\"-\")[0]})).fail(\$.proxy(bull5i.update_failed,this)),t.indicator},{data:\"";
        echo trim((isset($context["status_select"]) ? $context["status_select"] : null));
        echo "\",type:\"bs_select\",indicator:\"";
        echo (isset($context["text_saving"]) ? $context["text_saving"] : null);
        echo "\",tooltip:\"";
        echo (isset($context["module_admin_quick_edit_tooltip"]) ? $context["module_admin_quick_edit_tooltip"] : null);
        echo "\",event:\"";
        echo (isset($context["module_admin_quick_edit_quick_edit_on"]) ? $context["module_admin_quick_edit_quick_edit_on"] : null);
        echo "\",onblur:\"cancel\"})";
        if ((isset($context["single_lang_editing"]) ? $context["single_lang_editing"] : null)) {
            echo ",\$(\".name_qe\").editable(function(e,t){var i={lang_id:\"";
            echo (isset($context["language_id"]) ? $context["language_id"] : null);
            echo "\"};return bull5i.quick_update(this,e,t,\"";
            echo (isset($context["update_url"]) ? $context["update_url"] : null);
            echo "\",i).done(\$.proxy(bull5i.update_finished,{column:\$(this).attr(\"id\").split(\"-\")[0]})).fail(\$.proxy(bull5i.update_failed,this)),t.indicator},{data:function(e){return \$.trim(e.replace(/^.*\\ &gt; (.*)\$/g,\"\$1\"))},type:\"bs_text\",indicator:\"";
            echo (isset($context["text_saving"]) ? $context["text_saving"] : null);
            echo "\",tooltip:\"";
            echo (isset($context["module_admin_quick_edit_tooltip"]) ? $context["module_admin_quick_edit_tooltip"] : null);
            echo "\",event:\"";
            echo (isset($context["module_admin_quick_edit_quick_edit_on"]) ? $context["module_admin_quick_edit_quick_edit_on"] : null);
            echo "\",onblur:\"cancel\",placeholder:\"\",select:!0})";
        } else {
            echo ",\$(\".name_qe\").editable(function(e,t){return t.indicator},{type:\"multilingual_edit\",indicator:\"";
            echo (isset($context["text_saving"]) ? $context["text_saving"] : null);
            echo "\",tooltip:\"";
            echo (isset($context["module_admin_quick_edit_tooltip"]) ? $context["module_admin_quick_edit_tooltip"] : null);
            echo "\",event:\"";
            echo (isset($context["module_admin_quick_edit_quick_edit_on"]) ? $context["module_admin_quick_edit_quick_edit_on"] : null);
            echo "\",onblur:\"ignore\",placeholder:\"\",loadurl:\"";
            echo (isset($context["load_popup_url"]) ? $context["load_popup_url"] : null);
            echo "\",saveurl:\"";
            echo (isset($context["update_url"]) ? $context["update_url"] : null);
            echo "\",loadtype:\"POST\",loadtext:\"";
            echo (isset($context["text_loading"]) ? $context["text_loading"] : null);
            echo "\"})";
        }
        echo ",\$(\".parent_qe\").editable(function(e,t){return bull5i.quick_update(this,e,t,\"";
        echo (isset($context["update_url"]) ? $context["update_url"] : null);
        echo "\").done(\$.proxy(bull5i.update_finished,{column:\$(this).attr(\"id\").split(\"-\")[0]})).fail(\$.proxy(bull5i.update_failed,this)),t.indicator},{data:\"";
        echo trim((isset($context["parent_select"]) ? $context["parent_select"] : null));
        echo "\",type:\"bs_select\",indicator:\"";
        echo (isset($context["text_saving"]) ? $context["text_saving"] : null);
        echo "\",tooltip:\"";
        echo (isset($context["module_admin_quick_edit_tooltip"]) ? $context["module_admin_quick_edit_tooltip"] : null);
        echo "\",event:\"";
        echo (isset($context["module_admin_quick_edit_quick_edit_on"]) ? $context["module_admin_quick_edit_quick_edit_on"] : null);
        echo "\",placeholder:\"\",onblur:\"cancel\"}),\$(\".yes_no_qe\").editable(function(e,t){return bull5i.quick_update(this,e,t,\"";
        echo (isset($context["update_url"]) ? $context["update_url"] : null);
        echo "\").done(\$.proxy(bull5i.update_finished,{column:\$(this).attr(\"id\").split(\"-\")[0]})).fail(\$.proxy(bull5i.update_failed,this)),t.indicator},{data:\"";
        echo trim((isset($context["yes_no_select"]) ? $context["yes_no_select"] : null));
        echo "\",type:\"bs_select\",indicator:\"";
        echo (isset($context["text_saving"]) ? $context["text_saving"] : null);
        echo "\",tooltip:\"";
        echo (isset($context["module_admin_quick_edit_tooltip"]) ? $context["module_admin_quick_edit_tooltip"] : null);
        echo "\",event:\"";
        echo (isset($context["module_admin_quick_edit_quick_edit_on"]) ? $context["module_admin_quick_edit_quick_edit_on"] : null);
        echo "\",placeholder:\"\",onblur:\"cancel\"})});
}(window.bull5i=window.bull5i||{},jQuery));
//--></script>
";
        // line 273
        echo (isset($context["footer"]) ? $context["footer"] : null);
        echo "
";
    }

    // line 1
    public function getalert_icon($__type__ = null, ...$__varargs__)
    {
        $context = $this->env->mergeGlobals(array(
            "type" => $__type__,
            "varargs" => $__varargs__,
        ));

        $blocks = array();

        ob_start();
        try {
            ob_start();
            // line 2
            echo "\t\t";
            if (((isset($context["type"]) ? $context["type"] : null) == "error")) {
                // line 3
                echo "\t\t\tfa-times-circle
\t\t";
            } elseif ((            // line 4
(isset($context["type"]) ? $context["type"] : null) == "warning")) {
                // line 5
                echo "\t\t\tfa-exclamation-triangle
\t\t";
            } elseif ((            // line 6
(isset($context["type"]) ? $context["type"] : null) == "success")) {
                // line 7
                echo "\t\t\tfa-check-circle
\t\t";
            } elseif ((            // line 8
(isset($context["type"]) ? $context["type"] : null) == "info")) {
                // line 9
                echo "\t\t\tfa-info-circle
\t\t";
            } else {
                // line 11
                echo "\t\t";
            }
            echo trim(preg_replace('/>\s+</', '><', ob_get_clean()));
        } catch (Exception $e) {
            ob_end_clean();

            throw $e;
        } catch (Throwable $e) {
            ob_end_clean();

            throw $e;
        }

        return ('' === $tmp = ob_get_clean()) ? '' : new Twig_Markup($tmp, $this->env->getCharset());
    }

    public function getTemplateName()
    {
        return "extension/module/aqe/catalog/category_list.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  1047 => 11,  1043 => 9,  1041 => 8,  1038 => 7,  1036 => 6,  1033 => 5,  1031 => 4,  1028 => 3,  1025 => 2,  1012 => 1,  1006 => 273,  901 => 270,  892 => 269,  887 => 268,  870 => 267,  861 => 266,  856 => 265,  853 => 264,  829 => 263,  822 => 262,  820 => 261,  812 => 260,  805 => 259,  799 => 258,  791 => 257,  779 => 256,  768 => 248,  764 => 247,  756 => 241,  748 => 238,  745 => 237,  742 => 236,  735 => 234,  729 => 233,  718 => 231,  713 => 228,  707 => 227,  682 => 225,  664 => 223,  661 => 222,  657 => 221,  651 => 219,  649 => 218,  645 => 216,  634 => 214,  630 => 213,  626 => 212,  617 => 210,  615 => 209,  604 => 207,  596 => 206,  594 => 205,  587 => 203,  584 => 202,  581 => 201,  577 => 200,  574 => 199,  569 => 198,  567 => 197,  562 => 194,  556 => 193,  542 => 191,  525 => 188,  523 => 187,  519 => 185,  506 => 183,  502 => 182,  496 => 181,  487 => 179,  482 => 178,  480 => 177,  476 => 175,  469 => 173,  456 => 171,  452 => 170,  447 => 169,  443 => 168,  437 => 167,  428 => 165,  423 => 164,  421 => 163,  417 => 161,  404 => 159,  400 => 158,  394 => 157,  385 => 155,  380 => 154,  378 => 153,  372 => 150,  368 => 149,  362 => 147,  360 => 146,  352 => 143,  346 => 142,  337 => 140,  332 => 139,  330 => 138,  322 => 135,  316 => 134,  307 => 132,  302 => 131,  300 => 130,  297 => 129,  294 => 128,  290 => 127,  286 => 125,  280 => 124,  270 => 122,  256 => 120,  254 => 119,  245 => 118,  243 => 117,  236 => 116,  233 => 115,  229 => 114,  222 => 111,  213 => 105,  205 => 99,  199 => 98,  193 => 97,  185 => 94,  175 => 92,  172 => 91,  167 => 90,  163 => 89,  155 => 83,  144 => 81,  140 => 80,  135 => 78,  128 => 76,  122 => 75,  116 => 74,  107 => 70,  96 => 62,  85 => 56,  81 => 55,  61 => 37,  56 => 34,  54 => 33,  45 => 27,  41 => 26,  35 => 23,  29 => 20,  19 => 13,);
    }
}
/* {% macro alert_icon(type) %}{% spaceless %}*/
/* 		{% if type == 'error' %}*/
/* 			fa-times-circle*/
/* 		{% elseif type == 'warning' %}*/
/* 			fa-exclamation-triangle*/
/* 		{% elseif type == 'success' %}*/
/* 			fa-check-circle*/
/* 		{% elseif type == 'info' %}*/
/* 			fa-info-circle*/
/* 		{% else %}*/
/* 		{% endif %}*/
/* {% endspaceless %}{% endmacro %}*/
/* {{ header }}*/
/* <!-- confirm deletion -->*/
/* <div class="modal fade" id="confirmDelete" tabindex="-1" role="dialog" aria-labelledby="confirmDeleteLabel" aria-hidden="true">*/
/* 	<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" id="confirmDeleteLabel">{{ text_confirm_delete }}</h4>*/
/* 			</div>*/
/* 			<div class="modal-body">*/
/* 				<p>{{ text_are_you_sure }}</p>*/
/* 			</div>*/
/* 			<div class="modal-footer">*/
/* 				<button type="button" class="btn btn-default" data-dismiss="modal"><i class="fa fa-ban"></i> {{ button_cancel }}</button>*/
/* 				<button type="button" class="btn btn-danger delete"><i class="fa fa-trash-o"></i> {{ button_delete }}</button>*/
/* 			</div>*/
/* 		</div><!-- /.modal-content -->*/
/* 	</div><!-- /.modal-dialog -->*/
/* </div><!-- /.modal -->*/
/* */
/* {% if "image" in columns %}*/
/* <!-- image manager -->*/
/* <div class="modal fade" id="modal-image" tabindex="-1" role="dialog" aria-hidden="true"></div>*/
/* {% endif %}*/
/* */
/* <!-- action menu modal -->*/
/* <div class="modal fade" id="aqe-modal" tabindex="-1" role="dialog" aria-labelledby="aqeModalLabel" aria-hidden="true">*/
/* 	<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" id="aqeModalLabel"></h4>*/
/* 			</div>*/
/* 			<div class="modal-body bull5i-container">*/
/* 				<div class="notice">*/
/* 				</div>*/
/* 				<form enctype="multipart/form-data" id="aqeQuickEditForm" class="form-horizontal">*/
/* 					<fieldset class="aqe-modal-contents">*/
/* 					</fieldset>*/
/* 				</form>*/
/* 			</div>*/
/* 			<div class="modal-footer">*/
/* 				<button type="button" class="btn btn-default cancel" data-dismiss="modal"><i class="fa fa-times"></i> {{ button_close }}</button>*/
/* 				<button type="button" class="btn btn-primary submit" data-form="#aqeQuickEditForm" data-context="#aqe-modal" data-loading-text="<i class='fa fa-spinner fa-spin'></i> {{ text_saving }}"><i class="fa fa-save"></i> {{ button_save }}</button>*/
/* 			</div>*/
/* 		</div><!-- /.modal-content -->*/
/* 	</div><!-- /.modal-dialog -->*/
/* </div><!-- /.modal -->*/
/* */
/* {{ column_left }}*/
/* <div id="content">*/
/* 	<div class="page-header">*/
/* 		<div class="container-fluid">*/
/* 			<div class="pull-right">*/
/* 				<div class="nav navbar-nav navbar-checkbox hidden" id="batch-edit-container">*/
/* 					<div class="checkbox">*/
/* 						<label>*/
/* 							<input type="checkbox" id="batch-edit"{{ batch_edit ? ' checked' : '' }}> {{ text_batch_edit }}*/
/* 						</label>*/
/* 					</div>*/
/* 				</div>*/
/* 				<button type="button" class="btn btn-primary" data-toggle="tooltip" data-container="body" data-placement="bottom" title="{{ button_add }}" data-url="{{ add }}" id="btn-insert" data-form="#pqe-list-form" data-context="#content" data-overlay="#page-overlay"><i class="fa fa-plus"></i></button>*/
/* 				<button type="button" class="btn btn-default btn-nav-link" data-toggle="tooltip" data-container="body" data-placement="bottom" title="{{ button_rebuild }}" data-url="{{ rebuild }}" id="btn-rebuild" data-form="#pqe-list-form" data-context="#content" data-loading-text="<i class='fa fa-spinner fa-spin'></i>"><i class="fa fa-refresh"></i></button>*/
/* 				<button type="button" class="btn btn-danger" data-toggle="tooltip" data-container="body" data-placement="bottom" title="{{ button_delete }}" data-url="{{ delete }}" id="btn-delete" data-form="#pqe-list-form" data-context="#content" data-overlay="#page-overlay" data-loading-text="<i class='fa fa-spinner fa-spin'></i>" disabled><i class="fa fa-trash-o"></i></button>*/
/* 			</div>*/
/* 			<h1><i class="fa fa-list fa-fw ext-icon"></i> {{ heading_title }}</h1>*/
/* 			<ul class="breadcrumb">*/
/* 				{% for breadcrumb in breadcrumbs %}*/
/* 				<li><a href="{{ breadcrumb.href }}">{{ breadcrumb.text }}</a></li>*/
/* 				{% endfor %}*/
/* 			</ul>*/
/* 		</div>*/
/* 	</div>*/
/* */
/* 	<div class="alerts">*/
/* 		<div class="container-fluid" id="alerts">*/
/* 			{% for type, _alerts in alerts %}*/
/* 				{% for alert in _alerts %}*/
/* 					{% if alert %}*/
/* 			<div class="alert alert-{% if type == "error" %}danger{% else %}{{ type }}{% endif %} fade in">*/
/* 				<button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>*/
/* 				<i class="fa {{ _self.alert_icon(type) }}"></i>{{ alert }}*/
/* 			</div>*/
/* 					{% endif %}*/
/* 				{% endfor %}*/
/* 			{% endfor %}*/
/* 		</div>*/
/* 	</div>*/
/* */
/* 	<div class="container-fluid bull5i-content bull5i-container">*/
/* 		<div class="panel panel-default">*/
/* 			<div class="panel-heading">*/
/* 				<h3 class="panel-title"><i class="fa fa-list"></i> {{ text_list }}</h3>*/
/* 			</div>*/
/* 			<div class="panel-body">*/
/* 				<form method="post" enctype="multipart/form-data" id="pqe-list-form" class="form-horizontal" role="form">*/
/* 					<fieldset>*/
/* 						<div class="table-responsive">*/
/* 							<table cellpadding="0" cellspacing="0" border="0" class="table table-bordered table-condensed{{ module_admin_quick_edit_row_hover_highlighting ? ' table-hover' : '' }}{{ module_admin_quick_edit_alternate_row_colour ? ' table-striped' : '' }}" id="dT">*/
/* 								<thead>*/
/* 									<tr>*/
/* 										{% for col in columns %}*/
/* 											{% if col == 'selector' %}*/
/* 										<th class="{{ column_info[col].align }} col_{{ col }}" width="1"><input type="checkbox" id="global-selector" /></th>*/
/* 											{% elseif col == 'image' %}*/
/* 										<th class="{{ column_info[col].align }} col_{{ col }}" width="1">{{ column_info[col].name }}</th>*/
/* 											{% elseif column_info[col].sort %}*/
/* 										<th class="{{ column_info[col].align }} col_{{ col }}"><a href="{{ sorts[col] }}"{{ sort == column_info[col].sort ? ' class="' ~ order|lower() ~ '"' : '' }}>{{ column_info[col].name }}</a></th>*/
/* 											{% else %}*/
/* 										<th class="{{ column_info[col].align }} col_{{ col }}">{{ column_info[col].name }}</th>*/
/* 											{% endif %}*/
/* 										{% endfor %}*/
/* 									</tr>*/
/* 									<tr class="filters">*/
/* 										{% for col in columns %}*/
/* 											{% if col in ['selector', 'view_in_store'] %}*/
/* 										<th></th>*/
/* 											{% elseif col == 'status' %}*/
/* 										<th class="{{ column_info[col].align }}">*/
/* 											<select name="filter_{{ col }}" class="form-control input-sm search_init fltr {{ col }}" data-column="{{ col }}">*/
/* 												<option value=""></option>*/
/* 												<option value="1"{{ filters[col] == '1' ? ' selected' : '' }}>{{ text_enabled }}</option>*/
/* 												<option value="0"{{ filters[col] == '0' ? ' selected' : '' }}>{{ text_disabled }}</option>*/
/* 											</select>*/
/* 										</th>*/
/* 											{% elseif col in ['image', 'top'] %}*/
/* 										<th class="{{ column_info[col].align }}">*/
/* 											<select name="filter_{{ col }}" class="form-control input-sm search_init fltr {{ col }}" data-column="{{ col }}">*/
/* 												<option value=""></option>*/
/* 												<option value="1"{{ filters[col] == '1' ? ' selected' : '' }}>{{ text_yes }}</option>*/
/* 												<option value="0"{{ filters[col] == '0' ? ' selected' : '' }}>{{ text_no }}</option>*/
/* 											</select>*/
/* 										</th>*/
/* 											{% elseif col == 'action' %}*/
/* 										<th class="{{ column_info[col].align }}">*/
/* 											<div class="btn-group btn-group-flex">*/
/* 												<button type="button" class="btn btn-sm btn-default" id="filter" data-toggle="tooltip" data-container="body" title="{{ text_filter }}"><i class="fa fa-filter fa-fw"></i></button>*/
/* 												<button type="button" class="btn btn-sm btn-default" id="clear-filter" data-toggle="tooltip" data-container="body" title="{{ text_clear_filter }}"><i class="fa fa-times fa-fw"></i></button>*/
/* 											</div>*/
/* 										</th>*/
/* 											{% elseif col == 'parent' %}*/
/* 										<th class="{{ column_info[col].align }}">*/
/* 											<select name="filter_{{ col }}" class="form-control input-sm search_init fltr {{ col }}" data-column="{{ col }}">*/
/* 												<option value=""></option>*/
/* 												<option value="*"{{ filters[col] == '*' ? ' selected' : '' }}>{{ text_none }}</option>*/
/* 												{% for c in _categories %}*/
/* 												<option value="{{ c.category_id }}"{{ filters[col] == c.category_id ? ' selected' : '' }}>{{ c.name }}</option>*/
/* 												{% endfor %}*/
/* 											</select>*/
/* 										</th>*/
/* 											{% elseif col == 'filter' %}*/
/* 										<th class="{{ column_info[col].align }}">*/
/* 											<select name="filter_{{ col }}" class="form-control input-sm search_init fltr {{ col }}" data-column="{{ col }}">*/
/* 												<option value=""></option>*/
/* 												<option value="*"{{ filters[col] == '*' ? ' selected' : '' }}>{{ text_none }}</option>*/
/* 												{% for fg in _filters %}*/
/* 												<optgroup label="{{ fg.name|addslashes() }}">*/
/* 													{% for f in fg.filters %}*/
/* 													<option value="{{ f.filter_id }}"{{ filters[col] == f.filter_id ? ' selected' : '' }}>{{ f.name }}</option>*/
/* 													{% endfor %}*/
/* 												</optgroup>*/
/* 												{% endfor %}*/
/* 											</select>*/
/* 										</th>*/
/* 											{% elseif col == 'store' %}*/
/* 										<th class="{{ column_info[col].align }}">*/
/* 											<select name="filter_{{ col }}" class="form-control input-sm search_init fltr {{ col }}" data-column="{{ col }}">*/
/* 												<option value=""></option>*/
/* 												<option value="*"{{ filters[col] == '*' ? ' selected' : '' }}>{{ text_none }}</option>*/
/* 												{% for store_id, s in stores %}*/
/* 												<option value="{{ store_id }}"{{ filters[col] != "" and filters[col] == store_id ? ' selected' : '' }}>{{ s.name }}</option>*/
/* 												{% endfor %}*/
/* 											</select>*/
/* 										</th>*/
/* 											{% elseif col in ['name', 'seo'] %}*/
/* 										<th class="{{ column_info[col].align }}"><input type="text" name="filter_{{ col }}" class="form-control input-sm search_init fltr {{ col }} typeahead" data-column="{{ col }}" value="{{ filters[col] }}" placeholder="{{ text_autocomplete }}"></th>*/
/* 										</th>*/
/* 											{% else %}*/
/* 										<th class="{{ column_info[col].align }}"><input type="text" name="filter_{{ col }}" class="form-control input-sm search_init fltr {{ col }}" data-column="{{ col }}" value="{{ filters[col] }}"></th>*/
/* 											{% endif %}*/
/* 										{% endfor %}*/
/* 									</tr>*/
/* 								</thead>*/
/* 								<tbody>*/
/* 									{% if categories %}*/
/* 										{% for category in categories %}*/
/* 									<tr>*/
/* 										{% for col in columns %}*/
/* 											{% if col == 'selector' %}*/
/* 										<td style="width:1px" class="text-center">*/
/* 											<input type="checkbox" name="selected[]" value="{{ category.category_id }}"{{ category.selected ? ' checked' : '' }}/>*/
/* 										</td>*/
/* 											{% elseif col == 'image' %}*/
/* 										<td class="{{ column_info[col].align }}{{ column_info[col].qe_status ? ' ' ~ column_info[col].type : '' }}" id="{{ col ~ "-" ~ category.category_id }}">*/
/* 											<img src="{{ category.thumb }}" alt="{{ category.name }}" class="img-thumbnail" data-id="{{ category.category_id }}" data-image="{{ category.image }}" />*/
/* 										</td>*/
/* 											{% elseif col == 'view_in_store' %}*/
/* 										<td class="view_store {{ column_info[col].align }}{{ column_info[col].qe_status ? ' ' ~ column_info[col].type : '' }}" id="{{ col ~ "-" ~ category.category_id }}">*/
/* 											<select onchange="((this.value !== '') ? window.open(this.value) : null); this.value = '';">*/
/* 												<option value="">{{ text_select }}</option>*/
/* 												{% for store in category[col] %}*/
/* 												<option value="{{ store.href }}">{{ store.name }}</option>*/
/* 												{% endfor %}*/
/* 											</select>*/
/* 										</td>*/
/* 											{% elseif col == 'action' %}*/
/* 										<td class="{{ column_info[col].align }} action">*/
/* 											<div class="btn-group btn-group-flex">*/
/* 												{% for action in category.action %}*/
/* 													{% if action.url %}*/
/* 												<a href="{{ action.url }}" class="btn btn-default btn-sm {{ action.type }} {{ action.class }}" id="{{ action.action ~ "-" ~ category.category_id }}" data-toggle="tooltip" data-container="body" title="{{ action.title }}"><i class="fa fa-{{ action.icon }}"></i>{{ action.name }}</a>*/
/* 													{% else %}*/
/* 												<button type="button" class="btn {{ action.data ? 'btn-warning' : 'btn-default' }} btn-sm action {{ action.type }} {{ action.class }}" id="{{ action.action ~ "-" ~ category.category_id }}" data-toggle="tooltip" data-container="body" title="{{ action.title }}" data-column="{{ action.action }}"{{ action.rel ? " data-rel='" ~ action.rel ~ "'" : "" }}>{% if action.icon %}<i class="fa fa-{{ action.icon }}"></i>{% endif %}{{ action.name }}</button>*/
/* 													{% endif %}*/
/* 												{% endfor %}*/
/* 											</div>*/
/* 										</td>*/
/* 												{% else %}*/
/* 										<td class="{{ column_info[col].align }}{{ column_info[col].qe_status ? ' ' ~ column_info[col].type : '' }}" id="{{ col ~ "-" ~ category.category_id }}">{{ category[col] }}</td>*/
/* 												{% endif %}*/
/* 											{% endfor %}*/
/* 									</tr>*/
/* 										{% endfor %}*/
/* 									{% else %}*/
/* 									<tr>*/
/* 										<td class="text-center" colspan="{{ columns|length() + 1 }}">{{ text_no_results }}</td>*/
/* 									</tr>*/
/* 									{% endif %}*/
/* 								</tbody>*/
/* 							</table>*/
/* 						</div>*/
/* 					</fieldset>*/
/* 				</form>*/
/* 				<div class="row">*/
/* 					<div class="col-sm-6 text-left">{{ pagination }}</div>*/
/* 					<div class="col-sm-6 text-right">{{ results }}</div>*/
/* 				</div>*/
/* 			</div>*/
/* 		</div>*/
/* 	</div>*/
/* </div>*/
/* <script type="text/javascript"><!--*/
/* (function(bull5i,$,undefined){*/
/* var related={{ related|json_encode() }};bull5i.batch_edit=parseInt("{{ batch_edit * 1 }}"),bull5i.texts=$.extend({},bull5i.texts,{error_ajax_request:"{{ error_ajax_request|addslashes() }}"}),bull5i.update_image=function(e){var t=e,a=$.Deferred();return $.when($.ajax({url:"index.php?route=common/filemanager&user_token={{ user_token }}&target="+encodeURIComponent(t),dataType:"html"})).done(function(e){$("#"+t).val(""),$("#modal-image").append(e),$("#modal-image").modal("show"),$("#modal-image").on("hide.bs.modal",function(){$("#"+t).val()?a.resolve():a.reject(),$("#modal-image").off("hide.bs.modal")}).on("hidden.bs.modal",function(){$("#modal-image").empty(),$("#modal-image").off("hidden.bs.modal")})}).fail(function(){a.reject()}),a.promise()},bull5i.update_related=function(e,t){if(t&&related[e]&&related[e].length){var a={};return $.each(related[e],function(e,r){a[r]=t,$.each(t,function(e,t){$("#"+r+"-"+t)&&bull5i.cell_updating($("#"+r+"-"+t))})}),$.ajax({url:"{{ refresh_url }}",type:"POST",cache:!1,dataType:"json",data:{data:a}}).done(function(e){e.error?bull5i.display_alert($("#alerts"),e.error,"error",0,!0):e.values&&$.each(e.values,function(e,t){$.each(t,function(t,a){var r=$("#"+t+"-"+e);r.empty().removeClass("updating").removeAttr("style").editable("enable"),setTimeout(function(){r.html(a)},10)})})}).fail(function(e){var t="string"==typeof e?e:e.responseText||e.statusText||"Unknown error!";bull5i.display_alert($("#alerts"),bull5i.texts.error_ajax_request+" "+t,"error",0,!0)}).always(function(){$("td.updating").each(function(){var e=$(this);e.empty().removeClass("updating").removeAttr("style").editable("enable"),setTimeout(function(){e.html(e.data("original-content"))},10)})}),!0}return!1};*/
/* bull5i.filter=function(){url='index.php?route=catalog/category&user_token={{ user_token }}&sort={{ sort }}&order={{ order }}&aqer=1';*/
/* {% for column, val in column_info %}{% if val.filter.show %}{% if val.filter.type == 0 %}*/
/* var filter_{{ column }}=$('input[name=\'filter_{{ column }}\']').not(':disabled').val();*/
/* if(filter_{{ column }}){url+='&filter_{{ column }}='+encodeURIComponent(filter_{{ column }});}*/
/* {% elseif val.filter.type == 1 %}*/
/* var filter_{{ column }} = $('select[name=\'filter_{{ column }}\']').val();*/
/* {% if column in ['store', 'parent', 'filter'] %}if(filter_{{ column }}){ {% else %}if(filter_{{ column }}&&filter_{{ column }}!='*'){ {% endif %}url+='&filter_{{ column }}='+encodeURIComponent(filter_{{ column }});}*/
/* {% endif %}{% endif %}{% endfor %}location=url;}*/
/* {% for column, val in column_info %}{% if val.filter.autocomplete %}*/
/* $('input[name=\'filter_{{ column }}\']').autocomplete({source:function(request,response){$.ajax({url:'index.php?route=extension/module/admin_quick_edit/catalog__category__autocomplete&user_token={{ user_token }}&filter_{{ column }}='+encodeURIComponent(request),dataType:'json',success:function(json){response($.unique($.map(json,function(item){*/
/* {% if val.filter.autocomplete.return is iterable %}return { {% for k, v in val.filter.autocomplete.return %}{{ k }}:item['{{ v }}'],{% endfor %}}*/
/* {% else %}return item['{{ val.filter.autocomplete.return }}']{% endif %}*/
/* })));}});},select:function(item){$('input[name=\'filter_{{ column }}\']').val(item['label']);return false;}});{% endif %}{% endfor %}*/
/* $(function(){$(".qe").editable(function(e,t){return bull5i.quick_update(this,e,t,"{{ update_url }}").done($.proxy(bull5i.update_finished,{column:$(this).attr("id").split("-")[0]})).fail($.proxy(bull5i.update_failed,this)),t.indicator},{type:"bs_text",indicator:"{{ text_saving }}",tooltip:"{{ module_admin_quick_edit_tooltip }}",event:"{{ module_admin_quick_edit_quick_edit_on }}",onblur:"cancel",placeholder:"",select:!0}),$(".seo_qe").editable(function(e,t){return t.indicator},{type:"multilingual_edit",indicator:"{{ text_saving }}",tooltip:"{{ module_admin_quick_edit_tooltip }}",event:"{{ module_admin_quick_edit_quick_edit_on }}",onblur:"ignore",placeholder:"",loadurl:"{{ load_popup_url }}",saveurl:"{{ update_url }}",loadtype:"POST",loadtext:"{{ text_loading }}"}),$(".image_qe").editable(function(e,t){var i={alt:$(this.revert).attr("alt")};return bull5i.quick_update(this,e,t,"{{ update_url }}",i).done($.proxy(bull5i.update_finished,{column:$(this).attr("id").split("-")[0]})).fail($.proxy(bull5i.update_failed,this)),$(this).html()},{type:"image_edit",tooltip:"{{ module_admin_quick_edit_tooltip }}",event:"{{ module_admin_quick_edit_quick_edit_on }}",onblur:"ignore",placeholder:""}),$(".store_qe, .filter_qe").editable(function(e,t){return bull5i.quick_update(this,e,t,"{{ update_url }}",$("#aqeQuickEditForm").serializeHash()).done($.proxy(bull5i.update_finished,{column:$(this).attr("id").split("-")[0]})).fail($.proxy(bull5i.update_failed,this)),t.indicator},{type:"multiselect_edit",indicator:"{{ text_saving }}",tooltip:"{{ module_admin_quick_edit_tooltip }}",event:"{{ module_admin_quick_edit_quick_edit_on }}",onblur:"ignore",placeholder:"",loadurl:"{{ load_popup_url }}",loadtype:"POST",loadtext:"{{ text_loading }}"}),$(".filters_qe,.descr_qe,.keyw_qe").on("click",function(e){e.preventDefault();var t=$(this).attr("id"),i=$(this).attr("id").split("-")[1],l=$(this).attr("id").split("-")[0],p={alerts:$.merge($("#aqe-modal .notice"),$("#alerts"))};bull5i.load_popup_data("{{ load_popup_url }}",{id:t}).done(function(e){e.alerts&&bull5i.display_alerts(e.alerts,!0,p.alerts),bull5i.aqe_popup(e.title,e.popup,function(o){e={id:t,old:"","new":""},bull5i.batch_edit&&$("input[name*='selected']:checked").length&&(e.ids=$("input[name*='selected']:checked").serializeObject().selected),$.extend(e,$("#aqeQuickEditForm").serializeHash()),bull5i.aqe_popup_update.call(p,"{{ update_url }}",e).done(function(t){(t===!0||t.success)&&bull5i.update_related(l,$.unique($.merge([i],e.ids||[]))),$.isFunction(o)&&o.call(null,t)}).fail(function(e){$.isFunction(o)&&o.call(null,e)})},"modal-lg")})}),$(".status_qe").editable(function(e,t){return bull5i.quick_update(this,e,t,"{{ update_url }}").done($.proxy(bull5i.update_finished,{column:$(this).attr("id").split("-")[0]})).fail($.proxy(bull5i.update_failed,this)),t.indicator},{data:"{{ status_select|trim() }}",type:"bs_select",indicator:"{{ text_saving }}",tooltip:"{{ module_admin_quick_edit_tooltip }}",event:"{{ module_admin_quick_edit_quick_edit_on }}",onblur:"cancel"}){% if single_lang_editing %},$(".name_qe").editable(function(e,t){var i={lang_id:"{{ language_id }}"};return bull5i.quick_update(this,e,t,"{{ update_url }}",i).done($.proxy(bull5i.update_finished,{column:$(this).attr("id").split("-")[0]})).fail($.proxy(bull5i.update_failed,this)),t.indicator},{data:function(e){return $.trim(e.replace(/^.*\ &gt; (.*)$/g,"$1"))},type:"bs_text",indicator:"{{ text_saving }}",tooltip:"{{ module_admin_quick_edit_tooltip }}",event:"{{ module_admin_quick_edit_quick_edit_on }}",onblur:"cancel",placeholder:"",select:!0}){% else %},$(".name_qe").editable(function(e,t){return t.indicator},{type:"multilingual_edit",indicator:"{{ text_saving }}",tooltip:"{{ module_admin_quick_edit_tooltip }}",event:"{{ module_admin_quick_edit_quick_edit_on }}",onblur:"ignore",placeholder:"",loadurl:"{{ load_popup_url }}",saveurl:"{{ update_url }}",loadtype:"POST",loadtext:"{{ text_loading }}"}){% endif %},$(".parent_qe").editable(function(e,t){return bull5i.quick_update(this,e,t,"{{ update_url }}").done($.proxy(bull5i.update_finished,{column:$(this).attr("id").split("-")[0]})).fail($.proxy(bull5i.update_failed,this)),t.indicator},{data:"{{ parent_select|trim() }}",type:"bs_select",indicator:"{{ text_saving }}",tooltip:"{{ module_admin_quick_edit_tooltip }}",event:"{{ module_admin_quick_edit_quick_edit_on }}",placeholder:"",onblur:"cancel"}),$(".yes_no_qe").editable(function(e,t){return bull5i.quick_update(this,e,t,"{{ update_url }}").done($.proxy(bull5i.update_finished,{column:$(this).attr("id").split("-")[0]})).fail($.proxy(bull5i.update_failed,this)),t.indicator},{data:"{{ yes_no_select|trim() }}",type:"bs_select",indicator:"{{ text_saving }}",tooltip:"{{ module_admin_quick_edit_tooltip }}",event:"{{ module_admin_quick_edit_quick_edit_on }}",placeholder:"",onblur:"cancel"})});*/
/* }(window.bull5i=window.bull5i||{},jQuery));*/
/* //--></script>*/
/* {{ footer }}*/
/* */
