diff --git a/.user.ini b/.user.ini new file mode 100644 index 00000000..af4bd56b --- /dev/null +++ b/.user.ini @@ -0,0 +1,4 @@ +; memory_limit = 512M +upload_max_filesize = 64M +post_max_size = 64M +max_execution_time = 120 diff --git a/about.php b/about.php deleted file mode 100644 index a7989fdd..00000000 --- a/about.php +++ /dev/null @@ -1,3 +0,0 @@ - Logo

- Welcome to
the Four Wheel Drive Club
of Southern Africa + Welcome to
the 4 Wheel Drive Club
of Southern Africa

Become a Member diff --git a/sitemap.xml b/sitemap.xml index 1c015398..70b55171 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -1,58 +1,124 @@ - + + + https://4wdcsa.co.za/ - 2025-04-10T11:24:41+00:00 + 2025-12-13T00:00:00+00:00 1.00 + weekly + + + + + https://4wdcsa.co.za/about + 2025-12-13T00:00:00+00:00 + 0.90 + monthly - https://4wdcsa.co.za/index.php - 2025-04-10T11:24:41+00:00 - 0.80 - - - https://4wdcsa.co.za/about.php - 2025-04-10T11:24:41+00:00 - 0.80 + https://4wdcsa.co.za/contact + 2025-12-13T00:00:00+00:00 + 0.90 + monthly https://4wdcsa.co.za/track-map - 2025-12-12T00:00:00+00:00 + 2025-12-13T00:00:00+00:00 + 0.85 + weekly + + + + + https://4wdcsa.co.za/trips + 2025-12-13T00:00:00+00:00 + 0.95 + weekly + + + https://4wdcsa.co.za/events + 2025-12-13T00:00:00+00:00 + 0.95 + weekly + + + https://4wdcsa.co.za/driver_training + 2025-12-13T00:00:00+00:00 + 0.90 + monthly + + + + + https://4wdcsa.co.za/blog + 2025-12-13T00:00:00+00:00 + 0.85 + weekly + + + https://4wdcsa.co.za/gallery + 2025-12-13T00:00:00+00:00 0.80 + weekly + + + + + https://4wdcsa.co.za/membership + 2025-12-13T00:00:00+00:00 + 0.95 + monthly - https://4wdcsa.co.za/trips.php - 2025-04-10T11:24:41+00:00 + https://4wdcsa.co.za/membership_details + 2025-12-13T00:00:00+00:00 + 0.85 + monthly + + + + + https://4wdcsa.co.za/campsites + 2025-12-13T00:00:00+00:00 + 0.90 + monthly + + + + + https://4wdcsa.co.za/rescue_recovery + 2025-12-13T00:00:00+00:00 0.80 + monthly - https://4wdcsa.co.za/events.php - 2025-04-10T11:24:41+00:00 + https://4wdcsa.co.za/bush_mechanics + 2025-12-13T00:00:00+00:00 0.80 + monthly + + + + + https://4wdcsa.co.za/login + 2025-12-13T00:00:00+00:00 + 0.60 + yearly - https://4wdcsa.co.za/blog.php - 2025-04-10T11:24:41+00:00 - 0.80 + https://4wdcsa.co.za/register + 2025-12-13T00:00:00+00:00 + 0.60 + yearly + + - https://4wdcsa.co.za/login.php - 2025-04-10T11:24:41+00:00 - 0.80 - - - https://4wdcsa.co.za/membership.php - 2025-04-10T11:24:41+00:00 - 0.80 - - - https://4wdcsa.co.za/register.php - 2025-04-10T11:24:41+00:00 - 0.64 - - - https://4wdcsa.co.za/forgot_password.php - 2025-04-10T11:24:41+00:00 - 0.64 + https://4wdcsa.co.za/privacy_policy + 2025-12-13T00:00:00+00:00 + 0.50 + yearly + diff --git a/src/.user.ini b/src/.user.ini new file mode 100644 index 00000000..af4bd56b --- /dev/null +++ b/src/.user.ini @@ -0,0 +1,4 @@ +; memory_limit = 512M +upload_max_filesize = 64M +post_max_size = 64M +max_execution_time = 120 diff --git a/src/admin/admin_trips.php b/src/admin/admin_trips.php index 1026babf..f5c99875 100644 --- a/src/admin/admin_trips.php +++ b/src/admin/admin_trips.php @@ -236,6 +236,21 @@ $bannerImages = glob($bannerFolder . '*.{jpg,jpeg,png,webp}', GLOB_BRACE); console.error('Error:', err); alert('Delete failed due to network error.'); }); +'success') { + card.fadeOut(function() { + $(this).remove(); + if ($('.trip-card').length === 0) { + location.reload(); + } + }); + } else { + alert('Error: ' + response.message); + } + }, + error: function() { + alert('Error deleting trip'); + } + }); }); }); diff --git a/src/logs/db_errors.log b/src/logs/db_errors.log index 5842a041..4a23ee8e 100644 --- a/src/logs/db_errors.log +++ b/src/logs/db_errors.log @@ -1 +1 @@ -Database Connection Error: No such file or directoryDatabase Connection Error: No such file or directoryDatabase Connection Error: No such file or directory \ No newline at end of file +Database Connection Error: No such file or directoryDatabase Connection Error: No such file or directoryDatabase Connection Error: No such file or directoryDatabase Connection Error: No such file or directoryDatabase Connection Error: No such file or directoryDatabase Connection Error: No such file or directory \ No newline at end of file diff --git a/uploads/pop/103_SUBS_2025_E._BESTER.pdf b/uploads/pop/103_SUBS_2025_E._BESTER.pdf new file mode 100644 index 00000000..45fe8ff4 Binary files /dev/null and b/uploads/pop/103_SUBS_2025_E._BESTER.pdf differ diff --git a/uploads/pop/105_SUBS_2025_D._KLADIS.pdf b/uploads/pop/105_SUBS_2025_D._KLADIS.pdf new file mode 100644 index 00000000..2983db2b Binary files /dev/null and b/uploads/pop/105_SUBS_2025_D._KLADIS.pdf differ diff --git a/uploads/pop/109_SUBS_2025_A._MAHON.pdf b/uploads/pop/109_SUBS_2025_A._MAHON.pdf new file mode 100644 index 00000000..bb35efa9 Binary files /dev/null and b/uploads/pop/109_SUBS_2025_A._MAHON.pdf differ diff --git a/uploads/pop/122_SUBS_2025_M._BUYS_.pdf b/uploads/pop/122_SUBS_2025_M._BUYS_.pdf new file mode 100644 index 00000000..ffeb016a Binary files /dev/null and b/uploads/pop/122_SUBS_2025_M._BUYS_.pdf differ diff --git a/uploads/pop/127_SUBS_2025_J._MATTHEUS.pdf b/uploads/pop/127_SUBS_2025_J._MATTHEUS.pdf new file mode 100644 index 00000000..dd75e4d7 Binary files /dev/null and b/uploads/pop/127_SUBS_2025_J._MATTHEUS.pdf differ diff --git a/uploads/pop/129_SUBS_2025_C._DE_JESUS.pdf b/uploads/pop/129_SUBS_2025_C._DE_JESUS.pdf new file mode 100644 index 00000000..1d4bdfc4 Binary files /dev/null and b/uploads/pop/129_SUBS_2025_C._DE_JESUS.pdf differ diff --git a/uploads/pop/130_SUBS_2025_J._HALL.pdf b/uploads/pop/130_SUBS_2025_J._HALL.pdf new file mode 100644 index 00000000..8c4a6ee7 Binary files /dev/null and b/uploads/pop/130_SUBS_2025_J._HALL.pdf differ diff --git a/uploads/pop/134_SUBS_2025_J._EARLE.pdf b/uploads/pop/134_SUBS_2025_J._EARLE.pdf new file mode 100644 index 00000000..fe6df689 Binary files /dev/null and b/uploads/pop/134_SUBS_2025_J._EARLE.pdf differ diff --git a/uploads/pop/142_SUBS_2025_N._COETZEE.pdf b/uploads/pop/142_SUBS_2025_N._COETZEE.pdf new file mode 100644 index 00000000..e71acde6 Binary files /dev/null and b/uploads/pop/142_SUBS_2025_N._COETZEE.pdf differ diff --git a/uploads/pop/COURSE_07-26_D._KLADIS.pdf b/uploads/pop/COURSE_07-26_D._KLADIS.pdf new file mode 100644 index 00000000..20582ffb Binary files /dev/null and b/uploads/pop/COURSE_07-26_D._KLADIS.pdf differ diff --git a/uploads/pop/COURSE_07-26_K._SKEE.pdf b/uploads/pop/COURSE_07-26_K._SKEE.pdf new file mode 100644 index 00000000..f15b1a80 Binary files /dev/null and b/uploads/pop/COURSE_07-26_K._SKEE.pdf differ diff --git a/uploads/pop/COURSE_07-26_M._MABASO.pdf b/uploads/pop/COURSE_07-26_M._MABASO.pdf new file mode 100644 index 00000000..4b434182 Binary files /dev/null and b/uploads/pop/COURSE_07-26_M._MABASO.pdf differ diff --git a/uploads/pop/COURSE_07-26_M._NICHOLLS.pdf b/uploads/pop/COURSE_07-26_M._NICHOLLS.pdf new file mode 100644 index 00000000..6dbf4cf6 Binary files /dev/null and b/uploads/pop/COURSE_07-26_M._NICHOLLS.pdf differ diff --git a/uploads/pop/COURSE_08-23_A._FERENCZY_.pdf b/uploads/pop/COURSE_08-23_A._FERENCZY_.pdf new file mode 100644 index 00000000..a18c03ce Binary files /dev/null and b/uploads/pop/COURSE_08-23_A._FERENCZY_.pdf differ diff --git a/uploads/pop/COURSE_08-23_E._HOLTZHAUSEN.pdf b/uploads/pop/COURSE_08-23_E._HOLTZHAUSEN.pdf new file mode 100644 index 00000000..e76a1756 Binary files /dev/null and b/uploads/pop/COURSE_08-23_E._HOLTZHAUSEN.pdf differ diff --git a/uploads/pop/COURSE_09-20_I._KOORSEN.pdf b/uploads/pop/COURSE_09-20_I._KOORSEN.pdf new file mode 100644 index 00000000..535a08ed Binary files /dev/null and b/uploads/pop/COURSE_09-20_I._KOORSEN.pdf differ diff --git a/uploads/signatures/signature_103.png b/uploads/signatures/signature_103.png new file mode 100644 index 00000000..7f01fb31 Binary files /dev/null and b/uploads/signatures/signature_103.png differ diff --git a/uploads/signatures/signature_105.png b/uploads/signatures/signature_105.png new file mode 100644 index 00000000..81189b73 Binary files /dev/null and b/uploads/signatures/signature_105.png differ diff --git a/uploads/signatures/signature_109.png b/uploads/signatures/signature_109.png new file mode 100644 index 00000000..61c662a8 Binary files /dev/null and b/uploads/signatures/signature_109.png differ diff --git a/uploads/signatures/signature_122.png b/uploads/signatures/signature_122.png new file mode 100644 index 00000000..82e051df Binary files /dev/null and b/uploads/signatures/signature_122.png differ diff --git a/uploads/signatures/signature_123.png b/uploads/signatures/signature_123.png new file mode 100644 index 00000000..a7040a8c Binary files /dev/null and b/uploads/signatures/signature_123.png differ diff --git a/uploads/signatures/signature_126.png b/uploads/signatures/signature_126.png new file mode 100644 index 00000000..f853c136 Binary files /dev/null and b/uploads/signatures/signature_126.png differ diff --git a/uploads/signatures/signature_127.png b/uploads/signatures/signature_127.png new file mode 100644 index 00000000..97587e83 Binary files /dev/null and b/uploads/signatures/signature_127.png differ diff --git a/uploads/signatures/signature_129.png b/uploads/signatures/signature_129.png new file mode 100644 index 00000000..3c33891d Binary files /dev/null and b/uploads/signatures/signature_129.png differ diff --git a/uploads/signatures/signature_130.png b/uploads/signatures/signature_130.png new file mode 100644 index 00000000..55fc9828 Binary files /dev/null and b/uploads/signatures/signature_130.png differ diff --git a/uploads/signatures/signature_131.png b/uploads/signatures/signature_131.png new file mode 100644 index 00000000..05ca0390 Binary files /dev/null and b/uploads/signatures/signature_131.png differ diff --git a/uploads/signatures/signature_134.png b/uploads/signatures/signature_134.png new file mode 100644 index 00000000..9d1ccc02 Binary files /dev/null and b/uploads/signatures/signature_134.png differ diff --git a/uploads/signatures/signature_136.png b/uploads/signatures/signature_136.png new file mode 100644 index 00000000..8e66dc45 Binary files /dev/null and b/uploads/signatures/signature_136.png differ diff --git a/uploads/signatures/signature_137.png b/uploads/signatures/signature_137.png new file mode 100644 index 00000000..b2d5235c Binary files /dev/null and b/uploads/signatures/signature_137.png differ diff --git a/uploads/signatures/signature_142.png b/uploads/signatures/signature_142.png new file mode 100644 index 00000000..e43464d8 Binary files /dev/null and b/uploads/signatures/signature_142.png differ diff --git a/uploads/signatures/signature_143.png b/uploads/signatures/signature_143.png new file mode 100644 index 00000000..49d8a0e8 Binary files /dev/null and b/uploads/signatures/signature_143.png differ diff --git a/uploads/signatures/signature_144.png b/uploads/signatures/signature_144.png new file mode 100644 index 00000000..31ba6a7d Binary files /dev/null and b/uploads/signatures/signature_144.png differ diff --git a/uploads/signatures/signature_147.png b/uploads/signatures/signature_147.png new file mode 100644 index 00000000..9ad1fbf8 Binary files /dev/null and b/uploads/signatures/signature_147.png differ diff --git a/uploads/signatures/signature_152.png b/uploads/signatures/signature_152.png new file mode 100644 index 00000000..70606af0 Binary files /dev/null and b/uploads/signatures/signature_152.png differ diff --git a/uploads/signatures/signature_153.png b/uploads/signatures/signature_153.png new file mode 100644 index 00000000..3ed242d6 Binary files /dev/null and b/uploads/signatures/signature_153.png differ diff --git a/uploads/signatures/signature_161.png b/uploads/signatures/signature_161.png new file mode 100644 index 00000000..4316b9e8 Binary files /dev/null and b/uploads/signatures/signature_161.png differ diff --git a/uploads/signatures/signature_93.png b/uploads/signatures/signature_93.png new file mode 100644 index 00000000..01d85056 Binary files /dev/null and b/uploads/signatures/signature_93.png differ diff --git a/uploads/signatures/signature_97.png b/uploads/signatures/signature_97.png new file mode 100644 index 00000000..a9d78e3a Binary files /dev/null and b/uploads/signatures/signature_97.png differ diff --git a/uploads/signatures/signature_98.png b/uploads/signatures/signature_98.png new file mode 100644 index 00000000..a33f620e Binary files /dev/null and b/uploads/signatures/signature_98.png differ