<div class=title2>{{lang.guest_title}}</div>
{% if user > 0  %}
<div class="mess"><form method="POST">
<input type="hidden" value="{{crfs}}" name="csrf">
<textarea name="msg" placeholder="{{lang.guest_msg}}"></textarea><br>
<div style="padding: 10px;">{{lang.captha}}:</div>
<img class="captcha" src = "/modules/captcha.php" width="120" height="40"/><br/>
<input type="text" name="capcha"><br>
<input type="submit" name="ok" value="{{lang.w_add}}">
</form></div>
{% else %}
<div class=mess>{{lang.guest_no_auth}}</div>
{% endif %}
<div style="margin-bottom:10px;"></div>
<div id="content">
{% for mm in guest %}
    <div id="{{mm.id}}">
        <div class=title>{{mm.who.login}} {% if user > 1 %}(<a href="?del={{mm.id}}">{{lang.w_del}}</a>){% endif %} <span class=c>({{mm.time}})</span></div>
        <div class=mess>{% autoescape false %}{{mm.msg}}{% endautoescape %}<br></div>
    </div>
    <div style="margin-bottom:10px;"></div>
{% endfor %}
</div>
