Blame view

partners/index.php 2.26 KB
80576aee7   Дмитрий Типикин   Интеграция верстк...
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
  <?
  	require($_SERVER["DOCUMENT_ROOT"] . "/bitrix/header.php");
  	$APPLICATION->SetTitle("Партнеры");
  	global $arrFilter;
  ?>
  	<section class="section cover-partners">
  		<div class="container cover-partners__container"><h1 class="h1 cover-partners__title">Партнеры</h1>
  			<div class="red-line cover-partners__lines"></div>
  		</div>
  	</section>
  	<section class="section licenses-partners">
  		<div class="container licenses-partners__container"><h2 class="h2 licenses-partners__title">Лицензии</h2>
  			<? $APPLICATION->IncludeComponent("bitrix:news.list", "licenses", [
  				"IBLOCK_TYPE" => "contacts",
  				"IBLOCK_ID" => IBID_LICENSES,
  				"SET_TITLE" => "N",
  				"AJAX_MODE" => "N",
  				"AJAX_OPTION_SHADOW" => "Y",
  				"AJAX_OPTION_JUMP" => "N",
  				"AJAX_OPTION_STYLE" => "Y",
  				"AJAX_OPTION_HISTORY" => "N",
  				"CACHE_TYPE" => "A",
  				"CACHE_TIME" => "36000000",
  				"CACHE_GROUPS" => "Y",
  				"AJAX_OPTION_ADDITIONAL" => "",
  			],
  				false
  			); ?>
  		</div>
  	</section>
  	<section class="section big-logo">
  		<? $arrFilter = ["PROPERTY_BASIC_PARTNER" => "1"]; ?>
  		<? $APPLICATION->IncludeComponent("bitrix:news.list", "big-partners", [
  			"IBLOCK_TYPE" => "content",
  			"IBLOCK_ID" => IBID_PARTNERS,
  			"SET_TITLE" => "N",
  			"AJAX_MODE" => "N",
  			"AJAX_OPTION_SHADOW" => "Y",
  			"AJAX_OPTION_JUMP" => "N",
  			"AJAX_OPTION_STYLE" => "Y",
  			"AJAX_OPTION_HISTORY" => "N",
  			"CACHE_TYPE" => "A",
  			"CACHE_TIME" => "36000000",
  			"CACHE_GROUPS" => "Y",
  			"AJAX_OPTION_ADDITIONAL" => "",
  			"FILTER_NAME" => "arrFilter",
  			"FIELD_CODE" => ["DETAIL_PICTURE"],
  		],
  			false
  		); ?>
  	</section>
  	<section class="section small-logo">
  		<? $arrFilter = ["!PROPERTY_BASIC_PARTNER" => "1"]; ?>
  		<? $APPLICATION->IncludeComponent("bitrix:news.list", "small-partners", [
  			"IBLOCK_TYPE" => "content",
  			"IBLOCK_ID" => IBID_PARTNERS,
  			"SET_TITLE" => "N",
  			"AJAX_MODE" => "N",
  			"AJAX_OPTION_SHADOW" => "Y",
  			"AJAX_OPTION_JUMP" => "N",
  			"AJAX_OPTION_STYLE" => "Y",
  			"AJAX_OPTION_HISTORY" => "N",
  			"CACHE_TYPE" => "A",
  			"CACHE_TIME" => "36000000",
  			"CACHE_GROUPS" => "Y",
  			"AJAX_OPTION_ADDITIONAL" => "",
  			"FILTER_NAME" => "arrFilter",
  			"FIELD_CODE" => ["DETAIL_PICTURE"],
  		],
  			false
  		); ?>
  	</section>
  <? require($_SERVER["DOCUMENT_ROOT"] . "/bitrix/footer.php"); ?>