index.php 4.81 KB
<?
	require($_SERVER["DOCUMENT_ROOT"] . "/bitrix/header.php");
	$APPLICATION->SetTitle("О компании");
?>
	<div class="wrapper">
		<section class="cover-main">
			<div class="container cover-main__container">
				<h1 class="h1 cover-main__title">
					<?php $APPLICATION->IncludeComponent("bitrix:main.include", "", ["AREA_FILE_SHOW" => "file", "PATH" => SITE_DIR . "include/about_title.php", "AREA_FILE_RECURSIVE" => "N", "EDIT_MODE" => "text"], false); ?>
				</h1>
			</div>
		</section>
		<section class="section services">
			<div class="container services__container">
				<? $APPLICATION->IncludeComponent("bitrix:news.list", "services", [
					"IBLOCK_TYPE" => "news",
					"IBLOCK_ID" => IBID_SERVICES,
					"SET_TITLE" => "N",
					"AJAX_MODE" => "N",
					"AJAX_OPTION_SHADOW" => "Y",
					"AJAX_OPTION_JUMP" => "N",
					"AJAX_OPTION_STYLE" => "Y",
					"AJAX_OPTION_HISTORY" => "N",
					"CACHE_TYPE" => "A",
					"CACHE_TIME" => "36000000",
					"CACHE_GROUPS" => "Y",
					"AJAX_OPTION_ADDITIONAL" => "",
					"FIELD_CODE" => ["DETAIL_PICTURE"],
					"PROPERTY_CODE" => ["LIST_IMAGE"]
				],
					false
				); ?>
			</div>
		</section>
	</div>
	<section class="section about" id="about">
		<div class="container about__container">
			<h2 class="h2 about__title fade-in">
				<?php $APPLICATION->IncludeComponent("bitrix:main.include", "", ["AREA_FILE_SHOW" => "file", "PATH" => SITE_DIR . "include/about_title.php", "AREA_FILE_RECURSIVE" => "N", "EDIT_MODE" => "text",], false); ?>
			</h2>
			<div class="about-info">
				<div class="about-info__text">
					<div class="red-line about-info__lines fade-in"></div>
					<p class="text about-info__description fade-in">
						<?php $APPLICATION->IncludeComponent("bitrix:main.include", "", ["AREA_FILE_SHOW" => "file", "PATH" => SITE_DIR . "include/about_text.php", "AREA_FILE_RECURSIVE" => "N", "EDIT_MODE" => "text",], false); ?>
					</p>
				</div>
				<?php $APPLICATION->IncludeComponent("bitrix:main.include", "", ["AREA_FILE_SHOW" => "file", "PATH" => SITE_DIR . "include/about_list.php", "AREA_FILE_RECURSIVE" => "N", "EDIT_MODE" => "text",], false); ?>
			</div>
		</div>
	</section>
	<section class="section licenses-partners">
		<div class="container licenses-partners__container"><h2 class="h2 licenses-partners__title">Лицензии</h2>
			<? $APPLICATION->IncludeComponent("bitrix:news.list", "licenses", [
				"IBLOCK_TYPE" => "content",
				"IBLOCK_ID" => IBID_LICENSES,
				"SET_TITLE" => "N",
				"AJAX_MODE" => "N",
				"AJAX_OPTION_SHADOW" => "Y",
				"AJAX_OPTION_JUMP" => "N",
				"AJAX_OPTION_STYLE" => "Y",
				"AJAX_OPTION_HISTORY" => "N",
				"CACHE_TYPE" => "A",
				"CACHE_TIME" => "36000000",
				"CACHE_GROUPS" => "Y",
				"AJAX_OPTION_ADDITIONAL" => "",
			],
				false
			); ?>
		</div>
	</section>
	<section class="section tab-partners" id="partners">
		<div class="container tab-partners__container">
			<div class="tabs">
				<ul class="tab-partners__list">
					<li class="tab-partners__item tab-partners__item_active" data-index="0" role="tab">
						<button class="lead-title tab-name tab-partners__link" type="button">Наши заказчики</button>
					</li>
					<li class="tab-partners__item" data-index="1" role="tab">
						<button class="lead-title tab-name tab-partners__link" type="button">Наши партнёры</button>
					</li>
				</ul>
				<section class="tab-partners__section tab-partners__section_active" role="tab-content" data-index="0">
					<? $APPLICATION->IncludeComponent("bitrix:news.list", "tab-clients", [
						"IBLOCK_TYPE" => "content",
						"IBLOCK_ID" => IBID_CLIENTS,
						"SET_TITLE" => "N",
						"AJAX_MODE" => "N",
						"AJAX_OPTION_SHADOW" => "Y",
						"AJAX_OPTION_JUMP" => "N",
						"AJAX_OPTION_STYLE" => "Y",
						"AJAX_OPTION_HISTORY" => "N",
						"CACHE_TYPE" => "A",
						"CACHE_TIME" => "36000000",
						"CACHE_GROUPS" => "Y",
						"AJAX_OPTION_ADDITIONAL" => "",
						"FIELD_CODE" => ["DETAIL_PICTURE"],
					],
						false
					); ?>
				</section>
				<section class="tab-partners__section" role="tab-content" data-index="1">
					<div class="tab-partner">
						<? $APPLICATION->IncludeComponent("bitrix:news.list", "tab-partners", [
							"IBLOCK_TYPE" => "content",
							"IBLOCK_ID" => IBID_PARTNERS,
							"SET_TITLE" => "N",
							"AJAX_MODE" => "N",
							"AJAX_OPTION_SHADOW" => "Y",
							"AJAX_OPTION_JUMP" => "N",
							"AJAX_OPTION_STYLE" => "Y",
							"AJAX_OPTION_HISTORY" => "N",
							"CACHE_TYPE" => "A",
							"CACHE_TIME" => "36000000",
							"CACHE_GROUPS" => "Y",
							"AJAX_OPTION_ADDITIONAL" => "",
							"FIELD_CODE" => ["DETAIL_PICTURE"],
						],
							false
						); ?>
					</div>
					<a class="button button_style_link tab-partner__btn" href="/partners/"> посмотреть все</a>
				</section>
			</div>
		</div>
	</section>
<? require($_SERVER["DOCUMENT_ROOT"] . "/bitrix/footer.php"); ?>