list.php 1.69 KB
<?if(!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true)die();?>
<?$APPLICATION->SetTitle($arParams['TITLE_CON_COUNT']);?>
<?
global $FilterCon;
$FilterCon = Array(
	"PROPERTY_11" => 6
);
?>
<?$APPLICATION->IncludeComponent(
	"bitrix:news.list",
	"",
	Array(
		"AJAX_MODE" => $arParams['AJAX_MODE'],
		"IBLOCK_TYPE" => $arParams['IBLOCK_TYPE'],
		"IBLOCK_ID" => $arParams['IBLOCK_ID'],
		"NEWS_COUNT" => $arParams['PAGE_CON_COUNT'],
		"SORT_BY1" => $arParams['CON_SORT_BY1'],
		"SORT_ORDER1" => $arParams['CON_SORT_ORDER1'],
		"SORT_BY2" => $arParams['CON_SORT_BY2'],
		"SORT_ORDER2" => $arParams['CON_SORT_ORDER2'],
		"FILTER_NAME" => "FilterCon",
		"FIELD_CODE" => "",
		"PROPERTY_CODE" => $arParams['LIST_PROPERTY_CODE'],
		"CHECK_DATES" => "Y",
		"DETAIL_URL" => "/archive/contests/#CODE#/winners/",
		"PREVIEW_TRUNCATE_LEN" => "",
		"ACTIVE_DATE_FORMAT" => "d.m.Y",
		"SET_TITLE" => "N",
		"SET_STATUS_404" => "N",
		"INCLUDE_IBLOCK_INTO_CHAIN" => "N",
		"ADD_SECTIONS_CHAIN" => "N",
		"HIDE_LINK_WHEN_NO_DETAIL" => "N",
		"PARENT_SECTION" => "",
		"PARENT_SECTION_CODE" => "",
		"CACHE_TYPE" => "A",
		"CACHE_TIME" => "36000000",
		"CACHE_NOTES" => "",
		"CACHE_FILTER" => "N",
		"CACHE_GROUPS" => "Y",
		"DISPLAY_TOP_PAGER" => "N",
		"DISPLAY_BOTTOM_PAGER" => "Y",
		"PAGER_TITLE" => " ",
		"PAGER_SHOW_ALWAYS" => "N",
		"PAGER_TEMPLATE" => "",
		"PAGER_DESC_NUMBERING" => "N",
		"PAGER_DESC_NUMBERING_CACHE_TIME" => "36000",
		"PAGER_SHOW_ALL" => "Y",
		"AJAX_OPTION_JUMP" => $arParams['AJAX_OPTION_JUMP'],
		"AJAX_OPTION_STYLE" => $arParams['AJAX_OPTION_STYLE'],
		"AJAX_OPTION_HISTORY" => $arParams['AJAX_OPTION_HISTORY'],
		"AJAX_OPTION_ADDITIONAL" => $arParams['AJAX_OPTION_ADDITIONAL']
	),
$component
);?>