public function block_mainContent($context, array $blocks = array()) { // line 5 echo " <div class=\"row\">\n <div class=\"col-md-6\">\n <h2>Dina uppgifter i matrikeln</h2>\n <p>Användarnmn, namn, adress mm.</p>\n\n "; // line 10 echo twig_var_dump($this->env, $context); echo "\n </div>\n <div class=\"col-md-6\">\n <h2>Inloggningsuppgifter</h2>\n <p>\n Användarnamn: "; // line 15 echo twig_escape_filter($this->env, twig_capitalize_string_filter($this->env, $this->getAttribute(isset($context["activeUser"]) ? $context["activeUser"] : null, "username", array())), "html", null, true); echo "<br />\n E-postadress: "; // line 16 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["activeUser"]) ? $context["activeUser"] : null, "email", array()), "html", null, true); echo "<br />\n </p>\n <hr>\n\n <form action=\""; // line 20 echo twig_escape_filter($this->env, isset($context["siteUrl"]) ? $context["siteUrl"] : null, "html", null, true); echo "mypage\" method=\"post\">\n "; // line 21 echo isset($context["validation_errors"]) ? $context["validation_errors"] : null; echo "\n <div class=\"form-group\">\n <label for=\"pass\">Nytt lösenord</label>\n <input type=\"password\" name=\"pass\" class=\"form-control\" id=\"pass\" placeholder=\"Nytt lösenord\">\n </div>\n <div class=\"form-group\">\n <label for=\"pass2\">Repetera nytt lösenord</label>\n <input type=\"password\" name=\"pass2\" class=\"form-control\" id=\"pass2\" placeholder=\"Repetera nytt lösenord\">\n </div>\n <input type=\"submit\" class=\"btn btn-default\" value=\"Spara\" />\n </form>\n </div>\n </div>\n"; }
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\">−</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); }
protected function doDisplay(array $context, array $blocks = array()) { // line 1 echo twig_escape_filter($this->env, twig_var_dump($this->env, $context), "html", null, true); }