SetPageProperty("tags", "статьи"); $APPLICATION->SetPageProperty("TITLE", "Статьи | UkrCegla"); $APPLICATION->SetPageProperty("keywords", "строительные материалы, строительные новости, статьи про стройматериалы"); $APPLICATION->SetPageProperty("description", "Актуальные статьи сферы строительства и строительных материалов."); $APPLICATION->SetTitle("Статьи"); ?>
IncludeComponent("bitrix:breadcrumb", "catalog_bc", array( "START_FROM" => "0", "PATH" => "/articles/", "SITE_ID" => "-" ), false );?>
5, "ACTIVE"=>"Y","ACTIVE_DATE"=>"Y","DATE_ACTIVE_FROM"); $res = CIBlockElement::GetList(array("DATE_ACTIVE_FROM" => "DESC"), $arFilter, false, false, $arSelect); $arFields = $res->GetNextElement()->GetFields(); $show = $arFields["CODE"]; $arr = array("CODE" => $show); $result = array_merge($_REQUEST,$arr); $_REQUEST = $result; } } // print_r($_REQUEST["CODE"]); ?> IncludeComponent("bitrix:news.detail", "news_d", array( "IBLOCK_TYPE" => "articles", "IBLOCK_ID" => "", "ELEMENT_ID" => "", "ELEMENT_CODE" => $_REQUEST["CODE"], "CHECK_DATES" => "Y", "FIELD_CODE" => array( 0 => "", 1 => "", ), "PROPERTY_CODE" => array( 0 => "", 1 => "", ), "IBLOCK_URL" => "", "AJAX_MODE" => "N", "AJAX_OPTION_JUMP" => "N", "AJAX_OPTION_STYLE" => "Y", "AJAX_OPTION_HISTORY" => "N", "CACHE_TYPE" => "A", "CACHE_TIME" => "36000000", "CACHE_GROUPS" => "Y", "META_KEYWORDS" => "-", "META_DESCRIPTION" => "-", "BROWSER_TITLE" => "-", "SET_STATUS_404" => "N", "SET_TITLE" => "Y", "INCLUDE_IBLOCK_INTO_CHAIN" => "Y", "ADD_SECTIONS_CHAIN" => "Y", "ADD_ELEMENT_CHAIN" => "N", "ACTIVE_DATE_FORMAT" => "d.m.Y", "USE_PERMISSIONS" => "N", "PAGER_TEMPLATE" => "", "DISPLAY_TOP_PAGER" => "N", "DISPLAY_BOTTOM_PAGER" => "Y", "PAGER_TITLE" => "Страница", "PAGER_SHOW_ALL" => "Y", "DISPLAY_DATE" => "N", "DISPLAY_NAME" => "Y", "DISPLAY_PICTURE" => "Y", "DISPLAY_PREVIEW_TEXT" => "Y", "USE_SHARE" => "N", "AJAX_OPTION_ADDITIONAL" => "" ), false ); ?> IncludeComponent("bitrix:news.line", "news_line", array( "IBLOCK_TYPE" => "articles", "IBLOCKS" => array( 0 => "5", ), "NEWS_COUNT" => "", "FIELD_CODE" => array( 0 => "CODE", 1 => "PREVIEW_TEXT", 2 => "", ), "SORT_BY1" => "ACTIVE_FROM", "SORT_ORDER1" => "DESC", "SORT_BY2" => "", "SORT_ORDER2" => "", "DETAIL_URL" => "", "CACHE_TYPE" => "A", "CACHE_TIME" => "0", "CACHE_GROUPS" => "Y", "ACTIVE_DATE_FORMAT" => "" ), false );?>