You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
663 lines
37 KiB
663 lines
37 KiB
<?php if (! defined('BASEPATH')) {
|
|
exit('No direct script access allowed');
|
|
}
|
|
/*
|
|
| -------------------------------------------------------------------------
|
|
| URI ROUTING
|
|
| -------------------------------------------------------------------------
|
|
| This file lets you re-map URI requests to specific controller functions.
|
|
|
|
|
| Typically there is a one-to-one relationship between a URL string
|
|
| and its corresponding controller class/method. The segments in a
|
|
| URL normally follow this pattern:
|
|
|
|
|
| example.com/class/method/id/
|
|
|
|
|
| In some instances, however, you may want to remap this relationship
|
|
| so that a different class/function is called than the one
|
|
| corresponding to the URL.
|
|
|
|
|
| Please see the user guide for complete details:
|
|
|
|
|
| http://codeigniter.com/user_guide/general/routing.html
|
|
|
|
|
| -------------------------------------------------------------------------
|
|
| RESERVED ROUTES
|
|
| -------------------------------------------------------------------------
|
|
|
|
|
| There area two reserved routes:
|
|
|
|
|
| $route['default_controller'] = 'welcome';
|
|
|
|
|
| This route indicates which controller class should be loaded if the
|
|
| URI contains no data. In the above example, the "welcome" class
|
|
| would be loaded.
|
|
|
|
|
| $route['404_override'] = 'errors/page_missing';
|
|
|
|
|
| This route will tell the Router what URI segments to use if those provided
|
|
| in the URL cannot be matched to a valid route.
|
|
|
|
|
*/
|
|
|
|
/*********************************************************************************************
|
|
DEFAULT ROUTES
|
|
*********************************************************************************************/
|
|
$route['default_controller'] = "frontoffice";
|
|
$route["page_not_found"] = "page_error_handler/index/";
|
|
$route['404_override'] = 'page_error_handler';
|
|
$route['maintenance'] = "frontoffice/maintenance/";
|
|
$route['translate_uri_dashes'] = FALSE;
|
|
|
|
/*********************************************************************************************
|
|
END OF DEFAULT ROUTES
|
|
*********************************************************************************************/
|
|
|
|
/*********************************************************************************************
|
|
START OF WEBHOOK ROUTES
|
|
*********************************************************************************************/
|
|
$route["webhook/stripe"] = "webhook/stripe";
|
|
|
|
/*********************************************************************************************
|
|
REWRITING EVENT DETAIL BY AUTHOR NAME
|
|
*********************************************************************************************/
|
|
require_once( APPPATH .'helpers/others_helper.php');
|
|
$tab = _tableau("event WHERE workshop_author <> ''");
|
|
foreach($tab as $o => $oo){
|
|
$oo["workshop_author"] = implode("-",explode(" ",$oo["workshop_author"]));
|
|
$oo["workshop_author"] = preg_replace('~[&\/\\#,+()$:*?<>{}]+~', '', $oo["workshop_author"]);
|
|
$oo["workshop_author"] = urlencode($oo["workshop_author"]);
|
|
$route["{$oo["workshop_author"]}/(:any)"] = "frontoffice/event_details/$1";
|
|
}
|
|
|
|
|
|
/*********************************************************************************************
|
|
START OF FRONT OFFICE PAGES ROUTES
|
|
*********************************************************************************************/
|
|
$route["/"] = "frontoffice/home2/";
|
|
$route["home"] = "frontoffice/home/";
|
|
$route["home2"] = "frontoffice/home/";
|
|
$route["frontoffice/(:any)"] = "page_error_handler/index/";
|
|
$route["frontoffice"] = "page_error_handler/index/";
|
|
$route["event_details"] = "frontoffice/event_details";
|
|
$route["mon-compte"] = "frontoffice/my_account";
|
|
// $route["mes-evenements"] = "frontoffice/my_reservations";
|
|
$route["mes-reservations"] = "frontoffice/my_reservations";
|
|
$route["faq"] = "frontoffice/faq";
|
|
$route["in_development"] = "frontoffice/in_development/";
|
|
// $route["setPreferences/validateFormat/(:any)"] = "profile/preferences/validateFormat/$1";
|
|
// $route["setPreferences/getPhoneNumberFormat/(:any)"] = "profile/preferences/getPhoneNumberFormat/$1";
|
|
$route["mentions-legales"] = "frontoffice/mentions_legales/";
|
|
$route["politique-de-confidentialite"] = "frontoffice/privacy_policy/";
|
|
$route["gestion-des-cookies"] = "frontoffice/manage_cookies/";
|
|
$route["condition-generales"] = "frontoffice/general_conditions/";
|
|
$route["protection-des-donnees"] = "frontoffice/data_privacy/";
|
|
$route["contact"] = "frontoffice/contact";
|
|
$route["send_comment"] = "services/email/send_comment";
|
|
$route["nous-contact"] = "frontoffice/nous_contact";
|
|
$route["send_comment_nous"] = "services/email/send_comment_nous";
|
|
|
|
|
|
// SAMPLE OUPUT OF EVENT DETAILS
|
|
$route["cours-en-ligne-achat/(:num)"] = "frontoffice/cours_en_ligne_achat/$1";
|
|
$route["cours-en-ligne"] = "frontoffice/cours_en_ligne";
|
|
$route["cours-du-soir"] = "frontoffice/cours_du_soir";
|
|
$route["atelier-a-distance/(:num)"] = "frontoffice/atelier_a_distance/$1";
|
|
$route["atelier-a-distance2"] = "frontoffice/atelier_a_distance2";
|
|
|
|
$route["atelier-distance-livestream"] = "frontoffice/live_stream_view";
|
|
|
|
/**************OTP VERIFICATION ROUTES *******************************************/
|
|
$route['payment/verify_otp'] = 'payment/verify_otp/verify_otp';
|
|
$route['verify_otp/generate_otp'] = 'payment/verify_otp/generate_otp';
|
|
$route['otp_verification'] = 'frontoffice/otp_verification';
|
|
$route['payment/first_confirmation'] = 'payment/verify_otp/first_confirmation';
|
|
/**************END OF OTP VERIFICATION ROUTES ************************************/
|
|
|
|
// SSO ROUTES
|
|
$route['sso/get_sso'] = 'sso/client_sso_controller/initiateSSO';
|
|
$route['sso/get_info'] = 'sso/client_sso_controller/get_info';
|
|
// PAYMENT ROUTES
|
|
$route["payment"] = "frontoffice/payment";
|
|
$route["payment/confirmation"] = "events/payment/confirm_payment";
|
|
$route["payment/send_payment"] = "events/payment/send_payment_request";
|
|
$route["payment/create"] = "events/payment/create";
|
|
$route["payment/success"] = "frontoffice/payment_success";
|
|
|
|
// User Registration
|
|
$route["registration"] = "profile/registration/index";
|
|
$route["registration/(:any)"] = "profile/registration/user_type/$1";
|
|
$route["registration/(:any)/details"] = "profile/registration/registration_details";
|
|
$route["registration/new-subscriber"] = "profile/registration/register";
|
|
$route["country/get-states"] = "profile/registration/get_states";
|
|
// $route["payment"] = "profile/registration/payment";
|
|
// $route["payment/receipt"] = "profile/registration/payment_receipt";
|
|
// $route["payment/cancel"] = "profile/registration/payment_cancel";
|
|
// $route["payment/check-failure-payment"] = "profile/registration/check_failure_payment";
|
|
|
|
$route["mon-compte/create"] = "profile/MyAccount/create";
|
|
$route["mon-compte/update/(:num)"] = "profile/MyAccount/update/$1";
|
|
/*********************************************************************************************
|
|
END OF FRONT OFFICE PAGES ROUTES
|
|
*********************************************************************************************/
|
|
|
|
|
|
/*********************************************************************************************
|
|
START OF BACK OFFICE PAGES ROUTES
|
|
*********************************************************************************************/
|
|
|
|
$route["backoffice/dashboard"] = "backoffice/index/";
|
|
$route["backoffice"] = "page_error_handler/index/";
|
|
$route["dashboard"] = "backoffice/index/";
|
|
$route["statistics"] = "backoffice/index/";
|
|
$route["admin"] = "page_error_handler/index/";
|
|
$route["reports"] = "page_error_handler/index/";
|
|
$route["events"] = "page_error_handler/index/";
|
|
$route["email"] = "page_error_handler/index/";
|
|
$route["profile"] = "page_error_handler/index/";
|
|
$route["services"] = "page_error_handler/index/";
|
|
$route["noshow"] = "page_error_handler/index/";
|
|
|
|
/*********************************************************************************************
|
|
END OF BACK OFFICE PAGES ROUTES
|
|
*********************************************************************************************/
|
|
/*********************************************************************************************
|
|
START SUBSCRIPTION ROUTES
|
|
*********************************************************************************************/
|
|
|
|
$route["subscription/get-subscription"] = "subscription/subscription/get_subscription";
|
|
$route["subscription/update-subscription"] = "subscription/subscription/update_subscription";
|
|
|
|
/*********************************************************************************************
|
|
END SUBSCRIPTION ROUTES
|
|
*********************************************************************************************/
|
|
|
|
/*********************************************************************************************
|
|
START NOTIFICATION ROUTES
|
|
*********************************************************************************************/
|
|
|
|
$route["notification/get-notifications"] = "admin/notification/get_notifications";
|
|
$route["notification/get-notification"] = "admin/notification/get_notification";
|
|
$route["notification/update-notification"] = "admin/notification/update_notification";
|
|
$route["notification/delete-notification"] = "admin/notification/delete_notification";
|
|
|
|
/*********************************************************************************************
|
|
END NOTIFICATION ROUTES
|
|
*********************************************************************************************/
|
|
|
|
/*********************************************************************************************
|
|
USER AUTHENTICATION ROUTING
|
|
*********************************************************************************************/
|
|
|
|
/********************** LOGIN ROUTES ******************************************/
|
|
$route["get_locale"] = "authentication/get_system_locale/";
|
|
$route["authenticate"] = "authentication/authenticate/";
|
|
$route["auth_token/(:any)/(:any)"] = "authentication/auth_token/$1/$1/";
|
|
$route["verify_login"] = "authentication/verify_login/";
|
|
$route["signup"] = "authentication/user_info";
|
|
$route["save_user"] = "authentication/register_as_unknown_user";
|
|
/********************** END OF LOGIN ROUTES ***********************************/
|
|
|
|
/********************** FORGOT PASSWORD ***************************************/
|
|
$route["enter_code_page"] = "authentication/enter_code_page/";
|
|
$route["enter_code"] = "authentication/enter_code/";
|
|
$route["update_password"] = "authentication/update_password/";
|
|
$route["new_password"] = "authentication/new_password/";
|
|
$route["check_code"] = "authentication/check_code/";
|
|
$route["check_email"] = "authentication/check_email/";
|
|
$route["reset_password_page"] = "authentication/reset_password_page/";
|
|
$route["reset_password"] = "authentication/reset_password/";
|
|
$route['forgot_password_bo'] = "authentication/forgot_password_bo/";
|
|
$route['forgot_password'] = "authentication/forgotpass_page/";
|
|
/********************** END OF FORGOT PASSWORD *******************************/
|
|
|
|
/********************** BO and FO LOGIN **************************************/
|
|
// $route['login'] = "authentication/login/";
|
|
$route['auth'] = "authentication/auth/";
|
|
$route["logout"] = "authentication/logout";
|
|
$route["resources"] = "page_error_handler/index/";
|
|
//TODO: Remove this route before updating Prod Server
|
|
$route["login-user"] = "background_service/bypass_coockie_creation/";
|
|
/********************** END OF BO and FO LOGIN ******************************/
|
|
|
|
|
|
/*********************************************************************************************
|
|
END OF USER AUTHENTICATION ROUTING
|
|
*********************************************************************************************/
|
|
|
|
|
|
/*********************************************************************************************
|
|
BACK OFFICE PAGE ROUTING
|
|
***************************** ***************************************************************/
|
|
|
|
|
|
/**************** MAIN PAGE ****************************************************/
|
|
$route["users_account"] = "backoffice/users_account/";
|
|
$route["user_roles"] = "backoffice/user_roles/";
|
|
$route["city_location"] = "backoffice/city_location/";
|
|
$route["event_type"] = "backoffice/event_type/";
|
|
$route["contact_email"] = "backoffice/contact_email/";
|
|
$route["event"] = "backoffice/event/";
|
|
$route["faqs"] = "backoffice/faqs/";
|
|
$route["statistics"] = "backoffice/statistics/";
|
|
$route["my_profile"] = "backoffice/user_profile/";
|
|
$route["moderation"] = "backoffice/moderation/";
|
|
/**************** End OF MAIN PAGE *********************************************/
|
|
|
|
/********************** My PROFILE **********************************************/
|
|
$route["update_my_profile"] = "profile/user_profile/update/";
|
|
/********************** END OF MY PROFILE ***************************************/
|
|
|
|
|
|
/********************************************************************************
|
|
START OF PERSONALISATION
|
|
**********************************************************************************/
|
|
|
|
/********************** REGISTRATION FORM VALIDATION ********************/
|
|
$route["personalization"] = "backoffice/personalization/";
|
|
$route["personalize/get_reg_form"] = "personalization/personalization/get_reg_form";
|
|
$route["personalize/update_reg_form"] = "personalization/personalization/update_reg_form";
|
|
$route["personalize/create_reg_form_rules"] = "personalization/personalization/create_reg_form_rules";
|
|
/********************** END OF REGISTRATION FORM VALIDATION ************/
|
|
|
|
/********************** BANNER UPLOADING *******************************/
|
|
$route["personalize/get_banner"] = "personalization/personalization/get_banner";
|
|
$route["personalize/upload_banner"] = "personalization/personalization/upload_banner";
|
|
$route["personalize/upload_description"] = "personalization/personalization/upload_description";
|
|
/********************** END OF BANNER UPLOADING ************************/
|
|
|
|
/********************** MENTION LEGALES ********************************/
|
|
$route['personalization/append_mentions_legales'] = "personalization/personalization/append_mentions_legales";
|
|
$route['personalization/update_mentions_legales'] = "personalization/personalization/update_mentions_legales";
|
|
/********************** END OF MENTION LEGALES ************************/
|
|
|
|
/********************** PRIVACY ********************************/
|
|
$route['personalization/append_privacy'] = "personalization/personalization/append_privacy";
|
|
$route['personalization/update_privacy'] = "personalization/personalization/update_privacy";
|
|
/********************** END OF PRIVACY ************************/
|
|
|
|
/********************** Announcement ********************************/
|
|
$route['personalization/save_announcement'] = "personalization/personalization/save_announcement";
|
|
$route['personalization/expireAnnouncement'] = "personalization/personalization/expireAnnouncement";
|
|
|
|
$route['personalization/post_acceptor'] = "personalization/personalization/post_acceptor";
|
|
/********************** END OF MENTION LEGALES ************************/
|
|
|
|
/********************** HEART STROKE *********************************/
|
|
$route['personalize/upload_logo'] = "personalization/personalization/upload_logo";
|
|
$route['personalize/upload_get_logo'] = "personalization/personalization/upload_get_logo";
|
|
/********************** END OF HEART STROKE **************************/
|
|
$route['personalization/update-homepage-title'] = "personalization/personalization/update_homepage_title";
|
|
$route['personalization/get-homepage-title'] = "personalization/personalization/get_homepage_title";
|
|
|
|
/********************************************************************************
|
|
END OF PERSONALISATION
|
|
**********************************************************************************/
|
|
|
|
|
|
/*************************************************************************************
|
|
START OF EMAIL ROUTES
|
|
**************************************************************************************/
|
|
|
|
$route["email_template"] = "backoffice/email_template/";
|
|
$route["get_default_template_by_email_type_id/(:num)"] = "email/email_template/get_default_template_by_email_type_id/$1";
|
|
$route["email_reminder"] = "backoffice/email_reminder/";
|
|
$route["email_default_setting"] = "backoffice/email_default_setting/";
|
|
$route["email_assign_template"] = "backoffice/email_assign_template/";
|
|
$route["email_waitlist_reinvitation"] = "backoffice/email_waitlist_reinvitation/";
|
|
$route["push_event"] = "backoffice/push_event/";
|
|
|
|
|
|
/********************** EMAIL TEMPLATE ******************************************/
|
|
$route["get_email_template_list"] = "email/email_template/get_email_template_list/";
|
|
$route["get_email_default_setting_list"] = "email/email_default_setting/get_email_default_setting_list/";
|
|
$route["get_email_assign_template_list"] = "email/email_assign_template/get_email_assign_template_list/";
|
|
$route["get_email_reminder_list/(:num)"] = "email/email_reminder/get_email_reminder_list/$1/";
|
|
$route["get_email_push_list"] = "email/email_push/get_email_push_list/";
|
|
$route["load_email_type/(:any)"] = "email/email_template/get_tpl_form/$1";
|
|
$route["get_email_template_content/(:num)"] = "email/email_template/get_email_template_content/$1/";
|
|
$route["list_email_templates"] = "email/email_template/typeahead_email_template/";
|
|
$route["list_email_events"] = "email/email_template/typeahead_event/";
|
|
$route["list_email_recipient"] = "email/email_push/typeahead_email_recipient/";
|
|
$route["refresh_sub_list"] = "email/email_push/refresh_subcribers_list/";
|
|
/************************ End of EMAIL TEMPLATE *******************************/
|
|
|
|
|
|
/********************** CREATE EMAIL *****************************************/
|
|
$route["create_email_template"] = "email/email_template/create_email_template/";
|
|
$route["update_email_template/(:num)"] = "email/email_template/update_email_template/$1/";
|
|
$route["check_template_dependencies/(:num)"] = "email/email_template/check_template_dependencies/$1/";
|
|
|
|
$route["save_default_configuration"] = "email/email_default_setting/save_default_configuration/";
|
|
$route["update_default_configuration/(:num)"] = "email/email_default_setting/update_default_configuration/$1/";
|
|
$route["delete_configuration_setting/(:num)"] = "email/email_default_setting/delete_configuration_setting/$1/";
|
|
|
|
$route["assign_email_template"] = "email/email_assign_template/assign_email_template/";
|
|
$route["update_assign_email_template/(:num)"] = "email/email_assign_template/update_assign_email_template/$1/";
|
|
$route["delete_assign_email_template/(:num)"] = "email/email_assign_template/delete_assign_email_template/$1/";
|
|
/********************** END OF CREATE EMAIL **********************************/
|
|
|
|
|
|
/********************** EMAIL REMINDER **************************************/
|
|
$route["add_email_reminder"] = "email/email_reminder/add_email_reminder/";
|
|
$route["update_email_reminder"] = "email/email_reminder/update_email_reminder/";
|
|
$route["delete_email_reminder"] = "email/email_reminder/delete_email_reminder/";
|
|
$route["list_email_reminder"] = "email/email_reminder/typeahead_event/";
|
|
/********************** END OF EMAIL REMINDER *******************************/
|
|
|
|
|
|
/********************** EMAIL PUSH ******************************************/
|
|
$route["add_email_push"] = "email/email_push/add_email_push/";
|
|
$route["update_email_push"] = "email/email_push/update_email_push/";
|
|
$route["delete_email_push"] = "email/email_push/delete_email_push/";
|
|
$route["list_email_push"] = "email/email_push/typeahead_event/";
|
|
$route["list_city_location"] = "email/email_push/typeahead_list_city_location/";
|
|
$route["list_event_type"] = "email/email_push/typeahead_list_event_type/";
|
|
$route["list_active_events"] = "email/email_push/typeahead_list_active_event/";
|
|
/********************** END OF EMAIL PUSH **********************************/
|
|
|
|
|
|
/********************** EMAIL PREVIEW ROUTES ***************************************/
|
|
$route["e/r/(:any)"] = "services/email/reminder/$1";
|
|
$route["e/wri/(:any)"] = "services/email/waitlist_reinvitation/$1";
|
|
$route["e/fp/(:any)"] = "services/email/forgot_password/$1";
|
|
$route["e/four/(:any)"] = "services/email/email_unregistered/$1";
|
|
$route["e/foer/(:any)"] = "services/email/email_registered/$1";
|
|
$route["e/forwl/(:any)"] = "services/email/email_registered_waitlist/$1";
|
|
$route["e/epe/(:any)"] = "services/email/push_event_email/$1";
|
|
$route["e/pte/(:any)"] = "services/email/preview_test_email/$1";
|
|
$route["e/evcl/(:any)"] = "services/email/cancel/$1";
|
|
$route["e/pscl/(:any)"] = "services/email/partial_subs_cancelation/$1";
|
|
|
|
$route["e/prevfoer/(:any)/(:any)/(:any)/(:any)"] = "services/email/email_registered_preview/$1/$2/$3/$4";
|
|
$route["e/prevforwl/(:any)/(:any)/(:any)/(:any)"] = "services/email/email_registered_waitlist_preview/$1/$2/$3/$4";
|
|
|
|
//Subscription routes
|
|
$route["e/eom"] = "services/subscription/end_of_membership";
|
|
$route["e/wi/(:any)"] = "services/email/workshop_informer/$1";
|
|
|
|
/********************** END EMAIL PREVIEW ROUTES *******************************/
|
|
|
|
|
|
/********************************************************************************
|
|
END OF EMAIL ROUTES
|
|
**********************************************************************************/
|
|
|
|
|
|
/********************************************************************************
|
|
START OF EVENT ROUTES
|
|
**********************************************************************************/
|
|
|
|
$route["list_events"] = "events/event/typeahead_event/";
|
|
$route["is_seats_available/(:any)/(:any)"] = "events/event/is_seats_available/$1/$2";
|
|
|
|
|
|
/********************** EVENT ASSIGN EMAIL TEMPALTE *********************/
|
|
$route['event_assigned_email_template/(:any)/(:any)'] = "events/event_assign_email_template/by_event/$1/$2";
|
|
$route['search_by_template_id/(:any)'] = "events/event_assign_email_template/search_by_template_id/$1";
|
|
$route['assign_email_template/(:any)'] = "events/event_assign_email_template/assign_email_template/$1";
|
|
$route['trash_template_event_schedule/(:any)'] = "events/event_assign_email_template/remove_template_event_schedule/$1";
|
|
$route['check_default_template/(:any)'] = "events/event_assign_email_template/get_set_default_template/$1";
|
|
$route['update_default_template/(:any)'] = "events/event_assign_email_template/update_set_default_template/$1";
|
|
$route['assign_template_event_schedule/(:any)'] = "events/event_assign_email_template/assign_template_event_schedule/$1";
|
|
$route['remove_template_event_schedule/(:any)/(:any)/(:any)'] = "events/event_assign_email_template/remove_template_event_schedule/$1/$2/$3";
|
|
$route['reset_template_event_schedule/(:num)/(:num)/(:any)/(:num)'] = "events/event_assign_email_template/reset_template_event_schedule/$1/$2/$3/$4";
|
|
|
|
/********************** END OF EVENT ASSIGN EMAIL TEMPALTE *************/
|
|
|
|
|
|
/********************** EVENT *********************/
|
|
$route["event_duplicate"] = "events/event/event_duplicate";
|
|
$route["add_event"] = "events/event/add_event";
|
|
$route["delete_event/(:num)"] = "events/event/delete_event/$1";
|
|
$route["update_event/(:num)"] = "events/event/update_event/$1";
|
|
$route["preview_event/(:num)"] = "events/event/preview_event/$1";
|
|
$route["event_information/(:num)"] = "events/event/event_information/$1";
|
|
$route["event_info/(:num)"] = "events/event/event_info/$1";
|
|
$route["list_event/(:num)"] = "events/event/list_event/$1";
|
|
$route["similar_events"] = "events/event/similar_events";
|
|
$route["past_events"] = "events/event/past_events";
|
|
$route["get_selected_past_events"] = "events/event/selected_past_events";
|
|
$route["add_selected_past_events"] = "events/event/add_selected_past_events";
|
|
$route["event_subscribers_list/(:num)"] = "events/event_registration/event_subscribers_list/$1";
|
|
$route["cancel_event_registration/(:num)"] = "events/event_registration/cancel_event_registration/$1";
|
|
$route["update_event_payment_add_registration_id"] = "events/event_registration/update_event_payment_add_registration_id";
|
|
$route["update_event_payment_add_created_at"] = "events/event_registration/update_event_payment_add_created_at";
|
|
|
|
// Subscriber to a workshop via email
|
|
$route["workshop/register"] = "events/event/workshop_register_email";
|
|
/********************** END OF EVENT *************/
|
|
|
|
|
|
/********************** EVENT RESEND EMAIL TEMPALTE *********************/
|
|
$route['send_event_cancellation_email/(:any)'] = "events/event_resend_email/onqueue_cancellation_emails_upon_event_cancellation/$1";
|
|
|
|
$route['list_resend_email/(:any)/(:any)'] = "events/event_resend_email/list_resend_email/$1/$2";
|
|
$route['resend_emails'] = "events/event_resend_email/resend_reminder_email_reciepient_data/";
|
|
$route['get_email_template_type'] = "events/event_resend_email/get_email_template_type";
|
|
$route['insert_reference_id'] = "events/event_resend_email/insert_reference_id";
|
|
$route['cancel_resend_email'] = "events/event_resend_email/cancel_resend_email";
|
|
/********************** END of EVENT RESEND EMAIL TEMPALTE *************/
|
|
|
|
|
|
/********************** EVENT SCHEDULE *********************/
|
|
$route["change_seat_feature/(:num)"] = "events/event_schedule/change_seat_feature/$1/";
|
|
$route["add_event_schedule/(:num)"] = "events/event_schedule/add_event_schedule/$1/";
|
|
$route["update_event_schedule/(:num)"] = "events/event_schedule/update_event_schedule/$1/";
|
|
$route["delete_event_schedule/(:num)"] = "events/event_schedule/delete_event_schedule/$1/";
|
|
$route["list_event_schedule/(:num)"] = "events/event_schedule/list_event_schedule/$1/";
|
|
$route["has_duplicate_code_selection"] = "events/event_schedule/has_duplicate_code_selection/";
|
|
|
|
$route["event_schedule_information/(:num)"] = "events/event_schedule/event_schedule_information/$1/";
|
|
|
|
$route["multi_update_evsched_status"] = "events/event_schedule/multi_update_evsched_status";
|
|
/********************** END OF EVENT SCHEDULE *************/
|
|
|
|
|
|
/********************** EVENT SPEAKER *********************/
|
|
$route["add_event_speaker/(:num)"] = "events/event_speaker/add_event_speaker/$1";
|
|
$route["delete_event_speaker/(:num)"] = "events/event_speaker/delete_event_speaker/$1";
|
|
$route["update_event_speaker/(:num)"] = "events/event_speaker/update_event_speaker/$1";
|
|
$route["list_event_speaker/(:num)"] = "events/event_speaker/list_event_speaker/$1";
|
|
/********************** END OF EVENT SPEAKER *************/
|
|
|
|
|
|
/********************** EVENT ATTACHMENT *********************/
|
|
$route["add_event_attachment/(:num)"] = "events/event_attachment/add_event_attachment/$1";
|
|
/*$route["delete_event_attachment/(:num)"] = "events/event_attachment/delete_event_attachment/$1";
|
|
$route["update_event_attachment/(:num)"] = "events/event_attachment/update_event_attachment/$1";*/
|
|
$route["delete_event_attachment/(:any)"] = "events/event_attachment/delete_event_attachment/$1";
|
|
$route["update_event_attachment/(:any)"] = "events/event_attachment/update_event_attachment/$1";
|
|
$route["list_event_attachment/(:num)"] = "events/event_attachment/list_event_attachment/$1";
|
|
$route["reset_attachment/(:any)"] = "events/event_attachment/reset_attachment/$1";
|
|
/********************** END OF EVENT ATTACHMENT *************/
|
|
|
|
|
|
/********************** EVENT SPONSOR *********************/
|
|
$route["add_event_sponsor/(:num)"] = "events/event_sponsor/add_event_sponsor/$1";
|
|
$route["delete_event_sponsor/(:num)"] = "events/event_sponsor/delete_event_sponsor/$1";
|
|
$route["update_event_sponsor/(:num)"] = "events/event_sponsor/update_event_sponsor/$1";
|
|
$route["list_event_sponsor/(:num)"] = "events/event_sponsor/list_event_sponsor/$1";
|
|
/********************** END OF EVENT SPONSOR *************/
|
|
|
|
|
|
/********************************************************************************
|
|
END OF EVENT ROUTES
|
|
**********************************************************************************/
|
|
|
|
|
|
/********************************************************************************
|
|
START OF REPORTS ROUTES
|
|
**********************************************************************************/
|
|
|
|
$route["cron_testing"] = "backoffice/cron_testing/";
|
|
$route["subscribers_list"] = "backoffice/reports_subscribers_list/";
|
|
$route["export_subscribers_list/(:any)"] = "reports/subscribers/export_subscribers_list/$1";
|
|
$route['export_events_info/(:num)/(:num)'] = 'reports/event_info/export_events_list/$1/$2';
|
|
$route['export_subscribers_info'] = 'reports/subscribers/export_subscribers_info';
|
|
$route["delete_subscriber"] = "reports/subscribers/delete_subscriber/";
|
|
$route["get_subscriber"] = "reports/subscribers/get_subscriber/";
|
|
$route["put_subscriber"] = "reports/subscribers/put_subscriber/";
|
|
|
|
$route["enable_disable_user_moderation"] = "reports/subscribers/enable_disable_user_moderation/";
|
|
$route["get_user_moderation/(:num)"] = "reports/subscribers/get_user_moderation/$1";
|
|
|
|
/********************************************************************************
|
|
END OF REPORTS ROUTES
|
|
**********************************************************************************/
|
|
|
|
|
|
/********************************************************************************
|
|
START OF SYSTEM CONFIGURATION ROUTES
|
|
**********************************************************************************/
|
|
|
|
/********************** CITY LOCATION ***********************************/
|
|
$route["city_location_list"] = "admin/city_location/get_city_location_list/";
|
|
/********************** END OF CITY LOCATION ****************************/
|
|
|
|
/********************** USER ACCOUNT MANAGEMENT *************************/
|
|
$route["user_account_list"] = "admin/users_account/get_user_account_list/";
|
|
/********************** USER ROLE MANAGEMENT *************************/
|
|
$route["user_role/fetch"] = "admin/userRoleController/fetch/";
|
|
$route["user_role/add"] = "admin/userRoleController/saveRole/";
|
|
$route["user_role/update"] = "admin/userRoleController/update/";
|
|
$route["user_role/delete"] = "admin/userRoleController/delete/";
|
|
/********************** END OF USER ACCOUNT MANAGEMENT ******************/
|
|
|
|
/********************** CONTACT MANAGEMENT *************************/
|
|
$route["contact/update_email"] = "admin/contacts/update_contact_email";
|
|
$route["contact/email"] = "admin/contacts/contact_email";
|
|
$route["contact/add_nature_of_business"] = "admin/contacts/add_nature_of_business";
|
|
$route["contact/delete_nature"] = "admin/contacts/delete_nature";
|
|
$route["contact/get_nature"] = "admin/contacts/get_nature";
|
|
$route["contact/edit_nature"] = "admin/contacts/edit_nature";
|
|
/********************** END OF CONTACT MANAGEMENT ******************/
|
|
|
|
/********************************************************************************
|
|
END OF SYSTEM CONFIGURATION ROUTES
|
|
**********************************************************************************/
|
|
|
|
|
|
/********************************************************************************
|
|
START OF DASHBOARD ROUTES
|
|
**********************************************************************************/
|
|
|
|
$route["get_ga_data/(:any)/(:any)/(:any)"] = "dashboard/dashboard/get_ga_data/$1/$2/$3";
|
|
// get data mainly for tables
|
|
$route["get_dashboard_table_data/(:any)/(:any)/(:any)"] = "dashboard/dashboard/get_dashboard_table_data/$1/$2/$3";
|
|
// get data for graphs
|
|
$route["get_ga_data/(:any)/(:any)/(:any)/(:any)/(:any)"] = "dashboard/dashboard/get_ga_data/$1/$2/$3/$4/$5";
|
|
// export dashboard data
|
|
$route["export_dashboard/(:any)/(:any)"] = "dashboard/dashboard_export_controller/export/$1/$2";
|
|
|
|
|
|
|
|
$route["fetch_and_store_analytics_data/(:any)/(:any)"] = "Background_service/fetch_and_store_analytics_data/$1/$2";
|
|
$route["get_total_visitors"] = "dashboard/dashboard/get_total_visitors";
|
|
$route["get_total_connection"] = "dashboard/dashboard/get_total_connection";
|
|
$route["get_total_connection"] = "dashboard/dashboard/export_dashboard";
|
|
|
|
/********************************************************************************
|
|
END OF DASHBORD ROUTES
|
|
**********************************************************************************/
|
|
|
|
/********************************************************************************
|
|
START OF MODERATION ROUTES
|
|
**********************************************************************************/
|
|
|
|
$route["saveModSettings"] = "moderation/Moderation/saveSettings/";
|
|
$route["saveSubModSettings/(:num)"] = "moderation/Moderation/saveSettings/$1";
|
|
|
|
// Get latest moderation settings Moderation settings
|
|
$route["getModSettings/(:num)"] = "moderation/Moderation/getLatestModerationSettings/$1";
|
|
|
|
// Get latest moderation settings for validation
|
|
$route["getLatestModSettings/(:num)/(:num)"] = "moderation/Moderation/getLatestModerationSettings/$1/$2";
|
|
// Get latest moderation settings for event schedule especially when editing
|
|
$route["getEvSchedModSettings/(:num)"] = "moderation/Moderation/getEvSchedModSettings/$1/";
|
|
// Check if event schedule qualifies in current moderation settings
|
|
$route["checkIfEventQualifiesInModeration/(:num)"] = "moderation/Moderation/checkIfEventQualifiesInModeration/$1/";
|
|
|
|
$route["update_moderation"] = "moderation/update_moderation";
|
|
$route["checking_moderation/(:num)/(:num)"] = "moderation/Moderation/checkIfSubscriberIsModerated/$1/$2";
|
|
$route["getMyReservationsInfo"] = "moderation/moderation/getMyReservationsInfo";
|
|
$route["getModerationGeneralSettings"] = "moderation/General_Moderation_Settings/getModerationGeneralSettings";
|
|
$route["getModerationInfoForFirstLogin"] = "moderation/moderation/getModerationInfoForFirstLogin";
|
|
|
|
/********************************************************************************
|
|
END OF DASHBORD ROUTES
|
|
**********************************************************************************/
|
|
|
|
|
|
|
|
/************************************************************************************************
|
|
END OF BACK OFFICE PAGE ROUTING
|
|
************************************************************************************************/
|
|
|
|
|
|
|
|
/*********************************************************************************
|
|
UPLOAD DEFAULT EMAIL TEMPLATE ROUTES
|
|
**********************************************************************************/
|
|
$route['upload_email_template'] = 'services/email/upload_default_email_template/';
|
|
/*********************************************************************************
|
|
END OF UPLOAD DEFAULT EMAIL TEMPLATE ROUTES
|
|
**********************************************************************************/
|
|
|
|
|
|
|
|
/*********************************************************************************
|
|
GET USER EMAIL FOR SENDING TEST EMAIL ROUTES
|
|
**********************************************************************************/
|
|
$route['send_test_email/(:any)/(:num)/(:num)/(:num)'] = "events/event_assign_email_template/send_test_email/$1/$2/$3/$4";
|
|
/*********************************************************************************
|
|
END OF GET USER EMAIL FOR SENDING TEST EMAIL ROUTES
|
|
**********************************************************************************/
|
|
|
|
/*********************************************************************************
|
|
NO SHOW ROUTES
|
|
**********************************************************************************/
|
|
$route["getNoshowStatus/(:num)"] = "noshow/noshow/getNoshowStatus/$1";
|
|
$route["toggleNoshowStatus/(:num)"] = "noshow/noshow/toggleNoshowStatus/$1";
|
|
|
|
$route["no_show/(:num)"] = "backoffice/no_show/$1";
|
|
$route["getSeatInfo/(:num)"] = "noshow/noshow/getSeatInfo/$1";
|
|
$route["getSeatInfo/(:num)/(:num)"] = "noshow/noshow/getSeatInfo/$1/$2";
|
|
|
|
$route["getNoshowInfo/(:num)"] = "noshow/noshow/getNoshowInfo/$1";
|
|
$route["get_no_show_list/(:num)/(:num)"] = "noshow/noshow/get_datatable/$1/$2";
|
|
$route["post_no_show_list/(:num)"] = "noshow/noshow/post_noshow/$1";
|
|
$route["export_noshow/(:num)"] = "noshow/noshow/export/$1";
|
|
$route["check_remaining_seats/(:num)"] = "noshow/noshow/check_remaining_seats/$1";
|
|
$route["import_noshow"] = "noshow/noshow/import/";
|
|
|
|
$route["export/(:num)/(:num)"] = "noshow/noshow_export_controller/export/$1/$2";
|
|
$route["attendance/upload"] = "noshow/noshow_import_controller/upload";
|
|
$route["attendance/(:num)/(:num)"] = "backoffice/attendance/$1/$2";
|
|
$route["statistics/(:num)/(:num)"] = "noshow/noshow_attendance_statistics/loadStatistics/$1/$2";
|
|
|
|
|
|
$route["get_noshow_data/(:num)/(:num)"] = "noshow/Noshow/get_noshow_data/$1/$2";
|
|
$route["save_noshow_data"] = "noshow/Noshow/save_noshow_data";
|
|
$route["save_walk_in"] = "noshow/Noshow/save_walk_in";
|
|
$route["validateExtraPeopleIfEmailsExists"] = "noshow/Noshow/validateExtraPeopleIfEmailsExists";
|
|
|
|
/*********************************************************************************
|
|
END NO SHOW ROUTES
|
|
**********************************************************************************/
|
|
|
|
/*********************************************************************************
|
|
FAQ ROUTES
|
|
**********************************************************************************/
|
|
$route['suggestion'] = "faq/faq/suggestion/";
|
|
$route['heart_stroke_home'] = "frontoffice/heart_stroke_home";
|
|
/*********************************************************************************
|
|
END FAQ ROUTES
|
|
|
|
ADMIN API ROUTES
|
|
**********************************************************************************/
|
|
$route['api/create_new_admin'] = "User/create_new_admin";
|
|
|
|
|
|
/* End of file routes.php */
|
|
/* Location: ./application/config/routes.php */
|
|
|