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
f8d04e45
Commit
f8d04e45
authored
May 29, 2017
by
Mei Romauli Sagala
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
edit
parent
e5c12798
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
bayar.php
bayar.php
+5
-4
No files found.
bayar.php
View file @
f8d04e45
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
<?php
<?php
$kueri
=
mysqli_query
(
$koneksi
,
"SELECT * FROM pembayaran WHERE member_id = '
$member_id
'"
);
$kueri
=
mysqli_query
(
$koneksi
,
"SELECT * FROM pembayaran WHERE member_id = '
$member_id
'"
);
$row
=
mysqli_fetch_array
(
$kueri
);
$row
=
mysqli_fetch_array
(
$kueri
);
if
(
$row
[
'bukti'
]
==
NULL
&&
$row
[
'status'
]
==
NULL
){
if
(
$row
[
'bukti'
]
==
NULL
){
?>
?>
<h3>
Terimakasih Telah Memesan.
</h3>
<h3>
Terimakasih Telah Memesan.
</h3>
<div>
Pesanan anda sebesar Rp.
<?=
$total
?>
,-
<br>
<div>
Pesanan anda sebesar Rp.
<?=
$total
?>
,-
<br>
...
@@ -29,16 +29,17 @@
...
@@ -29,16 +29,17 @@
<br>
<br>
<br>
<br>
<div>
<div>
Setelah mengirim uang upload bukti pengiriman :
<br>
Setelah mengirim uang upload bukti pengiriman :
<br>
<form
action=
"checkout.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>
</div>
<br>
</div>
<?php
<?php
}
else
if
(
$row
[
'bukti'
]
!=
NULL
&&
$row
[
'status'
]
==
NULL
){
}
else
{
if
(
$row
[
'status'
]
==
NULL
){
echo
'<h3 style="color: #b30000"> Terimakasih telah membayar. </h3>'
;
echo
'<h3 style="color: #b30000"> Terimakasih telah membayar. </h3>'
;
echo
'Silahkan tunggu konfirmasi pembayaran dari admin. <br>'
;
echo
'Silahkan tunggu konfirmasi pembayaran dari admin. <br>'
;
}
else
if
(
$row
[
'bukti'
]
!=
NULL
&&
$row
[
'status'
]
!=
NULL
)
{
}
else
{
echo
'Pesanan anda telah dikonfirmasi. Terimakasih telah memesan. <br> <br>'
;
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>"
;
echo
"<a href='selesai.php?id="
.
$member_id
.
"' class='btn btn-success'> Selesai </a> <br>"
;
}
}
...
...
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