Solution Technologies
Управление сайтом без ограничений
{**
 * 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
 *}



{* Форма поиска товаров *}

<form action="{xs2Href mod=$_THE.QUE.MOD obj="item" met="find"}" method="POST" name="findForm">
  <input type="hidden" value="findForm" name="action">

  {xs2GetNodes NType="producer" var="producers"}
  {if $producers}
    {strip}
    Производитель&nbsp;
    <select name="producer">
      <option value="0" checked>&nbsp;</option>
      {foreach from=$producers item="it"}
        <option value="{$it.NodId}">{$it.NName}</option>
      {/foreach}
    </select>
    {/strip}
  {/if}

  {xs2GetNodes NType="country" var="countries"}
  {if $countries}
    <br>
    {strip}
    Страна&nbsp;
    <select name="country">
      <option value="0" checked>&nbsp;</option>
      {foreach from=$countries item="it"}
        <option value="{$it.NodId}">{$it.NName}</option>
      {/foreach}
    </select>
    {/strip}
  {/if}

  {xs2GetNodes NType="category" var="parents"}
  {if $parents}
    <br>
    {strip}
    Раздел&nbsp;
    <select name="ParId">
      <option value="0" checked>&nbsp;</option>
      {foreach from=$parents item="it"}
        <option value="{$it.NodId}">{$it.NName|indent:$it.NDeep-2:"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"}</option>
      {/foreach}
    </select>
    {/strip}
  {/if}

  <br><input type="submit" value="Найти">
</form>

{* /Форма поиска товаров *}
Copyright ©1998-2008 Солютекс. Все права защищены.
Этот сайт сделан в designLab | Работает на технологии XS2
Условия использования | О защите конфиденциальности