header.php
3.76 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
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
<?if(!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true)die();?>
<?
IncludeTemplateLangFile(__FILE__);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ru" lang="ru">
<head>
<?$APPLICATION->ShowHead();?>
<link href="<?=SITE_TEMPLATE_PATH?>/common.css" type="text/css" rel="stylesheet" />
<link href="<?=SITE_TEMPLATE_PATH?>/colors.css" type="text/css" rel="stylesheet" />
<!--[if lte IE 6]>
<style type="text/css">
#banner-overlay {
background-image: none;
filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='<?=SITE_TEMPLATE_PATH?>images/overlay.png', sizingMethod = 'crop');
}
div.product-overlay {
background-image: none;
filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='<?=SITE_TEMPLATE_PATH?>images/product-overlay.png', sizingMethod = 'crop');
}
</style>
<![endif]-->
<title><?$APPLICATION->ShowTitle()?></title>
</head>
<body class="test">
<div id="page-wrapper">
<div id="panel"><?$APPLICATION->ShowPanel();?></div>
<div id="header">
<table id="logo">
<tr>
<td><a href="<?=SITE_DIR?>" title="<?=GetMessage('CFT_MAIN')?>"><?
$APPLICATION->IncludeFile(
SITE_DIR."include/company_name.php",
Array(),
Array("MODE"=>"html")
);
?></a></td>
</tr>
</table>
<div id="top-menu">
<div id="top-menu-inner">
<?$APPLICATION->IncludeComponent("bitrix:menu", "horizontal_multilevel", array(
"ROOT_MENU_TYPE" => "top",
"MAX_LEVEL" => "2",
"CHILD_MENU_TYPE" => "left",
"USE_EXT" => "Y",
"MENU_CACHE_TYPE" => "A",
"MENU_CACHE_TIME" => "36000000",
"MENU_CACHE_USE_GROUPS" => "Y",
"MENU_CACHE_GET_VARS" => ""
),
false,
array(
"ACTIVE_COMPONENT" => "Y"
)
);?>
</div>
</div>
<div id="top-icons">
<a href="<?=SITE_DIR?>" class="home-icon" title="<?=GetMessage('CFT_MAIN')?>"></a>
<a href="<?=SITE_DIR?>search/" class="search-icon" title="<?=GetMessage('CFT_SEARCH')?>"></a>
<a href="<?=SITE_DIR?>contacts/" class="feedback-icon" title="<?=GetMessage('CFT_FEEDBACK')?>"></a>
</div>
</div>
<div id="banner">
<table id="banner-layout" cellspacing="0">
<tr>
<td id="banner-image"><div><img src="<?=SITE_TEMPLATE_PATH?>/images/head.jpg" /></div></td>
<td id="banner-slogan">
<?
$APPLICATION->IncludeFile(
SITE_DIR."include/motto.php",
Array(),
Array("MODE"=>"html")
);
?>
</td>
</tr>
</table>
<div id="banner-overlay"></div>
</div>
<div id="content">
<div id="sidebar">
<?$APPLICATION->IncludeComponent("bitrix:menu", "left", array(
"ROOT_MENU_TYPE" => "left",
"MENU_CACHE_TYPE" => "A",
"MENU_CACHE_TIME" => "36000000",
"MENU_CACHE_USE_GROUPS" => "Y",
"MENU_CACHE_GET_VARS" => array(
),
"MAX_LEVEL" => "1",
"CHILD_MENU_TYPE" => "left",
"USE_EXT" => "Y",
"ALLOW_MULTI_SELECT" => "N"
),
false,
array(
"ACTIVE_COMPONENT" => "Y"
)
);?>
<div class="content-block">
<div class="content-block-inner">
<h3><?=GetMessage('CFT_NEWS')?></h3>
<?
$APPLICATION->IncludeFile(
SITE_DIR."include/news.php",
Array(),
Array("MODE"=>"html")
);
?>
</div>
</div>
<div class="content-block">
<div class="content-block-inner">
<?
$APPLICATION->IncludeComponent("bitrix:search.form", "flat", Array(
"PAGE" => "#SITE_DIR#search/",
),
false
);
?>
</div>
</div>
<div class="information-block">
<div class="top"></div>
<div class="information-block-inner">
<h3><?=GetMessage('CFT_FEATURED')?></h3>
<?
$APPLICATION->IncludeFile(
SITE_DIR."include/random.php",
Array(),
Array("MODE"=>"html")
);
?>
</div>
<div class="bottom"></div>
</div>
</div>
<div id="workarea">
<h1 id="pagetitle"><?$APPLICATION->ShowTitle(false);?></h1>