-
Notifications
You must be signed in to change notification settings - Fork 0
/
all_product.php
164 lines (108 loc) · 4.79 KB
/
all_product.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
<?php
session_start();
include_once("admin/class/adminback.php");
$obj = new adminback();
$cata_info = $obj->p_display_catagory();
$cataDatas = array();
while ($data = mysqli_fetch_assoc($cata_info)) {
$cataDatas[] = $data;
}
$pdt_info = $obj->view_all_product();
$pdt_datas = array();
while($pdt_ftecth = mysqli_fetch_assoc($pdt_info)){
$pdt_datas[] = $pdt_ftecth;
}
?>
<?php
include_once("includes/head.php");
?>
<body class="biolife-body">
<!-- Preloader -->
<?php
include_once("includes/preloader.php");
?>
<!-- HEADER -->
<header id="header" class="header-area style-01 layout-03">
<?php
include_once("includes/header_top.php");
?>
<?php
include_once("includes/header_middle.php");
?>
<?php
include_once("includes/header_bottom.php");
?>
</header>
<!-- Page Contain -->
<div class="page-contain">
<!-- Main content -->
<div id="main-content" class="main-content">
<!--Hero Section-->
<!--Navigation section-->
<!-- Product -->
<div class="container">
<div class="product-category grid-style">
<div class="row">
<ul class="products-list">
<?php
foreach ($pdt_datas as $pdt_data) {
?>
<li class="product-item col-lg-3 col-md-3 col-sm-4 col-xs-6">
<div class="contain-product layout-default">
<div class="product-thumb">
<a href="single_product.php?status=singleproduct&&id=<?php echo $pdt_data['pdt_id'] ?>" class="link-to-product">
<img src="admin/uploads/<?php echo $pdt_data['pdt_img'] ?>" alt="dd" width="270" height="270" class="product-thumnail">
</a>
</div>
<div class="info">
<b class="categories"> <?php echo $pdt_data['ctg_name'] ?> </b>
<h4 class="product-title"><a href="single_product.php?status=singleproduct&&id=<?php echo $pdt_data['pdt_id'] ?>" class="pr-name"><?php echo $pdt_data['pdt_name'] ?></a></h4>
<div class="price">
<ins><span class="price-amount"><span class="currencySymbol">Tk. </span><?php echo $pdt_data['pdt_price'] ?></span></ins>
</div>
<div class="shipping-info">
<p class="shipping-day">3-Day Shipping</p>
<p class="for-today">Pree Pickup Today</p>
</div>
<div class="slide-down-box">
<p class="message">All products are carefully selected to ensure food safety.</p>
</div>
</div>
</div>
</li>
<?php } ?>
</ul>
</div>
<!-- Pagination block -->
<div class="biolife-panigations-block">
<ul class="panigation-contain">
<li><span class="current-page">1</span></li>
<li><a href="#" class="link-page">2</a></li>
<li><a href="#" class="link-page">3</a></li>
<li><span class="sep">....</span></li>
<li><a href="#" class="link-page">20</a></li>
<li><a href="#" class="link-page next"><i class="fa fa-angle-right" aria-hidden="true"></i></a></li>
</ul>
</div>
</div>
</div>
</div>
</div>
<!-- FOOTER -->
<?php
include_once("includes/footer.php");
?>
<!--Footer For Mobile-->
<?php
include_once("includes/mobile_footer.php");
?>
<?php
include_once("includes/mobile_global.php")
?>
<!-- Scroll Top Button -->
<a class="btn-scroll-top"><i class="biolife-icon icon-left-arrow"></i></a>
<?php
include_once("includes/script.php")
?>
</body>
</html>