-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcontent-contact.php
More file actions
129 lines (118 loc) · 3.73 KB
/
content-contact.php
File metadata and controls
129 lines (118 loc) · 3.73 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
<?php
/*
<script type="text/javascript">
function initialize() {
var dias = new google.maps.LatLng(51.5226036, -0.0855062);
var firstLatlng = new google.maps.LatLng(51.5226036, -0.0855062);
var firstOptions = {
zoom: 16,
center: firstLatlng,
mapTypeId: google.maps.MapTypeId.ROADMAP,
scrollwheel: false,
draggable: false,
styles: [
{
"featureType": "poi",
"stylers": [
{ "visibility": "off" }
]
},{
"featureType": "administrative",
"stylers": [
{ "visibility": "on" }
]
},{
"featureType": "landscape.man_made",
"stylers": [
{ "visibility": "simplified" },
{ "color": "#c6c6c6" }
]
},{
"featureType": "road",
"elementType": "geometry.stroke",
"stylers": [
{ "color": "#ffffff" },
{ "visibility": "off" }
]
},{
"featureType": "road.highway",
"stylers": [
{ "color": "#dad9d9" }
]
},{
"featureType": "water",
"elementType": "geometry",
"stylers": [
{ "color": "#3dadf4" }
]
},{
"featureType": "water",
"elementType": "labels.text.stroke",
"stylers": [
{ "color": "#3dadf4" }
]
},{
},{
"featureType": "poi",
"elementType": "labels.text.fill",
"stylers": [
{ "visibility": "on" }
]
}
]
};
var map = new google.maps.Map(document.getElementById("map_dias"), firstOptions);
firstmarker = new google.maps.Marker({
map:map,
draggable: false,
animation: google.maps.Animation.DROP,
title: 'DIAS Creative',
position: dias
});
var contentString1 = '<p>DIAS_<br />6-8 Bonhill Street<br />London<br />EC2A 4BX<br /></p>';
var infowindow1 = new google.maps.InfoWindow({
content: contentString1
});
google.maps.event.addListener(firstmarker, 'click', function() {
infowindow1.open(map,firstmarker);
});
infowindow1.open(map,firstmarker);
google.maps.event.addDomListener(window, 'resize', function() {
map.panTo(firstLatlng);
});
}
</script>
<div>
<div class="map">
<div id="map_dias">
</div>
</div>
</div>
*/
?>
<div class="box-tertiary box-full-width dial">
<div class="container">
<div id="contact">
<div class="col-lg-4">
<div class="address">
<div>
<h3>CHAT TO US</h3>
<h4>DIAS_</h4>
<p><a href="tel:+442079935746">+44(0)2079935746</a></p>
<p><a href="mailto:info@diascreative.com">info@diascreative.com</a></p>
<p><a href="https://twitter.com/DIASCreative" target="_blank">@DIASCreative</a></p>
</div>
</div>
</div>
<div class="col-lg-8">
<div id="contact-form">
<?php query_posts('pagename=contact'); ?>
<?php if (have_posts()) :
while (have_posts()) : the_post(); ?>
<?php the_content(); ?>
<?php endwhile; endif; ?>
</div>
</div>
</div>
</div>
</div>