From 4da34a66c6fce9264e94dc644e5ca20023483bcf Mon Sep 17 00:00:00 2001 From: Expo on server Date: Sun, 16 Jun 2024 10:51:36 +0100 Subject: [PATCH] Fix signup form soit appears and update from 2004 to 2024 $(GET[action] no longer works, so nobbled for now - needs more fettling. --- signup/submit.php | 59 +++++++++++++++++++++++++---------------------- 1 file changed, 32 insertions(+), 27 deletions(-) diff --git a/signup/submit.php b/signup/submit.php index 58b5805a5..65de4d28a 100644 --- a/signup/submit.php +++ b/signup/submit.php @@ -117,14 +117,14 @@ function securityChecks () elseif ($vars[btent] == "yes" && ($vars[base_tent_cap] < 1 || $vars[base_tent_cap] > 9)) $error = "Invalid Base Camp tent capacity given."; if ($error != "") { - echo "Expo 2004 Application Form Error -- Cambridge University Caving Club"; + echo "Expo 2024 Application Form Error -- Cambridge University Caving Club"; echo ""; echo "
"; printHidden (); echo <<Expo 2004 Application Form Error +

Expo 2004 Application Form Error

Sorry, but you have made a mistake on your form:

$error
@@ -144,23 +144,25 @@ function showForm () global $vars; echo <<Expo 2004 Application Form -- Cambridge University Caving Club + Expo 2024 Application Form -- Cambridge University Caving Club END; echo <<Expo 2004 Application Form +

Expo 2024 Signup Form

-

This is the application form for Expo 2004, which runs from 10th July until 14th August. +

This is the official signup form for Expo 2024, which runs from 6th July until 17th August. -

This form is not secure and by submitting +

This form is not secure and by submitting this form you consent to its contents being used for Expo purposes and - being included in the Bier Book on Expo.

+ being included in the Bier Book on Expo.

+ +

You also give permission for any information you collect on expo (survey data, photos, trip writeups, etc) to be used in perpetuity for expo-related purposes.

-
- +
+ -

Section A: Personal information

+

Section A: Personal information

General

@@ -223,7 +225,7 @@ END;

Transport

-

Please look now at the transport arrangements page (will open in a new window). Then select one of the following. +

Please look now at the transport arrangements page (will open in a new window). Then select one of the following.

Tents -

There will be two high camps in 2004: +

There will be two high camps in 2024:

  • the stone bridge bivvy site;
  • the old Top Camp site, to be used for exploration of Eislüfthöhle. @@ -256,7 +258,7 @@ END; At the stone bridge, a bivvy bag is not essential but useful if you have one. -

    Will you be taking any of the following (please tick/complete as appropriate):
    +

    Will you be taking any of the following (please tick/complete as appropriate):
    Please list any allergies which you have: -

    +

    Please list any allergies which you have: +

    -

    Please list any medication which you may be taking in Austria: -

    +

    Please list any medication which you may be taking in Austria: +

    -

    Please list any other medical conditions you have that the expedition should be aware of:
    -

    +

    Please list any other medical conditions you have that the expedition should be aware of:
    +

    Other

    -

    Any other information, including any skills e.g. first aid, languages, etc. that you have:
    -

    +

    Any other information, including any skills e.g. first aid, languages, etc. that you have:
    +

    Section B - Caving/surface work projects

    @@ -345,15 +347,15 @@ function previewForm () global $vars; echo <<Expo 2004 Application Form Preview -- Cambridge University Caving Club + Expo 2024 Application Form Preview -- Cambridge University Caving Club END; echo <<Expo 2004 Application Form Preview -

    Please check the details below and then select one of the options at the +

    Expo 2024 Application Form Preview

    +

    Please check the details below and then select one of the options at the bottom of the page.


    -

    Contact details

    +

    Contact details

    Your details

    @@ -540,7 +542,7 @@ function submitForm () END; echo <<Expo 2004 Application +

    Expo 2024 Application

    Submission successful! @@ -553,7 +555,10 @@ END; virtual("main.css"); -switch ($_GET[action]) { + +# switch ($_GET[action]) { + +switch ("blank") { case "blank": initVars (); showForm ();