-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcontacts.html
191 lines (133 loc) · 7.42 KB
/
contacts.html
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
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
<!DOCTYPE html>
<html>
<head>
<!-- meta CSS & Scripts Include -->
<?php $title="contacts"; require_once('blocks/general/includings.html'); ?>
</head>
<body>
<?php require_once('blocks/general/menu.html'); ?>
<!-- wrap -->
<div id="wrap">
<!-- Header Include -->
<?php require_once('blocks/general/header.html'); ?>
<!-- Content -->
<section class="wrp-content">
<div class="wrp-grid">
<div class="grd-full">
<div class="wrp-grid-small">
<h1 class="g-tacenter">Наши контакты</h1>
<h3>Контактные данные</h3>
<p><address>Украина. г. Харьков проспект Московский, 179Б<br>
Время работы: Пн-Пт. с 9:00 до18:00<br>
тел/факс: +38 (057) 780 42 45<br>
e-mail: е[email protected]</address><br></p>
<h3>Консультации и справки</h3>
<p>тел.: +38 (068) 454 42 45 <br> тел.: +38 (068) 454 42 47</p>
<a id="map-show" href="#" class="link-blue-bg mb20"><i class="icon-map-marker"></i>Смотреть на карте</a>
<h3>Обратная связь</h3>
<div class="general-form">
<form>
<label class="b-gf__holder">
<input type="text" placeholder="Имя*" class="g-error">
<i class="icon-user"></i>
<span class="b-gf__reqired">Поле обязательно для ввода</span>
</label>
<label class="b-gf__holder">
<input type="text" placeholder="E-mail*" class="g-error">
<i class="icon-envelope"></i>
<span class="b-gf__reqired">Поле обязательно для ввода</span>
</label>
<div class="b-gf__holder">
<select data-placeholder="Кому адресовать сообщение?*" class="g-error">
<option></option>
<option>Вася</option>
<option>Петя</option>
</select>
</div>
<label class="b-gf__holder">
<input type="text" placeholder="Тема сообщения">
</label>
<label class="b-gf__holder textarea">
<textarea wrp-cols="30" rows="5" placeholder="Отзыв*"></textarea>
<i class="icon-comment"></i>
<span class="b-gf__reqired">Поле обязательно для ввода</span>
</label>
<div class="b-gf__captcha">
<img src="resources/tmp/code.jpg" height="44" width="110" alt="Защитный код">
<a class="b-gf__refresh icon-rotate-right" title="Нажмите для получения нового кода"></a>
<input type="text" placeholder="Введите код*">
</div>
<div class="errormsg error" style="display:block">Можно ввести не более 50 символов</div>
<div class="errormsg error" style="display:block">Некорректный формат e-mail</div>
<div class="errormsg error" style="display:block">Пожалуйста, выберите получателя</div>
<div class="errormsg error" style="display:block">Ошибка ввода проверочного кода</div>
<div class="errormsg error" style="display:block">Заполните поля обязательные для регистрации</div>
<div class="errormsg success" style="display:block">Сообщение отправлено!</div>
<div class="g-tacenter mb40">
<input type="submit" value="Отправить" class="g-button dark btn-full">
</div>
</form>
</div>
</div>
</div>
</div>
</section>
<!-- Content End -->
<!-- Footer Include -->
<?php require_once('blocks/general/footer.html'); ?>
</div>
<!-- wrap End -->
<?php require_once('blocks/general/modal.html'); ?>
<div class="modal modal-map">
<a id="j-close" class="close"></a>
<div id="map" class="block-map"></div>
</div>
<script src="https://maps.googleapis.com/maps/api/js?v=3.exp&sensor=true"></script>
<script>
function initialize()
{
var mapOptions = {
zoom: 15,
center: new google.maps.LatLng(49.9855, 36.280499),
mapTypeId: google.maps.MapTypeId.ROADMAP,
scrollwheel: false
};
var map = new google.maps.Map(document.getElementById('map'), mapOptions);
var image = new google.maps.MarkerImage( 'resources/images/marker.png',
new google.maps.Size(48,65),
new google.maps.Point(0,0),
new google.maps.Point(24,65)
);
var infoWindow = new google.maps.InfoWindow;
var title = '<div class="block-marker">'+
'<b class="fs18">Тарасовкская</b><br>'+
'Город Харьков, пр-т Героев Сталинграда, 134/3<br>'+
'<b>тел.:</b><br>050 343-99-40;<br>'+
'<b>e-mail:</b><br>[email protected]'+
'</div>';
var marker = new google.maps.Marker({
map: map,
icon: image,
title: 'Тарасовкская Город Харьков, пр-т Героев Сталинграда, 134/3',
position: new google.maps.LatLng(49.98497, 36.280493)
});
var onMarkerClick = function() {
var latLng = marker.getPosition();
infoWindow.setContent(title);
infoWindow.open(map,marker);
};
//onMarkerClick();
google.maps.event.addListener(marker, 'click', onMarkerClick);
google.maps.event.addListener(map, 'click', function() {
infoWindow.close();
});
}
//google.maps.event.addDomListener(window, 'load', initialize);
$('#map-show').click(function() {
$('.modal-map').show();
initialize();
return false;
});
</script>
</body>
</html>