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
8c99ade3
Commit
8c99ade3
authored
May 23, 2017
by
Franciskus Partogu Hamonangan Napitupulu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
perbaikan penomoran
parent
d986651d
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
16 deletions
+8
-16
processarticle.php
processarticle.php
+3
-5
processbook.php
processbook.php
+3
-5
processcomment.php
processcomment.php
+1
-3
processmember.php
processmember.php
+1
-3
No files found.
processarticle.php
View file @
8c99ade3
...
@@ -39,8 +39,7 @@
...
@@ -39,8 +39,7 @@
<div
class=
"checkout-right"
>
<div
class=
"checkout-right"
>
<table
class=
"timetable_sub"
>
<table
class=
"timetable_sub"
>
<thead>
<thead>
<tr>
<tr>
<th>
No.
</th>
<th>
ID
</th>
<th>
ID
</th>
<th>
Judul
</th>
<th>
Judul
</th>
<th>
Tanngal Dibuat
</th>
<th>
Tanngal Dibuat
</th>
...
@@ -54,7 +53,6 @@
...
@@ -54,7 +53,6 @@
while
(
$data
=
mysqli_fetch_array
(
$tampil
))
{
while
(
$data
=
mysqli_fetch_array
(
$tampil
))
{
?>
?>
<tr
class=
"rem1"
>
<tr
class=
"rem1"
>
<td
class=
"invert"
>
<?php
echo
$no
++
;
?>
</td>
<td
class=
"invert"
>
<?php
echo
$data
[
'id_artikel'
];
?>
</td>
<td
class=
"invert"
>
<?php
echo
$data
[
'id_artikel'
];
?>
</td>
<td
class=
"invert"
>
<?php
echo
$data
[
'judul_artikel'
];
?>
</td>
<td
class=
"invert"
>
<?php
echo
$data
[
'judul_artikel'
];
?>
</td>
<td
class=
"invert"
>
<?php
echo
$data
[
'tanggal_dibuat'
];
?>
</td>
<td
class=
"invert"
>
<?php
echo
$data
[
'tanggal_dibuat'
];
?>
</td>
...
@@ -82,13 +80,13 @@
...
@@ -82,13 +80,13 @@
<?php
<?php
if
(
isset
(
$_SESSION
[
'administrator'
])){
if
(
isset
(
$_SESSION
[
'administrator'
])){
echo
'
echo
'
<tr><td colspan="
6
" align="center" style="background-color:#ffffff"><b> Tambah Artikel </b></td>
<tr><td colspan="
5
" align="center" style="background-color:#ffffff"><b> Tambah Artikel </b></td>
<td><a href="addarticle.php"><img src="images/tambah.png" /></td></tr></table>
<td><a href="addarticle.php"><img src="images/tambah.png" /></td></tr></table>
'
;
'
;
}
}
else
{
else
{
echo
'
echo
'
<tr><td colspan="
7
" align="center" style="background-color:#ffffff"> Data buku kosong ! </td></tr></table>
<tr><td colspan="
6
" align="center" style="background-color:#ffffff"> Data buku kosong ! </td></tr></table>
'
;
'
;
}
}
?>
?>
...
...
processbook.php
View file @
8c99ade3
...
@@ -48,8 +48,7 @@
...
@@ -48,8 +48,7 @@
<div
class=
"checkout-right"
>
<div
class=
"checkout-right"
>
<table
class=
"timetable_sub"
>
<table
class=
"timetable_sub"
>
<thead>
<thead>
<tr>
<tr>
<th>
No.
</th>
<th>
ISBN
</th>
<th>
ISBN
</th>
<th>
Judul
</th>
<th>
Judul
</th>
<th>
Pengarang
</th>
<th>
Pengarang
</th>
...
@@ -68,7 +67,6 @@
...
@@ -68,7 +67,6 @@
while
(
$data
=
mysqli_fetch_array
(
$tampil
))
{
while
(
$data
=
mysqli_fetch_array
(
$tampil
))
{
?>
?>
<tr
class=
"rem1"
>
<tr
class=
"rem1"
>
<td
class=
"invert"
>
<?php
echo
$no
++
;
?>
</td>
<td
class=
"invert"
>
<?php
echo
$data
[
'isbn'
];
?>
</td>
<td
class=
"invert"
>
<?php
echo
$data
[
'isbn'
];
?>
</td>
<td
class=
"invert"
>
<?php
echo
$data
[
'judul'
];
?>
</td>
<td
class=
"invert"
>
<?php
echo
$data
[
'judul'
];
?>
</td>
<td
class=
"invert"
>
<?php
echo
$data
[
'pengarang'
];
?>
</td>
<td
class=
"invert"
>
<?php
echo
$data
[
'pengarang'
];
?>
</td>
...
@@ -101,13 +99,13 @@
...
@@ -101,13 +99,13 @@
<?php
<?php
if
(
isset
(
$_SESSION
[
'administrator'
])){
if
(
isset
(
$_SESSION
[
'administrator'
])){
echo
'
echo
'
<tr><td colspan="1
1
" align="center" style="background-color:#ffffff"><b> Tambah Data Buku </b></td>
<tr><td colspan="1
0
" align="center" style="background-color:#ffffff"><b> Tambah Data Buku </b></td>
<td><a href="addbook.php"><img src="images/tambah.png" /></td></tr></table>
<td><a href="addbook.php"><img src="images/tambah.png" /></td></tr></table>
'
;
'
;
}
}
else
{
else
{
echo
'
echo
'
<tr><td colspan="1
2
" align="center" style="background-color:#ffffff"> Data buku kosong ! </td></tr></table>
<tr><td colspan="1
1
" align="center" style="background-color:#ffffff"> Data buku kosong ! </td></tr></table>
'
;
'
;
}
}
?>
?>
...
...
processcomment.php
View file @
8c99ade3
...
@@ -40,7 +40,6 @@
...
@@ -40,7 +40,6 @@
<table
class=
"timetable_sub"
>
<table
class=
"timetable_sub"
>
<thead>
<thead>
<tr>
<tr>
<th>
No.
</th>
<th>
ID
</th>
<th>
ID
</th>
<th>
Pengirim
</th>
<th>
Pengirim
</th>
<th>
Komentar
</th>
<th>
Komentar
</th>
...
@@ -53,7 +52,6 @@
...
@@ -53,7 +52,6 @@
while
(
$data
=
mysqli_fetch_array
(
$tampil
))
{
while
(
$data
=
mysqli_fetch_array
(
$tampil
))
{
?>
?>
<tr
class=
"rem1"
>
<tr
class=
"rem1"
>
<td
class=
"invert"
>
<?php
echo
$no
++
;
?>
</td>
<td
class=
"invert"
>
<?php
echo
$data
[
'id_komentar'
];
?>
</td>
<td
class=
"invert"
>
<?php
echo
$data
[
'id_komentar'
];
?>
</td>
<td
class=
"invert"
>
<?php
echo
$data
[
'nama_pengirim'
];
?>
</td>
<td
class=
"invert"
>
<?php
echo
$data
[
'nama_pengirim'
];
?>
</td>
<td
class=
"invert"
>
<?php
echo
$data
[
'komentar'
];
?>
</td>
<td
class=
"invert"
>
<?php
echo
$data
[
'komentar'
];
?>
</td>
...
@@ -77,7 +75,7 @@
...
@@ -77,7 +75,7 @@
}
}
else
{
else
{
echo
'
echo
'
<tr><td colspan="
6
" align="center" style="background-color:#ffffff"> Data komentar kosong ! </td></tr></table>
<tr><td colspan="
5
" align="center" style="background-color:#ffffff"> Data komentar kosong ! </td></tr></table>
'
;
'
;
}
}
?>
?>
...
...
processmember.php
View file @
8c99ade3
...
@@ -28,7 +28,7 @@
...
@@ -28,7 +28,7 @@
<table
class=
"col-md-3"
>
<table
class=
"col-md-3"
>
<tr>
<tr>
<br>
<br>
<td>
Jumlah
Data
Pelanggan
</td>
<td>
Jumlah Pelanggan
</td>
<td>
:
<b>
<?php
echo
$jum
;
?>
</b></td>
<td>
:
<b>
<?php
echo
$jum
;
?>
</b></td>
</tr>
</tr>
</table>
</table>
...
@@ -40,7 +40,6 @@
...
@@ -40,7 +40,6 @@
<table
class=
"timetable_sub"
>
<table
class=
"timetable_sub"
>
<thead>
<thead>
<tr>
<tr>
<th>
No.
</th>
<th>
ID Pelanggan
</th>
<th>
ID Pelanggan
</th>
<th>
Nama Lengkap
</th>
<th>
Nama Lengkap
</th>
<th>
Alamat
</th>
<th>
Alamat
</th>
...
@@ -54,7 +53,6 @@
...
@@ -54,7 +53,6 @@
while
(
$data
=
mysqli_fetch_array
(
$tampil
))
{
while
(
$data
=
mysqli_fetch_array
(
$tampil
))
{
?>
?>
<tr
class=
"rem1"
>
<tr
class=
"rem1"
>
<td
class=
"invert"
>
<?php
echo
$no
++
;
?>
</td>
<td
class=
"invert"
>
<?php
echo
$data
[
'id_user'
];
?>
</td>
<td
class=
"invert"
>
<?php
echo
$data
[
'id_user'
];
?>
</td>
<td
class=
"invert"
>
<?php
echo
$data
[
'nama_lengkap'
];
?>
</td>
<td
class=
"invert"
>
<?php
echo
$data
[
'nama_lengkap'
];
?>
</td>
<td
class=
"invert"
>
<?php
echo
$data
[
'alamat'
];
?>
</td>
<td
class=
"invert"
>
<?php
echo
$data
[
'alamat'
];
?>
</td>
...
...
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