-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
executable file
·195 lines (179 loc) · 6.91 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
<?php
try{
$bdd = new PDO('mysql:host=localhost;dbname=met_fey','root','fasil');
}catch(Exception $e){
die("Erreur Index ".$e->getMessage());
}
$req_artisans = $bdd->query("SELECT * FROM artisans")->fetchAll();
$req_artistes = $bdd->query("SELECT * FROM artiste")->fetchAll();
?>
<!DOCTYPE html>
<html lang="en" class=" js csstransforms3d js csstransforms3d js csstransforms3d">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>BiLa</title>
<meta name="description" content="Multi-Level Push Menu: Off-screen navigation with multiple levels">
<meta name="keywords" content="multi-level, menu, navigation, off-canvas, off-screen, mobile, levels, nested, transform">
<meta name="author" content="Codrops">
<link rel="shortcut icon" href="../favicon.ico">
<link rel="stylesheet" type="text/css" href="css/normalize.css">
<link rel="stylesheet" type="text/css" href="css/demo.css">
<link rel="stylesheet" type="text/css" href="css/icons.css">
<link rel="stylesheet" type="text/css" href="css/component.css">
<link rel="stylesheet" type="text/css" href="css/vetStyle.css">
<script src="js/modernizr.custom.js"></script>
<style id="style-1-cropbar-clipper">
.en-markup-crop-options {
top: 18px !important;
left: 50% !important;
margin-left: -100px !important;
width: 200px !important;
border: 2px rgba(255,255,255,.38) solid !important;
border-radius: 4px !important;
}
.en-markup-crop-options div div:first-of-type {
margin-left: 0px !important;
}
</style>
</head>
<body>
<div class="container">
<!-- Push Wrapper -->
<div class="mp-pusher" id="mp-pusher" style="transform: translate3d(0px, 0px, 0px);">
<!-- mp-menu -->
<nav id="mp-menu" class="mp-menu mp-overlap">
<div class="mp-level the_level" data-level="1">
<h2 class="icon icon-world">Galeries</h2>
<ul>
<li class="icon icon-arrow-left">
<a class="icon icon-display" href="#">Artisans</a>
<div class="mp-level the_level" data-level="2">
<h2 class="icon icon-display">Artisans</h2>
<ul>
<?php
foreach ($req_artisans as $val) {
?>
<li class="icon icon-arrow-left">
<a class="icon icon-phone" href="#"><?php echo $val ['activity'];?></a>
<div class="mp-level the_level" data-level="3" style="">
<h2><?php echo $val ['activity'];?></h2>
<ul>
<?php
foreach ($req_artistes as $arts) {
if($arts['artType']===$val['id']){
?>
<li><a href="./descArtis.php?art_id=<?php echo $arts['id'];?>"><?php echo $arts['prenom']." ".$arts['nom'];?></a></li>
<?php
}
}
?>
</ul>
</div>
</li>
<?php
}
?>
</ul>
</div>
</li>
<li class="icon icon-arrow-left">
<a class="icon icon-video" href="#">Kita Nago</a>
<div class="mp-level the_level" data-level="2" style="transform: translate3d(-100%, 0px, 0px) translate3d(-80px, 0px, 0px);">
<h2 class="icon icon-news">Kita Nago</h2>
<ul>
<li><a href="#">Images</a></li>
<li><a href="#">Videos</a></li>
<li><a href="#">Articles</a></li>
</ul>
</div>
</li>
<li class="icon icon-arrow-left">
<a class="icon icon-shop" href="#">Marche</a>
<div class="mp-level the_level" data-level="2" style="transform: translate3d(-100%, 0px, 0px) translate3d(-80px, 0px, 0px);">
<h2 class="icon icon-shop">Marche</h2>
<ul>
<li class="icon icon-arrow-left">
<a class="icon icon-t-shirt" href="#">Habits</a>
<div class="mp-level the_level" data-level="3" style="transform: translate3d(-100%, 0px, 0px) translate3d(-80px, 0px, 0px);">
<h2 class="icon icon-t-shirt">Habits</h2>
<ul>
<li class="icon icon-arrow-left">
<a class="icon icon-female" href="#">Femmes</a>
<div class="mp-level the_level" data-level="4" style="transform: translate3d(-100%, 0px, 0px) translate3d(-80px, 0px, 0px);">
<h2>Femmes</h2>
<ul>
<li><a href="#">Corsages</a></li>
<li><a href="#">Robes</a></li>
<li><a href="#">Bourses</a></li>
<li><a href="#">Souliers</a></li>
<li><a href="#">Sandales</a></li>
</ul>
</div>
</li>
<li class="icon icon-arrow-left">
<a class="icon icon-male" href="#">Hommes</a>
<div class="mp-level the_level" data-level="4" style="transform: translate3d(-100%, 0px, 0px) translate3d(-80px, 0px, 0px);">
<h2>Hommes</h2>
<ul>
<li><a href="#">Maillots</a></li>
<li><a href="#">Chemises</a></li>
<li><a href="#">Souliers</a></li>
</ul>
</div>
</li>
</ul>
</div>
</li>
<li>
<a class="icon icon-diamond" href="#">Bijoux</a>
</li>
</ul>
</div>
</li>
</ul>
</div>
</nav>
<!-- /mp-menu -->
<div class="scroller"><!-- this is for emulating position fixed of the nav -->
<div class="scroller-inner">
<!-- Top Navigation -->
<header class="codrops-header">
<p style="float: left;">
<a href="#" id="trigger" class="menu-trigger"><strong>Menu</strong></a>
</p>
<div class="tetVet">
<h1>BiLa</h1>
<p>Bitasyon Lakay</p>
</div>
</header>
<section class="block block-40">
<div class="content clearfix">
<div class="block block-40 clearfix">
<nav class="codrops-demos">
<a href="./a_propos.php">A Propos</a>
<a href="#">Initiateur</a>
<a href="#">Contactez-nous</a>
</nav>
</div>
</div>
</section>
<section class="block block-60 vetImg">
<br /><br /><br /><br />
<img src="img/vet.jpg" />
</section>
<footer class="pied">
<p>Met Fey Vet 2015</p>
</footer>
</div><!-- /scroller-inner -->
</div><!-- /scroller -->
</div><!-- /pusher -->
</div><!-- /container -->
<script src="js/classie.js"></script>
<script src="js/mlpushmenu.js"></script>
<script>
new mlPushMenu( document.getElementById( 'mp-menu' ), document.getElementById( 'trigger' ) );
</script>
</body>
</html>