<?$APPLICATION->IncludeComponent("bitrix:news.list", "administration_shannel", array(
"IBLOCK_TYPE" => "adminstation",
"IBLOCK_ID" => "96",
"NEWS_COUNT" => "1",
"SORT_BY1" => "ACTIVE_FROM",
"SORT_ORDER1" => "DESC",
"SORT_BY2" => "SORT",
"SORT_ORDER2" => "ASC",
"FILTER_NAME" => "",
"FIELD_CODE" => array(
0 => "",
1 => "",
),
"PROPERTY_CODE" => array(
0 => "CHANNEL_ID",
1 => "PATH_SYSTEM_FOLDER",
2 => "TIME_PARSER_GRID",
3 => "REFRESH_JINGLE_LIST",
............ и т.д.
а здесь уже работать непосредственно с переменными без использования шаблона компонента.
?>
|