/**
  * Генерирует HTML для поля фильтрации
  * @see AdminListHelper::createFilterForm();
  * @return mixed
  */
 public function genFilterHTML()
 {
     list($inputNameFrom, $inputNameTo) = $this->getFilterInputName();
     print '<tr>';
     print '<td>' . $this->settings['TITLE'] . '</td>';
     print '<td width="0%" nowrap>' . CalendarPeriod($inputNameFrom, ${$inputNameFrom}, $inputNameTo, ${$inputNameTo}, "find_form") . '</td>';
 }
Ejemplo n.º 2
0
?>
:</td>
					<td nowrap>
						<input type="text" name="filter_code" size="50" value="<?php 
echo htmlspecialcharsex(${"filter_code"});
?>
">
					</td>
				</tr>
				<tr>
					<td nowrap><?php 
echo GetMessage("SPS_TIMESTAMP");
?>
:</td>
					<td nowrap><?php 
echo CalendarPeriod("filter_timestamp_from", htmlspecialcharsex($filter_timestamp_from), "filter_timestamp_to", htmlspecialcharsex($filter_timestamp_to), "form1");
?>
</td>
				</tr>
				<tr>
					<td nowrap><?php 
echo GetMessage("SPS_ACTIVE");
?>
:</td>
					<td nowrap>
						<select name="filter_active">
							<option value=""><?php 
echo htmlspecialcharsex("(" . GetMessage("SPS_ANY") . ")");
?>
</option>
							<option value="Y"<?php 
Ejemplo n.º 3
0
    $ar[] = GetMessage("BPATL_USER_ID");
}
$oFilter = new CAdminFilter($sTableID . "_filter", $ar);
$oFilter->SetDefaultRows(array("filter_modified_1", 'filter_name'));
$oFilter->AddPreset(array("ID" => "filter_running", "NAME" => GetMessage("BPATL_FILTER_STATUS_RUNNING"), "FIELDS" => array("filter_status" => 0)));
$oFilter->AddPreset(array("ID" => "filter_complete", "NAME" => GetMessage("BPATL_FILTER_STATUS_COMPLETE"), "FIELDS" => array("filter_status" => 1)));
$oFilter->AddPreset(array("ID" => "filter_all", "NAME" => GetMessage("BPATL_FILTER_STATUS_ALL"), "FIELDS" => array("filter_status" => 2)));
$oFilter->Begin();
?>
	<tr>
		<td><?php 
echo GetMessage("BPATL_F_MODIFIED");
?>
:</td>
		<td><?php 
echo CalendarPeriod("filter_modified_1", htmlspecialcharsbx($filter_modified_1), "filter_modified_2", htmlspecialcharsbx($filter_modified_2), "find_form", "Y");
?>
</td>
	</tr>
	<tr>
		<td><?php 
echo GetMessage("BPATL_F_NAME");
?>
:</td>
		<td><input type="text" name="filter_name" value="<?php 
echo htmlspecialcharsex($filter_name);
?>
" size="30">
		</td>
	</tr>
	<tr>
Ejemplo n.º 4
0
	</td>
</tr>
<tr>
	<td><?echo GetMessage("MAIN_F_ID")?></td>
	<td><input type="text" name="find_id" size="47" value="<?echo htmlspecialcharsbx($find_id)?>"><?php 
echo ShowFilterLogicHelp();
?>
</td>
</tr>
<tr>
	<td><?echo GetMessage("MAIN_F_TIMESTAMP").":"?></td>
	<td><?echo CalendarPeriod("find_timestamp_1", htmlspecialcharsbx($find_timestamp_1), "find_timestamp_2", htmlspecialcharsbx($find_timestamp_2), "find_form","Y")?></td>
</tr>
<tr>
	<td><?echo GetMessage("MAIN_F_LAST_LOGIN").":"?></td>
	<td><?echo CalendarPeriod("find_last_login_1", htmlspecialcharsbx($find_last_login_1), "find_last_login_2", htmlspecialcharsbx($find_last_login_2), "find_form","Y")?></td>
</tr>
<tr>
	<td><?echo GetMessage("F_ACTIVE")?></td>
	<td><?
		$arr = array("reference"=>array(GetMessage("MAIN_YES"), GetMessage("MAIN_NO")), "reference_id"=>array("Y","N"));
		echo SelectBoxFromArray("find_active", $arr, htmlspecialcharsbx($find_active), GetMessage('MAIN_ALL'));
		?>
	</td>
</tr>
<tr>
	<td><?echo GetMessage("F_LOGIN")?></td>
	<td><input type="text" name="find_login" size="47" value="<?echo htmlspecialcharsbx($find_login)?>"><?php 
echo ShowFilterLogicHelp();
?>
</td>
Ejemplo n.º 5
0
echo GetMessage("LEARNING_ADMIN_GROUPS_ACTIVE_FROM");
?>
:</td>
		<td><?php 
echo CalendarPeriod("filter_active_from_from", htmlspecialcharsex($filter_active_from_from), "filter_active_from_to", htmlspecialcharsex($filter_active_from_to), "filter_active_from");
?>
</td>
	</tr>

	<tr>
		<td><?php 
echo GetMessage("LEARNING_ADMIN_GROUPS_ACTIVE_TO");
?>
:</td>
		<td><?php 
echo CalendarPeriod("filter_active_to_from", htmlspecialcharsex($filter_active_to_from), "filter_active_to_to", htmlspecialcharsex($filter_active_to_to), "filter_active_to");
?>
</td>
	</tr>

<?php 
$filter->Buttons(array("table_id" => $sTableID, "url" => $APPLICATION->GetCurPage() . "?" . GetFilterParams("filter_"), "form" => "form1"));
$filter->End();
?>
</form>


<?php 
$lAdmin->DisplayList();
?>
Ejemplo n.º 6
0
?>

<form name="find_form" method="GET" action="<?php 
echo $APPLICATION->GetCurPage();
?>
?">
<?php 
$oFilter->Begin();
?>
<tr>
	<td><?php 
echo GetMessage("STAT_F_PERIOD") . " (" . FORMAT_DATE . "):";
?>
</td>
	<td><?php 
echo CalendarPeriod("find_date1", $find_date1, "find_date2", $find_date2, "find_form", "Y");
?>
</td>
</tr>
<tr valign="top">
	<td><?php 
echo GetMessage("STAT_F_EVENTS");
?>
<br><IMG SRC="/bitrix/images/statistic/mouse.gif" WIDTH="44" HEIGHT="21" BORDER=0 ALT=""></td>
	<td><?php 
echo SelectBoxMFromArray("find_events[]", array("REFERENCE" => $find_events_names, "REFERENCE_ID" => $find_events), false, "", false, "11", 'id="find_events[]"');
?>
	<script language="Javascript">
	function selectEventType(form, field)
	{
		jsUtils.OpenWindow('event_multiselect.php?target_control=select&lang=<?php 
Ejemplo n.º 7
0
}
?>
><?php 
echo GetMessage("FM_FLT_TOPIC");
?>
</option>
		</select>
		</td>
	</tr>
	<tr valign="center">
		<td><?php 
echo GetMessage("FM_FLT_START_DATE") . ":";
?>
</td>
		<td><?php 
echo CalendarPeriod("DATE_FROM_S", $DATE_FROM_S, "DATE_TO_S", $DATE_TO_S, "form1", "Y");
?>
</td>
	</tr>
	<tr valign="center">
		<td><?php 
echo GetMessage("FM_FLT_SUBSCR_TYPE");
?>
:</td>
		<td>
		<select name="SUBSCR_TYPE_S">
			<option value=""<?php 
if ($SUBSCR_TYPE_S == "") {
    echo " selected";
}
?>
Ejemplo n.º 8
0
	<td><?php 
echo GetMessage("POST_F_DATE_SENT") . " (" . FORMAT_DATE . "):";
?>
</td>
	<td><?php 
echo CalendarPeriod("find_date_sent_1", $find_date_sent_1, "find_date_sent_2", $find_date_sent_2, "find_form", "Y");
?>
</td>
</tr>
<tr>
	<td><?php 
echo GetMessage("POST_F_AUTO_SEND_TIME") . " (" . FORMAT_DATE . "):";
?>
</td>
	<td><?php 
echo CalendarPeriod("find_auto_send_time_1", $find_auto_send_time_1, "find_auto_send_time_2", $find_auto_send_time_2, "find_form", "Y");
?>
</td>
</tr>
<tr>
	<td><?php 
echo GetMessage("POST_F_STATUS");
?>
:</td>
	<td>
		<input type="text" name="find_status" size="47" value="<?php 
echo htmlspecialcharsbx($find_status);
?>
">&nbsp;<?php 
echo ShowFilterLogicHelp();
?>
Ejemplo n.º 9
0
		<td><?php 
echo GetMessage("BUYER_F_LAST_ORDER_DATE") . ":";
?>
</td>
		<td><?php 
echo CalendarPeriod("find_last_order_date_1", htmlspecialcharsbx($find_last_order_date_1), "find_last_order_date_2", htmlspecialcharsbx($find_last_order_date_2), "find_form", "Y");
?>
</td>
	</tr>
	<tr>
		<td><?php 
echo GetMessage("BUYER_ROW_DATE_REGISTER") . ":";
?>
</td>
		<td><?php 
echo CalendarPeriod("filter_register_date_1", htmlspecialcharsbx($filter_register_date_1), "filter_register_date_2", htmlspecialcharsbx($filter_register_date_2), "find_form", "Y");
?>
</td>
	</tr>
	<tr>
		<td><?php 
echo GetMessage("BUYER_F_GROUP");
?>
:</td>
		<td>
			<?php 
$z = CGroup::GetDropDownList("AND ID!=2");
echo SelectBoxM("filter_group[]", $z, $filter_group, "", false, 5);
?>
		</td>
	</tr>
Ejemplo n.º 10
0
    }
    /************** For custom ****************************************/
    $arResult["filter"]["date_last_visit"] = CalendarPeriod("date_last_visit1", $_REQUEST["date_last_visit1"], "date_last_visit2", $_REQUEST["date_last_visit2"], "form1", "Y", "", "");
    $arResult["filter"]["~user_name"] = $_REQUEST["user_name"];
    $arResult["filter"]["user_name"] = htmlspecialcharsbx($_REQUEST["user_name"]);
    /************** For custom/****************************************/
} elseif (strLen($_REQUEST["del_filter"]) > 0) {
    unset($_REQUEST["user_name"]);
    unset($_REQUEST["date_last_visit2"]);
    unset($_REQUEST["date_last_visit1"]);
    unset($_REQUEST["avatar"]);
    unset($_REQUEST["sort"]);
    /************** For custom ****************************************/
    unset($GLOBALS["date_last_visit1_DAYS_TO_BACK"]);
    $arResult["filter"] = array();
    $arResult["filter"]["date_last_visit"] = CalendarPeriod("date_last_visit1", "", "date_last_visit2", "", "form1", "Y", "", "");
    /************** For custom/****************************************/
}
if (!$by && !is_set($_REQUEST, "sort")) {
    $by = "NUM_POSTS";
    $order = "DESC";
    $_REQUEST["sort"] = "NUM_POSTS";
} elseif (!$by && is_set($_REQUEST, "sort")) {
    $by = $_REQUEST["sort"];
    $order = $_REQUEST["sort"] == "SHOW_ABC" ? "ASC" : "DESC";
}
/******************************************************************/
$arResult["ERROR_MESSAGE"] = $strError;
CPageOption::SetOptionString("main", "nav_page_in_session", "N");
$db_res = CForumUser::GetList(array($by => $order), $arFilter, array("bDescPageNumbering" => false, "nPageSize" => $arParams["USERS_PER_PAGE"], "bShowAll" => false, "sNameTemplate" => $arParams["NAME_TEMPLATE"]));
$arParams["SHOW_USER_STATUS"] = "Y";
?>

<form name="find_form" method="GET" action="<?php 
echo $APPLICATION->GetCurPage();
?>
?">
<?
$oFilter->Begin();
?>
<tr>
	<td><?echo GetMessage("LOL_METRIKA_COUNTER")?>:</td>
	<td><?echo SelectBoxFromArray("find_counter_id", $arCounterDropdown, $find_counter_id, "", "");?></td>
</tr>
<tr>
	<td><?echo GetMessage("LOL_METRIKA_PERIOD")." (".FORMAT_DATE."):"?></td>
	<td><?echo CalendarPeriod("find_date1", $find_date1, "find_date2", $find_date2, "find_form", "Y")?></td>
</tr>
<tr valign="top">
	<td><?php 
echo GetMessage("LOL_METRIKA_SHOW");
?>
:</td>
	<td>
		<?echo InputType("checkbox","find_page_views","Y",$find_page_views,false,false,'id="find_page_views"');?>
		<label for="find_hit"><?php 
echo GetMessage("LOL_METRIKA_PAGE_VIEWS_2");
?>
</label><br>
		<?echo InputType("checkbox","find_visitors","Y",$find_visitors,false,false,'id="find_visitors"'); ?>
		<label for="find_visitors"><?php 
echo GetMessage("LOL_METRIKA_VISITORS_2");
Ejemplo n.º 12
0
		<td><b><?echo GetMessage("IBLOCK_ELSEARCH_IBLOCK")?></b></td>
		<td><?echo GetIBlockDropDownListEx($IBLOCK_ID, "filter_type", "filter_iblock_id", array('MIN_PERMISSION' => 'S'));?></td>
	</tr>

	<tr>
		<td><?echo GetMessage("IBLOCK_ELSEARCH_FROMTO_ID")?></td>
		<td>
			<input type="text" name="filter_id_start" size="10" value="<?echo htmlspecialcharsex($filter_id_start)?>">
			...
			<input type="text" name="filter_id_end" size="10" value="<?echo htmlspecialcharsex($filter_id_end)?>">
		</td>
	</tr>

	<tr>
		<td  nowrap><? echo GetMessage("IBLOCK_FIELD_TIMESTAMP_X").":"?></td>
		<td nowrap><? echo CalendarPeriod("filter_timestamp_from", htmlspecialcharsex($filter_timestamp_from), "filter_timestamp_to", htmlspecialcharsex($filter_timestamp_to), "form1")?></td>
	</tr>

	<tr>
		<td nowrap><?php 
echo GetMessage("IBLOCK_FIELD_MODIFIED_BY");
?>
:</td>
		<td>
			<?echo FindUserID(
				/*$tag_name=*/"filter_modified_user_id",
				/*$tag_value=*/$filter_modified_user_id,
				/*$user_name=*/"",
				/*$form_name=*/"form1",
				/*$tag_size=*/"5",
				/*$tag_maxlength=*/"",
Ejemplo n.º 13
0
?>
"><?php 
echo InputType("checkbox", "find_sid_exact_match", "Y", $find_sid_exact_match, false, "", "title='" . GetMessage("AD_EXACT_MATCH") . "'");
?>
&nbsp;<?php 
echo ShowFilterLogicHelp();
?>
</td>
</tr>
<tr>
	<td><?php 
echo GetMessage("AD_F_DATE_MODIFY") . " (" . CSite::GetDateFormat("SHORT") . "):";
?>
</td>
	<td><?php 
echo CalendarPeriod("find_date_modify_1", $find_date_modify_1, "find_date_modify_2", $find_date_modify_2, "form1", "Y");
?>
</td>
</tr>
<tr>
	<td><?php 
echo GetMessage("AD_F_ACTIVE");
?>
:</td>
	<td><?php 
$arr = array("reference" => array(GetMessage("AD_YES"), GetMessage("AD_NO")), "reference_id" => array("Y", "N"));
echo SelectBoxFromArray("find_active", $arr, htmlspecialcharsbx($find_active), GetMessage('AD_ALL'));
?>
</td>
</tr>
<tr>
Ejemplo n.º 14
0
if ($isEditMode) {
    echo InputType("checkbox", "ACTIVE", "Y", $str_ACTIVE, false, "", 'id="ACTIVE"');
} else {
    echo $str_ACTIVE == "Y" ? GetMessage("AD_YES") : GetMessage("AD_NO");
}
?>
</td>
	</tr>
	<tr>
		<td><?php 
echo GetMessage("AD_SHOW_INTERVAL") . ":";
?>
</td>
		<td><?php 
if ($isEditMode) {
    echo CalendarPeriod("DATE_SHOW_FROM", $str_DATE_SHOW_FROM, "DATE_SHOW_TO", $str_DATE_SHOW_TO, "bx_adv_edit_form", "N", "", "", 20);
} else {
    if (strlen($str_DATE_SHOW_FROM) > 0) {
        echo GetMessage("AD_FROM");
        ?>
&nbsp;<b><?php 
        echo $str_DATE_SHOW_FROM;
        ?>
</b>&nbsp;<?php 
    }
    if (strlen($str_DATE_SHOW_TO) > 0) {
        echo GetMessage("AD_TILL");
        ?>
&nbsp;<b><?php 
        echo $str_DATE_SHOW_TO;
        ?>
Ejemplo n.º 15
0
	</tr>

	<tr>
		<td><?echo GetMessage("SALE_F_ALLOW_DELIVERY")?>:</td>
		<td>
			<select name="filter_allow_delivery">
				<option value=""><?echo GetMessage("SALE_F_ALL")?></option>
				<option value="Y"<?if ($filter_allow_delivery=="Y") echo " selected"?>><?echo GetMessage("SALE_YES")?></option>
				<option value="N"<?if ($filter_allow_delivery=="N") echo " selected"?>><?echo GetMessage("SALE_NO")?></option>
			</select>
		</td>
	</tr>
	<tr>
		<td><?echo GetMessage("SALE_F_DATE_ALLOW_DELIVERY");?>:</td>
		<td>
			<?echo CalendarPeriod("filter_date_delivery_from", $filter_date_delivery_from, "filter_date_delivery_to", $filter_date_delivery_to, "find_form", "Y")?>
		</td>
	</tr>
	<tr>
		<td><?echo GetMessage("SALE_F_PS_STATUS")?>:</td>
		<td>
			<select name="filter_ps_status">
				<option value=""><?echo GetMessage("SALE_F_ALL")?></option>
				<option value="Y"<?if ($filter_ps_status=="Y") echo " selected"?>><?echo GetMessage("SALE_YES")?></option>
				<option value="N"<?if ($filter_ps_status=="N") echo " selected"?>><?echo GetMessage("SALE_NO")?></option>
				<option value="X"<?if ($filter_ps_status=="X") echo " selected"?>><?echo GetMessage("SALE_YES_NO")?></option>
			</select>
		</td>
	</tr>
	<tr>
		<td><?echo GetMessage("SALE_F_PERSON_TYPE");?>:</td>
Ejemplo n.º 16
0
	<tr>
		<td><?php 
echo GetMessage('SOD_HIST_H_USER');
?>
:</td>
		<td>
			<?echo FindUserID("filter_user", $filter_user, "", "find_form5");?>
		</td>
	</tr>
	<tr>
		<td><?php 
echo GetMessage('SOD_HIST_H_DATE');
?>
:</td>
		<td>
			<?echo CalendarPeriod("filters_date_history_from", $filters_date_history_from, "filters_date_history_to", $filters_date_history_to, "find_form5", "Y")?>

		</td>
	</tr>
	<tr>
		<td><?php 
echo GetMessage('SOD_HIST_TYPE');
?>
:</td>
		<td>
			<select name="filter_type">
				<option value=""><?echo GetMessage("SOD_HIST_ALL")?></option>
				<? foreach ($arOperations as $type => $name)
				{ ?>
					<option value="<?php 
echo $type;
Ejemplo n.º 17
0
 function GetDateFilter($FID, $form_name = "form1", $show_select = "Y", $field_select = "class=\"inputselect\"", $field_input = "class=\"inputtext\"")
 {
     $var1 = "find_" . $FID . "_1";
     $var2 = "find_" . $FID . "_2";
     global $APPLICATION, ${$var1}, ${$var2};
     if (!defined('ADMIN_SECTION')) {
         ob_start();
         $APPLICATION->IncludeComponent('bitrix:main.calendar', '', array('SHOW_INPUT' => 'Y', 'FORM_NAME' => $form_name, 'INPUT_NAME' => $var1, 'INPUT_NAME_FINISH' => $var2, 'INPUT_VALUE' => ${$var1}, 'INPUT_VALUE_FINISH' => ${$var2}, 'SHOW_TIME' => 'N'), null, array('HIDE_ICONS' => 'Y'));
         $res .= ob_get_contents();
         ob_end_clean();
         return $res;
     } else {
         return CalendarPeriod($var1, htmlspecialcharsbx(${$var1}), $var2, htmlspecialcharsbx(${$var2}), $form_name, $show_select, $field_select, $field_input);
     }
 }
Ejemplo n.º 18
0
	<td width="0%" nowrap><?php 
echo GetMessage("STAT_F_START_DATE") . ":";
?>
</td>
	<td width="0%" nowrap><?php 
echo CalendarPeriod("find_date1", $find_date1, "find_date2", $find_date2, "form1", "Y");
?>
</td>
</tr>
<tr valign="center">
	<td width="0%" nowrap><?php 
echo GetMessage("STAT_F_DATE_END") . ":";
?>
</td>
	<td width="0%" nowrap><?php 
echo CalendarPeriod("find_date_end1", $find_date_end1, "find_date_end2", $find_date_end2, "form1", "Y");
?>
</td>
</tr>
<tr>
	<td><?php 
echo GetMessage("STAT_F_GUEST_ID");
?>
:</td>
	<td><input type="text" name="find_guest_id" size="30" value="<?php 
echo htmlspecialcharsbx($find_guest_id);
?>
"><?php 
echo ShowExactMatchCheckbox("find_guest_id");
?>
&nbsp;<?php 
Ejemplo n.º 19
0
	<td><?php 
echo GetMessage("POST_F_INSERT") . " (" . FORMAT_DATE . "):";
?>
</td>
	<td><?php 
echo CalendarPeriod("find_insert_1", htmlspecialcharsbx($find_insert_1), "find_insert_2", htmlspecialcharsbx($find_insert_2), "find_form", "Y");
?>
</td>
</tr>
<tr>
	<td><?php 
echo GetMessage("POST_F_UPDATE") . " (" . FORMAT_DATE . "):";
?>
</td>
	<td><?php 
echo CalendarPeriod("find_update_1", htmlspecialcharsbx($find_update_1), "find_update_2", htmlspecialcharsbx($find_update_2), "find_form", "Y");
?>
</td>
</tr>
<tr>
	<td><?php 
echo GetMessage("POST_F_EMAIL");
?>
:</td>
	<td><input type="text" name="find_email" size="47" value="<?php 
echo htmlspecialcharsbx($find_email);
?>
">&nbsp;<?php 
echo ShowFilterLogicHelp();
?>
</td>
Ejemplo n.º 20
0
		echo SelectBoxFromArray("find_is_spam_maybe", $arr, htmlspecialcharsbx($find_is_spam_maybe), GetMessage("SUP_ALL"));
		?></td>
</tr>
<?}?>

<?if ($bADS) {?>
<tr valign="center">
	<td><?echo GetMessage("SUP_F_DATE_CREATE").":"?></td>
	<td><?echo CalendarPeriod("find_date_create1", $find_date_create1, "find_date_create2", $find_date_create2, "form1","Y")?></td>
</tr>
<?}?>

<?if ($bADS) {?>
<tr valign="center">
	<td><?echo GetMessage("SUP_F_TIMESTAMP").":"?></td>
	<td><?echo CalendarPeriod("find_date_timestamp1", $find_date_timestamp1, "find_date_timestamp2", $find_date_timestamp2, "form1","Y")?></td>
</tr>
<?}?>

<?if ($bADS) {?>
<tr>
	<td><?php 
echo GetMessage("SUP_F_OWNER");
?>
:</td>
	<td><input type="text" name="find_owner" size="47" value="<?php 
echo htmlspecialcharsbx($find_owner);
?>
"><?php 
echo InputType("checkbox", "find_owner_exact_match", "Y", $find_owner_exact_match, false, "", "title='" . GetMessage("SUP_EXACT_MATCH") . "'");
?>
Ejemplo n.º 21
0
"<?if($find_status == $arRs["~REFERENCE_ID"])echo " selected"?>><?php 
echo $arRs["REFERENCE"];
?>
</option><?
		}
		?>
		</select></td>
	</tr>
	<?endif?>
	<tr>
		<td><?echo GetMessage("IBLIST_A_DATE_ACTIVE_FROM")?>:</td>
		<td><?echo CalendarPeriod("find_date_active_from_from", htmlspecialcharsex($find_date_active_from_from), "find_date_active_from_to", htmlspecialcharsex($find_date_active_from_to), "find_form")?></td>
	</tr>
	<tr>
		<td><?echo GetMessage("IBLIST_A_DATE_ACTIVE_TO")?>:</td>
		<td><?echo CalendarPeriod("find_date_active_to_from", htmlspecialcharsex($find_date_active_to_from), "find_date_active_to_to", htmlspecialcharsex($find_date_active_to_to), "find_form")?></td>
	</tr>
	<tr>
		<td><?echo GetMessage("IBLIST_A_ACTIVE")?>:</td>
		<td>
			<select name="find_active">
				<option value=""><?php 
echo htmlspecialcharsex(GetMessage('IBLOCK_VALUE_ANY'));
?>
</option>
				<option value="Y"<?if($find_active=="Y")echo " selected"?>><?php 
echo htmlspecialcharsex(GetMessage("IBLOCK_YES"));
?>
</option>
				<option value="N"<?if($find_active=="N")echo " selected"?>><?php 
echo htmlspecialcharsex(GetMessage("IBLOCK_NO"));
Ejemplo n.º 22
0
?>
:</td>
		<td>
			<?php 
echo CCurrency::SelectBox("filter_currency", $filter_currency, GetMessage("STA_ALL"), True, "", "");
?>
		</td>
	</tr>
	<tr>
		<td nowrap><?php 
echo GetMessage("STA_TRANS_DATE");
?>
:</td>
		<td>
			<?php 
echo CalendarPeriod("filter_transact_date_from", $filter_transact_date_from, "filter_transact_date_to", $filter_transact_date_to, "bfilter", "Y");
?>
		</td>
	</tr>
	<tr>
		<td><?php 
echo GetMessage("STA_ORDER_ID");
?>
:</td>
		<td>
			<input type="text" name="filter_order_id" size="5" value="<?php 
echo htmlspecialcharsEx($filter_order_id);
?>
">
		</td>
	</tr>
Ejemplo n.º 23
0
}
?>
><?php 
echo htmlspecialcharsex(GetMessage("DSC_COUPON_TYPE_NO_LIMIT"));
?>
</option>
			</select>
		</td>
	</tr>
	<tr>
		<td><?php 
echo GetMessage("DSC_CPN_DATE") . ":";
?>
</td>
		<td><?php 
echo CalendarPeriod("filter_apply_time_start", htmlspecialcharsex($filter_apply_time_start), "filter_apply_time_end", htmlspecialcharsex($filter_apply_time_end), "find_form");
?>
</td>
	</tr>
	<tr>
		<td><?php 
echo GetMessage("DSC_CPN_DESCRIPTION");
?>
:</td>
		<td>
			<textarea name="filter_description"><?php 
echo htmlspecialcharsbx($filter_description);
?>
</textarea>
		</td>
	</tr>
Ejemplo n.º 24
0
		<td><?php 
echo GetMessage("FM_TITLE_DATE_CREATE") . ":";
?>
</td>
		<td><?php 
echo CalendarPeriod("CREATE_DATE_FROM", $CREATE_DATE_FROM, "CREATE_DATE_TO", $CREATE_DATE_TO, "form1", "Y");
?>
</td>
	</tr>
	<tr valign="center">
		<td><?php 
echo GetMessage("FM_TITLE_DATE_LAST_POST") . ":";
?>
</td>
		<td><?php 
echo CalendarPeriod("DATE_FROM", $DATE_FROM, "DATE_TO", $DATE_TO, "form1", "Y");
?>
</td>
	</tr>
	<tr valign="center">
		<td><?php 
echo GetMessage("FM_TITLE_USER_START_ID");
?>
:</td>
		<td><input type="text" name="USER_START_ID" value="<?php 
echo $USER_START_ID;
?>
" /></td>
	</tr>

	<?php 
Ejemplo n.º 25
0
while ($arType = $rsType->Fetch()) {
    $event_type_ref[] = $arType["NAME"] . ($arType["NAME"] == '' ? '' : ' ') . "[" . $arType["EVENT_NAME"] . "]";
    $event_type_ref_id[] = $arType["EVENT_NAME"];
}
$arr = array("REFERENCE" => $event_type_ref, "REFERENCE_ID" => $event_type_ref_id);
echo SelectBoxFromArray("find_type_id", $arr, htmlspecialcharsbx($find_type_id), GetMessage("MAIN_ALL"));
?>
</td>
</tr>
<tr>
	<td><?php 
echo GetMessage("MAIN_F_TIMESTAMP") . ":";
?>
</td>
	<td><?php 
echo CalendarPeriod("find_timestamp_1", htmlspecialcharsbx($find_timestamp_1), "find_timestamp_2", htmlspecialcharsbx($find_timestamp_2), "find_form", "Y");
?>
</td>
</tr>
<tr>
	<td><?php 
echo GetMessage("MAIN_F_LID");
?>
</td>
	<td><?php 
echo CLang::SelectBox("find_lid", htmlspecialcharsbx($find_lid), GetMessage("MAIN_ALL"));
?>
</td>
</tr>
<tr>
	<td><?php 
Ejemplo n.º 26
0
?>
:</td>
		<td>
			<?php 
echo CalendarPeriod("filter_date_insert_from", $filter_date_insert_from, "filter_date_insert_to", $filter_date_insert_to, "find_form", "Y");
?>
		</td>
	</tr>
	<tr>
		<td><?php 
echo GetMessage("SB_DATE_UPDATE");
?>
:</td>
		<td>
			<?php 
echo CalendarPeriod("filter_date_update_from", $filter_date_update_from, "filter_date_update_to", $filter_date_update_to, "find_form", "Y");
?>
		</td>
	</tr>
	<tr>
		<td><?php 
echo GetMessage("SB_PRODUCT_ID");
?>
</td>
		<td>
			<script language="JavaScript">
			<!--
			function getProductData(arParams)
			{
				var productId = arParams['id'],
					dateURL = '<?php 
Ejemplo n.º 27
0
        ?>
:</td>
					<td nowrap>
						<input type="text" name="filter_code" size="50" value="<?php 
        echo htmlspecialcharsex($_REQUEST["filter_code"]);
        ?>
">
					</td>
				</tr>
				<tr>
					<td nowrap><?php 
        echo GetMessage("SPS_TIMESTAMP");
        ?>
:</td>
					<td nowrap><?php 
        echo CalendarPeriod("filter_timestamp_from", htmlspecialcharsex($_REQUEST['filter_timestamp_from']), "filter_timestamp_to", htmlspecialcharsex($_REQUEST['filter_timestamp_to']), "form1");
        ?>
</td>
				</tr>
				<tr>
					<td nowrap><?php 
        echo GetMessage("SPS_ACTIVE");
        ?>
:</td>
					<td nowrap>
						<select name="filter_active">
							<option value="*"><?php 
        echo htmlspecialcharsex("(" . GetMessage("SPS_ANY") . ")");
        ?>
</option>
							<option
Ejemplo n.º 28
0
?>
</option><?php 
while ($arr = $res->Fetch()) {
    echo "<option value='" . $arr["ID"] . "'" . ($find_section_modified_by == $arr["ID"] ? " selected" : "") . ">(" . htmlspecialcharsex($arr["LOGIN"] . ") " . $arr["NAME"] . " " . $arr["LAST_NAME"]) . "</option>";
}
?>
</select>
		</td>
	</tr>
	<tr>
		<td><?php 
echo GetMessage("BX_MOD_CATALOG_ADMIN_CSS_DATE_CREATE") . ":";
?>
</td>
		<td><?php 
echo CalendarPeriod("find_section_date_create_1", htmlspecialcharsex($find_section_date_create_1), "find_section_date_create_2", htmlspecialcharsex($find_section_date_create_2), "find_section_form");
?>
</td>
	</tr>
	<tr>
		<td><?php 
echo GetMessage("BX_MOD_CATALOG_ADMIN_CSS_CREATED_BY");
?>
:</td>
		<td><input type="text" name="find_section_created_user_id" value="<?php 
echo htmlspecialcharsex($find_section_created_by);
?>
" size="3">&nbsp;<?php 
$gr_res = CIBlock::GetGroupPermissions($IBLOCK_ID);
$res = array(1);
foreach ($gr_res as $gr => $perm) {
Ejemplo n.º 29
0
?>
<form method="get" action="<?php 
echo $APPLICATION->GetCurPage();
?>
" name="find_form">
<?php 
$filter->Begin();
?>
	<tr>
		<td><?php 
echo GetMessage("curr_rates_date1");
?>
:</td>
		<td>
			<?php 
echo CalendarPeriod("filter_period_from", $filter_period_from, "filter_period_to", $filter_period_to, "find_form", "Y");
?>
		</td>
	</tr>
	<tr>
		<td><?php 
echo GetMessage("curr_rates_curr1");
?>
:</td>
		<td>
			<?php 
echo CCurrency::SelectBox("filter_currency", $filter_currency, GetMessage("curr_rates_all"), True, "", "");
?>
		</td>
	</tr>
<?php 
Ejemplo n.º 30
0
		<td><?php 
echo GetMessage("SPOL_T_F_ID");
?>
:</td>
		<td><input type="text" name="filter_id" value="<?php 
echo htmlspecialchars($_REQUEST["filter_id"]);
?>
" size="10"></td>
	</tr>
	<tr>
		<td><?php 
echo GetMessage("SPOL_T_F_DATE");
?>
:</td>
		<td><?php 
echo CalendarPeriod("filter_date_from", $_REQUEST["filter_date_from"], "filter_date_to", $_REQUEST["filter_date_to"], "bfilter", "N");
?>
</td>
	</tr>
	<tr>
		<td><?php 
echo GetMessage("SPOL_T_F_STATUS");
?>
:</td>
		<td><select name="filter_status">
				<option value=""><?php 
echo GetMessage("SPOL_T_F_ALL");
?>
</option>
				<?php 
foreach ($arResult["INFO"]["STATUS"] as $val) {