-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproduk.php
195 lines (162 loc) · 5.77 KB
/
produk.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
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
<?php
include 'koneksi.php';
$sql = "SELECT * FROM produk";
$result = mysqli_query($conn, $sql);
?>
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>B-mon Shop</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="Free HTML5 Template by FREEHTML5.CO" />
<meta name="keywords" content="free html5, free template, free bootstrap, html5, css3, mobile first, responsive" />
<meta name="author" content="FREEHTML5.CO" />
<!--
//////////////////////////////////////////////////////
FREE HTML5 TEMPLATE
DESIGNED & DEVELOPED by FREEHTML5.CO
Website: http://freehtml5.co/
Email: [email protected]
Twitter: http://twitter.com/fh5co
Facebook: https://www.facebook.com/fh5co
//////////////////////////////////////////////////////
-->
<!-- Facebook and Twitter integration -->
<meta property="og:title" content=""/>
<meta property="og:image" content=""/>
<meta property="og:url" content=""/>
<meta property="og:site_name" content=""/>
<meta property="og:description" content=""/>
<meta name="twitter:title" content="" />
<meta name="twitter:image" content="" />
<meta name="twitter:url" content="" />
<meta name="twitter:card" content="" />
<!-- Place favicon.ico and apple-touch-icon.png in the root directory -->
<link rel="shortcut icon" href="favicon.ico">
<link href="https://fonts.googleapis.com/css?family=Montez" rel="stylesheet">
<link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,300' rel='stylesheet' type='text/css'>
<!-- Animate.css -->
<link rel="stylesheet" href="css/animate.css">
<!-- Icomoon Icon Fonts-->
<link rel="stylesheet" href="css/icomoon.css">
<!-- Bootstrap -->
<link rel="stylesheet" href="css/bootstrap.css">
<!-- Superfish -->
<link rel="stylesheet" href="css/superfish.css">
<!-- Magnific Popup -->
<link rel="stylesheet" href="css/magnific-popup.css">
<link rel="stylesheet" href="css/style.css">
<link rel="shortcut icon" type="image/x-icon" href="images/b.png"/>
<!-- Modernizr JS -->
<script src="js/modernizr-2.6.2.min.js"></script>
<!-- FOR IE9 below -->
<!--[if lt IE 9]>
<script src="js/respond.min.js"></script>
<![endif]-->
</head>
<body>
<div id="fh5co-wrapper">
<div id="fh5co-page">
<div class="fh5co-hero" data-section="home">
<div class="fh5co-overlay"></div>
<div class="fh5co-cover text-center" data-stellar-background-ratio="0.5" style="background-image: url(images/2.jpg);">
<div class="display-t">
<div class="display-tc">
<div class="container">
<div class="col-md-10 col-md-offset-1">
<div class="animate-box">
<h1>B-mon Shop</h1>
<h2>Produk</h2>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<header id="fh5co-header-section" class="sticky-banner">
<div class="container">
<div class="nav-header">
<a href="#" class="js-fh5co-nav-toggle fh5co-nav-toggle dark"><i></i></a>
<h1 id="fh5co-logo"><a href="index.html">B-mon Shop</a></h1>
<!-- START #fh5co-menu-wrap -->
<nav id="fh5co-menu-wrap" role="navigation">
<ul class="sf-menu" id="fh5co-primary-menu">
<li><a href="index.php" >Home</a></li>
<li><a href="about.html">About</a></li>
<li class="active"><a href="produk.php">Product</a></li>
<li><a href="bukutamu.php">Contact Us</a></li>
<li><a href="login/index.php">Login</a></li>
</ul>
</nav>
</div>
</div>
</header>
<!-- end:header-top -->
<div id="fh5co-gallery">
<div class="container">
<div class="row">
<div class="col-md-8 col-md-offset-2 text-center heading-section animate-box">
<h2>Produk</h2>
</div>
</div>
<?php while($produk = mysqli_fetch_array($result)){
?>
<div class="col-md-3">
<div class="thumbnail">
<a href="admin/img/produk/<?= $produk['gambar_p']; ?>">
<img src="admin/img/produk/<?= $produk['gambar_p']; ?>" class="img-thumbnail">
</a>
<div class="caption">
<p><?= $produk['nama_p']; ?></p>
<p><b>Rp. <?= $produk['harga_p']; ?></b></p>
<a href="datadiri.php" class="btn btn-info btn-sm">
<span class="fa fa-plus"></span> Buy
</a>
<a href="lihatproduk.php?nama_p=<?= $produk['nama_p'];?>" class="btn btn-primary btn-sm">
<span class="fa fa-shopping-cart"></span> Details
</a>
</div>
</div>
</div>
<?php
}
?>
</div>
</div>
<footer>
<div id="footer">
<div class="container">
<div class="row">
<div class="col-md-12 text-center">
<h2>Erna Rosalina</h2>
</div>
<div class="col-md-6 col-md-offset-3 text-center">
<p class="fh5co-social-icons">
<a href="#"><i class="icon-twitter2"></i></a>
<a href="#"><i class="icon-facebook2"></i></a>
<a href="#"><i class="icon-instagram"></i></a>
<a href="#"><i class="icon-dribbble2"></i></a>
<a href="#"><i class="icon-youtube"></i></a>
</p>
<p>Copyright @ B-mon Shop <i class="icon-heart3"></i>. All Rights Reserved.</a></p>
</div>
</div>
</div>
</div>
</footer>
</div>
<!-- END fh5co-page -->
</div>
<!-- END fh5co-wrapper -->
<!-- Google Map -->
<script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyCefOgb1ZWqYtj7raVSmN4PL2WkTrc-KyA&sensor=false"></script>
<!-- jQuery -->
<script src="dist/scripts.min.js"></script>
</body>
</html>