diff --git a/admin_course_bookings.php b/admin_course_bookings.php index 5c1c91cd..27b915fb 100644 --- a/admin_course_bookings.php +++ b/admin_course_bookings.php @@ -2,7 +2,8 @@ checkAdmin(); // Fetch all trips -$courseSql = "SELECT date, course_id, course_type FROM courses"; +$courseSql = "SELECT date, course_id, course_type FROM courses WHERE DATE(date) >= CURDATE()"; + $courseResult = $conn->query($courseSql); if (!$courseResult) { echo "Error in SQL query: " . $conn->error; diff --git a/admin_members.php b/admin_members.php index dc781820..ce0497a9 100644 --- a/admin_members.php +++ b/admin_members.php @@ -1,7 +1,19 @@ prepare("UPDATE membership_application SET accept_indemnity = 1 WHERE user_id = ?"); + if ($stmt) { + $stmt->bind_param("i", $user_id); + $stmt->execute(); + $stmt->close(); + } +} + // SQL query to fetch data -$sql = "SELECT user_id, first_name, last_name, tel_cell, email, dob FROM membership_application"; +$sql = "SELECT user_id, first_name, last_name, tel_cell, email, dob, accept_indemnity FROM membership_application"; + $result = $conn->query($sql); ?> + +
Your invoice has been sent to . Please upload your proof of payment below.
-Bookings not paid for within 24 hours will be forfeited.
+The Four Wheel Drive Club of Southern Africa
FNB
Account Number: 58810022334
Branch code: 250655
Reference:
Amount: R
INDEMNITY AND WAIVER
+1. I agree to abide by the Code of Conduct as listed below, as well as any reasonable instructions given by any Member of the Committee of the Club, or any person appointed by the Club to organise or control any event (Club Officer).
+2. I acknowledge that driving the off-road track is inherently dangerous, and that I am fully aware of the dangers thereof. I warrant that I will make all members of my party aware of such dangers prior to driving the track.
+3. While I, or any member of my party, enjoy the facilities at Base 4 including overnight camping, picnicking, driving the track, using the swimming pool facility or activity or any other activity while at Base 4, I agree that under no circumstances shall the Club be liable for any loss or damage of any kind whatsoever (including consequential loss) which I or any of my party may suffer, regardless of how such loss or damage may have been caused or sustained, and whether or not as a result of the negligence or breach of contract (whether fundamental or otherwise) or other wrongful act of the Club, or any Club Officer, or any of the Club’s agents or contractors, and I hereby indemnify and hold harmless the Club and any Club Officer against all such loss or damage.
+4. The expression, ‘member of my party’, means all persons who accompany me or attending any event at my specific invitation, request or suggestion, and includes without limitation, members of family, guests and invitees.
+5. I understand that I am responsible for ensuring my vehicle and equipment and that all members of my party have adequate health and medical insurance to cover any and all likely occurrences.
+6. This indemnity is irrevocable and shall apply to me and the members of my party for any Club events in which I may participate or attend.
+BASE 4 CODE OF CONDUCT
+1. No motorbikes or quadbikes.
+2. No loud music (unless authorised by the Committee or its representatives).
+3. Dogs to be controlled by their owners who take full responsibility for the animal’s behaviour.
+4. No dogs belonging to non-members are allowed at Base 4 unless with the express permission of the Committee.
+5. No person in the rear of open vehicles when driving on obstacles.
+6. When driving the obstacles stay on the tracks.
+7. Engage 4WD when driving the obstacles to minimise wear and damage to the track.
+8. No alcohol to be consumed while driving the track.
+9. No littering (please pick up cigarette butts etc.)
+10. All rubbish is to be taken away with you when leaving. Dustbins and refuse collection is not provided.
+11. Use water sparingly. Please bring your own water and a little extra for the Club.
+I am a member of the Four Wheel Drive Club of Southern Africa and I will strive to uphold these Codes.
+