core/skin/virtual-nt.ru/inc/gb.html

53 lines
2.5 KiB
HTML
Executable File
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{include file=$header h1="Гостевая книга" title="Гостевая книга"}
<section class="container">
<form id="send_obr" method='post' action='/act/gb' class="col-xs col-sm col-md col-lg col-xl">
<input type="hidden" value="send_obr" name="act">
<div class="form-group">
<label for="fio">Фамилия, имя, отчество</label>
<input type="text" class="form-control" id="fio" name="fio">
</div>
<div class="form-group">
<label for="tel">Текст обращения</label>
<textarea class="form-control" id="tel" name="txt" style="height: 250px;"></textarea>
</div>
<div class="form-group">
<label for="capcha">Введите символы с картинки:</label>
{$smarty.const.CAPCHA}
<input type="text" class="form-control" id="capcha" name="capcha">
</div>
<button type="submit" class="btn btn-primary">Отправить</button>
</form>
<div class="alert alert-success hidden" role="alert" id="res_ok">
Ваш отзыв успешно отправлен и будет опубликован после модерации
</div>
<div class="alert alert-danger hidden" role="alert" id="res_bad">
Произошла ошибка, возможно не верно введен проверочный код
</div>
<h2 style="margin-top:10px;">Отзывы:</h2>
{section name=customer loop=$list}
{if $list[customer].id}
<div class="card" style="margin-top: 15px;">
<div class="card-header">
{$list[customer].fio} <small>{$list[customer].t|date_format:"%d.%m.%Y %H:%M:%S"}</small>
</div>
<div class="card-body">
<p class="card-text">{$list[customer].txt|br}</p>
{if ($list[customer].otvet)}
<h5>Ответ администрации:</h5>
<div class="card">
<div class="card-header">
{$list[customer].avtor}
</div>
<div class="card-body">
<p class="card-text"> {$list[customer].otvet|br}</p>
</div>
</div>
{/if}
</div>
</div>
{/if}
{/section}
{$tuda_suda}
</section>
{include file=$footer}