Blame view

bitrix/components/citrus/contests/templates/.default/direction.php 1.58 KB
60c6f0893   root   init
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->AddChainItem($arParams['direction'], $APPLICATION->GetCurPage());?>
  <?$APPLICATION->SetTitle($arParams['direction']);?>
  <?$APPLICATION->IncludeComponent("bitrix:news.list", "direction", array(
  	"IBLOCK_TYPE" => "tenders",
  	"IBLOCK_ID" => $arParams['IBLOCK_DIRECTION'],
  	"NEWS_COUNT" => "20",
  	"SORT_BY1" => "ACTIVE_FROM",
  	"SORT_ORDER1" => "DESC",
  	"SORT_BY2" => "SORT",
  	"SORT_ORDER2" => "ASC",
  	"FILTER_NAME" => "",
  	"FIELD_CODE" => array(
  		0 => "DETAIL_PICTURE",
  		1 => "",
  	),
  	"PROPERTY_CODE" => array(
  		"POST"
  	),
  	"CHECK_DATES" => "Y",
  	"DETAIL_URL" => $arResult["FOLDER"].$arResult["URL_TEMPLATES"]["jury_detail"],
  	"AJAX_MODE" => "N",
  	"AJAX_OPTION_JUMP" => "N",
  	"AJAX_OPTION_STYLE" => "N",
  	"AJAX_OPTION_HISTORY" => "N",
  	"CACHE_TYPE" => "A",
  	"CACHE_TIME" => "36000000",
  	"CACHE_FILTER" => "N",
  	"CACHE_GROUPS" => "Y",
  	"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" => "",
  	"DISPLAY_TOP_PAGER" => "N",
  	"DISPLAY_BOTTOM_PAGER" => "Y",
  	"PAGER_TITLE" => " ",
  	"PAGER_SHOW_ALWAYS" => "Y",
  	"PAGER_TEMPLATE" => "",
  	"PAGER_DESC_NUMBERING" => "N",
  	"PAGER_DESC_NUMBERING_CACHE_TIME" => "36000",
  	"PAGER_SHOW_ALL" => "Y",
  	"DISPLAY_DATE" => "Y",
  	"DISPLAY_NAME" => "Y",
  	"DISPLAY_PICTURE" => "Y",
  	"DISPLAY_PREVIEW_TEXT" => "Y",
  	"AJAX_OPTION_ADDITIONAL" => $arParams["AJAX_OPTION_ADDITIONAL"]
  	),
  	false
  );?>