diff --git a/inc/footer.php b/inc/footer.php index 7fb2bd6..10f48f7 100755 --- a/inc/footer.php +++ b/inc/footer.php @@ -1,2 +1,3 @@ - +

PAID FOR BY MILES C. LINDEN FOR CITY COUNCIL DISTRICT THREE

+ diff --git a/inc/header.php b/inc/header.php index ad88e5a..a7be31e 100755 --- a/inc/header.php +++ b/inc/header.php @@ -13,7 +13,9 @@ diff --git a/public/admin/index.php b/public/admin/index.php index 9a47a40..098f383 100755 --- a/public/admin/index.php +++ b/public/admin/index.php @@ -30,6 +30,28 @@ $messages = []; while ($row = $result->fetch_assoc()) { $messages[] = $row; } + +$result = $conn->query("SELECT * FROM volunteers"); +if (!$result) { + http_response_code(500); + die("Error retrieving volunteers: {$conn->error}"); +} + +$volunteers = []; +while ($row = $result->fetch_assoc()) { + $volunteers[] = $row; +} + +$result = $conn->query("SELECT * FROM signs"); +if (!$result) { + http_response_code(500); + die("Error retrieving sign requests: {$conn->error}"); +} + +$signs = []; +while ($row = $result->fetch_assoc()) { + $signs[] = $row; +} ?> @@ -116,6 +138,70 @@ while ($row = $result->fetch_assoc()) { ?> +
+

Volunteers

+ + + + + + + + + + + + + + + + + + + + + + + +
NameEmailPhonePositionJoin DateActions
+ + +
+
+
+

Sign Requests

+ + + + + + + + + + + + + + + + + + + + +
AddressQuantityWire stake?Fulfilled?
+ +
+