-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.php
More file actions
136 lines (133 loc) · 5.47 KB
/
Copy pathindex.php
File metadata and controls
136 lines (133 loc) · 5.47 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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
<?php
include 'includes/navigation_bar.php';
?>
<!-- Home Body Here -->
<div class="container-fluid home_page">
<div class="row home_slider">
<?php
$sql = mysqli_query($con,"SELECT * FROM banner where status = '1'");
while($row = mysqli_fetch_assoc($sql)){
?>
<a href="<?php echo WEBSITE_PATH; ?>shop"><div class="home_banner">
<img src="<?php echo SITE_BANNER_IMAGE.$row['image'] ?>" class="img-fluid" alt="">
</div></a>
<?php } ?>
</div>
</div>
<div class="container-fluid product_view">
<div class="row" id="recent_home">
<?php
$sql_p = mysqli_query($con,"SELECT * FROM product where status = '1' order by id desc");
while($row_p=mysqli_fetch_assoc($sql_p)){
?>
<div class="recent_body">
<img src="<?php echo SITE_PRODUCT_IMAGE.$row_p['image'] ?>" alt="">
<div class="product_desc">
<h3><?php echo $row_p['product'];?></h3>
<?php
$row_p=$row_p['id'];
$attei_sql = mysqli_query($con,"SELECT * FROM product_detailes WHERE product_id ='$row_p'");
while($row_price=mysqli_fetch_assoc($attei_sql)){
?>
<h4>₹ <?php echo $row_price['price'];?> <span> for <?php echo $row_price['attribute'];?></span></h4>
<?php } ?>
<ul class="d-flex">
<li>
<i class="fa fa-star" aria-hidden="true"></i>
</li>
<li>
<i class="fa fa-star" aria-hidden="true"></i>
</li>
<li>
<i class="fa fa-star" aria-hidden="true"></i>
</li>
<li>
<i class="fa fa-star" aria-hidden="true"></i>
</li>
</ul>
<a href="<?php echo WEBSITE_PATH; ?>shop"><button class="btn">Shop Now</button></a>
</div>
</div>
<?php } ?>
</div>
</div>
<!-- Services Section -->
<div class="container-fliud services">
<div class="row heading">
<div class="col-xl-12">
<h2 class="text-white pb-2">Our Services</h2>
</div>
</div>
<div class="row">
<div class="col-xl-3 text-center">
<i class="fa fa-truck" aria-hidden="true"></i>
<h3>Home Delivery</h3>
<p>With sites in 5 languages, we ship to over 200
countries & regions.</p>
</div>
<div class="col-xl-3 text-center">
<i class="fa fa-money" aria-hidden="true"></i>
<h3>Cash On Delivery</h3>
<p>Pay with the world’s most popular and secure
payment methods.</p>
</div>
<div class="col-xl-3 text-center">
<i class="fa fa-check-circle" aria-hidden="true"></i>
<h3>Shop with Confidence</h3>
<p>Our Buyer Protection covers your purchase
from click to delivery.</p>
</div>
<div class="col-xl-3 text-center">
<i class="fa fa-gavel" aria-hidden="true"></i>
<h3>Return Policy</h3>
<p>Return Your Product In 30 Dayes</p>
</div>
</div>
</div>
<!-- Services Section -->
<!-- Contat Us -->
<div class="container-fluid contact mt-3">
<div class="row heading">
<div class="col-xl-12">
<h2>Get in Touch</h2>
<p>CONTACT INFORMATION</p>
</div>
</div>
<div class="row form-body">
<div class="col-xl-4">
<div class="contact-body">
<div class="contact-icon">
<i class="fa fa-map-marker" aria-hidden="true"></i>
</div>
<div class="contact-info">
<p>155 Main Street, 17B, Brooklyn, NY</p>
</div>
</div>
</div>
<div class="col-xl-4">
<div class="contact-body">
<div class="contact-icon">
<i class="fa fa-phone" aria-hidden="true"></i>
</div>
<div class="contact-info">
<p>800-123-4567</p>
</div>
</div>
</div>
<div class="col-xl-4">
<div class="contact-body">
<div class="contact-icon">
<i class="fa fa-envelope-o" aria-hidden="true"></i>
</div>
<div class="contact-info">
<p>example@sitename.com</p>
</div>
</div>
</div>
</div>
</div>
<!--X- Contact Page -X-->
<!-- Home Body Here -->
<?php
include 'includes/footer.php';
?>