diff options
author | Frankie B <floppydisk05@aol.com> | 2022-11-15 22:20:35 +0000 |
---|---|---|
committer | Frankie B <floppydisk05@aol.com> | 2022-11-15 22:20:35 +0000 |
commit | 41efcbfbe5be1aafea665332f55cce74b27d6a3d (patch) | |
tree | 948cd688a7530d45c00d7c79f79e50e22027d5f6 /guestbook | |
parent | d750dcc4d266ed5576599fcca4c9a996efc83ec4 (diff) |
Move header and footer to .inc.php
Diffstat (limited to 'guestbook')
-rwxr-xr-x | guestbook/index.php | 6 | ||||
-rwxr-xr-x | guestbook/submit.php | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/guestbook/index.php b/guestbook/index.php index c608664..b3ca930 100755 --- a/guestbook/index.php +++ b/guestbook/index.php @@ -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> @@ -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"> @@ -64,7 +64,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 --> diff --git a/guestbook/submit.php b/guestbook/submit.php index ffaf4a6..6c377b3 100755 --- a/guestbook/submit.php +++ b/guestbook/submit.php @@ -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 --> |