-
Notifications
You must be signed in to change notification settings - Fork 2
/
profile.php
196 lines (173 loc) · 6.56 KB
/
profile.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
191
192
193
194
195
196
<?php
session_start();
if(!isset($_SESSION['uid'])){
header('Location:index.php');
}
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Ceramika</title>
<link rel="stylesheet" type="text/css" href="assets/slick.css"/>
<link rel="stylesheet" type="text/css" href="assets/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">
<link rel="icon" type="image/png" href="assets/images/fav.png">
</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">Ceramika</a>
</div>
<ul class="nav navbar-nav">
<li style="width:300px;left:10px;top:10px;"><input type="text" class="form-control" id="search" name="" placeholder="Search here.."></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 id="carticon" href="#" class="dropdown-toggle" data-toggle="dropdown"><span class="glyphicon glyphicon-shopping-cart"></span>Cart <span class="badge">2</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"><strong>S. No.</strong></div>
<div class="col-md-3"><strong>Product Image</strong></div>
<div class="col-md-3"><strong>Product Name</strong></div>
<div class="col-md-3"><strong>Price in ₹</strong></div>
</div>
<hr>
<div id="cartmenu">
<!--<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>
<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>Hello, <?php echo $_SESSION['uname']; ?></a>
<ul class="dropdown-menu">
<li><a href="cart.php"><span class="glyphicon glyphicon-shopping-cart-large"></span> Cart</a></li>
<li><a href="change_password.php">Change Password</a></li>
<li><a href="order-history.php">Order History</a></li>
<li><a href="logout.php">Logout</a></li>
</ul>
</li>
</ul>
</div>
</div>
<br><br><br><br><br><br>
<!-- Slider Begins -->
<div class="one-time">
<div><img src="assets/images/slider1.jpg"></div>
<div><img src="assets/images/slider2.jpg"></div>
<div><img src="assets/images/slider3.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" style="display: none;"></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">© 2019</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>
<?php
if(isset($_SESSION['succ']) && $_SESSION['succ'] != '')
{
echo '<script type="text/javascript">alert("'.$_SESSION['succ'].'");</script>';
$_SESSION['succ'] = '';
}
if(isset($_SESSION['fail']) && $_SESSION['fail'] != '')
{
echo '<script type="text/javascript">alert("'.$_SESSION['fail'].'");</script>';
$_SESSION['fail'] = '';
}
?>
<script src="assets/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="assets/slick.min.js"></script>
<script src="assets/bootstrap-3.3.6-dist/js/bootstrap.min.js"></script>
<script src="main.js"></script>
</body>
<div class="foot"><footer>
<p> Brought To You By <a href="http://www.gecbh.cteguj.in/" target="_blank">GEC Bhavnagar</a></p>
</footer></div>
<style> .foot{text-align: center;}
</style>
</html>