Your IP : 52.14.163.169


Current Path : /home/bitrix/ext_www/crm.klimatlend.ua/telephony/
Upload File :
Current File : /home/bitrix/ext_www/crm.klimatlend.ua/telephony/rent.php

<?
require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog_before.php");

IncludeModuleLangFile($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/intranet/public_bitrix24/telephony/rent.php");
require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog_after.php");

$APPLICATION->SetTitle(GetMessage("VI_PAGE_RENT_TITLE"));

\Bitrix\Main\Loader::includeModule("voximplant");

$account = new CVoxImplantAccount();
$accountLang = $account->GetAccountLang(false);

if(in_array($accountLang, ['ua', 'kz']))
{
	$APPLICATION->IncludeComponent("bitrix:ui.sidepanel.wrapper",
		"",
		array(
			"POPUP_COMPONENT_NAME" => "bitrix:voximplant.config.rent.order",
			"POPUP_COMPONENT_TEMPLATE_NAME" => "",
			"USE_PADDING" => false
		)
	);
}
else
{
	$APPLICATION->IncludeComponent("bitrix:ui.sidepanel.wrapper",
		"",
		array(
			"POPUP_COMPONENT_NAME" => "bitrix:voximplant.config.rent",
			"POPUP_COMPONENT_TEMPLATE_NAME" => "",
			"USE_PADDING" => false
		)
	);
}

require($_SERVER["DOCUMENT_ROOT"]."/bitrix/footer.php");