Exemple #1
0
?>
<form name="find_form" method="GET" action="<?php 
echo $APPLICATION->GetCurPage();
?>
?">
<?php 
$oFilter = new CAdminFilter($sTableID . "_filter", array(GetMessage("SALE_FIELD_ACTIVE")));
$oFilter->Begin();
?>
	<tr>
		<td valign="top"><?php 
echo GetMessage("LANG_FILTER_NAME");
?>
:</td>
		<td style="padding-left:10px;"><?php 
echo CSite::SelectBoxMulti("filter_lang", $filter_lang, GetMessage("SPT_ALL"));
?>
	</tr>
	<tr>
		<td><?php 
echo GetMessage("SALE_FIELD_ACTIVE");
?>
:</td>
		<td>
			<select name="filter_active">
				<option value="">(<?php 
echo GetMessage("SALE_ALL");
?>
)</option>
				<option value="Y"<?php 
if ($filter_active == "Y") {
			<input type="checkbox" name="ACTIVE" value="Y" <?php 
if ($str_ACTIVE == "Y") {
    echo "checked";
}
?>
>
		</td>
	</tr>
	<tr class="adm-detail-required-field">
		<td width="40%" valign="top"><?php 
echo GetMessage("SPTEN_SITE");
?>
:</td>
		<td width="60%">
			<?php 
echo CSite::SelectBoxMulti("LID", $str_LIDS);
?>
		</td>
	</tr>
	<tr class="adm-detail-required-field">
		<td width="40%"><?php 
echo GetMessage("SPTEN_NAME");
?>
:</td>
		<td width="60%">
			<input type="text" name="NAME" size="30" maxlength="100" value="<?php 
echo $str_NAME;
?>
">
		</td>
	</tr>