public function block_content($context, array $blocks = array())
 {
     // line 3
     echo "<div class=\"row-fluid\">\n    <div class=\" col-lg-8\">\n        <div class=\"panel panel-default\">\n          <!-- Default panel contents -->\n          <div class=\"panel-heading\">Choose atleast 6 numbers below.</div>\n          <div class=\"panel-body\">\n                <div id=\"betting-form-container\">\n                    ";
     // line 10
     if ($this->getAttribute(isset($context["flash"]) ? $context["flash"] : null, "error") != "") {
         // line 11
         echo "                        <div class=\"alert alert-warning\">";
         echo $this->getAttribute(isset($context["flash"]) ? $context["flash"] : null, "error");
         echo "</div>\n                    ";
     }
     // line 13
     echo "                    ";
     if ($this->getAttribute(isset($context["flash"]) ? $context["flash"] : null, "info") != "") {
         // line 14
         echo "                        <div class=\"alert alert-success\">";
         echo $this->getAttribute(isset($context["flash"]) ? $context["flash"] : null, "info");
         echo "</div>\n                    ";
     }
     // line 16
     echo "                    <form role=\"form\" id=\"betting-form\" method=\"POST\">\n                        <input type=\"hidden\" value=\"";
     // line 17
     echo twig_escape_filter($this->env, isset($context["csrf_token"]) ? $context["csrf_token"] : null, "html", null, true);
     echo "\" name=\"csrf_token\"/>\n                        <ul id=\"betting-form-list\">\n                            \n                        </ul>\n                        <div style=\"clear: both; margin-top:35px;\"><br /></div>\n                        <div class=\"form-actions\">\n                            <button type=\"submit\" name=\"submit\" class=\"btn btn-primary disabled\" disabled=\"disabled\" id=\"place-bet\">Place Bet</button>\n                            <label class=\"pull-right\">\n                              <input type=\"checkbox\" id=\"lucky-pick\" name=\"lucky_pick\"/> Luck Pick\n                            </label>\n                        </div>\n                    </form>\n                    <div style=\"clear: both;\"></div>\n                </div>\n          </div>\n        </div>\n    </div>\n    <div class=\" col-lg-4\">\n        <div class=\"panel panel-default\">\n          <!-- Default panel contents -->\n          <div class=\"panel-heading\">Todays Draw</div>\n          <div class=\"panel-body\"  style=\"text-align: center;\">\n                <p style=\"margin: 0px;\">Total Price</p>\n                <h1 style=\"margin: 0px;\">\$";
     // line 40
     echo twig_escape_filter($this->env, twig_number_format_filter($this->env, $this->getAttribute(isset($context["draw"]) ? $context["draw"] : null, "winning_price"), 2), "html", null, true);
     echo "</h1>\n          </div>\n        </div>\n    </div>\n    <div class=\" col-lg-4\">\n        <div class=\"panel panel-default\">\n          <!-- Default panel contents -->\n          <div class=\"panel-heading\">Time Left</div>\n          <div class=\"panel-body\"  style=\"text-align: center;\">\n              <div style=\"padding-left: 60px;\">\n                <script type=\"application/javascript\">\n                var myCountdown2 = new Countdown({\n                    time: ";
     // line 52
     echo twig_escape_filter($this->env, isset($context["left"]) ? $context["left"] : null, "html", null, true);
     echo ", \n                    width:200, \n                    height:80, \n                    rangeHi:\"hour\"\t// <- no comma on last item!\n                });\n                // ARRAY PROTOTYPE\n                Array.prototype.remove = function() {\n                    var what, a = arguments, L = a.length, ax;\n                    while (L && this.length) {\n                        what = a[--L];\n                        while ((ax = this.indexOf(what)) !== -1) {\n                            this.splice(ax, 1);\n                        }\n                    }\n                    return this;\n                };\n                jQuery(document).ready(function(){\n                    // LETS LOAD THE CHECKBOXES HERE\n                    for(var i=1;i<43;i++){\n                        jQuery('#betting-form-list').append('<li>'+i+'<input type=\"checkbox\" value=\"'+i+'\" name=\"bet[]\" class=\"bets\" id=\"check-'+i+'\"></li>');\n                    }\n                    // NOW LETS \n                    var bets = [];\n                    jQuery('.bets').click(function(){\n                    if(jQuery('#lucky-pick').is(':checked')){\n                        alert(\"You cannot manually select or remove an item while lucky pick is selected.\");\n                        return false;\n                    }else{\n                        \n                        if(jQuery(this).is(':checked')){\n                            if(bets.length >= 6){\n                                alert(\"You can only select atleast 6 numbers.\");\n                                return false;\n                            }else{\n                                jQuery(this).closest('li').css('background-color','#f9d5db');\n                                if(jQuery.inArray(this.value, bets) > -1){\n                                    //do something\n                                    alert(\"This number already exists.\");    \n                                    return false;\n                                }else{\n                                    \n                                    bets.push(this.value);\n                                    \n                                    if(bets.length >= 6){\n                                        jQuery('#place-bet').removeAttr('disabled');\n                                        jQuery('#place-bet').removeClass('disabled');\n                                    }\n                                   \n                                }\n                            }\n                        }else{\n                            \n                            for(var i=0;i<bets.length;i++){\n                                if(bets[i] ==  this.value){\n                                    bets = bets.splice(bets[i]);\n                                }\n                            }\n                            \n                            if(bets.length <= 5){\n                                jQuery('#place-bet').attr('disabled','disabled');\n                                jQuery('#place-bet').addClass('disabled');\n                            }else{\n                                jQuery('#place-bet').removeAttr('disabled');\n                                jQuery('#place-bet').removeClass('disabled');\n                            }\n                            jQuery(this).closest('li').removeAttr('style');\n                        }  \n                    }\n                    });\n                    \n                    // LUCK PICK \n                    jQuery('#lucky-pick').click(function(){\n                        if(jQuery(this).is(':checked')){\n                            bets = new Array;\n                            // UNCHECK ALL THE CHECKBOXES FIRST and REMOVE LI STYLES\n                            jQuery('.bets').removeAttr('checked');\n                            jQuery('.bets').closest('li').removeAttr('style');\n                            // GENERATE SHUFFLE THE ARRAY VALUES\n                            sets = [];\n                            for(var i=1;i<43;i++){\n                                sets.push(i);\n                            }\n                            sets =  sets.sort(function() { return 0.5 - Math.random() });\n                            \n                            // LETS CHECK FIRST 6 VALUES ITERATE ALL CHECKBOXES\n                            randoms = sets.slice(0,6);\n                              for(var x=0;x<randoms.length;x++){\n                                    jQuery(\"#check-\"+randoms[x]).prop('checked', true);\n                                    jQuery(\"#check-\"+randoms[x]).closest('li').css('background-color','#f9d5db');\n                                    bets.push(randoms[x]);\n                              }  \n                            console.log(bets);\n                            // ENABLE BUTTON AT LAST\n                            if(bets.length <= 5){\n                                jQuery('#place-bet').attr('disabled','disabled');\n                                jQuery('#place-bet').addClass('disabled');\n                            }else{\n                                jQuery('#place-bet').removeAttr('disabled');\n                                jQuery('#place-bet').removeClass('disabled');\n                            }\n                            \n                        }else{\n                            // UNCHECK ALL THE CHECKBOXES FIRST and REMOVE LI STYLES\n                            jQuery('.bets').removeAttr('checked');\n                            jQuery('.bets').closest('li').removeAttr('style');\n                            jQuery('#lucky-pick').removeAttr(\"checked\");\n                            bets = [];\n                            if(bets.length <= 5){\n                                jQuery('#place-bet').attr('disabled','disabled');\n                                jQuery('#place-bet').addClass('disabled');\n                            }else{\n                                jQuery('#place-bet').removeAttr('disabled');\n                                jQuery('#place-bet').removeClass('disabled');\n                            }\n                        }\n                    });\n                });\n                </script>\n              </div>\n          </div>\n        </div>\n    </div>\n</div>\n";
 }
 protected function doDisplay(array $context, array $blocks = array())
 {
     // line 2
     echo "\n<style>\n\n</style>\n\n<table border=\"0\" width=\"100%\">\n    <tr>\n        <td colspan=\"5\" height=\"6\"></td>\n    </tr>\n    <tr>\n        <td width=\"6\"></td>\n        <td width=\"30%\" style=\"text-align:center;vertical-align:middle;\">\n            <div style=\"white-space:nowrap;\">";
     // line 14
     echo twig_escape_filter($this->env, call_user_func_array($this->env->getFilter('translate')->getCallable(), array("SimpleSysMon_SystemLoad")), "html", null, true);
     echo "</div>\n            <div style=\"margin-top:8px;font-size:1.2em;font-weight:bold;\">";
     // line 15
     echo twig_escape_filter($this->env, twig_number_format_filter($this->env, isset($context["sysLoad"]) ? $context["sysLoad"] : $this->getContext($context, "sysLoad")), "html", null, true);
     echo " %</b> </div>\n            <div>(";
     // line 16
     echo twig_escape_filter($this->env, isset($context["numCores"]) ? $context["numCores"] : $this->getContext($context, "numCores"), "html", null, true);
     echo "&nbsp;";
     echo twig_escape_filter($this->env, call_user_func_array($this->env->getFilter('translate')->getCallable(), array("SimpleSysMon_Cores")), "html", null, true);
     echo ")</div>\n        </td>\n        <td width=\"20\" style=\"text-align:center;vertical-align:middle;\">&nbsp;</td>\n        <td width=\"30%\" style=\"text-align:center;vertical-align:middle;\">\n            <div style=\"white-space:nowrap;\">";
     // line 20
     echo twig_escape_filter($this->env, isset($context["memLabel"]) ? $context["memLabel"] : $this->getContext($context, "memLabel"), "html", null, true);
     echo "</div>\n            <div style=\"margin-top:8px;font-size:1.2em;font-weight:bold;\">";
     // line 21
     echo twig_escape_filter($this->env, isset($context["memVal"]) ? $context["memVal"] : $this->getContext($context, "memVal"), "html", null, true);
     echo " MB</b></div>\n            <div>(";
     // line 22
     echo twig_escape_filter($this->env, twig_number_format_filter($this->env, isset($context["memProc"]) ? $context["memProc"] : $this->getContext($context, "memProc")), "html", null, true);
     echo "&nbsp;%)</div>\n        </td>\n        <td width=\"6\"></td>\n    </tr>\n    <tr>\n        <td colspan=\"5\" height=\"6\"></td>\n    </tr>\n</table>";
 }
 public function block_body($context, array $blocks = array())
 {
     $__internal_2279798b464714439a4e9ce5704da987d5f8831b5a942dfa56bca4f20db22c00 = $this->env->getExtension("native_profiler");
     $__internal_2279798b464714439a4e9ce5704da987d5f8831b5a942dfa56bca4f20db22c00->enter($__internal_2279798b464714439a4e9ce5704da987d5f8831b5a942dfa56bca4f20db22c00_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "body"));
     // line 7
     echo "<h1>Clothes</h1>\n\n    <div class=\"container\">\n        <div class=\"row\">\n            <div class=\"col-md-6\">\n                <img class=\"item-image\" src=\"http://placehold.it/500x400\" alt=\"\">\n            </div>\n            <div class=\"col-md-6\">\n                <h2>";
     // line 15
     echo twig_escape_filter($this->env, $this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "name", array()), "html", null, true);
     echo " </h2>\n                <h2>&euro;";
     // line 16
     echo twig_escape_filter($this->env, twig_number_format_filter($this->env, $this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "price", array()), 2, ".", ","), "html", null, true);
     echo "</h2>\n                <h3>Rating:\n                    ";
     // line 18
     $context['_parent'] = $context;
     $context['_seq'] = twig_ensure_traversable(range(0, $this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "rating", array())));
     foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
         // line 19
         echo "                        <span class=\"glyphicon glyphicon-star\"></span>\n                    ";
     }
     $_parent = $context['_parent'];
     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
     $context = array_intersect_key($context, $_parent) + $_parent;
     // line 21
     echo "\n                </h3>\n                <hr>\n                <p>";
     // line 24
     echo twig_escape_filter($this->env, $this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "details", array()), "html", null, true);
     echo "</p>\n            </div>\n        </div>\n    </div>\n\n    <ul class=\"record_actions\">\n        <li>\n            <a href=\"";
     // line 31
     echo $this->env->getExtension('routing')->getPath("clothes");
     echo "\">\n                Back to the list\n            </a>\n        </li>\n    </ul>\n";
     $__internal_2279798b464714439a4e9ce5704da987d5f8831b5a942dfa56bca4f20db22c00->leave($__internal_2279798b464714439a4e9ce5704da987d5f8831b5a942dfa56bca4f20db22c00_prof);
 }
 protected function doDisplay(array $context, array $blocks = array())
 {
     // line 1
     $context["data"] = $this->getAttribute(isset($context["history"]) ? $context["history"] : $this->getContext($context, "history"), "getDataAsArray", array(), "method");
     // line 2
     echo "\n<table>\n    <tr>\n        <td><strong>Payment Request:</strong></td>\n        <td>";
     // line 6
     echo twig_escape_filter($this->env, $this->getAttribute(isset($context["paymentRequest"]) ? $context["paymentRequest"] : $this->getContext($context, "paymentRequest"), "getTitle", array(), "method"), "html", null, true);
     echo "</td>\n    </tr>\n    <tr>\n        <td><strong>Payout amount:</strong></td>\n        <td>\$";
     // line 10
     echo twig_escape_filter($this->env, twig_number_format_filter($this->env, ((isset($context["marketplaceAmount"]) ? $context["marketplaceAmount"] : $this->getContext($context, "marketplaceAmount")) + (isset($context["customerAmount"]) ? $context["customerAmount"] : $this->getContext($context, "customerAmount"))) / 100, 2, ".", ","), "html", null, true);
     echo "</td>\n    </tr>\n    <tr>\n        <td><strong>Fees:</strong></td>\n        <td>\$";
     // line 14
     echo twig_escape_filter($this->env, twig_number_format_filter($this->env, (isset($context["marketplaceAmount"]) ? $context["marketplaceAmount"] : $this->getContext($context, "marketplaceAmount")) / 100, 2, ".", ","), "html", null, true);
     echo "</td>\n    </tr>\n</table>\n\n<p>\n    ----------------------------------------------------------- <br>\n    Transaction Number: ";
     // line 20
     echo twig_escape_filter($this->env, $this->getAttribute(isset($context["history"]) ? $context["history"] : $this->getContext($context, "history"), "getPublicId", array(), "method"), "html", null, true);
     echo " <br>\n    Date: ";
     // line 21
     echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), "created_at", array()), "D, d M y H:i:s O"), "html", null, true);
     echo "<br>\n    Amount: \$";
     // line 22
     echo twig_escape_filter($this->env, $this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), "amount", array()) / 100, "html", null, true);
     echo " <br>\n    -----------------------------------------------------------  <br>\n</p>\n";
 }
 public function block_content($context, array $blocks = array())
 {
     // line 6
     echo "<div class=\"row\">\n    <div class=\"span12\">\n        <div class=\"row\">\n            <div class=\"span3\">Amount</div>\n            <div class=\"span5\">\$";
     // line 10
     echo twig_escape_filter($this->env, twig_number_format_filter($this->env, (isset($context["amount"]) ? $context["amount"] : $this->getContext($context, "amount")) / 100, 2, ".", ","), "html", null, true);
     echo "</div>\n        </div>\n    </div>\n</div>\n";
 }
 protected function doDisplay(array $context, array $blocks = array())
 {
     // line 1
     echo "<section class=\"g-grid submenu-selector\">\n    ";
     // line 2
     $context['_parent'] = $context;
     $context['_seq'] = twig_ensure_traversable($this->getAttribute(isset($context["item"]) ? $context["item"] : null, "groups", array()));
     $context['loop'] = array('parent' => $context['_parent'], 'index0' => 0, 'index' => 1, 'first' => true);
     if (is_array($context['_seq']) || is_object($context['_seq']) && $context['_seq'] instanceof Countable) {
         $length = count($context['_seq']);
         $context['loop']['revindex0'] = $length - 1;
         $context['loop']['revindex'] = $length;
         $context['loop']['length'] = $length;
         $context['loop']['last'] = 1 === $length;
     }
     foreach ($context['_seq'] as $context["group"] => $context["children"]) {
         // line 3
         echo "        ";
         $context["width"] = twig_number_format_filter($this->env, $this->getAttribute(isset($context["item"]) ? $context["item"] : null, "columnWidth", array(0 => $context["group"]), "method"), 1);
         // line 4
         echo "        ";
         $context["special"] = array_key_exists("column", $context) && $context["group"] == (isset($context["column"]) ? $context["column"] : null);
         // line 5
         echo "        ";
         $context["target"] = "list-" . $context["group"];
         // line 6
         echo "        <div class=\"g-block\" data-mm-id=\"";
         echo twig_escape_filter($this->env, isset($context["target"]) ? $context["target"] : null);
         echo "\" style=\"flex: 0 1 ";
         echo twig_escape_filter($this->env, twig_round(isset($context["width"]) ? $context["width"] : null, 1), "html", null, true);
         echo "%\">\n            <div class=\"submenu-column\">\n                ";
         // line 8
         $this->loadTemplate("menu/list.html.twig", "@gantry-admin/menu/columns.html.twig", 8)->display(array_merge($context, array("item" => isset($context["special"]) ? $context["special"] : null ? isset($context["override"]) ? $context["override"] : null : (isset($context["item"]) ? $context["item"] : null), "group" => $context["group"])));
         // line 9
         echo "                ";
         $context["size"] = twig_length_filter($this->env, $this->getAttribute(isset($context["item"]) ? $context["item"] : null, "groups", array()));
         // line 10
         echo "            </div>\n            <div class=\"submenu-ratio\">\n                <span class=\"percentage\"><input type=\"text\" class=\"column-pc\" value=\"";
         // line 12
         echo twig_escape_filter($this->env, twig_round(isset($context["width"]) ? $context["width"] : null, 1), "html", null, true);
         echo "\" tabindex=\"";
         echo twig_escape_filter($this->env, $context["group"] + 1, "html", null, true);
         echo "\" min=\"5\" max=\"95\" />%</span>\n            </div>\n        </div>\n    ";
         ++$context['loop']['index0'];
         ++$context['loop']['index'];
         $context['loop']['first'] = false;
         if (isset($context['loop']['length'])) {
             --$context['loop']['revindex0'];
             --$context['loop']['revindex'];
             $context['loop']['last'] = 0 === $context['loop']['revindex0'];
         }
     }
     $_parent = $context['_parent'];
     unset($context['_seq'], $context['_iterated'], $context['group'], $context['children'], $context['_parent'], $context['loop']);
     $context = array_intersect_key($context, $_parent) + $_parent;
     // line 16
     echo "</section>\n<span class=\"fa fa-plus add-column\"></span>\n";
 }
 protected function doDisplay(array $context, array $blocks = array())
 {
     // line 1
     if ($this->getAttribute(isset($context["field_options"]) ? $context["field_options"] : null, "format", array())) {
         // line 2
         echo "    ";
         echo twig_escape_filter($this->env, sprintf($this->getAttribute(isset($context["field_options"]) ? $context["field_options"] : null, "format", array()), isset($context["value"]) ? $context["value"] : null), "html", null, true);
         echo "\n";
     } else {
         // line 4
         echo "    ";
         echo twig_escape_filter($this->env, twig_number_format_filter($this->env, isset($context["value"]) ? $context["value"] : null, 2), "html", null, true);
         echo "\n";
     }
 }
 public function block_body($context, array $blocks = array())
 {
     $__internal_544665ed3fbaaebd4281eb206842aa4578d2ccb8acbb8cbfb7b6f06cc0a279ff = $this->env->getExtension("native_profiler");
     $__internal_544665ed3fbaaebd4281eb206842aa4578d2ccb8acbb8cbfb7b6f06cc0a279ff->enter($__internal_544665ed3fbaaebd4281eb206842aa4578d2ccb8acbb8cbfb7b6f06cc0a279ff_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "body"));
     // line 5
     echo "<div class=\"row\">\n        <div class=\"col-md-3\">\n            <p class=\"lead\">Filters</p>\n            <div class=\"list-group\">\n                <a href=\"#\" class=\"list-group-item\">Category 1</a>\n                <a href=\"#\" class=\"list-group-item\">Category 2</a>\n                <a href=\"#\" class=\"list-group-item\">Category 3</a>\n            </div>\n            <ul>\n                <li>\n                    <a href=\"";
     // line 15
     echo $this->env->getExtension('routing')->getPath("clothes_new");
     echo "\">\n                        Create a new entry\n                    </a>\n                </li>\n            </ul>\n        </div>\n        <div class=\"col-md-9\">\n            ";
     // line 22
     $context['_parent'] = (array) $context;
     $context['_seq'] = twig_ensure_traversable(isset($context["entities"]) ? $context["entities"] : $this->getContext($context, "entities"));
     foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
         // line 23
         echo "                <div class=\"col-sm-4 col-lg-4 col-md-4\">\n                    <div class=\"thumbnail\">\n                        <img src=\"http://placehold.it/320x150\" alt=\"\">\n                        <div class=\"caption\">\n                            <h4 class=\"pull-right\">&euro;";
         // line 27
         echo twig_escape_filter($this->env, twig_number_format_filter($this->env, $this->getAttribute($context["item"], "price", array()), 2, ".", ","), "html", null, true);
         echo "</h4>\n                            <h4><a href=\"";
         // line 28
         echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("clothes_show", array("id" => $this->getAttribute($context["item"], "id", array()))), "html", null, true);
         echo "\">";
         echo twig_escape_filter($this->env, $this->getAttribute($context["item"], "name", array()), "html", null, true);
         echo "</a>\n                            </h4>\n                            <p>";
         // line 30
         echo twig_escape_filter($this->env, $this->getAttribute($context["item"], "details", array()), "html", null, true);
         echo "</p>\n                        </div>\n                        <div class=\"ratings\">\n                            <p>\n                                ";
         // line 34
         $context['_parent'] = (array) $context;
         $context['_seq'] = twig_ensure_traversable(range(0, $this->getAttribute($context["item"], "rating", array())));
         foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
             // line 35
             echo "                                    <span class=\"glyphicon glyphicon-star\"></span>\n                                ";
         }
         $_parent = $context['_parent'];
         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
         $context = array_intersect_key($context, $_parent) + $_parent;
         // line 37
         echo "                            </p>\n                        </div>\n                    </div>\n                </div>\n            ";
     }
     $_parent = $context['_parent'];
     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
     $context = array_intersect_key($context, $_parent) + $_parent;
     // line 42
     echo "        </div>\n    </div>\n\n";
     $__internal_544665ed3fbaaebd4281eb206842aa4578d2ccb8acbb8cbfb7b6f06cc0a279ff->leave($__internal_544665ed3fbaaebd4281eb206842aa4578d2ccb8acbb8cbfb7b6f06cc0a279ff_prof);
 }
 protected function doDisplay(array $context, array $blocks = array())
 {
     $__internal_9715e77ac924b3ebce40b3002108170484882bbaedaca8565bba91d8d8f0d4f1 = $this->env->getExtension("native_profiler");
     $__internal_9715e77ac924b3ebce40b3002108170484882bbaedaca8565bba91d8d8f0d4f1->enter($__internal_9715e77ac924b3ebce40b3002108170484882bbaedaca8565bba91d8d8f0d4f1_prof = new Twig_Profiler_Profile($this->getTemplateName(), "template", "@EasyAdmin/default/field_integer.html.twig"));
     // line 1
     if ($this->getAttribute(isset($context["field_options"]) ? $context["field_options"] : $this->getContext($context, "field_options"), "format", array())) {
         // line 2
         echo "    ";
         echo twig_escape_filter($this->env, sprintf($this->getAttribute(isset($context["field_options"]) ? $context["field_options"] : $this->getContext($context, "field_options"), "format", array()), isset($context["value"]) ? $context["value"] : $this->getContext($context, "value")), "html", null, true);
         echo "\n";
     } else {
         // line 4
         echo "    ";
         echo twig_escape_filter($this->env, twig_number_format_filter($this->env, isset($context["value"]) ? $context["value"] : $this->getContext($context, "value")), "html", null, true);
         echo "\n";
     }
     $__internal_9715e77ac924b3ebce40b3002108170484882bbaedaca8565bba91d8d8f0d4f1->leave($__internal_9715e77ac924b3ebce40b3002108170484882bbaedaca8565bba91d8d8f0d4f1_prof);
 }
 public function block_body($context, array $blocks = array())
 {
     $__internal_723a85a6ab48a931290f86eb6f05b107111760aa33e339493f209f483d71557b = $this->env->getExtension("native_profiler");
     $__internal_723a85a6ab48a931290f86eb6f05b107111760aa33e339493f209f483d71557b->enter($__internal_723a85a6ab48a931290f86eb6f05b107111760aa33e339493f209f483d71557b_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "body"));
     // line 4
     echo "    <!-- Page Content -->\n    <div class=\"container\">\n\n        <div class=\"row\">\n            <div class=\"col-md-12\">\n\n                <div class=\"row carousel-holder\">\n\n                    <div class=\"col-md-12\">\n                        <div id=\"carousel-example-generic\" class=\"carousel slide\" data-ride=\"carousel\">\n                            <ol class=\"carousel-indicators\">\n                                <li data-target=\"#carousel-example-generic\" data-slide-to=\"0\" class=\"active\"></li>\n                                <li data-target=\"#carousel-example-generic\" data-slide-to=\"1\"></li>\n                                <li data-target=\"#carousel-example-generic\" data-slide-to=\"2\"></li>\n                            </ol>\n                            <div class=\"carousel-inner\">\n                                <div class=\"item active\">\n                                    <img class=\"slide-image\" src=\"http://placehold.it/800x300\" alt=\"\">\n\n                                </div>\n                                <div class=\"item\">\n                                    <img class=\"slide-image\" src=\"http://placehold.it/800x300\" alt=\"\">\n                                </div>\n                                <div class=\"item\">\n                                    <img class=\"slide-image\" src=\"http://placehold.it/800x300\" alt=\"\">\n                                </div>\n                            </div>\n                            <a class=\"left carousel-control\" href=\"#carousel-example-generic\" data-slide=\"prev\">\n                                <span class=\"glyphicon glyphicon-chevron-left\"></span>\n                            </a>\n                            <a class=\"right carousel-control\" href=\"#carousel-example-generic\" data-slide=\"next\">\n                                <span class=\"glyphicon glyphicon-chevron-right\"></span>\n                            </a>\n                        </div>\n                    </div>\n\n                </div>\n\n            ";
     // line 42
     $context['_parent'] = (array) $context;
     $context['_seq'] = twig_ensure_traversable(isset($context["entities"]) ? $context["entities"] : $this->getContext($context, "entities"));
     foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
         // line 43
         echo "                <div class=\"col-sm-4 col-lg-4 col-md-4\">\n                    <div class=\"thumbnail\">\n                        <img src=\"http://placehold.it/320x150\" alt=\"\">\n                        <div class=\"caption\">\n                            <h4 class=\"pull-right\">&euro;";
         // line 47
         echo twig_escape_filter($this->env, twig_number_format_filter($this->env, $this->getAttribute($context["item"], "price", array()), 2, ".", ","), "html", null, true);
         echo "</h4>\n                            <h4><a href=\"";
         // line 48
         echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("clothes_show", array("id" => $this->getAttribute($context["item"], "id", array()))), "html", null, true);
         echo "\">";
         echo twig_escape_filter($this->env, $this->getAttribute($context["item"], "name", array()), "html", null, true);
         echo "</a>\n                            </h4>\n                            <p>";
         // line 50
         echo twig_escape_filter($this->env, $this->getAttribute($context["item"], "details", array()), "html", null, true);
         echo "</p>\n                        </div>\n                        <div class=\"ratings\">\n                            <p>\n                                ";
         // line 54
         $context['_parent'] = (array) $context;
         $context['_seq'] = twig_ensure_traversable(range(0, $this->getAttribute($context["item"], "rating", array())));
         foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
             // line 55
             echo "                                    <span class=\"glyphicon glyphicon-star\"></span>\n                                ";
         }
         $_parent = $context['_parent'];
         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
         $context = array_intersect_key($context, $_parent) + $_parent;
         // line 57
         echo "                            </p>\n                        </div>\n                    </div>\n                </div>\n            ";
     }
     $_parent = $context['_parent'];
     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
     $context = array_intersect_key($context, $_parent) + $_parent;
     // line 62
     echo "                </div>\n\n            </div>\n\n        </div>\n\n    </div>\n    <!-- /.container -->\n";
     $__internal_723a85a6ab48a931290f86eb6f05b107111760aa33e339493f209f483d71557b->leave($__internal_723a85a6ab48a931290f86eb6f05b107111760aa33e339493f209f483d71557b_prof);
 }
 public function block_body($context, array $blocks = array())
 {
     $__internal_17222eb900dce41f62f910dde5ea44b63473ad91bd52786d993a214ac501b462 = $this->env->getExtension("native_profiler");
     $__internal_17222eb900dce41f62f910dde5ea44b63473ad91bd52786d993a214ac501b462->enter($__internal_17222eb900dce41f62f910dde5ea44b63473ad91bd52786d993a214ac501b462_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "body"));
     // line 5
     echo "<div class=\"row\">\n        <div class=\"col-md-3\">\n            <p class=\"lead\">Filters</p>\n            <div class=\"list-group\">\n                <a href=\"#\" class=\"list-group-item\">Category 1</a>\n                <a href=\"#\" class=\"list-group-item\">Category 2</a>\n                <a href=\"#\" class=\"list-group-item\">Category 3</a>\n            </div>\n        </div>\n        <div class=\"col-md-9\">\n            ";
     // line 15
     $context['_parent'] = $context;
     $context['_seq'] = twig_ensure_traversable(isset($context["entities"]) ? $context["entities"] : $this->getContext($context, "entities"));
     foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
         // line 16
         echo "                <div class=\"col-sm-4 col-lg-4 col-md-4\">\n                    <div class=\"thumbnail\">\n                        <img src=\"http://placehold.it/320x150\" alt=\"\">\n                        <div class=\"caption\">\n                            <h4 class=\"pull-right\">&euro;";
         // line 20
         echo twig_escape_filter($this->env, twig_number_format_filter($this->env, $this->getAttribute($context["item"], "price", array()), 2, ".", ","), "html", null, true);
         echo "</h4>\n                            <h4><a href=\"";
         // line 21
         echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("clothes_show", array("id" => $this->getAttribute($context["item"], "id", array()))), "html", null, true);
         echo "\">";
         echo twig_escape_filter($this->env, $this->getAttribute($context["item"], "name", array()), "html", null, true);
         echo "</a>\n                            </h4>\n                            <p>";
         // line 23
         echo twig_escape_filter($this->env, $this->getAttribute($context["item"], "details", array()), "html", null, true);
         echo "</p>\n                        </div>\n                        <div class=\"ratings\">\n                            <p>\n                                ";
         // line 27
         $context['_parent'] = $context;
         $context['_seq'] = twig_ensure_traversable(range(0, $this->getAttribute($context["item"], "rating", array())));
         foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
             // line 28
             echo "                                    <span class=\"glyphicon glyphicon-star\"></span>\n                                ";
         }
         $_parent = $context['_parent'];
         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
         $context = array_intersect_key($context, $_parent) + $_parent;
         // line 30
         echo "                            </p>\n                        </div>\n                    </div>\n                </div>\n            ";
     }
     $_parent = $context['_parent'];
     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
     $context = array_intersect_key($context, $_parent) + $_parent;
     // line 35
     echo "        </div>\n    </div>\n\n";
     $__internal_17222eb900dce41f62f910dde5ea44b63473ad91bd52786d993a214ac501b462->leave($__internal_17222eb900dce41f62f910dde5ea44b63473ad91bd52786d993a214ac501b462_prof);
 }
 public function block_body($context, array $blocks = array())
 {
     $__internal_b7c1c2cc369864722671b6673bbcbeaf1e1f5f5fc4e7bb34c7a4c126ca00bae7 = $this->env->getExtension("native_profiler");
     $__internal_b7c1c2cc369864722671b6673bbcbeaf1e1f5f5fc4e7bb34c7a4c126ca00bae7->enter($__internal_b7c1c2cc369864722671b6673bbcbeaf1e1f5f5fc4e7bb34c7a4c126ca00bae7_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "body"));
     // line 7
     echo "<h1>Clothes</h1>\n\n    <div class=\"container\">\n        <div class=\"row\">\n            <div class=\"col-md-6\">\n                <img class=\"item-image\" />\n            </div>\n            <div class=\"col-md-6\">\n                <h2>";
     // line 15
     echo twig_escape_filter($this->env, $this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "name", array()), "html", null, true);
     echo " </h2>\n                <h2>&euro;";
     // line 16
     echo twig_escape_filter($this->env, twig_number_format_filter($this->env, $this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "price", array()), 2, ".", ","), "html", null, true);
     echo "</h2>\n                <h3>Rating:\n                    ";
     // line 18
     $context['_parent'] = (array) $context;
     $context['_seq'] = twig_ensure_traversable(range(0, $this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "rating", array())));
     foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
         // line 19
         echo "                          <span class=\"glyphicon glyphicon-star\"></span>\n                    ";
     }
     $_parent = $context['_parent'];
     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
     $context = array_intersect_key($context, $_parent) + $_parent;
     // line 21
     echo "\n                    </h3>\n                <hr>\n                <p>";
     // line 24
     echo twig_escape_filter($this->env, $this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "details", array()), "html", null, true);
     echo "</p>\n            </div>\n        </div>\n    </div>\n\n    <ul class=\"record_actions\">\n        <li>\n            <a href=\"";
     // line 31
     echo $this->env->getExtension('routing')->getPath("clothes");
     echo "\">\n                Back to the list\n            </a>\n        </li>\n        <li>\n            <a href=\"";
     // line 36
     echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("clothes_edit", array("id" => $this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "id", array()))), "html", null, true);
     echo "\">\n                Edit\n            </a>\n        </li>\n        <li>";
     // line 40
     echo $this->env->getExtension('form')->renderer->renderBlock(isset($context["delete_form"]) ? $context["delete_form"] : $this->getContext($context, "delete_form"), 'form');
     echo "</li>\n    </ul>\n";
     $__internal_b7c1c2cc369864722671b6673bbcbeaf1e1f5f5fc4e7bb34c7a4c126ca00bae7->leave($__internal_b7c1c2cc369864722671b6673bbcbeaf1e1f5f5fc4e7bb34c7a4c126ca00bae7_prof);
 }
    public function block_content($context, array $blocks = array())
    {
        // line 22
        $this->displayParentBlock("content", $context, $blocks);
        echo "
";
        // line 23
        $context["counter"] = 0;
        // line 24
        echo "<div class=\"container page-content fg-dark\" style=\"padding: 0.5rem;margin-bottom: 4rem;\">
<br>
\t<div class=\"cell\">
\t\t\t<div class=\"listview\">
\t\t    \t<div style=\"width: 100%;height: auto;position: relative;display: block;cursor: pointer;color: inherit;
\t\t\t\t\tmargin: 0px 0px 10px;padding: 8px 8px 4px 48px;border-width: 1px;\">
\t\t         <div style=\"margin-left: -3rem;padding: 10px 10px 10px 0rem;position: relative;display: block;color: inherit;\" 
\t\t         class=\"list-content\">
\t\t            ";
        // line 32
        if (($this->getAttribute((isset($context["ad"]) ? $context["ad"] : $this->getContext($context, "ad")), "images", array()) == "noImages.jpg")) {
            // line 33
            echo "\t\t            \t<img style=\"margin-left: 1rem;display: block;width: 10rem;font-size: 40px;float: left;margin-right: 10px;\" src=\"";
            echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("images/noImages.jpg"), "html", null, true);
            echo "\" class=\"icon\">
\t\t\t\t\t";
        } else {
            // line 35
            echo "\t\t\t\t\t    <img style=\"margin-left: 1rem;display: block;width: 10rem;font-size: 40px;float: left;margin-right: 10px;\" src=\"";
            echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("images/ids/"), "html", null, true);
            echo twig_escape_filter($this->env, $this->getAttribute((isset($context["ad"]) ? $context["ad"] : $this->getContext($context, "ad")), "id", array()), "html", null, true);
            echo "/";
            echo twig_escape_filter($this->env, $this->getAttribute((isset($context["ad"]) ? $context["ad"] : $this->getContext($context, "ad")), "images", array()), "html", null, true);
            echo "\" class=\"icon\">
\t\t\t\t\t";
        }
        // line 37
        echo "\t\t         <div class=\"data\">
\t\t         \t<span style=\"font-size: 1.2rem;line-height: 25px;margin: 0px 0px 0.5rem;padding: 0px;display: block;overflow: hidden;text-overflow: ellipsis;\" class=\"list-title\"><b>
\t\t         \t";
        // line 39
        if (($this->getAttribute((isset($context["ad"]) ? $context["ad"] : $this->getContext($context, "ad")), "adHeadline", array()) != "")) {
            // line 40
            echo "\t\t\t\t\t\t";
            echo twig_escape_filter($this->env, $this->getAttribute((isset($context["ad"]) ? $context["ad"] : $this->getContext($context, "ad")), "adHeadline", array()));
            echo "</b>
\t\t\t\t\t";
        }
        // line 42
        echo "\t\t         \t</span>
\t        \t\t<span style=\"font-size: 0.8rem;line-height: 20px;margin: 0rem;padding: 0px;display: block;overflow: hidden;text-overflow: ellipsis;\" class=\"list-remark\"> 
\t        \t\t";
        // line 44
        if ( !twig_test_empty($this->getAttribute((isset($context["ad"]) ? $context["ad"] : $this->getContext($context, "ad")), "adPhone", array()))) {
            // line 45
            echo "\t\t\t\t\t\t<span class=\"mif-phone\"></span>
\t\t\t\t\t\t";
            // line 46
            echo twig_escape_filter($this->env, $this->getAttribute((isset($context["ad"]) ? $context["ad"] : $this->getContext($context, "ad")), "adPhone", array()));
            echo "
\t\t\t\t\t";
        }
        // line 48
        echo "\t        \t\t</span>
\t        \t\t
\t\t  \t\t\t<span style=\"font-size: 0.8rem;line-height: 20px;margin: 0rem;padding: 0px;display: block;overflow: hidden;text-overflow: ellipsis;\" class=\"list-remark\">
\t\t  \t\t\t";
        // line 51
        if ( !twig_test_empty($this->getAttribute((isset($context["ad"]) ? $context["ad"] : $this->getContext($context, "ad")), "adAddress", array()))) {
            // line 52
            echo "\t\t\t\t\t\t<span class=\"mif-map\"></span> 
\t\t\t\t\t\t";
            // line 53
            echo twig_escape_filter($this->env, $this->getAttribute((isset($context["ad"]) ? $context["ad"] : $this->getContext($context, "ad")), "adAddress", array()));
            echo "
\t\t\t\t\t";
        }
        // line 55
        echo "\t        \t\t</span>
\t\t            <span style=\"font-size: 0.8rem;line-height: 20px;margin: 0rem;padding: 0px;display: block;overflow: hidden;text-overflow: ellipsis;\" class=\"list-remark\">
           
\t\t            ";
        // line 58
        if (( !twig_test_empty($this->getAttribute((isset($context["ad"]) ? $context["ad"] : $this->getContext($context, "ad")), "adAttentionhoursinit", array())) &&  !twig_test_empty($this->getAttribute((isset($context["ad"]) ? $context["ad"] : $this->getContext($context, "ad")), "adAttentionhoursfinish", array())))) {
            // line 59
            echo "\t\t\t\t\t\t<span class=\"mif-alarm-on\"></span> 
\t\t\t\t\t\t";
            // line 60
            echo twig_escape_filter($this->env, $this->getAttribute((isset($context["ad"]) ? $context["ad"] : $this->getContext($context, "ad")), "adAttentionhoursinit", array()));
            echo " a ";
            echo twig_escape_filter($this->env, $this->getAttribute((isset($context["ad"]) ? $context["ad"] : $this->getContext($context, "ad")), "adAttentionhoursfinish", array()));
            echo "</span>
\t\t\t\t\t";
        }
        // line 62
        echo "\t\t            <span style=\"font-size: 0.8rem;line-height: 20px;margin: 0rem;padding: 0px;display: block;overflow: hidden;text-overflow: ellipsis;\" class=\"list-remark\">
\t\t            ";
        // line 63
        if (( !twig_test_empty($this->getAttribute((isset($context["ad"]) ? $context["ad"] : $this->getContext($context, "ad")), "adAttentiondaysinit", array())) &&  !twig_test_empty($this->getAttribute((isset($context["ad"]) ? $context["ad"] : $this->getContext($context, "ad")), "adAttentiondaysinit", array())))) {
            // line 64
            echo "\t\t\t\t\t\t<span class=\"mif-calendar\"></span>  
\t\t\t\t\t\t";
            // line 65
            echo twig_escape_filter($this->env, $this->getAttribute((isset($context["ad"]) ? $context["ad"] : $this->getContext($context, "ad")), "adAttentiondaysinit", array()));
            echo " a ";
            echo twig_escape_filter($this->env, $this->getAttribute((isset($context["ad"]) ? $context["ad"] : $this->getContext($context, "ad")), "adAttentiondaysinit", array()));
            echo "</span>\t
\t\t\t\t\t";
        }
        // line 67
        echo "\t\t            
\t\t         </div>
\t\t        </div>
\t\t      </div>
\t\t\t</div>

\t\t\t<div id=\"rate\">
\t\t\t\t<span style=\"margin-left: 1rem;margin-top: 0.2rem\" class='rating large'data-score-title='Valoracion : ' data-role='rating'
\t\t        \t\t\tdata-value='
\t\t\t\t\t\t\t";
        // line 76
        if (twig_test_empty($this->getAttribute($this->getAttribute((isset($context["rated"]) ? $context["rated"] : $this->getContext($context, "rated")), 0, array()), "rate", array()))) {
            // line 77
            echo "\t\t\t\t\t\t\t\t0
\t\t\t\t\t\t\t";
        } else {
            // line 79
            echo "\t\t\t\t\t\t\t\t";
            echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute((isset($context["rated"]) ? $context["rated"] : $this->getContext($context, "rated")), 0, array()), "rate", array()));
            echo "
\t\t\t\t\t\t\t";
        }
        // line 81
        echo "\t\t        \t\t\t' 
\t\t        \t\t\tdata-on-rate=\"adRate\">
\t\t        </span>
\t\t        <span> <span class=\"mif-users\"><small>(";
        // line 84
        echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute((isset($context["rated"]) ? $context["rated"] : $this->getContext($context, "rated")), 0, array()), "score", array()));
        echo ")</small></span></span>
\t\t      
\t\t   </div>     
\t\t\t<span style=\"font-size: 0.8rem;line-height: 20px;margin: 1rem;padding: 0px;display: block;overflow: hidden;text-overflow: ellipsis;\" class=\"list-remark\">";
        // line 87
        echo twig_escape_filter($this->env, $this->getAttribute((isset($context["ad"]) ? $context["ad"] : $this->getContext($context, "ad")), "adText", array()));
        echo "</span>
\t\t\t
\t\t\t<div class=\"tabcontrol\" data-role=\"tabControl\">
\t\t    \t<ul class=\"tabs\">
\t\t       \t\t<li><a href=\"#frame_1_1\">Productos y/o Servicios</a></li>
\t\t            <li><a href=\"#frame_1_2\">Comentarios</a></li>
\t\t            <li><a href=\"#frame_1_3\">Contacto</a></li>
\t\t        </ul>
\t\t        <div class=\"frames bg-grayLight\">
\t\t        \t<div class=\"frame\" id=\"frame_1_1\" style=\"background-color: rgb(255, 255, 255);\">
\t\t\t        \t";
        // line 97
        $context['_parent'] = (array) $context;
        $context['_seq'] = twig_ensure_traversable($this->getAttribute((isset($context["ad"]) ? $context["ad"] : $this->getContext($context, "ad")), "getProducts", array()));
        foreach ($context['_seq'] as $context["_key"] => $context["product"]) {
            // line 98
            echo "\t\t\t\t\t\t\t<div class=\"cell\">
\t\t\t\t\t\t\t\t<div class=\"listview\">
\t\t\t\t\t\t\t    \t<div style=\"border: 1px solid #EAEAEA;width: 100%;height: auto;position: relative;display: block;cursor: pointer;
\t\t\t\t\t\tcolor: inherit;margin: 0px 0px 10px;\"href=\"#\" class=\"list\">
\t\t\t\t\t\t\t         <div style=\"margin-left: -3rem;padding: 10px 10px 10px 0rem;position: relative;display: block;color: inherit;\" 
\t\t\t\t\t\t\t         class=\"list-content\">
\t\t\t\t\t\t\t\t\t\t";
            // line 104
            if (($this->getAttribute($context["product"], "images", array()) == "noImages.jpg")) {
                // line 105
                echo "\t\t\t\t\t\t\t            \t<img style=\"margin-left: 1rem;display: block;width: 56px;height: 56px;font-size: 40px;float: left;margin-right: 10px;\" src=\"";
                echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("images/noImages.jpg"), "html", null, true);
                echo "\" class=\"icon\">
\t\t\t\t\t\t\t\t\t\t";
            } else {
                // line 107
                echo "\t\t\t\t\t\t\t\t\t\t    <img style=\"margin-left: 1rem;display: block;width: 56px;height: 56px;font-size: 40px;float: left;margin-right: 10px;\" src=\"";
                echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("images/ids/"), "html", null, true);
                echo twig_escape_filter($this->env, $this->getAttribute((isset($context["ad"]) ? $context["ad"] : $this->getContext($context, "ad")), "id", array()), "html", null, true);
                echo "/";
                echo twig_escape_filter($this->env, $this->getAttribute($context["product"], "images", array()), "html", null, true);
                echo "\" class=\"icon\">
\t\t\t\t\t\t\t\t\t\t";
            }
            // line 109
            echo "\t\t\t\t\t\t\t         <div class=\"data\">
\t\t\t\t\t\t\t         \t<span style=\"font-size: 14px;line-height: 18px;margin: 0px;padding: 0px;display: block;overflow: hidden;text-overflow: ellipsis;\" class=\"list-title\"><b>";
            // line 110
            echo twig_escape_filter($this->env, $this->getAttribute($context["product"], "name", array()), "html", null, true);
            echo "</b></b></span>
\t\t\t\t\t\t\t         \t<span style=\"font-size: 11px;line-height: 14px;margin: 0px;padding: 0px;display: block;overflow: hidden;text-overflow: ellipsis;\" class=\"list-remark\">";
            // line 111
            echo twig_escape_filter($this->env, $this->getAttribute($context["product"], "description", array()), "html", null, true);
            echo "</span>
\t\t\t\t\t\t        \t\t<span style=\"font-size: 11px;line-height: 14px;margin: 0px;padding: 0px;display: block;overflow: hidden;text-overflow: ellipsis;\" class=\"list-remark\">\$ ";
            // line 112
            echo twig_escape_filter($this->env, twig_number_format_filter($this->env, $this->getAttribute($context["product"], "price", array()), 0), "html", null, true);
            echo "</span>
\t\t\t\t\t\t\t         </div>
\t\t\t\t\t\t\t        </div>
\t\t\t\t\t\t\t      </div>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</div>\t  
\t\t\t\t\t\t";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['product'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 118
        echo " 
\t\t        \t</div>
\t\t            <div class=\"frame\" id=\"frame_1_2\" style=\"background-color: rgb(255, 255, 255);\">
\t\t       

\t\t                                  <div class=\"chat-footer\">

\t\t\t\t\t\t\t\t\t\t\t<!-- CHAT TEXTAREA -->


\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"textarea-div\">

\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"typearea\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<textarea placeholder=\"Escribe un Comentario...\" id=\"textarea-expand\" class=\"custom-scroll\"></textarea>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>

\t\t\t\t\t\t\t\t\t\t\t\t\t</div>

\t\t\t\t\t\t\t\t\t\t\t\t\t<!-- CHAT REPLY/SEND -->
\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"textarea-controls\">

\t\t\t\t\t\t\t\t\t\t\t\t\t<button class=\"button primary pull-right \" id='agregar' onclick=\"addComment(\$('#textarea-expand').val())\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tComentar

\t\t\t\t\t\t\t\t\t\t\t</button> 
\t\t\t\t\t\t\t\t\t\t\t </span>

\t\t\t\t\t\t\t\t\t\t  
\t\t\t\t\t\t\t\t\t
                                  <div class=\"comments-container\">
\t\t<ul id=\"comments-list\" class=\"comments-list\">
             <li>Comentarios <small id=\"ncomment\">(";
        // line 149
        echo twig_escape_filter($this->env, (isset($context["nComments"]) ? $context["nComments"] : $this->getContext($context, "nComments")), "html", null, true);
        echo ")  </small> <span class=\"mif-bubbles\"></span></li>
\t\t\t\t\t";
        // line 150
        $context['_parent'] = (array) $context;
        $context['_seq'] = twig_ensure_traversable((isset($context["coments"]) ? $context["coments"] : $this->getContext($context, "coments")));
        foreach ($context['_seq'] as $context["_key"] => $context["row"]) {
            // line 151
            echo "\t\t\t\t\t
\t\t\t\t\t<li  id=\"";
            // line 152
            echo twig_escape_filter($this->env, $this->getAttribute($context["row"], "id", array()), "html", null, true);
            echo "\">
\t\t\t\t\t\t<div class=\"comment-main-level\">
\t\t\t\t\t\t\t<!-- Avatar -->
\t\t\t\t\t\t\t<div class=\"comment-avatar\"><img src=\"";
            // line 155
            echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("images/male.png"), "html", null, true);
            echo "\" alt=\"\">
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t<!-- Contenedor del Comentario -->
\t\t\t\t\t\t\t<div class=\"comment-box\">
\t\t\t\t\t\t\t\t<div class=\"comment-head\">
\t\t\t\t\t\t\t\t\t<h6 class=\"comment-name \">
\t\t\t\t\t\t\t\t\t";
            // line 161
            $context['_parent'] = (array) $context;
            $context['_seq'] = twig_ensure_traversable((isset($context["users"]) ? $context["users"] : $this->getContext($context, "users")));
            foreach ($context['_seq'] as $context["_key"] => $context["row2"]) {
                // line 162
                echo "\t\t\t\t\t\t\t\t\t";
                if (($this->getAttribute($context["row2"], "id", array()) == $this->getAttribute($context["row"], "idUser", array()))) {
                    // line 163
                    echo "\t\t\t\t\t\t                      <a href=\"\">";
                    echo twig_escape_filter($this->env, $this->getAttribute($context["row2"], "name", array()), "html", null, true);
                    echo "</a>
\t\t\t\t\t\t\t\t\t";
                }
                // line 165
                echo "\t\t\t\t\t\t\t\t\t   
\t\t\t\t\t\t\t\t\t";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_iterated'], $context['_key'], $context['row2'], $context['_parent'], $context['loop']);
            $context = array_intersect_key($context, $_parent) + $_parent;
            // line 167
            echo "\t\t\t\t\t\t\t\t\t</h6>
\t\t\t\t\t\t\t\t\t<span>";
            // line 168
            echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute($context["row"], "dateCreated", array()), "m/d/Y"), "html", null, true);
            echo "</span>
\t\t\t\t\t\t\t\t\t<i class=\"fa fa-reply\"></i>
\t\t\t\t\t\t\t\t\t<i class=\"fa fa-heart\"></i>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t<div class=\"comment-content\">
\t\t\t\t\t\t\t\t\t<p>";
            // line 173
            echo twig_escape_filter($this->env, $this->getAttribute($context["row"], "commentAd", array()), "html", null, true);
            echo "</p>
\t\t\t\t\t\t
                                    ";
            // line 175
            if (($this->getAttribute($context["row"], "idUser", array()) == (isset($context["activeUser"]) ? $context["activeUser"] : $this->getContext($context, "activeUser")))) {
                // line 176
                echo "
\t\t\t\t\t\t\t\t\t   <button class=\"button warning \" onclick=\"dateComment(";
                // line 177
                echo twig_escape_filter($this->env, $this->getAttribute($context["row"], "id", array()), "html", null, true);
                echo ")\">Editar</button>
\t\t\t\t\t\t\t\t\t   <button class=\"button color-red \" onclick=\"showMessageProductDeleteDialog(";
                // line 178
                echo twig_escape_filter($this->env, $this->getAttribute($context["row"], "id", array()), "html", null, true);
                echo ")\">Eliminar</button>

    

                                    ";
            }
            // line 183
            echo "\t\t\t\t\t\t\t\t\t

\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t</li>
                   ";
            // line 189
            $context["counter"] = ((isset($context["counter"]) ? $context["counter"] : $this->getContext($context, "counter")) + 1);
            // line 190
            echo "\t\t\t\t\t";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['row'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 191
        echo "


\t\t\t\t\t
</ul>
<br><br>
<script type=\"text/javascript\">
var r=0;
</script>

<div style=\"margin-bottom: 2rem;\">

\t";
        // line 203
        if (((isset($context["counter"]) ? $context["counter"] : $this->getContext($context, "counter")) >= 9)) {
            // line 204
            echo "<button onclick=\"pagination(r=r+10)\" id=\"see\" class=\"button success\">Ver Mas</button>
\t";
        }
        // line 206
        echo "



<script type=\"text/javascript\">
\t
function  pagination(range){
       var idAd=\"";
        // line 213
        echo twig_escape_filter($this->env, (isset($context["idAd"]) ? $context["idAd"] : $this->getContext($context, "idAd")), "html", null, true);
        echo "\";
       \$.post('";
        // line 214
        echo $this->env->getExtension('routing')->getPath("paginationAd");
        echo "',               
\t\t\t         {idAd: idAd,
\t\t\t          range: range 

\t\t\t        }, 
\t\t\t        \tfunction(response){\t
\t\t                  r=response.range;\t\t\t    
\t\t\t        \t
                 for (x=0;x<response.comments.length;x++)
                      {
                            var nameAd=0;
                            for (y=0;y<response.user.length;y++){
\t                            \tif(response.user[y].id==response.comments[x].idUser)
\t                            \t{
\t                                  \t nameAd=response.user[y].name;\t    
\t                            \t}
                            }
                          
                  var lista = document.getElementById(\"comments-list\");
\t\t       lista.innerHTML += \"<li id=\"+response.comments[x].id+\">\"
\t\t       +'<div class=\"comment-main-level\">'
\t\t\t   +'<div class=\"comment-avatar\"><img src=\"";
        // line 235
        echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("images/male.png"), "html", null, true);
        echo "\" alt=\"\"></div>'
\t\t\t   +'<div class=\"comment-box\">'
\t\t\t   +'<div class=\"comment-head\">'
\t\t\t   +'<h6 class=\"comment-name \"><a href=\"\">'+ nameAd +'</a></h6>'
\t\t\t   +'<span>'+response.comments[x].dateCreated.date+'</span>'
\t\t\t   +'<i class=\"fa fa-reply\"></i>'
\t\t\t   +'<i class=\"fa fa-heart\"></i>'
\t\t\t   +'</div>'
\t\t\t   +'<div class=\"comment-content\">'\t
\t\t\t   +'<p>'+
     
\t\t\t   response.comments[x].commentAd+'</p>'\t\t\t\t
\t\t\t   +'<button id='+(response.comments[x].id+\"w\")+' class=\"button warning\" onclick=\"dateComment('+response.comments[x].id+')\" >Editar </button>'+\" \" 
\t\t\t   +'<button id='+(response.comments[x].id+\"n\")+' class=\"button color-red\" onclick=\"showMessageProductDeleteDialog('+response.comments[x].id+')\" >Eliminar </button>'


\t\t\t   +'</div>'
\t\t\t   +'</div>'
\t\t       +'</div>'
\t\t\t   +'</li>';
\t\t\t     if (response.comments[x].idUser  != response.userId ) {
                                  \$(\"#\"+response.comments[x].id+\"w\").remove();
                                  \$(\"#\"+response.comments[x].id+\"n\").remove();
                            }
              
}
\t\t\t\t}, \"json\"); 

}
</script>

</div>




\t\t            </div>
\t\t       </div>
\t\t    </div>

\t\t    <div class=\"frame\" id=\"frame_1_3\" style=\"background-color: rgb(255, 255, 255);\">
             
             




<form href=\"";
        // line 282
        echo $this->env->getExtension('routing')->getPath("emailAds");
        echo "\" method=\"post\">


\t  <label class=\"header\">Contactar con  ";
        // line 285
        echo twig_escape_filter($this->env, $this->getAttribute((isset($context["ad"]) ? $context["ad"] : $this->getContext($context, "ad")), "adHeadline", array()));
        echo "</label>
\t  <br>
\t   <br>
    <label class=\"sub-alt-header\">Asunto</label>
    <br>
    <div class=\"input-control text\" style=\"width:50%\">

        <input type=\"text\" placeholder=\"Asunto\" class=\"sub-alt-header\" value=\"Lorem ipsum dolor sit amet \">
    </div>
         <br>
    <label class=\"sub-alt-header\">Mensaje</label>
\t<div class=\"textarea-div\">
\t<div class=\"typearea\">
\t\t<textarea placeholder=\"Escribe un Mensaje...\" id=\"textarea-expand\" class=\"custom-scroll sub-alt-header\"
\t\t  >
\t\t\tLorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
\t\t\ttempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
\t\t\tquis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
\t\t\tconsequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
\t\t\tcillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
\t\t\tproident, sunt in culpa qui officia deserunt mollit anim id est laborum.
\t\t</textarea>
\t</div>
  
    </div>
     <br>
    <button class=\"button primary\"><span class=\"mif-mail\"></span> Enviar</button>


</form>
















\t\t   </div>
\t\t\t   
\t</div>
</div>
</div>
";
    }
 public function block_main($context, array $blocks = array())
 {
     // line 27
     echo "\n        <div class=\"row\">\n            <div class=\"col-md-6\">\n                <form id=\"form1\" name=\"form1\" action=\"";
     // line 30
     echo $this->env->getExtension('routing')->getUrl("admin_order");
     echo "\" method=\"post\">\n                ";
     // line 31
     echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute(isset($context["searchOrderForm"]) ? $context["searchOrderForm"] : null, "_token", array()), 'widget');
     echo "\n                <input type=\"hidden\" id=\"admin_search_order_status\" name=\"admin_search_order[status]\" value=\"\">\n                <div class=\"box\" id=\"order_info\">\n                    <div class=\"box-header\">\n                        <h3 class=\"box-title\">受注状況<a href=\"";
     // line 35
     echo $this->env->getExtension('routing')->getUrl("admin_order");
     echo "\" class=\"icon_wrap\"><svg class=\"cb cb-angle-right\"> <use xlink:href=\"#cb-angle-right\" /></svg></a></h3>\n                    </div><!-- /.box-header -->\n                    <div class=\"box-body no-padding no-border\">\n                        <div class=\"link_list\">\n                            <div class=\"tableish\">\n                                ";
     // line 40
     $context['_parent'] = $context;
     $context['_seq'] = twig_ensure_traversable(isset($context["OrderStatuses"]) ? $context["OrderStatuses"] : null);
     foreach ($context['_seq'] as $context["_key"] => $context["OrderStatus"]) {
         // line 41
         echo "                                <a href=\"#\" class=\"item_box tr\" onclick=\"\$('#admin_search_order_status').val(";
         echo twig_escape_filter($this->env, $this->getAttribute($context["OrderStatus"], "id", array()), "html", null, true);
         echo ");document.form1.submit();\">\n                                    <div class=\"td\">";
         // line 42
         echo twig_escape_filter($this->env, $this->getAttribute($context["OrderStatus"], "name", array()), "html", null, true);
         echo "</div>\n                                    <div class=\"item_number text-right td\">";
         // line 43
         echo twig_escape_filter($this->env, !twig_test_empty(isset($context["Orders"]) ? $context["Orders"] : null) && $this->getAttribute(isset($context["Orders"]) ? $context["Orders"] : null, $this->getAttribute($context["OrderStatus"], "id", array()), array(), "array", true, true) ? $this->getAttribute(isset($context["Orders"]) ? $context["Orders"] : null, $this->getAttribute($context["OrderStatus"], "id", array()), array(), "array") : 0, "html", null, true);
         echo "</div>\n                                    <div class=\"icon_link td\">\n                                        <svg class=\"cb cb-angle-right\"> <use xlink:href=\"#cb-angle-right\" /></svg>\n                                    </div>\n                                </a><!-- /.item_box -->\n                                ";
     }
     $_parent = $context['_parent'];
     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['OrderStatus'], $context['_parent'], $context['loop']);
     $context = array_intersect_key($context, $_parent) + $_parent;
     // line 49
     echo "                            </div>\n                        </div>\n                    </div><!-- /.box-body -->\n                </div><!-- /.box -->\n                </form>\n            </div><!-- /.col -->\n\n            <div class=\"col-md-6\">\n                <div class=\"box\" id=\"cube_news\">\n                    <div class=\"box-header\">\n                        <h3 class=\"box-title\">お知らせ</h3>\n                    </div><!-- /.box-header -->\n                    <div class=\"box-body no-padding no-border\">\n                        <iframe class=\"link_list_wrap\" src=\"";
     // line 62
     echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(isset($context["app"]) ? $context["app"] : null, "config", array()), "eccube_info_url", array()), "html", null, true);
     echo "\"></iframe>\n                    </div><!-- /.box-body -->\n\n                </div><!-- /.box -->\n            </div><!-- /.col -->\n        </div>\n\n        <div class=\"row\">\n            <div class=\"col-md-8\">\n                <div class=\"box\" id=\"sale_info\">\n                    <div class=\"box-header\">\n                        <h3 class=\"box-title\">売り上げ状況</h3>\n                    </div><!-- /.box-header -->\n                    <div class=\"box-body no-padding no-border\">\n                        <div class=\"sale_box clearfix\">\n                            <div class=\"monthly_sale\">\n                                <div class=\"item_number\">\n                                    ";
     // line 79
     echo twig_escape_filter($this->env, twig_test_empty(isset($context["salesThisMonth"]) ? $context["salesThisMonth"] : null) ? "¥ 0" : $this->env->getExtension('eccube')->getPriceFilter($this->getAttribute(isset($context["salesThisMonth"]) ? $context["salesThisMonth"] : null, "order_amount", array())), "html", null, true);
     echo " / ";
     echo twig_escape_filter($this->env, twig_test_empty(isset($context["salesThisMonth"]) ? $context["salesThisMonth"] : null) ? 0 : twig_number_format_filter($this->env, $this->getAttribute(isset($context["salesThisMonth"]) ? $context["salesThisMonth"] : null, "order_count", array())), "html", null, true);
     echo " <span>件</span>\n                                    <div class=\"small\">今月の売上高 / 売上件数</div>\n                                </div>\n                            </div>\n                            <div class=\"yesterday_sale\">\n                                <div class=\"item_number\">\n                                    ";
     // line 85
     echo twig_escape_filter($this->env, twig_test_empty(isset($context["salesYesterday"]) ? $context["salesYesterday"] : null) ? "¥ 0" : $this->env->getExtension('eccube')->getPriceFilter($this->getAttribute(isset($context["salesYesterday"]) ? $context["salesYesterday"] : null, "order_amount", array())), "html", null, true);
     echo " / ";
     echo twig_escape_filter($this->env, twig_test_empty(isset($context["salesYesterday"]) ? $context["salesYesterday"] : null) ? 0 : twig_number_format_filter($this->env, $this->getAttribute(isset($context["salesYesterday"]) ? $context["salesYesterday"] : null, "order_count", array())), "html", null, true);
     echo " <span>件</span>\n                                    <div class=\"small\">昨日の売上高 / 売上件数</div>\n                                </div>\n                            </div>\n                            <div class=\"today_sale\">\n                                <div class=\"item_number\">\n                                    ";
     // line 91
     echo twig_escape_filter($this->env, twig_test_empty(isset($context["salesToday"]) ? $context["salesToday"] : null) ? "¥ 0" : $this->env->getExtension('eccube')->getPriceFilter($this->getAttribute(isset($context["salesToday"]) ? $context["salesToday"] : null, "order_amount", array())), "html", null, true);
     echo " / ";
     echo twig_escape_filter($this->env, twig_test_empty(isset($context["salesToday"]) ? $context["salesToday"] : null) ? 0 : twig_number_format_filter($this->env, $this->getAttribute(isset($context["salesToday"]) ? $context["salesToday"] : null, "order_count", array())), "html", null, true);
     echo "  <span>件</span>\n                                    <div class=\"small\">今日の売上高 / 売上件数</div>\n                                </div>\n                            </div>\n                        </div>\n                    </div><!-- /.box-body -->\n                </div><!-- /.box -->\n            </div><!-- /.col -->\n            <div class=\"col-md-4\">\n                <div class=\"box\" id=\"shop_info\">\n                    <div class=\"box-header\">\n                        <h3 class=\"box-title\">ショップ状況</h3>\n                    </div><!-- /.box-header -->\n                    <div class=\"box-body no-padding no-border\">\n                        <form id=\"form2\" name=\"form2\" action=\"";
     // line 105
     echo $this->env->getExtension('routing')->getUrl("admin_homepage_nonstock");
     echo "\" method=\"post\">\n                            ";
     // line 106
     echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute(isset($context["searchProductForm"]) ? $context["searchProductForm"] : null, "_token", array()), 'widget');
     echo "\n                        </form>\n                        <form id=\"form3\" name=\"form3\" action=\"";
     // line 108
     echo $this->env->getExtension('routing')->getUrl("admin_customer");
     echo "\" method=\"post\">\n                            ";
     // line 109
     echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute(isset($context["searchCustomerForm"]) ? $context["searchCustomerForm"] : null, "_token", array()), 'widget');
     echo "\n                            <input type=\"hidden\" id=\"admin_search_customer_status_1\" name=\"admin_search_customer[customer_status]\" value=\"2\">\n                        </form>\n                        <div class=\"link_list\">\n                            <div class=\"tableish\">\n                                <a href=\"#\" class=\"item_box tr\" onclick=\"document.form2.submit();\">\n                                    <div class=\"icon td\"><svg class=\"cb cb-tag-slash\"><use xlink:href=\"#cb-tag-slash\" /></svg></div>\n                                    <div class=\"item_number td\">";
     // line 116
     echo twig_escape_filter($this->env, twig_number_format_filter($this->env, isset($context["countNonStockProducts"]) ? $context["countNonStockProducts"] : null), "html", null, true);
     echo "<div class=\"small\">在庫切れ商品</div></div>\n                                    <div class=\"icon_link td\">\n                                        <svg class=\"cb cb-angle-right\"> <use xlink:href=\"#cb-angle-right\" /></svg>\n                                    </div>\n                                </a><!-- /.item_box -->\n                                <a href=\"#\" class=\"item_box tr\" onclick=\"document.form3.submit();\">\n                                    <div class=\"icon td\"><svg class=\"cb cb-users\"><use xlink:href=\"#cb-users\" /></svg></div>\n                                    <div class=\"item_number text-left td\">";
     // line 123
     echo twig_escape_filter($this->env, twig_number_format_filter($this->env, isset($context["countCustomers"]) ? $context["countCustomers"] : null), "html", null, true);
     echo "<div class=\"small\">会員数</div></div>\n                                    <div class=\"icon_link td\">\n                                        <svg class=\"cb cb-angle-right\"> <use xlink:href=\"#cb-angle-right\" /></svg>\n                                    </div>\n                                </a><!-- /.item_box -->\n                            </div>\n                        </div>\n                    </div><!-- /.box-body -->\n                </div><!-- /.box -->\n            </div><!-- /.col -->\n        </div>\n";
 }
 public function block_body($context, array $blocks = array())
 {
     $__internal_70dd0c3e603b08a7ee289888246413c1e79d8bea882365f91e9582286283718d = $this->env->getExtension("native_profiler");
     $__internal_70dd0c3e603b08a7ee289888246413c1e79d8bea882365f91e9582286283718d->enter($__internal_70dd0c3e603b08a7ee289888246413c1e79d8bea882365f91e9582286283718d_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "body"));
     // line 24
     echo "    <!-- Two columns content -->\n    <section class=\"container content\">\n        <div class=\"row\">\n\n            <!-- On Sale Products -->\n            <section class=\"container content-row\">\n                <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</p>\n\n                <div class=\"col-md-4\"><h3>Nos meilleurs offres </h3></div>\n                <div class=\"col-sm-offset-6 col-md-2\"><a href=\"#\" class=\"btn btn-mega\">Voir Tout</a></div>\n                <div class=\"clearfix\"></div>\n\n                <!-- Products list -->\n                <div class=\"row\">\n                    <div class=\"product-carousel\">\n                        ";
     // line 39
     $context['_parent'] = $context;
     $context['_seq'] = twig_ensure_traversable(isset($context["products"]) ? $context["products"] : $this->getContext($context, "products"));
     foreach ($context['_seq'] as $context["_key"] => $context["product"]) {
         // line 40
         echo "\n                            <div class=\"item\">\n                                <div class=\"product-preview\">\n                                    <div class=\"preview animate scale\">\n                                        <a href=\"#\" class=\"preview-image\">\n                                            ";
         // line 45
         $context['_parent'] = $context;
         $context['_seq'] = twig_ensure_traversable($this->getAttribute($context["product"], "medias", array()));
         foreach ($context['_seq'] as $context["_key"] => $context["media"]) {
             // line 46
             echo "                                                <img class=\"img-responsive animate scale\" src=\"";
             echo twig_escape_filter($this->env, $this->env->getExtension('liip_imagine')->filter($this->getAttribute($context["media"], "AssertPath", array()), "my_thumb_front_img_naturel"), "html", null, true);
             echo "\" width=\"270\" height=\"328\" alt=\"\">\n                                            ";
         }
         $_parent = $context['_parent'];
         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['media'], $context['_parent'], $context['loop']);
         $context = array_intersect_key($context, $_parent) + $_parent;
         // line 48
         echo "                                        </a>\n                                        <ul class=\"product-controls-list right\">\n                                            <li><span class=\"label label-sale\">";
         // line 50
         echo twig_escape_filter($this->env, twig_upper_filter($this->env, "solde"), "html", null, true);
         echo "</span></li>\n                                            ";
         // line 51
         $context["percents"] = 0;
         // line 52
         echo "                                            ";
         $context['_parent'] = $context;
         $context['_seq'] = twig_ensure_traversable($this->getAttribute($context["product"], "promotions", array()));
         foreach ($context['_seq'] as $context["_key"] => $context["promo"]) {
             // line 53
             echo "                                                ";
             $context["percents"] = $this->getAttribute($context["promo"], "percent", array());
             // line 54
             echo "                                                <li><span class=\"label\">-";
             echo twig_escape_filter($this->env, twig_number_format_filter($this->env, $this->getAttribute($context["promo"], "percent", array()), 0), "html", null, true);
             echo "%</span></li>\n                                            ";
         }
         $_parent = $context['_parent'];
         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['promo'], $context['_parent'], $context['loop']);
         $context = array_intersect_key($context, $_parent) + $_parent;
         // line 56
         echo "                                        </ul>\n                                        <ul class=\"product-controls-list right hide-right\">\n                                            <li class=\"top-out\"></li>\n                                            <li><a href=\"#\" class=\"cart\"><span class=\"icon-basket\"></span></a></li>\n                                        </ul>\n                                    </div>\n                                    <div class=\"bg-shop-write\">\n                                        <h3 class=\"title thumbnail-desc\">\n                                            <a href=\"#\" width=\"150\">";
         // line 64
         echo twig_escape_filter($this->env, twig_truncate_filter($this->env, twig_capitalize_string_filter($this->env, $this->getAttribute($context["product"], "name", array())), 200, true, "..."), "html", null, true);
         echo "</a>\n                                        </h3>\n\n                                   <span class=\"price old\" style=\"display: inline-block\">\n                                       ";
         // line 68
         echo twig_escape_filter($this->env, twig_number_format_filter($this->env, $this->getAttribute($context["product"], "PriceStandard", array()), 0, ",", "."), "html", null, true);
         echo " FCFA\n                                   </span> <br/>\n                                   <span class=\"price new\" style=\"display: inline-block\">\n                                        ";
         // line 71
         $context["price"] = $this->getAttribute($context["product"], "PriceStandard", array()) - $this->getAttribute($context["product"], "PriceStandard", array()) * ((isset($context["percents"]) ? $context["percents"] : $this->getContext($context, "percents")) / 100);
         // line 72
         echo "                                       ";
         echo twig_escape_filter($this->env, twig_number_format_filter($this->env, isset($context["price"]) ? $context["price"] : $this->getContext($context, "price"), 0, ",", "."), "html", null, true);
         echo " FCFA\n                                   </span>\n                                        <p>&nbsp;&nbsp;&nbsp;</p>\n                                        <div class=\"thumbnail-sub\">\n                                            <a href=\"#\">";
         // line 76
         echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($context["product"], "section", array()), "name", array()), "html", null, true);
         echo "</a><br/>\n                                            ";
         // line 77
         $context['_parent'] = $context;
         $context['_seq'] = twig_ensure_traversable($this->getAttribute($context["product"], "marks", array()));
         foreach ($context['_seq'] as $context["_key"] => $context["mk"]) {
             // line 78
             echo "                                                <span>-&nbsp;<a href=\"#\">";
             echo twig_escape_filter($this->env, $this->getAttribute($context["mk"], "name", array()), "html", null, true);
             echo "</a></span>\n                                            ";
         }
         $_parent = $context['_parent'];
         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['mk'], $context['_parent'], $context['loop']);
         $context = array_intersect_key($context, $_parent) + $_parent;
         // line 80
         echo "                                        </div>\n                                        <p>&nbsp;&nbsp;</p>\n                                        <div>\n                                            ";
         // line 83
         $context['_parent'] = $context;
         $context['_seq'] = twig_ensure_traversable($this->getAttribute($context["product"], "promotions", array()));
         foreach ($context['_seq'] as $context["_key"] => $context["promoEnd"]) {
             // line 84
             echo "                                                <strong>&nbsp;Offre valable jusqu'au :</strong> <span class=\"label label-danger\" style=\"font-weight: bold; color: #fff;\">";
             echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute($context["promoEnd"], "end", array()), "d-m-Y"), "html", null, true);
             echo "</span>\n                                            ";
         }
         $_parent = $context['_parent'];
         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['promoEnd'], $context['_parent'], $context['loop']);
         $context = array_intersect_key($context, $_parent) + $_parent;
         // line 86
         echo "                                        </div>\n                                    </div>\n                                </div>\n                            </div>\n\n                        ";
     }
     $_parent = $context['_parent'];
     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['product'], $context['_parent'], $context['loop']);
     $context = array_intersect_key($context, $_parent) + $_parent;
     // line 92
     echo "\n                    </div>\n                    <!-- product view ajax container -->\n                    <div class=\"product-view-ajax-container\"> </div>\n                    <!-- //end product view ajax container -->\n                </div>\n                <!-- //end Products list -->\n            </section>\n\n            ";
     // line 101
     echo $this->env->getExtension('actions')->renderUri($this->env->getExtension('http_kernel')->controller("LabsFrontBundle:Default:getSidebarInfo"), array());
     // line 102
     echo "\n            <!-- Right column -->\n            <section class=\"col-sm-8 col-md-9 col-lg-9 content-center\">\n\n                <section>\n                    <div class=\"col-md-4\"><h3> ";
     // line 107
     echo twig_escape_filter($this->env, twig_upper_filter($this->env, "Nouvelles Arrivages"), "html", null, true);
     echo " </h3></div>\n                    <div class=\"col-sm-offset-6 col-md-2\"><a href=\"#\" class=\"btn btn-mega\">Afficher Tout </a></div>\n                    <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</p>\n                    <div class=\"clearfix\"></div>\n\n                    <!-- Products list -->\n                    <div class=\"row products-list\">\n                        ";
     // line 114
     $context['_parent'] = $context;
     $context['_seq'] = twig_ensure_traversable(isset($context["newsproducts"]) ? $context["newsproducts"] : $this->getContext($context, "newsproducts"));
     foreach ($context['_seq'] as $context["_key"] => $context["news"]) {
         // line 115
         echo "                            <div class=\"product-preview owl-item\">\n                                <div class=\"preview animate scale bg-shop\">\n                                    <a href=\"#\" class=\"preview-image\">\n                                        ";
         // line 118
         $context['_parent'] = $context;
         $context['_seq'] = twig_ensure_traversable($this->getAttribute($context["news"], "medias", array()));
         foreach ($context['_seq'] as $context["_key"] => $context["media"]) {
             // line 119
             echo "                                            <img class=\"img-responsive animate scale\" src=\"";
             echo twig_escape_filter($this->env, $this->env->getExtension('liip_imagine')->filter($this->getAttribute($context["media"], "AssertPath", array()), "my_thumb_front_img_naturel"), "html", null, true);
             echo "\" width=\"270\" height=\"328\" alt=\"\">\n                                        ";
         }
         $_parent = $context['_parent'];
         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['media'], $context['_parent'], $context['loop']);
         $context = array_intersect_key($context, $_parent) + $_parent;
         // line 121
         echo "                                    </a>\n                                    <ul class=\"product-controls-list\">\n                                        <li><span class=\"label label-sale\">";
         // line 123
         echo twig_escape_filter($this->env, twig_upper_filter($this->env, "new"), "html", null, true);
         echo "</span></li>\n                                    </ul>\n                                    <ul class=\"product-controls-list right hide-right\">\n                                        <li class=\"top-out\"></li>\n                                        <li><a href=\"#\" class=\"cart\"><span class=\"icon-basket\"></span></a></li>\n                                    </ul>\n                                    <div class=\"quick-view visible-xs\"> <span class=\"rating\"> <i class=\"icon-star-3\"></i> <i class=\"icon-star-3\"></i> <i class=\"icon-star-3\"></i> <i class=\"icon-star-3\"></i> <i class=\"icon-star-empty\"></i> </span></div>\n                                </div>\n                                <div class=\"bg-shop-write\">\n                                    <h5 class=\"small-visual-category--title\"><a href=\"#\">";
         // line 132
         echo twig_escape_filter($this->env, twig_capitalize_string_filter($this->env, $this->getAttribute($context["news"], "name", array())), "html", null, true);
         echo "</a></h5>\n                                    <span class=\"price new\" style=\"display: inline-block\">\n                                       ";
         // line 134
         echo twig_escape_filter($this->env, twig_number_format_filter($this->env, $this->getAttribute($context["news"], "PriceStandard", array()), 0, ",", "."), "html", null, true);
         echo " FCFA\n                                    </span><br/>\n                                    <p>&nbsp;&nbsp;&nbsp;</p>\n                                    <div class=\"thumbnail-sub\">\n                                        <a href=\"#\">";
         // line 138
         echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($context["news"], "section", array()), "name", array()), "html", null, true);
         echo "</a><br/>\n                                        ";
         // line 139
         $context['_parent'] = $context;
         $context['_seq'] = twig_ensure_traversable($this->getAttribute($context["news"], "marks", array()));
         foreach ($context['_seq'] as $context["_key"] => $context["mk"]) {
             // line 140
             echo "                                            <span>-&nbsp;<a href=\"#\">";
             echo twig_escape_filter($this->env, $this->getAttribute($context["mk"], "name", array()), "html", null, true);
             echo "</a></span>\n                                        ";
         }
         $_parent = $context['_parent'];
         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['mk'], $context['_parent'], $context['loop']);
         $context = array_intersect_key($context, $_parent) + $_parent;
         // line 142
         echo "                                    </div>\n                                    <p>&nbsp;&nbsp;</p>\n                                    <strong class=\"title\">Livraison offerte <span class=\"price new\">(*)</span></strong><br/>\n                                    <strong></strong>\n                                </div>\n                            </div>\n                        ";
     }
     $_parent = $context['_parent'];
     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['news'], $context['_parent'], $context['loop']);
     $context = array_intersect_key($context, $_parent) + $_parent;
     // line 149
     echo "                    </div>\n                    <!-- //end Products list -->\n\n                    <!-- Product view compact -->\n                    <div class=\"product-view-ajax\">\n                        <div class=\"ajax-loader progress progress-striped active\">\n                            <div class=\"progress-bar progress-bar-danger\" role=\"progressbar\"></div>\n                        </div>\n                        <div class=\"layar\"></div>\n                        <div class=\"product-view-container\">\n                        </div>\n                    </div>\n                    <!-- //end Product view compact -->\n\n                </section>\n\n                <section>\n                    <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</p>\n                    <div class=\"col-md-6\"><h3> ";
     // line 167
     echo twig_escape_filter($this->env, twig_upper_filter($this->env, "par catégorie"), "html", null, true);
     echo "</h3></div>\n                    <div class=\"col-sm-offset-4 col-md-2\"><a href=\"#\" class=\"btn btn-mega\">Afficher Tout </a></div>\n                    <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</p>\n                    <div class=\"clearfix\"></div>\n\n                    <!-- Products list -->\n                    <div class=\"row products-list\">\n                        ";
     // line 174
     $context['_parent'] = $context;
     $context['_seq'] = twig_ensure_traversable(isset($context["cats"]) ? $context["cats"] : $this->getContext($context, "cats"));
     foreach ($context['_seq'] as $context["_key"] => $context["cat"]) {
         // line 175
         echo "                            <div class=\"product-preview owl-item\">\n                                <div class=\"preview animate scale bg-shop\">\n                                    <a href=\"#\" class=\"preview-image\">\n                                        <img class=\"img-responsive animate scale\" src=\"";
         // line 178
         echo twig_escape_filter($this->env, $this->env->getExtension('liip_imagine')->filter($this->getAttribute($context["cat"], "AssertPath", array()), "my_thumb_front_img_naturel"), "html", null, true);
         echo "\" width=\"165\" height=\"140\" alt=\"\">\n                                    </a>\n                                </div>\n                                <div class=\"bg-shop-write\">\n                                    <h5 class=\"big-visual-category--title\"><a href=\"#\">";
         // line 182
         echo twig_escape_filter($this->env, twig_capitalize_string_filter($this->env, $this->getAttribute($context["cat"], "name", array())), "html", null, true);
         echo "</a></h5>\n                                    <ul class=\"styled-list arrow\" style=\"text-align: left;\">\n                                        ";
         // line 184
         $context['_parent'] = $context;
         $context['_seq'] = twig_ensure_traversable($this->getAttribute($context["cat"], "sections", array()));
         foreach ($context['_seq'] as $context["_key"] => $context["section"]) {
             // line 185
             echo "                                            <li><strong><a href=\"";
             echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("labs_front_listing", array("id" => $this->getAttribute($context["section"], "id", array()), "slug" => $this->getAttribute($context["section"], "slug", array()))), "html", null, true);
             echo "\">";
             echo twig_escape_filter($this->env, $this->getAttribute($context["section"], "name", array()), "html", null, true);
             echo "</a></strong></li>\n                                        ";
         }
         $_parent = $context['_parent'];
         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['section'], $context['_parent'], $context['loop']);
         $context = array_intersect_key($context, $_parent) + $_parent;
         // line 187
         echo "                                    </ul>\n                                </div>\n                            </div>\n                        ";
     }
     $_parent = $context['_parent'];
     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['cat'], $context['_parent'], $context['loop']);
     $context = array_intersect_key($context, $_parent) + $_parent;
     // line 191
     echo "                    </div>\n                    <!-- //end Products list -->\n\n                    <!-- Product view compact -->\n                    <div class=\"product-view-ajax\">\n                        <div class=\"ajax-loader progress progress-striped active\">\n                            <div class=\"progress-bar progress-bar-danger\" role=\"progressbar\"></div>\n                        </div>\n                        <div class=\"layar\"></div>\n                        <div class=\"product-view-container\">\n                        </div>\n                    </div>\n                    <!-- //end Product view compact -->\n\n                </section>\n\n                <!-- Brands -->\n                <section>\n\n                    <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</p>\n                    <div class=\"col-md-4\"><h3>  ";
     // line 211
     echo twig_escape_filter($this->env, twig_upper_filter($this->env, "nos marques"), "html", null, true);
     echo " </h3></div>\n                    <div class=\"col-sm-offset-6 col-md-2\"><a href=\"#\" class=\"btn btn-mega\">Voir Tout</a></div>\n                    <div class=\"clearfix\"></div>\n                    <hr>\n                    <!-- mark list -->\n                    <div class=\"row products-list\">\n                        ";
     // line 217
     $context['_parent'] = $context;
     $context['_seq'] = twig_ensure_traversable(isset($context["marks"]) ? $context["marks"] : $this->getContext($context, "marks"));
     foreach ($context['_seq'] as $context["_key"] => $context["mark"]) {
         // line 218
         echo "                            <div class=\"product-preview col-sm-3\">\n                                <div class=\"preview animate scale bg-shop\" style=\"width: 150px; height: 56px;\">\n                                    <a href=\"#\" class=\"preview-image\">\n                                        <img class=\"img-responsive animate scale\" src=\"";
         // line 221
         echo twig_escape_filter($this->env, $this->env->getExtension('liip_imagine')->filter($this->getAttribute($context["mark"], "AssertPath", array()), "my_thumb_out_page"), "html", null, true);
         echo "\" width=\"150\" height=\"56\" alt=\"\">\n                                    </a>\n                                </div>\n                            </div>\n                        ";
     }
     $_parent = $context['_parent'];
     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['mark'], $context['_parent'], $context['loop']);
     $context = array_intersect_key($context, $_parent) + $_parent;
     // line 226
     echo "                    </div>\n                    <div class=\"clearfix\"></div>\n                    <!-- //end mark list -->\n\n                </section>\n                <hr>\n                <!-- //end Brands -->\n\n            </section>\n            <!-- //end Right column -->\n\n        </div>\n    </section>\n";
     $__internal_70dd0c3e603b08a7ee289888246413c1e79d8bea882365f91e9582286283718d->leave($__internal_70dd0c3e603b08a7ee289888246413c1e79d8bea882365f91e9582286283718d_prof);
 }
 protected function doDisplay(array $context, array $blocks = array())
 {
     // line 1
     if (twig_length_filter($this->env, isset($context["Listado"]) ? $context["Listado"] : $this->getContext($context, "Listado")) > 0) {
         // line 2
         echo "        ";
         $context["NombreProvincia"] = "";
         // line 3
         echo "        ";
         $context["NombreMunicipio"] = "";
         // line 4
         echo "        ";
         $context["TotalPlanMes"] = 0;
         // line 5
         echo "        ";
         $context["TotalPlanDia"] = 0;
         // line 6
         echo "        ";
         $context["TotalConsumoDia"] = 0;
         // line 7
         echo "        ";
         $context["TotalConsumoAcumulado"] = 0;
         // line 8
         echo "\n        <h1>Organismo:";
         // line 9
         echo twig_escape_filter($this->env, isset($context["organismo"]) ? $context["organismo"] : $this->getContext($context, "organismo"), "html", null, true);
         echo "</h1>\n        <br>\n        <p>Parte Diario OLPP<p>\n        <p>Consumo Energ&iacute;a El&eacute;ctrica (KWh)<p>\n        <p>Acumulado hasta: <strong> ";
         // line 13
         echo twig_escape_filter($this->env, isset($context["fecha"]) ? $context["fecha"] : $this->getContext($context, "fecha"), "html", null, true);
         echo "</strong><p>\n        <br>\n        <table class=\"table table-bordered table-hover table-striped\" style=\"border: 1px solid #000000\">\n\n            ";
         // line 17
         $context['_parent'] = (array) $context;
         $context['_seq'] = twig_ensure_traversable(isset($context["Listado"]) ? $context["Listado"] : $this->getContext($context, "Listado"));
         foreach ($context['_seq'] as $context["_key"] => $context["e"]) {
             // line 18
             echo "\n                ";
             // line 19
             if ((isset($context["NombreProvincia"]) ? $context["NombreProvincia"] : $this->getContext($context, "NombreProvincia")) != $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "NombProv", array(), "array")) {
                 // line 20
                 echo "                     <tr style=\"border: 1px solid #000000\">\n                        <th colspan=\"16\" style=\"border: 1px solid #000000\">";
                 // line 21
                 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "NombProv", array(), "array"), "html", null, true);
                 echo "</th>\n                    </tr>\n                ";
             }
             // line 24
             echo "                ";
             if ((isset($context["NombreMunicipio"]) ? $context["NombreMunicipio"] : $this->getContext($context, "NombreMunicipio")) != $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "NombMunicipio", array(), "array")) {
                 // line 25
                 echo "                    <tr style=\"border: 1px solid #000000\">\n                        <th colspan=\"16\" style=\"border: 1px solid #000000\">Municipio: ";
                 // line 26
                 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "NombMunicipio", array(), "array"), "html", null, true);
                 echo "</th>\n                    </tr>\n                    <tr style=\"border: 1px solid #000000\">\n                        <th style=\"border: 1px solid #000000\">C&oacute;digo CEE</th>\n                        <th style=\"border: 1px solid #000000\">CRF</th>\n                        <th style=\"border: 1px solid #000000\">Nombre del Servicio</th>\n                        <th style=\"border: 1px solid #000000\">Plan Mes</th>\n                        <th style=\"border: 1px solid #000000\">Plan D&iacute;a</th>\n                        <th style=\"border: 1px solid #000000\">Consumo D&iacute;a</th>\n                        <th style=\"border: 1px solid #000000\">Consumo Acumulado</th>\n                        <th style=\"border: 1px solid #000000\">Porciento Diario</th>\n                        <th style=\"border: 1px solid #000000\">Porciento Acumulado</th>\n                    </tr>\n                ";
             }
             // line 40
             echo "\n                <tr style=\"border: 1px solid #000000\">\n                    <td style=\"border: 1px solid #000000\">";
             // line 42
             echo twig_escape_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "codcliente_EE", array(), "array"), "html", null, true);
             echo "</td>\n                    <td style=\"border: 1px solid #000000\">";
             // line 43
             echo twig_escape_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "codRF", array(), "array"), "html", null, true);
             echo "</td>\n                    <td style=\"border: 1px solid #000000\">";
             // line 44
             echo twig_escape_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "NombreServicio", array(), "array"), "html", null, true);
             echo "</td>\n                    <td style=\"border: 1px solid #000000\">";
             // line 45
             echo twig_escape_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "PlanMensual", array(), "array"), "html", null, true);
             echo "</td>\n                    <td style=\"border: 1px solid #000000\">";
             // line 46
             echo twig_escape_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "plan", array(), "array"), "html", null, true);
             echo "</td>\n                    <td style=\"border: 1px solid #000000\">";
             // line 47
             echo twig_escape_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "consumo", array(), "array"), "html", null, true);
             echo "</td>\n                    <td style=\"border: 1px solid #000000\">";
             // line 48
             echo twig_escape_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "ConsumoAcumulado", array(), "array"), "html", null, true);
             echo "</td>\n                    <td style=\"border: 1px solid #000000\">";
             // line 49
             echo twig_escape_filter($this->env, twig_number_format_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "PorcientoDiario", array(), "array"), 2), "html", null, true);
             echo "</td>\n                    <td style=\"border: 1px solid #000000\">";
             // line 50
             echo twig_escape_filter($this->env, twig_number_format_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "PorcientoAcumulado", array(), "array"), 2), "html", null, true);
             echo "</td>\n                    ";
             // line 51
             $context["TotalPlanMes"] = (isset($context["TotalPlanMes"]) ? $context["TotalPlanMes"] : $this->getContext($context, "TotalPlanMes")) + $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "PlanMensual", array(), "array");
             // line 52
             echo "                    ";
             $context["TotalPlanDia"] = (isset($context["TotalPlanDia"]) ? $context["TotalPlanDia"] : $this->getContext($context, "TotalPlanDia")) + $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "plan", array(), "array");
             // line 53
             echo "                    ";
             $context["TotalConsumoDia"] = (isset($context["TotalConsumoDia"]) ? $context["TotalConsumoDia"] : $this->getContext($context, "TotalConsumoDia")) + $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "consumo", array(), "array");
             // line 54
             echo "                    ";
             $context["TotalConsumoAcumulado"] = (isset($context["TotalConsumoAcumulado"]) ? $context["TotalConsumoAcumulado"] : $this->getContext($context, "TotalConsumoAcumulado")) + $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "ConsumoAcumulado", array(), "array");
             // line 55
             echo "                    ";
             $context["NombreMunicipio"] = $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "NombMunicipio", array(), "array");
             // line 56
             echo "                    ";
             $context["NombreProvincia"] = $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "NombProv", array(), "array");
             // line 57
             echo "\n                </tr>\n\n\n            ";
         }
         $_parent = $context['_parent'];
         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['e'], $context['_parent'], $context['loop']);
         $context = array_intersect_key($context, $_parent) + $_parent;
         // line 62
         echo "\n            ";
         // line 63
         if (twig_length_filter($this->env, isset($context["Listado"]) ? $context["Listado"] : $this->getContext($context, "Listado")) > 0) {
             // line 64
             echo "                <tr style=\"border: 1px solid #000000\">\n                    <th colspan=\"3\" align=\"right\" style=\"border: 1px solid #000000\">Totales </th>\n                    <td style=\"border: 1px solid #000000\">";
             // line 66
             echo twig_escape_filter($this->env, isset($context["TotalPlanMes"]) ? $context["TotalPlanMes"] : $this->getContext($context, "TotalPlanMes"), "html", null, true);
             echo "</td>\n                    <td style=\"border: 1px solid #000000\">";
             // line 67
             echo twig_escape_filter($this->env, isset($context["TotalPlanDia"]) ? $context["TotalPlanDia"] : $this->getContext($context, "TotalPlanDia"), "html", null, true);
             echo "</td>\n                    <td style=\"border: 1px solid #000000\" >";
             // line 68
             echo twig_escape_filter($this->env, isset($context["TotalConsumoDia"]) ? $context["TotalConsumoDia"] : $this->getContext($context, "TotalConsumoDia"), "html", null, true);
             echo "</td>\n                    <td style=\"border: 1px solid #000000\">";
             // line 69
             echo twig_escape_filter($this->env, isset($context["TotalConsumoAcumulado"]) ? $context["TotalConsumoAcumulado"] : $this->getContext($context, "TotalConsumoAcumulado"), "html", null, true);
             echo "</td>\n                    <td style=\"border: 1px solid #000000\">";
             // line 70
             echo twig_escape_filter($this->env, twig_number_format_filter($this->env, (isset($context["TotalConsumoDia"]) ? $context["TotalConsumoDia"] : $this->getContext($context, "TotalConsumoDia")) / (isset($context["TotalPlanDia"]) ? $context["TotalPlanDia"] : $this->getContext($context, "TotalPlanDia")), 2), "html", null, true);
             echo "</td>\n                    <td style=\"border: 1px solid #000000\">";
             // line 71
             echo twig_escape_filter($this->env, twig_number_format_filter($this->env, (isset($context["TotalConsumoAcumulado"]) ? $context["TotalConsumoAcumulado"] : $this->getContext($context, "TotalConsumoAcumulado")) / (isset($context["TotalPlanMes"]) ? $context["TotalPlanMes"] : $this->getContext($context, "TotalPlanMes")), 2), "html", null, true);
             echo "</td>\n\n                </tr>\n            ";
         }
         // line 75
         echo "        </table>\n";
     } else {
         // line 77
         echo "\n    <h1>No hay datos a mostrar</h1>\n\n\n";
     }
 }
 public function block_gantry($context, array $blocks = array())
 {
     // line 4
     $context["labels"] = array("collapse" => $this->env->getExtension('GantryTwig')->transFilter("GANTRY5_PLATFORM_COLLAPSE"), "expand" => $this->env->getExtension('GantryTwig')->transFilter("GANTRY5_PLATFORM_EXPAND"));
     // line 5
     $context["defaultStyles"] = $this->getAttribute(isset($context["defaults"]) ? $context["defaults"] : null, "flatten", array(0 => "styles", 1 => "][", 2 => "styles"), "method");
     // line 6
     echo "\n<div id=\"styles\">\n    ";
     // line 8
     $context["stored_data"] = $this->env->getExtension('GantryTwig')->jsonDecodeFilter(_twig_default_filter($this->env->getExtension('GantryTwig')->getCookie("g5-collapsed"), "{}"));
     // line 9
     echo "    <form method=\"post\" action=\"";
     echo twig_escape_filter($this->env, $this->getAttribute(isset($context["gantry"]) ? $context["gantry"] : null, "route", array(0 => "configurations", 1 => isset($context["configuration"]) ? $context["configuration"] : null, 2 => "styles"), "method"), "html", null, true);
     echo "\">\n        <span class=\"float-right\">\n            <a href=\"";
     // line 11
     echo twig_escape_filter($this->env, $this->getAttribute(isset($context["gantry"]) ? $context["gantry"] : null, "route", array(0 => "configurations", 1 => isset($context["configuration"]) ? $context["configuration"] : null, 2 => "styles/compile"), "method"), "html", null, true);
     echo "\" title=\"";
     echo twig_escape_filter($this->env, $this->env->getExtension('GantryTwig')->transFilter("GANTRY5_PLATFORM_RECOMPILE_CSS"), "html", null, true);
     echo "\" aria-label=\"";
     echo twig_escape_filter($this->env, $this->env->getExtension('GantryTwig')->transFilter("GANTRY5_PLATFORM_RECOMPILE_CSS"), "html", null, true);
     echo "\" class=\"button button-secondary\" data-ajax-action><i class=\"fa fa-fw fa-tasks\"></i> <span>";
     echo twig_escape_filter($this->env, $this->env->getExtension('GantryTwig')->transFilter("GANTRY5_PLATFORM_RECOMPILE_CSS"), "html", null, true);
     echo "</span></a>\n            <button type=\"submit\" class=\"button button-primary button-save\" data-save=\"";
     // line 12
     echo twig_escape_filter($this->env, $this->env->getExtension('GantryTwig')->transFilter("GANTRY5_PLATFORM_STYLES"), "html", null, true);
     echo "\"><i class=\"fa fa-fw fa-check\"></i> <span>";
     echo twig_escape_filter($this->env, $this->env->getExtension('GantryTwig')->transFilter("GANTRY5_PLATFORM_SAVE_STYLES"), "html", null, true);
     echo "</span></button>\n        </span>\n\n        ";
     // line 15
     $context["presets"] = $this->getAttribute($this->getAttribute(isset($context["gantry"]) ? $context["gantry"] : null, "theme", array()), "presets", array());
     // line 16
     echo "        ";
     if ($this->getAttribute(isset($context["presets"]) ? $context["presets"] : null, "count", array(), "method")) {
         // line 17
         echo "        ";
         $context["collapsed"] = $this->getAttribute(isset($context["stored_data"]) ? $context["stored_data"] : null, "swatches");
         // line 18
         echo "        <h2 class=\"page-title";
         echo isset($context["collapsed"]) ? $context["collapsed"] : null ? " g-collapsed-main" : "";
         echo "\" data-g-collapse=\"";
         echo twig_escape_filter($this->env, twig_jsonencode_filter(twig_array_merge(isset($context["labels"]) ? $context["labels"] : null, array("collapsed" => isset($context["collapsed"]) ? $context["collapsed"] : null ? true : false, "id" => "swatches", "target" => "~ .swatches-container"))), "html_attr");
         echo "\" data-g-collapse-id=\"swatches\">\n            <span class=\"title\">";
         // line 19
         echo twig_escape_filter($this->env, $this->env->getExtension('GantryTwig')->transFilter("GANTRY5_PLATFORM_STYLES"), "html", null, true);
         echo "</span>\n            <span class=\"g-collapse\" data-title=\"";
         // line 20
         echo twig_escape_filter($this->env, isset($context["collapsed"]) ? $context["collapsed"] : null ? $this->getAttribute(isset($context["labels"]) ? $context["labels"] : null, "expand", array()) : $this->getAttribute(isset($context["labels"]) ? $context["labels"] : null, "collapse", array()), "html", null, true);
         echo "\" data-tip=\"";
         echo twig_escape_filter($this->env, isset($context["collapsed"]) ? $context["collapsed"] : null ? $this->getAttribute(isset($context["labels"]) ? $context["labels"] : null, "expand", array()) : $this->getAttribute(isset($context["labels"]) ? $context["labels"] : null, "collapse", array()), "html", null, true);
         echo "\" data-tip-place=\"top-right\" data-tip-spacing=\"0\"><i class=\"fa fa-fw  fa-caret-up\"></i></span>\n        </h2>\n\n        <div class=\"swatches-container";
         // line 23
         echo isset($context["collapsed"]) ? $context["collapsed"] : null ? " g-collapsed" : "";
         echo "\"";
         if (isset($context["defaultStyles"]) ? $context["defaultStyles"] : null) {
             echo " data-g-styles-defaults=\"";
             echo twig_escape_filter($this->env, twig_jsonencode_filter(isset($context["defaultStyles"]) ? $context["defaultStyles"] : null), "html_attr");
             echo "\"";
         }
         echo ">\n            <div class=\"swatches-block\">\n                ";
         // line 25
         $context["presetKey"] = $this->getAttribute($this->getAttribute(isset($context["gantry"]) ? $context["gantry"] : null, "config", array()), "get", array(0 => "styles.preset"), "method");
         // line 26
         echo "\n                <ul class=\"g-grid\">\n                    ";
         // line 28
         $context['_parent'] = $context;
         $context['_seq'] = twig_ensure_traversable(isset($context["presets"]) ? $context["presets"] : null);
         foreach ($context['_seq'] as $context["key"] => $context["preset"]) {
             // line 29
             echo "                        ";
             $context["presetKey"] = !(isset($context["presetKey"]) ? $context["presetKey"] : null) ? $context["key"] : (isset($context["presetKey"]) ? $context["presetKey"] : null);
             // line 30
             echo "                        ";
             $context["counter"] = 0;
             // line 31
             echo "                        <li class=\"g-block";
             echo (isset($context["presetKey"]) ? $context["presetKey"] : null) == $context["key"] ? " g-preset-match" : "";
             echo "\">\n                            <a href=\"#\" class=\"swatch\" data-g-styles=\"";
             // line 32
             echo twig_escape_filter($this->env, twig_jsonencode_filter($this->getAttribute($this->getAttribute(isset($context["presets"]) ? $context["presets"] : null, "def", array(0 => $context["key"] . ".styles.preset", 1 => $context["key"]), "method"), "flatten", array(0 => $context["key"] . ".styles", 1 => "][", 2 => "styles"), "method")), "html_attr");
             echo "\">\n                                <img src=\"";
             // line 33
             echo twig_escape_filter($this->env, _twig_default_filter($this->env->getExtension('GantryTwig')->urlFunc($this->getAttribute($context["preset"], "image", array())), $this->env->getExtension('GantryTwig')->urlFunc("gantry-admin://images/placeholder.png")));
             echo "\" class=\"swatch-image\" alt=\"";
             echo twig_escape_filter($this->env, $this->env->getExtension('GantryTwig')->transFilter("GANTRY5_PLATFORM_STYLES_APPLY"), "html", null, true);
             echo " ";
             echo twig_escape_filter($this->env, $this->getAttribute($context["preset"], "description", array()), "html", null, true);
             echo "\"/>\n                                ";
             // line 34
             if (twig_length_filter($this->env, $this->getAttribute($context["preset"], "colors", array()))) {
                 // line 35
                 echo "                                    ";
                 $context["stop"] = twig_number_format_filter($this->env, 100 / twig_length_filter($this->env, $this->getAttribute($context["preset"], "colors", array())), 3, ".");
                 // line 36
                 echo "                                    <span class=\"swatch-colors\"\n                                            ";
                 // line 38
                 echo "                                          style=\"background: linear-gradient(to right\n                                          ";
                 // line 39
                 $context['_parent'] = $context;
                 $context['_seq'] = twig_ensure_traversable($this->getAttribute($context["preset"], "colors", array()));
                 foreach ($context['_seq'] as $context["_key"] => $context["color"]) {
                     // line 40
                     echo ",";
                     echo twig_escape_filter($this->env, $context["color"], "html", null, true);
                     echo " ";
                     echo twig_escape_filter($this->env, isset($context["counter"]) ? $context["counter"] : null, "html", null, true);
                     echo "%,";
                     echo twig_escape_filter($this->env, $context["color"], "html", null, true);
                     echo " ";
                     echo twig_escape_filter($this->env, (isset($context["counter"]) ? $context["counter"] : null) + (isset($context["stop"]) ? $context["stop"] : null), "html", null, true);
                     echo "%\n                                          ";
                     // line 41
                     $context["counter"] = (isset($context["counter"]) ? $context["counter"] : null) + (isset($context["stop"]) ? $context["stop"] : null);
                 }
                 $_parent = $context['_parent'];
                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['color'], $context['_parent'], $context['loop']);
                 $context = array_intersect_key($context, $_parent) + $_parent;
                 // line 42
                 echo ")\">\n                    </span>\n                                ";
             }
             // line 45
             echo "                                <button class=\"swatch-preview\" aria-label=\"";
             echo twig_escape_filter($this->env, $this->env->getExtension('GantryTwig')->transFilter("GANTRY5_PLATFORM_STYLES_PREVIEW"), "html", null, true);
             echo " ";
             echo twig_escape_filter($this->env, $this->getAttribute($context["preset"], "description", array()), "html", null, true);
             echo "\"><i class=\"fa fa-fw fa-eye\"></i></button>\n                                <span class=\"swatch-matched\"><i class=\"fa fa-fw fa-star\"></i></span>\n                            </a>\n                            <span class=\"swatch-description\"><span class=\"swatch-title-matched\"><i class=\"fa fa-fw fa-star\"></i></span> ";
             // line 48
             echo twig_escape_filter($this->env, $this->getAttribute($context["preset"], "description", array()), "html", null, true);
             echo "</span>\n                        </li>\n                    ";
         }
         $_parent = $context['_parent'];
         unset($context['_seq'], $context['_iterated'], $context['key'], $context['preset'], $context['_parent'], $context['loop']);
         $context = array_intersect_key($context, $_parent) + $_parent;
         // line 51
         echo "                </ul>\n            </div>\n        </div>\n\n        <input type=\"hidden\" name=\"styles[preset]\" value=\"";
         // line 55
         echo twig_escape_filter($this->env, isset($context["presetKey"]) ? $context["presetKey"] : null, "html", null, true);
         echo "\" />\n        ";
     }
     // line 57
     echo "\n        ";
     // line 58
     $context['_parent'] = $context;
     $context['_seq'] = twig_ensure_traversable(isset($context["blocks"]) ? $context["blocks"] : null);
     $context['loop'] = array('parent' => $context['_parent'], 'index0' => 0, 'index' => 1, 'first' => true);
     foreach ($context['_seq'] as $context["group"] => $context["list"]) {
         if ($context["group"] != "hidden") {
             // line 59
             echo "        <h2>";
             echo twig_escape_filter($this->env, twig_capitalize_string_filter($this->env, $context["group"]), "html", null, true);
             echo " ";
             echo twig_escape_filter($this->env, $this->env->getExtension('GantryTwig')->transFilter("GANTRY5_PLATFORM_STYLES"), "html", null, true);
             echo "</h2>\n\n        <div class=\"g-filter-actions\">\n            <div class=\"g-panel-filters\" data-g-global-filter=\"\">\n                <div class=\"search settings-block\">\n                    <input type=\"text\" data-g-collapse-filter placeholder=\"";
             // line 64
             echo twig_escape_filter($this->env, $this->env->getExtension('GantryTwig')->transFilter("GANTRY5_PLATFORM_FILTER") . " " . twig_capitalize_string_filter($this->env, $context["group"]), "html", null, true);
             echo "...\" aria-label=\"";
             echo twig_escape_filter($this->env, $this->env->getExtension('GantryTwig')->transFilter("GANTRY5_PLATFORM_FILTER") . " " . twig_capitalize_string_filter($this->env, $context["group"]), "html", null, true);
             echo "...\" role=\"search\">\n                    <i class=\"fa fa-fw fa-search\"></i>\n                </div>\n                <button class=\"button\" type=\"button\" data-g-collapse-all=\"true\"><i class=\"fa fa-fw fa-toggle-up\"></i> ";
             // line 67
             echo twig_escape_filter($this->env, $this->env->getExtension('GantryTwig')->transFilter("GANTRY5_PLATFORM_COLLAPSE_ALL"), "html", null, true);
             echo "</button>\n                <button class=\"button\" type=\"button\" data-g-collapse-all=\"false\"><i class=\"fa fa-fw fa-toggle-down\"></i> ";
             // line 68
             echo twig_escape_filter($this->env, $this->env->getExtension('GantryTwig')->transFilter("GANTRY5_PLATFORM_EXPAND_ALL"), "html", null, true);
             echo "</button>\n            </div>\n        </div>\n\n        <div id=\"styles\" class=\"cards-wrapper g-grid\">\n\n            ";
             // line 74
             $context['_parent'] = $context;
             $context['_seq'] = twig_ensure_traversable($context["list"]);
             $context['loop'] = array('parent' => $context['_parent'], 'index0' => 0, 'index' => 1, 'first' => true);
             if (is_array($context['_seq']) || is_object($context['_seq']) && $context['_seq'] instanceof Countable) {
                 $length = count($context['_seq']);
                 $context['loop']['revindex0'] = $length - 1;
                 $context['loop']['revindex'] = $length;
                 $context['loop']['length'] = $length;
                 $context['loop']['last'] = 1 === $length;
             }
             foreach ($context['_seq'] as $context["id"] => $context["block"]) {
                 // line 75
                 echo "                ";
                 $context["prefix"] = "styles." . $context["id"] . ".";
                 // line 76
                 echo "                ";
                 $context["collapsed"] = $this->getAttribute($this->getAttribute($context["block"], "form", array()), "collapsed", array()) || $this->getAttribute(isset($context["stored_data"]) ? $context["stored_data"] : null, isset($context["prefix"]) ? $context["prefix"] : null);
                 // line 77
                 echo "                <div class=\"card settings-block";
                 echo isset($context["collapsed"]) ? $context["collapsed"] : null ? " g-collapsed" : "";
                 echo "\">\n                    <h4 data-g-collapse=\"";
                 // line 78
                 echo twig_escape_filter($this->env, twig_jsonencode_filter(twig_array_merge(isset($context["labels"]) ? $context["labels"] : null, array("collapsed" => isset($context["collapsed"]) ? $context["collapsed"] : null ? true : false, "id" => isset($context["prefix"]) ? $context["prefix"] : null, "target" => "~ .inner-params"))), "html_attr");
                 echo "\" data-g-collapse-id=\"";
                 echo twig_escape_filter($this->env, isset($context["prefix"]) ? $context["prefix"] : null, "html", null, true);
                 echo "\">\n                        <span class=\"g-collapse\" data-title=\"";
                 // line 79
                 echo twig_escape_filter($this->env, isset($context["collapsed"]) ? $context["collapsed"] : null ? $this->getAttribute(isset($context["labels"]) ? $context["labels"] : null, "expand", array()) : $this->getAttribute(isset($context["labels"]) ? $context["labels"] : null, "collapse", array()), "html", null, true);
                 echo "\" data-tip=\"";
                 echo twig_escape_filter($this->env, isset($context["collapsed"]) ? $context["collapsed"] : null ? $this->getAttribute(isset($context["labels"]) ? $context["labels"] : null, "expand", array()) : $this->getAttribute(isset($context["labels"]) ? $context["labels"] : null, "collapse", array()), "html", null, true);
                 echo "\" data-tip-place=\"top-right\"><i class=\"fa fa-fw  fa-caret-up\"></i></span>\n                        <span class=\"g-title\">";
                 // line 80
                 echo twig_escape_filter($this->env, $this->getAttribute($context["block"], "name", array()), "html", null, true);
                 echo "</span>\n                    </h4>\n                    <div class=\"inner-params\">\n                        ";
                 // line 83
                 $this->loadTemplate("forms/fields.html.twig", "@gantry-admin/pages/configurations/styles/styles.html.twig", 83)->display(array_merge($context, array("overrideable" => isset($context["overrideable"]) ? $context["overrideable"] : null, "blueprints" => $this->getAttribute($context["block"], "form", array()), "data" => $this->getAttribute(isset($context["gantry"]) ? $context["gantry"] : null, "config", array()))));
                 // line 84
                 echo "                    </div>\n                </div>\n            ";
                 ++$context['loop']['index0'];
                 ++$context['loop']['index'];
                 $context['loop']['first'] = false;
                 if (isset($context['loop']['length'])) {
                     --$context['loop']['revindex0'];
                     --$context['loop']['revindex'];
                     $context['loop']['last'] = 0 === $context['loop']['revindex0'];
                 }
             }
             $_parent = $context['_parent'];
             unset($context['_seq'], $context['_iterated'], $context['id'], $context['block'], $context['_parent'], $context['loop']);
             $context = array_intersect_key($context, $_parent) + $_parent;
             // line 87
             echo "        </div>\n        ";
             ++$context['loop']['index0'];
             ++$context['loop']['index'];
             $context['loop']['first'] = false;
         }
     }
     $_parent = $context['_parent'];
     unset($context['_seq'], $context['_iterated'], $context['group'], $context['list'], $context['_parent'], $context['loop']);
     $context = array_intersect_key($context, $_parent) + $_parent;
     // line 89
     echo "\n        <div class=\"g-footer-actions\">\n            <span class=\"float-right\">\n                <a href=\"";
     // line 92
     echo twig_escape_filter($this->env, $this->getAttribute(isset($context["gantry"]) ? $context["gantry"] : null, "route", array(0 => "configurations", 1 => isset($context["configuration"]) ? $context["configuration"] : null, 2 => "styles/compile"), "method"), "html", null, true);
     echo "\" role=\"button\" title=\"";
     echo twig_escape_filter($this->env, $this->env->getExtension('GantryTwig')->transFilter("GANTRY5_PLATFORM_RECOMPILE_CSS"), "html", null, true);
     echo "\" aria-label=\"";
     echo twig_escape_filter($this->env, $this->env->getExtension('GantryTwig')->transFilter("GANTRY5_PLATFORM_RECOMPILE_CSS"), "html", null, true);
     echo "\" class=\"button button-secondary\" data-ajax-action><i class=\"fa fa-fw fa-tasks\"></i> <span>";
     echo twig_escape_filter($this->env, $this->env->getExtension('GantryTwig')->transFilter("GANTRY5_PLATFORM_RECOMPILE_CSS"), "html", null, true);
     echo "</span></a>\n                <button type=\"submit\" class=\"button button-primary button-save\" data-save=\"";
     // line 93
     echo twig_escape_filter($this->env, $this->env->getExtension('GantryTwig')->transFilter("GANTRY5_PLATFORM_STYLES"), "html", null, true);
     echo "\"><i class=\"fa fa-fw fa-check\"></i> <span>";
     echo twig_escape_filter($this->env, $this->env->getExtension('GantryTwig')->transFilter("GANTRY5_PLATFORM_SAVE_STYLES"), "html", null, true);
     echo "</span></button>\n            </span>\n        </div>\n    </form>\n</div>\n";
 }
 public function block_table($context, array $blocks = array())
 {
     $__internal_ee6add88a92cb8482e15718ab8e6f98943af081616df575abc06076fb9c43409 = $this->env->getExtension("native_profiler");
     $__internal_ee6add88a92cb8482e15718ab8e6f98943af081616df575abc06076fb9c43409->enter($__internal_ee6add88a92cb8482e15718ab8e6f98943af081616df575abc06076fb9c43409_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "table"));
     // line 88
     echo "    <table>\n        <tr>\n            <th>Id</th>\n            <th>Name</th>\n            <th>Type</th>\n            <th>Mem. (diff)</th>\n            <th>Mem. (peak)</th>\n            <th>Duration</th>\n        </tr>\n        ";
     // line 97
     $context['_parent'] = $context;
     $context['_seq'] = twig_ensure_traversable(isset($context["blocks"]) ? $context["blocks"] : $this->getContext($context, "blocks"));
     foreach ($context['_seq'] as $context["id"] => $context["block"]) {
         // line 98
         echo "\n            ";
         // line 99
         $context["rowspan"] = 1;
         // line 100
         echo "            ";
         if ($this->getAttribute($this->getAttribute($context["block"], "cache", array()), "handler", array())) {
             // line 101
             echo "                ";
             $context["rowspan"] = (isset($context["rowspan"]) ? $context["rowspan"] : $this->getContext($context, "rowspan")) + 1;
             // line 102
             echo "            ";
         }
         // line 103
         echo "\n            ";
         // line 104
         if (twig_length_filter($this->env, $this->getAttribute($this->getAttribute($context["block"], "assets", array()), "js", array())) > 0 || twig_length_filter($this->env, $this->getAttribute($this->getAttribute($context["block"], "assets", array()), "css", array())) > 0) {
             // line 105
             echo "                ";
             $context["rowspan"] = (isset($context["rowspan"]) ? $context["rowspan"] : $this->getContext($context, "rowspan")) + 1;
             // line 106
             echo "            ";
         }
         // line 107
         echo "            <tr>\n                <th style=\"vertical-align: top\" rowspan=\"";
         // line 108
         echo twig_escape_filter($this->env, isset($context["rowspan"]) ? $context["rowspan"] : $this->getContext($context, "rowspan"), "html", null, true);
         echo "\">";
         echo twig_escape_filter($this->env, $context["id"], "html", null, true);
         echo "</th>\n                <td>";
         // line 109
         echo twig_escape_filter($this->env, $this->getAttribute($context["block"], "name", array()), "html", null, true);
         echo "</td>\n                <td>";
         // line 110
         echo twig_escape_filter($this->env, $this->getAttribute($context["block"], "type", array()), "html", null, true);
         echo "</td>\n                <td>";
         // line 111
         echo twig_escape_filter($this->env, twig_number_format_filter($this->env, ($this->getAttribute($context["block"], "memory_end", array()) - $this->getAttribute($context["block"], "memory_start", array())) / 1000, 0), "html", null, true);
         echo " Kb</td>\n                <td>";
         // line 112
         echo twig_escape_filter($this->env, twig_number_format_filter($this->env, $this->getAttribute($context["block"], "memory_peak", array()) / 1000, 0), "html", null, true);
         echo " Kb</td>\n                <td>";
         // line 113
         echo twig_escape_filter($this->env, twig_number_format_filter($this->env, $this->getAttribute($context["block"], "duration", array()), 2), "html", null, true);
         echo " ms</td>\n            </tr>\n\n            ";
         // line 116
         if ($this->getAttribute($this->getAttribute($context["block"], "cache", array()), "handler", array())) {
             // line 117
             echo "                <tr style=\"vertical-align: top\">\n                    <td colspan=\"3\">\n                        Cache Keys: <pre>";
             // line 119
             echo twig_escape_filter($this->env, twig_jsonencode_filter($this->getAttribute($this->getAttribute($context["block"], "cache", array()), "keys", array())), "html", null, true);
             echo "</pre> <br />\n                        Contextual Keys: <pre>";
             // line 120
             echo twig_escape_filter($this->env, twig_jsonencode_filter($this->getAttribute($this->getAttribute($context["block"], "cache", array()), "contextual_keys", array())), "html", null, true);
             echo "</pre>\n                    </td>\n                    <td colspan=\"2\">\n                        TTL: ";
             // line 123
             echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($context["block"], "cache", array()), "ttl", array()), "html", null, true);
             echo "s. <br />\n                        Lifetime: ";
             // line 124
             echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($context["block"], "cache", array()), "lifetime", array()), "html", null, true);
             echo "s. <br />\n                        Backend: ";
             // line 125
             echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($context["block"], "cache", array()), "handler", array()), "html", null, true);
             echo " <br />\n                        Loading from cache: ";
             // line 126
             if ($this->getAttribute($this->getAttribute($context["block"], "cache", array()), "from_cache", array())) {
                 echo "YES";
             } else {
                 echo "NO";
             }
             echo " <br />\n                    </td>\n                </tr>\n            ";
         }
         // line 130
         echo "\n            ";
         // line 131
         if (twig_length_filter($this->env, $this->getAttribute($this->getAttribute($context["block"], "assets", array()), "js", array())) > 0 || twig_length_filter($this->env, $this->getAttribute($this->getAttribute($context["block"], "assets", array()), "css", array())) > 0) {
             // line 132
             echo "                <tr>\n                    <td colspan=\"5\">\n                        Javascripts: <pre>";
             // line 134
             echo twig_escape_filter($this->env, twig_jsonencode_filter($this->getAttribute($this->getAttribute($context["block"], "assets", array()), "js", array())), "html", null, true);
             echo "</pre><br />\n                        Stylesheets: <pre>";
             // line 135
             echo twig_escape_filter($this->env, twig_jsonencode_filter($this->getAttribute($this->getAttribute($context["block"], "assets", array()), "css", array())), "html", null, true);
             echo "</pre>\n                    </td>\n                </tr>\n            ";
         }
         // line 139
         echo "\n        ";
     }
     $_parent = $context['_parent'];
     unset($context['_seq'], $context['_iterated'], $context['id'], $context['block'], $context['_parent'], $context['loop']);
     $context = array_intersect_key($context, $_parent) + $_parent;
     // line 141
     echo "    </table>\n";
     $__internal_ee6add88a92cb8482e15718ab8e6f98943af081616df575abc06076fb9c43409->leave($__internal_ee6add88a92cb8482e15718ab8e6f98943af081616df575abc06076fb9c43409_prof);
 }
 public function block_contenido($context, array $blocks = array())
 {
     // line 3
     echo "<script lang=\"text/javascript\">\n    \$(document).ready(function(){\n    \$(\".chosen-select\").chosen();\n});\n</script>\n<form action=\"";
     // line 8
     echo $this->env->getExtension('routing')->getPath("asignarproyecto");
     echo "\" method=\"post\" ";
     echo $this->env->getExtension('form')->renderer->searchAndRenderBlock(isset($context["form"]) ? $context["form"] : $this->getContext($context, "form"), 'enctype');
     echo " novalidate>\n    ";
     // line 9
     if ((isset($context["tipo"]) ? $context["tipo"] : $this->getContext($context, "tipo")) == "crear") {
         // line 10
         echo "    <h4>Asignar Proyecto</h4>\n    ";
     } else {
         // line 12
         echo "    <h4>Usted modificará la asignación <font class=\"red\">\"\"</font> </h4>\n    ";
     }
     // line 14
     echo "    <div class=\"addUbication\">\n        <table>\n            ";
     // line 16
     echo $this->env->getExtension('form')->renderer->renderBlock(isset($context["form"]) ? $context["form"] : $this->getContext($context, "form"), 'form_start');
     echo "\n            <tr>\n                <td>";
     // line 18
     echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute(isset($context["form"]) ? $context["form"] : $this->getContext($context, "form"), "profesional"), 'label', array("label_attr" => array("class" => "etiqueta")));
     echo "</td>\n                <td>";
     // line 19
     echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute(isset($context["form"]) ? $context["form"] : $this->getContext($context, "form"), "profesional"), 'widget', array("attr" => array("class" => "chosen-select")));
     echo "</td>\n            </tr>\n            <tr>\n                <td>";
     // line 22
     echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute(isset($context["form"]) ? $context["form"] : $this->getContext($context, "form"), "proyecto"), 'label', array("label_attr" => array("class" => "etiqueta")));
     echo "</td>\n                <td>";
     // line 23
     echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute(isset($context["form"]) ? $context["form"] : $this->getContext($context, "form"), "proyecto"), 'widget', array("attr" => array("class" => "chosen-select")));
     echo "</td>\n            </tr>\n            <tr>\n                <td>";
     // line 26
     echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute(isset($context["form"]) ? $context["form"] : $this->getContext($context, "form"), "horas"), 'label', array("label_attr" => array("class" => "etiqueta")));
     echo "</td>\n                <td>";
     // line 27
     echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute(isset($context["form"]) ? $context["form"] : $this->getContext($context, "form"), "horas"), 'widget');
     echo "</td>\n                <td>";
     // line 28
     echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute(isset($context["form"]) ? $context["form"] : $this->getContext($context, "form"), "horas"), 'errors');
     echo "</td>\n            </tr>\n            <tr>\n                <td>";
     // line 31
     echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute(isset($context["form"]) ? $context["form"] : $this->getContext($context, "form"), "valorHora"), 'label', array("label_attr" => array("class" => "etiqueta")));
     echo "</td>\n                <td>";
     // line 32
     echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute(isset($context["form"]) ? $context["form"] : $this->getContext($context, "form"), "valorHora"), 'widget');
     echo "</td>\n                <td>";
     // line 33
     echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute(isset($context["form"]) ? $context["form"] : $this->getContext($context, "form"), "valorHora"), 'errors');
     echo "</td>\n            </tr>\n            ";
     // line 35
     if ((isset($context["tipo"]) ? $context["tipo"] : $this->getContext($context, "tipo")) == "crear") {
         // line 36
         echo "            <tr class=\"filaFormulario\">\n                <td><input class=\"btn btn-danger\" type=\"submit\" name=\"asignarProyecto\" value=\"Asignar Proyecto\"></td>\n                <td></td>\n            </tr>\n            ";
     } else {
         // line 41
         echo "            <tr class=\"filaFormulario\">\n                <td><input class=\"btn btn-danger\" type=\"submit\" name=\"modificarProyecto\" value=\"Modificar Proyecto\"></td>\n                <td><input type=\"hidden\" name=\"valorModificar\" value=\"";
         // line 43
         echo twig_escape_filter($this->env, $this->getAttribute(isset($context["modificar"]) ? $context["modificar"] : $this->getContext($context, "modificar"), "id"), "html", null, true);
         echo "\"></td>\n                <td></td>\n            </tr>\n            ";
     }
     // line 47
     echo "        </table>\n    </div>    \n</form>    \n\n<table class=\"listar\">\n        <tr>\n            \n            <td class=\"tabSup\">Id</td>\n            <td class=\"tabSup\">Profesional</td>\n            <td class=\"tabSup\">Proyecto</td>\n            <td class=\"tabSup\">Horas asignadas</td>\n            <td class=\"tabSup\">Valor hora (UF)</td>\n            <td class=\"tabSup\"></td>\n            <td class=\"tabSup\"></td>\n            <td class=\"tabSup\"></td>            \n            \n        </tr>\n        ";
     // line 64
     $context['_parent'] = (array) $context;
     $context['_seq'] = twig_ensure_traversable(isset($context["listar"]) ? $context["listar"] : $this->getContext($context, "listar"));
     foreach ($context['_seq'] as $context["_key"] => $context["listar"]) {
         // line 65
         echo "        <form action=\"";
         echo $this->env->getExtension('routing')->getPath("asignarproyecto");
         echo "\" method=\"post\" ";
         echo $this->env->getExtension('form')->renderer->searchAndRenderBlock(isset($context["form"]) ? $context["form"] : $this->getContext($context, "form"), 'enctype');
         echo " novalidate>\n        <tr>    \n            <td class=\"tabInfo\">";
         // line 67
         echo twig_escape_filter($this->env, $this->getAttribute(isset($context["listar"]) ? $context["listar"] : $this->getContext($context, "listar"), "id"), "html", null, true);
         echo "</td>\n            <td class=\"tabInfo\">";
         // line 68
         echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(isset($context["listar"]) ? $context["listar"] : $this->getContext($context, "listar"), "profesional"), "pnombre"), "html", null, true);
         echo " ";
         echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(isset($context["listar"]) ? $context["listar"] : $this->getContext($context, "listar"), "profesional"), "snombre"), "html", null, true);
         echo "</td>\n            <td class=\"tabInfo\">";
         // line 69
         echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(isset($context["listar"]) ? $context["listar"] : $this->getContext($context, "listar"), "proyecto"), "nombreProyecto"), "html", null, true);
         echo "</td>\n            <td class=\"tabInfo\">";
         // line 70
         echo twig_escape_filter($this->env, $this->getAttribute(isset($context["listar"]) ? $context["listar"] : $this->getContext($context, "listar"), "horas"), "html", null, true);
         echo "</td>\n            <td class=\"tabInfo\">";
         // line 71
         echo twig_escape_filter($this->env, twig_number_format_filter($this->env, $this->getAttribute(isset($context["listar"]) ? $context["listar"] : $this->getContext($context, "listar"), "valorHora"), 2, ".", ","), "html", null, true);
         echo "</td>\n            <td class=\"tabInfo\">Añadir excepción</td>\n            <td class=\"tabInfo\"><input class=\"btn btn-danger\" type=\"submit\" name=\"modificar\" value=\"modificar\"></td>\n            <td class=\"tabInfo\"><input class=\"btn btn-danger\" type=\"submit\" name=\"eliminar\" value=\"eliminar\"></td>\n            <td><input type=\"hidden\" name=\"valorEliminar\" value=\"";
         // line 75
         echo twig_escape_filter($this->env, $this->getAttribute(isset($context["listar"]) ? $context["listar"] : $this->getContext($context, "listar"), "id"), "html", null, true);
         echo "\"></td>\n            <td><input type=\"hidden\" name=\"area\" value=\"";
         // line 76
         echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(isset($context["listar"]) ? $context["listar"] : $this->getContext($context, "listar"), "proyecto"), "nombreProyecto"), "html", null, true);
         echo "\"></td>\n            <td><input type=\"hidden\" name=\"profesional\" value=\"";
         // line 77
         echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(isset($context["listar"]) ? $context["listar"] : $this->getContext($context, "listar"), "profesional"), "username"), "html", null, true);
         echo "\"></td>\n            <td><input type=\"hidden\" name=\"tabla\" value=\"";
         // line 78
         echo twig_escape_filter($this->env, $this->getAttribute(isset($context["informacion"]) ? $context["informacion"] : $this->getContext($context, "informacion"), "tabla"), "html", null, true);
         echo "\"></td>\n        <tr/>    \n        </form>\n        ";
     }
     $_parent = $context['_parent'];
     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['listar'], $context['_parent'], $context['loop']);
     $context = array_intersect_key($context, $_parent) + $_parent;
     // line 82
     echo "\n    </table> \n";
 }
 protected function doDisplay(array $context, array $blocks = array())
 {
     $__internal_6449e9ccdb32e686893fd6de442382c1f8ca9bfe87dc737f466f2bb0853be211 = $this->env->getExtension("native_profiler");
     $__internal_6449e9ccdb32e686893fd6de442382c1f8ca9bfe87dc737f466f2bb0853be211->enter($__internal_6449e9ccdb32e686893fd6de442382c1f8ca9bfe87dc737f466f2bb0853be211_prof = new Twig_Profiler_Profile($this->getTemplateName(), "template", "LabsFrontBundle:Default:ajax_view_product_popup.html.twig"));
     // line 1
     echo " <section class=\"container\">\n        <!-- Product view -->\n        <div class=\"product-view row\">\n            <div class=\"col-sm-6 col-md-6 col-lg-6\">\n\n                ";
     // line 6
     $context['_parent'] = $context;
     $context['_seq'] = twig_ensure_traversable(isset($context["products"]) ? $context["products"] : $this->getContext($context, "products"));
     foreach ($context['_seq'] as $context["_key"] => $context["prod"]) {
         // line 7
         echo "                    ";
         $context['_parent'] = $context;
         $context['_seq'] = twig_ensure_traversable($this->getAttribute($context["prod"], "medias", array()));
         foreach ($context['_seq'] as $context["_key"] => $context["media"]) {
             // line 8
             echo "                        ";
             if ($this->getAttribute($context["media"], "status", array()) == true) {
                 // line 9
                 echo "                            <div class=\"large-image vertical hidden-xs\">\n                                <img alt=\"#\" src = \"";
                 // line 10
                 echo twig_escape_filter($this->env, $this->env->getExtension('liip_imagine')->filter($this->getAttribute($context["media"], "AssertPath", array()), "my_thumb_front_img_detail_affichage"), "html", null, true);
                 echo "\"/>\n                            </div>\n                        ";
             }
             // line 13
             echo "                    ";
         }
         $_parent = $context['_parent'];
         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['media'], $context['_parent'], $context['loop']);
         $context = array_intersect_key($context, $_parent) + $_parent;
         // line 14
         echo "                ";
     }
     $_parent = $context['_parent'];
     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['prod'], $context['_parent'], $context['loop']);
     $context = array_intersect_key($context, $_parent) + $_parent;
     // line 15
     echo "            </div>\n\n            <div class=\"col-sm-6 col-md-6 col-lg-6\">\n\n                <!-- Product label -->\n                <div class=\"product-label\">\n                    <div class=\"center\">\n                        <div>\n                            <div class=\"box-content\">\n                                ";
     // line 24
     $context['_parent'] = $context;
     $context['_seq'] = twig_ensure_traversable(isset($context["products"]) ? $context["products"] : $this->getContext($context, "products"));
     foreach ($context['_seq'] as $context["_key"] => $context["prod"]) {
         // line 25
         echo "                                    <h2 class=\"ProductSummary-title\">";
         echo twig_escape_filter($this->env, $this->getAttribute($context["prod"], "name", array()), "html", null, true);
         echo "</h2>\n                                    <div class=\"ProductSummary-subTitle\">\n                                        <a href=\"#\">\n                                            ";
         // line 28
         echo twig_escape_filter($this->env, twig_capitalize_string_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute($context["prod"], "section", array()), "category", array()), "name", array())), "html", null, true);
         echo "\n                                        </a> -\n                                        <a href=\"#\">\n                                            ";
         // line 31
         echo twig_escape_filter($this->env, twig_capitalize_string_filter($this->env, $this->getAttribute($this->getAttribute($context["prod"], "section", array()), "name", array())), "html", null, true);
         echo "\n                                        </a>\n                                    </div>\n                                    <hr>\n                                    ";
         // line 35
         if (twig_length_filter($this->env, $this->getAttribute($context["prod"], "promotions", array())) > 0) {
             // line 36
             echo "                                        ";
             $context["percents"] = 0;
             // line 37
             echo "                                        ";
             $context['_parent'] = $context;
             $context['_seq'] = twig_ensure_traversable($this->getAttribute($context["prod"], "promotions", array()));
             foreach ($context['_seq'] as $context["_key"] => $context["promo"]) {
                 // line 38
                 echo "                                            ";
                 $context["percents"] = $this->getAttribute($context["promo"], "percent", array());
                 // line 39
                 echo "                                        ";
             }
             $_parent = $context['_parent'];
             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['promo'], $context['_parent'], $context['loop']);
             $context = array_intersect_key($context, $_parent) + $_parent;
             // line 40
             echo "                                        <span class=\"price old\">";
             echo twig_escape_filter($this->env, twig_number_format_filter($this->env, $this->getAttribute($context["prod"], "PriceStandard", array()), 0, ",", "."), "html", null, true);
             echo " FCFA</span>\n                                        <span class=\"price new\">\n                                        ";
             // line 42
             $context["price"] = $this->getAttribute($context["prod"], "PriceStandard", array()) - $this->getAttribute($context["prod"], "PriceStandard", array()) * ((isset($context["percents"]) ? $context["percents"] : $this->getContext($context, "percents")) / 100);
             // line 43
             echo "                                            ";
             echo twig_escape_filter($this->env, twig_number_format_filter($this->env, isset($context["price"]) ? $context["price"] : $this->getContext($context, "price"), 0, ",", "."), "html", null, true);
             echo " FCFA\n                                    </span> <br>\n                                    ";
         } else {
             // line 46
             echo "                                        <span class=\"price\">\n                                        ";
             // line 47
             echo twig_escape_filter($this->env, twig_number_format_filter($this->env, $this->getAttribute($context["prod"], "PriceStandard", array()), 0, ",", "."), "html", null, true);
             echo " FCFA\n                                    </span>\n                                    ";
         }
         // line 50
         echo "                                ";
     }
     $_parent = $context['_parent'];
     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['prod'], $context['_parent'], $context['loop']);
     $context = array_intersect_key($context, $_parent) + $_parent;
     // line 51
     echo "                                <hr>\n                            </div>\n                        </div>\n                    </div>\n                </div>\n                <!-- //end Product label -->\n\n                <!-- Description -->\n                <div class=\"product-description\">\n                    ";
     // line 60
     $context['_parent'] = $context;
     $context['_seq'] = twig_ensure_traversable(isset($context["products"]) ? $context["products"] : $this->getContext($context, "products"));
     foreach ($context['_seq'] as $context["_key"] => $context["prod"]) {
         // line 61
         echo "\n                    <!--<span class=\"rating\">\n                        <i class=\"icon-star-3\"></i> <i class=\"icon-star-3\"></i> <i class=\"icon-star-3\"></i> <i class=\"icon-star-3\"></i> <i class=\"icon-star-empty\"></i> </span>-->\n                        <div class=\"row\">\n                            <div>\n                                <strong>Description</strong>\n                                <p>&nbsp;</p>\n                                        ";
         // line 68
         echo $this->getAttribute($context["prod"], "description", array());
         echo "\n                            </div>\n                        </div>\n                        <br>\n                        <div class=\"clearfix visible-xs\"></div>\n                        <a href=\"";
         // line 73
         echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("cart_add", array("id" => $this->getAttribute($context["prod"], "id", array()))), "html", null, true);
         echo "\" class=\"btn btn-mega\">";
         echo twig_escape_filter($this->env, twig_upper_filter($this->env, "acheter maintenant"), "html", null, true);
         echo "</a>&nbsp;\n                        <a href=\"";
         // line 74
         echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("labs_front_produits", array("id" => $this->getAttribute($context["prod"], "id", array()), "slug" => $this->getAttribute($context["prod"], "slug", array()))), "html", null, true);
         echo "\" class=\"btn btn-mega\">";
         echo twig_escape_filter($this->env, twig_upper_filter($this->env, "Detail sur le produit"), "html", null, true);
         echo "</a>\n                    ";
     }
     $_parent = $context['_parent'];
     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['prod'], $context['_parent'], $context['loop']);
     $context = array_intersect_key($context, $_parent) + $_parent;
     // line 76
     echo "\n\n                </div>\n                <!-- //end Description -->\n\n            </div>\n        </div>\n        <!-- //end Product view -->\n </section>\n    <!-- //end Two columns content -->";
     $__internal_6449e9ccdb32e686893fd6de442382c1f8ca9bfe87dc737f466f2bb0853be211->leave($__internal_6449e9ccdb32e686893fd6de442382c1f8ca9bfe87dc737f466f2bb0853be211_prof);
 }
 protected function doDisplay(array $context, array $blocks = array())
 {
     $__internal_3c8eee698f94ce74611718fdc50e0270aa5844fe50355b68ce19e50163fb0487 = $this->env->getExtension("native_profiler");
     $__internal_3c8eee698f94ce74611718fdc50e0270aa5844fe50355b68ce19e50163fb0487->enter($__internal_3c8eee698f94ce74611718fdc50e0270aa5844fe50355b68ce19e50163fb0487_prof = new Twig_Profiler_Profile($this->getTemplateName(), "template", "LabsFrontBundle:includes:sidebar.html.twig"));
     // line 1
     echo "<!-- Left column -->\n<aside class=\"col-sm-4 col-md-3 col-lg-3 content-aside\">\n\n    <!-- Shop by categories -->\n    <section>\n        <h3>";
     // line 6
     echo twig_escape_filter($this->env, twig_upper_filter($this->env, "Nos catégories"), "html", null, true);
     echo "</h3>\n\n        <ul class=\"expander-list\">\n            ";
     // line 9
     $context['_parent'] = $context;
     $context['_seq'] = twig_ensure_traversable(isset($context["sidebar"]) ? $context["sidebar"] : $this->getContext($context, "sidebar"));
     foreach ($context['_seq'] as $context["_key"] => $context["genre"]) {
         // line 10
         echo "                <li> <span class=\"name\"> <span class=\"expander\">-</span> <a href=\"#\"></a>";
         echo twig_escape_filter($this->env, twig_capitalize_string_filter($this->env, $this->getAttribute($context["genre"], "nameview", array())), "html", null, true);
         echo " </span>\n                    <ul>\n                        ";
         // line 12
         $context['_parent'] = $context;
         $context['_seq'] = twig_ensure_traversable($this->getAttribute($context["genre"], "categories", array()));
         foreach ($context['_seq'] as $context["_key"] => $context["cat"]) {
             // line 13
             echo "                            <li> <span class=\"name\"> <span class=\"expander\">-</span> <a href=\"#\">";
             echo twig_escape_filter($this->env, twig_capitalize_string_filter($this->env, $this->getAttribute($context["cat"], "name", array())), "html", null, true);
             echo "</a>  </span>\n                                <ul>\n                                     ";
             // line 15
             $context['_parent'] = $context;
             $context['_seq'] = twig_ensure_traversable($this->getAttribute($context["cat"], "sections", array()));
             foreach ($context['_seq'] as $context["_key"] => $context["sec"]) {
                 // line 16
                 echo "                                          <li><span class=\"name\"><a href=\"#\">";
                 echo twig_escape_filter($this->env, twig_capitalize_string_filter($this->env, $this->getAttribute($context["sec"], "name", array())), "html", null, true);
                 echo "</a></span></li>\n                                     ";
             }
             $_parent = $context['_parent'];
             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['sec'], $context['_parent'], $context['loop']);
             $context = array_intersect_key($context, $_parent) + $_parent;
             // line 18
             echo "                                </ul>\n                            </li>\n                        ";
         }
         $_parent = $context['_parent'];
         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['cat'], $context['_parent'], $context['loop']);
         $context = array_intersect_key($context, $_parent) + $_parent;
         // line 21
         echo "                    </ul>\n                </li>\n            ";
     }
     $_parent = $context['_parent'];
     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['genre'], $context['_parent'], $context['loop']);
     $context = array_intersect_key($context, $_parent) + $_parent;
     // line 24
     echo "\n            <li> <span class=\"name\"> <span class=\"expander\">-</span> <a href=\"#\">E-shop Market</a> </span>\n                <ul>\n                    ";
     // line 27
     $context['_parent'] = $context;
     $context['_seq'] = twig_ensure_traversable(isset($context["markets"]) ? $context["markets"] : $this->getContext($context, "markets"));
     foreach ($context['_seq'] as $context["_key"] => $context["market"]) {
         // line 28
         echo "                        <li><span class=\"name\"> <a href=\"#\">";
         echo twig_escape_filter($this->env, twig_capitalize_string_filter($this->env, $this->getAttribute($context["market"], "name", array())), "html", null, true);
         echo "</a> </span>  </li>\n                    ";
     }
     $_parent = $context['_parent'];
     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['market'], $context['_parent'], $context['loop']);
     $context = array_intersect_key($context, $_parent) + $_parent;
     // line 30
     echo "                </ul>\n            </li>\n            <li> <span class=\"name\"> <span class=\"expander\">-</span> <a href=\"#\">";
     // line 32
     echo "Bon plan CDJIDJI";
     echo "</a> </span>\n                <ul>\n                    ";
     // line 34
     $context['_parent'] = $context;
     $context['_seq'] = twig_ensure_traversable(isset($context["solde"]) ? $context["solde"] : $this->getContext($context, "solde"));
     foreach ($context['_seq'] as $context["_key"] => $context["categ"]) {
         // line 35
         echo "                    <li>\n                        <span class=\"name\">\n                            ";
         // line 37
         $context['_parent'] = $context;
         $context['_seq'] = twig_ensure_traversable($this->getAttribute($context["categ"], "promotions", array()));
         foreach ($context['_seq'] as $context["_key"] => $context["percent"]) {
             // line 38
             echo "                                <span class=\"label label-mega\"> -";
             echo twig_escape_filter($this->env, $this->getAttribute($context["percent"], "percent", array()), "html", null, true);
             echo "%</span>\n                            ";
         }
         $_parent = $context['_parent'];
         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['percent'], $context['_parent'], $context['loop']);
         $context = array_intersect_key($context, $_parent) + $_parent;
         // line 40
         echo "                            <a href=\"#\">";
         echo twig_escape_filter($this->env, twig_capitalize_string_filter($this->env, $this->getAttribute($context["categ"], "name", array())), "html", null, true);
         echo "</a><br/>\n                        </span>\n                    </li>\n                    ";
     }
     $_parent = $context['_parent'];
     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['categ'], $context['_parent'], $context['loop']);
     $context = array_intersect_key($context, $_parent) + $_parent;
     // line 44
     echo "                </ul>\n            </li>\n\n        </ul>\n    </section>\n    <p>&nbsp;</p>\n    <!-- //end Shop by categories -->\n\n    <!-- Shop by categories -->\n    <section>\n        <h3>";
     // line 54
     echo twig_escape_filter($this->env, twig_upper_filter($this->env, "Par Marques"), "html", null, true);
     echo "</h3>\n        <ul class=\"simple-list\">\n            ";
     // line 56
     $context['_parent'] = $context;
     $context['_seq'] = twig_ensure_traversable(isset($context["marks"]) ? $context["marks"] : $this->getContext($context, "marks"));
     foreach ($context['_seq'] as $context["_key"] => $context["mark"]) {
         // line 57
         echo "                <li><span class=\"icon m-icon-caddie-2\"></span> <a href=\"#\">";
         echo twig_escape_filter($this->env, twig_capitalize_string_filter($this->env, $this->getAttribute($context["mark"], "name", array())), "html", null, true);
         echo " (";
         echo twig_escape_filter($this->env, twig_length_filter($this->env, $this->getAttribute($context["mark"], "products", array())), "html", null, true);
         echo ")</a></li>\n            ";
     }
     $_parent = $context['_parent'];
     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['mark'], $context['_parent'], $context['loop']);
     $context = array_intersect_key($context, $_parent) + $_parent;
     // line 59
     echo "        </ul>\n    </section>\n    <!-- //end Shop by categories -->\n    <p>&nbsp;&nbsp;&nbsp;</p>\n    <div class=\"section-divider\"></div>\n\n    <!-- BEST SELLERS -->\n    <h3><a href=\"listing.html\">";
     // line 66
     echo twig_escape_filter($this->env, twig_upper_filter($this->env, "meilleurs ventes"), "html", null, true);
     echo "</a></h3>\n    <div class=\"products-widget jcarousel-skin-previews vertical\">\n        <ul class=\"slides\">\n            ";
     // line 69
     $context['_parent'] = $context;
     $context['_seq'] = twig_ensure_traversable(isset($context["tops"]) ? $context["tops"] : $this->getContext($context, "tops"));
     foreach ($context['_seq'] as $context["_key"] => $context["top"]) {
         // line 70
         echo "                <li>\n                    <div class=\"product\">\n                        <a href=\"#\" class=\"preview-image\">\n                            ";
         // line 73
         $context['_parent'] = $context;
         $context['_seq'] = twig_ensure_traversable($this->getAttribute($context["top"], "medias", array()));
         foreach ($context['_seq'] as $context["_key"] => $context["img"]) {
             // line 74
             echo "                                <img class=\"img-responsive animate scale\" src=\"";
             echo twig_escape_filter($this->env, $this->env->getExtension('liip_imagine')->filter($this->getAttribute($context["img"], "AssertPath", array()), "my_thumb_front_img_best_img"), "html", null, true);
             echo "\" alt=\"\">\n                            ";
         }
         $_parent = $context['_parent'];
         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['img'], $context['_parent'], $context['loop']);
         $context = array_intersect_key($context, $_parent) + $_parent;
         // line 76
         echo "                        </a>\n                        <p class=\"name\">\n                            <a href=\"#\" class=\"preview-image\">";
         // line 78
         echo twig_escape_filter($this->env, $this->getAttribute($context["top"], "name", array()), "html", null, true);
         echo "</a>\n                        </p>\n                        ";
         // line 80
         $context["price"] = $this->getAttribute($context["top"], "PriceStandard", array()) - $this->getAttribute($context["top"], "PriceStandard", array()) * ($this->getAttribute($this->getAttribute($context["top"], "tva", array()), "value", array()) / 100);
         // line 81
         echo "                        <span class=\"price\">";
         echo twig_escape_filter($this->env, twig_number_format_filter($this->env, isset($context["price"]) ? $context["price"] : $this->getContext($context, "price"), 0, ",", "."), "html", null, true);
         echo " FCFA</span>\n                    </div>\n                </li>\n            ";
     }
     $_parent = $context['_parent'];
     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['top'], $context['_parent'], $context['loop']);
     $context = array_intersect_key($context, $_parent) + $_parent;
     // line 85
     echo "        </ul>\n    </div>\n    <!-- //end Best Sellers -->\n    <div class=\"section-divider\"></div>\n    <!-- Blog Widget Small -->\n    <section class=\"blog-widget-small\">\n        <h3>";
     // line 91
     echo twig_escape_filter($this->env, twig_upper_filter($this->env, "depuis le blog"), "html", null, true);
     echo "</h3>\n        <div class=\"posts flexslider\">\n            <ul class=\"slides\">\n                <li>\n                    <div class=\"image-cell\"><a href=\"blog.html\"><img src=\"images/temp/block-image-04-270x159.jpg\" class=\"img-responsive animate scale\" alt=\"\"></a></div>\n                    <div class=\"offset-image\">\n                        <h4><a href=\"blog.html\">Integer vel nibh sit amet turpis vulputate aliquet</a></h4>\n                        <p> <span class=\"rating\"> <i class=\"icon-star-3\"></i> <i class=\"icon-star-3\"></i> <i class=\"icon-star-3\"></i> <i class=\"icon-star-3\"></i> <i class=\"icon-star-empty\"></i> </span> &nbsp;&nbsp; <a href=\"blog.html\">5 Comments</a> </p>\n                        <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec eros tellus, scelerisque nec, rhoncus eget, laoreet sit amet, nunc. Ut sit amet turpis. In est arcu, sollicitudin eu, vehicula venenatis, tempor vitae, est. </p>\n                    </div>\n                </li>\n                <li>\n                    <div class=\"image-cell\"><a href=\"blog.html\"><img src=\"images/temp/block-image-04-270x159.jpg\" class=\"img-responsive animate scale\" alt=\"\"></a></div>\n                    <div class=\"offset-image\">\n                        <h4><a href=\"blog.html\">Integer vel nibh sit amet turpis vulputate aliquet</a></h4>\n                        <p> <span class=\"rating\"> <i class=\"icon-star-3\"></i> <i class=\"icon-star-3\"></i> <i class=\"icon-star-3\"></i> <i class=\"icon-star-3\"></i> <i class=\"icon-star-empty\"></i> </span> &nbsp;&nbsp; <a href=\"blog.html\">5 Comments</a> </p>\n                        <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec eros tellus, scelerisque nec, rhoncus eget, laoreet sit amet, nunc. Ut sit amet turpis. In est arcu, sollicitudin eu, vehicula venenatis, tempor vitae, est. </p>\n                    </div>\n                </li>\n                <li>\n                    <div class=\"image-cell\"><a href=\"blog.html\"><img src=\"images/temp/block-image-04-270x159.jpg\" class=\"img-responsive animate scale\" alt=\"\"></a></div>\n                    <div class=\"offset-image\">\n                        <h4><a href=\"blog.html\">Integer vel nibh sit amet turpis vulputate aliquet</a></h4>\n                        <p> <span class=\"rating\"> <i class=\"icon-star-3\"></i> <i class=\"icon-star-3\"></i> <i class=\"icon-star-3\"></i> <i class=\"icon-star-3\"></i> <i class=\"icon-star-empty\"></i> </span> &nbsp;&nbsp; <a href=\"blog.html\">5 Comments</a> </p>\n                        <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec eros tellus, scelerisque nec, rhoncus eget, laoreet sit amet, nunc. Ut sit amet turpis. In est arcu, sollicitudin eu, vehicula venenatis, tempor vitae, est. </p>\n                    </div>\n                </li>\n                <li>\n                    <div class=\"image-cell\"><a href=\"blog.html\"><img src=\"images/temp/block-image-04-270x159.jpg\" class=\"img-responsive animate scale\" alt=\"\"></a></div>\n                    <div class=\"offset-image\">\n                        <h4><a href=\"blog.html\">Integer vel nibh sit amet turpis vulputate aliquet</a></h4>\n                        <p> <span class=\"rating\"> <i class=\"icon-star-3\"></i> <i class=\"icon-star-3\"></i> <i class=\"icon-star-3\"></i> <i class=\"icon-star-3\"></i> <i class=\"icon-star-empty\"></i> </span> &nbsp;&nbsp; <a href=\"blog.html\">5 Comments</a> </p>\n                        <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec eros tellus, scelerisque nec, rhoncus eget, laoreet sit amet, nunc. Ut sit amet turpis. In est arcu, sollicitudin eu, vehicula venenatis, tempor vitae, est. </p>\n                    </div>\n                </li>\n            </ul>\n        </div>\n    </section>\n    <!-- //end Blog Widjet Small -->\n\n\n</aside>\n<!-- //end Left column -->";
     $__internal_3c8eee698f94ce74611718fdc50e0270aa5844fe50355b68ce19e50163fb0487->leave($__internal_3c8eee698f94ce74611718fdc50e0270aa5844fe50355b68ce19e50163fb0487_prof);
 }
 public function block_body($context, array $blocks = array())
 {
     $__internal_e3df43e77b9c9924f55ecdbdff13a2480b18350a8bd8841102d28a0eebb966f1 = $this->env->getExtension("native_profiler");
     $__internal_e3df43e77b9c9924f55ecdbdff13a2480b18350a8bd8841102d28a0eebb966f1->enter($__internal_e3df43e77b9c9924f55ecdbdff13a2480b18350a8bd8841102d28a0eebb966f1_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "body"));
     // line 3
     echo "\n    <!-- Breadcrumbs -->\n    <section class=\"container\">\n        <nav class=\"breadcrumbs\"> <a href=\"";
     // line 6
     echo $this->env->getExtension('routing')->getPath("labs_front_homepage");
     echo "\">Accueil</a> <span class=\"divider\">›</span> Panier </nav>\n    </section>\n    <!-- //end Breadcrumbs -->\n\n    <!-- Two column content -->\n    <section class=\"container\">\n        <div class=\"row\">\n            <section class=\"col-md-12 col-lg-12\">\n                <!-- Shopping cart -->\n                <section class=\"content-box\">\n                    <div class=\"shopping_cart\">\n                        <img class=\"back img-responsive\" src=\"";
     // line 17
     echo twig_escape_filter($this->env, $this->env->getExtension('asset')->getAssetUrl("images/shopping-cart-back.png"), "html", null, true);
     echo "\" alt=\"\">\n                        <div class=\"box\">\n                            <h3>";
     // line 19
     echo twig_escape_filter($this->env, twig_upper_filter($this->env, "Panier"), "html", null, true);
     echo "</h3>\n                            <table>\n                                <thead>\n                                <tr class=\"hidden-xs\">\n                                    <th></th>\n                                    <th></th>\n                                    <th>Nom</th>\n                                    <th>Prix</th>\n                                    <th>Quantité</th>\n                                    <th>Total</th>\n                                </tr>\n                                </thead>\n                                <tbody>\n                                ";
     // line 32
     $context['_parent'] = $context;
     $context['_seq'] = twig_ensure_traversable(isset($context["products"]) ? $context["products"] : $this->getContext($context, "products"));
     foreach ($context['_seq'] as $context["_key"] => $context["prod"]) {
         // line 33
         echo "                                    ";
         $context["valeur"] = $this->getAttribute($this->getAttribute(isset($context["app"]) ? $context["app"] : $this->getContext($context, "app"), "session", array()), "get", array(0 => "carts"), "method");
         // line 34
         echo "                                    ";
         $context["val"] = $this->getAttribute(isset($context["valeur"]) ? $context["valeur"] : $this->getContext($context, "valeur"), $this->getAttribute($context["prod"], "id", array()), array(), "array");
         // line 35
         echo "                                <tr>\n                                    <td><a href=\"";
         // line 36
         echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("cart_delete", array("id" => $this->getAttribute($context["prod"], "id", array()))), "html", null, true);
         echo "\" class=\"remove-button hidden-xs\">\n                                            <span class=\"icon-cancel-2 \"></span>\n                                        </a>\n                                    </td>\n                                    <td>\n                                        <a href=\"";
         // line 41
         echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("cart_delete", array("id" => $this->getAttribute($context["prod"], "id", array()))), "html", null, true);
         echo "\" class=\"remove-button visible-xs\">\n                                            <span class=\"icon-cancel-2 \"></span>\n                                        </a>\n                                        <a href=\"";
         // line 44
         echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("labs_front_produits", array("id" => $this->getAttribute($context["prod"], "id", array()), "slug" => $this->getAttribute($context["prod"], "slug", array()))), "html", null, true);
         echo "\">\n                                            ";
         // line 45
         $context['_parent'] = $context;
         $context['_seq'] = twig_ensure_traversable($this->getAttribute($context["prod"], "medias", array()));
         foreach ($context['_seq'] as $context["_key"] => $context["media"]) {
             // line 46
             echo "                                                <img class=\"preview\" src=\"";
             echo twig_escape_filter($this->env, $this->env->getExtension('liip_imagine')->filter($this->getAttribute($context["media"], "AssertPath", array()), "my_thumb_front_img_best_img"), "html", null, true);
             echo "\">\n                                            ";
         }
         $_parent = $context['_parent'];
         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['media'], $context['_parent'], $context['loop']);
         $context = array_intersect_key($context, $_parent) + $_parent;
         // line 48
         echo "                                        </a>\n                                    </td>\n                                    <td><span class=\"td-name visible-xs\">Nom</span>\n                                        <a href=\"";
         // line 51
         echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("labs_front_produits", array("id" => $this->getAttribute($context["prod"], "id", array()), "slug" => $this->getAttribute($context["prod"], "slug", array()))), "html", null, true);
         echo "\">";
         echo twig_escape_filter($this->env, $this->getAttribute($context["prod"], "name", array()), "html", null, true);
         echo "</a>\n                                    </td>\n                                    <td>\n                                        ";
         // line 54
         $context["percents"] = 0;
         // line 55
         echo "                                        ";
         $context['_parent'] = $context;
         $context['_seq'] = twig_ensure_traversable($this->getAttribute($context["prod"], "promotions", array()));
         foreach ($context['_seq'] as $context["_key"] => $context["promo"]) {
             // line 56
             echo "                                            ";
             $context["percents"] = $this->getAttribute($context["promo"], "percent", array());
             // line 57
             echo "                                        ";
         }
         $_parent = $context['_parent'];
         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['promo'], $context['_parent'], $context['loop']);
         $context = array_intersect_key($context, $_parent) + $_parent;
         // line 58
         echo "                                        <span class=\"td-name visible-xs\">Prix</span>\n                                        ";
         // line 59
         if ($this->getAttribute($context["prod"], "promostatusprod", array())) {
             // line 60
             echo "                                            ";
             $context["price"] = $this->getAttribute($context["prod"], "PriceStandard", array()) - $this->getAttribute($context["prod"], "PriceStandard", array()) * ((isset($context["percents"]) ? $context["percents"] : $this->getContext($context, "percents")) / 100);
             // line 61
             echo "                                            ";
             echo twig_escape_filter($this->env, twig_number_format_filter($this->env, isset($context["price"]) ? $context["price"] : $this->getContext($context, "price"), 0, ",", "."), "html", null, true);
             echo " FCFA\n                                        ";
         } else {
             // line 63
             echo "                                            ";
             $context["price"] = $this->getAttribute($context["prod"], "PriceStandard", array());
             // line 64
             echo "                                            ";
             echo twig_escape_filter($this->env, twig_number_format_filter($this->env, $this->getAttribute($context["prod"], "PriceStandard", array()), 0, ",", "."), "html", null, true);
             echo " FCFA\n                                        ";
         }
         // line 66
         echo "                                        <input type=\"hidden\" value=\"";
         echo twig_escape_filter($this->env, isset($context["price"]) ? $context["price"] : $this->getContext($context, "price"), "html", null, true);
         echo "\" id=\"price-";
         echo twig_escape_filter($this->env, $this->getAttribute($context["prod"], "id", array()), "html", null, true);
         echo "\">\n                                    </td>\n                                    <td>\n                                        <span class=\"td-name visible-xs\">Quantité</span>\n                                        <div class=\"input-group quantity-control\">\n                                            <span class=\"input-group-addon btn-number\"  data-type=\"minus\" data-field=\"qte";
         // line 71
         echo twig_escape_filter($this->env, $this->getAttribute($context["prod"], "id", array()), "html", null, true);
         echo "\" data-btn=\"btn-";
         echo twig_escape_filter($this->env, $this->getAttribute($context["prod"], "id", array()), "html", null, true);
         echo "\">&minus;</span>\n                                                <input type=\"text\" class=\"form-control cart-input\" value=\"";
         // line 72
         echo twig_escape_filter($this->env, isset($context["val"]) ? $context["val"] : $this->getContext($context, "val"), "html", null, true);
         echo "\" data-quick=\"";
         echo twig_escape_filter($this->env, $this->getAttribute($context["prod"], "id", array()), "html", null, true);
         echo "\" name=\"qte";
         echo twig_escape_filter($this->env, $this->getAttribute($context["prod"], "id", array()), "html", null, true);
         echo "\">\n                                            <span class=\"input-group-addon btn-number\" data-type=\"plus\" data-field=\"qte";
         // line 73
         echo twig_escape_filter($this->env, $this->getAttribute($context["prod"], "id", array()), "html", null, true);
         echo "\" data-btn=\"btn-";
         echo twig_escape_filter($this->env, $this->getAttribute($context["prod"], "id", array()), "html", null, true);
         echo "\">+</span>\n                                        </div>\n                                    </td>\n                                    <td>\n                                        ";
         // line 77
         $context["pricePu"] = (isset($context["price"]) ? $context["price"] : $this->getContext($context, "price")) * (isset($context["val"]) ? $context["val"] : $this->getContext($context, "val"));
         // line 78
         echo "                                        <span class=\"td-name visible-xs\">Total</span> <span id=\"Totalpu";
         echo twig_escape_filter($this->env, $this->getAttribute($context["prod"], "id", array()), "html", null, true);
         echo "\">";
         echo twig_escape_filter($this->env, twig_number_format_filter($this->env, isset($context["pricePu"]) ? $context["pricePu"] : $this->getContext($context, "pricePu"), 0, ",", "."), "html", null, true);
         echo " FCFA</span>\n                                    </td>\n                                </tr>\n                                ";
     }
     $_parent = $context['_parent'];
     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['prod'], $context['_parent'], $context['loop']);
     $context = array_intersect_key($context, $_parent) + $_parent;
     // line 82
     echo "                                </tbody>\n                            </table>\n                            <div class=\"pull-left\"> <b class=\"title\">Livraison:</b> Livraison gratuite </div>\n                            <div class=\"pull-right\">\n                                <p><b class=\"title\">Total Commande TTC:</b> <span class=\"price\" id=\"price_cart\">";
     // line 86
     echo twig_escape_filter($this->env, twig_number_format_filter($this->env, isset($context["Total"]) ? $context["Total"] : $this->getContext($context, "Total"), 0, ",", "."), "html", null, true);
     echo " FCFA</span></p>\n                                <a href=\"";
     // line 87
     echo $this->env->getExtension('routing')->getPath("command_order_pre_validate");
     echo "\" class=\"btn btn-mega\">";
     echo twig_escape_filter($this->env, twig_upper_filter($this->env, "Poursuive ma commande"), "html", null, true);
     echo "</a>\n                            </div>\n                            <div class=\"clearfix\"></div>\n                        </div>\n                    </div>\n                </section>\n\n                <!-- //end Shopping cart -->\n\n            </section>\n          <!--  <section class=\"col-md-6 col-lg-6 shopping_cart-aside\">\n\n                <!-- Coupon -->\n               <!-- <section class=\"container-widget\">\n                    <h3>Coupon</h3>\n                    <form role=\"form\">\n                        <div class=\"form-group\">\n                            <label for=\"coupon\">Enter your coupon code if you have one</label>\n                            <input type=\"email\" class=\"form-control input-sm\" id=\"coupon\">\n                        </div>\n                        <button type=\"submit\" class=\"btn btn-mega\">Apply Coupon</button>\n                    </form>\n                </section> -->\n                <!-- //end Coupon -->\n\n          <!--  </section> -->\n           <!-- <section class=\"col-md-6 col-lg-6 shopping_cart-aside\">\n\n                <!-- Estimate shipping -->\n               <!-- <section class=\"container-widget\">\n                    <h3>ESTIMATE SHIPPING AND TAX</h3>\n                    <form role=\"form\">\n                        <div class=\"form-label\">Enter your destination to get a shipping estimate.</div>\n                        <div class=\"form-group-sm btn-select btn-select-xl btn-select-wide\"> <a href=\"#\" class=\"btn btn-default dropdown-toggle\" type=\"button\" data-toggle=\"dropdown\"> <span class=\"value\">United States</span> <span class=\"caret min\"></span> </a>\n                            <ul class=\"dropdown-menu\">\n                                <li><a href=\"#\">United States</a></li>\n                                <li><a href=\"#\">United States</a></li>\n                                <li><a href=\"#\">United States</a></li>\n                            </ul>\n                        </div>\n                        <div class=\"form-group-sm btn-select btn-select-xl btn-select-wide\"> <a href=\"#\" class=\"btn btn-default dropdown-toggle\" type=\"button\" data-toggle=\"dropdown\"> <span class=\"value\">State/Province</span> <span class=\"caret min\"></span> </a>\n                            <ul class=\"dropdown-menu\">\n                                <li><a href=\"#\">United States</a></li>\n                                <li><a href=\"#\">United States</a></li>\n                                <li><a href=\"#\">United States</a></li>\n                            </ul>\n                        </div>\n                        <div class=\"form-group\">\n                            <input type=\"text\" class=\"form-control input-sm\"  value=\"Zip/Postal Code\" onblur=\"if (this.value == '') {this.value = 'Zip/Postal Code';}\" onfocus=\"if(this.value == 'Zip/Postal Code') {this.value = '';}\">\n                        </div>\n                        <button type=\"submit\" class=\"btn btn-mega\">GET A QUOTE</button>\n                    </form>\n                </section> -->\n                <!-- //end Estimate shipping -->\n\n            <!--</section> -->\n        </div>\n    </section>\n    <!-- //end Two columns content -->\n\n\n";
     $__internal_e3df43e77b9c9924f55ecdbdff13a2480b18350a8bd8841102d28a0eebb966f1->leave($__internal_e3df43e77b9c9924f55ecdbdff13a2480b18350a8bd8841102d28a0eebb966f1_prof);
 }
 protected function doDisplay(array $context, array $blocks = array())
 {
     // line 1
     echo "\n";
     // line 2
     if (twig_length_filter($this->env, isset($context["Listado"]) ? $context["Listado"] : $this->getContext($context, "Listado")) > 0) {
         // line 3
         echo "\n        ";
         // line 4
         $context["NombreProvincia"] = "";
         // line 5
         echo "\n        ";
         // line 6
         $context["TotalPlanMes"] = 0;
         // line 7
         echo "        ";
         $context["ConsumoAcumulado"] = 0;
         // line 8
         echo "        ";
         $context["PromedioDiarioConsumo"] = 0;
         // line 9
         echo "        ";
         $context["TotalPorConsumir"] = 0;
         // line 10
         echo "        ";
         $context["TotalPorConsumirPorciento"] = 0;
         // line 11
         echo "        ";
         $context["CantidadDias"] = 0;
         // line 12
         echo "\n        <h1>Organismo:";
         // line 13
         echo twig_escape_filter($this->env, isset($context["organismo"]) ? $context["organismo"] : $this->getContext($context, "organismo"), "html", null, true);
         echo "</h1>\n        <br>\n        <br>\n        <table class=\"table table-bordered table-hover table-striped\" style=\"width: 30%\">\n\n            ";
         // line 18
         if ((isset($context["provinciaSeleccionada"]) ? $context["provinciaSeleccionada"] : $this->getContext($context, "provinciaSeleccionada")) != "") {
             // line 19
             echo "                    ";
             $context['_parent'] = (array) $context;
             $context['_seq'] = twig_ensure_traversable(isset($context["Listado"]) ? $context["Listado"] : $this->getContext($context, "Listado"));
             foreach ($context['_seq'] as $context["_key"] => $context["e"]) {
                 // line 20
                 echo "                        ";
                 if ((isset($context["NombreProvincia"]) ? $context["NombreProvincia"] : $this->getContext($context, "NombreProvincia")) != $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "descripcion", array(), "array")) {
                     // line 21
                     echo "                            <th colspan=\"3\">\n                                ";
                     // line 22
                     echo twig_escape_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "descripcion", array(), "array"), "html", null, true);
                     echo " </th>\n                            <tr>\n                                <th>Fecha</th>\n                                <th>Dia de la semana</th>\n                                <th>Consumo</th>\n\n                            </tr>\n                        ";
                 }
                 // line 30
                 echo "                        <tr>\n                            <td>";
                 // line 31
                 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "fecha", array(), "array"), "html", null, true);
                 echo "</td>\n                            <td>";
                 // line 32
                 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "DiaSemana", array(), "array"), "html", null, true);
                 echo "</td>\n                            <td>";
                 // line 33
                 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "Consumo", array(), "array"), "html", null, true);
                 echo "</td>\n                            ";
                 // line 34
                 $context["ConsumoAcumulado"] = (isset($context["ConsumoAcumulado"]) ? $context["ConsumoAcumulado"] : $this->getContext($context, "ConsumoAcumulado")) + $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "Consumo", array(), "array");
                 // line 35
                 echo "                            ";
                 $context["TotalPlanMes"] = (isset($context["TotalPlanMes"]) ? $context["TotalPlanMes"] : $this->getContext($context, "TotalPlanMes")) + $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "Plan", array(), "array");
                 // line 36
                 echo "                            ";
                 $context["CantidadDias"] = (isset($context["CantidadDias"]) ? $context["CantidadDias"] : $this->getContext($context, "CantidadDias")) + 1;
                 // line 37
                 echo "                        </tr>\n                        ";
                 // line 38
                 $context["NombreProvincia"] = $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "descripcion", array(), "array");
                 // line 39
                 echo "                    ";
             }
             $_parent = $context['_parent'];
             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['e'], $context['_parent'], $context['loop']);
             $context = array_intersect_key($context, $_parent) + $_parent;
             // line 40
             echo "            ";
         } else {
             // line 41
             echo "\n                             <th colspan=\"3\">\n                             Todas las provincias </th>\n                            <tr>\n                                <th>Fecha</th>\n                                <th>Dia de la semana</th>\n                                <th>Consumo</th>\n\n                            </tr>\n                    ";
             // line 50
             $context['_parent'] = (array) $context;
             $context['_seq'] = twig_ensure_traversable(isset($context["Listado"]) ? $context["Listado"] : $this->getContext($context, "Listado"));
             foreach ($context['_seq'] as $context["_key"] => $context["e"]) {
                 // line 51
                 echo "                         <tr>\n                             <td>";
                 // line 52
                 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "fecha", array(), "array"), "html", null, true);
                 echo "</td>\n                             <td>";
                 // line 53
                 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "DiaSemana", array(), "array"), "html", null, true);
                 echo "</td>\n                             <td>";
                 // line 54
                 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "Consumo", array(), "array"), "html", null, true);
                 echo "</td>\n                             ";
                 // line 55
                 $context["ConsumoAcumulado"] = (isset($context["ConsumoAcumulado"]) ? $context["ConsumoAcumulado"] : $this->getContext($context, "ConsumoAcumulado")) + $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "Consumo", array(), "array");
                 // line 56
                 echo "                             ";
                 $context["TotalPlanMes"] = (isset($context["TotalPlanMes"]) ? $context["TotalPlanMes"] : $this->getContext($context, "TotalPlanMes")) + $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "Plan", array(), "array");
                 // line 57
                 echo "                             ";
                 $context["CantidadDias"] = (isset($context["CantidadDias"]) ? $context["CantidadDias"] : $this->getContext($context, "CantidadDias")) + 1;
                 // line 58
                 echo "                          </tr>\n\n                    ";
             }
             $_parent = $context['_parent'];
             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['e'], $context['_parent'], $context['loop']);
             $context = array_intersect_key($context, $_parent) + $_parent;
             // line 61
             echo "            ";
         }
         // line 62
         echo "        </table>\n       <table class=\"table table-bordered table-hover table-striped\" style=\"width: 20%\">\n           <tr>\n               <th>Plan para el Mes:</th>\n               <td>";
         // line 66
         echo twig_escape_filter($this->env, isset($context["TotalPlanMes"]) ? $context["TotalPlanMes"] : $this->getContext($context, "TotalPlanMes"), "html", null, true);
         echo "</td>\n           </tr>\n           <tr>\n               <th>Consumo Acumulado:</th>\n               <td>";
         // line 70
         echo twig_escape_filter($this->env, isset($context["ConsumoAcumulado"]) ? $context["ConsumoAcumulado"] : $this->getContext($context, "ConsumoAcumulado"), "html", null, true);
         echo "</td>\n           </tr>\n           <tr>\n               <th>Porciento de consumo:</th>\n               <td>";
         // line 74
         echo twig_escape_filter($this->env, twig_number_format_filter($this->env, (isset($context["ConsumoAcumulado"]) ? $context["ConsumoAcumulado"] : $this->getContext($context, "ConsumoAcumulado")) * 100 / (isset($context["TotalPlanMes"]) ? $context["TotalPlanMes"] : $this->getContext($context, "TotalPlanMes")), 1), "html", null, true);
         echo "</td>\n           </tr>\n           <tr>\n               <th>Resta por consumir:</th>\n               <td>";
         // line 78
         echo twig_escape_filter($this->env, (isset($context["TotalPlanMes"]) ? $context["TotalPlanMes"] : $this->getContext($context, "TotalPlanMes")) - (isset($context["ConsumoAcumulado"]) ? $context["ConsumoAcumulado"] : $this->getContext($context, "ConsumoAcumulado")), "html", null, true);
         echo "</td>\n           </tr>\n           <tr>\n               <th>Promedio diario de consumo:</th>\n               <td>";
         // line 82
         echo twig_escape_filter($this->env, twig_number_format_filter($this->env, (isset($context["ConsumoAcumulado"]) ? $context["ConsumoAcumulado"] : $this->getContext($context, "ConsumoAcumulado")) / (isset($context["CantidadDias"]) ? $context["CantidadDias"] : $this->getContext($context, "CantidadDias")), 2), "html", null, true);
         echo "</td>\n           </tr>\n       </table>\n\n\n";
     } else {
         // line 88
         echo "\n    <h1>No hay datos a mostrar</h1>\n\n\n";
     }
 }
 public function block_body($context, array $blocks = array())
 {
     $__internal_4a00d2416c107cb2f67949b0243fbcf534924bd367cfc08f30e1b62dee4a16f6 = $this->env->getExtension("native_profiler");
     $__internal_4a00d2416c107cb2f67949b0243fbcf534924bd367cfc08f30e1b62dee4a16f6->enter($__internal_4a00d2416c107cb2f67949b0243fbcf534924bd367cfc08f30e1b62dee4a16f6_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "body"));
     // line 3
     echo "    <!-- Two column content -->\n\n    ";
     // line 5
     $context["commands"] = $this->getAttribute($this->getAttribute(isset($context["app"]) ? $context["app"] : $this->getContext($context, "app"), "session", array()), "get", array(0 => "commands"), "method");
     // line 6
     echo "    <section class=\"container\">\n        <div class=\"row\">\n            <section class=\"col-md-12 col-lg-12\">\n                <!-- Shopping cart -->\n                <section class=\"content-box\">\n                    <div class=\"shopping_cart\">\n                        <h2 class=\"text-center\" style=\"margin-top: 10%\">Détail de votre commande</h2>\n                        <div class=\"box\">\n                            <!-- section section info 1 -->\n                            <section>\n                                <p>&nbsp;&nbsp;&nbsp;</p>\n                                <div class=\"col-sm-6 col-md-6 col-lg-6\">\n                                    <h5>";
     // line 18
     echo "informations commande";
     echo "</h5>\n                                    <div class=\"row blockquote\">\n                                        <div class=\"inside\">\n                                            <div>\n                                                <table class=\"table table-striped\">\n                                                    <tbody>\n                                                    <tr>\n                                                        <td></td>\n                                                        <td>";
     // line 26
     echo twig_escape_filter($this->env, twig_capitalize_string_filter($this->env, "numero commande"), "html", null, true);
     echo " </td>\n                                                        <td><strong>CMD - ";
     // line 27
     echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(isset($context["commands"]) ? $context["commands"] : $this->getContext($context, "commands"), "commands", array(), "array"), "reference", array(), "array"), "html", null, true);
     echo " </strong></td>\n                                                    </tr>\n                                                    <tr>\n                                                        <td></td>\n                                                        <td>";
     // line 31
     echo twig_escape_filter($this->env, twig_capitalize_string_filter($this->env, "status commande"), "html", null, true);
     echo " </td>\n                                                        <td><strong class=\"label label-danger\">";
     // line 32
     echo $this->getAttribute($this->getAttribute(isset($context["commands"]) ? $context["commands"] : $this->getContext($context, "commands"), "commands", array(), "array"), "statusLiv", array(), "array") == false ? "En cours" : "Finaliser";
     echo "</strong> </td>\n                                                    </tr>\n                                                    <tr>\n                                                        <td></td>\n                                                        <td>";
     // line 36
     echo twig_escape_filter($this->env, twig_capitalize_string_filter($this->env, "date commande"), "html", null, true);
     echo " </td>\n                                                        <td> <strong>";
     // line 37
     echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute($this->getAttribute(isset($context["commands"]) ? $context["commands"] : $this->getContext($context, "commands"), "commands", array(), "array"), "created", array(), "array"), "d-m-Y"), "html", null, true);
     echo "</strong></td>\n                                                    </tr>\n                                                    </tbody>\n                                                </table>\n                                            </div>\n                                        </div>\n                                    </div>\n                                </div>\n\n                                <div class=\"divider-md visible-xs\"></div>\n\n                                <div class=\"col-sm-6 col-md-6 col-lg-6\">\n                                    <h5>";
     // line 49
     echo "informations clients";
     echo "</h5>\n                                    <div class=\"row blockquote\">\n                                        <div class=\"inside\">\n                                            <div>\n                                                <table class=\"table table-striped\">\n                                                    <tbody>\n                                                    ";
     // line 55
     $context['_parent'] = $context;
     $context['_seq'] = twig_ensure_traversable($this->getAttribute($this->getAttribute(isset($context["commands"]) ? $context["commands"] : $this->getContext($context, "commands"), "commands", array(), "array"), "clients", array(), "array"));
     foreach ($context['_seq'] as $context["_key"] => $context["clients"]) {
         // line 56
         echo "                                                        <tr>\n                                                            <td></td>\n                                                            <td>";
         // line 58
         echo twig_escape_filter($this->env, twig_capitalize_string_filter($this->env, "nom client"), "html", null, true);
         echo " </td>\n                                                            <td><strong>";
         // line 59
         echo twig_escape_filter($this->env, twig_capitalize_string_filter($this->env, $this->getAttribute($context["clients"], "lastname", array())), "html", null, true);
         echo "</strong></td>\n                                                        </tr>\n                                                        <tr>\n                                                            <td></td>\n                                                            <td>";
         // line 63
         echo twig_escape_filter($this->env, twig_capitalize_string_filter($this->env, "email client"), "html", null, true);
         echo " </td>\n                                                            <td><strong>";
         // line 64
         echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($context["clients"], "user", array()), "email", array()), "html", null, true);
         echo "</strong></td>\n                                                        </tr>\n                                                        <tr>\n                                                            <td></td>\n                                                            <td>";
         // line 68
         echo "ID client";
         echo " </td>\n                                                            <td> <strong>the Bird</strong></td>\n                                                        </tr>\n                                                    ";
     }
     $_parent = $context['_parent'];
     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['clients'], $context['_parent'], $context['loop']);
     $context = array_intersect_key($context, $_parent) + $_parent;
     // line 72
     echo "                                                    </tbody>\n                                                </table>\n                                            </div>\n                                        </div>\n                                    </div>\n                                </div>\n                            </section>\n                            <!--section info 1 end-->\n                            <div class=\"clearfix\"></div>\n                            <!-- section section info 2 -->\n                            <section>\n                                <p>&nbsp;&nbsp;&nbsp;</p>\n                                <div class=\"col-sm-6 col-md-6 col-lg-6\">\n                                    <h5>";
     // line 85
     echo "informations livraison";
     echo "</h5>\n                                    <div class=\"row blockquote\">\n                                        <div class=\"inside\">\n                                            <div>\n                                                <table class=\"table table-striped\">\n                                                    <tbody>\n                                                    <tr>\n                                                        <td></td>\n                                                        <td>";
     // line 93
     echo twig_escape_filter($this->env, twig_capitalize_string_filter($this->env, "Pays"), "html", null, true);
     echo " </td>\n                                                        <td> <strong>";
     // line 94
     echo twig_escape_filter($this->env, twig_capitalize_string_filter($this->env, "Côte d'ivoire"), "html", null, true);
     echo "</strong></td>\n                                                    </tr>\n                                                    <tr>\n                                                        <td></td>\n                                                        <td>";
     // line 98
     echo twig_escape_filter($this->env, twig_capitalize_string_filter($this->env, "Ville"), "html", null, true);
     echo " </td>\n                                                        <td><strong>";
     // line 99
     echo twig_escape_filter($this->env, twig_capitalize_string_filter($this->env, "Abidjan"), "html", null, true);
     echo "</strong></td>\n                                                    </tr>\n                                                    <tr>\n                                                        <td></td>\n                                                        <td>";
     // line 103
     echo twig_escape_filter($this->env, twig_capitalize_string_filter($this->env, "Zip Code"), "html", null, true);
     echo " </td>\n                                                        <td> <strong>";
     // line 104
     echo "225";
     echo "</strong></td>\n                                                    </tr>\n                                                    ";
     // line 106
     $context['_parent'] = $context;
     $context['_seq'] = twig_ensure_traversable($this->getAttribute($this->getAttribute(isset($context["commands"]) ? $context["commands"] : $this->getContext($context, "commands"), "commands", array(), "array"), "clients", array(), "array"));
     foreach ($context['_seq'] as $context["_key"] => $context["clients"]) {
         // line 107
         echo "                                                    <tr>\n                                                        <td></td>\n                                                        <td>";
         // line 109
         echo twig_escape_filter($this->env, twig_capitalize_string_filter($this->env, "Téléphone"), "html", null, true);
         echo " </td>\n                                                        <td> <strong>";
         // line 110
         echo twig_escape_filter($this->env, $this->getAttribute($context["clients"], "phone", array()), "html", null, true);
         echo "</strong> </td>\n                                                    </tr>\n                                                    ";
     }
     $_parent = $context['_parent'];
     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['clients'], $context['_parent'], $context['loop']);
     $context = array_intersect_key($context, $_parent) + $_parent;
     // line 113
     echo "\n                                                    <tr>\n                                                        <td></td>\n                                                        <td>";
     // line 116
     echo twig_escape_filter($this->env, twig_capitalize_string_filter($this->env, "Status livraison"), "html", null, true);
     echo " </td>\n                                                        <td> <strong class=\"label label-danger\">";
     // line 117
     echo $this->getAttribute($this->getAttribute(isset($context["commands"]) ? $context["commands"] : $this->getContext($context, "commands"), "commands", array(), "array"), "statusLiv", array(), "array") == false ? "En cours" : "Finaliser";
     echo "</strong></td>\n                                                    </tr>\n                                                    </tbody>\n                                                </table>\n                                            </div>\n                                        </div>\n                                    </div>\n                                </div>\n\n                                <div class=\"divider-md visible-xs\"></div>\n\n                                <div class=\"col-sm-6 col-md-6 col-lg-6\">\n                                    <h5>";
     // line 129
     echo "informations facturation";
     echo "</h5>\n                                    <div class=\"row blockquote\">\n                                        <div class=\"inside\">\n                                            <div>\n                                                <table class=\"table table-striped\">\n                                                    <tbody>\n                                                    <tr>\n                                                        <td></td>\n                                                        <td>";
     // line 137
     echo twig_escape_filter($this->env, twig_capitalize_string_filter($this->env, "Pays"), "html", null, true);
     echo " </td>\n                                                        <td> <strong>";
     // line 138
     echo twig_escape_filter($this->env, twig_capitalize_string_filter($this->env, "Côte d'ivoire"), "html", null, true);
     echo "</strong></td>\n                                                    </tr>\n                                                    <tr>\n                                                        <td></td>\n                                                        <td>";
     // line 142
     echo twig_escape_filter($this->env, twig_capitalize_string_filter($this->env, "Ville"), "html", null, true);
     echo " </td>\n                                                        <td><strong>";
     // line 143
     echo twig_escape_filter($this->env, twig_capitalize_string_filter($this->env, "Abidjan"), "html", null, true);
     echo "</strong></td>\n                                                    </tr>\n                                                    <tr>\n                                                        <td></td>\n                                                        <td>";
     // line 147
     echo twig_escape_filter($this->env, twig_capitalize_string_filter($this->env, "Zip Code"), "html", null, true);
     echo " </td>\n                                                        <td> <strong>";
     // line 148
     echo "225";
     echo "</strong></td>\n                                                    </tr>\n                                                    ";
     // line 150
     $context['_parent'] = $context;
     $context['_seq'] = twig_ensure_traversable($this->getAttribute($this->getAttribute(isset($context["commands"]) ? $context["commands"] : $this->getContext($context, "commands"), "commands", array(), "array"), "clients", array(), "array"));
     foreach ($context['_seq'] as $context["_key"] => $context["clients"]) {
         // line 151
         echo "                                                        <tr>\n                                                            <td></td>\n                                                            <td>";
         // line 153
         echo twig_escape_filter($this->env, twig_capitalize_string_filter($this->env, "Téléphone"), "html", null, true);
         echo " </td>\n                                                            <td> <strong>";
         // line 154
         echo twig_escape_filter($this->env, $this->getAttribute($context["clients"], "phone", array()), "html", null, true);
         echo "</strong> </td>\n                                                        </tr>\n                                                    ";
     }
     $_parent = $context['_parent'];
     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['clients'], $context['_parent'], $context['loop']);
     $context = array_intersect_key($context, $_parent) + $_parent;
     // line 157
     echo "\n                                                    <tr>\n                                                        <td></td>\n                                                        <td>";
     // line 160
     echo twig_escape_filter($this->env, twig_capitalize_string_filter($this->env, "Status livraison"), "html", null, true);
     echo " </td>\n                                                        <td> <strong class=\"label label-danger\">";
     // line 161
     echo $this->getAttribute($this->getAttribute(isset($context["commands"]) ? $context["commands"] : $this->getContext($context, "commands"), "commands", array(), "array"), "statusLiv", array(), "array") == false ? "En cours" : "Finaliser";
     echo "</strong></td>\n                                                    </tr>\n                                                    </tbody>\n                                                </table>\n                                            </div>\n                                        </div>\n                                    </div>\n                                </div>\n                            </section>\n                            <!--section info 2 end-->\n                            <div class=\"clearfix\"></div>\n                            <p>&nbsp;&nbsp;&nbsp;</p>\n                            <h3>";
     // line 173
     echo twig_escape_filter($this->env, twig_upper_filter($this->env, "Détail de votre commande"), "html", null, true);
     echo "</h3>\n                            <table>\n                                <thead>\n                                <tr class=\"hidden-xs\">\n                                    <th></th>\n                                    <th></th>\n                                    <th>Nom</th>\n                                    <th>Prix</th>\n                                    <th>Quantité</th>\n                                    <th>Total</th>\n                                </tr>\n                                </thead>\n                                <tbody>\n                                    ";
     // line 186
     $context['_parent'] = $context;
     $context['_seq'] = twig_ensure_traversable(isset($context["prods"]) ? $context["prods"] : $this->getContext($context, "prods"));
     foreach ($context['_seq'] as $context["_key"] => $context["prod"]) {
         // line 187
         echo "                                        ";
         $context['_parent'] = $context;
         $context['_seq'] = twig_ensure_traversable($this->getAttribute($context["prod"], "produitscommandes", array()));
         foreach ($context['_seq'] as $context["_key"] => $context["prodcmd"]) {
             // line 188
             echo "                                            ";
             $context["price"] = $this->getAttribute($context["prodcmd"], "pricePu", array()) * $this->getAttribute($context["prodcmd"], "qte", array());
             // line 189
             echo "                                            <tr>\n                                                <td></td>\n                                                <td></td>\n                                                <td>";
             // line 192
             echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($context["prodcmd"], "products", array()), "name", array()), "html", null, true);
             echo "</td>\n                                                <td>";
             // line 193
             echo twig_escape_filter($this->env, twig_number_format_filter($this->env, $this->getAttribute($context["prodcmd"], "pricePu", array()), 0, ",", "."), "html", null, true);
             echo " FCFA</td>\n                                                <td>";
             // line 194
             echo twig_escape_filter($this->env, $this->getAttribute($context["prodcmd"], "qte", array()), "html", null, true);
             echo "</td>\n                                                <td>";
             // line 195
             echo twig_escape_filter($this->env, twig_number_format_filter($this->env, isset($context["price"]) ? $context["price"] : $this->getContext($context, "price"), 0, ",", "."), "html", null, true);
             echo " FCFA</td>\n                                            </tr>\n                                        ";
         }
         $_parent = $context['_parent'];
         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['prodcmd'], $context['_parent'], $context['loop']);
         $context = array_intersect_key($context, $_parent) + $_parent;
         // line 198
         echo "                                    ";
     }
     $_parent = $context['_parent'];
     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['prod'], $context['_parent'], $context['loop']);
     $context = array_intersect_key($context, $_parent) + $_parent;
     // line 199
     echo "                                </tbody>\n                            </table>\n                            <div class=\"clearfix\"></div>\n                            <div class=\"col-sm-6 col-md-6 col-lg-6 col-sm-offset-6\">\n                                <h3>";
     // line 203
     echo "RÉCAPITULATIF";
     echo "</h3>\n                                <div class=\"row blockquote\">\n                                    <div class=\"inside\">\n                                        <p>&nbsp;&nbsp;&nbsp;&nbsp;</p>\n                                        <div class=\"col-sm-12 col-md-12 col-lg-12\">\n                                            <h4>";
     // line 208
     echo twig_escape_filter($this->env, twig_capitalize_string_filter($this->env, "Frais de livraison estimés"), "html", null, true);
     echo "</h4>\n                                            <small>Frais de livraison gratuit à partie de 15 000 FCFA d'achat (*)</small>\n                                        </div>\n                                        <p>&nbsp;&nbsp;</p>\n                                        <hr>\n                                        <div class=\"col-sm-12 col-md-12 col-lg-12\">\n                                            <h2>";
     // line 214
     echo twig_escape_filter($this->env, twig_upper_filter($this->env, "TOTAL TTC"), "html", null, true);
     echo "\n                                                <strong class=\"pull-right\">\n                                                    ";
     // line 216
     echo twig_escape_filter($this->env, twig_number_format_filter($this->env, $this->getAttribute($this->getAttribute(isset($context["commands"]) ? $context["commands"] : $this->getContext($context, "commands"), "commands", array(), "array"), "priceHT", array(), "array"), 0, ",", "."), "html", null, true);
     echo " FCFA\n                                                </strong>\n                                            </h2>\n                                        </div>\n                                        <div>\n                                        <a href=\"";
     // line 221
     echo $this->env->getExtension('routing')->getPath("labs_front_homepage");
     echo "\" class=\"btn btn-mega\">";
     echo twig_escape_filter($this->env, twig_upper_filter($this->env, "Retour à la page d'accueil"), "html", null, true);
     echo "</a>                                        </div>\n                                        <div class=\"clearfix\"></div>\n                                    </div>\n                                </div>\n                            </div>\n                            <div class=\"clearfix\"></div>\n                        </div>\n                    </div>\n                </section>\n\n                <!-- //end Shopping cart -->\n\n            </section>\n            <!--  <section class=\"col-md-6 col-lg-6 shopping_cart-aside\">\n\n                  <!-- Coupon -->\n            <!-- <section class=\"container-widget\">\n                 <h3>Coupon</h3>\n                 <form role=\"form\">\n                     <div class=\"form-group\">\n                         <label for=\"coupon\">Enter your coupon code if you have one</label>\n                         <input type=\"email\" class=\"form-control input-sm\" id=\"coupon\">\n                     </div>\n                     <button type=\"submit\" class=\"btn btn-mega\">Apply Coupon</button>\n                 </form>\n             </section> -->\n            <!-- //end Coupon -->\n\n            <!--  </section> -->\n            <!-- <section class=\"col-md-6 col-lg-6 shopping_cart-aside\">\n\n                 <!-- Estimate shipping -->\n            <!-- <section class=\"container-widget\">\n                 <h3>ESTIMATE SHIPPING AND TAX</h3>\n                 <form role=\"form\">\n                     <div class=\"form-label\">Enter your destination to get a shipping estimate.</div>\n                     <div class=\"form-group-sm btn-select btn-select-xl btn-select-wide\"> <a href=\"#\" class=\"btn btn-default dropdown-toggle\" type=\"button\" data-toggle=\"dropdown\"> <span class=\"value\">United States</span> <span class=\"caret min\"></span> </a>\n                         <ul class=\"dropdown-menu\">\n                             <li><a href=\"#\">United States</a></li>\n                             <li><a href=\"#\">United States</a></li>\n                             <li><a href=\"#\">United States</a></li>\n                         </ul>\n                     </div>\n                     <div class=\"form-group-sm btn-select btn-select-xl btn-select-wide\"> <a href=\"#\" class=\"btn btn-default dropdown-toggle\" type=\"button\" data-toggle=\"dropdown\"> <span class=\"value\">State/Province</span> <span class=\"caret min\"></span> </a>\n                         <ul class=\"dropdown-menu\">\n                             <li><a href=\"#\">United States</a></li>\n                             <li><a href=\"#\">United States</a></li>\n                             <li><a href=\"#\">United States</a></li>\n                         </ul>\n                     </div>\n                     <div class=\"form-group\">\n                         <input type=\"text\" class=\"form-control input-sm\"  value=\"Zip/Postal Code\" onblur=\"if (this.value == '') {this.value = 'Zip/Postal Code';}\" onfocus=\"if(this.value == 'Zip/Postal Code') {this.value = '';}\">\n                     </div>\n                     <button type=\"submit\" class=\"btn btn-mega\">GET A QUOTE</button>\n                 </form>\n             </section> -->\n            <!-- //end Estimate shipping -->\n\n            <!--</section> -->\n        </div>\n    </section>\n    <!-- //end Two columns content -->\n\n\n";
     $__internal_4a00d2416c107cb2f67949b0243fbcf534924bd367cfc08f30e1b62dee4a16f6->leave($__internal_4a00d2416c107cb2f67949b0243fbcf534924bd367cfc08f30e1b62dee4a16f6_prof);
 }
 protected function doDisplay(array $context, array $blocks = array())
 {
     // line 1
     echo "\n";
     // line 2
     if (twig_length_filter($this->env, isset($context["Listado"]) ? $context["Listado"] : $this->getContext($context, "Listado")) > 0) {
         // line 3
         echo "            ";
         $context["NombreProvincia"] = "";
         // line 4
         echo "             ";
         $context["NombreEntidad"] = "";
         // line 5
         echo "        <h1>Organismo:";
         echo twig_escape_filter($this->env, isset($context["organismo"]) ? $context["organismo"] : $this->getContext($context, "organismo"), "html", null, true);
         echo "</h1>\n        <br>\n        <h1>Consumo acumulado general</h1>\n        <br>\n        <table class=\"table table-bordered table-hover table-striped\">\n\n            ";
         // line 11
         $context['_parent'] = (array) $context;
         $context['_seq'] = twig_ensure_traversable(isset($context["Listado"]) ? $context["Listado"] : $this->getContext($context, "Listado"));
         foreach ($context['_seq'] as $context["_key"] => $context["e"]) {
             // line 12
             echo "\n                ";
             // line 13
             if ((isset($context["NombreProvincia"]) ? $context["NombreProvincia"] : $this->getContext($context, "NombreProvincia")) != $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "nombProvincia", array(), "array")) {
                 // line 14
                 echo "\n                    <tr>\n                        <th colspan=\"34\">";
                 // line 16
                 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "nombProvincia", array(), "array"), "html", null, true);
                 echo "</th>\n                    </tr>\n\n                ";
             }
             // line 20
             echo "                ";
             if ((isset($context["NombreEntidad"]) ? $context["NombreEntidad"] : $this->getContext($context, "NombreEntidad")) != $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "NombEntidad", array(), "array")) {
                 // line 21
                 echo "                    <tr>\n                        <th colspan=\"34\">";
                 // line 22
                 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "NombEntidad", array(), "array"), "html", null, true);
                 echo "</th>\n                    </tr>\n                    <tr>\n                        <th>Código CEE</th>\n                        <th>CRF</th>\n                        <th>Nombre del Servicio</th>\n                        <th>Dia 1</th>\n                        <th>Dia 2</th>\n                        <th>Dia 3</th>\n                        <th>Dia 4</th>\n                        <th>Dia 5</th>\n                        <th>Dia 6</th>\n                        <th>Dia 7</th>\n                        <th>Dia 8</th>\n                        <th>Dia 9</th>\n                        <th>Dia 10</th>\n                        <th>Dia 11</th>\n                        <th>Dia 12</th>\n                        <th>Dia 13</th>\n                        <th>Dia 14</th>\n                        <th>Dia 15</th>\n                        <th>Dia 16</th>\n                        <th>Dia 17</th>\n                        <th>Dia 18</th>\n                        <th>Dia 19</th>\n                        <th>Dia 20</th>\n                        <th>Dia 21</th>\n                        <th>Dia 22</th>\n                        <th>Dia 23</th>\n                        <th>Dia 24</th>\n                        <th>Dia 25</th>\n                        <th>Dia 26</th>\n                        <th>Dia 27</th>\n                        <th>Dia 28</th>\n                        <th>Dia 29</th>\n                        <th>Dia 30</th>\n                        <th>Dia 31</th>\n                    </tr>\n                ";
             }
             // line 61
             echo "\n                <tr>\n                    <td>";
             // line 63
             echo twig_escape_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "codcliente_EE", array(), "array"), "html", null, true);
             echo "</td>\n                    <td>";
             // line 64
             echo twig_escape_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "codRF", array(), "array"), "html", null, true);
             echo "</td>\n                    <td>";
             // line 65
             echo twig_escape_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "nombServicio", array(), "array"), "html", null, true);
             echo "</td>\n                    <td>";
             // line 66
             echo twig_escape_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "1", array(), "array"), "html", null, true);
             echo "</td>\n                    <td>";
             // line 67
             echo twig_escape_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "2", array(), "array"), "html", null, true);
             echo "</td>\n                    <td>";
             // line 68
             echo twig_escape_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "3", array(), "array"), "html", null, true);
             echo "</td>\n                    <td>";
             // line 69
             echo twig_escape_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "4", array(), "array"), "html", null, true);
             echo "</td>\n                    <td>";
             // line 70
             echo twig_escape_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "5", array(), "array"), "html", null, true);
             echo "</td>\n                    <td>";
             // line 71
             echo twig_escape_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "6", array(), "array"), "html", null, true);
             echo "</td>\n                    <td>";
             // line 72
             echo twig_escape_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "7", array(), "array"), "html", null, true);
             echo "</td>\n                    <td>";
             // line 73
             echo twig_escape_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "8", array(), "array"), "html", null, true);
             echo "</td>\n                    <td>";
             // line 74
             echo twig_escape_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "9", array(), "array"), "html", null, true);
             echo "</td>\n                    <td>";
             // line 75
             echo twig_escape_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "10", array(), "array"), "html", null, true);
             echo "</td>\n                    <td>";
             // line 76
             echo twig_escape_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "11", array(), "array"), "html", null, true);
             echo "</td>\n                    <td>";
             // line 77
             echo twig_escape_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "12", array(), "array"), "html", null, true);
             echo "</td>\n                    <td>";
             // line 78
             echo twig_escape_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "13", array(), "array"), "html", null, true);
             echo "</td>\n                    <td>";
             // line 79
             echo twig_escape_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "14", array(), "array"), "html", null, true);
             echo "</td>\n                    <td>";
             // line 80
             echo twig_escape_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "15", array(), "array"), "html", null, true);
             echo "</td>\n                    <td>";
             // line 81
             echo twig_escape_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "16", array(), "array"), "html", null, true);
             echo "</td>\n                    <td>";
             // line 82
             echo twig_escape_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "17", array(), "array"), "html", null, true);
             echo "</td>\n                    <td>";
             // line 83
             echo twig_escape_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "18", array(), "array"), "html", null, true);
             echo "</td>\n                    <td>";
             // line 84
             echo twig_escape_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "19", array(), "array"), "html", null, true);
             echo "</td>\n                    <td>";
             // line 85
             echo twig_escape_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "20", array(), "array"), "html", null, true);
             echo "</td>\n                    <td>";
             // line 86
             echo twig_escape_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "21", array(), "array"), "html", null, true);
             echo "</td>\n                    <td>";
             // line 87
             echo twig_escape_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "22", array(), "array"), "html", null, true);
             echo "</td>\n                    <td>";
             // line 88
             echo twig_escape_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "23", array(), "array"), "html", null, true);
             echo "</td>\n                    <td>";
             // line 89
             echo twig_escape_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "24", array(), "array"), "html", null, true);
             echo "</td>\n                    <td>";
             // line 90
             echo twig_escape_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "25", array(), "array"), "html", null, true);
             echo "</td>\n                    <td>";
             // line 91
             echo twig_escape_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "26", array(), "array"), "html", null, true);
             echo "</td>\n                    <td>";
             // line 92
             echo twig_escape_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "27", array(), "array"), "html", null, true);
             echo "</td>\n                    <td>";
             // line 93
             echo twig_escape_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "28", array(), "array"), "html", null, true);
             echo "</td>\n                    <td>";
             // line 94
             echo twig_escape_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "29", array(), "array"), "html", null, true);
             echo "</td>\n                    <td>";
             // line 95
             echo twig_escape_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "30", array(), "array"), "html", null, true);
             echo "</td>\n                    <td>";
             // line 96
             echo twig_escape_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "31", array(), "array"), "html", null, true);
             echo "</td>\n                </tr>\n                <tr class=\"text-success\">\n                    <td colspan=\"3\">Resta por consumir</td>\n\n                    <td>";
             // line 101
             echo twig_escape_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "plan", array(), "array") - $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "1", array(), "array"), "html", null, true);
             echo "</td>\n                    <td>";
             // line 102
             echo twig_escape_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "plan", array(), "array") - $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "2", array(), "array"), "html", null, true);
             echo "</td>\n                    <td>";
             // line 103
             echo twig_escape_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "plan", array(), "array") - $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "3", array(), "array"), "html", null, true);
             echo "</td>\n                    <td>";
             // line 104
             echo twig_escape_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "plan", array(), "array") - $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "4", array(), "array"), "html", null, true);
             echo "</td>\n                    <td>";
             // line 105
             echo twig_escape_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "plan", array(), "array") - $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "5", array(), "array"), "html", null, true);
             echo "</td>\n                    <td>";
             // line 106
             echo twig_escape_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "plan", array(), "array") - $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "6", array(), "array"), "html", null, true);
             echo "</td>\n                    <td>";
             // line 107
             echo twig_escape_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "plan", array(), "array") - $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "7", array(), "array"), "html", null, true);
             echo "</td>\n                    <td>";
             // line 108
             echo twig_escape_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "plan", array(), "array") - $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "8", array(), "array"), "html", null, true);
             echo "</td>\n                    <td>";
             // line 109
             echo twig_escape_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "plan", array(), "array") - $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "9", array(), "array"), "html", null, true);
             echo "</td>\n                    <td>";
             // line 110
             echo twig_escape_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "plan", array(), "array") - $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "10", array(), "array"), "html", null, true);
             echo "</td>\n                    <td>";
             // line 111
             echo twig_escape_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "plan", array(), "array") - $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "11", array(), "array"), "html", null, true);
             echo "</td>\n                    <td>";
             // line 112
             echo twig_escape_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "plan", array(), "array") - $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "12", array(), "array"), "html", null, true);
             echo "</td>\n                    <td>";
             // line 113
             echo twig_escape_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "plan", array(), "array") - $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "13", array(), "array"), "html", null, true);
             echo "</td>\n                    <td>";
             // line 114
             echo twig_escape_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "plan", array(), "array") - $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "14", array(), "array"), "html", null, true);
             echo "</td>\n                    <td>";
             // line 115
             echo twig_escape_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "plan", array(), "array") - $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "15", array(), "array"), "html", null, true);
             echo "</td>\n                    <td>";
             // line 116
             echo twig_escape_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "plan", array(), "array") - $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "16", array(), "array"), "html", null, true);
             echo "</td>\n                    <td>";
             // line 117
             echo twig_escape_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "plan", array(), "array") - $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "17", array(), "array"), "html", null, true);
             echo "</td>\n                    <td>";
             // line 118
             echo twig_escape_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "plan", array(), "array") - $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "18", array(), "array"), "html", null, true);
             echo "</td>\n                    <td>";
             // line 119
             echo twig_escape_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "plan", array(), "array") - $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "19", array(), "array"), "html", null, true);
             echo "</td>\n                    <td>";
             // line 120
             echo twig_escape_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "plan", array(), "array") - $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "20", array(), "array"), "html", null, true);
             echo "</td>\n                    <td>";
             // line 121
             echo twig_escape_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "plan", array(), "array") - $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "21", array(), "array"), "html", null, true);
             echo "</td>\n                    <td>";
             // line 122
             echo twig_escape_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "plan", array(), "array") - $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "22", array(), "array"), "html", null, true);
             echo "</td>\n                    <td>";
             // line 123
             echo twig_escape_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "plan", array(), "array") - $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "23", array(), "array"), "html", null, true);
             echo "</td>\n                    <td>";
             // line 124
             echo twig_escape_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "plan", array(), "array") - $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "24", array(), "array"), "html", null, true);
             echo "</td>\n                    <td>";
             // line 125
             echo twig_escape_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "plan", array(), "array") - $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "25", array(), "array"), "html", null, true);
             echo "</td>\n                    <td>";
             // line 126
             echo twig_escape_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "plan", array(), "array") - $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "26", array(), "array"), "html", null, true);
             echo "</td>\n                    <td>";
             // line 127
             echo twig_escape_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "plan", array(), "array") - $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "27", array(), "array"), "html", null, true);
             echo "</td>\n                    <td>";
             // line 128
             echo twig_escape_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "plan", array(), "array") - $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "28", array(), "array"), "html", null, true);
             echo "</td>\n                    <td>";
             // line 129
             echo twig_escape_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "plan", array(), "array") - $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "29", array(), "array"), "html", null, true);
             echo "</td>\n                    <td>";
             // line 130
             echo twig_escape_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "plan", array(), "array") - $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "30", array(), "array"), "html", null, true);
             echo "</td>\n                    <td>";
             // line 131
             echo twig_escape_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "plan", array(), "array") - $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "31", array(), "array"), "html", null, true);
             echo "</td>\n                </tr>\n                <tr class=\"text-success\">\n                    <td colspan=\"3\">Porciento consumido con respecto al plan</td>\n\n                    <td>";
             // line 136
             echo twig_escape_filter($this->env, twig_number_format_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "1", array(), "array") * 100 / $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "plan", array(), "array"), 1), "html", null, true);
             echo "</td>\n                    <td>";
             // line 137
             echo twig_escape_filter($this->env, twig_number_format_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "2", array(), "array") * 100 / $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "plan", array(), "array"), 1), "html", null, true);
             echo "</td>\n                    <td>";
             // line 138
             echo twig_escape_filter($this->env, twig_number_format_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "3", array(), "array") * 100 / $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "plan", array(), "array"), 1), "html", null, true);
             echo "</td>\n                    <td>";
             // line 139
             echo twig_escape_filter($this->env, twig_number_format_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "4", array(), "array") * 100 / $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "plan", array(), "array"), 1), "html", null, true);
             echo "</td>\n                    <td>";
             // line 140
             echo twig_escape_filter($this->env, twig_number_format_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "5", array(), "array") * 100 / $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "plan", array(), "array"), 1), "html", null, true);
             echo "</td>\n                    <td>";
             // line 141
             echo twig_escape_filter($this->env, twig_number_format_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "6", array(), "array") * 100 / $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "plan", array(), "array"), 1), "html", null, true);
             echo "</td>\n                    <td>";
             // line 142
             echo twig_escape_filter($this->env, twig_number_format_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "7", array(), "array") * 100 / $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "plan", array(), "array"), 1), "html", null, true);
             echo "</td>\n                    <td>";
             // line 143
             echo twig_escape_filter($this->env, twig_number_format_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "8", array(), "array") * 100 / $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "plan", array(), "array"), 1), "html", null, true);
             echo "</td>\n                    <td>";
             // line 144
             echo twig_escape_filter($this->env, twig_number_format_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "9", array(), "array") * 100 / $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "plan", array(), "array"), 1), "html", null, true);
             echo "</td>\n                    <td>";
             // line 145
             echo twig_escape_filter($this->env, twig_number_format_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "10", array(), "array") * 100 / $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "plan", array(), "array"), 1), "html", null, true);
             echo "</td>\n                    <td>";
             // line 146
             echo twig_escape_filter($this->env, twig_number_format_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "11", array(), "array") * 100 / $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "plan", array(), "array"), 1), "html", null, true);
             echo "</td>\n                    <td>";
             // line 147
             echo twig_escape_filter($this->env, twig_number_format_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "12", array(), "array") * 100 / $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "plan", array(), "array"), 1), "html", null, true);
             echo "</td>\n                    <td>";
             // line 148
             echo twig_escape_filter($this->env, twig_number_format_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "13", array(), "array") * 100 / $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "plan", array(), "array"), 1), "html", null, true);
             echo "</td>\n                    <td>";
             // line 149
             echo twig_escape_filter($this->env, twig_number_format_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "14", array(), "array") * 100 / $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "plan", array(), "array"), 1), "html", null, true);
             echo "</td>\n                    <td>";
             // line 150
             echo twig_escape_filter($this->env, twig_number_format_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "15", array(), "array") * 100 / $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "plan", array(), "array"), 1), "html", null, true);
             echo "</td>\n                    <td>";
             // line 151
             echo twig_escape_filter($this->env, twig_number_format_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "16", array(), "array") * 100 / $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "plan", array(), "array"), 1), "html", null, true);
             echo "</td>\n                    <td>";
             // line 152
             echo twig_escape_filter($this->env, twig_number_format_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "17", array(), "array") * 100 / $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "plan", array(), "array"), 1), "html", null, true);
             echo "</td>\n                    <td>";
             // line 153
             echo twig_escape_filter($this->env, twig_number_format_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "18", array(), "array") * 100 / $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "plan", array(), "array"), 1), "html", null, true);
             echo "</td>\n                    <td>";
             // line 154
             echo twig_escape_filter($this->env, twig_number_format_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "19", array(), "array") * 100 / $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "plan", array(), "array"), 1), "html", null, true);
             echo "</td>\n                    <td>";
             // line 155
             echo twig_escape_filter($this->env, twig_number_format_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "20", array(), "array") * 100 / $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "plan", array(), "array"), 1), "html", null, true);
             echo "</td>\n                    <td>";
             // line 156
             echo twig_escape_filter($this->env, twig_number_format_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "21", array(), "array") * 100 / $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "plan", array(), "array"), 1), "html", null, true);
             echo "</td>\n                    <td>";
             // line 157
             echo twig_escape_filter($this->env, twig_number_format_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "22", array(), "array") * 100 / $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "plan", array(), "array"), 1), "html", null, true);
             echo "</td>\n                    <td>";
             // line 158
             echo twig_escape_filter($this->env, twig_number_format_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "23", array(), "array") * 100 / $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "plan", array(), "array"), 1), "html", null, true);
             echo "</td>\n                    <td>";
             // line 159
             echo twig_escape_filter($this->env, twig_number_format_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "24", array(), "array") * 100 / $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "plan", array(), "array"), 1), "html", null, true);
             echo "</td>\n                    <td>";
             // line 160
             echo twig_escape_filter($this->env, twig_number_format_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "25", array(), "array") * 100 / $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "plan", array(), "array"), 1), "html", null, true);
             echo "</td>\n                    <td>";
             // line 161
             echo twig_escape_filter($this->env, twig_number_format_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "26", array(), "array") * 100 / $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "plan", array(), "array"), 1), "html", null, true);
             echo "</td>\n                    <td>";
             // line 162
             echo twig_escape_filter($this->env, twig_number_format_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "27", array(), "array") * 100 / $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "plan", array(), "array"), 1), "html", null, true);
             echo "</td>\n                    <td>";
             // line 163
             echo twig_escape_filter($this->env, twig_number_format_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "28", array(), "array") * 100 / $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "plan", array(), "array"), 1), "html", null, true);
             echo "</td>\n                    <td>";
             // line 164
             echo twig_escape_filter($this->env, twig_number_format_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "29", array(), "array") * 100 / $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "plan", array(), "array"), 1), "html", null, true);
             echo "</td>\n                    <td>";
             // line 165
             echo twig_escape_filter($this->env, twig_number_format_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "30", array(), "array") * 100 / $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "plan", array(), "array"), 1), "html", null, true);
             echo "</td>\n                    <td>";
             // line 166
             echo twig_escape_filter($this->env, twig_number_format_filter($this->env, $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "31", array(), "array") * 100 / $this->getAttribute(isset($context["e"]) ? $context["e"] : $this->getContext($context, "e"), "plan", array(), "array"), 1), "html", null, true);
             echo "</td>\n                </tr>\n\n\n            ";
         }
         $_parent = $context['_parent'];
         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['e'], $context['_parent'], $context['loop']);
         $context = array_intersect_key($context, $_parent) + $_parent;
         // line 171
         echo "\n\n        </table>\n";
     } else {
         // line 175
         echo "\n    <h1>No hay datos a mostrar</h1>\n\n\n";
     }
 }
 public function block_body($context, array $blocks = array())
 {
     $__internal_7af560847870da6688dd184761904836910772d5c27d565084e09e9901f22c40 = $this->env->getExtension("native_profiler");
     $__internal_7af560847870da6688dd184761904836910772d5c27d565084e09e9901f22c40->enter($__internal_7af560847870da6688dd184761904836910772d5c27d565084e09e9901f22c40_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "body"));
     // line 4
     echo "    <!-- Two columns content -->\n    <section class=\"container content\">\n        <div class=\"row\">\n            <!-- Right column -->\n            <section class=\"col-sm-12 col-md-12 col-lg-12\">\n                <!-- section ajout d'adresse -->\n                <section>\n                    <div class=\"col-sm-11 col-md-11 col-lg-11\">\n                        <h3>";
     // line 12
     echo "Ajouter une nouvelle adresse";
     echo "</h3>\n                        <div class=\"row blockquote\">\n                            <div class=\"inside\">\n                                <!-- column part two -->\n                                <form action=\"";
     // line 16
     echo $this->env->getExtension('routing')->getPath("command_order_pre_validate");
     echo "\" ";
     echo $this->env->getExtension('form')->renderer->searchAndRenderBlock(isset($context["form"]) ? $context["form"] : $this->getContext($context, "form"), 'enctype');
     echo " method=\"POST\" class=\"adresse_create\">\n                                    <section style=\"min-height: 276px;\">\n                                        <div id=\"account_create\" class=\"col-sm-8 col-md-8 col-lg-8\">\n                                            <div class=\"form-group col-xs-12\">\n                                                <label for=\"firstname\"><strong>Ville (*)</strong></label>\n                                                ";
     // line 21
     echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute(isset($context["form"]) ? $context["form"] : $this->getContext($context, "form"), "city", array()), 'widget', array("attr" => array("class" => "form-control wform", "label" => false)));
     echo "\n                                                ";
     // line 22
     echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute(isset($context["form"]) ? $context["form"] : $this->getContext($context, "form"), "city", array()), 'errors');
     echo "\n                                            </div>\n                                            <div class=\"clearfix\"></div>\n                                            <div class=\"form-group col-xs-12\">\n                                                <label for=\"lastname\"><strong>Adresse (*)</strong></label>\n                                                ";
     // line 27
     echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute(isset($context["form"]) ? $context["form"] : $this->getContext($context, "form"), "adresse", array()), 'widget', array("attr" => array("class" => "form-control wform ", "label" => false, "placeholder" => "Mon adresse", "rows" => 3)));
     echo "\n                                                ";
     // line 28
     echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute(isset($context["form"]) ? $context["form"] : $this->getContext($context, "form"), "adresse", array()), 'errors');
     echo "\n                                            </div>\n                                            ";
     // line 30
     echo $this->env->getExtension('form')->renderer->searchAndRenderBlock(isset($context["form"]) ? $context["form"] : $this->getContext($context, "form"), 'rest');
     echo "\n                                            <div class=\"clearfix\"></div>\n                                            <div class=\"form-group col-sm-offset-7\">\n                                                <input type=\"submit\" value=\"";
     // line 33
     echo "Ajouter une adresse";
     echo "\" class=\"btn btn-mega\" />\n                                            </div>\n                                        </div>\n                                        <div class=\"col-sm-4 col-md-4 col-lg-4\">\n                                            <ul class=\"styled-list arrow\">\n                                                <li><strong> Ajouter une nouvelle adresse de livraison </strong></li>\n                                                <li><strong> Les livraisons sur Abidjan sont gratuite à partie de 15 000 FCFA </strong></li>\n                                            </ul>\n                                        </div>\n                                    </section>\n                                </form>\n                                <!-- //end Two columns content -->\n                            </div>\n                        </div>\n                    </div>\n                </section>\n                <!-- fin  section ajout d'adresse -->\n                <div class=\"clearfix\"></div>\n                <p>&nbsp;&nbsp;</p>\n                <!-- section affichage panier -->\n                <section>\n                    <div class=\"col-sm-11 col-md-11 col-lg-11\">\n                        <h3>";
     // line 55
     echo "Mon panier";
     echo "</h3>\n                        <div class=\"row blockquote\">\n                            <div class=\"inside\">\n                                <div>\n                                    <section class=\"content-box\">\n                                        <div class=\"shopping_cart\">\n                                            <div class=\"box\">\n                                                <table>\n                                                    <thead>\n                                                    <tr class=\"hidden-xs\">\n                                                        <th></th>\n                                                        <th></th>\n                                                        <th>Nom</th>\n                                                        <th>Prix</th>\n                                                        <th>Quantité</th>\n                                                        <th>Total</th>\n                                                    </tr>\n                                                    </thead>\n                                                    <tbody>\n                                                    ";
     // line 74
     $context['_parent'] = $context;
     $context['_seq'] = twig_ensure_traversable(isset($context["products"]) ? $context["products"] : $this->getContext($context, "products"));
     foreach ($context['_seq'] as $context["_key"] => $context["prod"]) {
         // line 75
         echo "                                                        ";
         $context["valeur"] = $this->getAttribute($this->getAttribute(isset($context["app"]) ? $context["app"] : $this->getContext($context, "app"), "session", array()), "get", array(0 => "carts"), "method");
         // line 76
         echo "                                                        ";
         $context["val"] = $this->getAttribute(isset($context["valeur"]) ? $context["valeur"] : $this->getContext($context, "valeur"), $this->getAttribute($context["prod"], "id", array()), array(), "array");
         // line 77
         echo "                                                        <tr>\n                                                            <td><a href=\"";
         // line 78
         echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("cart_delete", array("id" => $this->getAttribute($context["prod"], "id", array()))), "html", null, true);
         echo "\" class=\"remove-button hidden-xs\">\n                                                                    <span class=\"icon-cancel-2 \"></span>\n                                                                </a>\n                                                            </td>\n                                                            <td>\n                                                                <a href=\"";
         // line 83
         echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("cart_delete", array("id" => $this->getAttribute($context["prod"], "id", array()))), "html", null, true);
         echo "\" class=\"remove-button visible-xs\">\n                                                                    <span class=\"icon-cancel-2 \"></span>\n                                                                </a>\n                                                                <a href=\"";
         // line 86
         echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("labs_front_produits", array("id" => $this->getAttribute($context["prod"], "id", array()), "slug" => $this->getAttribute($context["prod"], "slug", array()))), "html", null, true);
         echo "\">\n                                                                    ";
         // line 87
         $context['_parent'] = $context;
         $context['_seq'] = twig_ensure_traversable($this->getAttribute($context["prod"], "medias", array()));
         foreach ($context['_seq'] as $context["_key"] => $context["media"]) {
             // line 88
             echo "                                                                        <img class=\"preview\" src=\"";
             echo twig_escape_filter($this->env, $this->env->getExtension('liip_imagine')->filter($this->getAttribute($context["media"], "AssertPath", array()), "my_thumb_front_img_best_img"), "html", null, true);
             echo "\">\n                                                                    ";
         }
         $_parent = $context['_parent'];
         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['media'], $context['_parent'], $context['loop']);
         $context = array_intersect_key($context, $_parent) + $_parent;
         // line 90
         echo "                                                                </a>\n                                                            </td>\n                                                            <td><span class=\"td-name visible-xs\">Nom</span>\n                                                                <a href=\"";
         // line 93
         echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("labs_front_produits", array("id" => $this->getAttribute($context["prod"], "id", array()), "slug" => $this->getAttribute($context["prod"], "slug", array()))), "html", null, true);
         echo "\">";
         echo twig_escape_filter($this->env, $this->getAttribute($context["prod"], "name", array()), "html", null, true);
         echo "</a>\n                                                            </td>\n                                                            <td>\n                                                                ";
         // line 96
         $context["percents"] = 0;
         // line 97
         echo "                                                                ";
         $context['_parent'] = $context;
         $context['_seq'] = twig_ensure_traversable($this->getAttribute($context["prod"], "promotions", array()));
         foreach ($context['_seq'] as $context["_key"] => $context["promo"]) {
             // line 98
             echo "                                                                    ";
             $context["percents"] = $this->getAttribute($context["promo"], "percent", array());
             // line 99
             echo "                                                                ";
         }
         $_parent = $context['_parent'];
         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['promo'], $context['_parent'], $context['loop']);
         $context = array_intersect_key($context, $_parent) + $_parent;
         // line 100
         echo "                                                                <span class=\"td-name visible-xs\">Prix</span>\n                                                                ";
         // line 101
         if ($this->getAttribute($context["prod"], "promostatusprod", array())) {
             // line 102
             echo "                                                                    ";
             $context["price"] = $this->getAttribute($context["prod"], "PriceStandard", array()) - $this->getAttribute($context["prod"], "PriceStandard", array()) * ((isset($context["percents"]) ? $context["percents"] : $this->getContext($context, "percents")) / 100);
             // line 103
             echo "                                                                    ";
             echo twig_escape_filter($this->env, twig_number_format_filter($this->env, isset($context["price"]) ? $context["price"] : $this->getContext($context, "price"), 0, ",", "."), "html", null, true);
             echo " FCFA\n                                                                ";
         } else {
             // line 105
             echo "                                                                    ";
             $context["price"] = $this->getAttribute($context["prod"], "PriceStandard", array());
             // line 106
             echo "                                                                    ";
             echo twig_escape_filter($this->env, twig_number_format_filter($this->env, $this->getAttribute($context["prod"], "PriceStandard", array()), 0, ",", "."), "html", null, true);
             echo " FCFA\n                                                                ";
         }
         // line 108
         echo "                                                                <input type=\"hidden\" value=\"";
         echo twig_escape_filter($this->env, isset($context["price"]) ? $context["price"] : $this->getContext($context, "price"), "html", null, true);
         echo "\" id=\"price-";
         echo twig_escape_filter($this->env, $this->getAttribute($context["prod"], "id", array()), "html", null, true);
         echo "\">\n                                                            </td>\n                                                            <td>\n                                                                <span class=\"td-name visible-xs\">Quantité</span>\n                                                                <div class=\"input-group quantity-control\">\n                                                                    <span class=\"input-group-addon btn-number\"  data-type=\"minus\" data-field=\"qte";
         // line 113
         echo twig_escape_filter($this->env, $this->getAttribute($context["prod"], "id", array()), "html", null, true);
         echo "\" data-btn=\"btn-";
         echo twig_escape_filter($this->env, $this->getAttribute($context["prod"], "id", array()), "html", null, true);
         echo "\">&minus;</span>\n                                                                    <input type=\"text\" class=\"form-control cart-input\" value=\"";
         // line 114
         echo twig_escape_filter($this->env, isset($context["val"]) ? $context["val"] : $this->getContext($context, "val"), "html", null, true);
         echo "\" data-quick=\"";
         echo twig_escape_filter($this->env, $this->getAttribute($context["prod"], "id", array()), "html", null, true);
         echo "\" name=\"qte";
         echo twig_escape_filter($this->env, $this->getAttribute($context["prod"], "id", array()), "html", null, true);
         echo "\">\n                                                                    <span class=\"input-group-addon btn-number\" data-type=\"plus\" data-field=\"qte";
         // line 115
         echo twig_escape_filter($this->env, $this->getAttribute($context["prod"], "id", array()), "html", null, true);
         echo "\" data-btn=\"btn-";
         echo twig_escape_filter($this->env, $this->getAttribute($context["prod"], "id", array()), "html", null, true);
         echo "\">+</span>\n                                                                </div>\n                                                            </td>\n                                                            <td>\n                                                                ";
         // line 119
         $context["pricePu"] = (isset($context["price"]) ? $context["price"] : $this->getContext($context, "price")) * (isset($context["val"]) ? $context["val"] : $this->getContext($context, "val"));
         // line 120
         echo "                                                                <span class=\"td-name visible-xs\">Total</span> <span id=\"Totalpu";
         echo twig_escape_filter($this->env, $this->getAttribute($context["prod"], "id", array()), "html", null, true);
         echo "\">";
         echo twig_escape_filter($this->env, twig_number_format_filter($this->env, isset($context["pricePu"]) ? $context["pricePu"] : $this->getContext($context, "pricePu"), 0, ",", "."), "html", null, true);
         echo " FCFA</span>\n                                                            </td>\n                                                        </tr>\n                                                    ";
     }
     $_parent = $context['_parent'];
     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['prod'], $context['_parent'], $context['loop']);
     $context = array_intersect_key($context, $_parent) + $_parent;
     // line 124
     echo "                                                    </tbody>\n                                                </table>\n                                            </div>\n                                        </div>\n                                    </section>\n                                </div>\n                            </div>\n                        </div>\n                    </div>\n                </section>\n\n                <div class=\"clearfix\"></div>\n                <p>&nbsp;&nbsp;</p>\n\n                <!-- section choix d'adresse -->\n                <form action=\"";
     // line 139
     echo $this->env->getExtension('routing')->getPath("command_validation");
     echo "\" method=\"POST\" class=\"command_validation\">\n\n                    <section>\n                        <div class=\"col-sm-11 col-md-11 col-lg-11\">\n                            <h3>";
     // line 143
     echo "Choix de l'adresse de livraison";
     echo "</h3>\n                            <div class=\"row blockquote\">\n                                <div class=\"inside\">\n                                    <div>\n                                        ";
     // line 147
     if (twig_length_filter($this->env, isset($context["adresses"]) ? $context["adresses"] : $this->getContext($context, "adresses")) != 0) {
         // line 148
         echo "                                                ";
         $context['_parent'] = $context;
         $context['_seq'] = twig_ensure_traversable(isset($context["adresses"]) ? $context["adresses"] : $this->getContext($context, "adresses"));
         $context['loop'] = array('parent' => $context['_parent'], 'index0' => 0, 'index' => 1, 'first' => true);
         if (is_array($context['_seq']) || is_object($context['_seq']) && $context['_seq'] instanceof Countable) {
             $length = count($context['_seq']);
             $context['loop']['revindex0'] = $length - 1;
             $context['loop']['revindex'] = $length;
             $context['loop']['length'] = $length;
             $context['loop']['last'] = 1 === $length;
         }
         foreach ($context['_seq'] as $context["_key"] => $context["adresse"]) {
             // line 149
             echo "                                                <label class=\"radio\">\n                                                    <input type=\"radio\" name=\"_livraison\" value=\"";
             // line 150
             echo twig_escape_filter($this->env, $this->getAttribute($context["adresse"], "id", array()), "html", null, true);
             echo "\" ";
             if ($this->getAttribute($context["loop"], "index0", array()) == 0) {
                 echo "checked=\"checked\"";
             }
             echo ">\n                                                    <strong> <h5> ";
             // line 151
             echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($context["adresse"], "city", array()), "name", array()), "html", null, true);
             echo " - ";
             echo twig_escape_filter($this->env, $this->getAttribute($context["adresse"], "adresse", array()), "html", null, true);
             echo " </h5> </strong>\n                                                </label>\n                                                ";
             ++$context['loop']['index0'];
             ++$context['loop']['index'];
             $context['loop']['first'] = false;
             if (isset($context['loop']['length'])) {
                 --$context['loop']['revindex0'];
                 --$context['loop']['revindex'];
                 $context['loop']['last'] = 0 === $context['loop']['revindex0'];
             }
         }
         $_parent = $context['_parent'];
         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['adresse'], $context['_parent'], $context['loop']);
         $context = array_intersect_key($context, $_parent) + $_parent;
         // line 154
         echo "                                        ";
     }
     // line 155
     echo "                                    </div>\n                                </div>\n                            </div>\n                        </div>\n                    </section>\n                <!-- fin  sectionchoix d'adresse -->\n                <div class=\"clearfix\"></div>\n                <p>&nbsp;&nbsp;</p>\n\n                    <!-- section choix d'adresse -->\n                    <section>\n                        <div class=\"col-sm-11 col-md-11 col-lg-11\">\n                            <!-- section commande et abonnement -->\n                                <div class=\"col-sm-6 col-md-6 col-lg-6\">\n                                    <h3>";
     // line 169
     echo "Bon de reduction";
     echo "</h3>\n                                    <div class=\"row blockquote\">\n                                        <div class=\"inside\">\n\n                                        </div>\n                                    </div>\n                                </div>\n\n                                <div class=\"divider-md visible-xs\"></div>\n\n                                <div class=\"col-sm-6 col-md-6 col-lg-6\">\n                                    <h3>";
     // line 180
     echo "RÉCAPITULATIF";
     echo "</h3>\n                                    <div class=\"row blockquote\">\n                                        ";
     // line 182
     $context["count"] = $this->env->getExtension('array_sum_extension')->LastDataArrayFilter($this->getAttribute($this->getAttribute(isset($context["app"]) ? $context["app"] : $this->getContext($context, "app"), "session", array()), "get", array(0 => "carts"), "method"));
     // line 183
     echo "                                        <div class=\"inside\">\n                                            <div class=\"col-sm-12 col-md-12 col-lg-12\">\n                                                <h4>";
     // line 185
     echo twig_escape_filter($this->env, twig_capitalize_string_filter($this->env, "total panier"), "html", null, true);
     echo "  <small> | ";
     echo twig_escape_filter($this->env, isset($context["count"]) ? $context["count"] : $this->getContext($context, "count"), "html", null, true);
     echo " ";
     echo (isset($context["count"]) ? $context["count"] : $this->getContext($context, "count")) > 1 ? "Produits" : "Produit";
     echo "</small>\n                                                    <strong class=\"pull-right\" id=\"price_cart\">\n                                                        ";
     // line 187
     echo twig_escape_filter($this->env, twig_number_format_filter($this->env, isset($context["Total"]) ? $context["Total"] : $this->getContext($context, "Total"), 0, ",", "."), "html", null, true);
     echo " FCFA\n                                                    </strong>\n                                                </h4>\n                                            </div>\n                                            <p>&nbsp;&nbsp;&nbsp;&nbsp;</p>\n                                            <div class=\"col-sm-12 col-md-12 col-lg-12\">\n                                                <h4>";
     // line 193
     echo twig_escape_filter($this->env, twig_capitalize_string_filter($this->env, "Frais de livraison estimés"), "html", null, true);
     echo "\n                                                    <strong class=\"pull-right\">\n                                                        ";
     // line 195
     echo twig_escape_filter($this->env, twig_number_format_filter($this->env, isset($context["Delivery"]) ? $context["Delivery"] : $this->getContext($context, "Delivery"), 0, ",", "."), "html", null, true);
     echo " FCFA\n                                                    </strong>\n                                                </h4>\n                                                ";
     // line 198
     $context['_parent'] = $context;
     $context['_seq'] = twig_ensure_traversable(isset($context["tva"]) ? $context["tva"] : $this->getContext($context, "tva"));
     foreach ($context['_seq'] as $context["_key"] => $context["tv"]) {
         // line 199
         echo "                                                    <input type=\"hidden\" value=\"";
         echo twig_escape_filter($this->env, $this->getAttribute($context["tv"], "id", array()), "html", null, true);
         echo "\" name=\"_tva\">\n                                                ";
     }
     $_parent = $context['_parent'];
     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['tv'], $context['_parent'], $context['loop']);
     $context = array_intersect_key($context, $_parent) + $_parent;
     // line 201
     echo "                                                <small>Frais de livraison gratuit à partie de 15 000 FCFA d'achat</small>\n                                            </div>\n                                            <p>&nbsp;&nbsp;</p>\n                                            <hr>\n                                            <div class=\"col-sm-12 col-md-12 col-lg-12\">\n                                                ";
     // line 206
     $context["TotalAchat"] = (isset($context["Total"]) ? $context["Total"] : $this->getContext($context, "Total")) + (isset($context["Delivery"]) ? $context["Delivery"] : $this->getContext($context, "Delivery"));
     // line 207
     echo "                                                <h2>";
     echo twig_escape_filter($this->env, twig_upper_filter($this->env, "TOTAL"), "html", null, true);
     echo "\n                                                    <strong class=\"pull-right\">\n                                                        ";
     // line 209
     echo twig_escape_filter($this->env, twig_number_format_filter($this->env, isset($context["TotalAchat"]) ? $context["TotalAchat"] : $this->getContext($context, "TotalAchat"), 0, ",", "."), "html", null, true);
     echo " FCFA\n                                                    </strong>\n                                                </h2>\n                                            </div>\n                                                <div>\n                                                    <input type=\"submit\" class=\"btn btn-mega pull-right\" value=\"";
     // line 214
     echo "Valider ma commande";
     echo "\">\n                                                </div>\n                                            <div class=\"clearfix\"></div>\n                                        </div>\n                                    </div>\n                                </div>\n                            <!-- fin de la section commande et abonnnment-->\n                        </div>\n                    </section>\n                </form>\n                <!-- fin  sectionchoix d'adresse -->\n            </section>\n\n            <!-- //end Right column -->\n\n        </div>\n    </section>\n";
     $__internal_7af560847870da6688dd184761904836910772d5c27d565084e09e9901f22c40->leave($__internal_7af560847870da6688dd184761904836910772d5c27d565084e09e9901f22c40_prof);
 }
 public function block_body($context, array $blocks = array())
 {
     $__internal_ac8318d350a253de078f1914998a729dc90df41f4ab38af764665768b650924a = $this->env->getExtension("native_profiler");
     $__internal_ac8318d350a253de078f1914998a729dc90df41f4ab38af764665768b650924a->enter($__internal_ac8318d350a253de078f1914998a729dc90df41f4ab38af764665768b650924a_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "body"));
     // line 4
     echo "    <section class=\"container\">\n        <nav class=\"breadcrumbs\">\n            <a href=\"";
     // line 6
     echo $this->env->getExtension('routing')->getPath("labs_front_homepage");
     echo "\">Accueil</a>\n            <span class=\"divider\">›</span>\n            <a href=\"";
     // line 8
     echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("labs_front_pages", array("id" => $this->getAttribute(isset($context["breadcrumbs"]) ? $context["breadcrumbs"] : $this->getContext($context, "breadcrumbs"), "GenreId", array()), "slug" => $this->getAttribute(isset($context["breadcrumbs"]) ? $context["breadcrumbs"] : $this->getContext($context, "breadcrumbs"), "GenreSlug", array()))), "html", null, true);
     echo "\">";
     echo twig_escape_filter($this->env, twig_capitalize_string_filter($this->env, $this->getAttribute(isset($context["breadcrumbs"]) ? $context["breadcrumbs"] : $this->getContext($context, "breadcrumbs"), "GenreName", array())), "html", null, true);
     echo "</a>\n            <span class=\"divider\">›</span>\n            <a href=\"";
     // line 10
     echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("labs_front_cat", array("id" => $this->getAttribute(isset($context["breadcrumbs"]) ? $context["breadcrumbs"] : $this->getContext($context, "breadcrumbs"), "catId", array()), "slug" => $this->getAttribute(isset($context["breadcrumbs"]) ? $context["breadcrumbs"] : $this->getContext($context, "breadcrumbs"), "catSlug", array()))), "html", null, true);
     echo "\">";
     echo twig_escape_filter($this->env, twig_capitalize_string_filter($this->env, $this->getAttribute(isset($context["breadcrumbs"]) ? $context["breadcrumbs"] : $this->getContext($context, "breadcrumbs"), "catName", array())), "html", null, true);
     echo " </a>\n            <span class=\"divider\">›</span>\n            ";
     // line 12
     echo twig_escape_filter($this->env, twig_capitalize_string_filter($this->env, $this->getAttribute(isset($context["breadcrumbs"]) ? $context["breadcrumbs"] : $this->getContext($context, "breadcrumbs"), "secName", array())), "html", null, true);
     echo "\n        </nav>\n    </section>\n    <!-- Two columns content -->\n    <section class=\"container\">\n        <div class=\"row\">\n\n            <!-- Left column -->\n            <aside class=\"col-sm-4 col-md-3 col-lg-3 content-aside\">\n\n                <!-- Shop by categories -->\n                <section>\n                    <h3>";
     // line 24
     echo twig_escape_filter($this->env, twig_upper_filter($this->env, "Nos catégories"), "html", null, true);
     echo "</h3>\n\n                    <ul class=\"expander-list\">\n                        ";
     // line 27
     $context['_parent'] = $context;
     $context['_seq'] = twig_ensure_traversable(isset($context["sidebar"]) ? $context["sidebar"] : $this->getContext($context, "sidebar"));
     foreach ($context['_seq'] as $context["_key"] => $context["genre"]) {
         // line 28
         echo "                            <li> <span class=\"name\"> <span class=\"expander\">-</span> <a href=\"#\"></a>";
         echo twig_escape_filter($this->env, twig_capitalize_string_filter($this->env, $this->getAttribute($context["genre"], "nameview", array())), "html", null, true);
         echo " </span>\n                                <ul>\n                                    ";
         // line 30
         $context['_parent'] = $context;
         $context['_seq'] = twig_ensure_traversable($this->getAttribute($context["genre"], "categories", array()));
         foreach ($context['_seq'] as $context["_key"] => $context["cat"]) {
             // line 31
             echo "                                        <li> <span class=\"name\"> <span class=\"expander\">-</span> <a href=\"#\">";
             echo twig_escape_filter($this->env, twig_capitalize_string_filter($this->env, $this->getAttribute($context["cat"], "name", array())), "html", null, true);
             echo "</a>  </span>\n                                            <ul>\n                                                ";
             // line 33
             $context['_parent'] = $context;
             $context['_seq'] = twig_ensure_traversable($this->getAttribute($context["cat"], "sections", array()));
             foreach ($context['_seq'] as $context["_key"] => $context["sec"]) {
                 // line 34
                 echo "                                                    <li><span class=\"name\"><a href=\"#\">";
                 echo twig_escape_filter($this->env, twig_capitalize_string_filter($this->env, $this->getAttribute($context["sec"], "name", array())), "html", null, true);
                 echo "</a></span></li>\n                                                ";
             }
             $_parent = $context['_parent'];
             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['sec'], $context['_parent'], $context['loop']);
             $context = array_intersect_key($context, $_parent) + $_parent;
             // line 36
             echo "                                            </ul>\n                                        </li>\n                                    ";
         }
         $_parent = $context['_parent'];
         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['cat'], $context['_parent'], $context['loop']);
         $context = array_intersect_key($context, $_parent) + $_parent;
         // line 39
         echo "                                </ul>\n                            </li>\n                        ";
     }
     $_parent = $context['_parent'];
     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['genre'], $context['_parent'], $context['loop']);
     $context = array_intersect_key($context, $_parent) + $_parent;
     // line 42
     echo "\n                        <li> <span class=\"name\"> <span class=\"expander\">-</span> <a href=\"#\">E-shop Market</a> </span>\n                            <ul>\n                                ";
     // line 45
     $context['_parent'] = $context;
     $context['_seq'] = twig_ensure_traversable(isset($context["markets"]) ? $context["markets"] : $this->getContext($context, "markets"));
     foreach ($context['_seq'] as $context["_key"] => $context["market"]) {
         // line 46
         echo "                                    <li><span class=\"name\"> <a href=\"#\">";
         echo twig_escape_filter($this->env, twig_capitalize_string_filter($this->env, $this->getAttribute($context["market"], "name", array())), "html", null, true);
         echo "</a> </span>  </li>\n                                ";
     }
     $_parent = $context['_parent'];
     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['market'], $context['_parent'], $context['loop']);
     $context = array_intersect_key($context, $_parent) + $_parent;
     // line 48
     echo "                            </ul>\n                        </li>\n                        <li> <span class=\"name\"> <span class=\"expander\">-</span> <a href=\"#\">";
     // line 50
     echo "Bon plan CDJIDJI";
     echo "</a> </span>\n                            <ul>\n                                ";
     // line 52
     $context['_parent'] = $context;
     $context['_seq'] = twig_ensure_traversable(isset($context["solde"]) ? $context["solde"] : $this->getContext($context, "solde"));
     foreach ($context['_seq'] as $context["_key"] => $context["categ"]) {
         // line 53
         echo "                                    <li>\n                                        <span class=\"name\">\n                                            ";
         // line 55
         $context['_parent'] = $context;
         $context['_seq'] = twig_ensure_traversable($this->getAttribute($context["categ"], "promotions", array()));
         foreach ($context['_seq'] as $context["_key"] => $context["percent"]) {
             // line 56
             echo "                                                <span class=\"label label-mega\"> -";
             echo twig_escape_filter($this->env, $this->getAttribute($context["percent"], "percent", array()), "html", null, true);
             echo "%</span>\n                                            ";
         }
         $_parent = $context['_parent'];
         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['percent'], $context['_parent'], $context['loop']);
         $context = array_intersect_key($context, $_parent) + $_parent;
         // line 58
         echo "                                            <a href=\"#\">";
         echo twig_escape_filter($this->env, twig_capitalize_string_filter($this->env, $this->getAttribute($context["categ"], "name", array())), "html", null, true);
         echo "</a><br/>\n                                        </span>\n                                    </li>\n                                ";
     }
     $_parent = $context['_parent'];
     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['categ'], $context['_parent'], $context['loop']);
     $context = array_intersect_key($context, $_parent) + $_parent;
     // line 62
     echo "                            </ul>\n                        </li>\n\n                    </ul>\n                </section>\n                <!-- //end Shop by categories -->\n\n                <!-- Shop by -->\n                <section>\n                    <h3>SHOP BY</h3>\n                    <p><strong>Category</strong></p>\n                    <ul class=\"simple-list\">\n                        <li><span class=\"m-icon m-icon-dress\"></span> <a href=\"listing.html\">Dresses (17)</a></li>\n                        <li><span class=\"m-icon m-icon-shirts\"></span> <a href=\"listing.html\">Shirts (6)</a></li>\n                        <li><span class=\"m-icon m-icon-coats\"></span> <a href=\"listing.html\">Coats (6)</a></li>\n                        <li><span class=\"m-icon m-icon-jackets\"></span> <a href=\"listing.html\">Jackets (6)</a></li>\n                        <li><span class=\"m-icon m-icon-shorts\"></span> <a href=\"listing.html\">Shorts (6)</a></li>\n                        <li><span class=\"m-icon m-icon-jeans\"></span> <a href=\"listing.html\">Jeans (6)</a></li>\n                        <li><span class=\"m-icon m-icon-skirts\"></span> <a href=\"listing.html\">Skirts (6)</a></li>\n                        <li><span class=\"m-icon m-icon-lingerie\"></span> <a href=\"listing.html\">Lingerie (6)</a></li>\n                        <li><span class=\"m-icon m-icon-tops\"></span> <a href=\"listing.html\">Tops (5)</a></li>\n                    </ul>\n                    <br>\n                    <p><strong>Color</strong></p>\n                    <ul class=\"simple-list\">\n                        <li><span class=\"icon-color icon-color-black\"></span> <a href=\"listing.html\">Black (1)</a></li>\n                        <li><span class=\"icon-color icon-color-blue\"></span> <a href=\"listing.html\">Blue (6)</a></li>\n                        <li><span class=\"icon-color icon-color-brown\"></span> <a href=\"listing.html\">Brown (2)</a></li>\n                        <li><span class=\"icon-color icon-color-gray\"></span> <a href=\"listing.html\">Gray (1)</a></li>\n                        <li><span class=\"icon-color icon-color-green\"></span> <a href=\"listing.html\">Green (5)</a></li>\n                        <li><span class=\"icon-color icon-color-magneta\"></span> <a href=\"listing.html\">Magneta (2)</a></li>\n                        <li><span class=\"icon-color icon-color-pink\"></span> <a href=\"listing.html\">Pink (5)</a></li>\n                        <li><span class=\"icon-color icon-color-red\"></span> <a href=\"listing.html\">Red (3)</a></li>\n                        <li><span class=\"icon-color icon-color-silver\"></span> <a href=\"listing.html\">Silver (1)</a></li>\n                        <li><span class=\"icon-color icon-color-white\"></span> <a href=\"listing.html\">White (2)</a></li>\n                    </ul>\n                    <br>\n                    <p><strong>Size</strong></p>\n                    <ul class=\"simple-list\">\n                        <li>– &nbsp; <a href=\"listing.html\">39 (2)</a></li>\n                        <li>– &nbsp; <a href=\"listing.html\">40 (1)</a></li>\n                        <li>– &nbsp; <a href=\"listing.html\">41 (8)</a></li>\n                        <li>– &nbsp; <a href=\"listing.html\">42 (3)</a></li>\n                        <li>– &nbsp; <a href=\"listing.html\">43 (7)</a></li>\n                        <li>– &nbsp; <a href=\"listing.html\">44 (12)</a></li>\n                        <li>– &nbsp; <a href=\"listing.html\">45 (6)</a></li>\n                        <li>– &nbsp; <a href=\"listing.html\">46 (2)</a></li>\n                    </ul>\n                </section>\n                <!-- //end Shop by -->\n\n                <div class=\"section-divider\"></div>\n\n                <!-- Popular tags -->\n                <section class=\"cloud-tags\">\n                    <h3>POPULAR TAGS</h3>\n                    <a href=\"listing.html\" class=\"font-xs\">Camera</a> <a href=\"listing.html\" class=\"font-xxl\">Coats</a> <a href=\"listing.html\" class=\"font-lg\">Jackets</a> <a href=\"listing.html\" class=\"font-lg\">Jeans</a> <a href=\"listing.html\" class=\"font-lg\">Lingerie</a> <a href=\"listing.html\" class=\"font-lg\">Shirts</a> <a href=\"listing.html\" class=\"font-lg\">Shorts</a> <a href=\"listing.html\" class=\"font-lg\">Skirts</a> <a href=\"listing.html\" class=\"fonf-xl\">Tops</a> <a href=\"listing.html\" class=\"font-xxs\">Apple</a> <a href=\"listing.html\" class=\"font-md\">Awesome</a> <a href=\"listing.html\" class=\"font-xs\">Cool t-shirt</a> <a href=\"listing.html\" class=\"font-xs\">Dresses</a> <a href=\"listing.html\" class=\"font-xs\">Good laptop</a> <a href=\"listing.html\" class=\"font-xs\">Mobile</a> <a href=\"listing.html\" class=\"font-xs\">Nice notebook</a> <a href=\"listing.html\" class=\"font-xs\">Phone</a> </section>\n                <!-- //end Popular tags -->\n\n                <div class=\"section-divider\"></div>\n\n                <!-- Compare products -->\n                <section>\n                    <h3>COMPARE PRODUCTS</h3>\n                    <p>You have no items to compare.</p>\n                </section>\n                <!-- //end Compare products -->\n\n                <div class=\"section-divider\"></div>\n\n                <!-- Price -->\n                <section>\n                    <h3>PRICE</h3>\n                    <div class=\"slider-range\">\n                        <div class=\"control\"></div>\n                        <div class=\"min\">\$<span class=\"value\">19</span></div>\n                        <div class=\"max\">\$<span class=\"value\">3000</span></div>\n                    </div>\n                </section>\n                <!-- //end Price -->\n\n                <div class=\"section-divider\"></div>\n\n                <!-- Community poll -->\n                <section>\n                    <h3>COMMUNITY POLL</h3>\n                    <form role=\"form\">\n                        <p><strong>WHAT IS YOUR FAVORITE MAGENTO FEATURE?</strong></p>\n                        <div class=\"radio\">\n                            <label>\n                                <input type=\"radio\" name=\"optionsRadios\" id=\"optionsRadios1\" value=\"option1\" checked>\n                                Layered Navigation </label>\n                        </div>\n                        <div class=\"radio\">\n                            <label>\n                                <input type=\"radio\" name=\"optionsRadios\" id=\"optionsRadios2\" value=\"option2\">\n                                Price Rules </label>\n                        </div>\n                        <div class=\"radio\">\n                            <label>\n                                <input type=\"radio\" name=\"optionsRadios\" id=\"optionsRadios3\" value=\"option3\">\n                                Category Management </label>\n                        </div>\n                        <div class=\"radio\">\n                            <label>\n                                <input type=\"radio\" name=\"optionsRadios\" id=\"optionsRadios4\" value=\"option4\">\n                                Compare Products </label>\n                        </div>\n                        <button class=\"btn btn-mega\">Vote</button>\n                    </form>\n                </section>\n                <!-- //end Community poll -->\n\n            </aside>\n            <!-- //end Left column -->\n\n            <!-- Right column -->\n            <section class=\"col-sm-8 col-md-9 col-lg-9 content-center\">\n\n                <!-- Slider -->\n                <section class=\"owl-slider-outer slider-listing hidden-xs\" style=\"height:208px;\">\n                    <div class=\"owl-slider\" style=\"height:208px;\">\n                        ";
     // line 184
     $context['_parent'] = $context;
     $context['_seq'] = twig_ensure_traversable(isset($context["banner"]) ? $context["banner"] : $this->getContext($context, "banner"));
     foreach ($context['_seq'] as $context["_key"] => $context["ban"]) {
         // line 185
         echo "                            ";
         $context['_parent'] = $context;
         $context['_seq'] = twig_ensure_traversable($this->getAttribute($context["ban"], "banners", array()));
         foreach ($context['_seq'] as $context["_key"] => $context["media"]) {
             // line 186
             echo "                                <div class=\"item\" style=\"height:208px;\">\n                                    <img src=\"";
             // line 187
             echo twig_escape_filter($this->env, $this->env->getExtension('liip_imagine')->filter($this->getAttribute($context["media"], "AssertPath", array()), "thumb_section_banner"), "html", null, true);
             echo "\" alt=\"";
             echo twig_escape_filter($this->env, $this->getAttribute($context["ban"], "name", array()), "html", null, true);
             echo "\" width=\"848\" height=\"208\">\n                                </div>\n                            ";
         }
         $_parent = $context['_parent'];
         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['media'], $context['_parent'], $context['loop']);
         $context = array_intersect_key($context, $_parent) + $_parent;
         // line 190
         echo "                        ";
     }
     $_parent = $context['_parent'];
     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ban'], $context['_parent'], $context['loop']);
     $context = array_intersect_key($context, $_parent) + $_parent;
     // line 191
     echo "                    </div>\n                </section>\n\n                <!-- //end Slider -->\n\n                <!-- Description -->\n                <h3>";
     // line 197
     echo twig_escape_filter($this->env, twig_upper_filter($this->env, $this->getAttribute(isset($context["breadcrumbs"]) ? $context["breadcrumbs"] : $this->getContext($context, "breadcrumbs"), "secName", array())), "html", null, true);
     echo "</h3>\n                <!-- //end Description -->\n\n\n                <!-- Filters -->\n                <div class=\"filters-panel\">\n                    <div class=\"row\">\n                        <div class=\"col-sm-6 col-md-4 col-lg-4\"> <!--Trier par-->\n                            <!--<div class=\"btn-group btn-select sort-select\"> <a href=\"#\" class=\"btn btn-default btn-xs dropdown-toggle\" data-toggle=\"dropdown\"> <span class=\"value\">Position</span> <span class=\"caret min\"></span> </a>\n                                <ul class=\"dropdown-menu\">\n                                    <li><a href=\"#\" data-value=\"position\">Position</a></li>\n                                    <li><a href=\"#\" data-value=\"rating\">Rating</a></li>\n                                    <li><a href=\"#\" data-value=\"price\">Price</a></li>\n                                    <li><a href=\"#\" data-value=\"dateAdded\">Date added</a></li>\n                                </ul>\n                            </div>-->\n                            <a href=\"#\" class=\"sort-select-arrow up\">\n                                <span class=\"up icon-arrow-up-3\"></span>\n                                <span class=\"down icon-arrow-down-3\"></span>\n                            </a>\n                        </div>\n                        <div class=\"col-md-4 col-lg-4 hidden-sm hidden-xs\">\n                            <div class=\"view-mode\">\n                                <a href=\"#\" class=\"view-grid\">\n                                    <span class=\"icon-th\"></span>\n                                </a> <a href=\"#\" class=\"view-list\">\n                                    <span class=\"icon-th-list\"></span>\n                                </a>\n                            </div>\n                        </div>\n                        <!--<div class=\"col-sm-6 col-md-4 col-lg-4 hidden-xs\">\n                            <div class=\"pull-right\"> Show\n                                <div class=\"btn-group btn-select perpage-select\"> <a href=\"#\" class=\"btn btn-default btn-xs dropdown-toggle\" data-toggle=\"dropdown\"> <span class=\"value\">15</span> <span class=\"caret min\"></span> </a>\n                                    <ul class=\"dropdown-menu\">\n                                        <li><a href=\"#\">30</a></li>\n                                        <li><a href=\"#\">50</a></li>\n                                        <li><a href=\"#\">100</a></li>\n                                        <li><a href=\"#\">All</a></li>\n                                    </ul>\n                                </div>\n                                per page </div>\n                        </div>-->\n                    </div>\n                    <div class=\"divider\"></div>\n                    <div class=\"pull-left hidden-xs\">Total Produits : ";
     // line 241
     echo twig_escape_filter($this->env, $this->getAttribute(isset($context["products"]) ? $context["products"] : $this->getContext($context, "products"), "getTotalItemCount", array()), "html", null, true);
     echo " </div>\n\n                    <div class=\"pull-right hidden-xs\">\n                        <div class=\"navigation\">\n                            ";
     // line 245
     echo $this->env->getExtension('knp_pagination')->render($this->env, isset($context["products"]) ? $context["products"] : $this->getContext($context, "products"));
     echo "\n                        </div>\n                    </div>\n                    <div class=\"clearfix\"></div>\n                </div>\n                <!-- //end Filters -->\n\n\n                <!-- Listing products -->\n                <div class=\"products-list products-list-small row\">\n\n                    ";
     // line 256
     $context['_parent'] = $context;
     $context['_seq'] = twig_ensure_traversable(isset($context["products"]) ? $context["products"] : $this->getContext($context, "products"));
     foreach ($context['_seq'] as $context["_key"] => $context["prod"]) {
         // line 257
         echo "                        <div class=\"product-preview\">\n                            <div class=\"preview animate scale\">\n                                <a href=\"";
         // line 259
         echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("labs_front_produits", array("id" => $this->getAttribute($context["prod"], "id", array()), "slug" => $this->getAttribute($context["prod"], "slug", array()))), "html", null, true);
         echo "\" class=\"preview-image\">\n                                    ";
         // line 260
         $context['_parent'] = $context;
         $context['_seq'] = twig_ensure_traversable($this->getAttribute($context["prod"], "medias", array()));
         foreach ($context['_seq'] as $context["_key"] => $context["media"]) {
             // line 261
             echo "                                        <img class=\"img-responsive animate scale\" src=\"";
             echo twig_escape_filter($this->env, $this->env->getExtension('liip_imagine')->filter($this->getAttribute($context["media"], "AssertPath", array()), "my_thumb_front_img_naturel"), "html", null, true);
             echo "\" width=\"270\" height=\"328\" alt=\"\">\n                                    ";
         }
         $_parent = $context['_parent'];
         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['media'], $context['_parent'], $context['loop']);
         $context = array_intersect_key($context, $_parent) + $_parent;
         // line 263
         echo "                                </a>\n                                <ul class=\"product-controls-list right hide-right\">\n                                    <li class=\"top-out-small\"></li>\n                                    <li><a href=\"#\" class=\"cart\"><span class=\"icon-basket\"></span></a></li>\n                                </ul>\n                            </div>\n                            <div class=\"bg-shop-write\">\n                                <h3 class=\"title thumbnail-desc\">\n                                    <a href=\"";
         // line 271
         echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("labs_front_produits", array("id" => $this->getAttribute($context["prod"], "id", array()), "slug" => $this->getAttribute($context["prod"], "slug", array()))), "html", null, true);
         echo "\" class=\"preview-image\">";
         echo twig_escape_filter($this->env, twig_capitalize_string_filter($this->env, twig_truncate_filter($this->env, $this->getAttribute($context["prod"], "name", array()), 50, true, " ")), "html", null, true);
         echo "</a>\n                                </h3>\n                                <span class=\"price\">";
         // line 273
         echo twig_escape_filter($this->env, twig_number_format_filter($this->env, $this->getAttribute($context["prod"], "PriceStandard", array()), 0, ",", "."), "html", null, true);
         echo " FCFA</span>\n                                <!--rating-->\n                                <div class=\"list_rating\"><span class=\"rating\"> <i class=\"icon-star-3\"></i> <i class=\"icon-star-3\"></i> <i class=\"icon-star-3\"></i> <i class=\"icon-star-3\"></i> <i class=\"icon-star-empty\"></i> </span></div>\n                                <!--description-->\n                                <div class=\"list_description\"> ";
         // line 277
         echo strip_tags(twig_truncate_filter($this->env, $this->getAttribute($context["prod"], "description", array()), 100, true, "..."));
         echo "</div>\n                                <!--buttons-->\n                                <div class=\"list_buttons\"> <a class=\"btn btn-mega pull-left\" href=\"#\">Ajouter au panier</a>\n                                    <div class=\"add-to-links\">\n                                        <ul>\n                                            <li> <a  href=\"#\"><i class=\"icon-heart\"></i></a> <a  href=\"#\">Ajouter au favoris</a> </li>\n                                            <!--<li> <a  href=\"#\"><i class=\"icon-justice\"></i></a> <a  href=\"#\">Add to Compare</a> </li>-->\n                                        </ul>\n                                    </div>\n                                </div>\n                            </div>\n                        </div>\n                    ";
     }
     $_parent = $context['_parent'];
     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['prod'], $context['_parent'], $context['loop']);
     $context = array_intersect_key($context, $_parent) + $_parent;
     // line 290
     echo "\n                </div>\n                <!-- //end Listing products -->\n\n                <!-- Filters -->\n                <div class=\"filters-panel hidden-xs\">\n                    <div class=\"row\">\n                        <div class=\"col-sm-6 col-md-4 col-lg-4\"> <!--Trier  par-->\n                           <!-- <div class=\"btn-group btn-select sort-select\"> <a href=\"#\" class=\"btn btn-default btn-xs dropdown-toggle\" data-toggle=\"dropdown\"> <span class=\"value\">Position</span> <span class=\"caret min\"></span> </a>\n                                <ul class=\"dropdown-menu\">\n                                    <li><a href=\"#\" data-value=\"position\">Position</a></li>\n                                    <li><a href=\"#\" data-value=\"rating\">Rating</a></li>\n                                    <li><a href=\"#\" data-value=\"price\">Price</a></li>\n                                    <li><a href=\"#\" data-value=\"dateAdded\">Date added</a></li>\n                                </ul>\n                            </div>-->\n                            <a href=\"#\" class=\"sort-select-arrow up\"><span class=\"up icon-arrow-up-3\"></span><span class=\"down icon-arrow-down-3\"></span></a> </div>\n                        <div class=\"col-md-4 col-lg-4 hidden-sm hidden-xs\">\n                           <!-- <div class=\"view-mode\">\n                                <a href=\"#\" class=\"view-grid\">\n                                    <span class=\"icon-th\"></span>\n                                </a> <a href=\"#\" class=\"view-list\">\n                                    <span class=\"icon-th-list\"></span>\n                                </a>\n                            </div>-->\n                        </div>\n                        <div class=\"col-sm-6 col-md-4 col-lg-4 hidden-xs\">\n                            <!--<div class=\"pull-right\"> Show\n                                <div class=\"btn-group btn-select perpage-select\"> <a href=\"#\" class=\"btn btn-default btn-xs dropdown-toggle\" data-toggle=\"dropdown\"> <span class=\"value\">15</span> <span class=\"caret min\"></span> </a>\n                                    <ul class=\"dropdown-menu\">\n                                        <li><a href=\"#\">30</a></li>\n                                        <li><a href=\"#\">50</a></li>\n                                        <li><a href=\"#\">100</a></li>\n                                        <li><a href=\"#\">All</a></li>\n                                    </ul>\n                                </div>\n                                per page </div>-->\n                        </div>\n                    </div>\n                    <div class=\"divider\"></div>\n                    <div class=\"pull-left hidden-xs\">Total Produits : ";
     // line 330
     echo twig_escape_filter($this->env, $this->getAttribute(isset($context["products"]) ? $context["products"] : $this->getContext($context, "products"), "getTotalItemCount", array()), "html", null, true);
     echo " </div>\n                    <div class=\"pull-right hidden-xs\">\n                        <div class=\"navigation\">\n                            ";
     // line 333
     echo $this->env->getExtension('knp_pagination')->render($this->env, isset($context["products"]) ? $context["products"] : $this->getContext($context, "products"));
     echo "\n                        </div>\n                    </div>\n                    <div class=\"clearfix\"></div>\n                </div>\n                <!-- //end Filters -->\n\n            </section>\n            <!-- //end Right column -->\n\n        </div>\n    </section>\n    <!-- //end Two columns content -->\n";
     $__internal_ac8318d350a253de078f1914998a729dc90df41f4ab38af764665768b650924a->leave($__internal_ac8318d350a253de078f1914998a729dc90df41f4ab38af764665768b650924a_prof);
 }
 public function block_body($context, array $blocks = array())
 {
     $__internal_4394551a21a2373ba0501d9c794990fec60f4b7df78756f231ca96a8084cdd72 = $this->env->getExtension("native_profiler");
     $__internal_4394551a21a2373ba0501d9c794990fec60f4b7df78756f231ca96a8084cdd72->enter($__internal_4394551a21a2373ba0501d9c794990fec60f4b7df78756f231ca96a8084cdd72_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "body"));
     // line 8
     echo "    <!-- brands market -->\n    <!-- Brands -->\n   <section class=\"container content-row\">\n       <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</p>\n       <!-- On Sale Products -->\n       <section class=\"container content-row\">\n           <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</p>\n\n           <div class=\"col-md-6\"><h3>";
     // line 16
     echo twig_escape_filter($this->env, twig_upper_filter($this->env, "ventes flash - Solde du moment"), "html", null, true);
     echo " </h3></div>\n           <div class=\"col-sm-offset-4 col-md-2\"><a href=\"#\" class=\"btn btn-mega\">Voir Tout</a></div>\n           <div class=\"clearfix\"></div>\n\n           <!-- Products list -->\n           <div class=\"row\">\n               <div class=\"product-carousel\">\n                   ";
     // line 23
     $context['_parent'] = $context;
     $context['_seq'] = twig_ensure_traversable(isset($context["products"]) ? $context["products"] : $this->getContext($context, "products"));
     foreach ($context['_seq'] as $context["_key"] => $context["product"]) {
         // line 24
         echo "                       <div class=\"item\">\n                           <div class=\"product-preview\">\n                               <div class=\"preview animate scale\">\n                                   <a href=\"#\" class=\"preview-image\">\n                                       ";
         // line 28
         $context['_parent'] = $context;
         $context['_seq'] = twig_ensure_traversable($this->getAttribute($context["product"], "medias", array()));
         foreach ($context['_seq'] as $context["_key"] => $context["media"]) {
             // line 29
             echo "                                           <img class=\"img-responsive animate scale\" src=\"";
             echo twig_escape_filter($this->env, $this->env->getExtension('liip_imagine')->filter($this->getAttribute($context["media"], "AssertPath", array()), "my_thumb_front_img_naturel"), "html", null, true);
             echo "\" width=\"270\" height=\"328\" alt=\"\">\n                                       ";
         }
         $_parent = $context['_parent'];
         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['media'], $context['_parent'], $context['loop']);
         $context = array_intersect_key($context, $_parent) + $_parent;
         // line 31
         echo "                                   </a>\n                                   <ul class=\"product-controls-list right\">\n                                       <li><span class=\"label label-sale\">";
         // line 33
         echo twig_escape_filter($this->env, twig_upper_filter($this->env, "solde"), "html", null, true);
         echo "</span></li>\n                                       ";
         // line 34
         $context["percents"] = 0;
         // line 35
         echo "                                       ";
         $context['_parent'] = $context;
         $context['_seq'] = twig_ensure_traversable($this->getAttribute($context["product"], "promotions", array()));
         foreach ($context['_seq'] as $context["_key"] => $context["promo"]) {
             // line 36
             echo "                                           ";
             $context["percents"] = $this->getAttribute($context["promo"], "percent", array());
             // line 37
             echo "                                           <li><span class=\"label\">-";
             echo twig_escape_filter($this->env, twig_number_format_filter($this->env, $this->getAttribute($context["promo"], "percent", array()), 0), "html", null, true);
             echo "%</span></li>\n                                       ";
         }
         $_parent = $context['_parent'];
         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['promo'], $context['_parent'], $context['loop']);
         $context = array_intersect_key($context, $_parent) + $_parent;
         // line 39
         echo "                                   </ul>\n                                   <ul class=\"product-controls-list right hide-right\">\n                                       <li class=\"top-out\"></li>\n                                       <li><a href=\"#productPopup\" class=\"cart\" data-toggle=\"modal\" data-whatever=\"";
         // line 42
         echo twig_escape_filter($this->env, $this->getAttribute($context["product"], "id", array()), "html", null, true);
         echo "\" data-url=\"";
         echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("labs_front_produits_popup", array("id" => $this->getAttribute($context["product"], "id", array()))), "html", null, true);
         echo "\"><span class=\"quick-views icon-basket\"></span></a></li>\n                                   </ul>\n                               </div>\n                               <div class=\"bg-shop-write\">\n                                   <h3 class=\"title thumbnail-desc\">\n                                       <a href=\"#\" width=\"150\">";
         // line 47
         echo twig_escape_filter($this->env, twig_truncate_filter($this->env, twig_capitalize_string_filter($this->env, $this->getAttribute($context["product"], "name", array())), 200, true, "..."), "html", null, true);
         echo "</a>\n                                   </h3>\n\n                                   <span class=\"price old\" style=\"display: inline-block\">\n                                       ";
         // line 51
         echo twig_escape_filter($this->env, twig_number_format_filter($this->env, $this->getAttribute($context["product"], "PriceStandard", array()), 0, ",", "."), "html", null, true);
         echo " FCFA\n                                   </span> <br/>\n                                   <span class=\"price new\" style=\"display: inline-block\">\n                                        ";
         // line 54
         $context["price"] = $this->getAttribute($context["product"], "PriceStandard", array()) - $this->getAttribute($context["product"], "PriceStandard", array()) * ((isset($context["percents"]) ? $context["percents"] : $this->getContext($context, "percents")) / 100);
         // line 55
         echo "                                        ";
         echo twig_escape_filter($this->env, twig_number_format_filter($this->env, isset($context["price"]) ? $context["price"] : $this->getContext($context, "price"), 0, ",", "."), "html", null, true);
         echo " FCFA\n                                   </span>\n                                   <p>&nbsp;&nbsp;&nbsp;</p>\n                                   <div class=\"thumbnail-sub\">\n                                       <a href=\"#\">";
         // line 59
         echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($context["product"], "section", array()), "name", array()), "html", null, true);
         echo "</a><br/>\n                                       ";
         // line 60
         $context['_parent'] = $context;
         $context['_seq'] = twig_ensure_traversable($this->getAttribute($context["product"], "marks", array()));
         foreach ($context['_seq'] as $context["_key"] => $context["mk"]) {
             // line 61
             echo "                                        <span>-&nbsp;<a href=\"#\">";
             echo twig_escape_filter($this->env, $this->getAttribute($context["mk"], "name", array()), "html", null, true);
             echo "</a></span>\n                                       ";
         }
         $_parent = $context['_parent'];
         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['mk'], $context['_parent'], $context['loop']);
         $context = array_intersect_key($context, $_parent) + $_parent;
         // line 63
         echo "                                   </div>\n                                   <p>&nbsp;</p>\n                                   <div>\n                                       ";
         // line 66
         $context['_parent'] = $context;
         $context['_seq'] = twig_ensure_traversable($this->getAttribute($context["product"], "promotions", array()));
         foreach ($context['_seq'] as $context["_key"] => $context["promoEnd"]) {
             // line 67
             echo "                                            <strong>&nbsp;Offre valable jusqu'au :</strong> <span class=\"label label-danger\" style=\"font-weight: bold; color: #fff;\">";
             echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute($context["promoEnd"], "end", array()), "d-m-Y"), "html", null, true);
             echo "</span>\n                                       ";
         }
         $_parent = $context['_parent'];
         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['promoEnd'], $context['_parent'], $context['loop']);
         $context = array_intersect_key($context, $_parent) + $_parent;
         // line 69
         echo "                                   </div>\n                               </div>\n                           </div>\n                       </div>\n                   ";
     }
     $_parent = $context['_parent'];
     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['product'], $context['_parent'], $context['loop']);
     $context = array_intersect_key($context, $_parent) + $_parent;
     // line 74
     echo "\n               </div>\n               <!-- product view ajax container -->\n               <div class=\"product-view-ajax-container\" id=\"product-view-ajax-container\"></div>\n                   <div id=\"productPopup\" class=\"modal modal-wide fade\">\n                       <div class=\"modal-dialog\">\n                           <div class=\"modal-content\">\n                               <div class=\"modal-header\">\n                                   <button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-hidden=\"true\">&times;</button>\n                               </div>\n                               <div class=\"modal-body\" id=\"product-view\"></div>\n                               <div class=\"modal-footer\">\n                                   <button type=\"button\" class=\"btn btn-mega\" data-dismiss=\"modal\">Fermer</button>\n                               </div>\n                           </div><!-- /.modal-content -->\n                       </div><!-- /.modal-dialog -->\n                   </div><!-- /.modal -->\n               <!-- //end product view ajax container -->\n           </div>\n           <!-- //end Products list -->\n       </section>\n\n       <section class=\"container content-row\">\n               <!-- brand -->\n               <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</p>\n               <div class=\"col-md-4\"><h3> E-shop Market  </h3></div>\n               <div class=\"col-sm-offset-6 col-md-2\"><a href=\"#\" class=\"btn btn-mega\">Voir Tout</a></div>\n               <div class=\"clearfix\"></div>\n               <hr>\n               <div class=\"brands carouFredSel row\">\n                   <div class=\"carouFredSel-controls\">\n                       <div class=\"carouFredSel-buttons\"><a id=\"brands-carousel-prev\" class=\"prev\" href=\"#\"></a><a id=\"brands-carousel-next\" class=\"next\" href=\"#\"></a></div>\n                   </div>\n                   <div class=\"brands-carousel\">\n                       <ul class=\"slides\">\n                           ";
     // line 109
     $context['_parent'] = $context;
     $context['_seq'] = twig_ensure_traversable(isset($context["markets"]) ? $context["markets"] : $this->getContext($context, "markets"));
     foreach ($context['_seq'] as $context["_key"] => $context["market"]) {
         // line 110
         echo "                               <li><a href=\"#\"><img src=\"";
         echo twig_escape_filter($this->env, $this->env->getExtension('liip_imagine')->filter($this->getAttribute($context["market"], "AssertPath", array()), "my_thumb_out_page"), "html", null, true);
         echo "\" alt=\"\"></a></li>\n                           ";
     }
     $_parent = $context['_parent'];
     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['market'], $context['_parent'], $context['loop']);
     $context = array_intersect_key($context, $_parent) + $_parent;
     // line 112
     echo "                       </ul>\n                   </div>\n               </div>\n               <!-- //end Brands -->\n       </section>\n       <hr>\n       <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</p>\n       <section class=\"container content-row\">\n           <!-- brand -->\n           <div class=\"col-md-6\"><h3> ";
     // line 121
     echo twig_escape_filter($this->env, $this->getAttribute(isset($context["accountbanner"]) ? $context["accountbanner"] : $this->getContext($context, "accountbanner"), "bigcontent", array()), "html", null, true);
     echo " <br/> <small>";
     echo twig_escape_filter($this->env, $this->getAttribute(isset($context["accountbanner"]) ? $context["accountbanner"] : $this->getContext($context, "accountbanner"), "middlecontent", array()), "html", null, true);
     echo "</small>  </h3></div>\n           <div class=\"col-sm-offset-4 col-md-2\"><a href=\"#\" class=\"btn btn-mega\">Se connecter</a></div>\n           <div class=\"clearfix\"></div>\n           <hr>\n           <div class=>\n               <ul class=\"slides\">\n                   <li><a href=\"#\"><img src=\"";
     // line 127
     echo twig_escape_filter($this->env, $this->env->getExtension('liip_imagine')->filter($this->getAttribute(isset($context["accountbanner"]) ? $context["accountbanner"] : $this->getContext($context, "accountbanner"), "AssertPath", array()), "my_thumb_pub"), "html", null, true);
     echo "\" alt=\"\"></a></li>\n               </ul>\n           </div>\n           <!-- //end Brands -->\n       </section>\n       <hr>\n       <!-- Brands -->\n       <section class=\"container content-row\">\n\n           <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</p>\n           <div class=\"col-md-4\"><h3> TOP MARQUES </h3></div>\n           <div class=\"col-sm-offset-6 col-md-2\"><a href=\"#\" class=\"btn btn-mega\">Voir Tout</a></div>\n           <div class=\"clearfix\"></div>\n           <hr>\n\n           <div class=\"mark carouFredSel row\">\n               <div class=\"carouFredSel-controls\">\n                   <div class=\"carouFredSel-buttons\"><a id=\"mark-carousel-prev\" class=\"prev\" href=\"#\"></a><a id=\"mark-carousel-next\" class=\"next\" href=\"#\"></a></div>\n               </div>\n               <div class=\"mark-carousel\">\n                   <ul class=\"slides\">\n                       ";
     // line 148
     $context['_parent'] = $context;
     $context['_seq'] = twig_ensure_traversable(isset($context["marks"]) ? $context["marks"] : $this->getContext($context, "marks"));
     foreach ($context['_seq'] as $context["_key"] => $context["mark"]) {
         // line 149
         echo "                           <li><a href=\"#\"><img src=\"";
         echo twig_escape_filter($this->env, $this->env->getExtension('liip_imagine')->filter($this->getAttribute($context["mark"], "AssertPath", array()), "my_thumb_out_page"), "html", null, true);
         echo "\" alt=\"\"></a></li>\n                       ";
     }
     $_parent = $context['_parent'];
     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['mark'], $context['_parent'], $context['loop']);
     $context = array_intersect_key($context, $_parent) + $_parent;
     // line 151
     echo "                   </ul>\n               </div>\n           </div>\n\n       </section>\n       <hr>\n       <!-- //end Brands -->\n   </section>\n\n    <!-- end parts one -->\n\n\n    <!-- Two columns content -->\n    <section class=\"container content\">\n        <div class=\"row\">\n            ";
     // line 166
     echo $this->env->getExtension('actions')->renderUri($this->env->getExtension('http_kernel')->controller("LabsFrontBundle:Default:getSidebarInfo"), array());
     // line 167
     echo "\n            <!-- Right column -->\n           <section class=\"col-sm-8 col-md-9 col-lg-9 content-center\">\n                <!-- Featured Products -->\n                <section>\n                    <div class=\"col-md-4\"><h3> ";
     // line 172
     echo twig_escape_filter($this->env, twig_upper_filter($this->env, "Bon plan cdjidji"), "html", null, true);
     echo " </h3></div>\n                    <div class=\"col-sm-offset-6 col-md-2\"><a href=\"#\" class=\"btn btn-mega\">Afficher Tout </a></div>\n                    <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</p>\n                    <div class=\"clearfix\"></div>\n\n                    <!-- Products list -->\n                   <div class=\"row products-list\">\n                        ";
     // line 179
     $context['_parent'] = $context;
     $context['_seq'] = twig_ensure_traversable(isset($context["category"]) ? $context["category"] : $this->getContext($context, "category"));
     foreach ($context['_seq'] as $context["_key"] => $context["cat"]) {
         // line 180
         echo "                        <div class=\"product-preview owl-items\">\n                                <div class=\"preview animate scale bg-shop\">\n                                    <a href=\"#\" class=\"preview-image\">\n                                        <img class=\"img-responsive animate scale\" src=\"";
         // line 183
         echo twig_escape_filter($this->env, $this->env->getExtension('liip_imagine')->filter($this->getAttribute($context["cat"], "AssertPath", array()), "my_thumb_front_img_naturel"), "html", null, true);
         echo "\" width=\"270\" height=\"328\" alt=\"\">\n                                    </a>\n                                    <ul class=\"product-controls-list\">\n                                        <li><span class=\"label label-sale\">";
         // line 186
         echo twig_escape_filter($this->env, twig_upper_filter($this->env, "solde"), "html", null, true);
         echo "</span></li>\n                                        ";
         // line 187
         $context["percents"] = 0;
         // line 188
         echo "                                        ";
         $context['_parent'] = $context;
         $context['_seq'] = twig_ensure_traversable($this->getAttribute($context["cat"], "promotions", array()));
         foreach ($context['_seq'] as $context["_key"] => $context["promo"]) {
             // line 189
             echo "                                            ";
             $context["percents"] = $this->getAttribute($context["promo"], "percent", array());
             // line 190
             echo "                                            <li><span class=\"label\">-";
             echo twig_escape_filter($this->env, twig_number_format_filter($this->env, $this->getAttribute($context["promo"], "percent", array()), 0), "html", null, true);
             echo "%</span></li>\n                                        ";
         }
         $_parent = $context['_parent'];
         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['promo'], $context['_parent'], $context['loop']);
         $context = array_intersect_key($context, $_parent) + $_parent;
         // line 192
         echo "                                    </ul>\n                                    <div class=\"quick-view visible-xs\"> <span class=\"rating\"> <i class=\"icon-star-3\"></i> <i class=\"icon-star-3\"></i> <i class=\"icon-star-3\"></i> <i class=\"icon-star-3\"></i> <i class=\"icon-star-empty\"></i> </span></div>\n                                </div>\n                                <div class=\"bg-shop-write\">\n                                    <h5 class=\"big-visual-category--title\"><a href=\"#\">";
         // line 196
         echo twig_escape_filter($this->env, twig_capitalize_string_filter($this->env, $this->getAttribute($context["cat"], "name", array())), "html", null, true);
         echo "</a></h5>\n                                    <span class=\"title\">Livraison Gratuite <span class=\"price new\">(*)</span></span><br/>\n                                    <strong>Jusqu'a ";
         // line 198
         echo twig_escape_filter($this->env, isset($context["percents"]) ? $context["percents"] : $this->getContext($context, "percents"), "html", null, true);
         echo " %  de reduction</strong>\n                                </div>\n                        </div>\n                       ";
     }
     $_parent = $context['_parent'];
     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['cat'], $context['_parent'], $context['loop']);
     $context = array_intersect_key($context, $_parent) + $_parent;
     // line 202
     echo "                   </div>\n                    <!-- //end Products list -->\n\n                    <!-- Product view compact -->\n                   <div class=\"product-view-ajax\">\n                        <div class=\"ajax-loader progress progress-striped active\">\n                            <div class=\"progress-bar progress-bar-danger\" role=\"progressbar\"></div>\n                        </div>\n                        <div class=\"layar\"></div>\n                        <div class=\"product-view-container\">\n                        </div>\n                   </div>\n                    <!-- //end Product view compact -->\n\n               </section>\n                <!-- //end On Sale Products -->\n               <section >\n                   <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</p>\n                   <section class=\"strate Block-seo Block-seo--trend\">\n                       <h2 class=\"Block-seoTitle\">";
     // line 221
     echo twig_escape_filter($this->env, twig_upper_filter($this->env, "Tendances CDJIDJI"), "html", null, true);
     echo "  <small class=\"col-sm-offset-6\"><a href=\"#\" class=\"btn btn-mega\">Voir Tout</a></small></h2>\n                       <ul class=\"Block-seoList\">\n                           ";
     // line 223
     $context['_parent'] = $context;
     $context['_seq'] = twig_ensure_traversable(isset($context["tendances"]) ? $context["tendances"] : $this->getContext($context, "tendances"));
     foreach ($context['_seq'] as $context["_key"] => $context["cats"]) {
         // line 224
         echo "                                <li class=\"Block-seoItem\">\n                                    <dl>\n                                       <dt>";
         // line 226
         echo twig_escape_filter($this->env, twig_upper_filter($this->env, $this->getAttribute($context["cats"], "name", array())), "html", null, true);
         echo "</dt>\n                                       ";
         // line 227
         $context['_parent'] = $context;
         $context['_seq'] = twig_ensure_traversable($this->getAttribute($context["cats"], "sections", array()));
         foreach ($context['_seq'] as $context["_key"] => $context["section"]) {
             // line 228
             echo "                                           <dd>\n                                               <a href=\"\">";
             // line 229
             echo twig_escape_filter($this->env, twig_capitalize_string_filter($this->env, $this->getAttribute($context["section"], "name", array())), "html", null, true);
             echo "</a>\n                                           </dd>\n                                       ";
         }
         $_parent = $context['_parent'];
         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['section'], $context['_parent'], $context['loop']);
         $context = array_intersect_key($context, $_parent) + $_parent;
         // line 232
         echo "                                    </dl>\n                                </li>\n                           ";
     }
     $_parent = $context['_parent'];
     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['cats'], $context['_parent'], $context['loop']);
     $context = array_intersect_key($context, $_parent) + $_parent;
     // line 235
     echo "                       </ul>\n               </section>\n\n               <section>\n                   <div class=\"col-md-8\">\n                       <div class=\"blockquote\">\n                           <div class=\"inside\">\n                               <h5>Abonnez-vous et suivez nous sur nos medias sociaux</h5>\n                               <small>Recevez tous les dernières  offres de produits</small>\n                           </div>\n                       </div>\n                   </div>\n                   <div class=\"col-md-4\">\n                       <a href=\"https://www.facebook.com/cdjidjigroupe\"><div class=\"icon-circle-xs active\"><span class=\"icon icon-facebook-3\"></span></div></a>\n                       <a href=\"\"><div class=\"icon-circle-xs active\"><span class=\"icon icon icon-pinterest-2\"></span></div></a>\n                       <a href=\"\"><div class=\"icon-circle-xs active\"><span class=\"icon icon-twitter-2\"></span></div></a>\n                       <a href=\"\"><div class=\"icon-circle-xs active\"><span class=\"icon icon-youtube-3\"></span></div></a>\n                       <a href=\"\"><div class=\"icon-circle-xs active\"><span class=\"icon icon-instagram\"></span></div></a>\n                       <a href=\"\"><div class=\"icon-circle-xs active\"><span class=\"icon icon-googleplus-2\"></span></div></a>\n                       <a href=\"\"><div class=\"icon-circle-xs active\"><span class=\"icon icon-linkedin-2\"></span></div></a>\n                       <a href=\"\"><div class=\"icon-circle-xs active\"><span class=\"icon icon-vimeo-2\"></span></div></a>\n                       <a href=\"\"><div class=\"icon-circle-xs active\"><span class=\"icon icon-skype-3\"></span></div></a>\n                   </div>\n\n               </section>\n\n           </section>\n            <!-- //end Right column -->\n        </div>\n    </section>\n";
     $__internal_4394551a21a2373ba0501d9c794990fec60f4b7df78756f231ca96a8084cdd72->leave($__internal_4394551a21a2373ba0501d9c794990fec60f4b7df78756f231ca96a8084cdd72_prof);
 }
 public function block_body($context, array $blocks = array())
 {
     $__internal_1c589f17f1334f71d4af93ea8d2319831e614ed0ea870388329c2e27f23b0d0a = $this->env->getExtension("native_profiler");
     $__internal_1c589f17f1334f71d4af93ea8d2319831e614ed0ea870388329c2e27f23b0d0a->enter($__internal_1c589f17f1334f71d4af93ea8d2319831e614ed0ea870388329c2e27f23b0d0a_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "body"));
     // line 3
     echo "    <!-- Breadcrumbs -->\n    <section class=\"container\">\n        <nav class=\"breadcrumbs\"> <a href=\"";
     // line 5
     echo $this->env->getExtension('routing')->getPath("labs_front_homepage");
     echo "\">Accuiel</a> <span class=\"divider\">›</span> ";
     $context['_parent'] = $context;
     $context['_seq'] = twig_ensure_traversable(isset($context["products"]) ? $context["products"] : $this->getContext($context, "products"));
     foreach ($context['_seq'] as $context["_key"] => $context["prod"]) {
         echo " ";
         echo twig_escape_filter($this->env, $this->getAttribute($context["prod"], "name", array()), "html", null, true);
         echo " ";
     }
     $_parent = $context['_parent'];
     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['prod'], $context['_parent'], $context['loop']);
     $context = array_intersect_key($context, $_parent) + $_parent;
     echo " </nav>\n    </section>\n    <!-- //end Breadcrumbs -->\n\n    <!-- One column content -->\n    <section class=\"container\">\n        ";
     // line 11
     echo twig_var_dump($this->env, $context, isset($context["products"]) ? $context["products"] : $this->getContext($context, "products"));
     echo "\n        <!-- Product view -->\n        <div class=\"product-view row\">\n            <div class=\"col-sm-6 col-md-6 col-lg-6\">\n                <div class=\"hidden-xs flexslider-thumb-vertical-outer\">\n                    <div class=\"flexslider flexslider-thumb-vertical vertical min\">\n                        <ul class=\"previews-list slides\">\n                            ";
     // line 18
     $context['_parent'] = $context;
     $context['_seq'] = twig_ensure_traversable(isset($context["products"]) ? $context["products"] : $this->getContext($context, "products"));
     foreach ($context['_seq'] as $context["_key"] => $context["prod"]) {
         // line 19
         echo "                                ";
         $context['_parent'] = $context;
         $context['_seq'] = twig_ensure_traversable($this->getAttribute($context["prod"], "medias", array()));
         foreach ($context['_seq'] as $context["_key"] => $context["media"]) {
             // line 20
             echo "                                    <li>\n                                        <img class = 'cloudzoom-gallery'\n                                             alt=\"#\"  src =\"";
             // line 22
             echo twig_escape_filter($this->env, $this->env->getExtension('liip_imagine')->filter($this->getAttribute($context["media"], "AssertPath", array()), "my_thumb_front_img_detail_zoom"), "html", null, true);
             echo "\"\n                                             data-cloudzoom = \"useZoom: '.cloudzoom',\n                                                               image: '";
             // line 24
             echo twig_escape_filter($this->env, $this->env->getExtension('liip_imagine')->filter($this->getAttribute($context["media"], "AssertPath", array()), "my_thumb_front_img_detail_zoom"), "html", null, true);
             echo "',\n                                                               zoomImage: '";
             // line 25
             echo twig_escape_filter($this->env, $this->env->getExtension('liip_imagine')->filter($this->getAttribute($context["media"], "AssertPath", array()), "my_thumb_front_img_detail_zoom"), "html", null, true);
             echo "', autoInside : 991\"\n                                        />\n                                    </li>\n                                ";
         }
         $_parent = $context['_parent'];
         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['media'], $context['_parent'], $context['loop']);
         $context = array_intersect_key($context, $_parent) + $_parent;
         // line 29
         echo "                            ";
     }
     $_parent = $context['_parent'];
     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['prod'], $context['_parent'], $context['loop']);
     $context = array_intersect_key($context, $_parent) + $_parent;
     // line 30
     echo "                        </ul>\n                    </div>\n                </div>\n\n                ";
     // line 34
     $context['_parent'] = $context;
     $context['_seq'] = twig_ensure_traversable(isset($context["products"]) ? $context["products"] : $this->getContext($context, "products"));
     foreach ($context['_seq'] as $context["_key"] => $context["prod"]) {
         // line 35
         echo "                    ";
         $context['_parent'] = $context;
         $context['_seq'] = twig_ensure_traversable($this->getAttribute($context["prod"], "medias", array()));
         foreach ($context['_seq'] as $context["_key"] => $context["media"]) {
             // line 36
             echo "                        ";
             if ($this->getAttribute($context["media"], "status", array()) == true) {
                 // line 37
                 echo "                            <div class=\"large-image vertical hidden-xs\">\n                                <img alt=\"#\" class = \"cloudzoom\"\n                                     src = \"";
                 // line 39
                 echo twig_escape_filter($this->env, $this->env->getExtension('liip_imagine')->filter($this->getAttribute($context["media"], "AssertPath", array()), "my_thumb_front_img_detail_zoom"), "html", null, true);
                 echo "\"\n                                     data-cloudzoom = \"zoomImage: '";
                 // line 40
                 echo twig_escape_filter($this->env, $this->env->getExtension('liip_imagine')->filter($this->getAttribute($context["media"], "AssertPath", array()), "my_thumb_front_img_detail_zoom"), "html", null, true);
                 echo "',\n                                                       autoInside : 991\"\n                                />\n                            </div>\n                        ";
             }
             // line 45
             echo "                    ";
         }
         $_parent = $context['_parent'];
         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['media'], $context['_parent'], $context['loop']);
         $context = array_intersect_key($context, $_parent) + $_parent;
         // line 46
         echo "                ";
     }
     $_parent = $context['_parent'];
     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['prod'], $context['_parent'], $context['loop']);
     $context = array_intersect_key($context, $_parent) + $_parent;
     // line 47
     echo "\n                <div class=\"flexslider flexslider-large visible-xs\">\n                    <ul class=\"slides\">\n                        ";
     // line 50
     $context['_parent'] = $context;
     $context['_seq'] = twig_ensure_traversable(isset($context["products"]) ? $context["products"] : $this->getContext($context, "products"));
     foreach ($context['_seq'] as $context["_key"] => $context["prod"]) {
         // line 51
         echo "                            ";
         $context['_parent'] = $context;
         $context['_seq'] = twig_ensure_traversable($this->getAttribute($context["prod"], "medias", array()));
         foreach ($context['_seq'] as $context["_key"] => $context["media"]) {
             // line 52
             echo "                                <li>\n                                    <img class=\"img-responsive animate scale\"\n                                         src=\"";
             // line 54
             echo twig_escape_filter($this->env, $this->env->getExtension('liip_imagine')->filter($this->getAttribute($context["media"], "AssertPath", array()), "my_thumb_front_img_detail_zoom"), "html", null, true);
             echo "\"\n                                         alt=\"\"\n                                    />\n                                </li>\n                            ";
         }
         $_parent = $context['_parent'];
         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['media'], $context['_parent'], $context['loop']);
         $context = array_intersect_key($context, $_parent) + $_parent;
         // line 59
         echo "                        ";
     }
     $_parent = $context['_parent'];
     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['prod'], $context['_parent'], $context['loop']);
     $context = array_intersect_key($context, $_parent) + $_parent;
     // line 60
     echo "                    </ul>\n                </div>\n            </div>\n\n\n            <div class=\"col-sm-6 col-md-6 col-lg-6\">\n\n                <!-- Product label -->\n                <div class=\"product-label\">\n                    <div class=\"center\">\n                        <div>\n                            <div class=\"box-content\">\n                            ";
     // line 72
     $context['_parent'] = $context;
     $context['_seq'] = twig_ensure_traversable(isset($context["products"]) ? $context["products"] : $this->getContext($context, "products"));
     foreach ($context['_seq'] as $context["_key"] => $context["prod"]) {
         // line 73
         echo "                                <h2 class=\"ProductSummary-title\">";
         echo twig_escape_filter($this->env, $this->getAttribute($context["prod"], "name", array()), "html", null, true);
         echo "</h2>\n                                <div class=\"ProductSummary-subTitle\">\n                                        <a href=\"#\">\n                                            ";
         // line 76
         echo twig_escape_filter($this->env, twig_capitalize_string_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute($context["prod"], "section", array()), "category", array()), "name", array())), "html", null, true);
         echo "\n                                        </a> -\n                                        <a href=\"#\">\n                                            ";
         // line 79
         echo twig_escape_filter($this->env, twig_capitalize_string_filter($this->env, $this->getAttribute($this->getAttribute($context["prod"], "section", array()), "name", array())), "html", null, true);
         echo "\n                                        </a>\n                                </div>\n                                <hr>\n                                ";
         // line 83
         if (twig_length_filter($this->env, $this->getAttribute($context["prod"], "promotions", array())) > 0) {
             // line 84
             echo "                                    ";
             $context["percents"] = 0;
             // line 85
             echo "                                    ";
             $context['_parent'] = $context;
             $context['_seq'] = twig_ensure_traversable($this->getAttribute($context["prod"], "promotions", array()));
             foreach ($context['_seq'] as $context["_key"] => $context["promo"]) {
                 // line 86
                 echo "                                          ";
                 $context["percents"] = $this->getAttribute($context["promo"], "percent", array());
                 // line 87
                 echo "                                    ";
             }
             $_parent = $context['_parent'];
             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['promo'], $context['_parent'], $context['loop']);
             $context = array_intersect_key($context, $_parent) + $_parent;
             // line 88
             echo "                                    <span class=\"price old\">";
             echo twig_escape_filter($this->env, twig_number_format_filter($this->env, $this->getAttribute($context["prod"], "PriceStandard", array()), 0, ",", "."), "html", null, true);
             echo " FCFA</span>\n                                    <span class=\"price new\">\n                                        ";
             // line 90
             $context["price"] = $this->getAttribute($context["prod"], "PriceStandard", array()) - $this->getAttribute($context["prod"], "PriceStandard", array()) * ((isset($context["percents"]) ? $context["percents"] : $this->getContext($context, "percents")) / 100);
             // line 91
             echo "                                        ";
             echo twig_escape_filter($this->env, twig_number_format_filter($this->env, isset($context["price"]) ? $context["price"] : $this->getContext($context, "price"), 0, ",", "."), "html", null, true);
             echo " FCFA\n                                    </span> <br>\n                                ";
         } else {
             // line 94
             echo "                                    <span class=\"price\">\n                                        ";
             // line 95
             echo twig_escape_filter($this->env, twig_number_format_filter($this->env, $this->getAttribute($context["prod"], "PriceStandard", array()), 0, ",", "."), "html", null, true);
             echo " FCFA\n                                    </span>\n                                ";
         }
         // line 98
         echo "                            ";
     }
     $_parent = $context['_parent'];
     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['prod'], $context['_parent'], $context['loop']);
     $context = array_intersect_key($context, $_parent) + $_parent;
     // line 99
     echo "                            <hr>\n                            </div>\n                        </div>\n                    </div>\n                </div>\n                <!-- //end Product label -->\n\n                <!-- Description -->\n                <div class=\"product-description\"> <span class=\"rating\"> <i class=\"icon-star-3\"></i> <i class=\"icon-star-3\"></i> <i class=\"icon-star-3\"></i> <i class=\"icon-star-3\"></i> <i class=\"icon-star-empty\"></i> </span>\n                    <form>\n                        <div class=\"row\">\n                            <div class=\"col-lg-6\"> <strong>Couleurs</strong>\n                                <div class=\"product-options\">\n                                     <i class=\"icon icon-color icon-color-white\" data-href=\"images/products/product-12.jpg\"></i>\n                                     <i class=\"icon icon-color icon-color-beige\" data-href=\"images/products/product-17.jpg\"></i>\n                                     <i class=\"icon icon-color icon-color-red\" data-href=\"images/products/product-25.jpg\"></i>\n                                     <i class=\"icon icon-color icon-color-pink\" data-href=\"images/products/product-31.jpg\"></i>\n                                     <i class=\"icon icon-color icon-color-magneta\"  data-href=\"images/products/product-07.jpg\"></i>\n                                     <i class=\"disable icon icon-color icon-color-green\"  data-href=\"images/products/product-11.jpg\"></i>\n                                     <i class=\"disable icon icon-color icon-color-gray\"></i>\n                                     <i class=\"disable icon icon-color icon-color-brown\"></i>\n                                 </div>\n                            </div>\n                            <div class=\"col-lg-6\"> <strong>Tailles</strong>\n                                <div class=\"product-options\">\n                                 <i class=\"disable icon icon-size\">39</i>\n                                 <i class=\"icon icon-size\">40</i>\n                                 <i class=\"disable icon icon-size\">41</i>\n                                 <i class=\"icon icon-size\">42</i> <i class=\"icon icon-size\">43</i>\n                                 <i class=\"icon icon-size\">44</i> <i class=\"icon icon-size\">45</i>\n                                 <i class=\"disable icon icon-size\">46</i>\n                                </div>\n                            </div>\n                        </div>\n                        <br>\n                        <div class=\"option\"> <b>Quantité:</b>\n                            <div class=\"input-group quantity-control\">\n                                <span class=\"input-group-addon\">&minus;</span>\n                                <input type=\"text\" class=\"form-control\" value=\"1\">\n                                <span class=\"input-group-addon\">+</span>\n                            </div>\n                        </div>\n                        <div class=\"clearfix visible-xs\"></div>\n                        <button class=\"btn btn-mega btn-lg\" type=\"submit\">";
     // line 142
     echo twig_escape_filter($this->env, twig_upper_filter($this->env, "acheter maintenant"), "html", null, true);
     echo "</button>\n                    </form>\n                </div>\n                <!-- //end Description -->\n\n            </div>\n        </div>\n        <!-- //end Product view -->\n\n        <!-- Tabs -->\n            <section class=\"producttab\">\n            <div class=\"tabsslider visible-xs\">\n                <ul class=\"nav nav-tabs\">\n                    <li class=\"active\"><a data-toggle=\"tab\" href=\"#tab-1\">Description</a></li>\n                    <li><a data-toggle=\"tab\" href=\"#tab-2\">Reviews</a></li>\n                    <li><a data-toggle=\"tab\" href=\"#tab-3\">Tags</a></li>\n                    <li><a data-toggle=\"tab\" href=\"#tab-4\">Custom block</a></li>\n                </ul>\n                <a href=\"#\" class=\"carousel-prev\"></a><a href=\"#\" class=\"carousel-next\"></a> </div>\n            <div class=\"tabs-left\">\n                <ul class=\"nav nav-tabs hidden-xs\">\n                    <li class=\"active\"><a data-toggle=\"tab\" href=\"#tab-1\">OFFRES SPÉCIALES</a></li>\n                    <li><a data-toggle=\"tab\" href=\"#tab-2\">CARACTÉRISTIQUES</a></li>\n                    <li><a data-toggle=\"tab\" href=\"#tab-3\">DESCRIPTION</a></li>\n                    <li><a data-toggle=\"tab\" href=\"#tab-4\">VIDEO</a></li>\n                </ul>\n                <div class=\"tab-content-outer\">\n                    <div class=\"tab-content\">\n                        <div id=\"tab-1\" class=\"tab-pane fade active in\">\n                                ";
     // line 171
     $context['_parent'] = $context;
     $context['_seq'] = twig_ensure_traversable(isset($context["products"]) ? $context["products"] : $this->getContext($context, "products"));
     foreach ($context['_seq'] as $context["_key"] => $context["prod"]) {
         // line 172
         echo "                                    ";
         $context['_parent'] = $context;
         $context['_seq'] = twig_ensure_traversable($this->getAttribute($context["prod"], "offres", array()));
         foreach ($context['_seq'] as $context["_key"] => $context["offre"]) {
             // line 173
             echo "                                        <h4>\n                                            <div class=\"icon-circle-sm active\">\n                                                <span class=\"icon  icon-tags-2\"></span>\n                                            </div>\n                                            ";
             // line 177
             echo twig_escape_filter($this->env, $this->getAttribute($context["offre"], "name", array()), "html", null, true);
             echo "\n                                        </h4>\n                                        <p>";
             // line 179
             echo twig_escape_filter($this->env, $this->getAttribute($context["offre"], "libelle", array()), "html", null, true);
             echo "</p>\n                                    ";
         }
         $_parent = $context['_parent'];
         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['offre'], $context['_parent'], $context['loop']);
         $context = array_intersect_key($context, $_parent) + $_parent;
         // line 181
         echo "                                ";
     }
     $_parent = $context['_parent'];
     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['prod'], $context['_parent'], $context['loop']);
     $context = array_intersect_key($context, $_parent) + $_parent;
     // line 182
     echo "                        </div>\n                        <div id=\"tab-2\" class=\"tab-pane fade\">\n                            ";
     // line 184
     $context['_parent'] = $context;
     $context['_seq'] = twig_ensure_traversable(isset($context["products"]) ? $context["products"] : $this->getContext($context, "products"));
     foreach ($context['_seq'] as $context["_key"] => $context["prod"]) {
         // line 185
         echo "                                <h1 class=\"dji-title\">\n                                    <span>CARACTÉRISTIQUES DÉTAILLÉES </span>\n                                    <span class=\"dji-subtitle\">";
         // line 187
         echo twig_escape_filter($this->env, $this->getAttribute($context["prod"], "name", array()), "html", null, true);
         echo "</span>\n                                </h1>\n                                <ul class=\"cdjifeature-list\">\n                                    ";
         // line 190
         $context['_parent'] = $context;
         $context['_seq'] = twig_ensure_traversable($this->getAttribute($context["prod"], "feature", array()));
         foreach ($context['_seq'] as $context["_key"] => $context["feature"]) {
             // line 191
             echo "                                        <li class=\"cdjifeature-item\">\n                                            <span class=\"cdjifeature-label\">\n                                                <span>";
             // line 193
             echo twig_escape_filter($this->env, $this->getAttribute($context["feature"], "name", array()), "html", null, true);
             echo "</span>\n                                            </span>\n                                            <span class=\"cdjifeature-desc\">\n                                                <span>";
             // line 196
             echo twig_escape_filter($this->env, $this->getAttribute($context["feature"], "value", array()), "html", null, true);
             echo "</span>\n                                            </span>\n                                        </li>\n                                    ";
         }
         $_parent = $context['_parent'];
         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['feature'], $context['_parent'], $context['loop']);
         $context = array_intersect_key($context, $_parent) + $_parent;
         // line 200
         echo "                                </ul>\n                            ";
     }
     $_parent = $context['_parent'];
     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['prod'], $context['_parent'], $context['loop']);
     $context = array_intersect_key($context, $_parent) + $_parent;
     // line 202
     echo "                        </div>\n                        <div id=\"tab-3\" class=\"tab-pane fade\">\n                            ";
     // line 204
     $context['_parent'] = $context;
     $context['_seq'] = twig_ensure_traversable(isset($context["products"]) ? $context["products"] : $this->getContext($context, "products"));
     foreach ($context['_seq'] as $context["_key"] => $context["prod"]) {
         // line 205
         echo "                                <h1 class=\"dji-title\">\n                                    <span>DESCRIPTION </span>\n                                    <span class=\"dji-subtitle\">";
         // line 207
         echo twig_escape_filter($this->env, $this->getAttribute($context["prod"], "name", array()), "html", null, true);
         echo "</span>\n                                </h1>\n                                <p>";
         // line 209
         echo $this->getAttribute($context["prod"], "description", array());
         echo "</p>\n                            ";
     }
     $_parent = $context['_parent'];
     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['prod'], $context['_parent'], $context['loop']);
     $context = array_intersect_key($context, $_parent) + $_parent;
     // line 211
     echo "                        </div>\n                        <div id=\"tab-4\" class=\"tab-pane fade\">\n                        ";
     // line 213
     $context['_parent'] = $context;
     $context['_seq'] = twig_ensure_traversable(isset($context["products"]) ? $context["products"] : $this->getContext($context, "products"));
     foreach ($context['_seq'] as $context["_key"] => $context["prod"]) {
         // line 214
         echo "                            ";
         $context['_parent'] = $context;
         $context['_seq'] = twig_ensure_traversable($this->getAttribute($context["prod"], "video", array()));
         foreach ($context['_seq'] as $context["_key"] => $context["video"]) {
             // line 215
             echo "                                ";
             echo $this->getAttribute($context["video"], "url", array());
             echo "\n                            ";
         }
         $_parent = $context['_parent'];
         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['video'], $context['_parent'], $context['loop']);
         $context = array_intersect_key($context, $_parent) + $_parent;
         // line 217
         echo "                        ";
     }
     $_parent = $context['_parent'];
     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['prod'], $context['_parent'], $context['loop']);
     $context = array_intersect_key($context, $_parent) + $_parent;
     // line 218
     echo "                        </div>\n                    </div>\n                </div>\n            </div>\n        </section>\n        <!-- //end Tabs -->\n\n        <!-- //end Upsell products -->\n\n    </section>\n    <!-- //end Two columns content -->\n\n";
     $__internal_1c589f17f1334f71d4af93ea8d2319831e614ed0ea870388329c2e27f23b0d0a->leave($__internal_1c589f17f1334f71d4af93ea8d2319831e614ed0ea870388329c2e27f23b0d0a_prof);
 }
 public function getbytesToSize($__bytes__ = null)
 {
     $context = $this->env->mergeGlobals(array("bytes" => $__bytes__, "varargs" => func_num_args() > 1 ? array_slice(func_get_args(), 1) : array()));
     $blocks = array();
     ob_start();
     try {
         // line 2
         ob_start();
         // line 3
         echo "        ";
         $context["kilobyte"] = 1024;
         // line 4
         echo "        ";
         $context["megabyte"] = (isset($context["kilobyte"]) ? $context["kilobyte"] : null) * 1024;
         // line 5
         echo "        ";
         $context["gigabyte"] = (isset($context["megabyte"]) ? $context["megabyte"] : null) * 1024;
         // line 6
         echo "        ";
         $context["terabyte"] = (isset($context["gigabyte"]) ? $context["gigabyte"] : null) * 1024;
         // line 7
         echo "\n        ";
         // line 8
         if ((isset($context["bytes"]) ? $context["bytes"] : null) < (isset($context["kilobyte"]) ? $context["kilobyte"] : null)) {
             // line 9
             echo "            ";
             echo twig_escape_filter($this->env, (isset($context["bytes"]) ? $context["bytes"] : null) . " B", "html", null, true);
             echo "\n        ";
         } elseif ((isset($context["bytes"]) ? $context["bytes"] : null) < (isset($context["megabyte"]) ? $context["megabyte"] : null)) {
             // line 11
             echo "            ";
             echo twig_escape_filter($this->env, twig_number_format_filter($this->env, (isset($context["bytes"]) ? $context["bytes"] : null) / (isset($context["kilobyte"]) ? $context["kilobyte"] : null), 2, ".") . " KB", "html", null, true);
             echo "\n        ";
         } elseif ((isset($context["bytes"]) ? $context["bytes"] : null) < (isset($context["gigabyte"]) ? $context["gigabyte"] : null)) {
             // line 13
             echo "            ";
             echo twig_escape_filter($this->env, twig_number_format_filter($this->env, (isset($context["bytes"]) ? $context["bytes"] : null) / (isset($context["megabyte"]) ? $context["megabyte"] : null), 2, ".") . " MB", "html", null, true);
             echo "\n        ";
         } elseif ((isset($context["bytes"]) ? $context["bytes"] : null) < (isset($context["terabyte"]) ? $context["terabyte"] : null)) {
             // line 15
             echo "            ";
             echo twig_escape_filter($this->env, twig_number_format_filter($this->env, (isset($context["bytes"]) ? $context["bytes"] : null) / (isset($context["gigabyte"]) ? $context["gigabyte"] : null), 2, ".") . " GB", "html", null, true);
             echo "\n        ";
         } else {
             // line 17
             echo "            ";
             echo twig_escape_filter($this->env, twig_number_format_filter($this->env, (isset($context["bytes"]) ? $context["bytes"] : null) / (isset($context["terabyte"]) ? $context["terabyte"] : null), 2, ".") . " TB", "html", null, true);
             echo "\n        ";
         }
         // line 19
         echo "    ";
         echo trim(preg_replace('/>\\s+</', '><', ob_get_clean()));
     } catch (Exception $e) {
         ob_end_clean();
         throw $e;
     }
     return '' === ($tmp = ob_get_clean()) ? '' : new Twig_Markup($tmp, $this->env->getCharset());
 }