Your IP : 3.147.44.78


Current Path : /home/bitrix/ext_www/crm.klimatlend.ua/company/personal/
Upload File :
Current File : /home/bitrix/ext_www/crm.klimatlend.ua/company/personal/.left.menu_ext.php

<?
if(!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true)die();
global $USER, $APPLICATION;
$userId = $USER->GetID();

if (preg_match("~^".SITE_DIR."company/personal/user/".$userId."/disk/~i", $_SERVER["REQUEST_URI"]))
{
	include($_SERVER["DOCUMENT_ROOT"].SITE_DIR."docs/.left.menu.php");
	include($_SERVER["DOCUMENT_ROOT"].SITE_DIR."docs/.left.menu_ext.php");
	$APPLICATION->SetPageProperty("topMenuSectionDir", "/docs/");
}
elseif (preg_match("~^".SITE_DIR."company/personal/user/".$userId."/calendar/~i", $_SERVER["REQUEST_URI"]))
{
	include($_SERVER["DOCUMENT_ROOT"].SITE_DIR."calendar/.left.menu_ext.php");
	$APPLICATION->SetPageProperty("topMenuSectionDir", "/calendar/");
}
elseif (preg_match("~^".SITE_DIR."company/personal/(bizproc|processes)/~i", $_SERVER["REQUEST_URI"]))
{
	include($_SERVER["DOCUMENT_ROOT"].SITE_DIR."bizproc/.left.menu_ext.php");
	$APPLICATION->SetPageProperty("topMenuSectionDir", "/bizproc/");
}