This commit is contained in:
notfire 2025-02-27 08:53:41 -05:00
parent b73fc6ee16
commit e5fb91feff
Signed by: notfire
GPG key ID: 3AFDACAAB4E56B16
3 changed files with 5 additions and 5 deletions

View file

@ -26,12 +26,14 @@ foreach (array_reverse($rows) as $i) {
}
}
echo("<h2 class=\"title\">" . $pageTitle . " admin</h2>");
$properTitle = $pageTitle . " admin";
include '../boilerplate/pageStart.php';
echo("<link rel=\"stylesheet\" href=\"../css/admin.css\">");
echo("<h2 class=\"title\">" . $pageTitle . " admin</h2>");
if ($_GET["deleted"] == 1) {
echo("<span class=\"sentconf\">deleted!</span>");
}

View file

@ -2,8 +2,6 @@
include '../config.php';
echo("<link rel=\"stylesheet\" href=\"../css/admin.css\">");
if ($_GET["pw"] === $adminPassword) {
if ($_GET["page"] === "delete") {
include 'delete.php';

View file

@ -38,7 +38,7 @@ $runOnLoad = "document.getElementById(\"passinput\").value = " . htmlspecialchar
$properTitle = $pageTitle . " respond to question #" . $id;
include 'boilerplate/pageStart.php';
echo("<link rel=\"stylesheet\" href=\"css/indiv.css\">");
echo("<link rel=\"stylesheet\" href=\"../css/admin.css\">");
if ($arr["ispublic"] === "f") {
echo("<h2 class=\"title\">{$pageTitle} no such question exists</h2>");