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
e4e70b66
Commit
e4e70b66
authored
May 21, 2017
by
Suryaningsih Sinaga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
menampilakan keluhan yang disampaikan pengunjung
parent
7bafcf4e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
132 additions
and
0 deletions
+132
-0
isikeluhan.php
isikeluhan.php
+132
-0
No files found.
isikeluhan.php
0 → 100644
View file @
e4e70b66
<?php
session_start
();
include_once
(
'fungsi.php'
);
if
(
!
isset
(
$_SESSION
[
'admin'
])){
header
(
"location: login.php"
);
}
?>
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"utf-8"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1"
>
<title>
PENELOLA GIBEON
</title>
<link
href=
"css/bootstrap.min.css"
rel=
"stylesheet"
>
<link
href=
"css/datepicker3.css"
rel=
"stylesheet"
>
<link
href=
"css/styles.css"
rel=
"stylesheet"
>
<!--Icons-->
<script
src=
"js/lumino.glyphs.js"
></script>
<!--[if lt IE 9]>
<script src="js/html5shiv.js"></script>
<script src="js/respond.min.js"></script>
<![endif]-->
</head>
<body>
<nav
class=
"navbar navbar-inverse navbar-fixed-top"
role=
"navigation"
>
<div
class=
"container-fluid"
>
<div
class=
"navbar-header"
>
<button
type=
"button"
class=
"navbar-toggle collapsed"
data-toggle=
"collapse"
data-target=
"#sidebar-collapse"
>
<span
class=
"sr-only"
>
Toggle navigation
</span>
<span
class=
"icon-bar"
></span>
<span
class=
"icon-bar"
></span>
<span
class=
"icon-bar"
></span>
</button>
<a
class=
"navbar-brand"
href=
"#"
><span>
GIBEON
</span>
Admin
</a>
<ul
class=
"user-menu"
>
<li
class=
"dropdown pull-right"
>
<a
href=
"#"
class=
"dropdown-toggle"
data-toggle=
"dropdown"
><svg
class=
"glyph stroked male-user"
><use
xlink:href=
"#stroked-male-user"
></use></svg>
User
<span
class=
"caret"
></span></a>
<ul
class=
"dropdown-menu"
role=
"menu"
>
<li><a
href=
"Logout.php"
><svg
class=
"glyph stroked cancel"
><use
xlink:href=
"#stroked-cancel"
></use></svg>
Logout
</a></li>
</ul>
</li>
</ul>
</div>
</div>
<!-- /.container-fluid -->
</nav>
<div
id=
"sidebar-collapse"
class=
"col-sm-3 col-lg-2 sidebar"
>
<form
role=
"search"
>
</form>
<ul
class=
"nav menu"
>
<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
role=
"presentation"
class=
"divider"
></li>
</ul>
</div>
<!--/.sidebar-->
<div
class=
"col-sm-9 col-sm-offset-3 col-lg-10 col-lg-offset-2 main"
>
<div
class=
"row"
>
<ol
class=
"breadcrumb"
>
<li><a
href=
"home.php"
><svg
class=
"glyph stroked home"
><use
xlink:href=
"#stroked-home"
></use></svg></a></li>
<li
class=
"active"
>
Icons
</li>
</ol>
</div>
<!--/.row-->
<script
src=
"js/jquery-1.11.1.min.js"
></script>
<script
src=
"js/bootstrap.min.js"
></script>
<script
src=
"js/chart.min.js"
></script>
<script
src=
"js/chart-data.js"
></script>
<script
src=
"js/easypiechart.js"
></script>
<script
src=
"js/easypiechart-data.js"
></script>
<script
src=
"js/bootstrap-datepicker.js"
></script>
<script>
$
(
'#calendar'
).
datepicker
({
});
!
function
(
$
)
{
$
(
document
).
on
(
"click"
,
"ul.nav li.parent > a > span.icon"
,
function
(){
$
(
this
).
find
(
'em:first'
).
toggleClass
(
"glyphicon-minus"
);
});
$
(
".sidebar span.icon"
).
find
(
'em:first'
).
addClass
(
"glyphicon-plus"
);
}(
window
.
jQuery
);
$
(
window
).
on
(
'resize'
,
function
()
{
if
(
$
(
window
).
width
()
>
768
)
$
(
'#sidebar-collapse'
).
collapse
(
'show'
)
})
$
(
window
).
on
(
'resize'
,
function
()
{
if
(
$
(
window
).
width
()
<=
767
)
$
(
'#sidebar-collapse'
).
collapse
(
'hide'
)
})
</script>
<h3>
Keluhan Pengunjung
</h3>
<table
cellpadding=
"5"
cellspacing=
"10"
border=
"1"
>
<tr>
<th>
ID
</th>
<th>
Nama Pengunjung
</th>
<th>
Email Pengunjung
</th>
<th
style=
"width:400px;"
>
Isi Keluhan
</th>
</tr>
<?php
require_once
(
dirname
(
__FILE__
)
.
'/fungsi.php'
);
$keluhan
=
getAllKeluhan
();
//jika data tidak kosong, maka akan melakukan perulangan while
$no
=
1
;
//membuat variabel $no untuk membuat nomor urut
foreach
(
$keluhan
as
$data
)
{
//perulangan while dg membuat variabel $data yang akan mengambil data di database
//menampilkan row dengan data di database
echo
'<tr>'
;
echo
'<td>'
.
$data
[
'id'
]
.
'</td>'
;
echo
'<td>'
.
$data
[
'nama_pengunjung'
]
.
'</td>'
;
echo
'<td>'
.
$data
[
'email_pengunjung'
]
.
'</td>'
;
echo
'<td>'
.
$data
[
'isi_keluhan'
]
.
'</td>'
;
echo
'</tr>'
;
}
?>
</body>
</html>
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