Current Path : /home/bitrix/ext_www/oldfck.yacl.site/ |
Current File : /home/bitrix/ext_www/oldfck.yacl.site/index.php |
<?require($_SERVER["DOCUMENT_ROOT"]."/bitrix/header.php"); $APPLICATION->SetPageProperty("title", "Проверка эффективности труда на предприятии - Федеральный Центр Компетенций"); $APPLICATION->SetPageProperty("description", "Чтобы проверить уровень производительности на предприятии, введите ИНН предприятия. Сравните показатели с компаниями вашего региона и отрасли."); // setLastModified(); $APPLICATION->SetTitle("Федеральный Центр Компетенций"); $APPLICATION->SetPageProperty("MAIN_CLASS","padding-top-none"); use Bitrix\Main\Localization\Loc; use Bitrix\Main\Application; use Bitrix\Main\Web\Cookie; use Veb\Economic; $bShowPresentation = Application::getInstance()->getContext()->getRequest()->getCookie("HidePresentation")!='Y'; $cookie = new Cookie("HidePresentation", 'Y', time()+86400*30*6); $cookie->setSpread(Cookie::SPREAD_DOMAIN); $cookie->setDomain($_SERVER["SERVER_NAME"]); $cookie->setPath("/"); $cookie->setSecure(false); $cookie->setHttpOnly(false); Application::getInstance()->getContext()->getResponse()->addCookie($cookie); if($bShowPresentation) $APPLICATION->SetPageProperty("BODY_CLASS","body-hidden"); $storedRegion = Economic::getStoredRegion(); $detectedRegion = Economic::detectRegion(); $arRegion = Economic::getRegionData($storedRegion?$storedRegion:$detectedRegion); ?> <section class="section section-item" data-landing-auth style="padding: 1px 0;"> <?/*<div class="container"> <div class="landing-hero animation-fadein-150"> <div class="landing-hero-content flex-middle"> <h1><?=Loc::getMessage("VEB_LANDING_TITLE")?></h1> <p><?=Loc::getMessage("VEB_LANDING_TITLE_NOTE")?></p> </div> <?/*$APPLICATION->IncludeComponent( "bitrix:system.auth.form", "landing", Array( ) );?> </div> </div>*/?> </section> <!-- section--> <?if(!!$arRegion):?> <?$APPLICATION->IncludeFile( SITE_TEMPLATE_PATH_DEFAULT."/includes/landing/".LANGUAGE_ID."/region.php", Array( "arRegion"=>$arRegion, ), Array("MODE"=>"php") );?> <?endif?> <? //CVebSiteTemplateTools::IncludeArea("landing/bottom.php"); ?> <? CVebSiteTemplateTools::IncludeArea("services/bottom.php"); ?> <?if(!$storedRegion):?> <div class="popup mfp-hide" id="region"> <span class="span_h2"><strong><?=Loc::getMessage("VEB_LANDING_REGION_SELECT")?></strong></span> <form class="form light-fields" action="/local/ajax/landing_region.php"> <div class="form-group"> <div class="form-item"> <div class="select"> <select name="REGION_CODE"> <?$curRegion=\Veb\Economic::detectRegion()?> <?foreach(\Veb\Economic::getRegions() as $arRegion):?> <option value="<?=$arRegion["CODE"]?>"<?if($curRegion==$arRegion["CODE"]):?> selected<?endif?>><?=$arRegion["NAME"]?></option> <?endforeach?> </select> </div> </div> </div> <div class="button-row"> <button class="button" type="submit"><?=Loc::getMessage("VEB_LANDING_REGION_SUBMIT")?></button> </div> </form> </div> <?endif?> <?if($bShowPresentation):?> <? CVebSiteTemplateTools::IncludeArea("landing/presentation.php");?> <?endif?> <?require($_SERVER["DOCUMENT_ROOT"]."/bitrix/footer.php");?>