Move header and footer to .inc.php

This commit is contained in:
Frankie B 2022-11-15 22:20:35 +00:00
commit 41efcbfbe5
13 changed files with 60 additions and 160 deletions

View file

@ -3,7 +3,7 @@
<html lang="en">
<head>
<!-- Global -->
<?php require('../inc/head.html'); ?>
<?php require('../inc/header.inc.php'); ?>
<!-- Page-specific -->
<title>Guestbook</title>
@ -12,7 +12,7 @@
</head>
<body>
<div class="page">
<?php require('../inc/nav.php') ?>
<?php require('../inc/nav.inc.php') ?>
<div id="pagebody">
<div id="content">
@ -49,7 +49,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 -->