Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
PondokEdo
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
Roy Junedi Simamora
PondokEdo
Commits
28c006cc
Commit
28c006cc
authored
May 18, 2017
by
Roy Junedi Simamora
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Perubahan header untuk penambahan halaman profil pantai bulbul
parent
d0c1b693
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
64 additions
and
63 deletions
+64
-63
header.php
common/header.php
+64
-63
No files found.
common/header.php
View file @
28c006cc
<?php
session_start
();
?>
<?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
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>
<body>
<body>
<div
class=
"container"
>
<div
class=
"container"
>
<nav
class=
"navbar navbar-inverse"
>
<nav
class=
"navbar navbar-inverse"
>
<div
class=
"container-fluid"
>
<div
class=
"container-fluid"
>
<div
class=
"navbar-header"
>
<div
class=
"navbar-header"
>
<a
href=
"index.html"
><img
src=
"picture/logo1.png"
></a>
<a
href=
"index.html"
><img
src=
"picture/logo1.png"
></a>
</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>
<?php
<?php
if
(
isset
(
$_SESSION
[
'admin'
])){
if
(
isset
(
$_SESSION
[
'admin'
])){
echo
'<li><a href="admin_menu.php" ><span class="glyphicon glyphicon-th-list"></span>Olah Menu</a></li>'
;
echo
'<li><a href="admin_menu.php" ><span class="glyphicon glyphicon-th-list"></span>Olah Menu</a></li>'
;
}
}
elseif
(
isset
(
$_SESSION
[
'user'
])){
elseif
(
isset
(
$_SESSION
[
'user'
])){
echo
' <li><a href="member_menu.php" ><span class="glyphicon glyphicon-th-list"></span>List Menu</a></li>'
;
echo
' <li><a href="member_menu.php" ><span class="glyphicon glyphicon-th-list"></span>List Menu</a></li>'
;
}
}
?>
?>
<li><a
href=
"
bulbul.php"
><span
class=
"glyphicon glyphicon-camera"
></span>
Profil BulBul
</a></li>
<li><a
href=
"
profil_bulbul.php"
><span
class=
"glyphicon glyphicon-camera"
></span>
Profil BulBul
</a></li>
</ul>
</ul>
<ul
class=
"nav navbar-nav navbar-right"
>
<ul
class=
"nav navbar-nav navbar-right"
>
<?php
<?php
if
(
isset
(
$_SESSION
[
'admin'
])){
if
(
isset
(
$_SESSION
[
'admin'
])){
echo
'<li><a href="daftar_pesanan.php"><span class="glyphicon glyphicon-shopping-cart "></span> Daftar Pesanan</a></li>
echo
'<li><a href="daftar_pesanan.php"><span class="glyphicon glyphicon-shopping-cart "></span> Daftar Pesanan</a></li>
<li><a href="daftar_komen.php"><span class="glyphicon glyphicon-comment"></span>List feedback</a></li>'
;
<li><a href="daftar_komen.php"><span class="glyphicon glyphicon-comment"></span>List feedback</a></li>'
;
}
}
elseif
(
isset
(
$_SESSION
[
'user'
])){
elseif
(
isset
(
$_SESSION
[
'user'
])){
echo
'<li><a href="cart.php"><span class="glyphicon glyphicon-shopping-cart "></span> Cart</a></li>'
;
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>
feedback
</a></li>
<li><a
href=
"form_comment.php"
><span
class=
"glyphicon glyphicon-comment"
></span>
feedback
</a></li>
<?php
<?php
if
(
isset
(
$_SESSION
[
'user'
])
||
isset
(
$_SESSION
[
'admin'
])){
if
(
isset
(
$_SESSION
[
'user'
])
||
isset
(
$_SESSION
[
'admin'
])){
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
{
echo
'<li><a href="form_login.php"><span class="glyphicon glyphicon-log-in"></span> login</a></li>'
;
echo
'<li><a href="form_login.php"><span class="glyphicon glyphicon-log-in"></span> login</a></li>'
;
}
}
if
(
isset
(
$_GET
[
'logout'
])){
if
(
isset
(
$_GET
[
'logout'
])){
ob_start
();
ob_start
();
session_start
();
session_start
();
ob_end_clean
();
ob_end_clean
();
session_destroy
();
session_destroy
();
header
(
"location:form_login.php"
);
header
(
"location:form_login.php"
);
}
}
?>
?>
</ul>
</ul>
</div>
</div>
</nav>
</nav>
<div
class=
"container-fluid"
style=
"background-color: #c0c0c0;"
>
<div
class=
"container-fluid"
style=
"background-color: #c0c0c0;"
>
\ 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