header.php
3.13 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
<?if(!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true)die();?>
<?
IncludeTemplateLangFile(__FILE__);
?>
<!DOCTYPE html>
<html>
<head>
<title><?$APPLICATION->ShowTitle()?></title>
<?$APPLICATION->ShowHead();?>
<link rel="shortcut icon" type="image/x-icon" href="<?=SITE_TEMPLATE_PATH?>/favicon.ico"/>
<link href="<?=SITE_TEMPLATE_PATH?>/common.css" type="text/css" rel="stylesheet" />
<link href="<?=SITE_TEMPLATE_PATH?>/colors.css" type="text/css" rel="stylesheet" />
<link href='http://fonts.googleapis.com/css?family=Lobster&subset=latin,cyrillic-ext,latin-ext,cyrillic' rel='stylesheet' type='text/css' />
<!--[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]-->
</head>
<body class="home">
<img id="main-jpg" src="<?=SITE_TEMPLATE_PATH?>/images/page-home.jpg" />
<div id="main-shadl">
</div>
<div id="panel"><?$APPLICATION->ShowPanel();?></div>
<div class="page">
<div class="page-area">
<div class="top-bar">
<?$APPLICATION->IncludeComponent("bitrix:menu", "lang", Array(
"ROOT_MENU_TYPE" => "lang", // Тип меню для первого уровня
"MENU_CACHE_TYPE" => "A", // Тип кеширования
"MENU_CACHE_TIME" => "36000000", // Время кеширования (сек.)
"MENU_CACHE_USE_GROUPS" => "Y", // Учитывать права доступа
"MENU_CACHE_GET_VARS" => "", // Значимые переменные запроса
"MAX_LEVEL" => "1", // Уровень вложенности меню
"CHILD_MENU_TYPE" => "additional", // Тип меню для остальных уровней
"USE_EXT" => "Y", // Подключать файлы с именами вида .тип_меню.menu_ext.php
"DELAY" => "N", // Откладывать выполнение шаблона меню
"ALLOW_MULTI_SELECT" => "N", // Разрешить несколько активных пунктов одновременно
),
false,
array(
"ACTIVE_COMPONENT" => "Y"
)
);?>
<?$APPLICATION->IncludeComponent("bitrix:news.line", "partner", array(
"IBLOCK_TYPE" => "about_the_contest",
"IBLOCKS" => array(
0 => "17",
),
"NEWS_COUNT" => "5",
"FIELD_CODE" => array(
0 => "PREVIEW_PICTURE",
1 => "DETAIL_PICTURE",
2 => "",
),
"SORT_BY1" => "ACTIVE_FROM",
"SORT_ORDER1" => "DESC",
"SORT_BY2" => "SORT",
"SORT_ORDER2" => "ASC",
"DETAIL_URL" => "",
"CACHE_TYPE" => "N",
"CACHE_TIME" => "300",
"CACHE_GROUPS" => "Y",
"ACTIVE_DATE_FORMAT" => "d.m.Y"
),
false
);?> <a href="/../"><img class="lngflag" src="<?=SITE_TEMPLATE_PATH?>/images/lotar_mainru.jpg" alt="image description" /></a>
</div>
<div class="box02">
<img class="photo" src="<?=SITE_TEMPLATE_PATH?>/images/img03.png" alt="image description" width="238" height="239" />
<strong class="title"><?$APPLICATION->ShowTitle(false);?></strong>
<p>