-
Notifications
You must be signed in to change notification settings - Fork 13
/
index.php
176 lines (157 loc) · 5.93 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
<?php
session_start();
if(isset($_SESSION['uid'])){
header('location:profile.php');
}
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Amaclone</title>
<link rel="stylesheet" type="text/css" href="http://kenwheeler.github.io/slick/slick/slick.css"/>
<link rel="stylesheet" type="text/css" href="http://kenwheeler.github.io/slick/slick/slick-theme.css"/>
<link rel="stylesheet" type="text/css" href="assets/bootstrap-3.3.6-dist/css/bootstrap.css">
<link rel="stylesheet" type="text/css" href="styles.css">
</head>
<body>
<div class="navbar navbar-default navbar-fixed-top" id="topnav">
<div class="container-fluid">
<div class="navbar-header">
<a href="index.php" class="navbar-brand">Amaclone</a>
</div>
<ul class="nav navbar-nav">
<li style="width:300px;left:10px;top:10px;"><input type="text" class="form-control" id="search" name=""></li>
<li style="top:10px;left:20px;"><button class="btn btn-primary" id="search_btn" name=""><span class='glyphicon glyphicon-search'></span></button></li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li id='shoppingcart'><a href="#" class="dropdown-toggle" data-toggle="dropdown"><span class="glyphicon glyphicon-shopping-cart"></span>Cart <span class="badge">0</span> </a>
<div class="dropdown-menu" style="width: 400px;">
<div class="panel panel-success">
<div class="panel-heading">
<div class="row">
<div class="col-md-3">S. No.</div>
<div class="col-md-3">Product Image</div>
<div class="col-md-3">Product Name</div>
<div class="col-md-3">Price in $</div>
</div>
</div>
<div class="panel-body"></div>
<div class="panel-footer"></div>
</div>
</div>
</li>
<li><a href="#" class="dropdown-toggle" data-toggle="dropdown"><span class="glyphicon glyphicon-user"></span>Sign In</a>
<ul class="dropdown-menu">
<div style="width: 300px;">
<div class="panel panel-primary">
<div class="panel-heading">Login</div>
<div class="panel-heading">
<label for="email">Email</label>
<input type="email" class="login form-control" id="email">
<label for="email">Password</label>
<input type="password" class="login form-control" id="password">
<p><br></p>
<a href="#" style="color: white;list-style-type: none;">Forgot Password?</a>
<input type="submit" class="btn btn-success" style="float: right;bottom:12px;" id="login" value="Login" name="">
</div>
<div class="panel-footer" id="e_msg"></div>
</div>
</div>
</ul>
<li><a href="customer_registration.php">Sign Up</a></li>
</ul>
</div>
</div>
<br><br><br>
<!-- Slider Begins -->
<div class="one-time">
<div><img src="assets/images/car1.jpg"></div>
<div><img src="assets/images/car2.jpg"></div>
<div><img src="assets/images/car3.jpg"></div>
</div>
<!-- Slider ends -->
<br>
<div class="container-fluid">
<div class="row">
<div class="col-md-1"></div>
<div class="col-md-2">
<div id="get_cat"></div>
<!--<div class="nav nav-pills nav-stacked">
<li class="active"><a href="#"><h4>Categories</h4></a></li>
<li><a href="#">Categories</a></li>
<li><a href="#">Categories</a></li>
<li><a href="#">Categories</a></li>
<li><a href="#">Categories</a></li>
</div>-->
<div id="get_brand"></div>
<!--<div class="nav nav-pills nav-stacked">
<li class="active"><a href="#"><h4>Brands</h4></a></li>
<li><a href="#">Categories</a></li>
<li><a href="#">Categories</a></li>
<li><a href="#">Categories</a></li>
<li><a href="#">Categories</a></li>
</div>-->
</div>
<div class="col-md-8">
<div class="row">
<div class="col-md-12" id="cartmsg">
</div>
</div>
<div class="panel panel-info">
<div class="panel-heading text-center">--Featured Products--
<div class='pull-right'>
Sort: <a href="#" id='price_sort'>Price</a> | <a href="#" id='pop_sort'>Popularity</a>
</div>
</div>
<div class="panel-body">
<div id="get_product"></div>
<!--<div class="col-md-4">
<div class="panel panel-info">
<div class="panel-heading">Samsung Galaxy</div>
<div class="panel-body"><img src="assets/prod_images/samsung_galaxy.jpg"></div>
<div class="panel-heading">$500.00
<button class="btn btn-danger btn-xs" style="float:right;">Add to Cart</button>
</div>
</div>
</div>-->
</div>
<div class="panel-footer">© 2017</div>
</div>
</div>
<div class="col-md-1"></div>
</div>
<div class="row">
<div class="col-md-12">
<center>
<ul class='pagination' id='pageno'>
</ul>
</center>
</div>
<!-- Modal -->
<div class="modal fade" id="prod_detail" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
<h4 class="modal-title" id="myModalLabel">Product Details</h4>
</div>
<div class="modal-body" id='dynamic_content'>
...
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
<!-- Modal ends-->
</div>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<script type="text/javascript" src="//code.jquery.com/jquery-migrate-1.2.1.min.js"></script>
<script type="text/javascript" src="//cdn.jsdelivr.net/jquery.slick/1.6.0/slick.min.js"></script>
<script src="assets/bootstrap-3.3.6-dist/js/bootstrap.min.js"></script>
<script src="main.js"></script>
</body>
</html>