122 lines
4.3 KiB
PHP
122 lines
4.3 KiB
PHP
|
<?php
|
||
|
defined('BASEPATH') OR exit('No direct script access allowed');
|
||
|
|
||
|
$route['default_controller'] = 'user';
|
||
|
$route['admin/login'] = 'user/login';
|
||
|
$route['admin/dashboard'] = 'user/dashboard';
|
||
|
$route['admin/dashboard-request'] = 'user/dashboard';
|
||
|
$route['admin/dashboard-completed'] = 'user/dashboard';
|
||
|
$route['admin/dashboard-onboard'] = 'user/dashboard';
|
||
|
$route['admin/dashboard-response'] = 'user/dashboard';
|
||
|
$route['admin/dashboard-not-response'] = 'user/dashboard';
|
||
|
$route['admin/logout'] = 'user/logout';
|
||
|
$route['admin/profile'] = 'user/profile';
|
||
|
|
||
|
//role
|
||
|
$route['admin/role'] = 'role/list_role';
|
||
|
|
||
|
//slider
|
||
|
$route['admin/slider'] = 'slider/list_slider';
|
||
|
$route['admin/add-slider'] = 'slider/add_slider';
|
||
|
$route['admin/edit-slider/(:num)'] = 'slider/edit_slider/$1';
|
||
|
|
||
|
//staff
|
||
|
$route['admin/staff'] = 'staff/list_staff';
|
||
|
$route['admin/add-staff'] = 'staff/add_staff';
|
||
|
$route['admin/edit-staff/(:num)'] = 'staff/edit_staff/$1';
|
||
|
$route['admin/delete-staff/(:num)'] = 'staff/delete_staff/$1';
|
||
|
|
||
|
//company
|
||
|
|
||
|
$route['admin/company'] = 'company/list_company';
|
||
|
|
||
|
//category
|
||
|
|
||
|
$route['admin/add-category'] = 'category/add_category';
|
||
|
$route['admin/category'] = 'category/list_category';
|
||
|
$route['admin/view-category/(:num)'] = 'category/view_category/$1';
|
||
|
$route['admin/edit-category/(:num)'] = 'category/edit_category/$1';
|
||
|
|
||
|
|
||
|
//policies
|
||
|
|
||
|
$route['admin/policies'] = 'policy/list_policy';
|
||
|
$route['admin/add-policy'] = 'policy/add_policy';
|
||
|
$route['admin/view-policy/(:num)'] = 'policy/view_policy/$1';
|
||
|
$route['admin/edit-policy/(:num)'] = 'policy/edit_policy/$1';
|
||
|
|
||
|
//blog
|
||
|
|
||
|
$route['admin/blog'] = 'blog/list_blog';
|
||
|
$route['admin/add-blog'] = 'blog/add_blog';
|
||
|
$route['admin/edit-blog/(:num)'] = 'blog/edit_blog/$1';
|
||
|
|
||
|
//testimonial
|
||
|
|
||
|
$route['admin/testimonial'] = 'testimonial/list_testimonial';
|
||
|
$route['admin/add-testimonial'] = 'testimonial/add_testimonial';
|
||
|
$route['admin/edit-testimonial/(:num)'] = 'testimonial/edit_testimonial/$1';
|
||
|
|
||
|
//faq
|
||
|
$route['admin/faq'] = 'faq/list_faq';
|
||
|
$route['admin/add-faq'] = 'faq/add_faq';
|
||
|
$route['admin/edit-faq/(:num)'] = 'faq/edit_faq/$1';
|
||
|
|
||
|
//admin/enquiries
|
||
|
|
||
|
$route['admin/enquiries'] = 'lists/list_enquiries';
|
||
|
$route['admin/reviews'] = 'lists/list_reviews';
|
||
|
|
||
|
//menu
|
||
|
$route['admin/cmenu'] = 'menu/list_menu';
|
||
|
$route['admin/add-menu'] = 'menu/update_menu';
|
||
|
|
||
|
//orders
|
||
|
$route['admin/orders'] = 'orders/list_orders';
|
||
|
//fornt end
|
||
|
//================================
|
||
|
$route['home'] = 'frontend/home';
|
||
|
$route['register'] = 'frontend/register';
|
||
|
$route['front-dashboard'] = 'frontend/dashboard';
|
||
|
$route['become-an-agent'] = 'frontend/becoame_agent';
|
||
|
$route['policy-list'] = 'frontend/list_policy';
|
||
|
$route['policy-detail/(:num)'] = 'frontend/policy_detail/$1';
|
||
|
$route['category/view-price/(:num)'] = 'frontend/category_view_price/$1';
|
||
|
$route['plan-comparision/(:num)'] = 'frontend/compare_plan_details/$1';
|
||
|
$route['view-agent-profile/(:num)/(:num)'] = 'frontend/view_agent_profile/$1/$2';
|
||
|
$route['agent-collect-documents/(:num)/(:num)'] = 'frontend/agent_collect_documents/$1/$2';
|
||
|
|
||
|
|
||
|
//widhlist
|
||
|
$route['add-to-wishlist/(:num)/(:num)'] = 'frontend/add_wish/$1/$2'; //1-userid,2-policyid
|
||
|
$route['remove-from-wishlist/(:num)/(:num)'] = 'frontend/remove_wish/$1/$2'; //1-userid,2-policyid
|
||
|
|
||
|
//request
|
||
|
$route['agent-request'] = 'frontend/agent_request';
|
||
|
$route['user-request'] = 'frontend/user_request';
|
||
|
$route['view-user-response/(:num)'] = 'frontend/view_user_response/$1';
|
||
|
//order
|
||
|
$route['agent-order'] = 'frontend/agent_order';
|
||
|
$route['user-order'] = 'frontend/user_order';
|
||
|
|
||
|
//user profile
|
||
|
$route['user-profile'] = 'frontend/user_profile';
|
||
|
$route['user-edit-profile'] = 'frontend/user_editprofile';
|
||
|
$route['user-change-profile'] = 'frontend/user_changeprofile';
|
||
|
$route['user-change-password'] = 'frontend/user_change_password';
|
||
|
$route['user-favourite'] = 'frontend/favourites';
|
||
|
|
||
|
|
||
|
//agent profile
|
||
|
$route['agent-profile'] = 'frontend/agent_profile';
|
||
|
$route['agent-edit-profile'] = 'frontend/agent_edit_profile';
|
||
|
$route['agent-change-profile'] = 'frontend/agent_change_profile';
|
||
|
$route['agent-change-password'] = 'frontend/agent_change_password';
|
||
|
//review
|
||
|
$route['agent-review'] = 'frontend/agent_review';
|
||
|
$route['user-review'] = 'frontend/user_review';
|
||
|
|
||
|
//login
|
||
|
$route['front-user-logout'] = 'frontend/user_logout';
|
||
|
$route['front-agent-logout'] = 'frontend/agent_logout';
|
||
|
|