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
e3f271fa
Commit
e3f271fa
authored
Jun 14, 2017
by
Eirene Hutasoit
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mengedit
parent
dc8241c6
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
50 additions
and
22 deletions
+50
-22
Daftar_pesanan.php
Daftar_pesanan.php
+1
-1
myStyle.css
css/myStyle.css
+1
-1
stylee.css
css/stylee.css
+3
-4
daftarkamar.php
daftarkamar.php
+4
-5
header.php
header.php
+16
-6
konfirmasi.php
konfirmasi.php
+3
-2
login_proses.php
login_proses.php
+1
-0
memesan.php
memesan.php
+21
-3
No files found.
Daftar_pesanan.php
View file @
e3f271fa
...
...
@@ -56,7 +56,7 @@
</form>
<ul
class=
"nav menu"
>
<li><a
href=
"home.php"
><svg
class=
"glyph stroked dashboard-dial"
><use
xlink:href=
"#stroked-dashboard-dial"
></use></svg>
Dashboard
</a></li>
<li
class=
"active"
><a
href=
"home.php"
><svg
class=
"glyph stroked dashboard-dial"
><use
xlink:href=
"#stroked-dashboard-dial"
></use></svg>
Dashboard
</a></li>
<li><a
href=
"isikeluhan.php"
><svg
class=
"glyph stroked calendar"
><use
xlink:href=
"#stroked-calendar"
></use></svg>
DAFTAR KELUHAN
</a></li>
<li><a
href=
"Daftar_pesanan.php"
><svg
class=
"glyph stroked table"
><use
xlink:href=
"#stroked-table"
></use></svg>
PESANAN
</a></li>
<li><a
href=
"pengunjung.php"
><svg
class=
"glyph stroked table"
><use
xlink:href=
"#stroked-table"
></use></svg>
Daftar Pengunjung
</a></li>
...
...
css/myStyle.css
View file @
e3f271fa
...
...
@@ -352,7 +352,7 @@ hr{
}
.hero
{
background
:
#fff
url(../img/bg-k10.png)
;
width
:
5
0
0px
;
width
:
5
5
0px
;
border-left
:
4px
solid
brown
;
padding
:
13px
13px
13px
15px
;
font-style
:
italic
;
...
...
css/stylee.css
View file @
e3f271fa
...
...
@@ -34,7 +34,7 @@ a.hiddenanchor{
}
/** The wrapper that will contain our two forms **/
#wrapper
{
width
:
6
0%
;
width
:
7
0%
;
right
:
0px
;
min-height
:
560px
;
margin
:
0px
auto
;
...
...
@@ -111,7 +111,7 @@ input {
/* all the input except submit and checkbox */
#wrapper
input
:not
([
type
=
"checkbox"
])
{
width
:
92
%
;
width
:
100
%
;
margin-top
:
4px
;
padding
:
10px
5px
10px
32px
;
border
:
1px
solid
rgb
(
178
,
178
,
178
);
...
...
@@ -380,4 +380,4 @@ p.change_link{
position
:
absolute
;
height
:
90px
;
background
:
transparent
;
}
\ No newline at end of file
}
daftarkamar.php
View file @
e3f271fa
...
...
@@ -28,15 +28,14 @@ require_once(dirname(__FILE__).'/header.php');
{
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></div></div>'
;
<center><div><a href="detailkamar.php?id='
.
$data
[
'id'
]
.
'" class="btn btn-default">Detail</a>
<a href="memesan.php?id='
.
$data
[
'id'
]
.
'" class="btn btn-default" style="background:; color:red">Pesan Kamar</a></div></div>'
;
}
?>
<div
class=
"pesan"
style=
"padding-top:70px; margin-right:50px; padding-left:90px"
>
<center><a
href=
"memesan.php?id='. $data['id'].'"
class=
"btn btn-default"
style=
"width:300px; background:; color:red"
>
Pesan Kamar
</a>
</div>
<footer
class=
"footer"
style=
"margin-top:30px"
>
<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>
...
...
header.php
View file @
e3f271fa
...
...
@@ -32,7 +32,7 @@ if(isset($_GET['out'])){
<a
href=
"rumahretret.php"
>
Rumah retreat
</a>
<ul
class=
"dropdown-menu"
>
<
<
a
href=
"daftarkamar.php"
>
Daftar Kamar
</a>
<a
href=
"
daftarkamar.php"
>
Daftar Kamar
</a>
<a
href=
"
konfirmasipemesanan.php"
>
Konfirmasi Pemesanan
</a>
</ul>
</li>
<li><a
href=
"rumahdoa.php"
>
Rumah Doa
</a>
...
...
@@ -44,6 +44,7 @@ if(isset($_GET['out'])){
<li><a
href=
"aboutus.php"
>
FEEDBACK
</a></li>
<li><a
href=
"daftarkamar.php"
>
DAFTAR KAMAR
</a></li>
<li><a
href=
"contactus.php"
>
Contact Us
</a></li>
</ul>
</li>
</ul>
...
...
@@ -67,24 +68,33 @@ if(isset($_GET['out'])){
</li>
</ul>
</li>
<li><a
href=
"rumahdoa.php"
>
Rumah Doa
</a></li>
</ul>
</li>
<li><a
href=
"aboutus.php"
>
Feedback
</a></li>
<li><a
href=
"daftarkamar.php"
>
Daftar Kamar
</a></li>
<li><a
href=
"contactus.php"
>
Contact Us
</a></li>
<?php
if
(
!
isset
(
$_SESSION
[
'is_logged_in'
]))
{
echo
'<li><a href="login.php">Login</a></li>'
;
}
else
{
echo
'<li><a href="index.php?out">LOGOUT ('
.
$_SESSION
[
'username'
]
.
')</a></li>'
;
}
?>
<li><a
href=
"aboutus.php"
>
Feedback
</a></li>
<li><a
href=
"daftarkamar.php"
>
Daftar Kamar
</a></li>
<li><a
href=
"contactus.php"
>
Contact Us
</a></li>
echo
'
<li class="dropdown"><a href="index.php?out" class="dropdown-toggle" data-toggle="dropdown" >USER ('
.
$_SESSION
[
'username'
]
.
')</a>
<ul class="dropdown-menu">
<li><a href="index.php?out">Logout</a></li>
<li><a href="changepassword.php">Change Password</a></li>
</ul>
</li>'
;
}
?>
</ul>
</div>
</div>
...
...
konfirmasi.php
View file @
e3f271fa
...
...
@@ -13,9 +13,9 @@ move_uploaded_file($_FILES['gambar']['tmp_name'], 'gambar/' .$bukti);
$action
=
mysqli_query
(
$conn
,
"INSERT INTO pembayaran VALUES('', '
$id_pemesanan
', '
$total
', '
$bukti
', '')"
);
if
(
!
$action
){
echo
mysqli_error
()
;
echo
"<script>alert('Konfirmasi Anda Gagal Dikirim');window.location.href='konfirmasipemesanan.php';</script>"
;
}
else
{
echo
"<script>alert('
berhasil
');window.location.href='konfirmasipemesanan.php';</script>"
;
echo
"<script>alert('
Konfirmasi Anda Telah Berhasil Dikirim
');window.location.href='konfirmasipemesanan.php';</script>"
;
}
?>
\ No newline at end of file
login_proses.php
View file @
e3f271fa
...
...
@@ -21,6 +21,7 @@ if($check>=0){
$_SESSION
[
'email'
]
=
$r
[
'email'
];
if
(
$r
[
'role'
]
==
'admin'
){
header
(
'LOCATION: home.php'
);
$_SESSION
[
'admin'
]
=
TRUE
;
...
...
memesan.php
View file @
e3f271fa
...
...
@@ -24,10 +24,28 @@
<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"
>
<link
rel=
"stylesheet"
href=
"css/default.css"
>
<script
src=
"js/jquery-3.1.1.min.js"
></script>
<script
src=
"js/bootstrap.min.js"
></script>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"css/stylee.css"
/>
<script
src=
"js/jquery.min.js"
></script>
<script
src=
"js/zebra_datepicker.js"
></script>
<script
src=
"js/bootstrap.min.js"
></script>
<script>
$
(
document
).
ready
(
function
(){
$
(
'#datepicker-example7-start'
).
Zebra_DatePicker
({
direction
:
true
,
pair
:
$
(
'#datepicker-example7-end'
)
});
$
(
'#datepicker-example7-end'
).
Zebra_DatePicker
({
direction
:
1
});
});
</script>
</head>
<body
background=
"images/eirene.jpg"
>
<?php
include_once
(
'header.php'
);
...
...
@@ -53,7 +71,7 @@
<table>
<tr>
<td
width=
"200px"
>
Nama Pengunjung
</td>
<td
width=
"1
5
0px"
>
:
</td>
<td
width=
"10px"
>
:
</td>
<td><input
type=
"text"
name=
"nama"
id=
"nama"
value=
'
<?php
echo
$nama
?>
'
readonly
</
td
>
</tr>
...
...
@@ -79,12 +97,12 @@
<tr>
<td>
Tanggal Mulai
</td>
<td>
:
</td>
<td
width=
"300px"
><input
type=
"date"
name=
"waktumulai"
id=
"
nama
"
required
></td>
<td
width=
"300px"
><input
type=
"date"
name=
"waktumulai"
id=
"
datepicker-example7-start
"
required
></td>
</tr>
<tr>
<td>
Tanggal Selesai
</td>
<td>
:
</td>
<td><input
type=
"date"
name=
"waktuselesai"
id=
"
nama
"
required
></td>
<td><input
type=
"date"
name=
"waktuselesai"
id=
"
datepicker-example7-end
"
required
></td>
</tr>
</table>
</p>
...
...
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