-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathshop.php
More file actions
112 lines (107 loc) · 4.79 KB
/
shop.php
File metadata and controls
112 lines (107 loc) · 4.79 KB
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
<?php
session_start(); /* creates a session or resumes the current one*/
include("connection.php"); /* for including the php file in this page itself*/
include("functions.php");
$user_data=check_login($con); /* function to check if the user is logged in */
// now $user_data will contain all the info of the user
?>
<!DOCTYPE html>
<html>
<head>
<title>Shop!</title>
<meta name="description" content="This is the description">
<link rel="stylesheet" href="./css/shop.css" />
<script src="./js/main.js" async></script>
</head>
<body>
<header>
<div class="main">
<ul>
<li class="active"><a href="shop.php">Shop</a></li>
<li><a href="index.html">Home</a></li>
<li><a href="login.php">Login</a></li>
<li><a href="sign-up.php">Signup</a></li>
<li><a href="about.html">About</a></li>
</ul>
</div>
</nav>
<h1 class="band-name band-name-large">SPORTS</h1>
</header>
<section class="container content-section">
<h2 class="section-header">SHOES</h2>
<div class="shop-items">
<div class="shop-item">
<span class="shop-item-title">Adiddas</span>
<img class="shop-item-image" src="./img/addidas1.jpeg">
<div class="shop-item-details">
<span class="shop-item-price">Rs.1199</span>
<button class="btn btn-primary shop-item-button" type="button">ADD TO CART</button>
</div>
</div>
<div class="shop-item">
<span class="shop-item-title">Nike</span>
<img class="shop-item-image" src="./img/nike1.jpeg">
<div class="shop-item-details">
<span class="shop-item-price">Rs.1499</span>
<button class="btn btn-primary shop-item-button"type="button">ADD TO CART</button>
</div>
</div>
<div class="shop-item">
<span class="shop-item-title">UCB</span>
<img class="shop-item-image" src="./img/ucb1.jpeg">
<div class="shop-item-details">
<span class="shop-item-price">Rs.1999</span>
<button class="btn btn-primary shop-item-button" type="button">ADD TO CART</button>
</div>
</div>
<div class="shop-item">
<span class="shop-item-title">Air jordan</span>
<img class="shop-item-image" src="./img/air_jordan.jpeg">
<div class="shop-item-details">
<span class="shop-item-price">Rs.4999</span>
<button class="btn btn-primary shop-item-button" type="button">ADD TO CART</button>
</div>
</div>
</div>
</section>
<section class="container content-section">
<h2 class="section-header">CLOTHING</h2>
<div class="shop-items">
<div class="shop-item">
<span class="shop-item-title">T-Shirt</span>
<img class="shop-item-image" src="./img/t-shirt1.jpeg">
<div class="shop-item-details">
<span class="shop-item-price">Rs.399</span>
<button class="btn btn-primary shop-item-button" type="button">ADD TO CART</button>
</div>
</div>
<div class="shop-item">
<span class="shop-item-title">Track Pants</span>
<img class="shop-item-image" src="./img/track-pants.jpeg">
<div class="shop-item-details">
<span class="shop-item-price">Rs.599</span>
<button class="btn btn-primary shop-item-button" type="button">ADD TO CART</button>
</div>
</div>
</div>
</section>
<section class="container content-section">
<h2 class="section-header">CART</h2>
<div class="cart-row">
<span class="cart-item cart-header cart-column">ITEM</span>
<span class="cart-price cart-header cart-column">PRICE</span>
<span class="cart-quantity cart-header cart-column">QUANTITY</span>
</div>
<div class="cart-items">
</div>
<div class="cart-total">
<strong class="cart-total-title">Total</strong>
<span class="cart-total-price">Rs.0</span>
</div>
<button class="btn btn-primary btn-purchase" type="button">PURCHASE</button>
</li>
</ul>
</div>
</footer>
</body>
</html>