Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
RestoranPondokEdo
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Mei Romauli Sagala
RestoranPondokEdo
Commits
bd70b72e
Commit
bd70b72e
authored
May 25, 2017
by
Roy Junedi Simamora
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
edit
parent
70f01d04
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
14 deletions
+16
-14
bayar.php
bayar.php
+16
-14
No files found.
bayar.php
View file @
bd70b72e
...
@@ -17,32 +17,35 @@
...
@@ -17,32 +17,35 @@
?>
?>
<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>
<br>
</div>
</div>
<br>
</div>
<?php
include
'common/footer.php'
;
?>
<?php
include
'common/footer.php'
;
?>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment