<?if(!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true)die();?>
<?
foreach($arResult["ITEMS"] as $arItem){
if(!array_key_exists("HIDDEN", $arItem)) $rows++;
}
?>
<form name="<?echo $arResult["FILTER_NAME"]."_form"?>" action="<?echo $arParams["FORM_ACTION_ALT"]?>" method="get">
<?foreach($arResult["ITEMS"] as $arItem):
if(array_key_exists("HIDDEN", $arItem)):
echo $arItem["INPUT"];
endif;
endforeach;?>
<table cellspacing="0">
<tbody>
<?
$i=0;
foreach($arResult["ITEMS"] as $arItem):?>
<?if(!array_key_exists("HIDDEN", $arItem)):?>
<td valign="top">
<?=$arItem["NAME"]?>:<br /><?=$arItem["INPUT"]?>
</td>
<?endif;?>
<?endforeach;?>
</tbody>
<tfoot>
<tr>
<td colspan="2">
<input type="submit" name="set_filter" value="<?=GetMessage("IBLOCK_SET_FILTER")?>" /><input type="hidden" name="set_filter" value="Y" /> <input type="submit" name="del_filter" value="<?=GetMessage("IBLOCK_DEL_FILTER")?>" /></td>
</tr>
</tfoot>
</table>
</form>
|