From 41efcbfbe5be1aafea665332f55cce74b27d6a3d Mon Sep 17 00:00:00 2001 From: Frankie B Date: Tue, 15 Nov 2022 22:20:35 +0000 Subject: [PATCH] Move header and footer to .inc.php --- blank/index.php | 6 +- bookmarks/index.php | 6 +- calculators/index.php | 6 +- computers/index.php | 6 +- guestbook/index.php | 6 +- guestbook/submit.php | 6 +- inc/{footer.php => footer.inc.php} | 2 +- inc/{head.html => header.inc.php} | 0 inc/{nav.php => nav.inc.php} | 5 - index.php | 161 ++++++----------------------- me/index.php | 4 +- pics/index.php | 6 +- projects/index.php | 6 +- 13 files changed, 60 insertions(+), 160 deletions(-) rename inc/{footer.php => footer.inc.php} (70%) rename inc/{head.html => header.inc.php} (100%) rename inc/{nav.php => nav.inc.php} (86%) diff --git a/blank/index.php b/blank/index.php index 3f2dfc0..ae08eb1 100755 --- a/blank/index.php +++ b/blank/index.php @@ -3,7 +3,7 @@ - + Bookmarks @@ -14,7 +14,7 @@
- +
@@ -22,7 +22,7 @@
diff --git a/bookmarks/index.php b/bookmarks/index.php index 7bdb1ea..cdfa7bc 100755 --- a/bookmarks/index.php +++ b/bookmarks/index.php @@ -3,7 +3,7 @@ - + Bookmarks @@ -14,7 +14,7 @@
- +
@@ -48,7 +48,7 @@
diff --git a/calculators/index.php b/calculators/index.php index 1a9a600..c320f46 100755 --- a/calculators/index.php +++ b/calculators/index.php @@ -2,7 +2,7 @@ - + Calculators @@ -13,7 +13,7 @@
- +
@@ -134,7 +134,7 @@
diff --git a/computers/index.php b/computers/index.php index 1c85924..ea2b683 100755 --- a/computers/index.php +++ b/computers/index.php @@ -3,7 +3,7 @@ - + Computers @@ -14,7 +14,7 @@
- +
@@ -266,7 +266,7 @@
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 @@ - + Guestbook @@ -14,7 +14,7 @@
- +
@@ -64,7 +64,7 @@
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 @@ - + Guestbook @@ -12,7 +12,7 @@
- +
@@ -49,7 +49,7 @@
diff --git a/inc/footer.php b/inc/footer.inc.php similarity index 70% rename from inc/footer.php rename to inc/footer.inc.php index 13644a5..adc7fc4 100644 --- a/inc/footer.php +++ b/inc/footer.inc.php @@ -1,5 +1,5 @@
-    Valid CSS! Valid HTML 4.01!
+    Valid CSS! Valid HTML 4.01!
Last Modified GMT
diff --git a/inc/head.html b/inc/header.inc.php similarity index 100% rename from inc/head.html rename to inc/header.inc.php diff --git a/inc/nav.php b/inc/nav.inc.php similarity index 86% rename from inc/nav.php rename to inc/nav.inc.php index d0cc29c..7fa3348 100644 --- a/inc/nav.php +++ b/inc/nav.inc.php @@ -2,11 +2,6 @@