Repos header

This commit is contained in:
2024-05-31 12:49:47 +02:00
parent 0da314a31d
commit c62321f854
8 changed files with 11 additions and 16 deletions
+1 -2
View File
@@ -12,6 +12,7 @@
// PHP
include_once "../../../base/settings.php";
include_once "../../../base/headers.php";
Headers::html();
if (!isset($_COOKIE["validation"])) {
setcookie("validation", "false");
@@ -25,8 +26,6 @@
unset($colour);
}
}
Headers::html();
?>
</head>
+1 -2
View File
@@ -12,6 +12,7 @@
// PHP
include_once "../../../base/settings.php";
include_once "../../../base/headers.php";
Headers::html();
if (isset($_POST["theme"])) {
$theme = $_POST["theme"];
@@ -21,8 +22,6 @@
} else if (isset($_COOKIE["theme"])) {
$theme = $_COOKIE["theme"];
}
Headers::html();
?>
<?php if (isset($theme) && $theme === "black") { ?>