-
Notifications
You must be signed in to change notification settings - Fork 0
/
display.php
67 lines (64 loc) · 2.87 KB
/
display.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
<!-- Connect -->
<?php
include('Includes/connect.php');
include('Functions/common_function.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>All Products</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.6.0/css/all.min.css" integrity="sha512-Kc323vGBEqzTmouAECnVceyQqyqdsSiqLQISBL29aUW4U/M7pSPA/gEUZQqv1cwx4OnYxTxve5UMg5GT6L4JJg==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="container-fluid p-0">
<!-- Navbar -->
<?php include("./Includes/navbar.php")?>
<!-- Calling cart -->
<?php
cart();
?>
<!-- Welcome Dialogue -->
<?php include("./Includes/welcome.php")?>
<!-- Products and Categories -->
<div class="row px-1">
<!-- Categories -->
<div class="col-md-2 bg-secondary p-0">
<ul class="navbar-nav me-auto text-center">
<li class="nav-itme bg-warning">
<a class="nav-link" ><h4>Categories</h4></a>
</li>
<?php
getcategories();
?>
</ul>
</div>
<!-- Products -->
<div class="col md-10">
<div class="bg-light p-2 m-2">
<h3 class="text-center fw-bold">
eCommerce Project
</h3>
<p class="text-center">
Browser through all the dummy products
</p>
</div>
<div class="row">
<!-- Calling products -->
<?php
get_all_products();
getuniquecategories();
?>
</div>
</div>
</div>
<!-- Footer -->
<?php include("./Includes/footer.php")?>
</div>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz" crossorigin="anonymous"></script>
</body>
</html>