Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
PA1-1617-D3TI107
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
Franciskus Partogu Hamonangan Napitupulu
PA1-1617-D3TI107
Commits
97560f4d
Commit
97560f4d
authored
May 27, 2017
by
Franciskus Partogu Hamonangan Napitupulu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tambahan
parent
fa34101f
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
32 additions
and
5 deletions
+32
-5
confirm.php
confirm.php
+9
-0
finish.php
finish.php
+9
-0
processarticle.php
processarticle.php
+1
-1
processbook.php
processbook.php
+1
-1
processcomment.php
processcomment.php
+1
-1
processmember.php
processmember.php
+1
-1
processorder.php
processorder.php
+1
-1
savebook.php
savebook.php
+9
-0
No files found.
confirm.php
0 → 100644
View file @
97560f4d
<?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
finish.php
0 → 100644
View file @
97560f4d
<?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
processarticle.php
View file @
97560f4d
...
...
@@ -52,7 +52,7 @@
<div
class=
"container"
><br><br><br>
<h2>
Daftar Artikel :
</h2><br>
<div
class=
"checkout-right"
>
<table
class=
"timetable_sub"
>
<table
class=
"timetable_sub
table table-bordered table-hover
"
>
<thead>
<tr>
<th>
ID
</th>
...
...
processbook.php
View file @
97560f4d
...
...
@@ -52,7 +52,7 @@
<div
class=
"container"
><br><br><br>
<h2>
Detail Buku :
</h2><br>
<div
class=
"checkout-right"
>
<table
class=
"timetable_sub"
>
<table
class=
"timetable_sub
table table-bordered table-hover
"
>
<thead>
<tr>
<th>
ISBN
</th>
...
...
processcomment.php
View file @
97560f4d
...
...
@@ -52,7 +52,7 @@
<div
class=
"container"
><br><br><br>
<h2>
Daftar Saran :
</h2><br>
<div
class=
"checkout-right"
>
<table
class=
"timetable_sub"
>
<table
class=
"timetable_sub
table table-bordered table-hover
"
>
<thead>
<tr>
<th>
ID
</th>
...
...
processmember.php
View file @
97560f4d
...
...
@@ -52,7 +52,7 @@
<div
class=
"container"
><br><br><br>
<h2>
Daftar Pelanggan :
</h2><br>
<div
class=
"checkout-right"
>
<table
class=
"timetable_sub"
>
<table
class=
"timetable_sub
table table-bordered table-hover
"
>
<thead>
<tr>
<th>
ID Pelanggan
</th>
...
...
processorder.php
View file @
97560f4d
...
...
@@ -46,7 +46,7 @@
<div
class=
"container"
><br><br><br>
<h2>
Daftar Pesanan :
</h2><br>
<div
class=
"checkout-right"
>
<table
class=
"timetable_sub"
>
<table
class=
"timetable_sub
table table-bordered table-hover
"
>
<thead>
<tr>
<th>
No.
</th>
...
...
savebook.php
View file @
97560f4d
...
...
@@ -34,6 +34,15 @@
}
?>
</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>
</div>
...
...
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