3require_once(__DIR__.
"/../include/prolog_admin_before.php");
10if(!(
$USER->CanDoOperation(
'view_subordinate_users') ||
$USER->CanDoOperation(
'view_all_users')))
25 $JSFUNC = preg_replace(
"/[^a-z0-9_\\[\\]:]/i",
"",
$_REQUEST[
'JSFUNC']);
62 foreach($FilterArr as
$f)
66 if(trim($find_timestamp_1) <>
'' || trim($find_timestamp_2) <>
'')
71 if (!$date1_stm && trim($find_timestamp_1) <>
'')
73 else $date_1_ok =
true;
74 if (!$date2_stm && trim($find_timestamp_2) <>
'')
76 elseif ($date_1_ok && $date2_stm <= $date1_stm && $date2_stm <>
'')
80 if(trim($find_last_login_1) <>
'' || trim($find_last_login_2) <>
'')
84 $date2_stm =
MkDateTime(
FmtDate($find_last_login_2,
"D.M.Y").
" 23:59",
"d.m.Y H:i");
85 if(!$date1_stm && trim($find_last_login_1) <>
'')
89 if(!$date2_stm && trim($find_last_login_2) <>
'')
91 elseif($date_1_ok && $date2_stm <= $date1_stm && $date2_stm <>
'')
111 "TIMESTAMP_1" => $find_timestamp_1,
112 "TIMESTAMP_2" => $find_timestamp_2,
113 "LAST_LOGIN_1" => $find_last_login_1,
114 "LAST_LOGIN_2" => $find_last_login_2,
115 "ACTIVE" => $find_active,
116 "LOGIN" => ($find!=
'' && $find_type ==
"login"? $find: $find_login),
117 "NAME" => ($find!=
'' && $find_type ==
"name"? $find: $find_name),
118 "EMAIL" => ($find!=
'' && $find_type ==
"email"? $find: $find_email),
119 "KEYWORDS" => $find_keywords,
120 "GROUPS_ID" => $find_group_id
124if(!
$USER->CanDoOperation(
'view_all_users'))
127 if(
$USER->CanDoOperation(
'edit_own_profile'))
144 array(
"id"=>
"ID",
"content"=>
"ID",
"sort"=>
"id",
"default"=>
true),
145 array(
"id"=>
"TIMESTAMP_X",
"content"=>
GetMessage(
'TIMESTAMP'),
"sort"=>
"timestamp_x",
"default"=>
true),
146 array(
"id"=>
"ACTIVE",
"content"=>
GetMessage(
'ACTIVE'),
"sort"=>
"active",
"default"=>
true),
147 array(
"id"=>
"LOGIN",
"content"=>
GetMessage(
"LOGIN"),
"sort"=>
"login",
"default"=>
true),
148 array(
"id"=>
"NAME",
"content"=>
GetMessage(
"NAME"),
"sort"=>
"name",
"default"=>
true),
149 array(
"id"=>
"LAST_NAME",
"content"=>
GetMessage(
"LAST_NAME"),
"sort"=>
"last_name",
"default"=>
true),
150 array(
"id"=>
"EMAIL",
"content"=>
GetMessage(
'EMAIL'),
"sort"=>
"email",
"default"=>
true),
151 array(
"id"=>
"LAST_LOGIN",
"content"=>
GetMessage(
"LAST_LOGIN"),
"sort"=>
"last_login",
"default"=>
true),
152 array(
"id"=>
"DATE_REGISTER",
"content"=>
GetMessage(
"DATE_REGISTER"),
"sort"=>
"date_register"),
153 array(
"id"=>
"PERSONAL_BIRTHDAY",
"content"=>
GetMessage(
"PERSONAL_BIRTHDAY"),
"sort"=>
"personal_birthday"),
154 array(
"id"=>
"PERSONAL_PROFESSION",
"content"=>
GetMessage(
"PERSONAL_PROFESSION"),
"sort"=>
"personal_profession"),
155 array(
"id"=>
"PERSONAL_WWW",
"content"=>
GetMessage(
"PERSONAL_WWW"),
"sort"=>
"personal_www"),
156 array(
"id"=>
"PERSONAL_ICQ",
"content"=>
GetMessage(
"PERSONAL_ICQ"),
"sort"=>
"personal_icq"),
157 array(
"id"=>
"PERSONAL_GENDER",
"content"=>
GetMessage(
"PERSONAL_GENDER"),
"sort"=>
"personal_gender"),
158 array(
"id"=>
"PERSONAL_PHONE",
"content"=>
GetMessage(
"PERSONAL_PHONE"),
"sort"=>
"personal_phone"),
159 array(
"id"=>
"PERSONAL_MOBILE",
"content"=>
GetMessage(
"PERSONAL_MOBILE"),
"sort"=>
"personal_mobile"),
160 array(
"id"=>
"PERSONAL_CITY",
"content"=>
GetMessage(
"PERSONAL_CITY"),
"sort"=>
"personal_city"),
161 array(
"id"=>
"PERSONAL_STREET",
"content"=>
GetMessage(
"PERSONAL_STREET"),
"sort"=>
"personal_street"),
162 array(
"id"=>
"WORK_COMPANY",
"content"=>
GetMessage(
"WORK_COMPANY"),
"sort"=>
"work_company"),
163 array(
"id"=>
"WORK_DEPARTMENT",
"content"=>
GetMessage(
"WORK_DEPARTMENT"),
"sort"=>
"work_department"),
164 array(
"id"=>
"WORK_POSITION",
"content"=>
GetMessage(
"WORK_POSITION"),
"sort"=>
"work_position"),
165 array(
"id"=>
"WORK_WWW",
"content"=>
GetMessage(
"WORK_WWW"),
"sort"=>
"work_www"),
166 array(
"id"=>
"WORK_PHONE",
"content"=>
GetMessage(
"WORK_PHONE"),
"sort"=>
"work_phone"),
167 array(
"id"=>
"WORK_CITY",
"content"=>
GetMessage(
"WORK_CITY"),
"sort"=>
"work_city"),
168 array(
"id"=>
"XML_ID",
"content"=>
GetMessage(
"XML_ID"),
"sort"=>
"external_id"),
169 array(
"id"=>
"EXTERNAL_AUTH_ID",
"content"=>
GetMessage(
"EXTERNAL_AUTH_ID")),
177 $row->AddViewField(
"ID", $f_ID);
178 $row->AddCheckField(
"ACTIVE",
false);
179 $row->AddViewField(
"LOGIN",
"<a href=\"javascript:SetValue('".$f_ID.
"');\" title=\"".
GetMessage(
"MAIN_CHANGE").
"\">".
$arRes[
"LOGIN"].
"</a>");
180 $row->AddViewField(
"NAME",
$arRes[
"NAME"]);
181 $row->AddViewField(
"LAST_NAME",
$arRes[
"LAST_NAME"]);
182 $row->AddViewField(
"EMAIL", TxtToHtml(
$arRes[
"EMAIL"]));
183 $row->AddViewField(
"PERSONAL_PROFESSION",
$arRes[
"PERSONAL_PROFESSION"]);
184 $row->AddViewField(
"PERSONAL_WWW", TxtToHtml(
$arRes[
"PERSONAL_WWW"]));
185 $row->AddViewField(
"PERSONAL_ICQ",
$arRes[
"PERSONAL_ICQ"]);
186 $row->AddViewField(
"PERSONAL_GENDER",
$arRes[
"PERSONAL_GENDER"]);
187 $row->AddViewField(
"PERSONAL_PHONE",
$arRes[
"PERSONAL_PHONE"]);
188 $row->AddViewField(
"PERSONAL_MOBILE",
$arRes[
"PERSONAL_MOBILE"]);
189 $row->AddViewField(
"PERSONAL_CITY",
$arRes[
"PERSONAL_CITY"]);
190 $row->AddViewField(
"PERSONAL_STREET",
$arRes[
"PERSONAL_STREET"]);
191 $row->AddViewField(
"WORK_COMPANY",
$arRes[
"WORK_COMPANY"]);
192 $row->AddViewField(
"WORK_DEPARTMENT",
$arRes[
"WORK_DEPARTMENT"]);
193 $row->AddViewField(
"WORK_POSITION",
$arRes[
"WORK_POSITION"]);
194 $row->AddViewField(
"WORK_WWW", TxtToHtml(
$arRes[
"WORK_WWW"]));
195 $row->AddViewField(
"WORK_PHONE",
$arRes[
"WORK_PHONE"]);
196 $row->AddViewField(
"WORK_CITY",
$arRes[
"WORK_CITY"]);
197 $row->AddViewField(
"XML_ID",
$arRes[
"XML_ID"]);
199 $arActions =
array();
200 $arActions[] =
array(
204 "ACTION"=>
"SetValue('".$f_ID.
"');"
206 $row->AddActions($arActions);
215require(
$_SERVER[
"DOCUMENT_ROOT"].
"/bitrix/modules/main/include/prolog_popup_admin.php")
220 <?
if ($JSFUNC <>
''){?>
221 window.opener.SUV<?=$JSFUNC?>(id);
223 window.opener.document.<?echo
$FN;?>[
"<?echo $FC;?>"].value=id;
224 if (window.opener.BX)
225 window.opener.BX.fireEvent(window.opener.document.<?echo
$FN;?>[
"<?echo $FC;?>"],
'change');
230<form name=
"find_form" method=
"GET" action=
"<?echo $APPLICATION->GetCurPage()?>?">
250 <td><b><?=
GetMessage(
"MAIN_FLT_SEARCH")?></b></td>
252 <input type=
"text" size=
"25" name=
"find" value=
"<?echo htmlspecialcharsbx($find)?>" title=
"<?=GetMessage("MAIN_FLT_SEARCH_TITLE
")?>">
254 <option value=
"login"<?
if($find_type==
"login") echo
" selected"?>><?=
GetMessage(
'MAIN_FLT_LOGIN')?></option>
255 <option value=
"email"<?
if($find_type==
"email") echo
" selected"?>><?=
GetMessage(
'MAIN_FLT_EMAIL')?></option>
256 <option value=
"name"<?
if($find_type==
"name") echo
" selected"?>><?=
GetMessage(
'MAIN_FLT_FIO')?></option>
262 <td><input type=
"text" name=
"find_id" size=
"47" value=
"<?echo htmlspecialcharsbx($find_id)?>"><?=
ShowFilterLogicHelp()?></td>
265 <td><?echo
GetMessage(
"MAIN_F_TIMESTAMP").
":"?></td>
269 <td><?echo
GetMessage(
"MAIN_F_LAST_LOGIN").
":"?></td>
282 <td><input type=
"text" name=
"find_login" size=
"47" value=
"<?echo htmlspecialcharsbx($find_login)?>"><?=
ShowFilterLogicHelp()?></td>
286 <td><input type=
"text" name=
"find_email" value=
"<?echo htmlspecialcharsbx($find_email)?>" size=
"47"><?=
ShowFilterLogicHelp()?></td>
290 <td><input type=
"text" name=
"find_name" value=
"<?echo htmlspecialcharsbx($find_name)?>" size=
"47"><?=
ShowFilterLogicHelp()?></td>
293 <td><?echo
GetMessage(
"MAIN_F_KEYWORDS")?></td>
294 <td><input type=
"text" name=
"find_keywords" value=
"<?echo htmlspecialcharsbx($find_keywords)?>" size=
"47"><?=
ShowFilterLogicHelp()?></td>
297 <td><?echo
GetMessage(
"F_GROUP")?><br><img src=
"/bitrix/images/main/mouse.gif" width=
"44" height=
"21" border=
"0" alt=
""></td>
300 echo
SelectBoxM(
"find_group_id[]",
$z, $find_group_id,
"",
false, 10);
303<input type=
"hidden" name=
"FN" value=
"<?echo htmlspecialcharsbx($FN)?>">
304<input type=
"hidden" name=
"FC" value=
"<?echo htmlspecialcharsbx($FC)?>">
305<input type=
"hidden" name=
"JSFUNC" value=
"<?echo htmlspecialcharsbx($JSFUNC)?>">
315require(
$_SERVER[
"DOCUMENT_ROOT"].
"/bitrix/modules/main/include/epilog_popup_admin.php");
static GetNavSize($table_id=false, $nPageSize=20)
static GetDropDownList($strSqlSearch="and ACTIVE='Y'", $strSqlOrder="ORDER BY C_SORT, NAME, ID")
static GetSubordinateGroups(int $userID=null)
hidden PROPERTY[<?=$propertyIndex?>][CODE]<?=htmlspecialcharsEx( $propertyCode)?> height
bx popup label bx width30 PAGE_NEW_MENU_NAME text width
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
$_SERVER["DOCUMENT_ROOT"]
CalendarPeriod($sFromName, $sFromVal, $sToName, $sToVal, $sFormName="skform", $show_select="N", $field_select="class=\"typeselect\"", $field_input="class=\"typeinput\"", $size="10")
SelectBoxM($strBoxName, $a, $arr, $strDetText="", $strDetText_selected=false, $size="5", $field1="class=\"typeselect\"")
FmtDate($str_date, $format=false, $site=false, $bSearchInSitesOnly=false)
htmlspecialcharsbx($string, $flags=ENT_COMPAT, $doubleEncode=true)
IncludeModuleLangFile($filepath, $lang=false, $bReturnArray=false)
GetMessage($name, $aReplace=null)
MkDateTime($strDT, $format="d.m.Y H:i:s")
SelectBoxFromArray( $strBoxName, $db_array, $strSelectedVal="", $strDetText="", $field1="class='typeselect'", $go=false, $form="form1")
if( $daysToExpire >=0 &&$daysToExpire< 60 elseif)( $daysToExpire< 0)
<? endif;?> window document title
if(file_exists($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/updater.log") &&is_file($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/updater.log") &&is_readable($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/updater.log")) $rsData