Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
RestoranPondokEdo
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
Mei Romauli Sagala
RestoranPondokEdo
Commits
13019915
Commit
13019915
authored
May 16, 2017
by
Mei Romauli Sagala
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
perubahan tampilan sesuai role user
parent
972c0fc8
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
5 deletions
+22
-5
footer.php
common/footer.php
+1
-2
header.php
common/header.php
+21
-3
No files found.
common/footer.php
View file @
13019915
</div>
</div>
<div
class=
"container-fluid"
>
<nav
class=
"nav navbar-inverse"
>
<nav
class=
"nav navbar-inverse"
>
<h5>
Copyright
©
2017 - PA1-1617-D3TI04 - All Right Reserved
</h5>
<h5>
Copyright
©
2017 - PA1-1617-D3TI04 - All Right Reserved
</h5>
</nav>
</nav>
</div>
</div>
</div>
</body>
</body>
...
...
common/header.php
View file @
13019915
<?php
session_start
();
?>
<!DOCTYPE html>
<!DOCTYPE html>
<html>
<html>
<head>
<head>
<title>
Restoran Pondok Edo
</title>
<title>
Restoran Pondok Edo
</title>
<link
href=
"css/bootstrap.min.css"
rel=
"stylesheet"
>
<link
href=
"css/bootstrap.min.css"
rel=
"stylesheet"
>
<link
href=
"css/myStyle.css"
rel=
"stylesheet"
>
<link
href=
"css/myStyle.css"
rel=
"stylesheet"
>
<script
type=
"text/javascript"
src=
"js/jquery-ui/jquery-ui.js"
></script>
<script
src=
"js/jquery-3.1.1.min.js"
></script>
<script
src=
"js/jquery-3.1.1.min.js"
></script>
<script
src=
"js/bootstrap.min.js"
></script>
<script
src=
"js/bootstrap.min.js"
></script>
</head>
</head>
...
@@ -17,15 +19,31 @@
...
@@ -17,15 +19,31 @@
</div>
</div>
<ul
class=
"nav navbar-nav"
>
<ul
class=
"nav navbar-nav"
>
<li
class=
"active"
><a
href=
"index.php"
><span
class=
"glyphicon glyphicon-home"
></span>
Home
</a></li>
<li
class=
"active"
><a
href=
"index.php"
><span
class=
"glyphicon glyphicon-home"
></span>
Home
</a></li>
<li><a
href=
"list_menu.php"
><span
class=
"glyphicon glyphicon-th-list"
></span>
Menu Makanan
</a></li>
<?php
if
(
isset
(
$_SESSION
[
'admin'
])){
echo
'<li><a href="list_menu.php" ><span class="glyphicon glyphicon-th-list"></span> Menu Makanan</a></li>'
;
}
elseif
(
isset
(
$_SESSION
[
'user'
])){
echo
' <li><a href="list_menu_member.php" ><span class="glyphicon glyphicon-th-list"></span> Menu Makanan</a></li>'
;
}
?>
<li><a
href=
"bulbul.php"
><span
class=
"glyphicon glyphicon-camera"
></span>
Profil Pantai BulBul
</a></li>
<li><a
href=
"bulbul.php"
><span
class=
"glyphicon glyphicon-camera"
></span>
Profil Pantai BulBul
</a></li>
</ul>
</ul>
<ul
class=
"nav navbar-nav navbar-right"
>
<ul
class=
"nav navbar-nav navbar-right"
>
<li><a
href=
"cart.php"
><span
class=
"glyphicon glyphicon-shopping-cart "
></span>
Cart
</a></li>
<?php
if
(
isset
(
$_SESSION
[
'admin'
])){
echo
'<li><a href="daftar_pesanan.php"><span class="glyphicon glyphicon-shopping-cart "></span> Daftar comment</a></li>'
;
}
elseif
(
isset
(
$_SESSION
[
'user'
])){
echo
'<li><a href="cart.php"><span class="glyphicon glyphicon-shopping-cart "></span> Cart</a></li>'
;
}
?>
<li><a
href=
"form_comment.php"
><span
class=
"glyphicon glyphicon-comment"
></span>
kritik dan saran
</a></li>
<li><a
href=
"form_comment.php"
><span
class=
"glyphicon glyphicon-comment"
></span>
kritik dan saran
</a></li>
<?php
<?php
if
(
isset
(
$_SESSION
[
'is_logged_
in'
])){
if
(
isset
(
$_SESSION
[
'user'
])
||
isset
(
$_SESSION
[
'adm
in'
])){
echo
"<li><a href='form_login.php?logout'><span class='glyphicon glyphicon-log-out'></span> Logout</a></li>"
;
echo
"<li><a href='form_login.php?logout'><span class='glyphicon glyphicon-log-out'></span> Logout</a></li>"
;
}
}
else
{
else
{
...
...
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