本文整理匯總了PHP中MkDateTime函數的典型用法代碼示例。如果您正苦於以下問題:PHP MkDateTime函數的具體用法?PHP MkDateTime怎麽用?PHP MkDateTime使用的例子?那麽, 這裏精選的函數代碼示例或許可以為您提供幫助。
在下文中一共展示了MkDateTime函數的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: CheckFilter
function CheckFilter()
{
global $arFilterFields, $lAdmin;
foreach ($arFilterFields as $s) {
global ${$s};
}
$str = "";
$find_date_1 = trim($find_date_1);
$find_date_2 = trim($find_date_2);
if (strlen($find_date_1) > 0 || strlen($find_date_2) > 0) {
$date_1_stm = MkDateTime(ConvertDateTime($find_date_1, "D.M.Y"), "d.m.Y");
$date_2_stm = MkDateTime(ConvertDateTime($find_date_2, "D.M.Y") . " 23:59:59", "d.m.Y H:i:s");
if (!$date_1_stm && strlen(trim($find_date_1)) > 0) {
$bGotErr = true;
$lAdmin->AddUpdateError(GetMessage("VOTE_WRONG_DATE_FROM"));
}
if (!$date_2_stm && strlen(trim($find_date_2)) > 0) {
$bGotErr = true;
$lAdmin->AddUpdateError(GetMessage("VOTE_WRONG_DATE_TILL"));
}
if (!$bGotErr && $date_2_stm <= $date_1_stm && strlen($date_2_stm) > 0) {
$bGotErr = true;
$lAdmin->AddUpdateError(GetMessage("VOTE_WRONG_FROM_TILL"));
}
}
if ($bGotErr) {
return false;
} else {
return true;
}
}
示例2: CheckFilter
function CheckFilter($FilterArr)
{
foreach ($FilterArr as $f) {
global ${$f};
}
$str = "";
if (strlen(trim($find_last_exec)) > 0) {
$date_1_ok = false;
$date1_stm = MkDateTime(FmtDate($find_last_exec, "D.M.Y"), "d.m.Y");
if (!$date1_stm && strlen(trim($find_last_exec)) > 0) {
$str .= GetMessage("MAIN_AGENT_WRONG_LAST_EXEC") . "<br>";
} else {
$date_1_ok = true;
}
}
if (strlen(trim($find_next_exec)) > 0) {
$date_1_ok = false;
$date1_stm = MkDateTime(FmtDate($find_next_exec, "D.M.Y"), "d.m.Y");
if (!$date1_stm && strlen(trim($find_next_exec)) > 0) {
$str .= GetMessage("MAIN_AGENT_WRONG_NEXT_EXEC") . "<br>";
} else {
$date_1_ok = true;
}
}
if (strlen($str) > 0) {
global $lAdmin;
$lAdmin->AddFilterError($str);
return false;
}
return true;
}
示例3: CheckFilter
function CheckFilter()
{
if (isset($_REQUEST['del_filter']) && $_REQUEST['del_filter'] == 'Y') {
return false;
}
global $strError, $find_timestamp_1, $find_timestamp_2, $lAdmin;
$str = "";
if (strlen(trim($find_timestamp_1)) > 0 || strlen(trim($find_timestamp_2)) > 0) {
$date_1_ok = false;
$date1_stm = MkDateTime(FmtDate($find_timestamp_1, "D.M.Y"), "d.m.Y");
$date2_stm = MkDateTime(FmtDate($find_timestamp_2, "D.M.Y") . " 23:59", "d.m.Y H:i");
if (!$date1_stm && strlen(trim($find_timestamp_1)) > 0) {
$str .= GetMessage("MAIN_WRONG_DATE_FROM") . "<br>";
} else {
$date_1_ok = true;
}
if (!$date2_stm && strlen(trim($find_timestamp_2)) > 0) {
$str .= GetMessage("MAIN_WRONG_DATE_TILL") . "<br>";
} elseif ($date_1_ok && $date2_stm <= $date1_stm && strlen($date2_stm) > 0) {
$str .= GetMessage("MAIN_FROM_TILL_DATE") . "<br>";
}
}
$strError .= $str;
if (strlen($str) > 0) {
$lAdmin->AddFilterError($str);
return false;
}
return true;
}
示例4: CheckFilter
function CheckFilter()
{
global $arFilterFields;
reset($arFilterFields);
foreach ($arFilterFields as $f) {
global ${$f};
}
$str = "";
$arMsg = array();
if (strlen(trim($find_date1)) > 0 || strlen(trim($find_date2)) > 0) {
$date_1_ok = false;
$date1_stm = MkDateTime(ConvertDateTime($find_date1, "D.M.Y"), "d.m.Y");
$date2_stm = MkDateTime(ConvertDateTime($find_date2, "D.M.Y") . " 23:59", "d.m.Y H:i");
if (!$date1_stm && strlen(trim($find_date1)) > 0) {
//$str.= GetMessage("SUP_WRONG_DATE_FROM")."<br>";
$arMsg[] = array("id" => "find_date1", "text" => GetMessage("SUP_WRONG_DATE_FROM"));
} else {
$date_1_ok = true;
}
if (!$date2_stm && strlen(trim($find_date2)) > 0) {
//$str.= GetMessage("SUP_WRONG_DATE_TILL")."<br>";
$arMsg[] = array("id" => "find_date2", "text" => GetMessage("SUP_WRONG_DATE_TILL"));
} elseif ($date_1_ok && $date2_stm <= $date1_stm && strlen($date2_stm) > 0) {
$arMsg[] = array("id" => "find_date2", "text" => GetMessage("SUP_FROM_TILL_DATE"));
}
//$str.= GetMessage("SUP_FROM_TILL_DATE")."<br>";
}
if (!empty($arMsg)) {
$e = new CAdminException($arMsg);
$GLOBALS["APPLICATION"]->ThrowException($e);
return false;
}
return true;
}
示例5: CheckFilter
function CheckFilter($arFilterFields)
{
global $lAdmin;
$FilterArr = $arFilterFields;
reset($FilterArr);
foreach ($FilterArr as $f) {
global ${$f};
}
$str = "";
if (strlen(trim($find_timestamp_1)) > 0 || strlen(trim($find_timestamp_2)) > 0) {
$date_1_ok = false;
$date1_stm = MkDateTime(FmtDate($find_timestamp_1, "D.M.Y"), "d.m.Y");
$date2_stm = MkDateTime(FmtDate($find_timestamp_2, "D.M.Y") . " 23:59", "d.m.Y H:i");
if (!$date1_stm && strlen(trim($find_timestamp_1)) > 0) {
$str .= GetMessage("MAIN_WRONG_TIMESTAMP_FROM") . "<br>";
} else {
$date_1_ok = true;
}
if (!$date2_stm && strlen(trim($find_timestamp_2)) > 0) {
$str .= GetMessage("MAIN_WRONG_TIMESTAMP_TILL") . "<br>";
} elseif ($date_1_ok && $date2_stm <= $date1_stm && strlen($date2_stm) > 0) {
$str .= GetMessage("MAIN_FROM_TILL_TIMESTAMP") . "<br>";
}
}
$lAdmin->AddFilterError($str);
if (strlen($str) > 0) {
return false;
}
return true;
}
示例6: CheckFilter
function CheckFilter() // проверка введенных полей
{
global $strError, $find_timestamp_1, $find_timestamp_2;
$str = "";
if (strlen(trim($find_timestamp_1))>0 || strlen(trim($find_timestamp_2))>0)
{
$date_1_ok = false;
$date1_stm = MkDateTime(FmtDate($find_timestamp_1,"D.M.Y"),"d.m.Y");
$date2_stm = MkDateTime(FmtDate($find_timestamp_2,"D.M.Y")." 23:59","d.m.Y H:i");
if (!$date1_stm && strlen(trim($find_timestamp_1))>0)
$str.= GetMessage("MAIN_WRONG_DATE_FROM")."<br>";
else $date_1_ok = true;
if (!$date2_stm && strlen(trim($find_timestamp_2))>0)
$str.= GetMessage("MAIN_WRONG_DATE_TILL")."<br>";
elseif ($date_1_ok && $date2_stm <= $date1_stm && strlen($date2_stm)>0)
$str.= GetMessage("MAIN_FROM_TILL_DATE")."<br>";
}
$strError .= $str;
if(strlen($str)>0)
{
global $lAdmin;
$lAdmin->AddFilterError($str);
return false;
}
return true;
}
示例7: CleanUpTableByDate
function CleanUpTableByDate($cleanup_date, $table_name, $date_name)
{
$err_mess = "File: " . __FILE__ . "<br>Line: ";
$DB = CDatabase::GetModuleConnection('statistic');
if (strlen($cleanup_date) > 0) {
$stmp = MkDateTime(ConvertDateTime($cleanup_date, "D.M.Y"), "d.m.Y");
if ($stmp) {
$strSql = "DELETE FROM {$table_name} WHERE {$date_name}<FROM_UNIXTIME('{$stmp}')";
$DB->Query($strSql, false, $err_mess . __LINE__);
}
}
}
示例8: CheckFilter
function CheckFilter()
{
global $arFilterFields, $message, $lAdmin;
foreach ($arFilterFields as $s) {
global ${$s};
}
$bGotErr = false;
$find_date_start_1 = trim($find_date_start_1);
$find_date_start_2 = trim($find_date_start_2);
$find_date_end_1 = trim($find_date_end_1);
$find_date_end_2 = trim($find_date_end_2);
if (strlen($find_date_start_1) > 0 || strlen($find_date_start_2) > 0) {
// start date
$date_start_1_stm = MkDateTime(ConvertDateTime($find_date_start_1, "D.M.Y"), "d.m.Y");
$date_start_2_stm = MkDateTime(ConvertDateTime($find_date_start_2, "D.M.Y") . " 23:59:59", "d.m.Y H:i:s");
if (!$date_start_1_stm && strlen(trim($find_date_start_1)) > 0) {
$bGotErr = true;
$lAdmin->AddUpdateError(GetMessage("VOTE_WRONG_START_DATE_FROM"));
}
if (!$date_start_2_stm && strlen(trim($find_date_start_2)) > 0) {
$bGotErr = true;
$lAdmin->AddUpdateError(GetMessage("VOTE_WRONG_START_DATE_TILL"));
}
if (!$bGotErr && $date_start_2_stm <= $date_start_1_stm && strlen($date_start_2_stm) > 0) {
$bGotErr = true;
$lAdmin->AddUpdateError(GetMessage("VOTE_WRONG_START_FROM_TILL"));
}
}
if (strlen($find_date_end_1) > 0 || strlen($find_date_end_2) > 0) {
// end date
$date_end_1_stm = MkDateTime(ConvertDateTime($find_date_end_1, "D.M.Y"), "d.m.Y");
$date_end_2_stm = MkDateTime(ConvertDateTime($find_date_end_2, "D.M.Y") . " 23:59:59", "d.m.Y H:i:s");
if (!$date_end_1_stm && strlen(trim($find_date_end_1)) > 0) {
$bGotErr = true;
$lAdmin->AddUpdateError(GetMessage("VOTE_WRONG_END_DATE_FROM"));
}
if (!$date_end_2_stm && strlen(trim($find_date_end_2)) > 0) {
$bGotErr = true;
$lAdmin->AddUpdateError(GetMessage("VOTE_WRONG_END_DATE_TILL"));
}
if (!$bGotErr && $date_end_2_stm <= $date_end_1_stm && strlen($date_end_2_stm) > 0) {
$bGotErr = true;
$lAdmin->AddUpdateError(GetMessage("VOTE_WRONG_END_FROM_TILL"));
}
}
return $bGotErr ? false : true;
}
示例9: CheckFilter
function CheckFilter() // проверка введенных полей
{
global $FilterArr, $lAdmin;
foreach ($FilterArr as $f) global $$f;
$date_1_ok = false;
$date1_stm = MkDateTime(FmtDate($find_date1,"D.M.Y"),"d.m.Y");
$date2_stm = MkDateTime(FmtDate($find_date2,"D.M.Y")." 23:59","d.m.Y H:i");
if (!$date1_stm && strlen(trim($find_date1))>0)
$lAdmin->AddFilterError(GetMessage("MAIN_WRONG_DATE_FROM"));
else
$date_1_ok = true;
if(!$date2_stm && strlen(trim($find_date2))>0)
$lAdmin->AddFilterError(GetMessage("MAIN_WRONG_DATE_TILL"));
elseif($date_1_ok && $date2_stm <= $date1_stm && strlen($date2_stm)>0)
$lAdmin->AddFilterError(GetMessage("MAIN_FROM_TILL_DATE"));
return count($lAdmin->arFilterErrors)==0;
}
示例10: CheckFilter
function CheckFilter($FilterArr)
{
global $strError;
foreach($FilterArr as $f)
global $$f;
$str = "";
if(strlen(trim($find_timestamp_1))>0 || strlen(trim($find_timestamp_2))>0)
{
$date_1_ok = false;
$date1_stm = MkDateTime(FmtDate($find_timestamp_1,"D.M.Y"),"d.m.Y");
$date2_stm = MkDateTime(FmtDate($find_timestamp_2,"D.M.Y")." 23:59","d.m.Y H:i");
if (!$date1_stm && strlen(trim($find_timestamp_1))>0)
$str.= GetMessage("MAIN_WRONG_TIMESTAMP_FROM")."<br>";
else $date_1_ok = true;
if (!$date2_stm && strlen(trim($find_timestamp_2))>0)
$str.= GetMessage("MAIN_WRONG_TIMESTAMP_TILL")."<br>";
elseif ($date_1_ok && $date2_stm <= $date1_stm && strlen($date2_stm)>0)
$str.= GetMessage("MAIN_FROM_TILL_TIMESTAMP")."<br>";
}
if(strlen(trim($find_last_login_1))>0 || strlen(trim($find_last_login_2))>0)
{
$date_1_ok = false;
$date1_stm = MkDateTime(FmtDate($find_last_login_1,"D.M.Y"),"d.m.Y");
$date2_stm = MkDateTime(FmtDate($find_last_login_2,"D.M.Y")." 23:59","d.m.Y H:i");
if(!$date1_stm && strlen(trim($find_last_login_1))>0)
$str.= GetMessage("MAIN_WRONG_LAST_LOGIN_FROM")."<br>";
else
$date_1_ok = true;
if(!$date2_stm && strlen(trim($find_last_login_2))>0)
$str.= GetMessage("MAIN_WRONG_LAST_LOGIN_TILL")."<br>";
elseif($date_1_ok && $date2_stm <= $date1_stm && strlen($date2_stm)>0)
$str.= GetMessage("MAIN_FROM_TILL_LAST_LOGIN")."<br>";
}
$strError .= $str;
if(strlen($str)>0)
{
global $lAdmin;
$lAdmin->AddFilterError($str);
return false;
}
return true;
}
示例11: CheckFilter
function CheckFilter()
{
global $strError, $FilterArr;
reset($FilterArr);
foreach ($FilterArr as $f) {
global ${$f};
}
$str = "";
if (strlen(trim($find_timestamp_1)) > 0 || strlen(trim($find_timestamp_2)) > 0) {
$date_1_ok = false;
$date1_stm = MkDateTime(FmtDate($find_timestamp_1, "D.M.Y"), "d.m.Y");
$date2_stm = MkDateTime(FmtDate($find_timestamp_2, "D.M.Y") . " 23:59", "d.m.Y H:i");
if (!$date1_stm && strlen(trim($find_timestamp_1)) > 0) {
$str .= GetMessage("SALE_WRONG_TIMESTAMP_FROM") . "<br>";
} else {
$date_1_ok = true;
}
if (!$date2_stm && strlen(trim($find_timestamp_2)) > 0) {
$str .= GetMessage("SALE_WRONG_TIMESTAMP_TILL") . "<br>";
} elseif ($date_1_ok && $date2_stm <= $date1_stm && strlen($date2_stm) > 0) {
$str .= GetMessage("SALE_FROM_TILL_TIMESTAMP") . "<br>";
}
}
if (strlen(trim($find_last_login_1)) > 0 || strlen(trim($find_last_login_2)) > 0) {
$date_1_ok = false;
$date1_stm = MkDateTime(FmtDate($find_last_login_1, "D.M.Y"), "d.m.Y");
$date2_stm = MkDateTime(FmtDate($find_last_login_2, "D.M.Y") . " 23:59", "d.m.Y H:i");
if (!$date1_stm && strlen(trim($find_last_login_1)) > 0) {
$str .= GetMessage("SALE_WRONG_LAST_LOGIN_FROM") . "<br>";
} else {
$date_1_ok = true;
}
if (!$date2_stm && strlen(trim($find_last_login_2)) > 0) {
$str .= GetMessage("SALE_WRONG_LAST_LOGIN_TILL") . "<br>";
} elseif ($date_1_ok && $date2_stm <= $date1_stm && strlen($date2_stm) > 0) {
$str .= GetMessage("SALE_FROM_TILL_LAST_LOGIN") . "<br>";
}
}
$strError .= $str;
if (strlen($str) > 0) {
return false;
} else {
return true;
}
}
示例12: CheckFilter
function CheckFilter()
{
global $FilterArr, $lAdmin;
foreach ($FilterArr as $f) {
global ${$f};
}
if (strlen(trim($find_update_1)) > 0 || strlen(trim($find_update_2)) > 0) {
$date_1_ok = false;
$date1_stm = MkDateTime(FmtDate($find_update_1, "D.M.Y"), "d.m.Y");
$date2_stm = MkDateTime(FmtDate($find_update_2, "D.M.Y") . " 23:59", "d.m.Y H:i");
if (!$date1_stm && strlen(trim($find_update_1)) > 0) {
$lAdmin->AddFilterError(GetMessage("POST_WRONG_UPDATE_FROM"));
} else {
$date_1_ok = true;
}
if (!$date2_stm && strlen(trim($find_update_2)) > 0) {
$lAdmin->AddFilterError(GetMessage("POST_WRONG_UPDATE_TILL"));
} elseif ($date_1_ok && $date2_stm <= $date1_stm && strlen($date2_stm) > 0) {
$lAdmin->AddFilterError(GetMessage("POST_FROM_TILL_UPDATE"));
}
}
if (strlen(trim($find_insert_1)) > 0 || strlen(trim($find_insert_2)) > 0) {
$date_1_ok = false;
$date1_stm = MkDateTime(FmtDate($find_insert_1, "D.M.Y"), "d.m.Y");
$date2_stm = MkDateTime(FmtDate($find_insert_2, "D.M.Y") . " 23:59", "d.m.Y H:i");
if (!$date1_stm && strlen(trim($find_insert_1)) > 0) {
$lAdmin->AddFilterError(GetMessage("POST_WRONG_INSERT_FROM"));
} else {
$date_1_ok = true;
}
if (!$date2_stm && strlen(trim($find_insert_2)) > 0) {
$lAdmin->AddFilterError(GetMessage("POST_WRONG_INSERT_TILL"));
} elseif ($date_1_ok && $date2_stm <= $date1_stm && strlen($date2_stm) > 0) {
$lAdmin->AddFilterError(GetMessage("POST_FROM_TILL_INSERT"));
}
}
return count($lAdmin->arFilterErrors) == 0;
}
示例13: CheckFilter
function CheckFilter()
{
global $FilterArr, $lAdmin;
foreach ($FilterArr as $f) {
global ${$f};
}
if (strlen(trim($find_last_executed_1)) > 0 || strlen(trim($find_last_executed_2)) > 0) {
$date_1_ok = false;
$date1_stm = MkDateTime(FmtDate($find_last_executed_1, "D.M.Y"), "d.m.Y");
$date2_stm = MkDateTime(FmtDate($find_last_executed_2, "D.M.Y") . " 23:59", "d.m.Y H:i");
if (!$date1_stm && strlen(trim($find_last_executed_1)) > 0) {
$lAdmin->AddFilterError(GetMessage("rub_wrong_generation_from"));
} else {
$date_1_ok = true;
}
if (!$date2_stm && strlen(trim($find_last_executed_2)) > 0) {
$lAdmin->AddFilterError(GetMessage("rub_wrong_generation_till"));
} elseif ($date_1_ok && $date2_stm <= $date1_stm && strlen($date2_stm) > 0) {
$lAdmin->AddFilterError(GetMessage("rub_wrong_generation_from_till"));
}
}
return count($lAdmin->arFilterErrors) == 0;
}
示例14: CheckFilter
function CheckFilter() // проверка введенных полей
{
global $strError, $FilterArr;
reset($FilterArr); foreach ($FilterArr as $f) global $$f;
$str = "";
$arMsg = Array();
if (strlen(trim($find_date1))>0 || strlen(trim($find_date2))>0)
{
$date_1_ok = false;
$date1_stm = MkDateTime(ConvertDateTime($find_date1,"D.M.Y"),"d.m.Y");
$date2_stm = MkDateTime(ConvertDateTime($find_date2,"D.M.Y")." 23:59","d.m.Y H:i");
if (!$date1_stm && strlen(trim($find_date1))>0)
//$str.= GetMessage("SUP_WRONG_DATE_FROM")."<br>";
$arMsg[] = array("id"=>"find_date1", "text"=> GetMessage("SUP_WRONG_DATE_FROM"));
else
$date_1_ok = true;
if (!$date2_stm && strlen(trim($find_date2))>0)
//$str.= GetMessage("SUP_WRONG_DATE_TILL")."<br>";
$arMsg[] = array("id"=>"find_date2", "text"=> GetMessage("SUP_WRONG_DATE_TILL"));
elseif ($date_1_ok && $date2_stm <= $date1_stm && strlen($date2_stm)>0)
//$str.= GetMessage("SUP_FROM_TILL_DATE")."<br>";
$arMsg[] = array("id"=>"find_date2", "text"=> GetMessage("SUP_FROM_TILL_DATE"));
}
if(!empty($arMsg))
{
$e = new CAdminException($arMsg);
$GLOBALS["APPLICATION"]->ThrowException($e);
return false;
}
return true;
}
示例15: GetList
//.........這裏部分代碼省略.........
* <a href="http://dev.1c-bitrix.ru/api_help/main/reference/cgroup/getbyid.php">CGroup::GetByID</a> </li> </ul></b<a
* name="examples"></a>
*
*
* @static
* @link http://dev.1c-bitrix.ru/api_help/main/reference/cgroup/getlist.php
* @author Bitrix
*/
public static function GetList(&$by, &$order, $arFilter = array(), $SHOW_USERS_AMOUNT = "N")
{
global $DB;
$err_mess = CGroup::err_mess() . "<br>Function: GetList<br>Line: ";
$arSqlSearch = $arSqlSearch_h = array();
$strSqlSearch_h = "";
if (is_array($arFilter)) {
foreach ($arFilter as $key => $val) {
if (is_array($val)) {
if (count($val) <= 0) {
continue;
}
} else {
if (strlen($val) <= 0 || "{$val}" == "NOT_REF") {
continue;
}
}
$key = strtoupper($key);
$match_value_set = array_key_exists($key . "_EXACT_MATCH", $arFilter);
switch ($key) {
case "ID":
$match = $match_value_set && $arFilter[$key . "_EXACT_MATCH"] == "N" ? "Y" : "N";
$arSqlSearch[] = GetFilterQuery("G.ID", $val, $match);
break;
case "TIMESTAMP_1":
$arSqlSearch[] = "G.TIMESTAMP_X >= FROM_UNIXTIME('" . MkDateTime(FmtDate($val, "D.M.Y"), "d.m.Y") . "')";
break;
case "TIMESTAMP_2":
$arSqlSearch[] = "G.TIMESTAMP_X <= FROM_UNIXTIME('" . MkDateTime(FmtDate($val, "D.M.Y") . " 23:59:59", "d.m.Y") . "')";
break;
case "ACTIVE":
$arSqlSearch[] = $val == "Y" ? "G.ACTIVE='Y'" : "G.ACTIVE='N'";
break;
case "ADMIN":
if (COption::GetOptionString("main", "controller_member", "N") == "Y" && COption::GetOptionString("main", "~controller_limited_admin", "N") == "Y") {
if ($val == "Y") {
$arSqlSearch[] = "G.ID=0";
}
break;
} else {
$arSqlSearch[] = $val == "Y" ? "G.ID=1" : "G.ID>1";
}
break;
case "NAME":
$match = $match_value_set && $arFilter[$key . "_EXACT_MATCH"] == "Y" ? "N" : "Y";
$arSqlSearch[] = GetFilterQuery("G.NAME", $val, $match);
break;
case "STRING_ID":
$match = $match_value_set && $arFilter[$key . "_EXACT_MATCH"] == "N" ? "Y" : "N";
$arSqlSearch[] = GetFilterQuery("G.STRING_ID", $val, $match);
break;
case "DESCRIPTION":
$match = $match_value_set && $arFilter[$key . "_EXACT_MATCH"] == "Y" ? "N" : "Y";
$arSqlSearch[] = GetFilterQuery("G.DESCRIPTION", $val, $match);
break;
case "USERS_1":
$SHOW_USERS_AMOUNT = "Y";
$arSqlSearch_h[] = "USERS>=" . intval($val);