-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.php
More file actions
132 lines (132 loc) · 4.67 KB
/
index.php
File metadata and controls
132 lines (132 loc) · 4.67 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
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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
<?
require($_SERVER["DOCUMENT_ROOT"]."/bitrix/header.php");
$APPLICATION->SetPageProperty("title", "Главная");
$APPLICATION->SetPageProperty("NOT_SHOW_NAV_CHAIN", "Y");
$APPLICATION->SetTitle("Главная");
?>
<div class="slider">
<?$APPLICATION->IncludeComponent(
"qsoft:main.banner",
".default",
array(
"CACHE_TIME" => "0",
"CACHE_TYPE" => "A",
"NOINDEX" => "N",
"QUANTITY" => "3",
"TYPE" => "slider_header",
"COMPONENT_TEMPLATE" => ".default"
),
false
);?>
</div>
<h2 class="push_right">Модели недели</h2>
<section class="product_line">
<figure class="product_item">
<div class="product_item_pict">
<a href="#">
<img src="local/templates/.default/images/test_top_week_1.png" alt="BMW X3 2.0d" title="BMW X3 2.0d"/>
</a>
</div>
<figcaption>
<h3><a href="#">BMW X3 2.0d</a></h3>
<p class="product_item_price dark_grey">2 230 000 руб.</p>
<a class="buy_button inverse inline-block pie" href="#">В корзину</a>
</figcaption>
</figure>
<figure class="product_item">
<div class="product_item_label new"></div>
<div class="product_item_pict">
<a href="#">
<img src="local/templates/.default/images/test_top_week_2.png" alt="AUDI A6 3.0 TFSI" title="AUDI A6 3.0 TFSI"/>
</a>
</div>
<figcaption>
<h3><a href="#">AUDI A6 3.0 TFSI</a></h3>
<p class="product_item_price dark_grey">2 870 000 руб.</p>
<a class="buy_button inverse inline-block pie" href="#">В корзину</a>
</figcaption>
</figure>
<figure class="product_item">
<div class="product_item_label sale"></div>
<div class="product_item_pict">
<a href="#">
<img src="local/templates/.default/images/test_top_week_3.png" alt="Mercedes-Benz A200" title="Mercedes-Benz A200"/>
</a>
</div>
<figcaption>
<h3><a href="#">Mercedes-Benz A200</a></h3>
<p class="product_item_price dark_grey">1 310 000 руб.</p>
<a class="buy_button inverse inline-block pie" href="#">В корзину</a>
</figcaption>
</figure>
<figure class="product_item">
<div class="product_item_pict">
<a href="#">
<img src="local/templates/.default/images/no-image.jpg" alt="BMW Z4 sDrive35i" title="BMW Z4 sDrive35i"/>
</a>
</div>
<figcaption>
<h3><a href="#">BMW Z4 sDrive35i</a></h3>
<p class="product_item_price">3 532 000 руб.</p>
<a class="buy_button inverse inline-block pie" href="#">В корзину</a>
</figcaption>
</figure>
</section>
<?$APPLICATION->IncludeComponent(
"bitrix:news.list",
"news_list_main",
Array(
"ACTIVE_DATE_FORMAT" => "j M Y",
"ADD_SECTIONS_CHAIN" => "Y",
"AJAX_MODE" => "N",
"AJAX_OPTION_ADDITIONAL" => "",
"AJAX_OPTION_HISTORY" => "N",
"AJAX_OPTION_JUMP" => "N",
"AJAX_OPTION_STYLE" => "Y",
"CACHE_FILTER" => "N",
"CACHE_GROUPS" => "Y",
"CACHE_TIME" => "36000000",
"CACHE_TYPE" => "A",
"CHECK_DATES" => "Y",
"DETAIL_URL" => "",
"DISPLAY_BOTTOM_PAGER" => "Y",
"DISPLAY_DATE" => "Y",
"DISPLAY_NAME" => "Y",
"DISPLAY_PICTURE" => "Y",
"DISPLAY_PREVIEW_TEXT" => "Y",
"DISPLAY_TOP_PAGER" => "N",
"FIELD_CODE" => array("", ""),
"FILTER_NAME" => "",
"HIDE_LINK_WHEN_NO_DETAIL" => "N",
"IBLOCK_ID" => "12",
"IBLOCK_TYPE" => "news",
"INCLUDE_IBLOCK_INTO_CHAIN" => "Y",
"INCLUDE_SUBSECTIONS" => "Y",
"MESSAGE_404" => "",
"NEWS_COUNT" => "3",
"PAGER_BASE_LINK_ENABLE" => "N",
"PAGER_DESC_NUMBERING" => "N",
"PAGER_DESC_NUMBERING_CACHE_TIME" => "36000",
"PAGER_SHOW_ALL" => "N",
"PAGER_SHOW_ALWAYS" => "N",
"PAGER_TEMPLATE" => ".default",
"PAGER_TITLE" => "Новости",
"PARENT_SECTION" => "",
"PARENT_SECTION_CODE" => "",
"PREVIEW_TRUNCATE_LEN" => "150",
"PROPERTY_CODE" => array("", ""),
"SET_BROWSER_TITLE" => "Y",
"SET_LAST_MODIFIED" => "N",
"SET_META_DESCRIPTION" => "Y",
"SET_META_KEYWORDS" => "Y",
"SET_STATUS_404" => "N",
"SET_TITLE" => "Y",
"SHOW_404" => "N",
"SORT_BY1" => "ACTIVE_FROM",
"SORT_BY2" => "SORT",
"SORT_ORDER1" => "DESC",
"SORT_ORDER2" => "ASC",
"STRICT_SECTION_CHECK" => "N"
)
);?>
<?require($_SERVER["DOCUMENT_ROOT"]."/bitrix/footer.php");?>