-
Notifications
You must be signed in to change notification settings - Fork 0
/
home.php
107 lines (98 loc) · 4.36 KB
/
home.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
<!DOCTYPE html>
<!--
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
-->
<?php
require 'includes/common.php';
?>
<html>
<head>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<link rel="stylesheet" type="text/css" href="styling.css">
<meta charset="UTF-8">
<title>E-Store</title>
</head>
<body>
<div class="wrapper">
<?php
include 'includes/header.php';
include 'includes/check-if-added.php';
include 'includes/add_to_cart.php';;
?>
<div class="container">
<div class="jumbotron">
<h1>Welcome to the E-Store</h1>
<p>
We have the Best electronics. Best Brands.
Cheapest Prices. Everything at one place.
</p>
</div>
</div>
<div class="container" style="text-align: center">
<div class="row">
<div class="col-md-4 col-sm-6 thumbnail">
<img src="img/apple11.jpg" alt="Apple 11">
<h3>Apple iPhone 11(64GB)</h3>
<p>Price:Rs. 63,000.00</p>
<?php
add_to_cart_button(1);
?>
</div>
<div class="col-md-4 col-sm-6 thumbnail">
<img src="img/applexr.jpg" style="max-width: 71%" alt="iPhone XR">
<h3>Apple iPhone XR(64GB)</h3>
<p>Price:Rs. 53,000.00</p>
<?php
add_to_cart_button(2);
?>
</div>
<div class="col-md-4 col-sm-6 thumbnail">
<img src="img/oppof11.jpg" style=" padding-top: 8%; padding-bottom: 7%;max-width: 85%" alt="Oppo F11">
<h3>Oppo F11</h3>
<p>Price:Rs. 15,000.00</p>
<?php
add_to_cart_button(3);
?>
</div>
</div>
</div>
<div class="container" style="text-align: center">
<div class="row">
<div class="col-md-4 col-sm-6 thumbnail">
<img src="img/panasonic.jpg" style="max-width: 60%" alt="Panasonic Eluga">
<h3>Panasonic Eluga Ray 810</h3>
<p>Price:Rs. 20,000.00</p>
<?php
add_to_cart_button(4);
?>
</div>
<div class="col-md-4 col-sm-6 thumbnail">
<img src="img/redminote8.jpg" style="margin-bottom: -4%" alt="Watch1">
<h3>Redmi Note 8 Pro</h3>
<p>Price:Rs. 16,000.00</p>
<?php
add_to_cart_button(5);
?>
</div>
<div class="col-md-4 col-sm-6 thumbnail">
<img src="img/samsung.jpg" style="max-width: 48%" alt="Watch1">
<h3>Samsung Galaxy M21</h3>
<p>Price:Rs. 14,000.00</p>
<?php
add_to_cart_button(6);
?>
</div>
</div>
</div>
</div>
<div style="padding-top: 7%; position: relative">
<?php
include 'includes/footer.php';
?>
</div>
</body>
</html>