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
3d28b584
Commit
3d28b584
authored
May 11, 2017
by
Mei Romauli Sagala
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Membuat header,footer,dan content.
parent
02cbd92f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
137 additions
and
0 deletions
+137
-0
content.php
common/content.php
+80
-0
footer.php
common/footer.php
+12
-0
header.php
common/header.php
+45
-0
No files found.
common/content.php
0 → 100644
View file @
3d28b584
<html>
<head>
<title>
Restoran Pondok Edo
</title>
<link
href=
"css/bootstrap.min.css"
rel=
"stylesheet"
>
<link
href=
"css/myStyle.css"
rel=
"stylesheet"
>
<script
src=
"js/jquery-3.1.1.min.js"
></script>
<script
src=
"js/bootstrap.min.js"
></script>
</head>
<body>
<div
class=
"container-fluid"
>
<div
id=
"myCarousel"
class=
"carousel slide"
data-ride=
"carousel"
>
<ol
class=
"carousel-indicators"
>
<li
data-target=
"#myCarousel"
data-slide-to=
"0"
class=
"active"
></li>
<li
data-target=
"#myCarousel"
data-slide-to=
"1"
></li>
<li
data-target=
"#myCarousel"
data-slide-to=
"2"
></li>
</ol>
<div
class=
"carousel-inner"
role=
"listbox"
>
<div
class=
"item active"
><img
src=
"picture/slide1.jpg"
></div>
<div
class=
"item"
><img
src=
"picture/slide2.jpg"
></div>
<div
class=
"item"
><img
src=
"img/slide/slide4.png"
></div>
</div>
<a
class=
"left carousel-control"
href=
"#myCarousel"
role=
"button"
data-slide=
"prev"
>
<span
class=
"glyphicon glyphicon-chevron-left"
aria-hidden=
"true"
></span>
<span
class=
"sr-only"
>
Previous
</span>
</a>
<a
class=
"right carousel-control"
href=
"#myCarousel"
role=
"button"
data-slide=
"next"
>
<span
class=
"glyphicon glyphicon-chevron-right"
aria-hidden=
"true"
></span>
<span
class=
"sr-only"
>
Next
</span>
</a>
</div>
</div>
<div
class=
"container"
>
<div
class=
"container-fluid col-md-8"
>
<h2>
Favorite Menu
</h2>
<hr>
<div
class=
"row"
>
<div
class=
"col-md-4"
>
<div
class=
"thumbnail"
>
<img
src=
"#"
>
<div
class=
"caption"
>
<h4
style=
"color:#3399ff;"
>
Big Soft Drink.1L
</h4>
<h4><b>
17.500,-
</b></h4>
<a
class=
"btn btn-warning"
href=
"cart.html"
>
add to cart
</a>
</div>
</div>
</div>
<div
class=
"col-md-4"
>
<div
class=
"thumbnail"
>
<img
src=
"#"
>
<div
class=
"caption"
>
<h4
style=
"color:#3399ff;"
>
Big Soft Drink.1L
</h4>
<h4><b>
17.500,-
</b></h4>
<a
class=
"btn btn-warning"
href=
"cart.html"
>
add to cart
</a>
</div>
</div>
</div>
<div
class=
"col-md-4"
>
<div
class=
"thumbnail"
>
<img
src=
"#"
>
<div
class=
"caption"
>
<h4
style=
"color:#3399ff;"
>
Big Soft Drink.1L
</h4>
<h4><b>
17.500,-
</b></h4>
<a
class=
"btn btn-warning"
href=
"cart.html"
>
add to cart
</a>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>
\ No newline at end of file
common/footer.php
0 → 100644
View file @
3d28b584
</div>
<div
class=
"container-fluid"
>
<nav
class=
"nav navbar-inverse"
>
<h5>
Copyright
©
2017 - PA1-1617-D3TI04 - All Right Reserved
</h5>
</nav>
</div>
</div>
</body>
</html>
\ No newline at end of file
common/header.php
0 → 100644
View file @
3d28b584
<!DOCTYPE html>
<html>
<head>
<title>
Restoran Pondok Edo
</title>
<link
href=
"css/bootstrap.min.css"
rel=
"stylesheet"
>
<link
href=
"css/myStyle.css"
rel=
"stylesheet"
>
<script
src=
"js/jquery-3.1.1.min.js"
></script>
<script
src=
"js/bootstrap.min.js"
></script>
</head>
<body>
<div
class=
"container"
>
<div
class=
"container-fluid"
>
<nav
class=
"navbar navbar-inverse"
>
<div
class=
"container-fluid"
>
<div
class=
"navbar-header"
>
<a
href=
"index.html"
><img
src=
"picture/logo1.png"
></a>
</div>
<ul
class=
"nav navbar-nav"
>
<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>
<li><a
href=
"bulbul.php"
><span
class=
"glyphicon glyphicon-camera"
></span>
Profil Pantai BulBul
</a></li>
</ul>
<ul
class=
"nav navbar-nav navbar-right"
>
<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>
<?php
if
(
isset
(
$_SESSION
[
'is_logged_in'
])){
echo
"<li><a href='form_login.php?logout'><span class='glyphicon glyphicon-log-out'></span> Logout</a></li>"
;
}
else
{
echo
'<li><a href="form_login.php"><span class="glyphicon glyphicon-log-in"></span> login</a></li>'
;
}
if
(
isset
(
$_GET
[
'logout'
])){
ob_start
();
session_start
();
ob_end_clean
();
session_destroy
();
header
(
"location:form_login.php"
);
}
?>
</ul>
</div>
</nav>
\ 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