From: Sam White Date: Mon, 11 Apr 2022 20:02:22 +0000 (+0000) Subject: Add Spring event sign-up page (with consent form prompt) and responses admin page. X-Git-Url: https://git.dalvak.com/public/?a=commitdiff_plain;h=174a60a13c08258ad5864361b6317d5d8a58d91f;p=ycra.git Add Spring event sign-up page (with consent form prompt) and responses admin page. --- diff --git a/public_html/docs/consent-form.docx b/public_html/docs/consent-form.docx new file mode 100644 index 0000000..f701da4 Binary files /dev/null and b/public_html/docs/consent-form.docx differ diff --git a/public_html/login.php b/public_html/login.php index 67d0f22..d66d42c 100644 --- a/public_html/login.php +++ b/public_html/login.php @@ -43,9 +43,11 @@ function content() { if ($uid) { esc('Login successful!.'); $_SESSION['user'] = $uid;?> -

Click >here to view the membership list.

-

Click >here to view - the responses for the winter event.

+
  • >Membership list
  • +
  • >Spring event responses
  • +
  • >Winter event responses
  • + +

    Restricted access page

    + +

    YCRA Spring Event Responses

    + +

    Below is a list of the spring event ticket form responses (ordered by most + recent first).

    + +

    Click >here to download a CSV + file containing the email addresses of all members that have replied to this form.

    + +

    Click >here + to download a CSV file containing the responses to this form.

    + +

    Please note this is still a work in progress.

    + + + + + + + + + + + + + + + + + + +
    NameEmail addressDate repliedAccompanying AdultsRinging LevelCompleted Consent formAt Winter event
    +
    diff --git a/public_html/spring-event.php b/public_html/spring-event.php new file mode 100644 index 0000000..f852e8d --- /dev/null +++ b/public_html/spring-event.php @@ -0,0 +1,120 @@ + +

    Spring event tickets

    + + +

    You have already signed up to this event.

    + +

    If you would like to amend the information you previously submitted, + please email us at events@ycra.org.uk.

    '2','member_id'=>$id,'date_added'=>date('Y-m-d H:i:s'), + 'details'=>json_encode($details)]);?> +

    Your details have been submitted successfully.

    +

    Please download and complete our + >consent form, then send it to + contact@ycra.org.uk before + Wednesday 20th April 2022. You must complete a consent form, + irrespective of your age. We require the information you provide in this form to + keep you safe at our events.

    + +

    You do not need to complete this consent form if you already filled one + out and returned it to us previously, for example, at our Winter event in + Birmingham.

    + +

    We will email you with more details about the event soon.

    + +

    We will be holding our Spring ringing event in Bristol on Saturday, + 23rd April 2022.

    + +

    Please see the >events page + for more information about this event.

    + +

    Please use the form below to book your place at this event. It will be free + for YCRA members to attend this event.

    + + + +
    '']); + + textarea($params, 'accompanying_adults', + 'Please enter the full names of any adults who will be accompanying you', + ['rows'=>'2']); + + textarea($params, 'ringing_level', 'What sorts of things can you currently ring?', + ['rows'=>1, 'required'=>'']); + + checkbox_field($params, 'consent_form_completed', + 'I have already completed a consent form (e.g. for our Winter event)');?> + +
    + + +
    + + +