IncludeComponent( "kodix.dws:dealer.contacts", DWS_HEADER_TEMPLATE, Array(), false, array('HIDE_ICONS' => 'Y') ); } ?> IncludeComponent( "dws:base.list", "homepage.stage", Array( "CACHE_TIME" => KM_DEFAULT_CACHE_TIME, "CLASS" => "Kodix\\Auto\\Dws\\Vwdws\\Elements\\StagesList", "MASK_PROPERTY" => "PAGES", "USE_MASK" => "Y", "FILTER" => array( 'ACTIVE' => 'Y', 'ACTIVE_DATE' => 'Y', 'SITE_ID' => array(false, SITE_ID) ), 'SORT' => array( 'SORT' => 'ASC' ) ), false, array('HIDE_ICONS' => 'Y') ); ?> IncludeComponent( "dws:subtitle", "", [], false, array('HIDE_ICONS' => 'Y') ); ?> 'Y', 'ACTIVE_DATE' => 'Y', 'STATUS_XML_ID' => array('RELEVANT', 'PREPARE') ); if (\Bitrix\Main\Loader::includeModule('kodix.dws')) { $arDealer = Dealers::getDealer(array( 'select' => array( 'SPECIALIZATIONS' ), 'filter' => array( 'ACTIVE' => 'Y', 'SITE_ID' => SITE_ID ) )); if (!is_null($arDealer)) { $arFilter['TYPE_XML_ID'] = $arDealer['SPECIALIZATIONS']; } else { $arFilter['TYPE_XML_ID'] = 'PKW'; } } $APPLICATION->IncludeComponent( "dws:base.list", "homepage.modelsslider", Array( "CACHE_TIME" => KM_DEFAULT_CACHE_TIME, 'TYPE' => \Kodix\Auto\Dws\Elements\Lists::JSON, "CLASS" => "Kodix\\Auto\\Dws\\Vwdws\\Elements\\ModelsList", "FILTER" => $arFilter, 'SORT' => array( 'SORT' => 'ASC' ) ), false, array('HIDE_ICONS' => 'Y') ); } ?> IncludeComponent("kodix.dws:rotator", "homepage", Array('VIEW' => 'HOMEPAGE'), false, array('HIDE_ICONS' => 'Y')) ; } ?>