<?
require($_SERVER["DOCUMENT_ROOT"]."/bitrix/header.php");
$APPLICATION->SetPageProperty("title", "Документы");
$APPLICATION->SetTitle("Документы");
if (isset($_REQUEST['SECTION_ID']) && !empty($_REQUEST['SECTION_ID']))
{
$GLOBALS['arrFilter'] = array("SECTION_ID" => $_REQUEST['SECTION_ID']);
}
?><?$APPLICATION->IncludeComponent(
"bitrix:news.list",
"docs_inner",
array(
...
"FILTER_NAME" => "arrFilter",
...
),
false
);?><br>
if (function_exists("getmoduleevents"))
{
foreach (GetModuleEvents("main", "OnEndBufferContent", true) as $arEvent)
{
// ExecuteModuleEventEx($arEvent, array(&$content));
}
}