-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
80 lines (76 loc) · 3.25 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
<?php
include("header.php");
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-giJF6kkoqNQ00vy+HMDP7azOuL0xtbfIcaT9wjKHr8RbDVddVHyTfAAsrekwKmP1" crossorigin="anonymous">
<title>Index</title>
</head>
<body>
<?php
?>
<div class="container" style="margin-top:3%;">
<div class="row">
<div class="col-lg-3">
<form action="manage_cart.php" method="POST">
<div class="card" style="text-align:center;">
<img src="images/1.jpeg" class="card-img-top">
<div class="card-body">
<h5 class="card-title">Bag 1</h5>
<p class="card-text">Price: Rs 450</p>
<button type="submit" class="btn btn-success" name="Add_To_Cart">Add To Cart</button>
<input type="hidden" name="Item_Name" value="Bag 1">
<input type="hidden" name="Price" value="450">
</div>
</div>
</form>
</div>
<div class="col-lg-3">
<form action="manage_cart.php" method="POST">
<div class="card" style="text-align:center;">
<img src="images/2.jpeg" class="card-img-top">
<div class="card-body">
<h5 class="card-title">Bag 2</h5>
<p class="card-text">Price: Rs 650</p>
<button type="submit" class="btn btn-success" name="Add_To_Cart">Add To Cart</button>
<input type="hidden" name="Item_Name" value="Bag 2">
<input type="hidden" name="Price" value="650">
</div>
</div>
</form>
</div>
<div class="col-lg-3">
<form action="manage_cart.php" method="POST">
<div class="card" style="text-align:center;">
<img src="images/3.jpeg" class="card-img-top">
<div class="card-body">
<h5 class="card-title">Bag 3</h5>
<p class="card-text">Price: Rs 750</p>
<button type="submit" class="btn btn-success" name="Add_To_Cart">Add To Cart</button>
<input type="hidden" name="Item_Name" value="Bag 3">
<input type="hidden" name="Price" value="750">
</div>
</div>
</form>
</div>
<div class="col-lg-3">
<form action="manage_cart.php" method="POST">
<div class="card" style="text-align:center;">
<img src="images/4.jpeg" class="card-img-top">
<div class="card-body">
<h5 class="card-title">Bag 4</h5>
<p class="card-text">Price: Rs 950</p>
<button type="submit" class="btn btn-success" name="Add_To_Cart">Add To Cart</button>
<input type="hidden" name="Item_Name" value="Bag 4">
<input type="hidden" name="Price" value="950">
</div>
</div>
</form>
</div>
</div>
</div>
</body>
</html>