Your IP : 18.118.33.255


Current Path : /var/www/www-root/data/www/monolith-realty.ru/include/company/partnership/
Upload File :
Current File : /var/www/www-root/data/www/monolith-realty.ru/include/company/partnership/include_top_block.php

<?php

use \Bitrix\Main\Localization\Loc,
	\Bitrix\Main\Application;

	$file = SITE_DIR . 'include/company/partnership/reviews.php';
	$fileDocumentRoot = str_replace('//', '/', $_SERVER['DOCUMENT_ROOT'] . $file);

	$hasReviewFile = false;

	if(file_exists($fileDocumentRoot)) {
		$hasReviewFile = trim(file_get_contents($fileDocumentRoot)) != '';
	}

?>
<div class="reviews-info partnership__registration-block">
	<div class="reviews-info__top">
		<div class="reviews-info__line">
			<? if($hasReviewFile) : ?>
			<div class="reviews-info__col">
				<div class="reviews-info__icon">
					<?= CAllcorp3::showIconSvg('review stroke-theme', SITE_TEMPLATE_PATH . '/images/svg/review_bubble_large.svg'); ?>
				</div>

				<div class="reviews-info__text">
					<? $APPLICATION->IncludeFile(SITE_DIR . 'include/company/partnership/reviews.php', [], [
							'MODE' => 'text',
							'TEMPLATE' => 'include_area.php',
						]
					); ?>
				</div>
			</div>
			<? endif; ?>
			<div class="reviews-info__col">
				<div class="reviews-info__btn-wrapper <?= !$hasReviewFile ? 'reviews-info__btn-wrapper--singleton' : '' ?>">
					<div>
						<?//include $_SERVER['DOCUMENT_ROOT'].SITE_DIR.'include/form/b24-form/popup/monolith_real_partners.php';?>
						<a target="_blank" href="//lkmonolitrealty.ru/registration" class="btn btn-default btn btn-default has-ripple font_upper">
                            Стать партнером
						</a>
					</div>
				</div>
			</div>
		</div>
	</div>
</div>