Blame view

sect_sidebar.php 2.3 KB
2fe1e5ce8   Андрей Ларионов   Первый коммит на ...
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
  <?if(!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true)die();?>
  <?if ($APPLICATION->GetCurPage(true) == SITE_DIR."index.php"):?>
  <div class="mb-5">
  	<?$APPLICATION->IncludeComponent("bitrix:search.title", "bootstrap_v4", array(
  			"NUM_CATEGORIES" => "1",
  			"TOP_COUNT" => "5",
  			"CHECK_DATES" => "N",
  			"SHOW_OTHERS" => "N",
  			"PAGE" => SITE_DIR."catalog/",
  			"CATEGORY_0_TITLE" => "Товары" ,
  			"CATEGORY_0" => array(
  				0 => "iblock_catalog",
  			),
  			"CATEGORY_0_iblock_catalog" => array(
  				0 => "all",
  			),
  			"CATEGORY_OTHERS_TITLE" => "Прочее",
  			"SHOW_INPUT" => "Y",
  			"INPUT_ID" => "title-search-input",
  			"CONTAINER_ID" => "search",
  			"PRICE_CODE" => array(
  				0 => "BASE",
  			),
  			"SHOW_PREVIEW" => "Y",
  			"PREVIEW_WIDTH" => "75",
  			"PREVIEW_HEIGHT" => "75",
  			"CONVERT_CURRENCY" => "Y"
  		),
  		false
  	);?>
  </div>
  <?endif?>
  
  <div class="mb-5">
  	<h3>Мы в соцсетях</h3>
  	<?$APPLICATION->IncludeComponent(
  		"bitrix:main.include",
  		"",
  		Array(
  			"AREA_FILE_SHOW" => "file",
  			"PATH" => SITE_DIR."include/socnet_sidebar.php",
  			"AREA_FILE_RECURSIVE" => "N",
  			"EDIT_MODE" => "html",
  		),
  		false,
  		Array('HIDE_ICONS' => 'Y')
  	);?>
  </div>
  
  <div class="mb-5 d-block d-sm-none">
  	<?$APPLICATION->IncludeComponent(
  		"bitrix:main.include",
  		"",
  		Array(
  			"AREA_FILE_SHOW" => "file",
  			"PATH" => SITE_DIR."include/sender.php",
  			"AREA_FILE_RECURSIVE" => "N",
  			"EDIT_MODE" => "html",
  		),
  		false,
  		Array('HIDE_ICONS' => 'Y')
  	);?>
  </div>
  
  <div class="mb-5">
  	<?$APPLICATION->IncludeComponent(
  		"bitrix:main.include",
  		"",
  		Array(
  			"AREA_FILE_SHOW" => "file",
  			"PATH" => SITE_DIR."include/about.php",
  			"AREA_FILE_RECURSIVE" => "N",
  			"EDIT_MODE" => "html",
  		),
  		false,
  		Array('HIDE_ICONS' => 'N')
  	);?>
  </div>
  
  <div class="mb-5">
  	<?$APPLICATION->IncludeComponent(
  		"bitrix:main.include",
  		"",
  		Array(
  			"AREA_FILE_SHOW" => "file",
  			"PATH" => SITE_DIR."include/twitter.php",
  			"AREA_FILE_RECURSIVE" => "N",
  			"EDIT_MODE" => "html",
  		),
  		false,
  		Array('HIDE_ICONS' => 'N')
  	);?>
  </div>
  
  <div class="mb-5">
  	<?$APPLICATION->IncludeComponent(
  		"bitrix:main.include",
  		"",
  		Array(
  			"AREA_FILE_SHOW" => "file",
  			"PATH" => SITE_DIR."include/info.php",
  			"AREA_FILE_RECURSIVE" => "N",
  			"EDIT_MODE" => "html",
  		),
  		false,
  		Array('HIDE_ICONS' => 'N')
  	);?>
  </div>