<?php
defined('BASEPATH') OR exit('No direct script access allowed');

$route['default_controller'] = 'Home';


$route['get-panchangam'] = 'Home/getpanchangamData';
$route['event/(:any)/(:any)'] = 'Events/index/$1/$2';
$route['all-upcoming-events'] = 'Events/allUpcomingEvents';

$route['calendar'] = 'Home/Calendar';
$route['gallery'] = 'Home/Gallery';
$route['services'] = 'Services';
$route['sponsor-now'] = 'SponsorNow';
$route['sponsor-now/(:any)'] = 'SponsorNow/getSponsorServices/$1';
$route['recurring-sponsor-now/(:any)'] = 'RecurringSponsorNow/getRecurringSponsorServices/$1';
$route['recurring-sponsor/checkout'] = 'RecurringSponsorNow/Checkout';

$route['checkout/sponsorship'] = 'SponsorNow/Checkout';

$route['contact-us'] = 'Home/Contact_us';
$route['signin'] = 'Home/Login';
$route['signup'] = 'Home/SignUp';
$route['logout'] = 'Home/Logout';
$route['donations'] = 'Donations';
$route['gallery/(:any)/(:any)'] = 'Home/FilterGalleryBy/$1/$2';
$route['check-login-status'] = 'Home/checkLoginStatus';
$route['get-services'] = 'Home/getServices';
$route['services/serviceRequest'] = 'Services/ServiceRequestForm';
$route['services/MakePayment'] = 'Services/Make_a_payments';
$route['filter-services-by'] = 'FilterServices/SevicesFilterByDeityAndDisplayGroup';
$route['services-by-deityname'] = 'FilterServices/ServicesFilterByDeityName';
$route['services-by-deityname-and-servicename'] = 'FilterServices/ServicesFilterByDeityNameAndServiceName';
$route['services-by-display-group'] = 'FilterServices/ServicesFilterByDisplayGroup';
$route['request-a-service'] = 'RequestForm';
$route['checkout/(:any)'] = 'Checkout/index/$1';
$route['donations/checkout'] = 'Donations/Checkout';
$route['events/checkout'] = 'Events/Checkout';
$route['send-email-otp'] = 'Home/sendEmailOTP';
$route['email-otp-verification'] = 'Home/verifyEmailOTP';
$route['send-mobile-otp'] = 'Home/mobileAuth';
$route['phone-login'] = 'Home/Login';
$route['add-service-cart'] = 'Home/addServiceCart';
$route['employment-opportunities'] = 'About_Temple/employmentOpportunities';


$route['services/request/(:any)'] = 'Services/ServiceRequestForm/$1';

$route['services/request/(:any)'] = 'Services/ServiceRequestForm/$1';


$route['about-temple'] = 'About_Temple/About_temple';
$route['temple-history'] = 'About_Temple/Temple_history';
$route['temple-vision'] = 'About_Temple/Temple_vision';
$route['temple-bylaws'] = 'About_Temple/Temple_bylaws';
$route['managements'] = 'ManagementSettings';
$route['about-committee'] = 'About_Temple/About_committee';
$route['about-deities'] = 'About_Temple/About_deity';
$route['about-priest'] = 'About_Temple/About_priest';
$route['general-reference'] = 'About_Temple/General_reference';
$route['financial-statements'] = 'About_Temple/Financial_statements';
$route['volunteer'] = 'Forms/Volunteers';
$route['add-volunteer'] = 'Forms/AddVolunteer';
$route['send/your-query'] = 'Home/submitContactForm';

$route['vidyalaya'] = 'About_Temple/vidyalaya';
$route['privacy-statement'] = 'About_Temple/privacystatement';
$route['terms-and-conditions'] = 'About_Temple/termsconditions';

$route['architecture'] = 'About_Temple/Architecture';
$route['festivals'] = 'About_Temple/Festivals';
$route['bhajans'] = 'About_Temple/Bhajans';
$route['virtual-tour'] = 'About_Temple/VirtualTour';
$route['temple-architecture'] = 'About_Temple/TempleArchitecture';
$route['rajagopuram'] = 'About_Temple/Rajagopuram';

$route['pledge-form'] = 'PledgeForm';

$route['membership-form'] = 'MembershipForm';


// Admin Redirections
$route['devotee-dashboard'] = 'Admin/Dashboard';
$route['admin/dashboard'] = 'Admin/Dashboard';
$route['admin/in-temple-bookings'] = 'Admin/Dashboard/In_Temple_Bookings';
$route['admin/away-temple-bookings'] = 'Admin/Dashboard/Away_Temple_Bookings';
$route['admin/events-bookings'] = 'Admin/Dashboard/Events_Bookings';
$route['admin/my-donations'] = 'Admin/Dashboard/MyDonations';
$route['admin/my-orders'] = 'Admin/Dashboard/MyOrders';
$route['admin/my-service-request'] = 'Admin/ServiceRequest';

$route['admin/my-profile'] = 'Admin/Dashboard/MyProfile';
$route['admin/update-profile'] = 'Admin/Dashboard/EditProfile';
$route['admin/update/profile'] = 'Admin/Dashboard/UpdateProfile';


$route['admin/getCityByState'] = 'Admin/Dashboard/GetCity';

$route['admin/my-payments'] = 'Admin/Dashboard/MyPayments';

$route['admin/refund-payment/(:any)'] = 'Admin/Dashboard/RefundPayment/$1';
$route['admin/request-refund-payment/(:any)/(:any)'] = 'Admin/Dashboard/SubmitRefundForm/$1/$2';
$route['admin/download-reciept/(:any)/(:any)'] = 'Admin/Dashboard/download_reciept/$1/$2';
$route['admin/ServiceRequest'] = 'Admin/ServiceRequest/ServiceRequest';


$route['admin/GetServicesByCategory'] = 'Admin/ServiceRequest/GetServicesByCategory';

$route['admin/service-request'] = 'Admin/ServiceRequest/addServiceRequest';
$route['admin/getPriestByEmail'] = 'Admin/ServiceRequest/getPriestByEmail';
$route['admin/facilities-bookings'] = 'Admin/Dashboard/FacilitiesBooking';


$route['admin/filterBookingData/(:any)'] = 'Admin/Dashboard/FilterBookingData/$1';


$route['admin/yearly/Tax-Letter'] = 'Admin/Dashboard/YearlyTaxLetter';
$route['admin/download/yearly/Tax-Letter'] = 'Admin/Dashboard/DownlaodTaxLetter';
$route['admin/add-annual-events'] = 'Admin/Dashboard/AddAnnualEventsPage';
$route['admin/my-annual-events'] = 'Admin/Dashboard/MyAnnualEventsList';



// ====================== Managements Routes ========================

$route['managements/meeting-list'] = 'Managements/Managements/Meetings';
$route['managements/meetingviewdetails'] = 'Managements/Managements/MeetingsViewDetails';
$route['managements/meeting-attendance/(:any)/(:any)/(:any)'] = 'Managements/Managements/Attendance/$1/$2/$3';
$route['managements/meeting-minutes/(:any)/(:any)/(:any)'] = 'Managements/Managements/meetingMinutes/$1/$2/$3';
$route['managements/meeting-profile/(:any)/(:any)/(:any)'] = 'Managements/Managements/meetingProfile/$1/$2/$3';
$route['managements/voting-detail-register/(:any)/(:any)/(:any)'] = 'Managements/Managements/VotingDetailsRegister/$1/$2/$3';
$route['managements/meeting-details/(:any)/(:any)/(:any)'] = 'Managements/Managements/MeetingDetails/$1/$2/$3';
$route['managements/meeting-calendar'] = 'Managements/Managements/MeetingCalendar';
$route['managements/member-directory'] = 'Managements/Managements/getManagementsDirectory';



$route['facilities'] = 'facilitiesContollers/Facilities';
$route['facilities/checkout'] = 'facilitiesContollers/Checkout';

$route['priest-request-form']="PriestForm";


$route['404_override'] = '';
$route['translate_uri_dashes'] = FALSE;