<?
require($_SERVER["DOCUMENT_ROOT"]."/bitrix/header.php");
$APPLICATION->SetTitle("Поиск");
?>
<style>
	main {overflow-x: unset;}
</style>
<section data-page="catalog" id="catalog">
	<div class="container">
		
		<div id="view"></div>
		<div class="pageWithSide">
			<div class="leftColumn">
				<?
					$_REQUEST['q'] = sanitize_string($_REQUEST['q'], true, true, true);
					$APPLICATION->IncludeComponent("bitrix:search.page", "evolution", Array(
						"TAGS_SORT" => "NAME",
						"TAGS_PAGE_ELEMENTS" => "150",
						"TAGS_PERIOD" => "30",
						"TAGS_URL_SEARCH" => "/search/index.php",
						"TAGS_INHERIT" => "Y",
						"FONT_MAX" => "50",
						"FONT_MIN" => "10",
						"COLOR_NEW" => "000000",
						"COLOR_OLD" => "C8C8C8",
						"PERIOD_NEW_TAGS" => "",
						"SHOW_CHAIN" => "Y",
						"COLOR_TYPE" => "Y",
						"WIDTH" => "100%",
						"USE_SUGGEST" => "Y",
						"SHOW_RATING" => "Y",
						"PATH_TO_USER_PROFILE" => "",
						"AJAX_MODE" => "N",
						"RESTART" => "Y",
						"NO_WORD_LOGIC" => "N",
						"USE_LANGUAGE_GUESS" => "N",
						"CHECK_DATES" => "N",
						"USE_TITLE_RANK" => "Y",
						"DEFAULT_SORT" => "rank",
						"FILTER_NAME" => "",
						"arrFILTER" => [ "main", "iblock" ],
						"arrFILTER_main" => [ "/about/" ],
						"arrFILTER_block" => [ "all" ],
						"SHOW_WHERE" => "Y",
						"arrWHERE" => array(),
						"SHOW_WHEN" => "Y",
						"PAGE_RESULT_COUNT" => "10",
						"CACHE_TYPE" => "N",
						"CACHE_TIME" => "3600",
						"DISPLAY_TOP_PAGER" => "Y",
						"DISPLAY_BOTTOM_PAGER" => "Y",
						"PAGER_TITLE" => "Результаты поиска",
						"PAGER_SHOW_ALWAYS" => "Y",
						"PAGER_TEMPLATE" => "search",
						"AJAX_OPTION_SHADOW" => "Y",
						"AJAX_OPTION_JUMP" => "N",
						"AJAX_OPTION_STYLE" => "Y",
						"AJAX_OPTION_HISTORY" => "N",
						"AJAX_OPTION_ADDITIONAL" => ""
					));
				?>
			</div>
			<aside class="rightColumn">
				<? $APPLICATION->IncludeComponent(
					"evolution:banner.inner", 
					"", 
					Array(
					)
				); ?>
				<? $APPLICATION->IncludeComponent(
					"evolution:banner.ask", 
					"", 
					Array(
					)
				); ?>
			</aside>
		</div>
    </div>
</section>
<?
	$APPLICATION->IncludeComponent(
		"evolution:form.leasing",
		"",
		[
			"TITLE" => "У Вас появились вопросы?", 
			"SUBTITLE" => "Всё о покупке автомобилей в лизинг", 
		]
	);
?>
<?require($_SERVER["DOCUMENT_ROOT"]."/bitrix/footer.php");?>