42 lines
1.5 KiB
HTML
42 lines
1.5 KiB
HTML
{include file=$header title="Мои пользователи" description="Мои пользователи"}
|
|
|
|
|
|
<section class="container">
|
|
<h1 class="text-center">Мои пользователи</h1>
|
|
<fieldset class="col-xs col-sm col-md-4 col-lg-4 col-xl-6 col-xxl-6">
|
|
<legend>Добавить пользователя</legend>
|
|
<form action="" method="POST">
|
|
E-mail: <small>(Можно выдумывать на ходу)</small>
|
|
<input type="email" class="form-control" name="email"> Пароль:
|
|
<input type="password" class="form-control" name="pwd"> Коментарий:
|
|
<input type="text" class="form-control" name="txt">
|
|
<input type="submit" class="btn btn-outline-success" value="Добавить" name="ok">
|
|
|
|
</form>
|
|
{if ($error)}
|
|
<div class="alert alert-danger" role="alert">
|
|
{$error}
|
|
</div>
|
|
|
|
{/if}
|
|
</fieldset>
|
|
|
|
|
|
<fieldset class="col-xs col-sm col-md col-lg col-xl col-xxl">
|
|
<legend>Список пользователей</legend>
|
|
<table class="table">
|
|
{section name=customer loop=$list} {if $list[customer].id}
|
|
<tr id="{$list[customer].id}">
|
|
|
|
<td>
|
|
<b>{$list[customer].email}</b>
|
|
<p>{$list[customer].txt}</p>
|
|
</td>
|
|
</tr>
|
|
{/if} {/section}
|
|
</table>
|
|
|
|
</fieldset>
|
|
</section>
|
|
<!-- blog-area end -->
|
|
{include file=$footer} |