File "90143877095afd2891b894cd30797ebcaa81b4c95b599efa2d71ebf8189cfc62.php"
Full path: /home/cakedeco/retaildirectonline.co.uk/system/storage/cache/90/90143877095afd2891b894cd30797ebcaa81b4c95b599efa2d71ebf8189cfc62.php
File
size: 10.03 B
MIME-type: text/x-php
Charset: utf-8
Download Open Edit Advanced Editor &nnbsp; Back
<?php
/* default/template/product/manufacturer_list.twig */
class __TwigTemplate_7ffd67dd2ce395ec0896a87ea86fded39f94ebb6fbc9c949661c53858bd07d17 extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = array(
);
}
protected function doDisplay(array $context, array $blocks = array())
{
// line 1
echo (isset($context["header"]) ? $context["header"] : null);
echo "
<div id=\"product-manufacturer\" class=\"container\">
<ul class=\"breadcrumb\">
";
// line 4
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["breadcrumbs"]) ? $context["breadcrumbs"] : null));
foreach ($context['_seq'] as $context["_key"] => $context["breadcrumb"]) {
// line 5
echo " <li><a href=\"";
echo $this->getAttribute($context["breadcrumb"], "href", array());
echo "\">";
echo $this->getAttribute($context["breadcrumb"], "text", array());
echo "</a></li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['breadcrumb'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 7
echo " </ul>
<div class=\"row\">";
// line 8
echo (isset($context["column_left"]) ? $context["column_left"] : null);
echo "
";
// line 9
if (((isset($context["column_left"]) ? $context["column_left"] : null) && (isset($context["column_right"]) ? $context["column_right"] : null))) {
// line 10
echo " ";
$context["class"] = "col-sm-6";
// line 11
echo " ";
} elseif (((isset($context["column_left"]) ? $context["column_left"] : null) || (isset($context["column_right"]) ? $context["column_right"] : null))) {
// line 12
echo " ";
$context["class"] = "col-sm-9";
// line 13
echo " ";
} else {
// line 14
echo " ";
$context["class"] = "col-sm-12";
// line 15
echo " ";
}
// line 16
echo " <div id=\"content\" class=\"";
echo (isset($context["class"]) ? $context["class"] : null);
echo "\">";
echo (isset($context["content_top"]) ? $context["content_top"] : null);
echo "
<h1>";
// line 17
echo (isset($context["heading_title"]) ? $context["heading_title"] : null);
echo "</h1>
";
// line 18
if ((isset($context["categories"]) ? $context["categories"] : null)) {
// line 19
echo " <p><strong>";
echo (isset($context["text_index"]) ? $context["text_index"] : null);
echo "</strong> ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["categories"]) ? $context["categories"] : null));
foreach ($context['_seq'] as $context["_key"] => $context["category"]) {
// line 20
echo " <a href=\"index.php?route=product/manufacturer#";
echo $this->getAttribute($context["category"], "name", array());
echo "\">";
echo $this->getAttribute($context["category"], "name", array());
echo "</a> ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['category'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
echo " </p>
";
// line 21
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["categories"]) ? $context["categories"] : null));
foreach ($context['_seq'] as $context["_key"] => $context["category"]) {
// line 22
echo " <h2 id=\"";
echo $this->getAttribute($context["category"], "name", array());
echo "\">";
echo $this->getAttribute($context["category"], "name", array());
echo "</h2>
";
// line 23
if ($this->getAttribute($context["category"], "manufacturer", array())) {
// line 24
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_array_batch($this->getAttribute($context["category"], "manufacturer", array()), 4));
foreach ($context['_seq'] as $context["_key"] => $context["manufacturers"]) {
// line 25
echo " <div class=\"row\"> ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable($context["manufacturers"]);
foreach ($context['_seq'] as $context["_key"] => $context["manufacturer"]) {
// line 26
echo " <div class=\"col-sm-3\"><a href=\"";
echo $this->getAttribute($context["manufacturer"], "href", array());
echo "\">";
echo $this->getAttribute($context["manufacturer"], "name", array());
echo "</a></div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['manufacturer'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 27
echo " </div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['manufacturers'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 29
echo " ";
}
// line 30
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['category'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 31
echo " ";
} else {
// line 32
echo " <p>";
echo (isset($context["text_empty"]) ? $context["text_empty"] : null);
echo "</p>
<div class=\"buttons clearfix\">
<div class=\"pull-right\"><a href=\"";
// line 34
echo (isset($context["continue"]) ? $context["continue"] : null);
echo "\" class=\"btn btn-primary\">";
echo (isset($context["button_continue"]) ? $context["button_continue"] : null);
echo "</a></div>
</div>
";
}
// line 37
echo " ";
echo (isset($context["content_bottom"]) ? $context["content_bottom"] : null);
echo "</div>
";
// line 38
echo (isset($context["column_right"]) ? $context["column_right"] : null);
echo "</div>
</div>
";
// line 40
echo (isset($context["footer"]) ? $context["footer"] : null);
}
public function getTemplateName()
{
return "default/template/product/manufacturer_list.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 176 => 40, 171 => 38, 166 => 37, 158 => 34, 152 => 32, 149 => 31, 143 => 30, 140 => 29, 133 => 27, 122 => 26, 117 => 25, 112 => 24, 110 => 23, 103 => 22, 99 => 21, 87 => 20, 80 => 19, 78 => 18, 74 => 17, 67 => 16, 64 => 15, 61 => 14, 58 => 13, 55 => 12, 52 => 11, 49 => 10, 47 => 9, 43 => 8, 40 => 7, 29 => 5, 25 => 4, 19 => 1,);
}
}
/* {{ header }}*/
/* <div id="product-manufacturer" class="container">*/
/* <ul class="breadcrumb">*/
/* {% for breadcrumb in breadcrumbs %}*/
/* <li><a href="{{ breadcrumb.href }}">{{ breadcrumb.text }}</a></li>*/
/* {% endfor %}*/
/* </ul>*/
/* <div class="row">{{ column_left }}*/
/* {% if column_left and column_right %}*/
/* {% set class = 'col-sm-6' %}*/
/* {% elseif column_left or column_right %}*/
/* {% set class = 'col-sm-9' %}*/
/* {% else %}*/
/* {% set class = 'col-sm-12' %}*/
/* {% endif %}*/
/* <div id="content" class="{{ class }}">{{ content_top }}*/
/* <h1>{{ heading_title }}</h1>*/
/* {% if categories %}*/
/* <p><strong>{{ text_index }}</strong> {% for category in categories %}*/
/* <a href="index.php?route=product/manufacturer#{{ category.name }}">{{ category.name }}</a> {% endfor %} </p>*/
/* {% for category in categories %}*/
/* <h2 id="{{ category.name }}">{{ category.name }}</h2>*/
/* {% if category.manufacturer %}*/
/* {% for manufacturers in category.manufacturer|batch(4) %}*/
/* <div class="row"> {% for manufacturer in manufacturers %}*/
/* <div class="col-sm-3"><a href="{{ manufacturer.href }}">{{ manufacturer.name }}</a></div>*/
/* {% endfor %} </div>*/
/* {% endfor %}*/
/* {% endif %}*/
/* {% endfor %}*/
/* {% else %}*/
/* <p>{{ text_empty }}</p>*/
/* <div class="buttons clearfix">*/
/* <div class="pull-right"><a href="{{ continue }}" class="btn btn-primary">{{ button_continue }}</a></div>*/
/* </div>*/
/* {% endif %}*/
/* {{ content_bottom }}</div>*/
/* {{ column_right }}</div>*/
/* </div>*/
/* {{ footer }}*/