Файл: cache/13/d5/db82e93e1278ad12caaf6b40b83ac8872c26cb933cdac69cd50a025a8c20.php
Строк: 107
<?php
/* management/contacts.tpl */
class __TwigTemplate_13d5db82e93e1278ad12caaf6b40b83ac8872c26cb933cdac69cd50a025a8c20 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">
";
// line 5
echo twig_escape_filter($this->env, $this->getAttribute((isset($context["row"]) ? $context["row"] : null), "name"), "html", null, true);
echo ":
";
// line 6
echo twig_escape_filter($this->env, $this->getAttribute((isset($context["row"]) ? $context["row"] : null), "value"), "html", null, true);
echo "
<span style="float: right;">[<a href="?delete=";
// line 7
echo twig_escape_filter($this->env, $this->getAttribute((isset($context["row"]) ? $context["row"] : null), "id"), "html", null, true);
echo "">удалить</a>]</span></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 11
echo (isset($context["pages"]) ? $context["pages"] : null);
echo "
";
// line 13
echo "</div>
<div class="list">
Добавить контакт:<br />
<form action="" method="POST">
Название:<br />
<input type="text" name="name" /><br />
Значение:<br />
<input type="text" name="value" /><br />
<input name="submit" type="submit" value="Добавить" />
</form>
</div>
<div class="menu"><a href="/management/">В админ-панель</a></div>
";
// line 27
$this->env->loadTemplate("footer.tpl")->display($context);
}
public function getTemplateName()
{
return "management/contacts.tpl";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 70 => 27, 54 => 13, 50 => 11, 47 => 9, 39 => 7, 35 => 6, 31 => 5, 28 => 4, 24 => 3, 21 => 2, 19 => 1,);
}
}