Файл: cache/a1/d3/c9b27af366e31a7f3246153999d260b22fcc933f64e4e0600f84990cf332.php
Строк: 102
<?php
/* category.tpl */
class __TwigTemplate_a1d3c9b27af366e31a7f3246153999d260b22fcc933f64e4e0600f84990cf332 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
$this->env->loadTemplate("header.tpl")->display($context);
// line 2
echo "
";
// line 3
$context['_parent'] = (array) $context;
$context['_seq'] = twig_ensure_traversable((isset($context["array"]) ? $context["array"] : null));
foreach ($context['_seq'] as $context["_key"] => $context["row"]) {
// line 4
echo "<div class="menu">
<img src="/cache/projects/";
// line 5
echo twig_escape_filter($this->env, $this->getAttribute((isset($context["row"]) ? $context["row"] : null), "id"), "html", null, true);
echo "/thumb.png" style = "width: 50px; height: 50px; border-radius: 3px; border: 2px solid #b9b9b9;" alt="Preview" />
<a href="/project/";
// line 6
echo twig_escape_filter($this->env, $this->getAttribute((isset($context["row"]) ? $context["row"] : null), "id"), "html", null, true);
echo "">";
echo twig_escape_filter($this->env, $this->getAttribute((isset($context["row"]) ? $context["row"] : null), "name"), "html", null, true);
echo "</a>
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['row'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 9
echo "
";
// line 10
if ((isset($context["empty"]) ? $context["empty"] : null)) {
// line 11
echo "<div id="error" class="menu">";
echo twig_escape_filter($this->env, (isset($context["empty"]) ? $context["empty"] : null), "html", null, true);
echo "</div>
";
}
// line 13
echo "
";
// line 15
echo (isset($context["pages"]) ? $context["pages"] : null);
echo "
";
// line 17
echo "</div>
<a class="link5" href="/"><img src="/dir.png"> На главную</a>
";
// line 21
$this->env->loadTemplate("footer.tpl")->display($context);
}
public function getTemplateName()
{
return "category.tpl";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 70 => 21, 64 => 17, 60 => 15, 57 => 13, 51 => 11, 49 => 10, 46 => 9, 35 => 6, 31 => 5, 28 => 4, 24 => 3, 21 => 2, 19 => 1,);
}
}