<?if(!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true)die();
?>
<center>
<form name="<?echo $arResult["FILTER_NAME"]."_form"?>" action="/index.php" method="get">
<?foreach($arResult["ITEMS"] as $arItem):
if(array_key_exists("HIDDEN", $arItem)):
echo $arItem["INPUT"];
endif;
endforeach;?>
<input name="filter" type="hidden" value="Y"/>
<center>
<table class="filter-table" cellspacing="0" cellpadding="2" width="100%" style="width:100%;">
<thead>
<tr>
<td style="text-align:center;width:100%;" align="center"><center><b><?=GetMessage("IBLOCK_FILTER_TITLE")?></b></center></td>
</tr>
</thead>
<tbody>
<tr>
<td width="100%" style="width:550px;">
<center>
<?foreach($arResult["ITEMS"] as $arItem):?>
<?
$arItem["INPUT"] = str_replace("<br><input type=\"checkbox\" name=\"arrFilter_ff[INCLUDE_SUBSECTIONS]\" id=\"arrFilter_ff[INCLUDE_SUBSECTIONS]\" value=\"Y\" checked > включая подразделы",""
,$arItem["INPUT"]);
$arItem["INPUT"] = str_replace("<br><input type=\"checkbox\" name=\"arrFilter_ff[INCLUDE_SUBSECTIONS]\" id=\"arrFilter_ff[INCLUDE_SUBSECTIONS]\" value=\"Y\" > включая подразделы",""
,$arItem["INPUT"]);
?>
<?if(!array_key_exists("HIDDEN", $arItem)):?>
<div class="inputer" style="padding-top:5px;float:left;width:auto;padding-right:15px;">
<?=$arItem["NAME"]?>:
<?=$arItem["INPUT"]?>
</div>
<?endif?>
<?endforeach;?>
<div style="padding-top:5px;float:left;width:auto;padding-right:15px;">
<input class="fburt" type="submit" name="set_filter" value="<?=GetMessage("IBLOCK_SET_FILTER")?>" /><input type="hidden" name="set_filter" value="Y" /> <input class="fburt" type="submit" name="del_filter" value="<?=GetMessage("IBLOCK_DEL_FILTER")?>" />
</div>
<br clear="both" />
</center>
</td>
</tr>
</tbody>
</table>
</center>
</form>
<hr />
</center> |