Commit bd70b72e by Roy Junedi Simamora

edit

parent 70f01d04
...@@ -17,31 +17,34 @@ ...@@ -17,31 +17,34 @@
?> ?>
<div class="col-md-12" align="center"> <div class="col-md-12" align="center">
<h3> Terimakasih telah memesan </h3> <?php
$kueri = mysqli_query($koneksi, "SELECT * FROM pembayaran WHERE member_id = '$member_id'");
$row = mysqli_fetch_array($kueri);
if($row['bukti'] == NULL){
?>
<h3> Terimakasih Telah Memesan. </h3>
<div> Pesanan anda sebesar Rp. <?= $total?>,- <br> <div> Pesanan anda sebesar Rp. <?= $total?>,- <br>
Silahkan Kirim uang dengan nominal tertera ke No. Rekening 0413- XXX. <br> Silahkan Kirim uang dengan nominal tertera ke No. Rekening 0413- XXX. <br>
</div> </div>
<br> <br> <br> <br>
<div> <div>
Setelah mengirim uang upload bukti pengiriman :<br> Setelah mengirim uang upload bukti pengiriman :<br>
<form action="selesai.php?id_member=<?= $member_id?>" method="post" enctype="multipart/form-data"> <form action="checkout.php?id_member=<?= $member_id?>" method="post" enctype="multipart/form-data">
<input type="file" name="bukti"> <input type="file" name="bukti">
<input type="submit" class="btn btn-info" value="Upload"> <input type="submit" class="btn btn-info" value="Upload">
</form> </form>
<br> <br> </div>
<?php
$kueri = mysqli_query($koneksi, "SELECT * FROM pembayaran WHERE member_id = '$member_id'");
$bukti = mysqli_fetch_array($kueri);
if($bukti['bukti'] != NULL){
?>
<img src="picture/<?php $bukti['bukti']?>" class="img img-rounded" width="250" height="250">
<?php <?php
} else{ }else{
echo 'Gambar Bukti Belum di Upload!'; if($row['status'] == NULL){
echo '<h3 style="color: #b30000"> Terimakasih telah membayar. </h3>';
echo 'Silahkan tunggu konfirmasi pembayaran dari admin. <br>';
}else{
echo 'Pesanan anda telah dikonfirmasi. Terimakasih telah memesan. <br> <br>';
echo "<a href='selesai.php?id=". $member_id ."' class='btn btn-success'> Selesai </a> <br>";
} }
}
?> ?>
<br>
</div>
<br> <br>
</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