list.php
1.71 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<?if(!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true)die();?>
<?$APPLICATION->SetTitle($arParams['TITLE_CON_COUNT']);?>
<?
global $FilterCon;
$FilterCon = Array(
"PROPERTY_STATUS" => Array(14,6,11)
);
?>
<?$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" => $arResult['URL_TEMPLATES']['contests'],
"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
);?>