Your IP : 18.188.104.198


Current Path : /home/bitrix/ext_www/dev.easy-comfort.com.ua/_optima/home/
Upload File :
Current File : /home/bitrix/ext_www/dev.easy-comfort.com.ua/_optima/home/index.php

<?
require($_SERVER["DOCUMENT_ROOT"]."/bitrix/header.php");
$APPLICATION->SetTitle("Главная");
?>

<?$APPLICATION->IncludeComponent(
	"bitrix:news.list",
	"promo-slider",
	array(
		"CACHE_FILTER" => "N",
		"CACHE_GROUPS" => "Y",
		"CACHE_TIME" => "36000000",
		"CACHE_TYPE" => "A",
		"CHECK_DATES" => "Y",
		"FILTER_NAME" => "",
		"IBLOCK_ID" => "11",
		"IBLOCK_TYPE" => "optima",
		"INCLUDE_SUBSECTIONS" => "N",
		"INCLUDE_IBLOCK_INTO_CHAIN" => "N",
		"SET_LAST_MODIFIED" => "N",
		"SET_META_DESCRIPTION" => "N",
		"SET_META_KEYWORDS" => "N",
		"SET_STATUS_404" => "N",
		"SET_BROWSER_TITLE" => "N",
		"SET_TITLE" => "N",
		"PROPERTY_CODE" => array("LINK", "PRETITLE", "SUBTITLE", "BUTTONTEXT", "HIDETITLE"),
		"NEWS_COUNT" => "20",
		"PARENT_SECTION" => "",
		"PARENT_SECTION_CODE" => "main",
		"SHOW_404" => "N",
		"SORT_BY1" => "SORT",
		"SORT_BY2" => "ACTIVE_FROM",
		"SORT_ORDER1" => "ASC",
		"SORT_ORDER2" => "DESC",
		"WP_HTML_MOD" => "layout__block"
	)
);?>

<?$APPLICATION->ShowViewContent('header-page-h1-breadcrumps')?>

<?$APPLICATION->IncludeComponent(
	"bitrix:news.list",
	"promo-tiles",
	Array(
		"ADD_SECTIONS_CHAIN" => "Y",
		"AJAX_MODE" => "N",
		"AJAX_OPTION_ADDITIONAL" => "",
		"AJAX_OPTION_HISTORY" => "N",
		"AJAX_OPTION_JUMP" => "N",
		"AJAX_OPTION_STYLE" => "Y",
		"CACHE_FILTER" => "N",
		"CACHE_GROUPS" => "Y",
		"CACHE_TIME" => "36000000",
		"CACHE_TYPE" => "A",
		"CHECK_DATES" => "Y",
		"DETAIL_URL" => "",
		"DISPLAY_BOTTOM_PAGER" => "Y",
		"DISPLAY_TOP_PAGER" => "N",
		"FIELD_CODE" => array("",""),
		"FILTER_NAME" => "",
		"HIDE_LINK_WHEN_NO_DETAIL" => "N",
		"IBLOCK_ID" => "37",
		"IBLOCK_TYPE" => "optima",
		"INCLUDE_IBLOCK_INTO_CHAIN" => "Y",
		"INCLUDE_SUBSECTIONS" => "Y",
		"MESSAGE_404" => "",
		"NEWS_COUNT" => "20",
		"PAGER_BASE_LINK_ENABLE" => "N",
		"PAGER_DESC_NUMBERING" => "N",
		"PAGER_DESC_NUMBERING_CACHE_TIME" => "36000",
		"PAGER_SHOW_ALL" => "N",
		"PAGER_SHOW_ALWAYS" => "N",
		"PAGER_TEMPLATE" => ".default",
		"PAGER_TITLE" => "Новости",
		"PARENT_SECTION" => "",
		"PARENT_SECTION_CODE" => "",
		"PREVIEW_TRUNCATE_LEN" => "",
		"PROPERTY_CODE" => array("LINK",""),
		"SET_BROWSER_TITLE" => "N",
		"SET_LAST_MODIFIED" => "N",
		"SET_META_DESCRIPTION" => "Y",
		"SET_META_KEYWORDS" => "Y",
		"SET_STATUS_404" => "N",
		"SET_TITLE" => "N",
		"SHOW_404" => "N",
		"SORT_BY1" => "ACTIVE_FROM",
		"SORT_BY2" => "SORT",
		"SORT_ORDER1" => "DESC",
		"SORT_ORDER2" => "ASC",

		"WP_HTML_MOD" => "layout__block",
		"WP_SHOW_TITLE" => "N",
		"WP_DETAIL_LINK" => ""
	)
);?>

<h1>Популярные товары</h1>

<?
$APPLICATION->IncludeComponent(
	"bitrix:catalog.top", 
	"tiles", 
	array(
		"IBLOCK_TYPE" => "optima",
		"IBLOCK_ID" => "10",
		"ELEMENT_SORT_FIELD" => "shows",
		"ELEMENT_SORT_ORDER" => "desc",
		"ELEMENT_SORT_FIELD2" => "id",
		"ELEMENT_SORT_ORDER2" => "desc",
		"FILTER_NAME" => "arrFilterPopular",
		"HIDE_NOT_AVAILABLE" => "N",
		"ELEMENT_COUNT" => "8",
		"LINE_ELEMENT_COUNT" => "4",
		"PROPERTY_CODE" => array(
			0 => "BRAND",
			1 => "WATERPROOF",
			2 => "BODY_MATERIAL",
			3 => "BAND_MATERIAL",
			4 => "MECHANISM",
			5 => "",
		),
		"OFFERS_LIMIT" => "5",
		"VIEW_MODE" => "SECTION",
		"SHOW_DISCOUNT_PERCENT" => "N",
		"SHOW_OLD_PRICE" => "N",
		"SHOW_CLOSE_POPUP" => "N",
		"MESS_BTN_BUY" => "Купить",
		"MESS_BTN_ADD_TO_BASKET" => "В корзину",
		"MESS_BTN_DETAIL" => "Подробнее",
		"MESS_NOT_AVAILABLE" => "Нет в наличии",
		"SECTION_URL" => "/catalog/#SECTION_CODE_PATH#/",
		"DETAIL_URL" => "/catalog/#SECTION_CODE_PATH#/#ELEMENT_CODE#/",
		"SECTION_ID_VARIABLE" => "SECTION_ID",
		"CACHE_TYPE" => "A",
		"CACHE_TIME" => "36000000",
		"CACHE_GROUPS" => "Y",
		"CACHE_FILTER" => "N",
		"ACTION_VARIABLE" => "action",
		"PRODUCT_ID_VARIABLE" => "id",
		"PRICE_CODE" => array(
			0 => "BASE",
		),
		"USE_PRICE_COUNT" => "N",
		"SHOW_PRICE_COUNT" => "1",
		"PRICE_VAT_INCLUDE" => "Y",
		"CONVERT_CURRENCY" => "Y",
		"BASKET_URL" => "/cart/",
		"USE_PRODUCT_QUANTITY" => "N",
		"ADD_PROPERTIES_TO_BASKET" => "Y",
		"PRODUCT_PROPS_VARIABLE" => "prop",
		"PARTIAL_PRODUCT_PROPERTIES" => "N",
		"PRODUCT_PROPERTIES" => array(
		),
		"ADD_TO_BASKET_ACTION" => "ADD",
		"DISPLAY_COMPARE" => "N",
		"TEMPLATE_THEME" => "blue",
		"MESS_BTN_COMPARE" => "Сравнить",
		"OFFERS_FIELD_CODE" => array(
			0 => "",
			1 => "",
		),
		"OFFERS_PROPERTY_CODE" => array(
			0 => "VOLUME",
			1 => "SIZE",
			2 => "",
		),
		"OFFERS_SORT_FIELD" => "sort",
		"OFFERS_SORT_ORDER" => "asc",
		"OFFERS_SORT_FIELD2" => "id",
		"OFFERS_SORT_ORDER2" => "desc",
		"PRODUCT_DISPLAY_MODE" => "Y",
		"ADD_PICT_PROP" => "-",
		"LABEL_PROP" => "-",
		"OFFERS_CART_PROPERTIES" => array(
			0 => "VOLUME",
			1 => "SIZE",
		),
		"CURRENCY_ID" => "RUB",
		"WP_H2_TITLE" => "Популярные модели",
		"WP_SHOW_ALL_LINK" => "Y",
		"WP_ALL_LINK_TEXT" => "Все модели",
		"WP_ALL_LINK" => "/catalog/",
		"PRODUCT_QUANTITY_VARIABLE" => "quantity",
		"WP_ITEMLIST_CATEGORY_LINE" => "BLOG_POST_ID",
		"COMPONENT_TEMPLATE" => "tiles",
		"SEF_MODE" => "N"
	),
	false
);?>

<?$APPLICATION->IncludeComponent("bitrix:news.list",
	"logo-slider",
	Array(
		"IBLOCK_TYPE" => "optima",
		"IBLOCK_ID" => "6",
		"SORT_BY1" => "SORT",
		"SORT_ORDER1" => "ASC",
		"SORT_BY2" => "NAME",
		"SORT_ORDER2" => "ASC",
		"PROPERTY_CODE" => array(),
		"SET_TITLE" => "N",
		"INCLUDE_IBLOCK_INTO_CHAIN" => "N",
		"ADD_SECTIONS_CHAIN" => "N",

		"WP_HTML_MOD" => "layout__block",
		"WP_SHOW_TITLE" => "N",
		"WP_DETAIL_LINK" => ""
	)
);?>

<?$APPLICATION->IncludeComponent("bitrix:news.list",
	"advantages",
	Array(
		"IBLOCK_TYPE" => "optima",
		"IBLOCK_ID" => "34",
		"SORT_BY1" => "SORT",
		"SORT_ORDER1" => "ASC",
		"SORT_BY2" => "NAME",
		"SORT_ORDER2" => "ASC",
		"NEWS_COUNT" => "3",
		"PROPERTY_CODE" => array(),
		"SET_TITLE" => "N",
		"INCLUDE_IBLOCK_INTO_CHAIN" => "N",
		"ADD_SECTIONS_CHAIN" => "N",

		"WP_HTML_MOD" => "layout__block is-3cols",
		"WP_SHOW_TITLE" => "N",
		"WP_DETAIL_LINK" => ""
	)
);?>

<?require($_SERVER['DOCUMENT_ROOT'].'/bitrix/footer.php');?>