This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<? | |
if ($USER->isAdmin()) { | |
?> | |
//код | |
<? | |
} | |
?> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?if ($_REQUEST['code']){ | |
define('START_TIME', time()); // засекаем время старта | |
define('CODE', str_replace("\r\n","\n",$_REQUEST['code'])); // строка поиска | |
define('START_PATH', dirname(__FILE__)); // стартовая папка для поиска | |
define('LOG',START_PATH.'/filelist.txt'); // файл с результатами | |
if ($_REQUEST['break_point']) | |
define('SKIP_PATH',$_REQUEST['break_point']); // промежуточный путь | |
else | |
@unlink(LOG); // первый раз, удалим файл со старыми результатами |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<? | |
require($_SERVER["DOCUMENT_ROOT"] . "/bitrix/header.php"); | |
$APPLICATION->SetTitle("Экспорт списка юзеров и получателей рассылок"); | |
$expSubscribesFile = 'subscribes.csv'; | |
$expUsersFile = 'users.csv'; | |
$strDlmtr = ';'; | |
$lineDlmtr = "\n"; | |
$arUsers = array('#,Фамилия,Имя,Отчество,EMail'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> $('#left-menu').height($('#right-content').height() + $('#right-content-indicator-list').height());</script> |