Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
PA1-1617-D3TI05
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
Fredrick Mangampu Theodorus Pardosi
PA1-1617-D3TI05
Commits
ab8fec57
Commit
ab8fec57
authored
May 11, 2017
by
Fredrick Mangampu Theodorus Pardosi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
membuat footer dan header
parents
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
116 additions
and
0 deletions
+116
-0
footer.php
common/footer.php
+53
-0
header.php
common/header.php
+63
-0
No files found.
common/footer.php
0 → 100644
View file @
ab8fec57
<!DOCTYPE html>
<html
lang=
"en"
>
<head>
<title>
Cafe Bunga Toba
</title>
<meta
charset=
"utf-8"
>
<link
rel=
"stylesheet"
href=
"css/reset.css"
type=
"text/css"
media=
"all"
>
<link
rel=
"stylesheet"
href=
"css/layout.css"
type=
"text/css"
media=
"all"
>
<link
rel=
"stylesheet"
href=
"css/style.css"
type=
"text/css"
media=
"all"
>
<script
type=
"text/javascript"
src=
"js/jquery-1.6.js"
></script>
<script
type=
"text/javascript"
src=
"js/jquery.easing.1.3.js"
></script>
<script
type=
"text/javascript"
src=
"js/tms-0.3.js"
></script>
<script
type=
"text/javascript"
src=
"js/tms_presets.js"
></script>
<script
type=
"text/javascript"
src=
"js/script.js"
></script>
<!--[if lt IE 9]>
<script type="text/javascript" src="js/html5.js"></script>
<style type="text/css">#menu a, .bg, .bg2, #ContactForm a {behavior:url("../js/PIE.htc")}</style>
<![endif]-->
</head>
<body
id=
"page4"
>
<div
class=
"main"
>
<!-- footer -->
<footer>
<div
class=
"wrapper"
>
<section
class=
"col2"
>
<div
class=
"wrapper"
>
<section
class=
"col4"
>
<h3>
Follow Us
</h3>
<ul
id=
"icons"
>
<li><a
href=
"#"
><img
src=
"images/icon1.jpg"
alt=
""
><span>
Facebook
</span></a></li>
<li><a
href=
"#"
><img
src=
"images/icon2.jpg"
alt=
""
><span>
Twitter
</span></a></li>
<li><a
href=
"#"
><img
src=
"images/icon3.jpg"
alt=
""
><span>
Linked In
</span></a></li>
</ul>
</section>
<section
class=
"col4 pad_left1"
>
<h3>
Why Us
</h3>
<ul
id=
"why_us"
>
<li><a
href=
"#"
>
Sed perspiciatis unde
</a></li>
<li><a
href=
"#"
>
Omnis natus error
</a></li>
<li><a
href=
"#"
>
Voluptatem accusantium
</a></li>
</ul>
</section>
</div>
<div
id=
"footer_link"
>
Copyright
©
<a
href=
"#"
>
Domain Name
</a>
All Rights Reserved
<br>
Design by
<a
target=
"_blank"
href=
"http://www.templatemonster.com/"
>
TemplateMonster.com
</a></div>
</section>
</div>
<!-- {%FOOTER_LINK} -->
</footer>
<!-- / footer -->
</div>
</body>
</html>
\ No newline at end of file
common/header.php
0 → 100644
View file @
ab8fec57
<?php
session_start
();
require_once
(
dirname
(
__DIR__
)
.
'../functions/fungsi.php'
);
open_page
(
'Index'
);
?>
<!DOCTYPE html>
<html
lang=
"en"
>
<head>
<title>
Cafe Bunga Toba
</title>
<meta
charset=
"utf-8"
>
<link
rel=
"stylesheet"
href=
"../css/reset.css"
type=
"text/css"
media=
"all"
>
<link
rel=
"stylesheet"
href=
"../css/layout.css"
type=
"text/css"
media=
"all"
>
<link
rel=
"stylesheet"
href=
"../css/style.css"
type=
"text/css"
media=
"all"
>
<script
type=
"text/javascript"
src=
"../js/jquery-1.6.js"
></script>
<script
type=
"text/javascript"
src=
"../js/jquery.easing.1.3.js"
></script>
<script
type=
"text/javascript"
src=
"../js/tms-0.3.js"
></script>
<script
type=
"text/javascript"
src=
"../js/tms_presets.js"
></script>
<script
type=
"text/javascript"
src=
"../js/script.js"
></script>
<!--[if lt IE 9]>
<script type="text/javascript" src="js/html5.js"></script>
<style type="text/css">#menu a, .bg, .bg2, #ContactForm a {behavior:url("../js/PIE.htc")}</style>
<![endif]-->
</head>
<body
id=
"page4"
>
<div
class=
"body1"
>
<div
class=
"main"
>
<!--header -->
<header>
<div
class=
"wrapper"
>
<h1><a
href=
"index.php"
id=
"logo"
>
Cafe Bunga Toba
</a></h1>
<nav>
<ul
id=
"menu"
>
<li
class=
"active"
><a
href=
"index.php"
>
Home
</a></li>
<?php
if
(
isset
(
$_SESSION
[
'isLogin'
])
&&
get_session
(
'role'
)
==
"admin"
)
{
echo
(
'<li><a href="menu.php">D Menu</a><br></li>'
);
echo
(
'<li><a href="checkout.php">Pemesanan</a><br></li>'
);
echo
(
'<li><a href="logout.php">Logout</a><br></li>'
);
}
else
if
(
isset
(
$_SESSION
[
'isLogin'
])
&&
get_session
(
'role'
)
==
"member"
)
{
echo
(
'<li><a href="menu.php">Menu</a><br></li>'
);
echo
(
'<li><a href="checkout.php"> Pemesanan</a><br></li>'
);
echo
(
'<li><a href="logout.php">Logout</a><br></li>'
);
}
else
{
echo
(
'<li><a href="menu.php">Menu</a><br></li>'
);
echo
(
'<li><a href="signup.php">Signup</a><br></li>'
);
echo
(
'<li><a href="login.php">Login</a><br></li>'
);
}
?>
<li><a
href=
"contact.php"
>
Contact
</a></li>
</ul>
</nav>
</div>
</header>
</div>
</div>
</body>
</html>
\ 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