From 06d7528156a67838fa34f241fc18442091424d28 Mon Sep 17 00:00:00 2001 From: Mark Date: Thu, 15 May 2025 10:27:05 +0100 Subject: [PATCH] fix: reorder include statements for consistent loading in multiple pages --- about.php | 4 +-- blog.php | 4 +-- contact.php | 4 +-- projects.php | 4 +-- services.php | 89 ++-------------------------------------------------- 5 files changed, 10 insertions(+), 95 deletions(-) diff --git a/about.php b/about.php index 7597ce2..e170abf 100644 --- a/about.php +++ b/about.php @@ -6,9 +6,9 @@ $Page = "about-us"; $ometa['description'] = "Warmseal Roofing: Your trusted roofing specialists in the UK, offering expert roof repairs, installations, and maintenance with quality workmanship and guaranteed results."; $ometa['keywords'] = "roofing, roof repairs, roof installation, roofing specialists, roofing maintenance, quality workmanship, guaranteed results, UK roofing, Warmseal Roofing"; include_once $URlcorrection . "includes/header.php"; -include_once $URlcorrection . "includes/nav.php"; -include_once $URlcorrection . "includes/banner.php"; +include_once $URlcorrection . "includes/banner.php"; +include_once $URlcorrection . "includes/nav.php"; ?> diff --git a/blog.php b/blog.php index b61c8fc..6d677ce 100644 --- a/blog.php +++ b/blog.php @@ -3,9 +3,9 @@ $URlsorrection = ""; $PageTitle = "Blog"; include_once $URlsorrection . "includes/header.php"; -include_once $URlsorrection . "includes/nav.php"; -include_once $URlsorrection . "includes/banner.php"; +include_once $URlsorrection . "includes/banner.php"; +include_once $URlsorrection . "includes/nav.php"; ?> diff --git a/contact.php b/contact.php index 6b39c40..9a730f8 100644 --- a/contact.php +++ b/contact.php @@ -6,9 +6,9 @@ $Page = "contact"; $ometa['description'] = "Warmseal Roofing: Your trusted roofing specialists in the UK, offering expert roof repairs, installations, and maintenance with quality workmanship and guaranteed results."; $ometa['keywords'] = "roofing, roof repairs, roof installation, roofing specialists, roofing maintenance, quality workmanship, guaranteed results, UK roofing, Warmseal Roofing, contact warmseal roofing, roofing services, roofing experts, roofing contractors, roof maintenance, roof installation, roof repairs, roofing solutions, roofing company, roofing professionals, roofing estimates, roofing quotes, roofing consultations"; include_once $URlcorrection . "includes/header.php"; -include_once $URlcorrection . "includes/nav.php"; -include_once $URlcorrection . "includes/banner.php"; +include_once $URlcorrection . "includes/banner.php"; +include_once $URlcorrection . "includes/nav.php"; // Generate a new CAPTCHA question if not set if (!isset($_SESSION['captcha'])) { diff --git a/projects.php b/projects.php index adc3286..02ac450 100644 --- a/projects.php +++ b/projects.php @@ -6,9 +6,9 @@ $Page = "projects"; $ometa['description'] = "Warmseal Roofing: Your trusted roofing specialists in the UK, offering expert roof repairs, installations, and maintenance with quality workmanship and guaranteed results."; $ometa['keywords'] = "roofing, roof repairs, roof installation, roofing specialists, roofing maintenance, quality workmanship, guaranteed results, UK roofing, Warmseal Roofing, recent projects, roofing projects, completed projects, roofing installations, roofing repairs, roofing maintenance, roofing solutions"; include_once $URlcorrection . "includes/header.php"; -include_once $URlcorrection . "includes/nav.php"; -include_once $URlcorrection . "includes/banner.php"; +include_once $URlcorrection . "includes/banner.php"; +include_once $URlcorrection . "includes/nav.php"; ?> diff --git a/services.php b/services.php index 6831704..2752094 100644 --- a/services.php +++ b/services.php @@ -6,94 +6,9 @@ $Page = "services"; $ometa['description'] = "Warmseal Roofing: Your trusted roofing specialists in the UK, offering expert roof repairs, installations, and maintenance with quality workmanship and guaranteed results."; $ometa['keywords'] = "roofing, roof repairs, roof installation, roofing specialists, roofing maintenance, quality workmanship, guaranteed results, UK roofing, Warmseal Roofing, services, roofing services, roofing solutions, roof maintenance, roof installation, roof repairs, roofing experts, roofing contractors"; include_once $URlcorrection . "includes/header.php"; -include_once $URlcorrection . "includes/nav.php"; + include_once $URlcorrection . "includes/banner.php"; - -?> - - - - -