{**
* XS2: Форма регистрации пользователя
*
* This file is developed by Solutecs, LLC for the purpose of the company
* and is provided together with XS2 Framework as and inherent part of the
* system. This file can be used on the terms of License Agreement.
*
* +7 (495) 585-0833 / 13 Rusakovskaya street, Moscow 107140 Russia
*
* @link http://www.solutecs.com
* @copyright ©1998-2007 Solutecs, LLC
* @version 1.XX
*}
{* Форма авторизации пользователя *}
{xs2Fetch mod="users" obj="user" met="login"}
{* /Форма авторизации пользователя *}
{* Форма регистрации пользователя *}
{if $_ERR}
{* Выводим сообщения об ошибках, если они есть *}
<ul>
{foreach from=$_ERR item="errorMsg"}
<li>{$errorMsg}</li>
{/foreach}
</ul>
{/if}
<form name="userRegister" method="POST" action="{$_THE.REQUEST_URI}"
enctype="multipart/form-data">
<input type="hidden" name="action" value="registerUser">
ФИО: <input type="text" name="NName" value="{$_POST.NName}"><br>
Дата рождения: <input type="text" name="Birthday" value="{$_POST.Birthday}"><br>
Логин: <input type="text" name="Login" value="{$_POST.Login}"><br>
Пароль: <input type="password" name="Password1"><br>
Пароль (повтор): <input type="password" name="Password2"><br>
Пол: <input type="radio" value="m" name="Sex"{if $_POST.Sex eq "m"} checked="true"{/if}> - мужской
<input type="radio" value="f" name="Sex"{if $_POST.Sex eq "f"} checked="true"{/if}> - женский<br>
Страна: <input type="text" name="Country" value="{$_POST.Country}"><br>
Город: <input type="text" name="City" value="{$_POST.City}"><br>
Телефон: <input type="text" name="Phone" value="{$_POST.Phone}"><br>
Email: <input type="text" name="Email" value="{$_POST.Email}"><br>
О себе: <input type="text" name="About" value="{$_POST.About}"><br>
Аватара: <input type="file" name="Avatar">
<input type="submit" value="Сохранить">
</form>
{* /Форма регистрации пользователя *}
|
|