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
622df3e4
Commit
622df3e4
authored
May 16, 2017
by
Mei Romauli Sagala
Browse files
Options
Browse Files
Download
Plain Diff
merapikan code
parents
92b5916a
a98fadb6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
header.php
common/header.php
+6
-5
list_menu.php
list_menu.php
+0
-1
No files found.
common/header.php
View file @
622df3e4
...
...
@@ -22,25 +22,26 @@
<?php
if
(
isset
(
$_SESSION
[
'admin'
])){
echo
'<li><a href="list_menu.php" ><span class="glyphicon glyphicon-th-list"></span>
Menu Makanan
</a></li>'
;
echo
'<li><a href="list_menu.php" ><span class="glyphicon glyphicon-th-list"></span>
Olah Menu
</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>'
;
echo
' <li><a href="list_menu_member.php" ><span class="glyphicon glyphicon-th-list"></span>
List Menu
</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 BulBul
</a></li>
</ul>
<ul
class=
"nav navbar-nav navbar-right"
>
<?php
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>'
;
}
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>
feedback
</a></li>
<?php
if
(
isset
(
$_SESSION
[
'user'
])
||
isset
(
$_SESSION
[
'admin'
])){
...
...
list_menu.php
View file @
622df3e4
...
...
@@ -69,7 +69,6 @@ $start = ($page - 1) * $per_hal;
?>
</td>
<td>
<a
href=
"detail.php?id=
<?php
echo
$b
[
'id_menu'
];
?>
"
class=
"btn btn-success"
><span
class=
"glyphicon glyphicon-eye-open"
>
</span></a>
<a
href=
"edit.php?id=
<?php
echo
$b
[
'id_menu'
];
?>
"
class=
"btn btn-info"
><span
class=
"glyphicon glyphicon-edit"
></span></a>
<a
onclick=
"if (confirm('Apakah anda yakin ingin menghapus data ini ??')) {
location.href = 'delete.php?id=
<?php
echo
$b
[
'id_menu'
];
?>
'
...
...
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