From 717aee90db154b430d7a6fc75f7a59f26a692c8f Mon Sep 17 00:00:00 2001 From: Skylar Ittner Date: Thu, 30 May 2019 21:38:44 -0600 Subject: [PATCH] Add disable_registration setting --- public/parts/signup.php | 267 ++++++++++++++++++++++------------------ settings.template.php | 3 + 2 files changed, 147 insertions(+), 123 deletions(-) diff --git a/public/parts/signup.php b/public/parts/signup.php index 331ff03..e196990 100644 --- a/public/parts/signup.php +++ b/public/parts/signup.php @@ -20,15 +20,8 @@ if (isset($_SESSION['familyid']) && $database->has('families', ['familyid' => $_ } ?>
-
- - -
@@ -36,160 +29,188 @@ if (isset($_SESSION['familyid']) && $database->has('families', ['familyid' => $_

Day Camp Registration

+ +

Online registration for Day Camp is closed.

- + + + + -
+
- + +
+
+

Day Camp Registration

+
+
+ + if (!empty($_GET['error'])) { + ?> +
+
+ +
+
+ - -
-
-

Campers

-
-
- 0) { - foreach ($campers as $personid) { - include __DIR__ . "/template_person.php"; + +
+
+

Campers

+
+
+ 0) { + foreach ($campers as $personid) { + include __DIR__ . "/template_person.php"; + } } - } - ?> -
+ ?> +
-
-
- Add Camper +
+
+ Add Camper +
-
- -
-
-

Adult Volunteers

-
-
- 0) { - foreach ($adults as $personid) { - include __DIR__ . "/template_person.php"; + +
+
+

Adult Volunteers

+
+
+ 0) { + foreach ($adults as $personid) { + include __DIR__ . "/template_person.php"; + } } - } - ?> -
- -
-
- Add Adult + ?>
-
- A $10 discount is applied for every day an adult volunteers.
- Shirts are $10, or free for adults who volunteer all four days. + +
+
+ Add Adult +
+
+ A $10 discount is applied for every day an adult volunteers.
+ Shirts are $10, or free for adults who volunteer all four days. +
-
- -
-
-

Youth Volunteers

-
-
- 0) { - foreach ($youth as $personid) { - include __DIR__ . "/template_person.php"; + +
+
+

Youth Volunteers

+
+
+ 0) { + foreach ($youth as $personid) { + include __DIR__ . "/template_person.php"; + } } - } - ?> -
- -
-
- Add Youth + ?>
-
- Shirts are $10, or free for youth who volunteer at least two days. + +
+
+ Add Youth +
+
+ Shirts are $10, or free for youth who volunteer at least two days. +
-
- -
-
-

Pay and Submit

-
-
-

Total: $0

+ +
+
+

Pay and Submit

+
+
+

Total: $0

-