tambahan

parent fa34101f
<?php
require_once("koneksi.php");
$id = $_GET['id'];
$status = 'Diterima';
mysqli_query($koneksi, "UPDATE t_pembayaran SET status = '$status' WHERE id_pembayaran = '$id'")
echo "<script>alert('Pembayaran berhasil dikonfirmasi');window.location = 'processorder.php'</script>";
?>
\ No newline at end of file
<?php
require_once("koneksi.php");
$id = $_GET['id'];
mysqli_query($koneksi, "DELETE FROM t_pemesanan WHERE id_user = '$id'");
mysqli_query($koneksi, "DELETE FROM t_pembayaran WHERE id_user = '$id'");
echo "<script>alert('Terimakasih');window.location = 'allbook.php'</script>";
?>
\ No newline at end of file
...@@ -52,7 +52,7 @@ ...@@ -52,7 +52,7 @@
<div class="container"><br><br><br> <div class="container"><br><br><br>
<h2>Daftar Artikel : </h2><br> <h2>Daftar Artikel : </h2><br>
<div class="checkout-right"> <div class="checkout-right">
<table class="timetable_sub"> <table class="timetable_sub table table-bordered table-hover">
<thead> <thead>
<tr> <tr>
<th>ID</th> <th>ID</th>
......
...@@ -52,7 +52,7 @@ ...@@ -52,7 +52,7 @@
<div class="container"><br><br><br> <div class="container"><br><br><br>
<h2>Detail Buku : </h2><br> <h2>Detail Buku : </h2><br>
<div class="checkout-right"> <div class="checkout-right">
<table class="timetable_sub"> <table class="timetable_sub table table-bordered table-hover">
<thead> <thead>
<tr> <tr>
<th>ISBN</th> <th>ISBN</th>
......
...@@ -52,7 +52,7 @@ ...@@ -52,7 +52,7 @@
<div class="container"><br><br><br> <div class="container"><br><br><br>
<h2>Daftar Saran : </h2><br> <h2>Daftar Saran : </h2><br>
<div class="checkout-right"> <div class="checkout-right">
<table class="timetable_sub"> <table class="timetable_sub table table-bordered table-hover">
<thead> <thead>
<tr> <tr>
<th>ID</th> <th>ID</th>
......
...@@ -52,7 +52,7 @@ ...@@ -52,7 +52,7 @@
<div class="container"><br><br><br> <div class="container"><br><br><br>
<h2>Daftar Pelanggan : </h2><br> <h2>Daftar Pelanggan : </h2><br>
<div class="checkout-right"> <div class="checkout-right">
<table class="timetable_sub"> <table class="timetable_sub table table-bordered table-hover">
<thead> <thead>
<tr> <tr>
<th>ID Pelanggan</th> <th>ID Pelanggan</th>
......
...@@ -46,7 +46,7 @@ ...@@ -46,7 +46,7 @@
<div class="container"><br><br><br> <div class="container"><br><br><br>
<h2>Daftar Pesanan : </h2><br> <h2>Daftar Pesanan : </h2><br>
<div class="checkout-right"> <div class="checkout-right">
<table class="timetable_sub"> <table class="timetable_sub table table-bordered table-hover">
<thead> <thead>
<tr> <tr>
<th>No.</th> <th>No.</th>
......
...@@ -34,6 +34,15 @@ ...@@ -34,6 +34,15 @@
} }
?> ?>
</div> </div>
<div class="col-md-8">
Pembayaran dapat dilakukan dengan mentransfer ke nomor rekening 0898-XXXX-XXXX
<br>
Total harga Rp.<?php echo number_format($total); ?>,00.
<br><br><br><br>
Setelah Anda melakukan pembayaran segera upload bukti pembayaran disini :
<br>
</div>
<div class="clearfix"> </div> <div class="clearfix"> </div>
</div> </div>
</div> </div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment