diff --git a/.htaccess b/.htaccess index eca2d732..e90ec28e 100644 --- a/.htaccess +++ b/.htaccess @@ -82,6 +82,8 @@ RewriteRule ^admin_trip_bookings$ src/admin/admin_trip_bookings.php [L] RewriteRule ^admin_visitors$ src/admin/admin_visitors.php [L] RewriteRule ^admin_efts$ src/admin/admin_efts.php [L] RewriteRule ^add_campsite$ src/admin/add_campsite.php [L] +RewriteRule ^admin_trips$ src/admin/admin_trips.php [L] +RewriteRule ^manage_trips$ src/admin/manage_trips.php [L] # === API/AJAX ENDPOINTS === RewriteRule ^fetch_users$ src/api/fetch_users.php [L] @@ -111,6 +113,9 @@ RewriteRule ^update_user$ src/processors/update_user.php [L] RewriteRule ^upload_profile_picture$ src/processors/upload_profile_picture.php [L] RewriteRule ^send_reset_link$ src/processors/send_reset_link.php [L] RewriteRule ^logout$ src/processors/logout.php [L] +RewriteRule ^process_trip$ src/processors/process_trip.php [L] +RewriteRule ^toggle_trip_published$ src/processors/toggle_trip_published.php [L] +RewriteRule ^delete_trip$ src/processors/delete_trip.php [L] diff --git a/header.php b/header.php index 8d8aed82..e7b4754e 100644 --- a/header.php +++ b/header.php @@ -283,6 +283,7 @@ if ($headerStyle === 'light') {
| Trip Name | +Location | +Start Date | +End Date | +Capacity | +Booked | +Cost (Member) | +Status | +Actions | +
|---|---|---|---|---|---|---|---|---|
| + + | ++ | + | + | + | + + + + | +R | ++ + Published + + Draft + + | ++ + + + + | +
|
+ No trips found. Create one + |
+ ||||||||