-
Notifications
You must be signed in to change notification settings - Fork 0
/
confirm.php
419 lines (375 loc) · 13.9 KB
/
confirm.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
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
<?php
include_once("function/rupiah.php");
include_once("function/koneksi.php");
session_start();
$email = isset($_SESSION['email']) ? $_SESSION['email'] : false;
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<title>E-SHOP HTML Template</title>
<link href="js/jquery.colorpickersliders.css" rel="stylesheet" type="text/css" media="all">
<script src="css/jquery.colorpickersliders.js"></script>
<!-- Google font -->
<link href="https://fonts.googleapis.com/css?family=Hind:400,700" rel="stylesheet">
<!-- Bootstrap -->
<link type="text/css" rel="stylesheet" href="css/bootstrap.min.css" />
<!-- Slick -->
<link type="text/css" rel="stylesheet" href="css/slick.css" />
<link type="text/css" rel="stylesheet" href="css/slick-theme.css" />
<!-- nouislider -->
<link type="text/css" rel="stylesheet" href="css/nouislider.min.css" />
<!-- Font Awesome Icon -->
<link rel="stylesheet" href="css/font-awesome.min.css">
<!-- Custom stlylesheet -->
<link type="text/css" rel="stylesheet" href="css/style.css" />
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<!-- HEADER -->
<header>
<!-- header -->
<div id="header">
<div class="container">
<div class="pull-left">
<!-- Logo -->
<div class="header-logo">
<a class="logo" href="index.php">
<img src="./img/logo.jpg" alt="">
</a>
</div>
<!-- /Logo -->
<!-- Search -->
<div class="header-search">
<form action="products.php" method="GET">
<input class="input search-input" type="text" placeholder="Cari Barang" name="cari">
<button class="search-btn" value="cari"><i class="fa fa-search"></i></button>
</form>
</div>
<!-- /Search -->
</div>
<div class="pull-right">
<ul class="header-btns">
<!-- Account -->
<?php if($email)
{
?>
<li class="header-account">
<div class="dropdown-toggle" role="button" data-toggle="dropdown" aria-expanded="true">
<div class="header-btns-icon">
<i class="fa fa-user-o"></i>
</div>
<strong>Hai, <?php echo "$email";?> </strong>
</div>
<a href="function/logout.php" class="text-uppercase">Keluar</a>
<ul class="custom-menu">
<li><a href="login.php"><i class="fa fa-unlock-alt"></i> Masuk</a></li>
<li><a href="register.php"><i class="fa fa-user-plus"></i> Buat Akun</a></li>
</ul>
</li>
<?php
} else{
?>
<li class="header-account dropdown default-dropdown">
<div class="dropdown-toggle" role="button" data-toggle="dropdown" aria-expanded="true">
<div class="header-btns-icon">
<i class="fa fa-user-o"></i>
</div>
<strong class="text-uppercase">Akun Saya            <i class="fa fa-caret-down"></i></strong>
</div>
<a href="#" class="text-uppercase">Lupa Kata Sandi</a>
<ul class="custom-menu">
<li><a href="login.php"><i class="fa fa-unlock-alt"></i> Masuk</a></li>
<li><a href="register.php"><i class="fa fa-user-plus"></i> Buat Akun</a></li>
</ul>
</li>
<?php
}
?>
<!-- /Account -->
<!-- Cart -->
<li class="header-cart dropdown default-dropdown">
<a class="dropdown-toggle" data-toggle="dropdown" aria-expanded="true">
<div class="header-btns-icon">
<i class="fa fa-shopping-cart"></i>
<!-- <span class="qty">3</span> -->
</div>
<!-- <strong class="text-uppercase">My Cart:</strong> -->
<br>
</a>
<div class="custom-menu">
<div id="shopping-cart">
<div class="shopping-cart-btns">
<button class="main-btn"><a href="keranjang.php">Keranjang</a></button>
<button class="primary-btn">Checkout</button>
</div>
</div>
</div>
</li>
<!-- /Cart -->
<!-- /Cart -->
<!-- Mobile nav toggle-->
<li class="nav-toggle">
<button class="nav-toggle-btn main-btn icon-btn"><i class="fa fa-bars"></i></button>
</li>
<!-- / Mobile nav toggle -->
</ul>
</div>
</div>
<!-- header -->
</div>
<!-- container -->
</header>
<!-- /HEADER -->
<!-- NAVIGATION -->
<div id="navigation">
<!-- container -->
<div class="container">
<div id="responsive-nav">
<!-- category nav -->
<div class="category-nav show-on-click">
<span class="category-header">Kategori <i class="fa fa-list"></i></span>
<ul class="category-list">
<li class="dropdown side-dropdown">
<a class="dropdown-toggle" data-toggle="dropdown" aria-expanded="true">Sepatu Perempuan <i class="fa fa-angle-right"></i></a>
<div class="custom-menu">
<div class="row">
<div class="col-md-5">
<ul class="list-links">
<li>
<h3 class="list-links-title">Kategori Sepatu Perempuan</h3></li>
<li><a href="products.php?perempuan=true&formal=true">Sepatu Formal</a></li>
<li><a href="products.php?perempuan=true&kasual=true">Sepatu Kasual</a></li>
<li><a href="products.php?perempuan=true&sneaker=true">Sepatu Sneaker</a></li>
</ul>
</div>
<div class="row hidden-sm hidden-xs">
<div class="col-md-6">
<a class="banner banner-1" href="#">
<img src="./img/banner05.jpg" alt="">
<div class="banner-caption text-center">
<h2 class="white-color">NEW COLLECTION</h2>
<h3 class="white-color font-weak">HOT DEAL</h3>
</div>
</a>
</div>
</div>
</div>
</li>
<li class="dropdown side-dropdown">
<a class="dropdown-toggle" data-toggle="dropdown" aria-expanded="true">Sepatu Pria <i class="fa fa-angle-right"></i></a>
<div class="custom-menu">
<div class="row">
<div class="col-md-5">
<ul class="list-links">
<li>
<h3 class="list-links-title">Kategori Sepatu Pria</h3></li>
<li><a href="products.php?pria=true&formal=true">Sepatu Formal</a></li>
<li><a href="products.php?pria=true&kasual=true">Sepatu Kasual</a></li>
<li><a href="products.php?pria=true&sneaker=true">Sepatu Sneaker</a></li>
</ul>
</div>
<div class="row hidden-sm hidden-xs">
<div class="col-md-6">
<a class="banner banner-1" href="#">
<img src="./img/banner05.jpg" alt="">
<div class="banner-caption text-center">
<h2 class="white-color">NEW COLLECTION</h2>
<h3 class="white-color font-weak">HOT DEAL</h3>
</div>
</a>
</div>
</div>
</div>
</li>
<li class="dropdown side-dropdown">
<a class="dropdown-toggle" data-toggle="dropdown" aria-expanded="true">Custom Sepatu <i class="fa"></i></a>
</li>
<li class="dropdown side-dropdown">
<a class="dropdown-toggle" data-toggle="dropdown" aria-expanded="true">Perawatan Sepatu <i class="fa"></i></a>
</li>
</ul>
</div>
<!-- /category nav -->
<!-- menu nav -->
<div class="menu-nav">
<span class="menu-header">Menu <i class="fa fa-bars"></i></span>
<ul class="menu-list">
<li><a href="index.php">Beranda</a></li>
<li><a href="products.php">Shop</a></li>
</ul>
</div>
<!-- menu nav -->
</div>
</div>
<!-- /container -->
</div>
<!-- /NAVIGATION -->
<!-- BREADCRUMB -->
<div id="breadcrumb">
<div class="container">
<ul class="breadcrumb">
<li><a href="index.php">Beranda</a></li>
<li class="active">Konfirmasi</li>
</ul>
</div>
</div>
<!-- /BREADCRUMB -->
<!-- section -->
<div class="section">
<!-- container -->
<div class="container">
<!-- row -->
<div class="row">
<form class="clearfix" action="function/aksi_confirm.php" method="post">
<div class="col-md-12">
<div class="order-summary clearfix">
<!-- section -->
<div class="section">
<!-- container -->
<div class="container">
<!-- row -->
<div class="row">
<div class="col-md-12">
<div class="billing-details">
<div class="section-title">
<h3 class="title">Konfirmasi Pembayaran</h3>
</div>
<!-- <?php
$notif = isset($_GET['notif']) ? $_GET['notif'] : false;
if($notif == "numberNama"){
echo "<div class='alert alert-danger'>Nama Nasabah Harus Huruf Alphabet!</div>";
}
?> -->
<div class="form-group">
<input class="input" type="text" name="name" placeholder="Nama Nasabah" required>
</div>
<div class="form-group">
<input class="input" type="text" name="no_rek" placeholder="No Rekening" required>
</div>
<div class="form-group">
<select name="bank" class="input" >
<option value="bca">BCA</option>
<option value="bni">BNI</option>
<option value="mandiri">Mandiri</option>
</select>
</div>
<div class="form-group">
<input class="input" type="text" name="jumlah" placeholder="Jumlah Transfer, Contoh : 450000" required>
</div>
<div class="form-group">
<input class="input" type="text" name="no_transaksi" placeholder="Nomor Transaksi" required>
</div>
</div>
</div>
</div>
<!-- /row -->
</div>
<!-- /container -->
</div>
<!-- /section -->
<div class="pull-right">
<!-- <button class="primary-btn">Checkout</button> -->
<button type="submit" class="primary-btn">Submit</button>
</div>
</div>
</div>
</form>
</div>
<!-- /row -->
</div>
<!-- /container -->
</div>
<!-- /section -->
<!-- FOOTER -->
<footer id="footer" class="section section-grey">
<!-- container -->
<div class="container">
<!-- row -->
<div class="row">
<!-- footer widget -->
<div class="col-md-4 col-sm-6 col-xs-6">
<div class="footer">
<!-- footer logo -->
<div class="footer-logo">
<a class="logo" href="#">
<img src="./img/logo.jpg" alt="">
</a>
</div>
<!-- /footer logo -->
<p>Tempat beli sepatu terkini dan terbaru, serta perawatan sepatu nomor satu di Indonesia.</p>
<!-- footer social -->
<ul class="footer-social">
<li><a href="#"><i class="fa fa-facebook"></i></a></li>
<li><a href="#"><i class="fa fa-instagram"></i></a></li>
</ul>
<!-- /footer social -->
</div>
</div>
<!-- /footer widget -->
<div class="clearfix visible-sm visible-xs"></div>
<!-- footer widget -->
<div class="col-md-4 col-sm-6 col-xs-6">
<div class="footer">
<h3 class="footer-header">Customer Service</h3>
<ul class="list-links">
<li><a href="#">Tentang Kami</a></li>
<li><a href="#">Pengiriman & Pengembalian</a></li>
<li><a href="#">Pedoman Pengiriman</a></li>
<li><a href="hub_kami.php">Hubungi Kami</a></li>
</ul>
</div>
</div>
<!-- /footer widget -->
<!-- footer subscribe -->
<div class="col-md-4 col-sm-6 col-xs-6">
<div class="footer">
<h3 class="footer-header">Langganan</h3>
<p>Dapatkan info produk terbaru dari kami serta penawaran khusus.</p>
<form>
<div class="form-group">
<input class="input" placeholder="Enter Email Address">
</div>
<button class="primary-btn">Gabung langganan</button>
</form>
</div>
</div>
<!-- /footer subscribe -->
</div>
<!-- /row -->
<hr>
<!-- row -->
<div class="row">
<div class="col-md-8 col-md-offset-2 text-center">
<!-- footer copyright -->
<div class="footer-copyright">
<!-- Link back to Colorlib can't be removed. Template is licensed under CC BY 3.0. -->
Copyright ©<script>document.write(new Date().getFullYear());</script> All rights reserved | This template is made with <i class="fa fa-heart-o" aria-hidden="true"></i> by <a href="https://colorlib.com" target="_blank">Colorlib</a>
<!-- Link back to Colorlib can't be removed. Template is licensed under CC BY 3.0. -->
</div>
<!-- /footer copyright -->
</div>
</div>
<!-- /row -->
</div>
<!-- /container -->
</footer>
<!-- /FOOTER -->
<!-- jQuery Plugins -->
<script src="js/jquery.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/slick.min.js"></script>
<script src="js/nouislider.min.js"></script>
<script src="js/jquery.zoom.min.js"></script>
<script src="js/main.js"></script>
</body>
</html>