-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
executable file
·350 lines (350 loc) · 14.4 KB
/
index.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
337
338
339
340
341
342
343
344
345
346
347
348
349
350
<?php get_header(); ?>
<!--Présentation Espace Soutine-->
<div id="gpresentation" class="col-xs-12">
<div class="row">
<div class="description col-md-8 col-md-offset-2 col-xs-12 ">
<?php
$args = array(
'post_type' => 'post',
'posts_per_page' => 1,
'category_name' => 'presentation'
);
$my_query = new WP_Query($args);
if($my_query->have_posts()) : while ($my_query->have_posts() ) : $my_query->the_post();
?>
<h2 style="color:#335481;"><?php the_title(); ?></h2>
<?php the_content(); ?>
<?php
endwhile;
endif;
wp_reset_postdata();
?>
<div id="billet">
<?php echo "<h2>$title</h2><p>$contenu</p><strong>$date</strong>"; ?>
</div>
</div>
</div>
<div class="row header11">
<div class="col-xs-6 col-md-2 col-md-offset-2 pic_line">
<img src="<?php echo get_template_directory_uri(); ?>/img/ico/business_b.png" alt="logo Repas d'affaire">
<p>Repas d'affaires</p>
</div>
<div class="col-xs-6 col-md-2 pic_line">
<img src="<?php echo get_template_directory_uri(); ?>/img/ico/coloc_b.png" alt="Colloque">
<p>Colloques</p>
</div>
<div class="col-xs-6 col-md-2 pic_line">
<img src="<?php echo get_template_directory_uri(); ?>/img/ico/people_b.png" alt="Seminaire">
<p>Séminaires</p>
</div>
<div class="col-xs-6 col-md-2 pic_line">
<img src="<?php echo get_template_directory_uri(); ?>/img/ico/cocktail_b.png" alt="Cocktail">
<p>Cocktails</p>
</div>
</div>
<div class="row">
<div class="col-xs-6 col-md-2 col-md-offset-2 pic_line">
<img src="<?php echo get_template_directory_uri(); ?>/img/ico/music_b.png" alt="Concert">
<p>Concerts</p>
</div>
<div class="col-xs-6 col-md-2 pic_line">
<img src="<?php echo get_template_directory_uri(); ?>/img/ico/rings_b.png" alt="Mariage">
<p>Mariages</p>
</div>
<div class="col-xs-6 col-md-2 pic_line">
<img src="<?php echo get_template_directory_uri(); ?>/img/ico/reveillon_b.png" alt="Réveillon">
<p>Réveillons</p>
</div>
<div class="col-xs-6 col-md-2 pic_line">
<img src="<?php echo get_template_directory_uri(); ?>/img/ico/theatre_b.png" alt="Spectacle">
<p>Spectacles</p>
</div>
</div>
</div>
<!--Nos prestations-->
<div class="col-md-12">
<div class="row">
<div id="gprestation" class="col-xs-12 col-md-12">
<div class="row marge1">
<div class="col-xs-12 col-md-6 img_prestation marge-presta1">
<div class="overflow">
<div class="bandeau"></div>
<h3 class="textimg">Grande salle configuration tribune</h3>
<p class="textimg5"><img src="<?php echo get_template_directory_uri(); ?>/img/ico/cap.png" alt="capacité"> 302 personnes</p>
<img class="prestation imgrefund" src="<?php echo get_template_directory_uri(); ?>/img/02.jpg" alt="Grande_salle">
<div class="overflow_text">
<h3 class="textimg4">Grande salle configuration tribune</h3>
<p class="nbr"><img src="<?php echo get_template_directory_uri(); ?>/img/ico/cap.png" alt="capacité"> 302 personnes</p>
<div class="divbli">
<p class="bli">
<?php
$args = array(
'post_type' => 'post',
'posts_per_page' => 1,
'category_name' => 'configuration_tribune'
);
$my_query = new WP_Query($args);
if($my_query->have_posts()) : while ($my_query->have_posts() ) : $my_query->the_post();
?>
<?php the_content(); ?>
<?php
endwhile;
endif;
wp_reset_postdata();
?>
</p>
</div>
</div>
</div>
</div>
<div class="col-xs-12 col-md-6 img_prestation marge-presta2">
<div class="overflow">
<div class="bandeau"></div>
<h3 class="textimg">Grande salle configuration repas</h3>
<p class="textimg5"><img src="<?php echo get_template_directory_uri(); ?> /img/ico/cap.png" alt="capacité"> 250 personnes</p>
<img class="prestation imgrefund" src="<?php echo get_template_directory_uri(); ?>/img/01.jpg" alt="Grande_salle">
<div class="overflow_text">
<h3 class="textimg4">Grande salle configuration repas</h3>
<p class="nbr"><img src="<?php echo get_template_directory_uri(); ?>/img/ico/cap.png" alt="capacité"> 250 personnes</p>
<div class="divbli">
<p class="bli">
<?php
$args = array(
'post_type' => 'post',
'posts_per_page' => 1,
'category_name' => 'configuration repas'
);
$my_query = new WP_Query($args);
if($my_query->have_posts()) : while ($my_query->have_posts() ) : $my_query->the_post();
?>
<?php the_content(); ?>
<?php
endwhile;
endif;
wp_reset_postdata();
?>
</p>
</div>
</div>
</div>
</div>
</div>
<div class="row marge2">
<div class="col-xs-12 col-md-6 img_prestation marge-presta3">
<div class="overflow">
<div class="bandeau"></div>
<h3 class="textimg">Salle de réunions</h3>
<p class="textimg5"><img src="<?php echo get_template_directory_uri(); ?>/img/ico/cap.png" alt="capacité"> 40 personnes</p>
<img class="prestation imgrefund" src="<?php echo get_template_directory_uri(); ?>/img/06.jpg" alt="Salle_de_reunion">
<div class="overflow_text">
<h3 class="textimg4">Salle de réunions</h3>
<p class="nbr"><img src="<?php echo get_template_directory_uri(); ?>/img/ico/cap.png" alt="capacité"> 40 personnes</p>
<div class="divbli">
<p class="bli">
<?php
$args = array(
'post_type' => 'post',
'posts_per_page' => 1,
'category_name' => 'salle_de_reunions'
);
$my_query = new WP_Query($args);
if($my_query->have_posts()) : while ($my_query->have_posts() ) : $my_query->the_post();
?>
<?php the_content(); ?>
<?php
endwhile;
endif;
wp_reset_postdata();
?>
</p>
</div>
</div>
</div>
</div>
<div class="col-xs-12 col-md-6 img_prestation marge-presta4">
<div class="overflow">
<div class="bandeau"></div>
<h3 class="textimg">Hall d'accueil</h3>
<p class="textimg5"><img src="<?php echo get_template_directory_uri(); ?>/img/ico/cap.png" alt="capacité"> 85 personnes</p>
<img class="prestation imgrefund" src="<?php echo get_template_directory_uri(); ?>/img/03.jpg" alt="Hall_d_accueil">
<div class="overflow_text">
<h3 class="textimg4">Hall d'accueil</h3>
<p class="nbr"><img src="<?php echo get_template_directory_uri(); ?>/img/ico/cap.png" alt="capacité"> 85 personnes</p>
<div class="divbli">
<p class="bli">
<?php
$args = array(
'post_type' => 'post',
'posts_per_page' => 1,
'category_name' => 'hall_d_accueil'
);
$my_query = new WP_Query($args);
if($my_query->have_posts()) : while ($my_query->have_posts() ) : $my_query->the_post();
?>
<?php the_content(); ?>
<?php
endwhile;
endif;
wp_reset_postdata();
?>
</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="col-xs-12 col-sm-12 col-md-12 blanc invite_telecharger">
<div class="col-xs-12 col-sm-8 col-sm-offset-2 col-md-offset-4 col-md-6">
<p class="float-left">Téléchargez nos prestations et tarifs</p>
<a class="btn-header btn-default padding-left-20px" href="<?php echo get_home_url(); ?>/index.php/download/">
<span class="dl glyphicon glyphicon-download-alt telecharger "><span>
</a>
</div>
</div>
<!--Galerie-->
<div id="galerie" class="galerie col-md-12">
<h2>Galerie</h2>
<div class="row">
<div class="col-md-12">
<div id="myCarousel" class="carousel slide" data-ride="carousel">
<!-- Wrapper for slides -->
<div class="carousel-inner" role="listbox">
<?php
$args = array(
'post_type' => 'post',
'posts_per_page' => 1,
'category_name' => 'carousel-active',
);
$my_query = new WP_Query($args);
if($my_query->have_posts()) : while ($my_query->have_posts() ) : $my_query->the_post();
?>
<div class="item active main-carousel">
<?php the_content(); ?>
</div>
<?php
endwhile;
endif;
wp_reset_postdata();
?>
<?php
$args = array(
'post_type' => 'post',
'posts_per_page' => 9,
'category_name' => 'carousel',
);
$my_query = new WP_Query($args);
if($my_query->have_posts()) : while ($my_query->have_posts() ) : $my_query->the_post();
?>
<div class="item main-carousel">
<?php the_content(); ?>
</div>
<?php
endwhile;
endif;
wp_reset_postdata();
?>
</div>
<!-- Left and right controls -->
<a class="left carousel-control" href="#myCarousel" role="button" data-slide="prev">
<span aria-hidden="true"></span>
<span class="sr-only">Previous</span>
</a>
<a class="right carousel-control" href="#myCarousel" role="button" data-slide="next">
<span aria-hidden="true"></span>
<span class="sr-only">Next</span>
</a>
</div>
</div>
</div>
<div id="gnous_contacter"></div>
</div>
<!--Nous contacter-->
<div class="col-xs-12 col-md-12 blue-area">
<div class="gnous_contacter col-xs-12 col-md-12">
<div class="row">
<h2>Nous contacter</h2>
<div class="col-xs-12 col-md-6 info">
<div class="row">
<div class="col-xs-12 col-md-11 col-md-offset-1">
<div class="adresse">
<div class="row">
<div class="col-xs-6 col-md-5 white">
<p><span class="glyphicon glyphicon-map-marker"></span><span> </span>41 rue de la Chacatière</p>
<p>28300 Lèves</p>
<p><span class="glyphicon glyphicon-earphone"> </span> 02.37.180.180</p>
<p><img class="car" src="<?php echo get_template_directory_uri(); ?>/img/ico/car.png" alt="capacité">Parking gratuit</p>
</div>
<div class="col-xs-6 col-md-5 white">
<p><img class="bus" src="<?php echo get_template_directory_uri(); ?>/img/ico/transport.png" alt="capacité"><span>Bus ligne 8</span></p>
<div class="row">
<div class="col-xs-6">
<p class="horaires"><span class="glyphicon glyphicon-time"></span><span> Horaires :</span></p>
</div>
<div class="col-xs-6">
<a href="http://www.filibus.fr/presentation/?rub_code=89" title="filibus"><img class="filibus" src="<?php echo get_template_directory_uri(); ?>/img/ico/filibus.png" title="filibus"></a>
</div>
</div>
<div class="col-xs-12 no-padding-left">
<p>Gare de Chartres à 5mn</p>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-xs-12 col-md-11 col-md-offset-1">
<iframe src="https://www.google.com/maps/embed?pb=!1m14!1m8!1m3!1d10581.353360933439!2d1.4737741!3d48.4692235!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x0%3A0xab3428056b369dae!2sEspace+Soutine!5e0!3m2!1sfr!2sfr!4v1459979008375" width="100%" height="300" frameborder="0" style="border:0" allowfullscreen></iframe>
</div>
</div>
</div>
<div class="col-xs-12 col-md-6 formulaire">
<div class="row">
<div id ="contact" class="col-xs-10 col-xs-offset-1 col-md-10 col-md-offset-1 center form_padding">
<form method="post">
<?php echo do_shortcode( '[contact-form-7 id="169" title="Nous contacter"]' ); ?>
</form>
</div>
</div>
</div>
</div>
</div>
</div>
<!--Evenements-->
<div id="gevenement" class="col-xs-12 col-md-12 event-area">
<h2>Événements à venir</h2>
<?php $thumbs = array(
'category_name' => 'Evenements',
'posts_per_page' => 3,
'meta_query' => array(array('key' => '_thumbnail_id'))
);
$newsWithPic = new WP_Query($thumbs);
if($newsWithPic->have_posts()) :
while ($newsWithPic->have_posts() ) : $newsWithPic->the_post();
?>
<div class="col-xs-12 col-sm-12 col-md-4 col-lg-4 containimg">
<div class="card">
<div class="img-responsive">
<?php if ( has_post_thumbnail() ) { the_post_thumbnail( 'taille-perso' ); }
?>
</div>
<div class="texte_event">
<p class="postmetadata">
</p>
<p><?php the_content(); ?></p>
<a class="boutonbas" href="http://www.leves.fr/slider-homepage" title="En savoir plus">
En savoir plus
</a>
</div>
</div>
</div>
<?php
endwhile;
endif;
wp_reset_postdata();
?>
</div>
<?php get_footer(); ?>