Move header and footer to .inc.php
This commit is contained in:
parent
d750dcc4d2
commit
41efcbfbe5
13 changed files with 60 additions and 160 deletions
|
@ -3,7 +3,7 @@
|
|||
<html lang="en">
|
||||
<head>
|
||||
<!-- Global -->
|
||||
<?php require('../inc/head.html'); ?>
|
||||
<?php require('../inc/header.inc.php'); ?>
|
||||
|
||||
<!-- Page-specific -->
|
||||
<title>Bookmarks</title>
|
||||
|
@ -14,7 +14,7 @@
|
|||
</head>
|
||||
<body>
|
||||
<div class="page">
|
||||
<?php require('../inc/nav.php') ?>
|
||||
<?php require('../inc/nav.inc.php') ?>
|
||||
|
||||
<div id="pagebody">
|
||||
<div id="content">
|
||||
|
@ -22,7 +22,7 @@
|
|||
</div> <!-- content -->
|
||||
|
||||
<div id="footer" class="pagefooter">
|
||||
<?php $file = __FILE__;require('../inc/footer.php'); ?>
|
||||
<?php $file = __FILE__;require('../inc/footer.inc.php'); ?>
|
||||
</div> <!-- footer -->
|
||||
</div> <!-- pagebody -->
|
||||
</div> <!-- page -->
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue