Synchronize the Support and Donate pages by also moving the header to a subpage.

This commit is contained in:
2026-06-25 13:30:55 -07:00
parent 18701a3c56
commit 7aa02e0ef5
3 changed files with 35 additions and 18 deletions
+12 -1
View File
@@ -4,5 +4,16 @@
if (!isset($GLOBALS["HEADER_TITLE"])) { if (!isset($GLOBALS["HEADER_TITLE"])) {
$GLOBALS["HEADER_TITLE"] = "Donate"; $GLOBALS["HEADER_TITLE"] = "Donate";
} }
include "support.php"; include "helpers/body_open.php";
include "subpages/support/header.php";
include "subpages/support/donate.php";
include "subpages/support/support.php";
// 2025-01-04 Not really looking for this type of thing.
//include "subpages/support/gifts.php";
include "helpers/body_close.php";
?> ?>
+17
View File
@@ -0,0 +1,17 @@
#!/usr/bin/php
<div class="row">
<h1 class="col-12 title">Donation Methods</h1>
<?php if (isset($GLOBALS["SHOW_BANNER_PICS"])
&& !$GLOBALS["SHOW_BANNER_PICS"])
echo '
<div class="col-12 header center" >
<img src="/files/media/icons/support.jpg" alt="<<support.jpg>>">
</div>
';?>
<div class="col-12 header center">
<p>
Anything is very much appreciated!!
Thank you for considering me!
</p>
</div>
</div>
+6 -17
View File
@@ -5,24 +5,13 @@
$GLOBALS["HEADER_TITLE"] = "Support"; $GLOBALS["HEADER_TITLE"] = "Support";
} }
include "helpers/body_open.php"; include "helpers/body_open.php";
?>
<div class="row"> include "subpages/support/header.php";
<h1 class="col-12 title">Support</h1>
<?php if (isset($GLOBALS["SHOW_BANNER_PICS"]) include "subpages/support/support.php";
&& !$GLOBALS["SHOW_BANNER_PICS"])
echo '
<div class="col-12 header center" >
<img src="/files/media/icons/support.jpg" alt="<<support.jpg>>">
</div>
';?>
<div class="col-12 header center">
<p>
Anything is very much appreciated!! Thank you for considering me!
</p>
</div>
</div>
<?php
include "subpages/support/donate.php"; include "subpages/support/donate.php";
// 2025-01-04 Not really looking for this type of thing. // 2025-01-04 Not really looking for this type of thing.
//include "subpages/support/gifts.php"; //include "subpages/support/gifts.php";