Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
PA1-1617-D3TI05
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
Fredrick Mangampu Theodorus Pardosi
PA1-1617-D3TI05
Commits
a6bb0a8f
Commit
a6bb0a8f
authored
May 24, 2017
by
Fredrick Mangampu Theodorus Pardosi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
edit
parent
887bbce7
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
2 deletions
+12
-2
index.php
index.php
+12
-2
No files found.
index.php
View file @
a6bb0a8f
...
@@ -111,8 +111,17 @@ $start = ($page - 1) * $per_hal;
...
@@ -111,8 +111,17 @@ $start = ($page - 1) * $per_hal;
<div
class=
"row"
>
<div
class=
"row"
>
<div
id=
"w"
>
<div
id=
"w"
>
<ul>
<ul>
<div
class=
"col-lg-12"
>
<div
class=
"col-lg-12"
>
<form
action=
"cari_process.php"
method=
"get"
>
<div
class=
"input-group col-md-5 col-md-offset-7"
>
<span
class=
"input-group-addon"
id=
"basic-addon1"
><span
class=
"glyphicon glyphicon-search"
></span></span>
<input
type=
"text"
class=
"form-control"
placeholder=
"Cari menu di sini .."
aria-describedby=
"basic-addon1"
name=
"cari"
>
</div>
</form>
</div>
<br><br>
<?php
<?php
$query
=
"SELECT * FROM menu limit
$start
,
$per_hal
"
;
$query
=
"SELECT * FROM menu limit
$start
,
$per_hal
"
;
$result_set
=
$conn
->
query
(
$query
);
$result_set
=
$conn
->
query
(
$query
);
...
@@ -123,7 +132,7 @@ $start = ($page - 1) * $per_hal;
...
@@ -123,7 +132,7 @@ $start = ($page - 1) * $per_hal;
<li
class=
"item breakfast"
>
<li
class=
"item breakfast"
>
<?php
echo
$row
[
'nama'
]
?>
<?php
echo
$row
[
'nama'
]
?>
<img
src=
"foto/
<?php
echo
$row
[
'gambar'
]
?>
"
class=
"img-rounded"
height=
"2
00"
width=
"20
0"
class=
"col-md-12 img-responsive"
>
<img
src=
"foto/
<?php
echo
$row
[
'gambar'
]
?>
"
class=
"img-rounded"
height=
"2
60"
width=
"22
0"
class=
"col-md-12 img-responsive"
>
<h2
class=
"white"
>
Rp.
<?php
echo
$row
[
'harga'
];
?>
</h2>
<h2
class=
"white"
>
Rp.
<?php
echo
$row
[
'harga'
];
?>
</h2>
<a
href=
"pesan_barang.php?id=
<?=
$row
[
'id'
]
?>
"
>
<a
href=
"pesan_barang.php?id=
<?=
$row
[
'id'
]
?>
"
>
<button
class=
"text-center btn-block form-btn"
>
Pesan
</button>
<button
class=
"text-center btn-block form-btn"
>
Pesan
</button>
...
@@ -132,6 +141,7 @@ $start = ($page - 1) * $per_hal;
...
@@ -132,6 +141,7 @@ $start = ($page - 1) * $per_hal;
</li>
</li>
<br>
<br>
</div>
</div>
<?php
}
<?php
}
?>
?>
...
...
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