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
34bc5840
Commit
34bc5840
authored
May 24, 2017
by
Franciskus Partogu Hamonangan Napitupulu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
perbaikan
parent
a1ebea99
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
37 additions
and
37 deletions
+37
-37
style.css
css/style.css
+4
-0
editarticle.php
editarticle.php
+7
-4
editbook.php
editbook.php
+20
-17
processarticle.php
processarticle.php
+1
-1
processbook.php
processbook.php
+0
-10
processcomment.php
processcomment.php
+5
-5
No files found.
css/style.css
View file @
34bc5840
...
...
@@ -1318,6 +1318,10 @@ ul.faq {
padding
:
2em
;
box-shadow
:
0px
0px
5px
#b2afaf
;
}
.agileinfo_single
{
padding
:
1.2em
;
box-shadow
:
0px
0px
1px
#b2afaf
;
}
/*-- Ratings --*/
.rating1
{
direction
:
ltr
;
...
...
editarticle.php
View file @
34bc5840
...
...
@@ -27,11 +27,14 @@
<form
action=
"editarticle_process.php"
method=
"POST"
enctype=
"multipart/form-data"
>
<input
type=
"hidden"
name=
"id"
placeholder=
"id_artikel"
value=
"
<?php
echo
$data
[
'id_artikel'
]
?>
"
>
<b>
Judul Artikel :
</b>
<input
type=
"text"
name=
"judul_artikel"
style=
"width:100%"
placeholder=
"Judul Artikel"
value=
"
<?php
echo
$data
[
'judul_artikel'
]
?>
"
><br>
<input
type=
"text"
name=
"judul_artikel"
style=
"width:100%"
placeholder=
"Judul Artikel"
value=
"
<?php
echo
$data
[
'judul_artikel'
]
?>
"
required
/
><br>
<b>
Isi Artikel :
</b>
<textarea
name=
"isi_artikel"
style=
"width:100%; height:450px"
placeholder=
"
<?php
echo
$data
[
'isi_artikel'
]
?>
"
value=
"
<?php
echo
$data
[
'isi_artikel'
]
?>
"
></textarea><br>
<b>
File Gambar :
</b>
<input
type=
"file"
name=
"gambar_artikel"
value=
" "
>
<textarea
name=
"isi_artikel"
style=
"width:100%; height:450px"
placeholder=
"
<?php
echo
$data
[
'isi_artikel'
]
?>
"
value=
"
<?php
echo
$data
[
'isi_artikel'
]
?>
"
required
></textarea><br>
<b>
File Gambar :
<br></b>
<div
class=
"col-md-3 agileinfo_single"
>
<img
src=
"
<?php
echo
$data
[
'gambar_artikel'
];
?>
"
class=
"img-responsive"
required
/>
</div><br><br><br><br><br><br><br><br><br>
<input
type=
"file"
name=
"gambar_artikel"
value=
"
<?php
echo
$data
[
'gambar_artikel'
];
?>
"
required
/>
<input
type=
"submit"
name=
"edit"
value=
"edit"
>
</form>
</div>
...
...
editbook.php
View file @
34bc5840
...
...
@@ -26,24 +26,27 @@
?>
<form
action=
"editbook_process.php"
method=
"POST"
enctype=
"multipart/form-data"
>
<input
type=
"hidden"
name=
"id"
placeholder=
"ISBN"
value=
"
<?php
echo
$data
[
'isbn'
]
?>
"
>
<b>
Judul Buku
:
</b>
<b>
Judul Buku :
</b>
<input
type=
"text"
name=
"judul"
placeholder=
"Judul Buku"
value=
"
<?php
echo
$data
[
'judul'
]
?>
"
>
<b><br>
Nama Pengarang :
</b>
<input
type=
"text"
name=
"pengarang"
placeholder=
"Nama Pengarang"
value=
"
<?php
echo
$data
[
'pengarang'
]
?>
"
>
<b><br>
Nama Penerbit :
</b>
<input
type=
"text"
name=
"penerbit"
placeholder=
"Nama Penerbit"
value=
"
<?php
echo
$data
[
'penerbit'
]
?>
"
>
<b><br>
Kategori Buku :
</b>
<input
type=
"text"
name=
"kategori"
placeholder=
"Kategori Buku"
value=
"
<?php
echo
$data
[
'kategori'
]
?>
"
>
<b><br>
Tahun Terbit :
</b>
<input
type=
"text"
name=
"tahun"
placeholder=
"Tahun Terbit"
value=
"
<?php
echo
$data
[
'tahun'
]
?>
"
>
<b><br>
Harga per Eksemplar :
</b>
<input
type=
"text"
name=
"harga"
placeholder=
"Harga per Eksemplar"
value=
"
<?php
echo
$data
[
'harga'
]
?>
"
>
<b><br>
Jumlah Tersedia :
</b>
<input
type=
"text"
name=
"jumlah"
placeholder=
"Jumlah Tersedia"
value=
"
<?php
echo
$data
[
'jumlah'
]
?>
"
>
<b><br>
Keterangan Buku :
</b>
<input
type=
"text"
name=
"keterangan"
placeholder=
"Keterangan Buku"
value=
"
<?php
echo
$data
[
'keterangan'
]
?>
"
>
<b><br>
Gambar :
<br><br></b>
<input
type=
"file"
name=
"gambar"
accept=
"img/*"
required
>
<b><br>
Nama Pengarang :
</b>
<input
type=
"text"
name=
"pengarang"
placeholder=
"Nama Pengarang"
value=
"
<?php
echo
$data
[
'pengarang'
]
?>
"
required
/>
<b><br>
Nama Penerbit :
</b>
<input
type=
"text"
name=
"penerbit"
placeholder=
"Nama Penerbit"
value=
"
<?php
echo
$data
[
'penerbit'
]
?>
"
required
/>
<b><br>
Kategori Buku :
</b>
<input
type=
"text"
name=
"kategori"
placeholder=
"Kategori Buku"
value=
"
<?php
echo
$data
[
'kategori'
]
?>
"
required
/>
<b><br>
Tahun Terbit :
</b>
<input
type=
"text"
name=
"tahun"
placeholder=
"Tahun Terbit"
value=
"
<?php
echo
$data
[
'tahun'
]
?>
"
required
/>
<b><br>
Harga per Eksemplar :
</b>
<input
type=
"text"
name=
"harga"
placeholder=
"Harga per Eksemplar"
value=
"
<?php
echo
$data
[
'harga'
]
?>
"
required
/>
<b><br>
Jumlah Tersedia :
</b>
<input
type=
"text"
name=
"jumlah"
placeholder=
"Jumlah Tersedia"
value=
"
<?php
echo
$data
[
'jumlah'
]
?>
"
required
/>
<b><br>
Keterangan Buku :
</b>
<input
type=
"text"
name=
"keterangan"
placeholder=
"Keterangan Buku"
value=
"
<?php
echo
$data
[
'keterangan'
]
?>
"
required
/>
<b><br>
File Gambar :
<br></b>
<div
class=
"col-md-5 agileinfo_single"
>
<img
src=
"
<?php
echo
$data
[
'gambar'
];
?>
"
class=
"img-responsive"
required
/>
</div><br>
<input
type=
"file"
name=
"gambar"
accept=
"img/*"
value=
"
<?php
echo
$data
[
'gambar'
];
?>
"
required
/>
<input
type=
"submit"
name=
"edit"
value=
"edit"
>
</form>
<?php
...
...
processarticle.php
View file @
34bc5840
...
...
@@ -25,7 +25,7 @@
?>
<!-- //Page -->
<div
class=
"col-md-12"
>
<table
class=
"col-md-
2
"
>
<table
class=
"col-md-
3
"
>
<tr>
<br>
<td>
Jumlah Data Artikel
</td>
...
...
processbook.php
View file @
34bc5840
...
...
@@ -30,16 +30,6 @@
<td>
Jumlah Data Buku
</td>
<td>
:
<b>
<?php
echo
$jum
;
?>
</b></td>
</tr>
<tr>
<td>
Total Dana
</td>
<td>
:
<b>
<?php
$modal
=
mysqli_query
(
$koneksi
,
"SELECT SUM (harga) AS total FROM t_buku"
);
$data
=
(
$modal
);
echo
" Rp."
.
number_format
(
$data
[
'total'
])
.
",-"
;
?>
</b></td>
</tr>
</table>
</div>
<!-- checkout -->
...
...
processcomment.php
View file @
34bc5840
...
...
@@ -8,7 +8,7 @@
<div
class=
"container"
>
<ol
class=
"breadcrumb breadcrumb1"
>
<li><span><i
class=
"fa fa-sign-in"
aria-hidden=
"true"
></i><a
href=
"login.php"
>
Masuk
</a></span></li>
<li
class=
"active"
>
Kelola Data
Komentar
</li>
<li
class=
"active"
>
Kelola Data
Saran
</li>
</ol>
</div>
</div>
...
...
@@ -28,21 +28,21 @@
<table
class=
"col-md-3"
>
<tr>
<br>
<td>
Jumlah
Komentar
Masuk
</td>
<td>
Jumlah
Saran
Masuk
</td>
<td>
:
<b>
<?php
echo
$jum
;
?>
</b></td>
</tr>
</table>
</div>
<!-- checkout -->
<div
class=
"container"
><br><br><br>
<h2>
Daftar
Komentar
:
</h2><br>
<h2>
Daftar
Saran
:
</h2><br>
<div
class=
"checkout-right"
>
<table
class=
"timetable_sub"
>
<thead>
<tr>
<th>
ID
</th>
<th>
Pengirim
</th>
<th>
Komentar
</th>
<th>
Saran
</th>
<th>
Tanggal
</th>
<th>
Opsi
</th>
</tr>
...
...
@@ -75,7 +75,7 @@
}
else
{
echo
'
<tr><td colspan="5" align="center" style="background-color:#ffffff"> Data
komentar
kosong ! </td></tr></table>
<tr><td colspan="5" align="center" style="background-color:#ffffff"> Data
Saran
kosong ! </td></tr></table>
'
;
}
?>
...
...
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