Commit 301a5094 authored by Olga's avatar Olga

init

parent 06a1613a
<?
$PERM["aktsii.php"]["*"]="D";
$PERM["price"]["2"]="D";
$PERM["price"]["3"]="D";
$PERM["price"]["4"]="D";
$PERM["price"]["5"]="R";
$PERM["/"]["*"]="R";
?>
\ No newline at end of file
<?
$aMenuLinks = Array(
Array(
"Главная",
"/",
Array(),
Array(),
""
),
Array(
"Услуги",
"/services/",
Array(),
Array(),
""
),
Array(
"Пользовательское соглашение",
"/polzovatelskoe-soglashenie.php",
Array(),
Array(),
""
),
Array(
"Решения",
"/solutions/",
Array(),
Array(),
"false"
),
Array(
"Отзывы",
"/company/reviews/",
Array(),
Array(),
""
),
Array(
"Наши клиенты",
"info/clients/",
Array(),
Array(),
""
),
Array(
"Условия оплаты",
"/usloviya-oplaty.php",
Array(),
Array(),
""
),
Array(
"Карьера",
"/career/",
Array(),
Array(),
""
),
Array(
"Контакты",
"/contacts/",
Array(),
Array(),
""
),
Array(
"",
"",
Array(),
Array(),
""
)
);
?>
\ No newline at end of file
/cgi-bin
/.htaccess
.htaccess.restore
/.htaccess*
*txt
*.xml
/web.config
/google*.html
/yandex_*.html
/test
a.php
*.zip
/favicon.ico
*.back3*
/upload
/bitrix/.access.php
/bitrix/admin
/bitrix/backup
/bitrix/bitrix.php
/bitrix/blocks
/bitrix/cache
/bitrix/catalog_export
/bitrix/components
/bitrix/composer-bx.json
/bitrix/composer.json.example
/bitrix/coupon_activation.php
/bitrix/crontab
/bitrix/css
/bitrix/fonts
/bitrix/footer.php
/bitrix/gadgets
/bitrix/header.php
/bitrix/html_pages
/bitrix/images
/bitrix/image_uploader
/bitrix/index.php
/bitrix/js
/bitrix/legal/
/bitrix/license_key.php
/bitrix/managed_cache
/bitrix/modules
/bitrix/otp
/bitrix/p3p.xml
/bitrix/panel
/bitrix/php_interface/dbconn.php
/bitrix/php_interface/include/catalog_export/logs/
/bitrix/preset/
/bitrix/public/
/bitrix/redirect.php
/bitrix/result-payment-sberbank/
/bitrix/rss.php
/bitrix/services
/bitrix/.settings_extra.php
/bitrix/site_checker_*.log
/bitrix/sounds
/bitrix/spread.php
/bitrix/stack_cache
/bitrix/templates/landing24/
/bitrix/themes
/bitrix/tmp
/bitrix/tools
/bitrix/tradingplatforms
/bitrix/updates
/bitrix/urlrewrite.php
/bitrix/virtual_file_system.php
/bitrix/web.config
/bitrix/wizards
/bitrix/cloudPayments
/bitrix/php_interface/include/sale_payment
/bitrix/routing_index.php
/bitrix/.settings.php
/bitrix/activities/
/bitrix/activity_limit.php
/bitrix/imagess/
/bitrix/lib/
/bitrix/php_interface/
/bitrix/template/
/bitrix/templates/.default/
/bitrix/templates/archive_17092019_1021.zip
/bitrix/templates/aspro_mail/
/bitrix/templates/aspro_next_/
/bitrix/templates/call_app/
/bitrix/templates/desktop_app/
/bitrix/templates/learning/
/bitrix/templates/mail_user/
/bitrix/templates/proekip_mail/
\ No newline at end of file
<?
$sSectionName = "Главная Финанс Севро-Запад";
$arDirProperties = Array(
"description" => "Мы являемся ведущей аутсорс-компанией на Северо-Западе и оказываем любые бухгалтерские услуги для любых компаний.",
"keywords" => "Бухгалтерский аутсорс, аутсорс бухгалттерских услуг, удаленный бухгалтер, главный бухгалтер удаленно, бизнес аутсорс",
"keywords_inner" => "Бухгалтерский аутсорс, аутсорс бухгалттерских услуг, удаленный бухгалтер, главный бухгалтер удаленно, бизнес аутсорс"
);
?>
\ No newline at end of file
<?
$aMenuLinks = Array(
Array(
"Главная",
"/",
Array(),
Array(),
""
),
Array(
"Услуги",
"/services/",
Array(),
Array(),
""
),
Array(
"Решения",
"/solutions/",
Array(),
Array(),
"false"
),
Array(
"Наши клиенты",
"/company/clients/",
Array(),
Array(),
""
),
Array(
"О компании",
"/company/",
Array(),
Array(),
""
),
Array(
"Акции",
"/akcii/",
Array(),
Array(),
""
),
Array(
"Контакты",
"/contacts/",
Array(),
Array(),
""
)
);
?>
\ No newline at end of file
<?
include_once($_SERVER['DOCUMENT_ROOT'].'/bitrix/modules/main/include/urlrewrite.php');
CHTTP::SetStatus("404 Not Found");
@define("ERROR_404","Y");
require($_SERVER["DOCUMENT_ROOT"]."/bitrix/header.php");
$APPLICATION->SetTitle("Ошибка: 404 - Страница не найдена");
?>
<style>
.page-top, .left-menu-md, .right-menu-md{display:none;}
.content-md{width:100%;}
</style>
<div class="page404">
<div class="row">
<div class="col-md-7 hidden-xs hidden-sm">
<div class="i404">404</div>
</div>
<div class="col-md-5 col-sm-12">
<div class="t404">
<div style="font-size:44px;line-height:50px;text-transform:uppercase;">Ошибка 404</div>
<div style="font-size:18px;line-height:32px;color:#666666;">Страница не найдена</div>
<div style="font-size:13px;margin:14px 0 35px;">Неправильно набран адрес или такой<br />страницы не существует</div>
<a href="<?=SITE_DIR?>" class="btn btn-default btn-lg">Перейти на главную</a>
<?if($_SERVER["HTTP_REFERER"]):?>
<div>
или <a href="<?=$_SERVER["HTTP_REFERER"]?>">вернуться назад</a>
</div>
<?endif;?>
</div>
</div>
</div>
</div>
<script type="text/javascript">
$(window).resize(function(){ // BX.addCustomEvent('onWindowResize', function(eventdata) {
try{
var windowHeight = $(window).outerHeight();
var panelHeight = $('#panel').outerHeight();
var headerHeight = $('header').outerHeight();
var footerHeight = $('footer').outerHeight();
var mainPaddingTop = parseInt($('.main').css('padding-top'));
var mainPaddingBottom = parseInt($('.main').css('padding-bottom'));
var bodyMarginTop = parseInt($('.body').css('margin-top'));
var bodyMarginBottom = parseInt($('.body').css('margin-bottom'));
var page404Height = $('.page404').outerHeight();
var part = Math.floor((windowHeight - panelHeight - headerHeight - footerHeight - page404Height) / 2);
console.log(part);
if(part < (mainPaddingTop + bodyMarginTop)){
part = mainPaddingTop + bodyMarginTop;
}
if(part < (mainPaddingBottom + bodyMarginBottom)){
part = mainPaddingBottom + bodyMarginBottom;
}
console.log(part);
var top = (part - mainPaddingTop - bodyMarginTop);
if(top < 0){
top = 0;
}
var bottom = (part - mainPaddingBottom - bodyMarginBottom);
if(bottom < 0){
bottom = 0;
}
ignoreResize.push(true);
$('.page404').css({'opacity': '1', 'margin-top': top + 'px', 'margin-bottom': bottom + 'px'});
setTimeout(function() {
$('.page404').css({'transition': 'none', '-moz-transition': 'none', '-ms-transition': 'none', '-o-transition': 'none', '-webkit-transition': 'none'});
}, 400);
ignoreResize.pop();
}
catch(e){}
});
</script>
<?require($_SERVER["DOCUMENT_ROOT"]."/bitrix/footer.php");?>
\ No newline at end of file
<?
require($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog_before.php");
\Bitrix\Main\Loader::incLudeModule('aspro.scorp');
$arModuleOptions = CScorp::GetFrontParametrsValues(SITE_ID);
$arBasketItems = CScorp::processBascket();
?>
<div id="ajax_basket_items">
<script>
arBasketItems = <?=CUtil::PhpToJSObject($arBasketItems, false)?>;
</script>
</div>
<?
if($arModuleOptions['ORDER_BASKET_VIEW'] == 'HEADER'){
$APPLICATION->IncludeComponent(
"aspro:basket.scorp",
"top",
array(
"COMPONENT_TEMPLATE" => "top",
),
false
);
}elseif($arModuleOptions['ORDER_BASKET_VIEW'] == 'FLY'){
$APPLICATION->IncludeComponent(
"aspro:basket.scorp",
"fly",
array(
"COMPONENT_TEMPLATE" => "fly",
),
false
);
}
?>
\ No newline at end of file
<?require($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog_before.php");
include_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/classes/general/captcha.php");
$cpt = new CCaptcha();
$cpt->Delete( $_REQUEST['captcha_sid'] );
echo htmlspecialchars($APPLICATION->CaptchaGetCode());?>
\ No newline at end of file
<?require($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog_before.php");
global $DB;
if( strlen( $_REQUEST['captcha_word'] ) <= 0 || strlen( $_REQUEST['captcha_sid'] ) <= 0 ){ echo 'false'; exit; }
$_REQUEST['captcha_word'] = strtoupper( $_REQUEST['captcha_word'] );
$res = $DB->Query("SELECT CODE FROM b_captcha WHERE ID = '".$DB->ForSQL( $_REQUEST['captcha_sid'], 32 )."' ");
if( !$ar = $res->Fetch() ){ echo 'false'; exit; }
if( $ar["CODE"] != $_REQUEST['captcha_word'] ){ echo 'false'; exit; }
echo 'true';?>
\ No newline at end of file
<?require($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog_before.php");
$rsUser = CUser::GetList($by="ID", $order="DESC", array( "EMAIL" => $_REQUEST["email"] ) );
if( intval( $rsUser->SelectedRowsCount() ) > 0 ){ echo 'true'; }else{ echo 'false'; }?>
\ No newline at end of file
<?require($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog_before.php");
$rsUser = CUser::GetList($by="ID", $order="DESC", array( "EMAIL" => $_REQUEST["email"] ) );
if( intval( $rsUser->SelectedRowsCount() ) > 0 ){ echo 'false'; }else{ echo 'true'; }?>
\ No newline at end of file
<?require($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog_before.php");?>
<?
CModule::IncludeModule('aspro.scorp');
$id = (isset($_REQUEST["id"]) ? $_REQUEST["id"] : false);
$arFrontParametrs = CScorp::GetFrontParametrsValues(SITE_ID);
$captcha = (in_array($arFrontParametrs['USE_CAPTCHA_FORM'], array('HIDDEN', 'IMAGE', 'RECAPTCHA')) ? $arFrontParametrs['USE_CAPTCHA_FORM'] : 'NONE');
$processing = ($arFrontParametrs['DISPLAY_PROCESSING_NOTE'] === 'Y' ? 'Y' : 'N');
$processing_checked = ($arFrontParametrs['PROCESSING_NOTE_CHECKED'] === 'Y' ? 'Y' : 'N');
$isCallBack = $id == CCache::$arIBlocks[SITE_ID]["aspro_scorp_form"]["aspro_scorp_callback"][0];
$successMessage = ($isCallBack ? "<p>Наш менеджер перезвонит вам в ближайшее время.</p><p>Спасибо за ваше обращение!</p>" : "Спасибо! Ваше сообщение отправлено!");
?>
<span class="jqmClose top-close fa fa-close"></span>
<?if($id):?>
<?$APPLICATION->IncludeComponent(
"aspro:form.scorp", "popup",
Array(
"IBLOCK_TYPE" => "aspro_scorp_form",
"IBLOCK_ID" => $id,
"USE_CAPTCHA" => $captcha,
"DISPLAY_PROCESSING_NOTE" => $processing,
"PROCESSING_NOTE_CHECKED" => $processing_checked,
"AJAX_MODE" => "Y",
"AJAX_OPTION_JUMP" => "N",
"AJAX_OPTION_STYLE" => "N",
"AJAX_OPTION_HISTORY" => "N",
"CACHE_TYPE" => "A",
"CACHE_TIME" => "100000",
"AJAX_OPTION_ADDITIONAL" => "",
//"IS_PLACEHOLDER" => "Y",
"SUCCESS_MESSAGE" => $successMessage,
"SEND_BUTTON_NAME" => "Отправить",
"SEND_BUTTON_CLASS" => "btn btn-default",
"DISPLAY_CLOSE_BUTTON" => "Y",
"POPUP" => "Y",
"CLOSE_BUTTON_NAME" => "Закрыть",
"CLOSE_BUTTON_CLASS" => "jqmClose btn btn-default bottom-close"
)
);?>
<?endif;?>
\ No newline at end of file
<?require($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog_before.php");?>
<?
$old_password = $_REQUEST["old_password"];
$user_id = $_REQUEST["user_id"];
$userData = CUser::GetByID($user_id)->Fetch();
$salt = substr($userData['PASSWORD'], 0, (strlen($userData['PASSWORD']) - 32));
$realPassword = substr($userData['PASSWORD'], -32);
$password = md5($salt.$old_password);
//echo 12313;
if($password != $realPassword){
echo "false";
}else{
echo "true";
}
?>
\ No newline at end of file
<?
$aMenuLinks = Array(
Array(
"Акция «Будь в тренде»",
"/akcii",
Array(),
Array(),
""
)
);
?>
\ No newline at end of file
<?
$sSectionName="Акции";
?>
\ No newline at end of file
<?require($_SERVER["DOCUMENT_ROOT"]."/bitrix/header.php");
$APPLICATION->SetPageProperty("title", "Акции компании ФИНАНС-СЕВЕРО-ЗАПАД");
$APPLICATION->SetPageProperty("description", "Акции и скидки на бухгалтерские услуги от бухгалтерской компании ФИНАНС-СЕВЕРО-ЗАПАД");
$APPLICATION->SetTitle("Акции");?><img width="100%" alt="skidka.png" src="/upload/medialibrary/0b5/0b58555f1f3386eb59680e6fe5ec198d.png" title="skidka.png"><br>
&nbsp;<br>
<div>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Скидка 10% на комплексное ведение - бухгалтерский и налоговый учёт, кадровое делопроизводство, расчёт заработной платы.<br>
Доверьте узкопрофильную работу специалистам и спокойно ведите свой бизнес. <br>
Ответственность застрахована.
</div>
<span style="font-family: &quot;Courier New&quot;; font-size: 20px;"> </span><?require($_SERVER["DOCUMENT_ROOT"]."/bitrix/footer.php");?>
\ No newline at end of file
<div style="padding:0 7px 0 13px;color:#666666;">
<i>"Три профессионала по цене одного наёмного сотрудника."</i>
</div>
<br>
\ No newline at end of file
Type text here...
<title>Акции</title>
<?
return array (
'underline' => 'Title with underline',
'table table-striped' => 'Table',
'table table-bordered' => 'Borderd table',
'grey_dark' => 'Dark text',
'grey_light' => 'Bright text',
'dark_light_table' => 'Fark table header',
'dark_light' => 'Dark text',
);
?>
\ No newline at end of file
<?
if(!defined('B_PROLOG_INCLUDED') || B_PROLOG_INCLUDED !== true) die();
if(empty($arResult)){
return '';
}
$currentPagePath = GetPagePath();
$strReturn = '<ul class="breadcrumb" id="navigation" itemscope itemtype="http://schema.org/BreadcrumbList">';
$position = 1;
for($index = 0, $itemSize = count($arResult); $index < $itemSize; ++$index){
$title = htmlspecialcharsex($arResult[$index]['TITLE']);
$bCurrent = $arResult[$index]['LINK'] == $currentPagePath || $arResult[$index]['LINK'].'index.php' == $currentPagePath;
if(!$bCurrent){
if(strlen($arResult[$index]["LINK"])){
$strReturn .= '<li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem"><a href="'.$arResult[$index]["LINK"].'" title="'.$title.'" itemprop="item"><span itemprop="name">'.$title.'</span></a><meta itemprop="position" content="'.$position.'" /></li>';
}
}
else{
$strReturn .= '<li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem" class="active"><link href="'.$arResult[$index]['LINK'].'" itemprop="item" /><span itemprop="name">'.$title.'</span><meta itemprop="position" content="'.$position.'" /></li>';
break;
}
++$position;
}
$strReturn .= '</ul>';
return $strReturn;?>
\ No newline at end of file
<?
if (!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true) die();
$arThemes = array();
if (IsModuleInstalled('bitrix.eshop'))
{
$arThemes['site'] = GetMessage('CP_BCT_TPL_THEME_SITE');
}
$arThemesMessages = array(
"blue" => GetMessage("CP_BCT_TPL_THEME_BLUE"),
"wood" => GetMessage("CP_BCT_TPL_THEME_WOOD"),
"yellow" => GetMessage("CP_BCT_TPL_THEME_YELLOW"),
"green" => GetMessage("CP_BCT_TPL_THEME_GREEN"),
"red" => GetMessage("CP_BCT_TPL_THEME_RED"),
"black" => GetMessage("CP_BCT_TPL_THEME_BLACK")
);
$dir = trim(preg_replace("'[\\\\/]+'", "/", dirname(__FILE__)."/themes/"));
if (is_dir($dir) && $directory = opendir($dir))
{
while (($file = readdir($directory)) !== false)
{
if ($file != "." && $file != ".." && is_dir($dir.$file))
$arThemes[$file] = (!empty($arThemesMessages[$file]) ? $arThemesMessages[$file] : strtoupper(substr($file, 0, 1)).strtolower(substr($file, 1)));
}
closedir($directory);
}
$arTemplateParameters['TEMPLATE_THEME'] = array(
'PARENT' => 'VISUAL',
'NAME' => GetMessage("CP_BCT_TPL_TEMPLATE_THEME"),
'TYPE' => 'LIST',
'VALUES' => $arThemes,
'DEFAULT' => 'blue',
'ADDITIONAL_VALUES' => 'Y'
);
if ($arCurrentValues["FILTER_VIEW_MODE"] == "vertical")
{
$arPopupPosition = array(
"left" => GetMessage("CP_BCT_TPL_POPUP_POSITION_LEFT"),
"right" => GetMessage("CP_BCT_TPL_POPUP_POSITION_RIGHT")
);
$arTemplateParameters['POPUP_POSITION'] = array(
'PARENT' => 'VISUAL',
'NAME' => GetMessage("CP_BCT_TPL_POPUP_POSITION"),
'TYPE' => 'LIST',
'VALUES' => $arPopupPosition,
'DEFAULT' => 'left',
'ADDITIONAL_VALUES' => 'Y'
);
}
?>
\ No newline at end of file
<?if(!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true)die();?>
<?
$APPLICATION->RestartBuffer();
unset($arResult["COMBO"]);
echo CUtil::PHPToJSObject($arResult, true);
?>
\ No newline at end of file
<?if(!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true)die();
/** @var array $templateData */
/** @var @global CMain $APPLICATION */
global $APPLICATION;
CJSCore::Init(array("fx"));
if (isset($templateData['TEMPLATE_THEME']))
{
$APPLICATION->SetAdditionalCSS($templateData['TEMPLATE_THEME']);
}
?>
\ No newline at end of file
<?
$MESS["CP_BCT_TPL_THEME_SITE"] = "Use site theme (for bitrix.eshop)";
$MESS["CP_BCT_TPL_THEME_BLUE"] = "blue (default theme)";
$MESS["CP_BCT_TPL_THEME_GREEN"] = "green";
$MESS["CP_BCT_TPL_THEME_WOOD"] = "wood";
$MESS["CP_BCT_TPL_THEME_YELLOW"] = "yellow";
$MESS["CP_BCT_TPL_THEME_RED"] = "Red";
$MESS["CP_BCT_TPL_TEMPLATE_THEME"] = "Color theme";
$MESS["CP_BCT_TPL_THEME_BLACK"] = "dark";
$MESS["CP_BCT_TPL_FILTER_VIEW"] = "View mode";
$MESS["CP_BCT_TPL_FILTER_VIEW_H"] = "horizontal";
$MESS["CP_BCT_TPL_FILTER_VIEW_V"] = "vertical";
$MESS["CP_BCT_TPL_POPUP_POSITION"] = "Show filter information popup";
$MESS["CP_BCT_TPL_POPUP_POSITION_LEFT"] = "on the left";
$MESS["CP_BCT_TPL_POPUP_POSITION_RIGHT"] = "on the right";
?>
\ No newline at end of file
<?
$MESS['CT_BCSF_FILTER_TITLE'] = 'Select by:';
$MESS['CT_BCSF_FILTER_FROM'] = 'From';
$MESS['CT_BCSF_FILTER_TO'] = 'To';
$MESS['CT_BCSF_SET_FILTER'] = 'Show';
$MESS['CT_BCSF_DEL_FILTER'] = 'Reset';
$MESS['CT_BCSF_FILTER_COUNT'] = 'Selected: #ELEMENT_COUNT#';
$MESS['CT_BCSF_FILTER_SHOW'] = 'Show';
$MESS['CT_BCSF_FILTER_ALL'] = 'All';
$MESS['PRICE_TITLE_DEFAULT'] = 'Price';
?>
\ No newline at end of file
<?
$MESS["CP_BCT_TPL_THEME_SITE"] = "Брать тему из настроек сайта (для решения bitrix.eshop)";
$MESS["CP_BCT_TPL_THEME_BLUE"] = "синяя (тема по умолчанию)";
$MESS["CP_BCT_TPL_THEME_GREEN"] = "зеленая";
$MESS["CP_BCT_TPL_THEME_WOOD"] = "дерево";
$MESS["CP_BCT_TPL_THEME_YELLOW"] = "желтая";
$MESS["CP_BCT_TPL_THEME_RED"] = "красная";
$MESS["CP_BCT_TPL_THEME_BLACK"] = "темная";
$MESS["CP_BCT_TPL_TEMPLATE_THEME"] = "Цветовая тема";
$MESS["CP_BCT_TPL_FILTER_VIEW"] = "Вид отображения";
$MESS["CP_BCT_TPL_FILTER_VIEW_H"] = "горизонтальный";
$MESS["CP_BCT_TPL_FILTER_VIEW_V"] = "вертикальный";
$MESS["CP_BCT_TPL_POPUP_POSITION"] = "Позиция для отображения всплывающего блока с информацией о фильтрации";
$MESS["CP_BCT_TPL_POPUP_POSITION_LEFT"] = "слева";
$MESS["CP_BCT_TPL_POPUP_POSITION_RIGHT"] = "справа";
?>
\ No newline at end of file
<?
$MESS['CT_BCSF_FILTER_TITLE'] = 'Подбор параметров';
$MESS['CT_BCSF_FILTER_FROM'] = 'От';
$MESS['CT_BCSF_FILTER_TO'] = 'До';
$MESS['CT_BCSF_SET_FILTER'] = 'Показать';
$MESS['CT_BCSF_DEL_FILTER'] = 'Сбросить';
$MESS['CT_BCSF_FILTER_COUNT'] = 'Выбрано: #ELEMENT_COUNT#';
$MESS['CT_BCSF_FILTER_SHOW'] = 'Показать';
$MESS['CT_BCSF_FILTER_ALL'] = 'Все';
$MESS['PRICE_TITLE_DEFAULT'] = 'Цена';
?>
\ No newline at end of file
<?
if(!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED !== true) die();
if(isset($arParams["TEMPLATE_THEME"]) && !empty($arParams["TEMPLATE_THEME"])){
$arAvailableThemes = array();
$dir = trim(preg_replace("'[\\\\/]+'", "/", dirname(__FILE__)."/themes/"));
if (is_dir($dir) && $directory = opendir($dir))
{
while (($file = readdir($directory)) !== false)
{
if ($file != "." && $file != ".." && is_dir($dir.$file))
$arAvailableThemes[] = $file;
}
closedir($directory);
}
if ($arParams["TEMPLATE_THEME"] == "site")
{
$solution = COption::GetOptionString("main", "wizard_solution", "", SITE_ID);
if ($solution == "eshop")
{
$theme = COption::GetOptionString("main", "wizard_eshop_adapt_theme_id", "blue", SITE_ID);
$arParams["TEMPLATE_THEME"] = (in_array($theme, $arAvailableThemes)) ? $theme : "blue";
}
}
else
{
$arParams["TEMPLATE_THEME"] = (in_array($arParams["TEMPLATE_THEME"], $arAvailableThemes)) ? $arParams["TEMPLATE_THEME"] : "blue";
}
}
else
{
$arParams["TEMPLATE_THEME"] = "blue";
}
$arParams["POPUP_POSITION"] = (isset($arParams["POPUP_POSITION"]) && in_array($arParams["POPUP_POSITION"], array("left", "right"))) ? $arParams["POPUP_POSITION"] : "left";
// remove empty properties
if($arResult["ITEMS"]){
foreach($arResult["ITEMS"] as $key => $arItem){
if(isset($arItem["PRICE"])){
if($arItem["VALUES"]["MAX"]["VALUE"] - $arItem["VALUES"]["MIN"]["VALUE"] <= 0){
unset($arResult["ITEMS"][$key]);
continue;
}
}
else{
if((empty($arItem["VALUES"]) || isset($arItem["PRICE"])) || ($arItem["DISPLAY_TYPE"] == "A" && ($arItem["VALUES"]["MAX"]["VALUE"] - $arItem["VALUES"]["MIN"]["VALUE"] <= 0))){
unset($arResult["ITEMS"][$key]);
continue;
}
}
}
}
?>
\ No newline at end of file
<?if(!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true)die();?>
<?
echo '<'.'?xml version="1.0" encoding="utf-8" ?'.'>';
//We'll show at least one price
$priceCounter = 0;
foreach($arResult["ITEMS"] as $arItem)
{
if (isset($arItem["PRICE"]) && isset($arItem["VALUES"]["MIN"]["VALUE"]) && isset($arItem["VALUES"]["MAX"]["VALUE"]))
$priceCounter++;
}
if ($priceCounter > 0)
{
$priceCounter = 1;//When price is showed
$rangeCounter = 0;//Range propery will be skipped
$totalCounter = 8;//Overall properties count
}
else
{
$priceCounter = 0;//When price is NOT showed
$rangeCounter = 1;//We can show no more than one range propery
$totalCounter = 8;//Overall properties count
}
?>
<site
xmlns="http://interactive-answers.webmaster.yandex.ru/schemas/site/0.0.1"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://interactive-answers.webmaster.yandex.ru/schemas/site/0.0.1 http://interactive-answers.webmaster.yandex.ru/schemas/site-0.0.1.xsd"
>
<title><?echo $arResult["SECTION_TITLE"]?></title>
<description><?echo $arResult["SECTION_DESCRIPTION"]?></description>
<rootUrl><?echo CHTTP::urn2uri("/");?></rootUrl>
<resource>
<fixed name="<?echo CHTTP::urn2uri($arResult["FORM_ACTION"]);?>"/>
</resource>
<filters>
<constant key="Y">
<description caption="set_filter">
<setParameter name="set_filter"/>
</description>
</constant>
<?foreach($arResult["HIDDEN"] as $arItem):?>
<constant key="<?echo $arItem["HTML_VALUE"]?>">
<description caption="<?echo $arItem["CONTROL_ID"]?>">
<setParameter name="<?echo $arItem["CONTROL_NAME"]?>"/>
</description>
</constant>
<?endforeach;?>
<?foreach($arResult["ITEMS"] as $arItem):?>
<?if($priceCounter && isset($arItem["PRICE"])):?>
<?if(isset($arItem["VALUES"]["MIN"]["VALUE"]) && isset($arItem["VALUES"]["MAX"]["VALUE"])):?>
<?$priceCounter--;$totalCounter--;?>
<rangeFilter min="<?echo floor($arItem["VALUES"]["MIN"]["VALUE"])?>" max="<?echo ceil($arItem["VALUES"]["MAX"]["VALUE"])?>" step="1" <?if (count($arItem["CURRENCIES"]) == 1) echo ' unit="'.current($arItem["CURRENCIES"]).'"';?>>
<description caption="<?echo $arItem["NAME"]?>">
<setParameter name="<?echo $arItem["VALUES"]["MIN"]["CONTROL_NAME"]?>"/>
<setParameter name="<?echo $arItem["VALUES"]["MAX"]["CONTROL_NAME"]?>"/>
</description>
</rangeFilter>
<?endif;?>
<?elseif($rangeCounter && $arItem["PROPERTY_TYPE"] == "N"):?>
<?if(isset($arItem["VALUES"]["MIN"]["VALUE"]) && isset($arItem["VALUES"]["MAX"]["VALUE"])):?>
<?$rangeCounter--;$totalCounter--;?>
<rangeFilter min="<?echo floor($arItem["VALUES"]["MIN"]["VALUE"])?>" max="<?echo ceil($arItem["VALUES"]["MAX"]["VALUE"])?>" step="1" <?if (count($arItem["CURRENCIES"]) == 1) echo ' unit="'.current($arItem["CURRENCIES"]).'"';?>>
<description caption="<?echo $arItem["NAME"]?>">
<setParameter name="<?echo $arItem["VALUES"]["MIN"]["CONTROL_NAME"]?>"/>
<setParameter name="<?echo $arItem["VALUES"]["MAX"]["CONTROL_NAME"]?>"/>
</description>
</rangeFilter>
<?endif;?>
<?elseif($totalCounter && !empty($arItem["VALUES"])):;?>
<?$totalCounter--;?>
<dropDown>
<description caption="<?echo $arItem["NAME"]?>">
<?$ar = current($arItem["VALUES"])?>
<setParameter name="<?echo $ar["CONTROL_NAME_ALT"]?>"/>
</description>
<?foreach($arItem["VALUES"] as $val => $ar):?>
<dropDownValue key="<?echo $ar["HTML_VALUE_ALT"]?>" caption="<?echo $ar["VALUE"];?>"/>
<?endforeach;?>
</dropDown>
<?endif;?>
<?endforeach;?>
</filters>
</site>
<?
$MESS ['MYS_LOADING'] = "loading map...";
?>
\ No newline at end of file
<?
$MESS ['MYS_LOADING'] = "загрузка карты...";
?>
\ No newline at end of file
.bx-google-map {color: black;}
\ No newline at end of file
<?
if (!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true) die();
$this->setFrameMode(true);
$arAllMapOptions = array_merge($arResult['ALL_MAP_OPTIONS'], $arResult['ALL_MAP_CONTROLS']);
$arMapOptions = array_merge($arParams['OPTIONS'], $arParams['CONTROLS']);
?>
<script type="text/javascript">
if (!window.GLOBAL_arMapObjects)
window.GLOBAL_arMapObjects = {};
function init_<?echo $arParams['MAP_ID']?>()
{
if (!window.google && !window.google.maps)
return;
var opts = {
zoom: <?echo $arParams['INIT_MAP_SCALE']?>,
center: new google.maps.LatLng(<?echo $arParams['INIT_MAP_LAT']?>, <?echo $arParams['INIT_MAP_LON']?>),
<?
foreach ($arAllMapOptions as $option => $method)
{
echo "\t\t".(
in_array($option, $arMapOptions)
? str_replace(array('#true#', '#false#'), array('true', 'false'), $method)
: str_replace(array('#false#', '#true#'), array('true', 'false'), $method)
).",\r\n";
}
?>
mapTypeId: google.maps.MapTypeId.<?echo $arParams['INIT_MAP_TYPE']?>
};
window.GLOBAL_arMapObjects['<?echo $arParams['MAP_ID']?>'] = new window.google.maps.Map(BX("BX_GMAP_<?echo $arParams['MAP_ID']?>"), opts);
<?
if ($arParams['DEV_MODE'] == 'Y'):
?>
window.bGoogleMapScriptsLoaded = true;
<?
endif;
?>
}
<?
if ($arParams['DEV_MODE'] == 'Y'):
?>
function BXMapLoader_<?echo $arParams['MAP_ID']?>(MAP_KEY)
{
if (null == window.bGoogleMapScriptsLoaded)
{
if (window.google && window.google.maps)
{
window.bGoogleMapScriptsLoaded = true;
BX.ready(init_<?echo $arParams['MAP_ID']?>);
}
else
{
if(window.bGoogleMapsScriptLoading)
{
window.bInt<?echo $arParams['MAP_ID']?> = setInterval(
function()
{
if(window.bGoogleMapScriptsLoaded)
{
clearInterval(window.bInt<?echo $arParams['MAP_ID']?>);
init_<?echo $arParams['MAP_ID']?>();
}
else
return;
},
500
);
return;
}
window.bGoogleMapsScriptLoading = true;
<?$scheme = (CMain::IsHTTPS() ? "https" : "http");?>
BX.loadScript(
'<?=$scheme?>://www.google.com/jsapi?rnd=' + Math.random(),
function ()
{
if (BX.browser.IsIE())
setTimeout("window.google.load('maps', <?= intval($arParams['GOOGLE_VERSION'])?>, {callback: init_<?echo $arParams['MAP_ID']?>, other_params: 'sensor=false&language=<?= LANGUAGE_ID?>'})", 1000);
else
google.load('maps', <?echo intval($arParams['GOOGLE_VERSION'])?>, {callback: init_<?echo $arParams['MAP_ID']?>, other_params: 'sensor=false&language=<?=LANGUAGE_ID?>'});
}
);
}
}
else
{
init_<?echo $arParams['MAP_ID']?>();
}
}
<?
if (!$arParams['WAIT_FOR_EVENT']):
?>
BXMapLoader_<?echo $arParams['MAP_ID']?>('<?echo $arParams['KEY']?>');
<?
else:
echo CUtil::JSEscape($arParams['WAIT_FOR_EVENT']),' = BXMapLoader_',$arParams['MAP_ID'],';';
endif;
else:
?>
BX.ready(init_<?echo $arParams['MAP_ID']?>);
<?
endif;
?>
/* if map inits in hidden block (display:none),
* after the block showed,
* for properly showing map this function must be called
*/
function BXMapGoogleAfterShow(mapId)
{
if(google.maps !== undefined && window.GLOBAL_arMapObjects[mapId] !== undefined)
google.maps.event.trigger(window.GLOBAL_arMapObjects[mapId],'resize');
}
</script>
<div id="BX_GMAP_<?echo $arParams['MAP_ID']?>" class="bx-google-map" style="height: <?echo $arParams['MAP_HEIGHT'];?>; width: <?echo $arParams['MAP_WIDTH']?>;"><?echo GetMessage('MYS_LOADING'.($arParams['WAIT_FOR_EVENT'] ? '_WAIT' : ''));?></div>
\ No newline at end of file
<?
$MESS['MYMS_TPL_SEARCH'] = "Search Address";
$MESS['MYMS_TPL_SUBMIT'] = "Search";
$MESS['MYMS_TPL_JS_ERROR'] = "Error";
$MESS['MYMS_TPL_JS_SEARCH'] = "Search Results";
$MESS['MYMS_TPL_JS_RESULTS'] = "found";
$MESS['MYMS_TPL_JS_RESULTS_EMPTY'] = "Your search did not match any locations.";
?>
\ No newline at end of file
<?
$MESS['MYMS_TPL_SEARCH'] = 'Поиск по адресу';
$MESS['MYMS_TPL_SUBMIT'] = 'Искать';
$MESS['MYMS_TPL_JS_ERROR'] = 'Ошибка';
$MESS['MYMS_TPL_JS_SEARCH'] = 'Результаты поиска';
$MESS['MYMS_TPL_JS_RESULTS'] = 'результатов найдено';
$MESS['MYMS_TPL_JS_RESULTS_EMPTY'] = 'Ничего не найдено';
?>
\ No newline at end of file
if (!window.BX_GMapAddPlacemark)
{
window.BX_GMapAddPlacemark = function(arPlacemark, map_id)
{
var map = GLOBAL_arMapObjects[map_id];
if (null == map)
return false;
if(!arPlacemark.LAT || !arPlacemark.LON)
return false;
var obPlacemark = new google.maps.Marker({
'position': new google.maps.LatLng(arPlacemark.LAT, arPlacemark.LON),
'map': map
});
if (BX.type.isNotEmptyString(arPlacemark.TEXT))
{
obPlacemark.infowin = new google.maps.InfoWindow({
content: arPlacemark.TEXT.replace(/\n/g, '<br />')
});
google.maps.event.addListener(obPlacemark, 'click', function() {
if (null != window['__bx_google_infowin_opened_' + map_id])
window['__bx_google_infowin_opened_' + map_id].close();
this.infowin.open(this.map, this);
window['__bx_google_infowin_opened_' + map_id] = this.infowin;
});
}
return obPlacemark;
}
}
if (null == window.BXWaitForMap_view)
{
function BXWaitForMap_view(map_id)
{
if (null == window.GLOBAL_arMapObjects)
return;
if (window.GLOBAL_arMapObjects[map_id])
window['BX_SetPlacemarks_' + map_id]();
else
setTimeout('BXWaitForMap_view(\'' + map_id + '\')', 300);
}
}
\ No newline at end of file
<?
if (!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true) die();
$this->setFrameMode(true);
$arTransParams = array(
'INIT_MAP_TYPE' => $arParams['INIT_MAP_TYPE'],
'INIT_MAP_LON' => $arResult['POSITION']['google_lon'],
'INIT_MAP_LAT' => $arResult['POSITION']['google_lat'],
'INIT_MAP_SCALE' => $arResult['POSITION']['google_scale'],
'MAP_WIDTH' => $arParams['MAP_WIDTH'],
'MAP_HEIGHT' => $arParams['MAP_HEIGHT'],
'CONTROLS' => $arParams['CONTROLS'],
'OPTIONS' => $arParams['OPTIONS'],
'MAP_ID' => $arParams['MAP_ID'],
);
if ($arParams['DEV_MODE'] == 'Y')
{
$arTransParams['DEV_MODE'] = 'Y';
if ($arParams['WAIT_FOR_EVENT'])
$arTransParams['WAIT_FOR_EVENT'] = $arParams['WAIT_FOR_EVENT'];
}
?>
<div class="bx-yandex-view-layout">
<div class="bx-yandex-view-map">
<?
$APPLICATION->IncludeComponent('bitrix:map.google.system', '.default', $arTransParams, false, array('HIDE_ICONS' => 'Y'));
?>
</div>
</div>
<?if (is_array($arResult['POSITION']['PLACEMARKS']) && ($cnt = count($arResult['POSITION']['PLACEMARKS']))):?>
<script type="text/javascript">
function BX_SetPlacemarks_<?echo $arParams['MAP_ID']?>()
{
<?
for($i = 0; $i < $cnt; $i++):
?>
BX_GMapAddPlacemark(<?echo CUtil::PhpToJsObject($arResult['POSITION']['PLACEMARKS'][$i])?>, '<?echo $arParams['MAP_ID']?>');
<?
endfor;
?>
}
function BXShowMap_<?echo $arParams['MAP_ID']?>() {
if(typeof window["BXWaitForMap_view"] == 'function')
{
BXWaitForMap_view('<?echo $arParams['MAP_ID']?>');
}
else
{
/* If component's result was cached as html,
* script.js will not been loaded next time.
* let's do it manualy.
*/
(function(d, s, id)
{
var js, bx_gm = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "<?=$templateFolder.'/script.js'?>";
bx_gm.parentNode.insertBefore(js, bx_gm);
}(document, 'script', 'bx-google-map-js'));
var gmWaitIntervalId = setInterval( function(){
if(typeof window["BXWaitForMap_view"] == 'function')
{
BXWaitForMap_view("<?echo $arParams['MAP_ID']?>");
clearInterval(gmWaitIntervalId);
}
}, 300
);
}
}
BX.ready(BXShowMap_<?echo $arParams['MAP_ID']?>);
</script>
<?endif;?>
\ No newline at end of file
<?
$MESS ['MYS_LOADING'] = "loading map...";
$MESS ['MYS_LOADING_WAIT'] = "Please wait while the map is being initialized...";
?>
\ No newline at end of file
<?
$MESS ['MYS_LOADING'] = "загрузка карты...";
$MESS ['MYS_LOADING_WAIT'] = "ожидание инициации загрузки карты...";
?>
\ No newline at end of file
div.bx-yandex-map {color: black; font-size: 11px;}
div.bx-yandex-map div.YMaps-b-balloon-content {color: black; font-size: 11px;}
div.bx-popup-form div.bx-yandex-map div.YMaps-b-balloon-point div.YMaps-b-balloon div.YMaps-b-balloon-wrap table.YMaps-b-balloon-frame td {
padding: 0px !important;
}
div.bx-popup-form div.bx-yandex-map div.YMaps-b-balloon-point div.YMaps-b-balloon div.YMaps-b-balloon-wrap table.YMaps-b-balloon-frame td textarea{
font-size: 11px;
}
div.bx-popup-form div.bx-yandex-map div.YMaps-b-balloon-point div.YMaps-b-balloon div.YMaps-b-balloon-wrap table.YMaps-b-balloon-frame td.YMaps-b-balloon-b {
background-image: none !important;
}
<?
if (!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true) die();
?>
<?$this->setFrameMode(true);?>
<script type="text/javascript">
if (!window.GLOBAL_arMapObjects)
window.GLOBAL_arMapObjects = {};
function init_<?echo $arParams['MAP_ID']?>()
{
if (!window.ymaps)
return;
if(typeof window.GLOBAL_arMapObjects['<?echo $arParams['MAP_ID']?>'] !== "undefined")
return;
var node = BX("BX_YMAP_<?echo $arParams['MAP_ID']?>");
node.innerHTML = '';
var map = window.GLOBAL_arMapObjects['<?echo $arParams['MAP_ID']?>'] = new ymaps.Map(node, {
center: [<?echo $arParams['INIT_MAP_LAT']?>, <?echo $arParams['INIT_MAP_LON']?>],
zoom: <?echo $arParams['INIT_MAP_SCALE']?>,
type: 'yandex#<?=$arResult['ALL_MAP_TYPES'][$arParams['INIT_MAP_TYPE']]?>'
});
<?
foreach ($arResult['ALL_MAP_OPTIONS'] as $option => $method)
{
if (in_array($option, $arParams['OPTIONS'])):
?>
map.behaviors.enable("<?echo $method?>");
<?
else:
?>
if (map.behaviors.isEnabled("<?echo $method?>"))
map.behaviors.disable("<?echo $method?>");
<?
endif;
}
foreach ($arResult['ALL_MAP_CONTROLS'] as $control => $method)
{
if (in_array($control, $arParams['CONTROLS'])):
?>
map.controls.add('<?=$method?>');
<?
endif;
}
if ($arParams['DEV_MODE'] == 'Y'):
?>
window.bYandexMapScriptsLoaded = true;
<?
endif;
if ($arParams['ONMAPREADY']):
?>
if (window.<?echo $arParams['ONMAPREADY']?>)
{
<?
if ($arParams['ONMAPREADY_PROPERTY']):
?>
<?echo $arParams['ONMAPREADY_PROPERTY']?> = map;
window.<?echo $arParams['ONMAPREADY']?>();
<?
else:
?>
window.<?echo $arParams['ONMAPREADY']?>(map);
<?
endif;
?>
}
<?
endif;
?>
}
<?
if ($arParams['DEV_MODE'] == 'Y'):
?>
function BXMapLoader_<?echo $arParams['MAP_ID']?>()
{
if (null == window.bYandexMapScriptsLoaded)
{
function _wait_for_map(){
if (window.ymaps && window.ymaps.Map)
init_<?echo $arParams['MAP_ID']?>();
else
setTimeout(_wait_for_map, 50);
}
BX.loadScript('<?=$arResult['MAPS_SCRIPT_URL']?>', _wait_for_map);
}
else
{
init_<?echo $arParams['MAP_ID']?>();
}
}
<?
if ($arParams['WAIT_FOR_EVENT']):
?>
<?=CUtil::JSEscape($arParams['WAIT_FOR_EVENT'])?> = BXMapLoader_<?=$arParams['MAP_ID']?>;
<?
elseif ($arParams['WAIT_FOR_CUSTOM_EVENT']):
?>
BX.addCustomEvent('<?=CUtil::JSEscape($arParams['WAIT_FOR_EVENT'])?>', BXMapLoader_<?=$arParams['MAP_ID']?>);
<?
else:
?>
BX.ready(BXMapLoader_<?echo $arParams['MAP_ID']?>);
<?
endif;
else: // $arParams['DEV_MODE'] == 'Y'
?>
(function bx_ymaps_waiter(){
if(typeof ymaps !== 'undefined')
ymaps.ready(init_<?echo $arParams['MAP_ID']?>);
else
setTimeout(bx_ymaps_waiter, 100);
})();
<?
endif; // $arParams['DEV_MODE'] == 'Y'
?>
/* if map inits in hidden block (display:none)
* after the block showed
* for properly showing map this function must be called
*/
function BXMapYandexAfterShow(mapId)
{
if(window.GLOBAL_arMapObjects[mapId] !== undefined)
window.GLOBAL_arMapObjects[mapId].container.fitToViewport();
}
</script>
<div id="BX_YMAP_<?echo $arParams['MAP_ID']?>" class="bx-yandex-map" style="height: <?echo $arParams['MAP_HEIGHT'];?>; width: <?echo $arParams['MAP_WIDTH']?>;"><?echo GetMessage('MYS_LOADING'.($arParams['WAIT_FOR_EVENT'] ? '_WAIT' : ''));?></div>
\ No newline at end of file
<?
$MESS['MYMS_TPL_SEARCH'] = "Search Address";
$MESS['MYMS_TPL_SUBMIT'] = "Search";
$MESS['MYMS_TPL_JS_ERROR'] = "Error";
$MESS['MYMS_TPL_JS_SEARCH'] = "Search Results";
$MESS['MYMS_TPL_JS_RESULTS'] = "found";
$MESS['MYMS_TPL_JS_RESULTS_EMPTY'] = "Your search did not match any locations.";
?>
\ No newline at end of file
<?
$MESS['MYMS_TPL_SEARCH'] = 'Поиск по адресу';
$MESS['MYMS_TPL_SUBMIT'] = 'Искать';
$MESS['MYMS_TPL_JS_ERROR'] = 'Ошибка';
$MESS['MYMS_TPL_JS_SEARCH'] = 'Результаты поиска';
$MESS['MYMS_TPL_JS_RESULTS'] = 'результатов найдено';
$MESS['MYMS_TPL_JS_RESULTS_EMPTY'] = 'Ничего не найдено';
?>
\ No newline at end of file
if (!window.BX_YMapAddPlacemark)
{
window.BX_YMapAddPlacemark = function(map, arPlacemark)
{
if (null == map)
return false;
if(!arPlacemark.LAT || !arPlacemark.LON)
return false;
var props = {};
if (null != arPlacemark.TEXT && arPlacemark.TEXT.length > 0)
{
var value_view = '';
if (arPlacemark.TEXT.length > 0)
{
var rnpos = arPlacemark.TEXT.indexOf("\n");
value_view = rnpos <= 0 ? arPlacemark.TEXT : arPlacemark.TEXT.substring(0, rnpos);
}
props.balloonContent = arPlacemark.TEXT.replace(/\n/g, '<br />');
props.hintContent = value_view;
}
var obPlacemark = new ymaps.Placemark(
[arPlacemark.LAT, arPlacemark.LON],
props,
{balloonCloseButton: true}
);
map.geoObjects.add(obPlacemark);
return obPlacemark;
}
}
if (!window.BX_YMapAddPolyline)
{
window.BX_YMapAddPolyline = function(map, arPolyline)
{
if (null == map)
return false;
if (null != arPolyline.POINTS && arPolyline.POINTS.length > 1)
{
var arPoints = [];
for (var i = 0, len = arPolyline.POINTS.length; i < len; i++)
{
arPoints.push([arPolyline.POINTS[i].LAT, arPolyline.POINTS[i].LON]);
}
}
else
{
return false;
}
var obParams = {clickable: true};
if (null != arPolyline.STYLE)
{
obParams.strokeColor = arPolyline.STYLE.strokeColor;
obParams.strokeWidth = arPolyline.STYLE.strokeWidth;
}
var obPolyline = new ymaps.Polyline(
arPoints, {balloonContent: arPolyline.TITLE}, obParams
);
map.geoObjects.add(obPolyline);
return obPolyline;
}
}
\ No newline at end of file
<?
if (!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true) die();
$this->setFrameMode(true);
if ($arParams['BX_EDITOR_RENDER_MODE'] == 'Y'):
?>
<img src="/bitrix/components/bitrix/map.yandex.view/templates/.default/images/screenshot.png" border="0" />
<?
else:
$arTransParams = array(
'KEY' => $arParams['KEY'],
'INIT_MAP_TYPE' => $arParams['INIT_MAP_TYPE'],
'INIT_MAP_LON' => $arResult['POSITION']['yandex_lon'],
'INIT_MAP_LAT' => $arResult['POSITION']['yandex_lat'],
'INIT_MAP_SCALE' => $arResult['POSITION']['yandex_scale'],
'MAP_WIDTH' => $arParams['MAP_WIDTH'],
'MAP_HEIGHT' => $arParams['MAP_HEIGHT'],
'CONTROLS' => $arParams['CONTROLS'],
'OPTIONS' => $arParams['OPTIONS'],
'MAP_ID' => $arParams['MAP_ID'],
'LOCALE' => $arParams['LOCALE'],
'ONMAPREADY' => 'BX_SetPlacemarks_'.$arParams['MAP_ID'],
);
if ($arParams['DEV_MODE'] == 'Y')
{
$arTransParams['DEV_MODE'] = 'Y';
if ($arParams['WAIT_FOR_EVENT'])
$arTransParams['WAIT_FOR_EVENT'] = $arParams['WAIT_FOR_EVENT'];
}
?>
<script type="text/javascript">
function BX_SetPlacemarks_<?echo $arParams['MAP_ID']?>(map)
{
if(typeof window["BX_YMapAddPlacemark"] != 'function')
{
/* If component's result was cached as html,
* script.js will not been loaded next time.
* let's do it manualy.
*/
(function(d, s, id)
{
var js, bx_ym = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "<?=$templateFolder.'/script.js'?>";
bx_ym.parentNode.insertBefore(js, bx_ym);
}(document, 'script', 'bx-ya-map-js'));
var ymWaitIntervalId = setInterval( function(){
if(typeof window["BX_YMapAddPlacemark"] == 'function')
{
BX_SetPlacemarks_<?echo $arParams['MAP_ID']?>(map);
clearInterval(ymWaitIntervalId);
}
}, 300
);
return;
}
var arObjects = {PLACEMARKS:[],POLYLINES:[]};
<?
if (is_array($arResult['POSITION']['PLACEMARKS']) && ($cnt = count($arResult['POSITION']['PLACEMARKS']))):
for($i = 0; $i < $cnt; $i++):
?>
arObjects.PLACEMARKS[arObjects.PLACEMARKS.length] = BX_YMapAddPlacemark(map, <?echo CUtil::PhpToJsObject($arResult['POSITION']['PLACEMARKS'][$i])?>);
<?
endfor;
endif;
if (is_array($arResult['POSITION']['POLYLINES']) && ($cnt = count($arResult['POSITION']['POLYLINES']))):
for($i = 0; $i < $cnt; $i++):
?>
arObjects.POLYLINES[arObjects.POLYLINES.length] = BX_YMapAddPolyline(map, <?echo CUtil::PhpToJsObject($arResult['POSITION']['POLYLINES'][$i])?>);
<?
endfor;
endif;
if ($arParams['ONMAPREADY']):
?>
if (window.<?echo $arParams['ONMAPREADY']?>)
{
window.<?echo $arParams['ONMAPREADY']?>(map, arObjects);
}
<?
endif;
?>
}
</script>
<div class="bx-yandex-view-layout">
<div class="bx-yandex-view-map">
<?
$APPLICATION->IncludeComponent('bitrix:map.yandex.system', '.default', $arTransParams, false, array('HIDE_ICONS' => 'Y'));
?>
</div>
</div>
<?
endif;
?>
\ No newline at end of file
<?
$MESS ['MENU_DOT_DEFAULT_NAME'] = "Вертикальное меню по умолчанию";
$MESS ['MENU_DOT_DEFAULT_DESC'] = "Вертикальное меню по умолчанию";
?>
\ No newline at end of file
<?
$MESS ['COUNT_ITEM'] = "Сколько пунктов выводить";
?>
\ No newline at end of file
<?
$MESS['S_MORE_ITEMS'] = "Ещё";
$MESS['CT_BST_SEARCH_BUTTON'] = "Найти";
?>
\ No newline at end of file
<?
$MESS ['MENU_DOT_DEFAULT_NAME'] = "Вертикальное меню по умолчанию";
$MESS ['MENU_DOT_DEFAULT_DESC'] = "Вертикальное меню по умолчанию";
?>
\ No newline at end of file
<?
$MESS ['COUNT_ITEM'] = "Сколько пунктов выводить";
?>
\ No newline at end of file
<?
$MESS['S_MORE_ITEMS'] = "Ещё";
$MESS['CT_BST_SEARCH_BUTTON'] = "Найти";
?>
\ No newline at end of file
<?$arResult = CScorp::getChilds($arResult);?>
\ No newline at end of file
<?if (!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true) die();?>
<?
$this->setFrameMode(true);
$colmd = 4;
$colsm = 6;
?>
<?if($arResult):?>
<div class="bottom-menu">
<div class="items row">
<?foreach($arResult as $arItem):?>
<?$bLink = strlen($arItem['LINK']);?>
<div class="col-md-<?=$colmd?> col-sm-<?=$colsm?>">
<div class="item<?=($arItem["SELECTED"] ? " active" : "")?>">
<div class="title">
<?if($bLink):?>
<a href="<?=$arItem['LINK']?>"><?=$arItem['TEXT']?></a>
<?else:?>
<span><?=$arItem['TEXT']?></span>
<?endif;?>
</div>
</div>
</div>
<?endforeach;?>
</div>
</div>
<?endif;?>
\ No newline at end of file
<?
$MESS ['MENU_DOT_DEFAULT_NAME'] = "Default vertical menu";
$MESS ['MENU_DOT_DEFAULT_DESC'] = "Default vertical menu";
?>
\ No newline at end of file
<?
$MESS ['MENU_DOT_DEFAULT_NAME'] = "Вертикальное меню по умолчанию";
$MESS ['MENU_DOT_DEFAULT_DESC'] = "Вертикальное меню по умолчанию";
?>
\ No newline at end of file
<?$arResult = CScorp::getChilds($arResult);?>
\ No newline at end of file
<?if( !defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true ) die();?>
<?$this->setFrameMode(true);?>
<?
if(!function_exists("ShowSubItems")){
function ShowSubItems($arItem){
?>
<?if($arItem["SELECTED"] && $arItem["CHILD"]):?>
<?$noMoreSubMenuOnThisDepth = false;?>
<ul class="submenu">
<?foreach($arItem["CHILD"] as $arSubItem):?>
<li class="<?=($arSubItem["SELECTED"] ? "active" : "")?> <?=($arSubItem["IS_PARENT"] ? 'parent_item' : '' )?>">
<a href="<?=$arSubItem["LINK"]?>"><?=$arSubItem["TEXT"]?></a>
<?if(!$noMoreSubMenuOnThisDepth):?>
<?ShowSubItems($arSubItem);?>
<?endif;?>
</li>
<?$noMoreSubMenuOnThisDepth |= CScorp::isChildsSelected($arSubItem["CHILD"]);?>
<?endforeach;?>
</ul>
<?endif;?>
<?
}
}
?>
<?if($arResult):?>
<aside class="sidebar">
<ul class="nav nav-list side-menu">
<?foreach($arResult as $arItem):?>
<li class="<?=($arItem["SELECTED"] ? "active" : "")?> <?=($arItem["CHILD"] ? "child" : "")?>">
<a href="<?=$arItem["LINK"]?>"><?=$arItem["TEXT"]?></a>
<?ShowSubItems($arItem);?>
</li>
<?endforeach;?>
</ul>
</aside>
<?endif;?>
\ No newline at end of file
<?
$MESS ['MENU_DOT_DEFAULT_NAME'] = "Вертикальное меню по умолчанию";
$MESS ['MENU_DOT_DEFAULT_DESC'] = "Вертикальное меню по умолчанию";
?>
\ No newline at end of file
<?
$MESS ['COUNT_ITEM'] = "Сколько пунктов выводить";
?>
\ No newline at end of file
<?
$MESS['S_MORE_ITEMS'] = "Ещё";
$MESS['CT_BST_SEARCH_BUTTON'] = "Найти";
?>
\ No newline at end of file
<?
$MESS ['MENU_DOT_DEFAULT_NAME'] = "Вертикальное меню по умолчанию";
$MESS ['MENU_DOT_DEFAULT_DESC'] = "Вертикальное меню по умолчанию";
?>
\ No newline at end of file
<?
$MESS ['COUNT_ITEM'] = "Сколько пунктов выводить";
?>
\ No newline at end of file
<?
$MESS['S_MORE_ITEMS'] = "Ещё";
$MESS['CT_BST_SEARCH_BUTTON'] = "Найти";
?>
\ No newline at end of file
<?$arResult = CScorp::getChilds($arResult);?>
\ No newline at end of file
<?if (!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true) die();?>
<?$this->setFrameMode(true);?>
<?
global $arTheme, $orderViewBasketHtml;
$bOrderViewBasket = (trim($arTheme['ORDER_VIEW']['VALUE']) === 'Y' && trim($arTheme['ORDER_BASKET_VIEW']['VALUE']) === 'HEADER');
$showBasket = (strlen(trim($arTheme['URL_BASKET_SECTION']['VALUE'])) && CSite::inDir($arTheme['URL_BASKET_SECTION']['VALUE']) || strlen(trim($arTheme['URL_ORDER_SECTION']['VALUE'])) && CSite::inDir($arTheme['URL_ORDER_SECTION']['VALUE']) ? 'N' : '');
?>
<?if($arResult):?>
<div class="table-menu hidden-xs<?=($bOrderViewBasket && $showBasket !== 'N' ? ' basketTrue' : '')?>">
<table>
<tr>
<?foreach($arResult as $arItem):?>
<?$bShowChilds = $arParams["MAX_LEVEL"] > 1;?>
<td class="<?=($arItem["CHILD"] ? "dropdown" : "")?> <?=($arItem["SELECTED"] ? "active" : "")?>">
<div class="wrap">
<a class="<?=($arItem["CHILD"] && $bShowChilds ? "dropdown-toggle" : "")?>" href="<?=$arItem["LINK"]?>" title="<?=$arItem["TEXT"]?>">
<?=$arItem["TEXT"]?>
<?if($arItem["CHILD"] && $bShowChilds):?>
&nbsp;<i class="fa fa-angle-down"></i>
<?endif;?>
</a>
<?if($arItem["CHILD"] && $bShowChilds):?>
<span class="tail"></span>
<ul class="dropdown-menu">
<?foreach($arItem["CHILD"] as $arSubItem):?>
<?$bShowChilds = $arParams["MAX_LEVEL"] > 2;?>
<li class="<?=($arSubItem["CHILD"] && $bShowChilds ? "dropdown-submenu" : "")?> <?=($arSubItem["SELECTED"] ? "active" : "")?>">
<a href="<?=$arSubItem["LINK"]?>" title="<?=$arSubItem["TEXT"]?>"><?=$arSubItem["TEXT"]?></a>
<?if($arSubItem["CHILD"] && $bShowChilds):?>
<ul class="dropdown-menu">
<?foreach($arSubItem["CHILD"] as $arSubSubItem):?>
<?$bShowChilds = $arParams["MAX_LEVEL"] > 3;?>
<li class="<?=($arSubSubItem["CHILD"] && $bShowChilds ? "dropdown-submenu" : "")?> <?=($arSubSubItem["SELECTED"] ? "active" : "")?>">
<a href="<?=$arSubSubItem["LINK"]?>" title="<?=$arSubSubItem["TEXT"]?>"><?=$arSubSubItem["TEXT"]?></a>
<?if($arSubSubItem["CHILD"] && $bShowChilds):?>
<ul class="dropdown-menu">
<?foreach($arSubSubItem["CHILD"] as $arSubSubSubItem):?>
<li class="<?=($arSubSubSubItem["SELECTED"] ? "active" : "")?>">
<a href="<?=$arSubSubSubItem["LINK"]?>" title="<?=$arSubSubSubItem["TEXT"]?>"><?=$arSubSubSubItem["TEXT"]?></a>
</li>
<?endforeach;?>
</ul>
<?endif;?>
</li>
<?endforeach;?>
</ul>
<?endif;?>
</li>
<?endforeach;?>
</ul>
<?endif;?>
</div>
</td>
<?endforeach;?>
<td class="dropdown js-dropdown nosave" style="display:none;">
<div class="wrap">
<a class="dropdown-toggle more-items" href="#">
<span>...</span>
</a>
<span class="tail"></span>
<ul class="dropdown-menu"></ul>
</div>
</td>
<td class="search-item nosave">
<div class="wrap<?=($bOrderViewBasket && $showBasket !== 'N' ? ' clearfix' : '')?>">
<a href="#" class="search-icon pull-left">
<i class="fa fa-search"></i>
</a>
</div>
</td>
</tr>
</table>
</div>
<?endif;?>
<?if($arResult):?>
<ul class="nav nav-pills responsive-menu visible-xs" id="mainMenu">
<?foreach($arResult as $arItem):?>
<?$bShowChilds = $arParams["MAX_LEVEL"] > 1;?>
<li class="<?=($arItem["CHILD"] && $bShowChilds ? "dropdown" : "")?> <?=($arItem["SELECTED"] ? "active" : "")?>">
<a class="<?=($arItem["CHILD"] && $bShowChilds ? "dropdown-toggle" : "")?>" href="<?=$arItem["LINK"]?>" title="<?=$arItem["TEXT"]?>">
<?=$arItem["TEXT"]?>
<?if($arItem["CHILD"] && $bShowChilds):?>
<i class="fa fa-angle-down"></i>
<?endif;?>
</a>
<?if($arItem["CHILD"] && $bShowChilds):?>
<ul class="dropdown-menu">
<?foreach($arItem["CHILD"] as $arSubItem):?>
<?$bShowChilds = $arParams["MAX_LEVEL"] > 2;?>
<li class="<?=($arSubItem["CHILD"] && $bShowChilds ? "dropdown-submenu dropdown-toggle" : "")?> <?=($arSubItem["SELECTED"] ? "active" : "")?>">
<a href="<?=$arSubItem["LINK"]?>" title="<?=$arSubItem["TEXT"]?>">
<?=$arSubItem["TEXT"]?>
<?if($arSubItem["CHILD"] && $bShowChilds):?>
&nbsp;<i class="fa fa-angle-down"></i>
<?endif;?>
</a>
<?if($arSubItem["CHILD"] && $bShowChilds):?>
<ul class="dropdown-menu">
<?foreach($arSubItem["CHILD"] as $arSubSubItem):?>
<?$bShowChilds = $arParams["MAX_LEVEL"] > 3;?>
<li class="<?=($arSubSubItem["CHILD"] && $bShowChilds ? "dropdown-submenu dropdown-toggle" : "")?> <?=($arSubSubItem["SELECTED"] ? "active" : "")?>">
<a href="<?=$arSubSubItem["LINK"]?>" title="<?=$arSubSubItem["TEXT"]?>">
<?=$arSubSubItem["TEXT"]?>
<?if($arSubSubItem["CHILD"] && $bShowChilds):?>
&nbsp;<i class="fa fa-angle-down"></i>
<?endif;?>
</a>
<?if($arSubSubItem["CHILD"] && $bShowChilds):?>
<ul class="dropdown-menu">
<?foreach($arSubSubItem["CHILD"] as $arSubSubSubItem):?>
<li class="<?=($arSubSubSubItem["SELECTED"] ? "active" : "")?>">
<a href="<?=$arSubSubSubItem["LINK"]?>" title="<?=$arSubSubSubItem["TEXT"]?>"><?=$arSubSubSubItem["TEXT"]?></a>
</li>
<?endforeach;?>
</ul>
<?endif;?>
</li>
<?endforeach;?>
</ul>
<?endif;?>
</li>
<?endforeach;?>
</ul>
<?endif;?>
</li>
<?endforeach;?>
<div class="search">
<div class="search-input-div">
<input class="search-input" type="text" autocomplete="off" maxlength="50" size="40" placeholder="<?=GetMessage("CT_BST_SEARCH_BUTTON")?>" value="" name="q">
</div>
<div class="search-button-div">
<button class="btn btn-search btn-default" value="<?=GetMessage("CT_BST_SEARCH_BUTTON")?>" name="s" type="submit"><?=GetMessage("CT_BST_SEARCH_BUTTON")?></button>
</div>
</div>
</ul>
<?endif;?>
\ No newline at end of file
<?
if (!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true) die();
$arTemplateDescription = array(
"NAME" => GetMessage("MENU_TREE_NAME"),
"DESCRIPTION" => GetMessage("MENU_TREE_DESC"),
);
?>
\ No newline at end of file
<?
$MESS ['MENU_TREE_NAME'] = "Tree-like menu";
$MESS ['MENU_TREE_DESC'] = "Tree-like menu";
?>
\ No newline at end of file
<?
$MESS ['MENU_TREE_NAME'] = "Древовидное меню";
$MESS ['MENU_TREE_DESC'] = "Древовидное меню";
?>
\ No newline at end of file
<?
if(!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true)
die();
//determine if child selected
$bWasSelected = false;
$arParents = array();
$depth = 1;
foreach($arResult as $i=>$arMenu)
{
$depth = $arMenu['DEPTH_LEVEL'];
if($arMenu['IS_PARENT'] == true)
{
$arParents[$arMenu['DEPTH_LEVEL']-1] = $i;
}
elseif($arMenu['SELECTED'] == true)
{
$bWasSelected = true;
break;
}
}
if($bWasSelected)
{
for($i=0; $i<$depth-1; $i++)
$arResult[$arParents[$i]]['CHILD_SELECTED'] = true;
}
?>
function OpenMenuNode(oThis)
{
if (oThis.parentNode.className == '')
oThis.parentNode.className = 'menu-close';
else
oThis.parentNode.className = '';
return false;
}
{"version":3,"file":"script.min.js","sources":["script.js"],"names":["OpenMenuNode","oThis","parentNode","className"],"mappings":"AAAA,QAASA,cAAaC,GAErB,GAAIA,EAAMC,WAAWC,WAAa,GACjCF,EAAMC,WAAWC,UAAY,iBAE7BF,GAAMC,WAAWC,UAAY,EAC9B,OAAO"}
\ No newline at end of file
function OpenMenuNode(e){if(e.parentNode.className=="")e.parentNode.className="menu-close";else e.parentNode.className="";return false}
//# sourceMappingURL=script.map.js
\ No newline at end of file
<?if (!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true)die();?>
<?if (!empty($arResult)):?>
<div class="menu-sitemap-tree">
<ul>
<?
$previousLevel = 0;
foreach($arResult as $arItem):
?>
<?if ($previousLevel && $arItem["DEPTH_LEVEL"] < $previousLevel):?>
<?=str_repeat("</ul></li>", ($previousLevel - $arItem["DEPTH_LEVEL"]));?>
<?endif?>
<?if ($arItem["IS_PARENT"]):?>
<li<?if($arItem["CHILD_SELECTED"] !== true):?> class="menu-close"<?endif?>>
<div class="folder" onClick="OpenMenuNode(this)"></div>
<div class="item-text"><a href="<?=$arItem["LINK"]?>"><?=$arItem["TEXT"]?></a></div>
<ul>
<?else:?>
<?if ($arItem["PERMISSION"] > "D"):?>
<li>
<div class="page"></div>
<div class="item-text"><a href="<?=$arItem["LINK"]?>"><?=$arItem["TEXT"]?></a></div>
</li>
<?endif?>
<?endif?>
<?$previousLevel = $arItem["DEPTH_LEVEL"];?>
<?endforeach?>
<?if ($previousLevel > 1)://close last item tags?>
<?=str_repeat("</ul></li>", ($previousLevel-1) );?>
<?endif?>
</ul>
</div>
<?endif?>
\ No newline at end of file
<?
if (!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true) die();
$arTemplateDescription = array(
"NAME" => GetMessage("MENU_VERTICAL_MULTI_NAME"),
"DESCRIPTION" => GetMessage("MENU_VERTICAL_MULTI_DESC"),
);
?>
\ No newline at end of file
<?
$MESS ['MENU_VERTICAL_MULTI_NAME'] = "Vertical multi level dropdown menu";
$MESS ['MENU_VERTICAL_MULTI_DESC'] = "Vertical multi level dropdown menu";
?>
\ No newline at end of file
<?
$MESS ['MENU_ITEM_ACCESS_DENIED'] = "Access denied";
?>
\ No newline at end of file
<?
$MESS ['MENU_VERTICAL_MULTI_NAME'] = "Вертикальное многоуровневое выпадающее меню";
$MESS ['MENU_VERTICAL_MULTI_DESC'] = "Вертикальное многоуровневое выпадающее меню";
?>
\ No newline at end of file
<?
$MESS ['MENU_ITEM_ACCESS_DENIED'] = "Доступ запрещен";
?>
\ No newline at end of file
var jsvhover = function()
{
var menuDiv = document.getElementById("vertical-multilevel-menu");
if (!menuDiv)
return;
var nodes = menuDiv.getElementsByTagName("li");
for (var i=0; i<nodes.length; i++)
{
nodes[i].onmouseover = function()
{
this.className += " jsvhover";
}
nodes[i].onmouseout = function()
{
this.className = this.className.replace(new RegExp(" jsvhover\\b"), "");
}
}
}
if (window.attachEvent)
window.attachEvent("onload", jsvhover);
\ No newline at end of file
ul#side_menu_multilevel{margin: 8px 0 10px;padding: 0;list-style: none;
-webkit-transition: 0.3s;
transition: 0.3s;
}
ul#side_menu_multilevel li{margin: 0;margin-top: 1px;margin-bottom: 1px;padding: 0;position: relative;list-style: none;}
ul#side_menu_multilevel li li{margin-bottom: 2px;}
ul#side_menu_multilevel li > ul.root-item{display: none;margin: 0 !important;padding: 0 !important;}
ul#side_menu_multilevel li.root-item-selected ul{display: block;}
ul#side_menu_multilevel li.hover ul{display: block;}
ul#side_menu_multilevel li a{font-size: 14px;line-height: 18px;width: 100%;box-sizing: border-box;
display: inline-block;padding: 10px 5px 10px 10px;color: #333;text-decoration: none;border-top: 1px solid #fff;border-bottom: 1px solid #e0e0e0;
-webkit-transition: 0.3s;
transition: 0.3s;
}
ul#side_menu_multilevel li.parent a{position: relative;padding-right: 40px;width: 100%;box-sizing: border-box;}
ul#side_menu_multilevel li.parent ul li a{width: 100%;box-sizing: border-box;}
ul#side_menu_multilevel li.parent.root-item span.roll-out{
position: absolute;top:0px;bottom:0px;right: 0;display: block;width: 35px;box-sizing: border-box;
background-image: url("images/arr-down3.png");
background-color: #e0e0e0;
z-index: 1;
overflow: hidden;text-indent: -999px;background-position: 50% 56%;background-repeat: no-repeat;
border-left: 1px solid #ffffff;}
ul#side_menu_multilevel li.parent.root-item.opened span.roll-out{background-image: url("images/arr-up3.png");background-color: #e0e0e0;}
ul#side_menu_multilevel li.parent.root-item-selected span.roll-out{
position: absolute;top:0px;bottom:0px;right: 0;display: block;width: 35px;box-sizing: border-box;
background-image: url("images/arr-down2.png");
background-color: #0088cc;
z-index: 1;
overflow: hidden;text-indent: -999px;background-position: 50% 56%;background-repeat: no-repeat;
border-left: 1px solid #ffffff;}
ul#side_menu_multilevel li.parent.root-item.opened > span.roll-out{
background-image: url("images/arr-up2.png");
background-position: 50% 59%;
background-repeat: no-repeat;
}
ul#side_menu_multilevel li.parent.root-item-selected > a{
width:100%;
box-sizing: border-box;
padding-right: 40px;
color:#fff;
background-position: 97% 56%;
background-repeat: no-repeat;
-webkit-transition: 0.3s;
transition: 0.3s;
}
ul#side_menu_multilevel li.parent.root-item-selected > a:hover{background-color: #0174ae;color: #fff;}
ul#side_menu_multilevel li.parent.root-item-selected > a span.roll-out{
width:35px;position: absolute;top:1px;bottom:1px;right: 0;box-sizing: border-box;border-left: 1px solid #fff;
background-image: url("images/arr-down2.png");background-position: 50% 56%;background-repeat: no-repeat;
overflow: hidden;text-indent: -999px;}
ul#side_menu_multilevel li.parent.root-item-selected.opened > a span.roll-out{
width:35px;position: absolute;top:0;bottom: 0;right: 0;box-sizing: border-box;
overflow: hidden;text-indent: -999px;background-image: url("images/arr-up2.png");
border-left: 1px solid #fff;background-position: 50% 56%;background-repeat: no-repeat;
top: 1px;
bottom: 1px;
}
ul#side_menu_multilevel li li a{color:#333;display: block;width: 100%;box-sizing: border-box;
font-size: 13px;line-height: 17px;background: #e8e8e8;padding: 8px 5px 8px 20px;}
ul#side_menu_multilevel li li li a{color: #492607;background-color: #0088cc;
padding: 8px 5px 8px 30px;}
ul#side_menu_multilevel li a:hover{background: #f0f0f0;color: #333;}
ul#side_menu_multilevel li li a:hover{background: #0088cc;}
ul#side_menu_multilevel li.root-item-selected li a:hover{background: #0088cc;color: #fff;}
ul#side_menu_multilevel li li li a:hover{background: #b19879;}
ul#side_menu_multilevel li.root-item-selected > a{background-color: #0088cc;color: #fff;}
ul#side_menu_multilevel li.root-item-selected.hide_selection > a{background-color: #f0f0f0;color: #333;}
ul#side_menu_multilevel li.root-item-selected li.item-selected > a{background: #0088cc;color: #fff;}
ul#side_menu_multilevel li.root-item-selected li.item-selected li.item-selected > a{background: #f3b176;}
ul#side_menu_multilevel span.roll-out{-webkit-transition: 0.3s;transition: 0.3s;margin-top: -1px;margin-bottom: -1px;}
ul#side_menu_multilevel span.roll-out:hover{background-color: #aaa !important;position: relative;z-index: 10000;}
ul#side_menu_multilevel .root-item-selected.opened span.roll-out:hover{background-color: #006ca3 !important;position: relative;z-index: 1;}
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment