var/cache/dev/twig/60/609c896fb83dcd184822abe644e21255f7bf954f35a10262467962d24fa5f5f3.php line 38

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* theme_learts/browse_levelX.html.twig */
  14. class __TwigTemplate_0976ef3ee91172ae76e1b910ed0207b7bde44d0694b7ec7adfd9018f916ec838 extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'maincontent' => [$this'block_maincontent'],
  24.         ];
  25.     }
  26.     protected function doGetParent(array $context)
  27.     {
  28.         // line 1
  29.         return $this->loadTemplate((("theme_" twig_constant("config_theme")) . "/base.html.twig"), "theme_learts/browse_levelX.html.twig"1);
  30.     }
  31.     protected function doDisplay(array $context, array $blocks = [])
  32.     {
  33.         $macros $this->macros;
  34.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  35.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""theme_learts/browse_levelX.html.twig"));
  36.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  37.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""theme_learts/browse_levelX.html.twig"));
  38.         $this->getParent($context)->display($contextarray_merge($this->blocks$blocks));
  39.         
  40.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  41.         
  42.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  43.     }
  44.     // line 3
  45.     public function block_maincontent($context, array $blocks = [])
  46.     {
  47.         $macros $this->macros;
  48.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  49.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""maincontent"));
  50.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  51.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""maincontent"));
  52.         // line 4
  53.         echo "    <main>
  54.         <div id=\"shopify-section-template--14120798879801__main\" class=\"shopify-section\">
  55.             <div class=\"section section-padding pt-0\" data-section=\"collectionTemplate\">
  56.                 <div class=\"shop-toolbar  section-fluid  border-bottom\">
  57.                     <div class=\"container\">
  58.                         <div class=\"row learts-mb-n20 align-items-center\">
  59.                             <!-- Isotop Filter Start -->
  60.                             <div class=\"filter-icons col-md col-12 align-self-center learts-mb-20\">
  61.                                 <div class=\"product-column-toggle d-none d-xl-flex\">
  62.                                     <button class=\"toggle active hintT-top\" data-target=\"five-column\" data-hint=\"5 Column\" data-column=\"5\"><i class=\"ti-layout-grid4-alt\"></i></button>
  63.                                     <button class=\"toggle hintT-top\" data-target=\"four-column\" data-hint=\"4 Column\" data-column=\"4\"><i class=\"ti-layout-grid3-alt\"></i></button>
  64.                                     <button class=\"toggle hintT-top\" data-target=\"three-column\" data-hint=\"3 Column\" data-column=\"3\"><i class=\"ti-layout-grid2-alt\"></i></button>
  65.                                     <button class=\"toggle hintT-top\" data-target=\"grid-list\" data-hint=\"List View\" data-column=\"1\"><i class=\"ti-view-list-alt\"></i></button>
  66.                                 </div>
  67.                             </div>
  68.                             <!-- Isotop Filter End -->
  69.                             <div class=\"col-md-auto col-12 learts-mb-20\">
  70.                                 <ul class=\"shop-toolbar-controls shopbar_right_info\">
  71.                                     <li class=\"product-sorting single-icon filter-dropdown d-none d-sm-block\">
  72.                                         <label for=\"SortBy\">Sort by: </label>
  73.                                         <select class=\"sorting-nice-select\" name=\"SortBy\" id=\"SortBy\">
  74.                                             <option value=\"manual\">Featured</option>
  75.                                             <option value=\"best-selling\">Best Selling</option>
  76.                                             <option value=\"title-ascending\">Alphabetically, A-Z</option>
  77.                                             <option value=\"title-descending\">Alphabetically, Z-A</option>
  78.                                             <option value=\"price-ascending\">Price, low to high</option>
  79.                                             <option value=\"price-descending\">Price, high to low</option>
  80.                                             <option value=\"created-descending\">Date, new to old</option>
  81.                                             <option value=\"created-ascending\">Date, old to new</option>
  82.                                         </select>
  83.                                     </li>
  84.                                     <li class=\"single-icon advance-filter-icon d-lg-none\">
  85.                                         <a class=\"product-filter-toggle\" href=\"#product-filter\" id=\"advance-filter-active-btn\"><i class=\"ion-android-funnel\"></i> Filters</a>
  86.                                     </li>
  87.                                 </ul>
  88.                             </div>
  89.                             <div class=\"section learts-mt-70 section-fluid\">
  90.                                 <div class=\"container\">
  91.                                     <div class=\"row\">
  92.                                         <div class=\"col-lg-12 col-12 learts-mb-50 order-lg-2\">
  93.                                             <div id=\"Huratips-Loop\" class=\"products  row row-cols-xl-5 row-cols-md-3 row-cols-sm-2 row-cols-1 shop-product-wrap five-column\">
  94.                                                 ";
  95.         // line 48
  96.         $context['_parent'] = $context;
  97.         $context['_seq'] = twig_ensure_traversable((isset($context["files"]) || array_key_exists("files"$context) ? $context["files"] : (function () { throw new RuntimeError('Variable "files" does not exist.'48$this->source); })()));
  98.         foreach ($context['_seq'] as $context["_key"] => $context["f"]) {
  99.             // line 49
  100.             echo "                                                    <div class=\"col-12 col-sm-6 col-lg-4 col-md-6 col-sm-6 mb-45grid-item col\">
  101.                                                         <div class=\"col\">
  102.                                                             <div class=\"product\">
  103.                                                                 <div class=\"product-thumb\">
  104.                                                                     <a href=\"/Produkt/";
  105.             // line 53
  106.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["f"], "id", [], "any"falsefalsefalse53), "html"nulltrue);
  107.             echo "\" class=\"image\">
  108. ";
  109.             // line 57
  110.             echo "                                                                        <img src=\"/previewimages/";
  111.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["f"], "previewimage", [], "any"falsefalsefalse57), "html"nulltrue);
  112.             echo "\" alt=\"Product Image\">
  113.                                                                     </a>
  114.                                                                     <a href=\"javascript:\" class=\"add-to-wishlist hintT-left\" data-hint=\"Add to wishlist\"><i class=\"far fa-heart\"></i></a>
  115.                                                                 </div>
  116.                                                                 <div class=\"product-info\">
  117.                                                                     <h6 class=\"title\"><a href=\"product-details.html\">";
  118.             // line 62
  119.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["f"], "name", [], "any"falsefalsefalse62), "html"nulltrue);
  120.             echo "</a></h6>
  121. ";
  122.             // line 70
  123.             echo "                                                                </div>
  124.                                                             </div>
  125.                                                         </div>
  126.                                                     </div>
  127.                                                 ";
  128.         }
  129.         $_parent $context['_parent'];
  130.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['f'], $context['_parent'], $context['loop']);
  131.         $context array_intersect_key($context$_parent) + $_parent;
  132.         // line 75
  133.         echo "                                            </div>
  134.                                             <div id=\"Huratips-Pagination\" class=\"text-center learts-mt-70\">
  135.                                             </div>
  136.                                         </div>
  137.                                     </div>
  138.                                 </div>
  139.                             </div>
  140.                         </div>
  141.                     </div>
  142.                 </div>
  143.             </div>
  144.         </div>
  145.     </main>
  146. ";
  147.         
  148.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  149.         
  150.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  151.     }
  152.     public function getTemplateName()
  153.     {
  154.         return "theme_learts/browse_levelX.html.twig";
  155.     }
  156.     public function isTraitable()
  157.     {
  158.         return false;
  159.     }
  160.     public function getDebugInfo()
  161.     {
  162.         return array (  150 => 75,  140 => 70,  136 => 62,  127 => 57,  123 => 53,  117 => 49,  113 => 48,  67 => 4,  57 => 3,  35 => 1,);
  163.     }
  164.     public function getSourceContext()
  165.     {
  166.         return new Source("{% extends 'theme_' ~ constant('config_theme') ~ '/base.html.twig' %}
  167. {% block maincontent %}
  168.     <main>
  169.         <div id=\"shopify-section-template--14120798879801__main\" class=\"shopify-section\">
  170.             <div class=\"section section-padding pt-0\" data-section=\"collectionTemplate\">
  171.                 <div class=\"shop-toolbar  section-fluid  border-bottom\">
  172.                     <div class=\"container\">
  173.                         <div class=\"row learts-mb-n20 align-items-center\">
  174.                             <!-- Isotop Filter Start -->
  175.                             <div class=\"filter-icons col-md col-12 align-self-center learts-mb-20\">
  176.                                 <div class=\"product-column-toggle d-none d-xl-flex\">
  177.                                     <button class=\"toggle active hintT-top\" data-target=\"five-column\" data-hint=\"5 Column\" data-column=\"5\"><i class=\"ti-layout-grid4-alt\"></i></button>
  178.                                     <button class=\"toggle hintT-top\" data-target=\"four-column\" data-hint=\"4 Column\" data-column=\"4\"><i class=\"ti-layout-grid3-alt\"></i></button>
  179.                                     <button class=\"toggle hintT-top\" data-target=\"three-column\" data-hint=\"3 Column\" data-column=\"3\"><i class=\"ti-layout-grid2-alt\"></i></button>
  180.                                     <button class=\"toggle hintT-top\" data-target=\"grid-list\" data-hint=\"List View\" data-column=\"1\"><i class=\"ti-view-list-alt\"></i></button>
  181.                                 </div>
  182.                             </div>
  183.                             <!-- Isotop Filter End -->
  184.                             <div class=\"col-md-auto col-12 learts-mb-20\">
  185.                                 <ul class=\"shop-toolbar-controls shopbar_right_info\">
  186.                                     <li class=\"product-sorting single-icon filter-dropdown d-none d-sm-block\">
  187.                                         <label for=\"SortBy\">Sort by: </label>
  188.                                         <select class=\"sorting-nice-select\" name=\"SortBy\" id=\"SortBy\">
  189.                                             <option value=\"manual\">Featured</option>
  190.                                             <option value=\"best-selling\">Best Selling</option>
  191.                                             <option value=\"title-ascending\">Alphabetically, A-Z</option>
  192.                                             <option value=\"title-descending\">Alphabetically, Z-A</option>
  193.                                             <option value=\"price-ascending\">Price, low to high</option>
  194.                                             <option value=\"price-descending\">Price, high to low</option>
  195.                                             <option value=\"created-descending\">Date, new to old</option>
  196.                                             <option value=\"created-ascending\">Date, old to new</option>
  197.                                         </select>
  198.                                     </li>
  199.                                     <li class=\"single-icon advance-filter-icon d-lg-none\">
  200.                                         <a class=\"product-filter-toggle\" href=\"#product-filter\" id=\"advance-filter-active-btn\"><i class=\"ion-android-funnel\"></i> Filters</a>
  201.                                     </li>
  202.                                 </ul>
  203.                             </div>
  204.                             <div class=\"section learts-mt-70 section-fluid\">
  205.                                 <div class=\"container\">
  206.                                     <div class=\"row\">
  207.                                         <div class=\"col-lg-12 col-12 learts-mb-50 order-lg-2\">
  208.                                             <div id=\"Huratips-Loop\" class=\"products  row row-cols-xl-5 row-cols-md-3 row-cols-sm-2 row-cols-1 shop-product-wrap five-column\">
  209.                                                 {% for f in files %}
  210.                                                     <div class=\"col-12 col-sm-6 col-lg-4 col-md-6 col-sm-6 mb-45grid-item col\">
  211.                                                         <div class=\"col\">
  212.                                                             <div class=\"product\">
  213.                                                                 <div class=\"product-thumb\">
  214.                                                                     <a href=\"/Produkt/{{ f.id }}\" class=\"image\">
  215. {#                                                                        <span class=\"product-badges\">#}
  216. {#                                                                            <span class=\"onsale\">-13%</span>#}
  217. {#                                                                        </span>#}
  218.                                                                         <img src=\"/previewimages/{{ f.previewimage }}\" alt=\"Product Image\">
  219.                                                                     </a>
  220.                                                                     <a href=\"javascript:\" class=\"add-to-wishlist hintT-left\" data-hint=\"Add to wishlist\"><i class=\"far fa-heart\"></i></a>
  221.                                                                 </div>
  222.                                                                 <div class=\"product-info\">
  223.                                                                     <h6 class=\"title\"><a href=\"product-details.html\">{{ f.name }}</a></h6>
  224. {#                                                                    <span class=\"price\">#}
  225. {#                                                                        <span class=\"old\">\$45.00</span>#}
  226. {#                                                                        <span class=\"new\">\$39.00</span>#}
  227. {#                                                                    </span>#}
  228. {#                                                                    <div class=\"product-buttons\">#}
  229. {#                                                                        <a href=\"#\" class=\"product-button hintT-top\" data-hint=\"Legg i handlekurv\"><i class=\"fal fa-shopping-cart\"></i></a>#}
  230. {#                                                                    </div>#}
  231.                                                                 </div>
  232.                                                             </div>
  233.                                                         </div>
  234.                                                     </div>
  235.                                                 {% endfor %}
  236.                                             </div>
  237.                                             <div id=\"Huratips-Pagination\" class=\"text-center learts-mt-70\">
  238.                                             </div>
  239.                                         </div>
  240.                                     </div>
  241.                                 </div>
  242.                             </div>
  243.                         </div>
  244.                     </div>
  245.                 </div>
  246.             </div>
  247.         </div>
  248.     </main>
  249. {% endblock %}
  250. ""theme_learts/browse_levelX.html.twig""/var/www/html/webtoprint/SymfonyTemplate/templates/theme_learts/browse_levelX.html.twig");
  251.     }
  252. }