This file contains 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
//Переменная для включения/отключения индикатора загрузки | |
var spinner = $('.ymap-container').children('.loader'); | |
//Переменная для определения была ли хоть раз загружена Яндекс.Карта (чтобы избежать повторной загрузки при наведении) | |
var check_if_load = false; | |
//Необходимые переменные для того, чтобы задать координаты на Яндекс.Карте | |
var myMapTemp, myPlacemarkTemp; | |
//Функция создания карты сайта и затем вставки ее в блок с идентификатором "map-yandex" | |
function init () { | |
var myMapTemp = new ymaps.Map("map-yandex", { |
This file contains 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
########## Install NGINX ############## | |
# Install software-properties-common package to give us add-apt-repository package | |
sudo apt-get install -y software-properties-common | |
# Install latest nginx version from community maintained ppa | |
sudo add-apt-repository ppa:nginx/stable | |
# Update packages after adding ppa |
This file contains 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'); |