-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex2.php
124 lines (118 loc) · 5.21 KB
/
index2.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
<?php include './conn/conn.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">
<title>Document</title>
<?php include './includes/header.php' ?>
</head>
<body>
<div class="top-header bg-light d-lg-block d-none">
<div class="container d-flex py-2">
<p class="my-1"><i class="bx bx-phone"></i> Call us: 0965 753 4909</p>
<p class="my-1 ms-auto">Open hour: 8:00 am - 5:00 pm</p>
</div>
</div>
<div class="secondary-header">
<div class="container d-flex py-3">
<p class="my-1 d-none d-lg-block"><i class="bx bx-sm bxs-envelope"></i> [email protected]</p>
<img class="logo ms-auto me-auto" src="assets/images/logo1.png" alt="">
<div class="">
<ul class="nav align-items-center">
<!-- <li class="nav-item">
<a href="#" class="nav-link">
<i class="bx bx-sm text-dark bxs-shopping-bag"></i>
</a>
</li> -->
<li class="nav-item">
<!-- <a href="logout.php" class="btn btn-sm btn-orange rounded-pill text-white px-4">
Log out
</a> -->
<a href="login.php" class="btn btn-sm btn-orange rounded-pill text-white px-3 mb-2">
Log in
</a>
</li>
<li class="nav-item">
<a href="signup.php" class="btn btn-sm btn-yellow rounded-pill text-white px-3 mb-2">
Sign up
</a>
</li>
</ul>
</div>
</div>
</div>
<div class="main-navbar navbar bg-yellow navbar-expand-lg">
<div class="container align-items-center">
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav me-auto mb-2 mb-lg-0">
<li class="nav-item active">
<a href="#" class="nav-link link-light">HOME</a>
</li>
<li class="nav-item">
<a href="#" class="nav-link link-light">PRODUCTS</a>
</li>
<li class="nav-item">
<a href="#" class="nav-link link-light">CART</a>
</li>
<li class="nav-item">
<a href="#" class="nav-link link-light">STATUS</a>
</li>
<li class="nav-item">
<a href="#" class="nav-link link-light">CONTACT</a>
</li>
<li class="nav-item">
<a href="#" class="nav-link link-light">ABOUT</a>
</li>
</ul>
</div>
<div class="ms-auto">
<input type="text" placeholder="Search" class="px-3 search-input form-control form-control-sm rounded-pill">
</div>
</div>
</div>
<main class="main">
<section class="hero-main">
<div class="container">
<div class="row mt-5 align-items-center">
<div class="col-md">
<h1 class="text-yellow hero-text mb-2">Party Jungle</h1>
<h1 class="text-orange mb-4 hero-text">Party Needs & Toys</h1>
<h3 class="mt-5">We offer retail and wholesale of super affordable party needs, toys, ride on cars.</h3>
<a href="#" class="btn btn-primary px-5 py-2 mt-4 rounded-pill">SHOP NOW</a>
</div>
<div class="col-md-4">
<img src="./assets/images/ban_img1.png" class="img-fluid" alt="">
</div>
</div>
</div>
</section>
<section class="categories-container mt-4">
<div class="row gx-0">
<?php
$query = mysqli_query($con, "SELECT * FROM categories");
$i = 1;
while ($row = $query->fetch_assoc()) {
?>
<div class="col text-center">
<div class="card border-0 rounded-0 <?php echo $i % 2 == 0 ? "bg-yellow" : "bg-orange" ?>">
<div class="card-body">
<p class="text-light my-1">
<?php echo $row['category_name'] ?>
</p>
</div>
</div>
</div>
<?php
$i++;
}
?>
</div>
</section>
</main>
</body>
</html>