Current Path : /var/www/www-root/data/www/monolith-realty.ru/local/templates/monolitsochi/page_blocks/ |
Current File : /var/www/www-root/data/www/monolith-realty.ru/local/templates/monolitsochi/page_blocks/footer_1.php |
<? include_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog_before.php"); include($_SERVER['DOCUMENT_ROOT'].SITE_DIR.'include/footer/settings.php'); ?> <footer id="footer" class="footer-1 footer footer--color-<?=$footerColor?>"> <?//check subscribe text?> <?$blockOptions = array( 'PARAM_NAME' => 'FOOTER_TOGGLE_SUBSCRIBE', 'BLOCK_TYPE' => 'SUBSCRIBE', 'IS_AJAX' => $bAjax, 'AJAX_BLOCK' => $ajaxBlock, 'VISIBLE' => $bShowSubscribe && \Bitrix\Main\ModuleManager::isModuleInstalled("subscribe"), 'SUBSCRIBE_PARAMS' => array(), 'WRAPPER' => 'footer__top-part', );?> <?=\Aspro\Allcorp3\Functions\CAsproAllcorp3::showFooterBlock($blockOptions);?> <div class="footer__main-part"> <div class="maxwidth-theme"> <div class="footer__main-part-inner"> <div class="footer__part-item flex-33-1200"> <?$APPLICATION->IncludeComponent("bitrix:main.include", ".default", array( "COMPONENT_TEMPLATE" => ".default", "PATH" => SITE_DIR."include/footer/menu/menu_bottom1.php", "AREA_FILE_SHOW" => "file", "AREA_FILE_SUFFIX" => "", "AREA_FILE_RECURSIVE" => "Y", "EDIT_TEMPLATE" => "include_area.php" ), false, array("HIDE_ICONS" => "Y") );?> </div> <div class="footer__part-item flex-33-1200"> <?$APPLICATION->IncludeComponent("bitrix:main.include", ".default", array( "COMPONENT_TEMPLATE" => ".default", "PATH" => SITE_DIR."include/footer/menu/menu_bottom2.php", "AREA_FILE_SHOW" => "file", "AREA_FILE_SUFFIX" => "", "AREA_FILE_RECURSIVE" => "Y", "EDIT_TEMPLATE" => "include_area.php" ), false, array("HIDE_ICONS" => "Y") );?> </div> <div class="footer__part-item flex-33-1200"> <?$APPLICATION->IncludeComponent("bitrix:main.include", ".default", array( "COMPONENT_TEMPLATE" => ".default", "PATH" => SITE_DIR."include/footer/menu/menu_bottom3.php", "AREA_FILE_SHOW" => "file", "AREA_FILE_SUFFIX" => "", "AREA_FILE_RECURSIVE" => "Y", "EDIT_TEMPLATE" => "include_area.php" ), false, array("HIDE_ICONS" => "Y") );?> </div> <div class="footer__part-item flex-50-1200"> <?$APPLICATION->IncludeComponent("bitrix:main.include", ".default", array( "COMPONENT_TEMPLATE" => ".default", "PATH" => SITE_DIR."include/footer/menu/menu_bottom4.php", "AREA_FILE_SHOW" => "file", "AREA_FILE_SUFFIX" => "", "AREA_FILE_RECURSIVE" => "Y", "EDIT_TEMPLATE" => "include_area.php" ), false, array("HIDE_ICONS" => "Y") );?> </div> <?//show phone, address, email, social wrapper?> <?$visible = (($bShowPhone && $bPhone) || $bShowEmail || $bShowAddress || $bShowSocial);?> <?$blockOptions = array( 'PARAM_NAME' => 'FOOTER_ALL_BLOCK', 'BLOCK_TYPE' => 'FOOTER_ALL_BLOCK', 'IS_AJAX' => $bAjax, 'AJAX_BLOCK' => $ajaxBlock, 'VISIBLE' => $visible, 'WRAPPER' => 'footer__part-item flex-50-1200', 'INNER_WRAPPER' => 'footer__info', 'ITEMS' => [ [ //show phone and callback 'PARAM_NAME' => 'FOOTER_TOGGLE_PHONE', 'BLOCK_TYPE' => 'PHONE', 'VISIBLE' => $bShowPhone && $bPhone, 'DROPDOWN_TOP' => true, 'WRAPPER' => 'footer__phone footer__info-item', 'CALLBACK' => $bShowCallback && $bCallback, 'MESSAGE' => GetMessage("S_CALLBACK"), ], [ //show email 'PARAM_NAME' => 'FOOTER_TOGGLE_EMAIL', 'BLOCK_TYPE' => 'EMAIL', 'VISIBLE' => $bShowEmail, 'WRAPPER' => 'footer__info-item', ], [ //show address 'PARAM_NAME' => 'FOOTER_TOGGLE_ADDRESS', 'BLOCK_TYPE' => 'ADDRESS', 'VISIBLE' => $bShowAddress, 'WRAPPER' => 'footer__address footer__info-item', ], [ //show social 'PARAM_NAME' => 'FOOTER_TOGGLE_SOCIAL', 'BLOCK_TYPE' => 'SOCIAL', 'VISIBLE' => $bShowSocial, 'HIDE_MORE' => false, 'WRAPPER' => 'footer__social footer__info-item social-'.$footerColor, ] ] );?> <?=\Aspro\Allcorp3\Functions\CAsproAllcorp3::showFooterBlock($blockOptions);?> </div> </div> </div> <div class="footer__bottom-part"> <div class="maxwidth-theme"> <div class="footer__bottom-part-inner"> <div class="footer__bottom-part-items-wrapper"> <div class="footer__part-item"> <div class="footer__copy font_13 color_999"> <?$APPLICATION->IncludeFile(SITE_DIR."include/footer/copy.php", Array(), Array( "MODE" => "php", "NAME" => "Copyright", "TEMPLATE" => "include_area.php", ) );?> </div> </div> <div class="footer__part-item"> <div class="footer__license font_13"> <?$APPLICATION->IncludeFile(SITE_DIR."include/footer/confidentiality.php", Array(), Array( "MODE" => "php", "NAME" => "Confidentiality", "TEMPLATE" => "include_area.php", ) );?> </div> </div> <?//show eyed block?> <?$blockOptions = array( 'PARAM_NAME' => 'FOOTER_TOGGLE_EYED', 'BLOCK_TYPE' => 'EYED', 'IS_AJAX' => $bAjax, 'AJAX_BLOCK' => $ajaxBlock, 'VISIBLE' => $bShowEyed, 'WRAPPER' => 'footer__part-item fill-theme-parent-all color-theme-parent-all', );?> <?=\Aspro\Allcorp3\Functions\CAsproAllcorp3::showFooterBlock($blockOptions);?> <?//show sitemap block?> <?$blockOptions = array( 'PARAM_NAME' => 'FOOTER_TOGGLE_SITEMAP', 'BLOCK_TYPE' => 'SITEMAP', 'IS_AJAX' => $bAjax, 'AJAX_BLOCK' => $ajaxBlock, 'VISIBLE' => $bShowSitemap, 'WRAPPER' => 'footer__part-item footer__part-item-sitemap fill-theme-parent-all color-theme-parent-all font_13', );?> <?=\Aspro\Allcorp3\Functions\CAsproAllcorp3::showFooterBlock($blockOptions);?> <?if($arTheme['PRINT_BUTTON'] == 'Y'):?> <div class="footer__part-item"> <div class="footer__print font_13 color_999"> <?=CAllcorp3::ShowPrintLink();?> </div> </div> <?endif;?> <?//show pay systems?> <?$blockOptions = array( 'PARAM_NAME' => 'FOOTER_TOGGLE_PAY_SYSTEMS', 'BLOCK_TYPE' => 'PAY_SYSTEMS', 'IS_AJAX' => $bAjax, 'AJAX_BLOCK' => $ajaxBlock, 'VISIBLE' => $bShowPaySystems, 'WRAPPER' => 'footer__pays footer__part-item', );?> <?=\Aspro\Allcorp3\Functions\CAsproAllcorp3::showFooterBlock($blockOptions);?> <?//show lang?> <? $arShowSites = \Aspro\Allcorp3\Functions\CAsproAllcorp3::getShowSites(); $countSites = count($arShowSites); $blockOptions = array( 'PARAM_NAME' => 'FOOTER_TOGGLE_LANG', 'BLOCK_TYPE' => 'LANG', 'IS_AJAX' => $bAjax, 'AJAX_BLOCK' => $ajaxBlock, 'VISIBLE' => $bShowLang && $countSites > 1, 'DROPDOWN_TOP' => true, 'WRAPPER' => 'footer__lang footer__part-item', 'SITE_SELECTOR_NAME' => $siteSelectorName, 'TEMPLATE' => 'main', 'SITE_LIST' => $arShowSites, );?> <?=\Aspro\Allcorp3\Functions\CAsproAllcorp3::showFooterBlock($blockOptions);?> <?=\Aspro\Allcorp3\Functions\CAsproAllcorp3::showFooterBlock($blockOptions);?> </div> </div> </div> </div> </footer>