Вход Регистрация
Файл: cache/ec/68/b0d9faf2b8bb8fffd8c7218241027dd9623e58df6a87b2bf089bb218b69e.php
Строк: 121
<?php

/* reviews.tpl */
class __TwigTemplate_ec68b0d9faf2b8bb8fffd8c7218241027dd9623e58df6a87b2bf089bb218b69e 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 "

<div class="
mz"><div class="obvodka4">
Добавить отзыв:<br />
<form action="" method="
POST">
Ваше имя:<br />
<input type="
text" name="name" /><br />
Отзыв:<br />
<textarea name="
text"></textarea><br />
Тип отзыва:<br />
<select name="
type">
<option value="
1">Положительный</option>
<option value="
0">Отрицательный</option>
</select>
<img src="
/captcha" alt="capthca" /><br />
Символы с изображения:<br />
<input type="
text" name="captcha" />
<input type="
submit" name="submit" value="Оставить отзыв" />
</form>
</div></div>



"
;
        
// line 25
        
$context['_parent'] = (array) $context;
        
$context['_seq'] = twig_ensure_traversable((isset($context["array"]) ? $context["array"] : null));
        foreach (
$context['_seq'] as $context["_key"] => $context["row"]) {
            
// line 26
            
echo "<div class="mz4"><div class="obvodka4">
<b>"
;
            
// line 27
            
echo twig_escape_filter($this->env$this->getAttribute((isset($context["row"]) ? $context["row"] : null), "name"), "html"nulltrue);
            echo 
"</b> (";
            echo 
twig_escape_filter($this->env$this->getAttribute((isset($context["row"]) ? $context["row"] : null), "datez"), "html"nulltrue);
            echo 
")<br />
"
;
            
// line 28
            
if (($this->getAttribute((isset($context["row"]) ? $context["row"] : null), "type") == 1)) {
                echo 
"<img class="img_l" src="/Liked.png"  alt="»" /> <b>Положительный</b>.
"
;
            } else {
                
// line 29
                
echo " <img class="img_l" src="/Liken.png"  alt="»" /> <b>Отрицательный</b>.
"
;
            }
            
// line 30
            
echo " ";
            echo 
twig_escape_filter($this->env$this->getAttribute((isset($context["row"]) ? $context["row"] : null), "text"), "html"nulltrue);
            echo 
"
</div></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 33
        
if ((isset($context["empty"]) ? $context["empty"] : null)) {
            
// line 34
            
echo "<div id="error" class="menu">";
            echo 
twig_escape_filter($this->env, (isset($context["empty"]) ? $context["empty"] : null), "html"nulltrue);
            echo 
"</div>
"
;
        }
        
// line 37
        
echo "
"
;
        
// line 38
        
echo (isset($context["pages"]) ? $context["pages"] : null);
        echo 
"
"
;
        
// line 40
        
echo "</div>

<a class="
link5" href="/"><img src="/dir.png"> На главную</a>

"
;
        
// line 44
        
$this->env->loadTemplate("footer.tpl")->display($context);
    }

    public function 
getTemplateName()
    {
        return 
"reviews.tpl";
    }

    public function 
isTraitable()
    {
        return 
false;
    }

    public function 
getDebugInfo()
    {
        return array (  
99 => 44,  93 => 40,  89 => 38,  86 => 37,  80 => 34,  78 => 33,  68 => 30,  64 => 29,  59 => 28,  53 => 27,  50 => 26,  46 => 25,  21 => 2,  19 => 1,);
    }
}
Онлайн: 1
Реклама