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
afd1f261
Commit
afd1f261
authored
7 years ago
by
Roy Junedi Simamora
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
edit
parent
d2e983a8
master
No related merge requests found
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
8 deletions
+10
-8
header.php
common/header.php
+10
-8
No files found.
common/header.php
View file @
afd1f261
...
@@ -19,15 +19,17 @@
...
@@ -19,15 +19,17 @@
</div>
</div>
<ul
class=
"nav navbar-nav"
>
<ul
class=
"nav navbar-nav"
>
<li><a
href=
"index.php"
><span
class=
"glyphicon glyphicon-home"
></span>
Home
</a></li>
<li><a
href=
"index.php"
><span
class=
"glyphicon glyphicon-home"
></span>
Home
</a></li>
<?php
<?php
if
(
isset
(
$_SESSION
[
'admin'
])){
if
(
!
isset
(
$_SESSION
[
'user'
])
&&
!
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="member_menu.php" ><span class="glyphicon glyphicon-th-list"></span>List Menu</a></li>'
;
}
}
else
if
(
isset
(
$_SESSION
[
'admin'
])){
elseif
(
isset
(
$_SESSION
[
'user'
])){
echo
'<li><a href="admin_menu.php" ><span class="glyphicon glyphicon-th-list"></span>Olah Menu</a></li>'
;
echo
' <li><a href="member_menu.php" ><span class="glyphicon glyphicon-th-list"></span>List Menu</a></li>'
;
}
else
if
(
isset
(
$_SESSION
[
'user'
])){
$username
=
$_SESSION
[
'username'
];
echo
' <li><a href="member_menu.php" ><span class="glyphicon glyphicon-th-list"></span>List Menu</a></li>'
;
}
$username
=
$_SESSION
[
'username'
];
}
?>
?>
<li><a
href=
"profil_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>
...
...
This diff is collapsed.
Click to expand it.
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