forked from alimakhdoom/WAD
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
120 lines (112 loc) · 4.63 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
<?php
include "server/functions.php";
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Tech Box</title>
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<link rel="stylesheet" href="css/bootstrap.css">
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.5.0/css/all.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Bangers|Old+Standard+TT">
</head>
<body>
<header class="container-fluid">
<div class="row">
<div class="col-12 no-padding">
<nav class="navbar navbar-light bg-light navbar-expand-sm fixed-top">
<a class="navbar-brand" href="index.php"><img src="media/logo.png" width="175" height="50" alt="logo">
</a>
<button class="navbar-toggler" type="button"
data-toggle="collapse"
data-target="#navbarToggler" aria-controls="navbarToggler" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse row" id="navbarToggler">
<div class="col-lg-8 offset-lg-1 col-md-8 col-sm-7">
<form class="form-inline">
<div class="input-group">
<input type="search" class="form-control"
id="search-bar" name="search"
placeholder="Find Mobile Phones, Laptops, and more..">
<div class="input-group-append">
<button class="btn btn-outline-secondary btn-lg" type="button"><i class="fas fa-search"></i></button>
</div>
</div>
</form>
</div>
<div class="col-lg-3 col-md-4 col-sm-5">
<ul class="navbar-nav mr-auto mt-2 mt-lg-0 float-sm-right">
<li class="nav-item active">
<a class="nav-link" href="index.php"><i class="fas fa-heart sc-color fa-2x"></i></a>
</li>
<li class="nav-item active">
<a class="nav-link" href="index.php"><i class="fas fa-shopping-cart sc-color fa-2x"></i></a>
</li>
<li class="nav-item active">
<a class="nav-link" href="index.php"> <span class="sc-fs">Login </span></a>
</li>
</ul>
</div>
</div>
</nav>
</div>
</div>
</header>
<div class="wrapper">
<!-- Sidebar -->
<nav id="sidebar" class="bg-light">
<ul class="list-unstyled components">
<li class="active">
<a href="#homeSubmenu" data-toggle="collapse" aria-expanded="true" class="dropdown-toggle nav-link">
<i class="fas fa-sitemap"></i>
Categories
</a>
<ul class="collapse show list-unstyled" id="homeSubmenu">
<?php getCat();?>
</ul>
</li>
<li class="active">
<a href="#pageSubmenu" data-toggle="collapse" aria-expanded="true" class="dropdown-toggle nav-link">
<i class="fas fa-briefcase"></i>
Brands
</a>
<ul class="collapse show list-unstyled" id="pageSubmenu">
<?php getBrand();?>
</ul>
</li>
<li>
<a class="nav-link" href="#">
<i class="fas fa-question"></i>
FAQ
</a>
</li>
<li>
<a class="nav-link" href="#">
<i class="fas fa-paper-plane"></i>
Contact
</a>
</li>
</ul>
</nav>
<article id="content" class="container-fluid bg-white">
<div class="row">
<div class="col">
Content
</div>
</div>
</article>
</div>
<footer class="container-fluid">
<div class="row">
<div class="col text-center">
© 2019 by Muhammad Ali Makhdoom
</div>
</div>
</footer>
<script src="js/jquery-3.3.1.js"></script>
<script src="js/bootstrap.bundle.js"></script>
</body>
</html>