{**
* 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
*}
<a href="{xs2Href mod=$_THE.QUE.MOD obj=$_THE.QUE.OBJ met="show" atr=$form.NodId}">анекта</a>
<a href="{xs2Href mod=$_THE.QUE.MOD obj=$_THE.QUE.OBJ met="delete" atr=$form.NodId}">удалить анекту</a>
{* Заполнение анкеты *}
{* Опция $findAgeBegin: минимальный возраст в анкете *}
{assign var="findAgeBegin" value=16}
{* Опция $findAgeEnd: максимальный возраст в анкете *}
{assign var="findAgeEnd" value=91}
<form action="{$_THE.REQUEST_URI}" method="POST" name="subjForm">
<input type="hidden" name="action" value="subjForm"/>
<p>
О себе <textarea name="About">{$form.About}</textarea>
<br> Псевдоним <input type="text" name="NName" value="{$form.NName}"/>
</p>
<p>
Я ищу
мужчину <input name="subjSexMale" type="checkbox"
{if $form.subjSex eq 1 or $form.subjSex eq 3} checked{/if}/>
женщину <input name="subjSexFemale" type="checkbox"
{if $form.subjSex eq 2 or $form.subjSex eq 3} checked{/if}/>
от
<select name="subjAgeBegin">
{section start=$findAgeBegin loop=$findAgeEnd+1 name="ageLoop"}
<option value="{$smarty.section.ageLoop.index}"
{if $form.subjAgeBegin eq $smarty.section.ageLoop.index} selected{/if}>
{$smarty.section.ageLoop.index}
</option>
{/section}
</select>
до
<select name="subjAgeEnd">
{section start=$findAgeBegin loop=$findAgeEnd+1 name="ageLoop"}
<option value="{$smarty.section.ageLoop.index}"
{if $form.subjAgeEnd eq $smarty.section.ageLoop.index} selected{/if}>
{$smarty.section.ageLoop.index}
</option>
{/section}
</select>
</p>
<p>Мой идеал <textarea name="Subject">{$form.Subject}</textarea></p>
<p><input type="submit" value="Сохранить"/></p>
</form>
{* /Заполнение анкеты *}
|
|