<?php

/* products.manage.grid.tpl */
class __TwigTemplate_b6169402afef3806f03436c252a34417 extends Twig_Template
{
    public function display(array $context)
    {
        // line 1
        $context['util'] = $this->env->loadTemplate("macros/util.tpl", true);
        echo "<table class=\"GridPanel SortableGrid AutoExpand\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\" id=\"IndexGrid\" style=\"width:100%;\">
\t<tr>
\t\t<td colspan=\"12\" class=\"text-center\">
\t\t\t<nav aria-label=\"Page navigation example\">
\t\t\t\t<ul class=\"pagination LetterSort\">
\t\t\t\t\t";
        // line 7
        $context['_parent'] = (array) $context;
        $context['_seq'] = twig_iterator_to_array((isset($context['letters']) ? $context['letters'] : null));
        $countable = is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof Countable);
        $length = $countable ? count($context['_seq']) : null;
        $context['loop'] = array(
          'parent' => $context['_parent'],
          'index0' => 0,
          'index'  => 1,
          'first'  => true,
        );
        if ($countable) {
            $context['loop']['revindex0'] = $length - 1;
            $context['loop']['revindex'] = $length;
            $context['loop']['length'] = $length;
            $context['loop']['last'] = 1 === $length;
        }
        foreach ($context['_seq'] as $context['displayLetter'] => $context['letter']) {
            echo "\t\t\t\t\t<li class=\"page-item\"><a class=\"SortLink page-link\" class=\"SortLink ";
            // line 8
            if ((isset($context['letter']) ? $context['letter'] : null) == (isset($context['activeLetter']) ? $context['activeLetter'] : null)) {
                echo "ActiveLetter";
            }
            echo "\" href=\"index.php?ToDo=viewProducts&amp;";
            echo http_build_query(twig_escape_filter($this->env, (isset($context['letterURL']) ? $context['letterURL'] : null), "1"));
            echo "&amp;letter=";
            echo twig_escape_filter($this->env, (isset($context['letter']) ? $context['letter'] : null), "1");
            echo "\">";
            echo twig_escape_filter($this->env, (isset($context['displayLetter']) ? $context['displayLetter'] : null), "1");
            echo "</a></li>
\t\t\t\t\t";
            ++$context['loop']['index0'];
            ++$context['loop']['index'];
            $context['loop']['first'] = false;
            if ($countable) {
                --$context['loop']['revindex0'];
                --$context['loop']['revindex'];
                $context['loop']['last'] = 0 === $context['loop']['revindex0'];
            }
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['displayLetter'], $context['letter'], $context['_parent'], $context['loop']);
        $context = array_merge($_parent, array_intersect_key($context, $_parent));
        // line 9
        echo "\t\t\t\t\t<li class=\"page-item\"><a class=\"SortLink\" href=\"index.php?ToDo=viewProducts&amp;";
        // line 10
        echo http_build_query(twig_escape_filter($this->env, (isset($context['letterURL']) ? $context['letterURL'] : null), "1"));
        echo "\">";
        echo getLang("Clear");
        echo "</a></li>
\t\t\t\t</ul>
\t\t\t</nav>
\t\t</td>
\t</tr>
\t
\t<tr align=\"center\">
\t\t<td colspan=\"12\" class=\"PagingNav\">
\t\t\t";
        // line 18
        echo twig_escape_filter($this->env, $this->getAttribute((isset($context['util']) ? $context['util'] : null), "paging", array((isset($context['numProducts']) ? $context['numProducts'] : null), (isset($context['perPage']) ? $context['perPage'] : null), (isset($context['currentPage']) ? $context['currentPage'] : null), (isset($context['pageURL']) ? $context['pageURL'] : null), true, ), "method"), "1");
        echo "
\t\t</td>
\t</tr>
</table>
<div class=\"panel panel-default\">
\t<div class=\"panel-body\" style=\"padding: 0\">
\t<div class=\"table-responsive\">
\t\t<table class=\"GridPanel SortableGrid AutoExpand table table-striped\" id=\"IndexGrid\" style=\"margin: 0\">
\t\t\t<thead>
\t\t\t\t<tr>
\t\t\t\t\t<th><input type=\"checkbox\" onclick=\"ToggleDeleteBoxes(this.checked)\"></th>
\t\t\t\t\t<th></th>
\t\t\t\t\t<th style=\"display: ";
        // line 30
        echo twig_safe_filter((isset($context['HideInventoryOptions']) ? $context['HideInventoryOptions'] : null));
        echo "\"></th>
\t\t\t\t\t<th class=\"ImageField\">";
        // line 31
        echo getLang("Image");
        echo "</th>
\t\t\t\t\t<th>";
        // line 32
        echo getLang("ProductSKU");
        echo " &nbsp;";
        echo twig_safe_filter((isset($context['SortLinksCode']) ? $context['SortLinksCode'] : null));
        echo "</th>
\t\t\t\t\t<th style=\"width: 95px; display: ";
        // line 33
        echo twig_safe_filter((isset($context['HideInventoryOptions']) ? $context['HideInventoryOptions'] : null));
        echo "\">
\t\t\t\t\t\tEstoque &nbsp;
\t\t\t\t\t\t";
        // line 35
        echo twig_safe_filter((isset($context['SortLinksStock']) ? $context['SortLinksStock'] : null));
        echo "
\t\t\t\t\t</th>
\t\t\t\t\t<th colspan=\"";
        // line 37
        echo twig_safe_filter((isset($context['ProductNameSpan']) ? $context['ProductNameSpan'] : null));
        echo "\">
\t\t\t\t\t\t";
        // line 38
        echo getLang("ProductName");
        echo " &nbsp;
\t\t\t\t\t\t";
        // line 39
        echo twig_safe_filter((isset($context['SortLinksName']) ? $context['SortLinksName'] : null));
        echo "
\t\t\t\t\t</th>
\t\t\t\t\t<th width=\"70\" style=\"text-align: right;\">
\t\t\t\t\t\t";
        // line 42
        echo getLang("ProductPrice");
        echo " &nbsp;
\t\t\t\t\t\t";
        // line 43
        echo twig_safe_filter((isset($context['SortLinksPrice']) ? $context['SortLinksPrice'] : null));
        echo "
\t\t\t\t\t</th>
\t\t\t\t\t<th width=\"85\" style=\"text-align: right;\">
\t\t\t\t\t\t";
        // line 46
        echo getLang("Status");
        echo " &nbsp;
\t\t\t\t\t\t";
        // line 47
        echo twig_safe_filter((isset($context['SortLinksStatus']) ? $context['SortLinksStatus'] : null));
        echo "
\t\t\t\t\t</th>
\t\t\t\t\t<th width=\"70\" nowrap=\"nowrap\">
\t\t\t\t\t\t";
        // line 50
        echo getLang("ProductVisible");
        echo " &nbsp;
\t\t\t\t\t\t";
        // line 51
        echo twig_safe_filter((isset($context['SortLinksVisible']) ? $context['SortLinksVisible'] : null));
        echo "
\t\t\t\t\t</th>
\t\t\t\t\t<th width=\"80\" nowrap=\"nowrap\">
\t\t\t\t\t\tDestaque &nbsp;
\t\t\t\t\t\t";
        // line 55
        echo twig_safe_filter((isset($context['SortLinksFeatured']) ? $context['SortLinksFeatured'] : null));
        echo "
\t\t\t\t\t</th>
\t\t\t\t\t<th style=\"width:70px;\">
\t\t\t\t\t\t";
        // line 58
        echo getLang("Action");
        echo "\t\t\t\t\t</th>
\t\t\t\t</tr>
\t\t\t</thead>
\t\t\t
\t\t\t<tbody>
\t\t\t\t";
        // line 64
        echo twig_safe_filter((isset($context['ProductGrid']) ? $context['ProductGrid'] : null));
        echo "
\t\t\t</tbody>
\t\t\t
\t\t\t<tr align=\"center\">
\t\t\t\t<td colspan=\"12\" class=\"PagingNav\">
\t\t\t\t\t";
        // line 69
        echo twig_escape_filter($this->env, $this->getAttribute((isset($context['util']) ? $context['util'] : null), "paging", array((isset($context['numProducts']) ? $context['numProducts'] : null), (isset($context['perPage']) ? $context['perPage'] : null), (isset($context['currentPage']) ? $context['currentPage'] : null), (isset($context['pageURL']) ? $context['pageURL'] : null), true, ), "method"), "1");
        echo "
\t\t\t\t</td>
\t\t\t</tr>
\t\t</table>
\t</div>
\t</div>
</div>";
    }

}
