Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
PA1-1617-D3TI08
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
Dodi Agustin Refansius Pakpahan
PA1-1617-D3TI08
Commits
261beb11
Commit
261beb11
authored
May 21, 2017
by
Pratiwi Pandiangan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
menambahkan daftar kamar dan detail kamar
parent
29b293d9
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
118 additions
and
0 deletions
+118
-0
daftarkamar.php
daftarkamar.php
+52
-0
detailkamar.php
detailkamar.php
+66
-0
No files found.
daftarkamar.php
0 → 100644
View file @
261beb11
<?php
require_once
(
dirname
(
__FILE__
)
.
'/header.php'
);
?>
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"utf-8"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1"
>
<title>
Picture Life
</title>
<link
rel=
"shortcut icon"
href=
"images/inst.png"
>
<link
href=
"css/bootstrap.min.css"
rel=
"stylesheet"
>
<link
href=
"css/animate.css"
rel=
"stylesheet"
>
<link
href=
"css/myStyle.css"
rel=
"stylesheet"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"css/font-awesome.min.css"
>
<script
src=
"js/jquery-3.1.1.min.js"
></script>
<script
src=
"js/bootstrap.min.js"
></script>
<script
src=
"js/js.js"
></script>
</head>
<body
background=
"images/eirene.jpg"
>
<?php
require_once
(
dirname
(
__FILE__
)
.
'/fungsi.php'
);
$daftar
=
getDaftar
();
$no
=
1
;
foreach
(
$daftar
as
$data
)
{
echo
'<div class="col-md-3 thumbnail"style="margin-left:90px; margin-top:100px">
<img src="'
.
$data
[
'gambar'
]
.
'" style="width: 100%; height: 400px;"><br><hr>
<center><div><a href="detailkamar.php?id='
.
$data
[
'id'
]
.
'" class="btn btn-default">Detail</a>
<a href="memesan.php" class="btn btn-default">Pesan</a></div></div>'
;
}
?>
<footer
class=
"footer"
style=
"margin-top:600px"
>
<div
class=
"icon"
>
<a
href=
"https://facebook.com"
target=
"_blank"
><i
class=
"fa fa-facebook"
style=
"font-size: 20px;"
></i></a>
<a
href=
"https://instagram.com"
target=
"_blank"
><i
class=
"fa fa-instagram"
style=
"font-size: 20px;"
></i></a>
<a
href=
"https://twitter.com"
target=
"_blank"
><i
class=
"fa fa-twitter"
style=
"font-size: 20px;"
></i></a>
<a
href=
"https://gmail.com"
target=
"_blank"
><i
class=
"fa fa-google-plus"
style=
"font-size: 20px;"
></i></a>
</div>
<p>
BUKIT GIBEON
</p>
<p>
Sekolah Misi Interdenominasi Gereja
</p>
<hr><hr>
<p>
Copyright
&
copy All Right Reserved - Kelompok PA1-1617-D3TI08 - 2016
</p>
</footer>
</body>
</html>
\ No newline at end of file
detailkamar.php
0 → 100644
View file @
261beb11
<?php
require_once
(
dirname
(
__FILE__
)
.
'/header.php'
);
?>
<head>
<meta
charset=
"utf-8"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1"
>
<title>
BUKIT GIBEON
</title>
<link
rel=
"shortcut icon"
href=
"images/inst.png"
>
<link
href=
"css/bootstrap.min.css"
rel=
"stylesheet"
>
<link
href=
"css/animate.css"
rel=
"stylesheet"
>
<link
href=
"css/myStyle.css"
rel=
"stylesheet"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"css/font-awesome.min.css"
>
<script
src=
"js/jquery-3.1.1.min.js"
></script>
<script
src=
"js/bootstrap.min.js"
></script>
</head>
<body
background=
"images/eirene.jpg"
>
<?php
require_once
(
dirname
(
__FILE__
)
.
'/fungsi.php'
);
$profil
=
getProfil
();
$query
=
mysql_query
(
"SELECT * FROM kamar WHERE id='
$_GET[id]
'"
);
$data
=
mysql_fetch_array
(
$query
);
?>
<br><br><br><br>
;
<div
class=
"hero-unit"
style=
"margin-left: 300px; margin-bottom: 126px;"
>
<table>
<tr>
<td
rowspan=
"5"
><img
src=
"
<?php
echo
$data
[
'gambar'
];
?>
"
style=
"width:300px; height : 300px;"
/></td>
</tr>
<tr>
<td></td>
<td
size=
"0"
><h3>
Nama
</h3></td>
<td><h3>
:
</h3></td>
<td
colspan=
"4"
><div
class=
"title"
><h3>
<?php
echo
$data
[
'nama kamar'
];
?>
</h3></div></td>
</tr>
<tr>
<td></td>
<td
size=
"0"
><h3>
Harga
</h3></td>
<td><h3>
:
</h3></td>
<td
colspan=
"4"
><div
class=
"title"
><h3>
Rp.
<?php
echo
$data
[
'harga'
];
?>
/orang
</h3></div></td>
</tr>
<tr>
<td></td>
<td><h3>
Kapasitas
</h3></td>
<td><h3>
:
</h3></td>
<td
colspan=
"4"
><div
class=
"title"
><h3>
<?php
echo
$data
[
'kapasitas kamar'
]
;
?>
Orang
</h3></div></td></td>
</tr>
</table>
</div>
</body>
<footer
class=
"footer"
>
<div
class=
"icon"
>
<a
href=
"https://facebook.com"
target=
"_blank"
><i
class=
"fa fa-facebook"
style=
"font-size: 20px;"
></i></a>
<a
href=
"https://instagram.com"
target=
"_blank"
><i
class=
"fa fa-instagram"
style=
"font-size: 20px;"
></i></a>
<a
href=
"https://twitter.com"
target=
"_blank"
><i
class=
"fa fa-twitter"
style=
"font-size: 20px;"
></i></a>
<a
href=
"https://gmail.com"
target=
"_blank"
><i
class=
"fa fa-google-plus"
style=
"font-size: 20px;"
></i></a>
</div>
<p>
BUKIT GIBEON
</p>
<p>
Sekolah Misi Interdenominasi Gereja
</p>
<hr>
<p>
Copyright
&
copy All Right Reserved - Kelompok PA1-1617-D3TI08 - 2016
</p>
</footer>
\ No newline at end of file
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