-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpage-contact.php
336 lines (315 loc) · 25 KB
/
page-contact.php
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
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
<?php/*
Template Name: Contact
*/?>
<?php
get_header();
?>
<?php if(have_posts()): ?>
<?php while(have_posts()): the_post(); ?>
<section class="hi">
<div id="svgAnim">
<div id="rerun">
<div id="myobj">
<svg version="1.1" id="Calque_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
width="360px" height="140px" viewBox="0 0 360 140" enable-background="new 0 0 360 140" xml:space="preserve">
<path id="i0" fill="none" stroke="#000000" stroke-miterlimit="10" d="M360,18.25c0,0-23.792,6.542-29.042,7.042s-30.48,4.979-30.48,4.979
l-13.612,28.741l42.57-7.007l0.511-1.417l29.554-6.003V47l-28.999,5.417l1,0.833l0.083,3.083l2.917-0.75l-0.75-3.083H335
l0.417,3.333l15.75-2.917L350.251,50l1.916,0.583l-0.333,2.25l7.666-1.583V52l-27.082,4.917L333.482,78l1.476-0.236l-0.374-16.347
l7.584-1.167l0.083,15.167l2.083-0.167l-1-15.583l7.25-0.833l0.5,15l2.917-0.5l-0.583-14.5l6.082-1l0.038,15.583l0,0l-0.019-7.584
l-24.019,3.583l0.063,7.083l23.936-3.583v0.917L333.482,78l0.685,12.5H336l7.001-13.25l0.75-0.083l8.25,10.916l2.166-0.5
l5.333-9.666L359.084,74l0.454,10l-6.037-8.083l-1.917,0.166l-7.501,13.584l-1.25,0.166L335.084,78.5l-0.667,0.25l1.042,12.75
L359.5,88v1l-2.333,0.166l1.167,18.084l-7.5,1l-1.25-18l-1.083,0.25l1.333,17.75l-6.167,0.583l-0.666-17.667l-8.917,0.334l1.083,24
H337l-0.999-23.25l1,0.166l0.5,17l5.166-0.583l16.417-1.5l0.454,6.75l-24.704,2.333l-0.102,2.001L359.5,116v2l-24.916,1.959
l0.333,19.541H337l-0.174-3.774l4.573-0.272l0.102,4.047H345l-0.333-4.333l5-0.25l0.084,4.583H352l-0.166-4.917l5-0.166l0.23,5.083
l2.436,0.5v-20l-8.749,1.583l0.666,11.084l5.417-0.334l-0.083-11.166l-12.667,1l0.583,11l5.084-0.25l-0.5-10.584l-13,0.5
l0.416,10.917l4.517-0.383l-0.267-10.284l-6.282-0.154l-0.04-2.351l-6.261,0.339l0.75,18.666l-3.016-0.088l-0.534-17.326
l-10.283,0.581l0.166,16.75H312l-0.181-16.501l-9.652,0.501l0.242,16h-2.825l-0.175-15.562l-8.752,0.449l0.427,15.196l-3.083-0.042
l-0.583-24.041H290l0.233,4.299l9.185-0.549l-0.417-4.25l2.917-0.083l0.083,4l10-0.5l-0.459-5.084l2.848-0.253l0.11,4.92
l10.834-0.333l-0.25-5.084l3.084-0.5l0.666,5.417l5.666-0.333V111l-47.538,4.917l0.539-1.667l46.583-5.083l-5.916-0.084l-0.168-18
l5.5-0.75V88l-46.538,6.583l0.372,18.917l3.084-0.25l-0.668-16.333l8.75-1.417V112l4.168-0.25l-0.25-16.417l9.083-1.416
l0.333,16.916l3.999-0.333l-0.665-17.083l9.333-1.75l0.75,17.666l8.833-1l-1-22.416L289.525,92l-3.025,0.25V94l3.167-0.583l-0.458-5
l9.291-1.333V92l3.167-0.166l-0.083-5.417l9.667-1.25l0.166,4.917l3-0.334l-0.583-5.083L324.5,83l0.364,6.222L328,88.5l-0.416-6.166
l5.417-0.834l-0.25-2.083l-5.084,0.667L327.418,68.5l5.555-0.604l-0.18-3.542l-5.542,0.812l-0.417-7.667l3.917-0.917l-0.083-2.167
l-0.167-1l-43.583,8.5L286.5,59.75l1.334-0.333l-0.333,3.75l42.5-8.333l-0.25,1.5l-42.167,8.583l-0.416,26.417l1.416-0.25l0.75-16
l9.5-1.416l0.084,11l3.083-0.5l-0.833-10.834l9.75-1.916l0.692,10.994l2.633-0.454l-0.242-11.041l10.25-2l0.523,11.226l3.727-0.643
l-39.167,6.75l-0.125-21l9.291-1.917v7.083l2-0.417v-7l10.418-2.25l0.25,7.667l2.75-0.75L313.834,60l10-1.917l0.25,7.75
l-34.25,6.583"/>
<path id="i1" fill="none" stroke="#000000" stroke-miterlimit="10" d="M189.166,137.793l-2.041,1.52L186,140.5h-3.25l0.062-1.938l4.5,0.125
l0.562-1.375l-5.75,0.062l0.625,0.812l-8.812,1.188l-4.75,0.312l-9.25-1l-1.312-2.938l3.312,0.188l0.188,3.062l19.188-2.562
l-2.812-2.812l11.938-0.375l-1.812,2.75l0.688,1.312l2.375-3.5l25.188,1.688l1.875,3.501l1.25-2.063l0.188-1.875l7.562,1.312
l-3.747,3.804l3.622,2.738l2.479-2.084l2.3,0.109l0.882-1.22l-3.729-0.652l-1.984-1.284l1.17-1.894l-8.494-1.195l-3.086,0.401
l-25.078-1.507l-1.168-0.92c0,0-13.167,0.162-13.333,0.496c-0.167,0.334,0.5,0.833,0.5,0.833l-16.083,1.5l-4-0.334l-2.75,1.584
l1.333,1.416l2.25-1.166l3.083,0.5l17.167-2.084l0.167-0.916l10.25,0.166l1.5,0.417l25.916,1.583l3.084-0.333l6.833,1.333
l-1.338,0.997l3.274,2.473l1.085-0.449l-2.11,2.13L223.75,140l-4.958-0.5L189.166,137.793l-0.75-1.209l-6.916,0.333l-7.917,1.417
L162,139.584l-2.75-0.667L156.917,140l0.083-1.499l-0.833-1.667l3.75-2.417l1.583-0.751l19.917-2.166H191l26.833,1.417l5.625,0.5
l4.042,1.417V127l2.416-1.666l-4.833-4.416l-34.75-3.418H180l-19.167,3.251l-2.167,1.25l1.083,1.083l1.417,1.167l-0.167,8.75
l1.5-0.25l0.167-9.417l-0.917-1.333l19.917-2.667l8.667-0.25l33.333,3.5L227.5,127v7.562l-6-2.146V123l-2.75,0.334l-0.25,9.166H216
l-0.417-10.083l-2.5-0.166l-0.167,4.083c0,0,0.668,1.083,0.584,2s-0.75,1.875-0.75,1.875l1.25,1.625l-3.167-0.083l0.75-1.542
c0,0-1.167-0.959-0.75-2.542s0.917-1.833,0.917-1.833l-0.75-3.583l-1.667-0.084l-1.25,1.75c0,0,1.3,0.416,0.5,3.584
c-0.522,2.07-0.167,2.708-0.167,2.708l0.834,1.375l-2.834-0.167l0.584-1.75c0,0,0.188-0.413-0.403-3.199
c-0.385-1.812,0.466-2.468,0.466-2.468l-1.271-2.166l-2.027-0.247L203.5,126c0,0,1.25,1.085,1,2.251s-0.834,1.583-0.834,1.583
l1.167,1.583l-3.333-0.25l1-1.5c0,0-1-0.167-0.5-2.25s0.444-1.851,0.444-1.851l-0.256-4.084l-2.368-0.157l-0.487,1.759
c0,0,1.333,0.917,0.583,3s-0.75,3.167-0.75,3.167l1.084,1.916l-3.25-0.083l1-2.083l-0.25-2c0,0-0.916-2.5-0.25-3.5
s0.416-1.292,0.416-1.292l-1.037-1.079l-1.124-0.075l-1.494,2.029c0,0,1.323,3.083,1.239,4.333s-1.239,1.667-1.239,1.667
l1.322,1.667l-3.333-0.167l0.833-1.833c0,0-1.084-0.833-0.167-2.75s0.25-3.084,0.25-3.084l-0.833-1.916l-1.5-0.167l0.333,9.833
L189,130.688l0.083-9.437l-5-0.021l-0.667,9.271l5.584,0.188l-7.5-0.104V121l-2.167,0.251l0.667,3.25c0,0-1.74,2.634-1,3.666
c1,1.396,0,1.896,0,1.896l0.031,0.781l-3.448,0.24l0.833-1.667l-0.083-2.083c0,0-1.083-2-0.25-3.5s-0.417-1.917-0.417-1.917
l2.5-0.416l-0.146,0.908c0,0,0.635,0.778,0.312,2.425c-0.273,1.393,0.041,6.056,0.041,6.056l-3.875,0.527l-0.083-1.666l0.917-1.417
l-0.5-3l0.417-3l-1.42-0.352l-1.33,0.519l0.75,1.083l-0.083,2.5c0,0-1.084,2.25-0.667,3s0.417,0.75,0.417,0.75l-1.083,1.583
l-0.583-1.208l0.083-2.542c0,0,0.917-1.749,0.667-2.416s0.083-1.917,0.083-1.917l-0.833-1l-2.167,0.417l0.917,1.583
c0,0-1.083,1.5-0.583,3.25s0.417,3.167,0.417,3.167l-1.167,1.416l-0.75-1.958c0,0,0.552-0.959,0.25-1.875
c-0.684-2.071-0.083-3.5-0.083-3.5l0.25-1.833l-1.424-0.103l-1.326,0.269c0,0,1.979,2.508,1.25,3.5
c-1.302,1.771-1.083,2.75-1.083,2.75l0.667,1.25l-1.083,1.584l-1.25,0.25l0.167-9.25l18.25-2.417l7.416-0.167l22.584,1.5
l10.75,0.917l2.416-2.5l1.584,1.167c0,0,0.562-3.376-1-4.251c-0.976-0.546-2.084,2.501-2.084,2.501l-1.333-0.25l-0.333-1.334
c0,0-1.341,0.752-1.334-0.75c0.01-2.074,0.396-5.681-1.25-5.75c-2.479-0.104-1.583,4.167-1.583,4.167l0.479,1.229l-2.625,1.875
l-3.688-0.281l1.031-7.156c0,0,3.469-2.688,2.281-6.906s-2.906-4.438-2.906-4.438l0.219-0.906H211l-3.625-2.625l-0.75-1.812
L202,94.5l-1.5,0.625L182.5,96l-2.938-0.688l-2.75,0.75c0,0-3.75,2.188-2.812,6.562s1.25,4.688,1.25,4.688l2.062-0.625l1.25,0.75
l1,9.312L177.75,117l-1.188-9.125l0.5-2.062c0,0-2.221-6.544,0.5-8.438s4.75-0.438,4.75-0.438l-1.062,19.625l1.938-0.062l2.25-0.688
l0.062-1.062c0,0-1.812-1.438-0.625-4.375s3.125,0.25,3.312,1.188s-0.938,3.062-0.938,3.062l-0.192,1.258l1.38,0.055l0.375,0.75
l12.562,1l0.938-11.312l1.188-0.875c0,0,1.125-7.625-0.188-9.312s-2.5,0.812-2.625,2.438s0.868,5.188,2,2.125s0.188-4.562-0.625-3.5
s-1.25,2.375-0.312,2.938s2.25,5.75,2.25,5.75l2.688-0.062c0,0,1.062-6.094,0.688-8s3.25,2.375,3.25,2.375s-2.688,7.219,2.267,6.442
c4.193-0.657,1.826-4.272,0.296-4.192c-1.188,0.062-2.281,1.667-0.688,2.375c2.405,1.068,1.812-1,1.812-1s4.312,2.583-1.188,7.271
l-0.625,7.761l-3.312-0.094l0.188-2.938l-3.5-1.875l-0.25,4.375l-5.73-0.806l0.043-5.569l-17.875,0.75l0.562-17.625l-5-0.312
l-2-0.312l-1.312-0.938l4.438-1.5l4.125,0.501l16.562-0.499l1.812-1.061l8.25,0.879l-2,1.444l4.75,3.015l3.312,0.279l-1.125,1.059
l-2.5,0.023l0.125,1.797h0.25l0.188-2.016L206.625,94l0.062-1.312l-5.25-0.125l-2.25,1l-16.375,0.188l-3.875-0.625l-2.438,1
L175.438,92l-0.812-1l3.625-1.625l0.188,1.312l4.5,0.625l8.938-0.5c0,0,0.75,0.312,0.75-1.438s-2.312-2.938-2.312-2.938l-2.312,0.5
l0.438,2c0,0-0.562,1-1,0.938s-1.375-2.75-1-3.438s-2-1.312-2-1.312s-0.812-0.375-1.25-1.188s-0.812-1.281-0.812-1.281l-1.688-1.062
c0,0-2.062-0.531-2.438,1.469s0.75,2.438,1.25,2.656s-0.219,0.75-0.688,1.312s-3.719,1.406-3.406,2.062s4.281-0.875,4.281-0.875
l7.594,2.156l8.562,0.594c0,0-1.062-1.75,0.406-4s2.562-1.656,2.562-1.656l1.656-1.5c0,0,0.656-3.5,2.031-3.375
S204.938,83,204.938,83s-2.375,1.938-3.156,1.062s5.531,0.562,5.531,0.562s1.105,4.79,1.229,5.208c0.06,0.2-0.739-3.545-0.667-3.291
c0.046,0.163,3.209-0.75,3.792,0.125c1.179,1.769-0.169,3.283-0.132,3.424c0.093,0.353,3.432,2.781,3.507,3.117
c0.032,0.142-0.171,0.185-0.513,0.163s0.721,3.066,0.721,3.066s-0.173,0.33-0.438,0.12l-0.906-3.12c0,0-3.928-1.161-3.989-1.188
c-0.898-0.376-7.729-3.031-7.729-3.031L202,87.625l-5.281,2.344c0,0,1.094-2.156,1.594-2.5s5.656-0.312,5.656-0.312l2.719,0.406
L209.031,91l-7.75-0.969l-2.25,1.125l-5.906-0.969c0,0-0.094-4.281-6.469-4.344s-1.438-1.344-1.438-1.344l14.156-0.844l2.062-3.406
l-16.281,1.5l-0.031,2l-0.688-1.562l-0.758,0.455l1.883-1.549l-0.344-1.594H187l13.219-1.25L203,79.625l0.062-1.688l-3.094-2.562
l-11.938,0.219l-0.406,3.062l0.719,0.062l1.156-3.812l-0.031-2.688l9.469-0.406l0.375,2.75l2.781,1.938l0.25-1.875l-2.75-2.531
l-1.406-1.031c0,0-5.87-0.329-7.125,0.406s1.688,0.062,1.688,0.062l1.167-45.448c0,0,4.583-2.667,5.333,0.75
s-0.562,44.26-0.562,44.26l0.633-24.186c0,0-4.622-0.731-5.956,0.686l0.624-23.606c0,0,4.846-0.903,5.179,0.097
s1.583,0.583,1.583,0.583L199,21.833l-7.25,0.667l-0.031-0.188l2.549-0.896c0,0-0.58-1.438-0.497-1.438s-0.688-4.729-0.688-4.729
l0.979-4.688l0.396-1.271c0,0-2.146-0.916-0.667-1.438c1.479-0.521,1.271-0.958,1.271-0.958s-2.521-4.124,1.208-5.604
s3.875,3.063,2.959,4.355s-0.333,2.856-0.333,2.856l1.46,1.191l-0.685,0.945c0,0,1.236,2.287,0.84,3.058s-0.072,3.489-0.072,3.489
s-2.115,3.048-1.83,3.917s-1.516,0.521-1.516,0.521l-5.062,1.312l1.594,1.75l5.531-0.062l-0.094,46.844l-9.375,1.125l0.125,2.656
l-2.562,3.812l-2.219,0.75l-0.094,1.531l0.094,4.781l1.844,0.031c0,0-0.91,3.371,0.906,3.875s21.031,1.375,21.031,1.375
l-3.094,2.938L201.875,94l-0.625-2.594l-1.688,1l0.469,2.281l-17.062,0.594l0.062-3.594l-4.469-0.75l0.75,3.531
c0,0-6.688,2.625-5.125,8.219s1.438,4.312,1.438,4.312l0.938-0.438l0.938,10.875l-13.406,1.938L164.062,118
c2.281,0.156,0.434-4.755-0.594-4.812c-2.559-0.144-2.781,5.062-1.438,5l-0.066,0.982l-0.652,0.205l-0.031,0.969"/>
<path id="i2" fill="none" stroke="#000000" stroke-miterlimit="10" d="M297.658,36.224l-21.908,5.794l-2.373-2.8L267.5,40v12
c0,0,4.908-2.313,6-3.584v-8.75l2.75,2.167l0.209,4.333l-2.229,2.75l2.926,1.75l6.34,3.75l-5.998,6.167l-0.248-8.833l-7.834,0.75
l1.418,0.917l-0.01,8.476L272,61.5l0.25-8l2.333-0.333l1.583-0.333l0.167,7.917l-20.5,4.25l5.75-4.583l5.5-7.75l2.167,0.417
l1.75,9.25l14.833-2.583l0.25,2.167l-29.583,5l-0.167-1.5L257,65.25l0.75,2l0.5,33.541l-0.041,38.709h2.291V133l7.333-0.041
l-0.166,6.541H270l0.292-7.041l7.208-0.125v7.166h3l-0.024-7.178l5.113-0.318l0.161,7.496H287l-0.125-11.417L280,128.521
l-0.042-5.729l-3.458,0.292V129l-6.334,0.334l0.167-5.75l-2.75,0.167l-0.083,5.5l-7,0.333V124l7.083-0.249l-0.167-2.5l-6.583,0.416
l0.417-14.416l6.333-0.667l-0.167,14.667l3.084-0.084l-0.333-14.916l6.333-0.584v15.011l3.417-0.427l-0.334-14.917l6.417-0.583
l-0.167,15.166l-15.333,1.25l-0.167,2.417l16.167-1.542l-0.25-20.209l-6.417,0.626l-0.253-5.525l-2.577,0.3l0.163,5.685l-7.083,0.5
l-0.124-5.366l-2.407,0.28l0.114,5.336L261,104.167l0.083-5.083l25.083-2.916l-0.083-14.417l-6.75,1l0.042,12.083l-2.875,0.39V83
l-6.417,1.041l0.167,12.043l-2.333,0.25l-0.167-11.833l-6.25,0.75V97l24.654-2.834L286,74.834l-6.5,1.084V80l-2.584,0.334
l-0.083-3.833L270,77.668l0.231,3.887l-2.311,0.383l-0.088-3.77l-6.333,0.748V83l24.544-4.167l0.456-13.665l-7.25,1.417l0.081,7.282
l-2.581,0.302l-0.084-7.417l-6.5,1.25l0.157,7.226l-2.594,0.392l-0.313-7.2l-6.25,1.083l0.167,7.083l24.833-3.75l0.418-10.25
l-28.084,5.75V74l-12.917,0.918c0,0-4.332,6-8.416,10.833s-9,7.75-9,7.75L237,93.084l3.25-3.962l-0.583-1.288l1.75-2.334H244
l-0.75,2.168l-2.75,0.416l3.333,4l13.75-2.333l0.083,11.417l-13.916,1.416l-0.417-9.083l1-0.5l-7.5,0.833l1.083,1l0.167,8.5l-4,0.25
l-0.797-9.166l-10.203-0.167l-3.249,0.083l-1.75-1l-2.584,0.5l0.334,1.75l2.333-0.166l1.583,0.5l-1.833,12.416l2.917-0.083
l-1.5-2.417l3.416-0.833l0.334-10l0.75-0.083l-0.334,10.333l34.125-3.501l-0.083,1.708l-36.375,3.876l-0.167,3.25l-7.089,0.824
l8.542-1.08l0.047,9.214l-0.047-9.214l6.49-0.865l0.697,15.619l-0.697-15.619l28.483-3.922l-0.067,2.959l-7.7,0.668l0.087,19
l-2.29,0.04l-0.082-18.875l-6.71,0.877l-0.166,18.583l-2.165,0.041l-0.25-18.583l-6.5,0.75l-0.166,18.5l-2-0.417l0.083-2.333
l-1.333,2.75l0.75,0.833l28.583-2.083l0.042,3.041l-29.209,1.876l1.083,4.916l2.167,0.417l0.25-2.667l6.667-0.166v3.832l2,0.083
v-4.208l6.292-0.229l0.062,4.27l3.095,0.084l0.036-4.571l6.503-0.512L256.66,140"/>
<path id="i3" fill="none" stroke="#000000" stroke-miterlimit="10" d="M-0.297,89.802l11.023-4.651l-10.801,12.8l0.5,21.963l0.806-12.582
l4.197-9.79l2.817,9.309l-2.81,32.65h5.438l2.751-34.17l4.125-9.79l2.5,8.978l-3.5,34.982H22l4.125-34.42L30,93.54l3.25,9.436
l-3.5,36.524h5.5L38,100.58l5-11.79l3.5,11.686L43.25,139.5h6.5l2.75-42.67l3.875-11.915l4.375,11.248L57.875,139.5h7l2.75-45.92
l6-11.455l3.75,10.663l-3.25,46.712h8l2.125-48.795l6-13.915l3.875,10.748L91.75,139.5H100l1.625-53.287l1.625-0.294l4.375-12.021
l4.625,9.863l2.25,0.7l-2.375,55.039h8.375l1-57.42l1.875,0.085l4.5-13.395l4.5,10.615l1.875,0.451l-2,59.664h10.5l-0.25-62h2.5
l4.25-14.25l6,10.875l1.584,0.417l-0.583,4.083l5.125,1.75l3.171,3.305l-0.796,0.195l-6.375-3.75l-1.757,5.041l-0.375,12
l-10.993,16.209l-1,26.125H144l0.312-22.17l32.188-3.455V110l-32.25,3.375L145,111.5l31.587-3.436l-1.708-1.78l-14.254,2.216
l7.125-8.375l-5.5-1.625l-4.125-1.625l-2.875,2l0.5,10.125l1.461-0.037l0.039-8.463l3.875-0.125l-0.5,8.125l-14.75,2l8.812-13
l2.812-1.375v-16l0.86,0.579l-0.204,14.921l5.609-11.75l19.367-4.75l3.621-1.479l0.871-6.146H185l-0.333,6.292l-6.186,2.132
l-0.731-3.34L180,75.75l-0.625-6.375L179.25,63.5H180l0.75,6.5l0.125,4.5l3.5-8.75l0.75-2.5l0.375-3l1.5,2.25l-0.5,2.25l2.188,6.125
L190.5,70v-3l1.25-1L173,51.125L170.75,70l12-2.625l-4.395,12.919l-7.885,1.913l-0.625-11l0.53-3.457l-1.625-11.375L165.875,68
l0.625,2l-0.25,11.875l-1-0.875l-2.875,0.5l3.375-6.75L165.625,70l-13.25-5l-0.875-5.375l1.125-1.875l-0.669-1.678l-1.331-1.697
L149.25,57.5l0.25,1.25L149.375,62l7.125,11.5l8.046,10.18l5.924-1.473l-0.826-11.868L172,51.125L25.125,87.375l-13.583-2.75
l13.583,2.75l-5.292,7.75l0.125-2.875l-0.833-2.625l-0.875,4.75l2,10.143l-0.453,4.529l4.703-0.422l2.125-0.125
c0,0,1.375-6.75,3.5-6.25s1.125,5.25,1.125,5.25l8.5-1.5c0,0-0.375-6.5,2.25-7.375s2.125,5.542,2.125,5.542l10-1.292
c0,0-0.583-5.014,3-5.75s1.875,5,1.875,5l10.25-2c0,0,0.75-5.875,3.375-6.625s2.25,5.125,2.25,5.125L86.375,97
c0,0-0.633-5.733,3.5-6.375s1.75,5.188,1.75,5.188L104.375,93c0,0-0.875-5.875,3.625-6.875s2.846,5.727,2.846,5.727l12.904-2.977
c0,0-0.125-5.25,4-6s3,4.625,3,4.625l14.785-1.578c0,0-1.785-6.547,4.09-7.797S155.25,85,155.25,85l-20.195,1.916l0.32-8.291
l-6.083-9.042l16.292,5.958L145.149,77l0.435-1.459l-15.834-5.666l0.61-5.295l0.406-1.546l-1.204-2.408L128.5,63v2l-0.25,2.875
L123.125,79.5l-12.5-4.75l-0.75-2.791l-0.125-2.709l0.625-0.917L109.5,67.5l-1.375,1.25L109,70.667l-1,2.208l5.875,9.75l1.25,3.5
l6.275,1.666l-0.157,8.999l-7.332,1.296l0.299-6.939l-12.819,2.686l0.075-2.458L95.5,90.125V88l-3-8.5l10.75,3.625l-1.125,2
l-0.951,15.87l-7.72,1.211L95.5,88l-3.458-10.125l-0.5-2.167l1.083-1.833l-1.25-1.916l-1,1.749l0.417,1.75l-4.458,10.416
l-10.458-2.499L74.5,79.5l0.792-1.667L74.5,76l-1.343,1.953l0.635,1.588l-0.167,2.584L79,91.75l5.045,2.998l-0.353,8.753
l-7.141,1.131l0.439-6.306l-9.829,2.206l0.229-3.023l-5.015-0.196l-0.062-1.938l-5.062-10.962l11.687,4.462l-0.562,0.812
l-1.519,16.728l-6.866,1.201l0.089-1.34l-8.258,1.09l-0.12,1.868l-6.015,1.014l0.134-1.613l-8.487,1.381l-0.146,2.062l-4.886,0.794
l0.208-2.167l-7.184,1.049l-0.265,2.211l-5.851,0.951l0.105-1.053l-6.459,1.01l-0.111,1.38L7.5,116.938V115l-6.821,0.962
l0.185-2.888l12.324-2.322l0.271-3.367l-4.917-0.802l-2.708-9.916l9.354,2.083l3.875-3.812l1.625,1.938l7.375,0.062L30,93.54
l10.534,1.064L43,88.79l10.562,2.522l-1.625,5.562l-0.188,4.062l-5.304-0.642l-0.231,3.601l-8.632,2.595l0.084-3.824l-4.417,0.309
l-0.407,4.243l-6.973,1.325l0.703-4.798l-6.323,0.771l-0.453,4.529c0,0-1.047,0.297-1.047,0.297s-0.125-3.965-2-4.178
c-2.917-0.331-2.5,5-2.5,5l-7.917,1.084c0,0,1.5-3.668-1.083-3.584s-2.5,4.5-2.5,4.5"/>
<path id="i4" fill="none" stroke="#000000" stroke-miterlimit="10" d="M3.708,139.333l-4.104-0.667L0.917,127.5H5l2.25-2.25
c0,0,0.083-4.167,2.917-3.917S12.25,127,12.25,127l5.167-0.667l1.25-0.25c0,0,1.167-6.166,2.667-6.166s1.75,5.583,1.75,5.583
l8.11-1.064c0,0,2.072-7.257,3.807-6.603s1.403,5.351,1.403,5.351l8.29-1.008l-0.345,4.145l-32.735,3.995l-0.323,4.008l32.702-3.734
l-0.514,6.166L10.873,139.5H50l1.279-18.01l7.878-1.319c0,0,1.917-7.438,4.593-7.005s2.31,6.084,2.31,6.084l9.578-1.49
c0,0,0.309-7.104,4.029-7.177s3.435,6.104,3.435,6.104l9.764-1.602c0,0-0.421-7.655,4.968-7.085c3.117,0.33,2.944,6.009,2.944,6.009
l12.538-2.082c0,0-0.731-7.76,3.435-7.76c2.244,0,3.5,6.958,3.5,6.958l10-1.458l3.014-0.418c0,0,0.152-8.416,5.236-7.916
s4.119,5.751,4.119,5.751l-9.275,1.065l-0.237,5.935l-67.271,9.357l-0.248,4.127l67.336-8.235l-0.271,8.083l-67.471,6.917
l-0.31,5.167h-7l0.293-4.422l-8.002,1.168l0.343-6.709l8.106-1.204l0.271-4.084l-7.97,0.978l2.158-22.216l6.368-0.972L58.5,107.75
l-4.083,0.5L54,114.083l3.958-0.458l0.542-5.875l10.75-1.584l0.417-4.855l5.274-1.017l-0.649,10.039L69,111l0.383-6.382l5.456-0.588
l1.712,0.602l9.283-1.216l0.25-5.333l5.333-0.833l-0.25,11.041l-5.417,0.542l0.174-7.341l7.624-1.328l-0.093,2.042l10.595-1.74
l0.325-6.299l6.708-1.001l-0.583,11.001l-6.75,1.333l0.417-7l7.167-1.167l2.579,0.753l7.332-1.296l2.423-0.665L123.75,90l7.25-1
l-0.167,12.5l-7.167,0.75l-0.07-7.697l10.204-1.301l-0.05,1.495l11.787-1.58l0.005-6.792l4.375-0.292l-0.085,4.25l3.414-0.608
l-0.028-4.187l2.283-0.372v4.251l-1.965,0.249l0.282,8.085L150.155,98l-0.328-7.667l-4.247,0.333c0,0-0.165,7.334,0.001,7.667
l8.584-0.666"/>
<path id="i5" fill="none" stroke="#000000" stroke-miterlimit="10" d="M238.631,83.771L225.038,85l1.793-6.125l2.022,5l1.073-1.938
l2.911,1.562l-8.338,1.062V75l-2-0.875V87l-3.688,0.312l-0.688-12.938l3.562-0.312l1.062,14.049l2.562-2.549l-1.188-0.312
l-2.188,3.438l-3.188,0.438l-3.125,3.312l-1.714-0.938l4.026-3.75l-0.406-13.25l-1.031-0.25V73l-3-1.041l-0.375,9.291l-6.625,1.188
v-9.625l6.25-0.854l0.75,9.729l-2.823,4.396l-0.625-0.213l1.886-3.672l-6.062,0.989l-0.438-7.312L202.5,76.25V75l3-1.312
c0,0,0.5-1,0.812-2.438s-0.938-1.75-0.25-2.188s1-1.375,1-1.375l0.875,1.875c0,0-0.75,1-0.5,1.5s0.375,1.188,0.375,1.188"/>
<path id="i6" fill="none" stroke="#000000" stroke-miterlimit="10" d="M195.688,21.062l-1.42-5.75c0,0-0.08-2.812,1.42-3.375
s2.688-2.062,2.688-2.062l-3.062-0.438c0,0,0.125-2.125,1.438-2.812s1.688-1.5,1.625-2.375s-1.539-1.5-2.051,0
s2.058,7.954,2.058,7.954L197,17.125l0.75,3.562l-2.5,0.75"/>
<path id="i7" fill="none" stroke="#000000" stroke-miterlimit="10" d="M155,139.5h-11c0,0-0.5-6.528-0.434-8.257s17.5-1.737,17.5-1.737
l0.1-5.255l-16.969,1.248l0.095-6.756"/>
</svg></div></div>
</div>
<div class="text">
<h2 title="contact" role="heading" aria-level="2">
<?php the_title() ?>
</h2>
<div><?php the_content() ?></div>
</div>
</section>
<section class="hi contact">
<div class="text">
<h3 role="heading" aria-level="3"><?php _e( 'Coordonnées', 'portfolio' ); ?></h3>
<ul class="vcard" itemscope itemtype="http://schema.org/Person">
<li class="fn" itemprop="name"><i class="icon-user-1"></i> <?php the_field('prenom') ?> <?php the_field('nom') ?></li>
<li class="email" itemprop="email"><i class="icon-mail-1"></i> <a href="mailto:<?php the_field('adresse_e-mail') ?>"><?php the_field('adresse_e-mail') ?></a></li>
<li class="tel" itemprop="telephone"><i class="icon-phone-1"></i> <?php the_field('numero_de_telephone') ?></li>
<li class="adr" itemprop="address"><i class="icon-location-1"></i>
<span class="street-address"><?php the_field('rue_et_numero') ?></span>
<span class="postal-code"><?php the_field('code_postal') ?></span>
<span class="locality"><?php the_field('ville') ?></span>
<span class="region"><?php the_field('region') ?></span>
<span class="country-name"><?php the_field('pays') ?></span>
</li>
</ul>
<?php endwhile; ?>
<?php endif; ?>
<h3 role="heading" aria-level="3">Formulaire d’envoi de mail</h3>
<?php
/*
********************************************************************************************
CONFIGURATION
********************************************************************************************
*/
// destinataire est votre adresse mail. Pour envoyer à plusieurs à la fois, séparez-les par une virgule
$destinataire = '[email protected]';
// copie ? (envoie une copie au visiteur)
$copie = 'oui';
// Action du formulaire (si votre page a des paramètres dans l'URL)
// si cette page est index.php?page=contact alors mettez index.php?page=contact
// sinon, laissez vide
$form_action = '';
// Messages de confirmation du mail
$message_envoye = "Votre message nous est bien parvenu !";
$message_non_envoye = "L'envoi du mail a échoué, veuillez réessayer SVP.";
// Message d'erreur du formulaire
$message_formulaire_invalide = "Vérifiez que tous les champs soient bien remplis et que l'email soit sans erreur.";
/*
********************************************************************************************
FIN DE LA CONFIGURATION
********************************************************************************************
*/
/*
* cette fonction sert à nettoyer et enregistrer un texte
*/
function Rec($text)
{
$text = htmlspecialchars(trim($text), ENT_QUOTES);
if (1 === get_magic_quotes_gpc())
{
$text = stripslashes($text);
}
$text = nl2br($text);
return $text;
};
/*
* Cette fonction sert à vérifier la syntaxe d'un email
*/
function IsEmail($email)
{
$value = preg_match('/^(?:[\w\!\#\$\%\&\'\*\+\-\/\=\?\^\`\{\|\}\~]+\.)*[\w\!\#\$\%\&\'\*\+\-\/\=\?\^\`\{\|\}\~]+@(?:(?:(?:[a-zA-Z0-9_](?:[a-zA-Z0-9_\-](?!\.)){0,61}[a-zA-Z0-9_-]?\.)+[a-zA-Z0-9_](?:[a-zA-Z0-9_\-](?!$)){0,61}[a-zA-Z0-9_]?)|(?:\[(?:(?:[01]?\d{1,2}|2[0-4]\d|25[0-5])\.){3}(?:[01]?\d{1,2}|2[0-4]\d|25[0-5])\]))$/', $email);
return (($value === 0) || ($value === false)) ? false : true;
}
// formulaire envoyé, on récupère tous les champs.
$nom = (isset($_POST['nom'])) ? Rec($_POST['nom']) : '';
$email = (isset($_POST['email'])) ? Rec($_POST['email']) : '';
$objet = (isset($_POST['objet'])) ? Rec($_POST['objet']) : '';
$message = (isset($_POST['message'])) ? Rec($_POST['message']) : '';
// On va vérifier les variables et l'email ...
$email = (IsEmail($email)) ? $email : ''; // soit l'email est vide si erroné, soit il vaut l'email entré
$err_formulaire = false; // sert pour remplir le formulaire en cas d'erreur si besoin
if (isset($_POST['envoi']))
{
if (($nom != '') && ($email != '') && ($objet != '') && ($message != ''))
{
// les 4 variables sont remplies, on génère puis envoie le mail
$headers = 'From:'.$nom.' <'.$email.'>' . "\r\n";
//$headers .= 'Reply-To: '.$email. "\r\n" ;
//$headers .= 'X-Mailer:PHP/'.phpversion();
// envoyer une copie au visiteur ?
if ($copie == 'oui')
{
$cible = $destinataire.','.$email;
}
else
{
$cible = $destinataire;
};
// Remplacement de certains caractères spéciaux
$message = str_replace("'","'",$message);
$message = str_replace("’","'",$message);
$message = str_replace(""",'"',$message);
$message = str_replace('<br>','',$message);
$message = str_replace('<br />','',$message);
$message = str_replace("<","<",$message);
$message = str_replace(">",">",$message);
$message = str_replace("&","&",$message);
// Envoi du mail
if (mail($cible, $objet, $message, $headers))
{
echo '<p>'.$message_envoye.'</p>';
}
else
{
echo '<p>'.$message_non_envoye.'</p>';
};
}
else
{
// une des 3 variables (ou plus) est vide ...
echo '<p class="errForm">'.$message_formulaire_invalide.'</p>';
$err_formulaire = true;
};
}; // fin du if (!isset($_POST['envoi']))
if (($err_formulaire) || (!isset($_POST['envoi'])))
{
// afficher le formulaire
echo '
<form id="contact" method="post" action="'.$form_action.'">
<fieldset>
<ul>
<li><label for="nom">Nom</label><input type="text" id="nom" name="nom" value="'.stripslashes($nom).'" tabindex="1" /></li>
<li><label for="email">Email</label><input type="text" id="email" name="email" value="'.stripslashes($email).'" tabindex="2" /></li>
<li><label for="objet">Objet</label><input type="text" id="objet" name="objet" value="'.stripslashes($objet).'" tabindex="3" /></li>
<li><label for="message">Message</label><textarea id="message" name="message" tabindex="4" cols="30" rows="8">'.stripslashes($message).'</textarea></li>
<li><input type="submit" name="envoi" value="Envoyer" /></li>
</ul>
</fieldset>
</form>';
};
?>
</div>
<div id="map"></div>
</section>
<?php
get_footer();
?>