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
331338fb
Commit
331338fb
authored
May 22, 2017
by
Franciskus Partogu Hamonangan Napitupulu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fungsi pencarian judul buku
parent
d26d1ec3
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
32 additions
and
20 deletions
+32
-20
allbook.php
allbook.php
+0
-1
faq.php
faq.php
+18
-9
header.php
header.php
+8
-6
singleprofile.php
singleprofile.php
+6
-4
No files found.
allbook.php
View file @
331338fb
...
...
@@ -27,7 +27,6 @@
<div
class=
"container"
>
<div
class=
"agile_top_brands_grids"
>
<?php
$sql
=
mysqli_query
(
$koneksi
,
"SELECT * FROM t_buku ORDER BY isbn ASC LIMIT 24"
);
while
(
$data
=
mysqli_fetch_array
(
$sql
)){
?>
<div
class=
"col-md-3 top_brand_left"
>
...
...
faq.php
View file @
331338fb
...
...
@@ -30,19 +30,28 @@
<ul
class=
"faq"
>
<li
class=
"item1"
><a
href=
"#"
title=
"click here"
>
Bagaimana pendapat masyarakat umum tentang adanya CemIS ini?
</a>
<ul>
<li
class=
"subitem1"
><p>
Mereka sangat senang karena dengan adanya CemIS mereka lebih mudah dalam pencarian buku.
</ul>
<li
class=
"subitem1"
><p>
Mereka sangat senang karena dengan adanya CemIS mereka lebih mudah dalam pencarian buku.
</li>
</ul>
</li>
<li
class=
"item2"
><a
href=
"#"
title=
"click here"
>
Apakah dengan adanya CemIS pendapatan UKM meningkat?
<ul>
<li
class=
"subitem1"
><p>
Ya tentu saja.
</ul>
<li
class=
"item2"
><a
href=
"#"
title=
"click here"
>
Apakah dengan adanya CemIS pendapatan UKM meningkat?
<ul>
<li
class=
"subitem1"
><p>
Ya tentu saja.
</li>
</ul>
</li>
<li
class=
"item3"
><a
href=
"#"
title=
"click here"
>
Bagaimana usaha pihak UKM meningkatkan kualitas toko ini?
<ul>
<li
class=
"subitem1"
><p>
Usaha kami adalah dengan mempromosikan buku-buku terbaru.
</ul>
<li
class=
"item3"
><a
href=
"#"
title=
"click here"
>
Bagaimana usaha pihak UKM meningkatkan kualitas toko ini?
<ul>
<li
class=
"subitem1"
><p>
Usaha kami adalah dengan mempromosikan buku-buku terbaru.
</li>
</ul>
</li>
<li
class=
"item4"
><a
href=
"#"
title=
"click here"
>
Apakah toko ini memiliki diskon?
<ul>
<li
class=
"subitem1"
><p>
Biasanya yang mendapatkan diskon itu pelanggan yang jadi langganan di toko ini
</ul>
<li
class=
"item4"
><a
href=
"#"
title=
"click here"
>
Apakah toko ini memiliki diskon?
<ul>
<li
class=
"subitem1"
><p>
Biasanya yang mendapatkan diskon itu pelanggan yang jadi langganan di toko ini.
</li>
</ul>
</li>
<li
class=
"item5"
><a
href=
"#"
title=
"click here"
>
Apa buku yang paling laris?
<ul>
<li
class=
"subitem1"
><p>
Biasanya novel dan buku pelajaran.
</ul>
<li
class=
"item5"
><a
href=
"#"
title=
"click here"
>
Apa buku yang paling laris?
<ul>
<li
class=
"subitem1"
><p>
Biasanya novel dan buku pelajaran.
</li>
</ul>
</li>
</ul>
<!-- script for tabs -->
...
...
header.php
View file @
331338fb
...
...
@@ -6,6 +6,8 @@
session_destroy
();
header
(
'location: index.php'
);
};
global
$sql
;
$sql
=
mysqli_query
(
$koneksi
,
"SELECT * FROM t_buku ORDER BY isbn ASC LIMIT 24"
);
?>
<!DOCTYPE html>
...
...
@@ -102,15 +104,15 @@
<h1><a
href=
"about.php"
>
Toko Buku Cemerlang
</a></h1>
</div>
<?php
if
(
isset
(
$_
GE
T
[
'cari'
])){
$cari
=
mysqli_real_escape_string
(
$_GET
[
'cari'
])
;
$
query
=
mysqli_query
(
$koneksi
,
"SELECT * FROM t_buku, t_artikel WHERE nama LIKE '
$cari
'
"
);
if
(
isset
(
$_
POS
T
[
'cari'
])){
$cari
=
$_POST
[
'search'
]
;
$
sql
=
mysqli_query
(
$koneksi
,
"SELECT * FROM t_buku WHERE judul LIKE '%
$cari
%' ORDER BY isbn
"
);
}
?>
<div
class=
"w3l_search"
>
<form
action=
"
#
"
method=
"post"
>
<input
type=
"search"
name=
"
Search"
placeholder=
"Cari
Buku"
required=
""
>
<button
type=
"submit"
class=
"btn btn-default search"
aria-label=
"Left Align"
>
<form
action=
""
method=
"post"
>
<input
type=
"search"
name=
"
search"
placeholder=
"Cari Judul
Buku"
required=
""
>
<button
type=
"submit"
class=
"btn btn-default search"
aria-label=
"Left Align"
name=
"cari"
>
<i
class=
"fa fa-search"
aria-hidden=
"true"
>
</i>
</button>
<div
class=
"clearfix"
></div>
...
...
singleprofile.php
View file @
331338fb
...
...
@@ -27,19 +27,21 @@
Nomor Ponsel :
<h3>
0
<?php
echo
$data
[
'nomor_ponsel'
];
?>
</h3><br>
Email :
<h3>
<?php
echo
$data
[
'email'
];
?>
</h3>
</div>
<!--<div class="col-md-5 agileinfo_single_right">
<!--
<div class="col-md-5 agileinfo_single_right">
<br><br>
<div class="snipcart-item block">
<div class="snipcart-details top_brand_home_details">
<a href="editpassword.php">
<input type="submit" name="simpan" value="
edit data dir
i" class="button" />
<input type="submit" name="simpan" value="
ganti kata sand
i" class="button" />
</div>
<div class="snipcart-details top_brand_home_details">
<a href="editprofile.php">
<input type="submit" name="simpan" value="
ganti kata sand
i" class="button" />
<input type="submit" name="simpan" value="
edit data dir
i" class="button" />
</div>
</div>
</div>-->
</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