-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
190 lines (163 loc) · 4.83 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
<?php
include 'dbconn.php';
include 'womenuploadscript.php';
include 'bannerscript.php';
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="shortcut icon" href="favico.ico" type="image/x-icon">
<link rel="apple-touch-icon" href="favico.ico">
<link rel="stylesheet" href="css/main.css">
<title>The Wenongs Bridal Closet</title>
</head>
<body>
<!--ANALYTICS-->
<?php include_once("analyticstracking.php") ?>
<!--/ANALYTICS-->
<main id="bot">
<header class="title">
<div class="head">
<h1>THE<span class="fashion">WENONGS</span><sup>™</sup>
<span class="tag">Bridal Closet</span>
</h1>
<div class="admin">
<a href="login.php">ADMIN </a>
</div>
</div>
<nav class="nav-wrapper">
<ul>
<li class="active"><a href="#">Women </a></li>
<li><a href="men.php">Men </a></li>
<li><a href="children.php">Children</a></li>
</ul>
</nav>
</header>
<!--BANNER/ADVERTISEMENT-->
<div class="banner">
<!--FETCHING IMAGES FROM DATABSE-->
<?php
$records = mysqli_query($conn, "select * from bannerupdate ");
while ($data = mysqli_fetch_array($records)) {
?>
<!--FETCHING IMAGES FROM DB-->
<img src="<?php echo $data['images']; ?>" loading="lazy">
<!--closing php tag-->
<?php } ?>
<!--closing php tag-->
</div>
<div class="categories">
<div class="category">
<div class="cat-img">
<a href="shoes.php">
<img src="shoe.jpg" alt="Shoes">
</a>
</div>
<p>Shoes</p>
</div>
<div class="category">
<div class="cat-img">
<a href="bags.php">
<img src="bag.jpg" alt="bags">
</a>
</div>
<p>Bags</p>
</div>
<div class="category">
<div class="cat-img">
<a href="decor.php">
<img src="decor.jpg" alt="home">
</a>
</div>
<p>Decor</p>
</div>
</div>
<div class="catalogue">
<h2>Available Products</h2>
<div class="showcase-imgs">
<!--FETCHING IMAGES FROM DATABSE-->
<?php
$records = mysqli_query($conn, "select * from women order by `addedon` DESC ");
while ($data = mysqli_fetch_array($records)) {
?>
<!--FETCHING IMAGES FROM DB-->
<div class="product">
<div class="product-img">
<img src="<?php echo $data['images']; ?>" loading="lazy">
</div>
<div class=" price">FCFA <span>
<?php echo $data['price']; ?>
</span>
</div>
<div class="contact">
<div class="phone-number">
<a href="tel:237698309841"><img src="fon.png" alt="call" width="100px"></a>
</div>
<div class="whatsapp">
<a href="https://wa.me/237698309841?text=Hi!%20I'm%20interested%20in%20a%20product%20on%20your%20website%20NAME%20of%20PRODUCT%20::%20(%20
<?php echo $data['name']; ?>%20)">
<img src="wa.png" alt="whatsapp" width="100px"></a>
</div>
</div>
</div>
<!--closing php tag-->
<?php } ?>
<!--closing php tag-->
<!--close tags for catalogue and showcase-->
</div>
</div>
<!--close tags for catalogue and showcase-->
<!--NOTIFICATION CONTAINER-->
<div class="notify" id="notification">
<div class=" notification-text">
Can't Find What you are looking for?. Give us a call or text and we will get it for you.
<div class="contact">
<div class="phone-number">
<a href="tel:237698309841"><img src="fon.png" alt="call" width="100px"></a>
</div>
<div class="whatsapp">
<a href="https://wa.me/237698309841?text=Hi!%20I%20can'tc%20find%20what%20i%20want%20on%20your%20website.">
<img src="wa.png" alt="whatsapp" width="100px"></a>
</div>
</div>
</div>
</div>
<!--to top container-->
<div class="top">
<div class="top-img">
<a href="#bot"><img src="totop.png" alt="totop"></a>
</div>
</div>
<!--PAGINATION-->
<!--END OF PAGINATION-->
<div class="bottom-bar">
<div class="floating-nav">
<div class="tab">
<a href="#"><img src="home.png" alt="home-btn"></a>
<p class="active">Home</p>
</div>
<div class="tab">
<h1>The<Span class="fas">Wenongs</Span></h1>
</div>
<div class="tab">
<img src="menu.png" alt="menu-btn" id="cat">
<p>Category</p>
<div class="items" id="items">
<ul>
<li><a href="decor.php">Decor</a></li>
<li><a href="men.php">Men</a></li>
<li><a href="children.php">Children</a></li>
<li><a href="shoes.php">Shoes</a></li>
<li><a href="bags.php">Bags</a></li>
</ul>
</div>
</div>
</div>
</div>
</main>
<script src="main.js"></script>
</body>
</html>