<?php

defined('BASEPATH') OR exit('No direct script access allowed');
/*
 * ----------------------------@@@@Front end (17-10-2016)-------------------------------------
 */
//------------------------All public View (WelCome and Application)--------------
$route['default_controller'] = "welcome";
$route['404_override'] = 'invalid_url';
$route['logout'] = "welcome/logout";

/*
* Feed Url
*/

$route['feed'] = "Feed";

/*
 * Video and Workfile Routes Start 10/07/2017
 */

//write all video and workfile routes here
$route['add-admin-video'] = "Manage_admin_video/add_admin_video";
$route['manage-admin-video'] = "Manage_admin_video/manage_admin_video";
$route['manage-admin-video/(.+)'] = "Manage_admin_video/manage_admin_video/$1";
$route['add-admin-video-form'] = "Manage_admin_video/add_admin_video_form";
$route['add-single-admin-video'] = "Manage_admin_video/add_single_admin_video";
$route['upload-admin-video'] = "Manage_admin_video/upload_admin_video";
$route['upload-admin-video-work-file'] = "Manage_admin_video/upload_admin_video_work_file";
$route['view-single-video/(.+)'] = "Manage_admin_video/view_single_video/$1";
$route['view-single-video-user-info'] = "Manage_admin_video/view_single_video_user_info";
$route['edit-admin-video/(.+)/(.+)'] = "Manage_admin_video/edit_admin_video/$1/$2";
$route['delete-single-resolution-video'] = "manage_admin_video/delete_single_resolution_video";
$route['delete-admin-video'] = "Manage_admin_video/delete_admin_video";
$route['delete-admin-video-workfile'] = "Manage_admin_video/delete_admin_video_workfile";
$route['download-manage-admin-video-workfile/(.+)'] = "Manage_admin_video/download_manage_admin_video_workfile/$1";
$route['search-admin-video'] = "Manage_admin_video/search_admin_video";
$route['pagination-admin-video'] = "Manage_admin_video/pagination_admin_video";



$route['not-found'] = "Manage_admin_video/not_found";

/*
 * Video and Workfile Routes End
 */

/*
 * Video Course Routes Start
 */
$route['add-admin-video-course'] = "manage_admin_video_course/add_admin_video_course";
$route['view-child-topic'] = "manage_admin_video_course/view_child_topic";
$route['search-admin-video-course-language'] = "manage_admin_video_course/search_admin_video_course_language";
$route['save-admin-video-course'] = "manage_admin_video_course/save_admin_video_course";
$route['manage-admin-video-course'] = "manage_admin_video_course/manage_admin_video_course";
$route['manage-admin-video-course/(.+)'] = "manage_admin_video_course/manage_admin_video_course/$1";
$route['edit-admin-video-course/(.+)'] = "manage_admin_video_course/edit_admin_video_course/$1";
$route['delete-admin-video-course/(.+)'] = "manage_admin_video_course/delete_admin_video_course/$1";
$route['update-admin-video-course/(.+)'] = "manage_admin_video_course/update_admin_video_course/$1";
$route['search-admin-video-course'] = "manage_admin_video_course/search_admin_video_course";
$route['pagination-admin-video-course'] = "manage_admin_video_course/pagination_admin_video_course";
$route['view-single-video-course/(.+)'] = "manage_admin_video_course/view_single_video_course/$1";
$route['check-admin-video-course-url'] = "manage_admin_video_course/check_video_course_url";
$route['video-course-status-change'] = "manage_admin_video_course/video_course_status_change";

/*
 * All Video Course route Start
 * 
 */
$route['all-video-course'] = "All_video_course/all_video_course";
$route['view-all-video-course'] = "All_video_course/view_all_video_course";
$route['more-video-course-child-topic'] = "All_video_course/more_video_course_child_topic";
$route['all-video-course-search'] = "All_video_course/all_video_course_search";
$route['pagination-all-video-course'] = "All_video_course/pagination_all_video_course";
$route['search-all-video-course'] = "All_video_course/search_all_video_course";
$route['more-video-course-resource-person'] = "All_video_course/more_video_course_resource_person";

/*
 * All Video Course route end
 * 
 */



/*
 * Section to a Meta to a Video Course Start 30/07/2017 by shahin
 * 
 */
$route['manage-video-course-meta/(.+)'] = "Manage_video_course_meta/manage_video_course_meta/$1";
$route['add-video-course-meta/(.+)'] = "Manage_video_course_meta/add_video_course_meta/$1";
$route['edit-video-course-meta/(.+)'] = "Manage_video_course_meta/edit_video_course_meta/$1";
$route['update-video-course-meta/(.+)'] = "Manage_video_course_meta/update_video_course_meta/$1";
$route['meta/edit-meta'] = "Manage_video_course_meta/edit_meta";
$route['meta/delete-meta'] = "Manage_video_course_meta/delete_meta";
$route['meta/update-meta'] = "Manage_video_course_meta/update_meta";




/*
 * Section to a Video Course Routes End
 */

/*
 * Video Course Section Start
 */
$route['manage-video-section-by-ajax'] = "Manage_section/manage_video_section_by_ajax";
$route['manage-video-section/(.+)'] = "Manage_section/manage_video_section/$1";
$route['add-video-section'] = "Manage_section/add_video_section";
$route['edit-video-section'] = "Manage_section/edit_video_section";
$route['update-video-section'] = "Manage_section/update_video_section";
$route['pagination-video-section'] = "Manage_section/pagination_video_section";
$route['search-video-section'] = "Manage_section/search_video_section";
$route['add-video-to-section'] = "Manage_section/add_video_to_section";

$route['assign-admin-video-to-section/(.+)/(.+)'] = "Manage_section/assign_admin_video_to_section/$1/$2";
$route['section-total-video/(.+)'] = "Manage_section/section_total_video/$1";
$route['order-video-section-when-video-exist'] = "Manage_section/order_video_section_when_video_exist";
$route['add-section-video-order/(.+)/(.+)'] = "Manage_section/add_section_video_order/$1/$2";
$route['section-video-move/(.+)'] = "Manage_section/move_video_of_a_section/$1";
$route['delete-single-section-video'] = "Manage_section/delete_single_section_video";
$route['delete-section'] = "Manage_section/delete_single_section";
$route['pagination-section-video'] = "Manage_section/pagination_section_video";
$route['search-section-video'] = "Manage_section/search_section_video";
$route['delete-section-single-resolution-video'] = "Manage_section/delete_section_single_resolution_video";
$route['delete-section-video-workfile'] = "Manage_section/delete_section_video_workfile";

/*
 * Video Course Section End
 */
/*
 * Language Routes Start 10/07/2017
 */

//write all language routes here
$route['language'] = "Manage_language/manage_language";
$route['language/add-language'] = "Manage_language/add_language";
$route['language/edit-language'] = "Manage_language/edit_language";
$route['language/update-language'] = "Manage_language/update_language";
$route['language/delete-language'] = "Manage_language/delete_language";
$route['language/view-all-language'] = "Manage_language/search_language";
$route['language/manage-language-ajax'] = "Manage_language/manage_language_ajax";
$route['language-page'] = "Manage_language/pagination_language";
$route['search-language-page'] = "Manage_language/search_language_pagination";


/*
 * Language Routes End
 */
/*
 * Video Course Routes Start Here
 */
/*
 * video course invitation Routes Start 10/07/2017
 */

//write all send video course invitation routes here
$route['send-video-course-invitation/(.+)'] = "Send_video_course_invitation/send_video_course_invitation/$1";
$route['send-invitation'] = "Send_video_course_invitation/send_video_course_invitation_by_email";
$route['send-invitation-again'] = "Send_video_course_invitation/send_invitation_again";
$route['send-registration-invitation'] = "Send_video_course_invitation/send_registration_invitation";
$route['delete-invitation-receive-person'] = "Send_video_course_invitation/delete_invitation_receive_person";
$route['view-video-course-invitation/(.+)'] = "Send_video_course_invitation/view_video_course_invitation/$1";
$route['send-video-course-invitation-user-list/(.+)'] = "Send_video_course_invitation/send_video_course_invitation_user_list/$1";
$route['manage-send-video-course-invitation'] = "Send_video_course_invitation/manage_send_video_course_invitation";
$route['search-manage-send-video-course-invitation'] = "Send_video_course_invitation/search_manage_send_video_course_invitation";
$route['search-send-video-course-invitation-user-list'] = "Send_video_course_invitation/search_send_video_course_invitation_user_list";
$route['pagination-manage-send-video-course-invitation'] = "Send_video_course_invitation/pagination_manage_send_video_course_invitation";
$route['pagination-view-video-course-invitation'] = "Send_video_course_invitation/pagination_view_video_course_invitation";
$route['pagination-send-video-course-invitation-user-list'] = "Send_video_course_invitation/pagination_send_video_course_invitation_user_list";


/*
 * video course invitation Routes End
 */



// Temporary video player routes
//$route['test-video-player'] = "video_player/show_player";
//$route['test-video-player/plyr'] = "video_player/show_plyr";
//$route['test-video-player/upload'] = "video_player/upload_video";
//$route['test-video-player/show-converter'] = "video_player/show_converter";
//$route['test-video-player/run-converter/(.+)'] = "video_player/run_conversion/$1";
//$route['test-video-player/(.+)'] = "video_player/show_player/$1";


//Home_infor Controller and TT Information
$route['tt-individual'] = "home_info/individual";
$route['tt-team'] = "home_info/team";
$route['tt-profile'] = "home_info/profile";
$route['tt-network'] = "home_info/network";
$route['grade-certificate'] = "home_info/grade_certificate";
$route['tt-help'] = "home_info/help";

//for public view (future Work)
$route['end-class'] = "welcome/end_class";
$route['scholarship'] = "welcome/scholarship";
$route['scholarship-list'] = "welcome/scholarship_list";
$route['tt-pricing'] = "welcome/pricing";
$route['pricing/virtual-classroom'] = "welcome/pricing";

//for public Quiz
$route['quiz-result'] = "welcome/quiz_result";
$route['previous-question/(.+)'] = "welcome/previous_question/$1";
$route['quiz/(.+)/quiz_marking'] = "welcome/quiz_marking/$1";
$route['quiz/(.+)/run_course_quiz'] = "welcome/run_course_quiz/$1";
$route['public_course_quiz/quiz_result'] = "welcome/quiz_result";
$route['quiz/(.+)/run_video_course_quiz'] = "welcome/run_video_course_quiz/$1";
$route['quiz/(.+)/video_quiz_marking'] = "welcome/video_quiz_marking/$1";
$route['public_course_quiz/video_quiz_result'] = "welcome/video_quiz_result";

//for public group
$route['join-group/(.+)'] = "welcome/join_group/$1"; //join-group from Group view
$route['public-group-member-view'] = "welcome/group_member_more_view/$1";
$route['all-group'] = "welcome/all_group";
$route['all-group/(.+)'] = "welcome/all_group/$1";
$route['pagination-group-more-view'] = "welcome/pagination_group_more_view";
$route['select-latest-group'] = "welcome/select_other_latest_group";
$route['select-popular-group'] = "welcome/select_popular_group_other";
$route['join-group-public'] = 'welcome/join_group_public';
$route['select-category-wise-group'] = 'welcome/select_category_wise_group';

//right Connect User
$route['(.+)/sign-in-and-connect'] = "welcome/connect_user/$0";
//right content view
$route['download-public-content-library/(.+)'] = "welcome/download_public_content_library/$1";

$route['contact'] = "application/contact";     //tania 25-04-2016 stat contact
//$route['check-contact-captcha'] = "application/check_contact_captcha"; //tania 25-04-16   //sign up 5
$route['(.+)/profile'] = "application/user_profile/$0";
$route['view-searched-information'] = "application/view_searched_information";
$route['get-more-search-info'] = "application/get_more_search_information";
$route['download-video-course-work-file/(.+)'] = "application/download_video_course_work_file/$1";
$route['get-single-video'] = "application/get_single_uploaded_vedio_by_upload_video_id";
$route['get-searched-video'] = "application/get_uploaded_video_by_search";
$route['welcome/(.+)'] = "$0/$1";
$route['application/(.+)'] = "$0/$1";
/*
 * ----------------------------All public View (WelCome and Application) (End)-------------------------------------
 */

/*
 * ----------------------------Start Batch Part-------------------------------------
 */
$route['teacher/add-batch'] = "batch/create_teacher_batch";
$route['organization/add-batch'] = "batch/create_organization_batch";
$route['batch-course-info'] = "batch/batch_course_info";               //15
$route['assign-student-batch'] = "batch/assign_studen_for_batch";               //18-06-2016 by tania
$route['update-assign-student-batch'] = "batch/update_student_in_tbl_course_batch";           //20-06-2016
$route['view-student-batch'] = "batch/view_assigned_batch";                    //20-06-2016
$route['remove-student-from-batch'] = "batch/remove_student";          //21-06-2016
$route['batch/teacher'] = "batch/manage_teacher_batch";
$route['batch/organization'] = "batch/manage_organization_batch";
$route['cancel-batch'] = "batch/cancel_batch";                      //26-06-2016 tania
$route['edit-batch/(.+)'] = "batch/edit_batch/$1";
$route['delete-batch'] = "batch/delete_batch";
$route['view-assigned-student/(.+)'] = "batch/view_assigned_student/$1";  //18-09-2016
$route['batch-pagination'] = "batch/batch_pagination";
$route['view-searched-batch'] = "batch/view_search_batch";      //30-06-2016
$route['searched-batch-by-type'] = "batch/searched_batch_by_type";      //30-06-2016
$route['view-individual-search-batch'] = "batch/view_individual_search_batch";
$route['view-teacher-batch/(.+)'] = "batch/view_teacher_batch_status/$1"; //06-09-2016
$route['view-organization-batch/(.+)'] = "batch/view_organization_batch_status/$1"; //06-09-2016
$route['batch-pagination-course-wise'] = "batch/batch_pagination_course_wise";
$route['remove-assignd-student'] = "batch/remove_assignd_student";    //18-09-2016
$route['batch/(.+)'] = "$0/$1";
/*
 * ----------------------------End Batch Part-------------------------------------
 */
/*
  -----------@@@RIPON@ Start ClassRoom Part----------------------------------
 */
$route['schedule-class'] = "classroom/schedule_class";
$route['edit-scheduled-class/(.+)'] = "classroom/edit_scheduled_class/$1";
$route['get-course-by-category-id'] = "classroom/get_course_by_category_id";
$route['check-class-start-date-time'] = "classroom/check_class_start_date_time";
$route['schedule-review-and-publish/(.+)'] = "classroom/schedule_review_and_publish/$1";
$route['update-classroom-url-form'] = "classroom/update_classroom_url_form";
$route['check-classroom-url'] = "classroom/check_classroom_url";
$route['save-update-classroom-url'] = "classroom/save_update_classroom_url";
$route['check-date-time-feature-status'] = "classroom/check_date_time_feature_status";
$route['check-classroom-start-date'] = "classroom/check_classroom_start_date_with_feature";
$route['publish-class/(.+)'] = "classroom/publish_class/$1";
$route['classroom/organization'] = "classroom/organization_upcoming_class";
$route['check-classroom-action'] = "classroom/check_classroom_action";
$route['classroom/upcoming-class'] = "classroom/upcoming_class";
$route['classroom/current-class'] = "classroom/current_class";
$route['classroom/previous-class'] = "classroom/previous_class";
$route['change-student-permission'] = "classroom/change_student_permission";
$route['check-learner-classroom-action'] = "classroom/check_learner_classroom_action";
$route['assign-student/(.+)'] = "classroom/course_student_list/$1";
$route['(.+)/view-assigned-student'] = "classroom/assigned_student/$0";
$route['(.+)/view-attended-student'] = "classroom/attended_student/$0";
$route['assign/(.+)/(.+)'] = "classroom/assign_student/$1/$2";
$route['unassign/(.+)/(.+)'] = "classroom/unassign_student/$1/$2";

$route['classroom/learner'] = "classroom/learner_upcoming_class";
//teracher classroom
$route['classroom/teacher'] = "classroom/teacher_upcoming_class";
$route['(.+)/teacher-upcoming-class/(.+)'] = "classroom/teacher_current_class";
$route['(.+)/teacher-current-class/(.+)'] = "classroom/teacher_current_class";
$route['(.+)/teacher-previous-class/(.+)'] = "classroom/teacher_upcoming_class";
$route['classroom/(.+)'] = "$0/$1";
/*
  -----------@@@RIPON@ End ClassRoom Part----------------------------------
 */
/*
 * ----------------------------Frond-End add Organization teacher Routes-------------------------------------
 */
$route['profile_url_existance'] = "client_admin/profile_url_existance";
$route['user/edit-teacher-url-exist'] = "client_admin/check_profile_id_existance2";
$route['add-teacher-education/(.+)'] = "client_admin/add_teacher_education/$1";
$route['select_institute_by_country_city/(.+)/(.+)/(.+)'] = "client_admin/select_institute_by_country_city/$1/$2/$3";
$route['add-teacher-work-experience/(.+)'] = "client_admin/add_teacher_work_experience/$1";

$route['check_user_email_for_edit/(.+)/(.+)'] = "client_admin/check_user_email_for_edit/$1/$2";
$route['manage-teacher'] = "client_admin/manage_teacher";
$route['manage-teacher/(.+)'] = "client_admin/manage_teacher/$1";
$route['edit-teacher/(.+)'] = "client_admin/edit_teacher/$1";
$route['edit-teacher-information'] = "client_admin/edit_teacher_information";
$route['make-account-active/(.+)'] = "client_admin/make_account_active/$1";
$route['make-account-inactive/(.+)'] = "client_admin/make_account_inactive/$1";
$route['make-account-archive/(.+)'] = "client_admin/make_account_archive/$1";

$route['add-teacher-organization'] = "add_teacher_organization/add_teacher_by_organization";     //tania add_teacher 
$route['check-org-teacher-email'] = "add_teacher_organization/check_user_email";
$route['make-profile-url'] = "add_teacher_organization/make_org_teacher_url_existance";
$route['check-profile-url'] = "add_teacher_organization/check_org_teacher_url_existance";
$route['user/check-add-teacher-forbidden'] = "add_teacher_organization/check_add_teacher_forbidden_exist";
$route['client_admin/(.+)'] = "$0/$1";
//------------------------Frond-End add Organization teacher Routes--------------

/*
 * ----------------------------Start Support routes-------------------------------------
 */
$route['support'] = "front_end_support/support";                  //28
$route['support-knowledgebase/(.+)'] = "front_end_support/support_knowledgebase/$1";                  //28
$route['support-more-knowledgebase'] = "front_end_support/support_more_knowledgebase";  //30-04-2016
$route['ideas'] = "front_end_support/ideas";   //30-04-2016
$route['idea-share'] = "front_end_support/idea_share";               //30-04-2016
$route['add-idea'] = "front_end_support/add_idea";
$route['support-idea/(.+)'] = "front_end_support/support_idea/$1";
$route['support-more-idea'] = "front_end_support/support_more_idea";  //03-05-2016
$route['add-reply-idea/(.+)'] = "front_end_support/add_reply_idea/$1";
$route['download-idea-file/(.+)'] = "front_end_support/download_idea_file/$1";
$route['download-idea-reply-file/(.+)'] = "front_end_support/download_idea_reply_file/$1"; //04-05-2016

$route['bug-report'] = "front_end_support/bug_report";       //15-05-2016//
$route['report-a-bug'] = "front_end_support/bug_report_add";
$route['support-bug-report/(.+)'] = "front_end_support/support_bug_report/$1"; //
$route['support-more-bug-report'] = "front_end_support/support_more_bug_report"; //
$route['download-bug-report-attachment/(.+)'] = "front_end_support/download_bug_report_attachment/$1"; //
$route['add-reply-bug-report/(.+)'] = "front_end_support/add_reply_bug_report/$1";
$route['download-bug-report-reply-file/(.+)'] = "front_end_support/download_bug_report_reply_attachment/$1";
$route['front_end_support/(.+)'] = "$0/$1";
/*
 * ----------------------------End Support routes-------------------------------------
 */


/*
 * ----------------------------Start Group routes-------------------------------------
 */
$route['groups/learner'] = "group/learner_group";
$route['groups/learner/(.+)'] = "group/learner_group/$1";
$route['groups/teacher'] = "group/teacher_group";
$route['groups/organization'] = "group/organization_group";
$route['groups/organization/(.+)'] = "group/organization_group/$1";
$route['groups-detail'] = "group/detail_group_list";
$route['groups-detail/(.+)'] = "group/detail_group_list/$1";

$route['ascdscding-order-group'] = "group/ascdscding_order_group";
$route['ascdscding-order-group/(.+)'] = "group/ascdscding_order_group/$1";

$route['search-group-by-text'] = "group/search_group_by_text";
$route['search-detail-group'] = "group/search_detail_group";
$route['search-detail-group/(.+)'] = "group/search_detail_group/$1";

$route['groups-learner-detail'] = "group/groups_learner_detail";
$route['search-detail-group-learner'] = "group/search_detail_group_learner";
$route['search-detail-group-learner/(.+)'] = "group/search_detail_group_learner/$1";
$route['search-learner-group'] = "group/search_learner_group";
$route['search-learner-group/(.+)'] = "group/search_learner_group/$1";

$route['group/create-group'] = "group/create_group";
$route['group/(.+)/edit-group'] = "group/edit_group/$1";
$route['group/check_public_group_code_for_edit/(.+)/(.+)'] = "group/check_public_group_code_for_edit/$1/$2";
$route['group/check_group_url_for_edit/(.+)/(.+)'] = "group/check_group_url_for_edit/$1/$2";

$route['group-detail-note-pagination-link'] = "group/group_detail_note_ajax_view";//This ajax page but need routes
$route['group-detail-alert-pagination-link'] = "group/group_detail_alert_ajax_view";//This ajax page but need routes
$route['group-detail-assignment-pagination-link'] = "group/group_detail_assignment_ajax_view";//This ajax page but need routes
$route['group/(.+)/note'] = "group/group_notes/$1";
$route['group/(.+)/alert'] = "group/group_alerts/$1";
$route['group/(.+)/assignment'] = "group/group_assignments/$1";
$route['group/ajax-group-post'] = "group/ajax_group_post";
$route['group/(.+)/photo'] = "group/group_photos/$1";
$route['group/(.+)/video'] = "group/group_videos/$1";
$route['make-active-group-post/(.+)'] = "group/make_active_group_post/$1";
$route['make-inactive-group-post/(.+)'] = "group/make_inactive_group_post/$1";
$route['make-archive-group-post/(.+)'] = "group/make_archive_group_post/$1";

$route['group-detail/(.+)'] = "group/group_detail/$1";
$route['group-invittion/(.+)'] = "group/group_invitation/$1";
$route['preview_group_email/(.+)'] = "group/preview_group_email/$1";
$route['skip-group-invitation/(.+)'] = "group/group_detail/$1";

$route['group/(.+)/members'] = "group/group_members/$1";
$route['group/(.+)/members/(.+)'] = "group/group_members/$1/$2";
$route['make-block-group-member/(.+)'] = "group/make_group_members/$1";
$route['make-active-group-member/(.+)'] = "group/make_active_group_member/$1";
$route['make-block-group-member/(.+)'] = "group/make_block_group_member/$1";
$route['make-pending-group-member/(.+)'] = "group/make_pending_group_member/$1";
$route['make-archive-group-member/(.+)'] = "group/make_archive_group_member/$1";
$route['delete-group-member/(.+)'] = "group/delete_group_member/$1";

$route['group/(.+)/requested-members'] = "group/group_requested_members/$1";
$route['group/(.+)/requested-members/(.+)'] = "group/group_requested_members/$1/$2";
$route['accept-all-pending-member'] = "group/accept_all_pending_member";
$route['number-wise-pending-list'] = "group/number_wise_pending_list";
$route['number-wise-pending-list/(.+)'] = "group/number_wise_pending_list/$1";

$route['group/quizes/(.+)'] = "group/group_quizes/$1"; //Group Quizes
$route['group/quiz/(.+)'] = "group/group_member_quizes/$1"; //Group Member Multiple Quizes
$route['publish-group/(.+)'] = "group/publish_group/$1";
$route['unpublish-group/(.+)'] = "group/unpublish_group/$1";
$route['archive-group/(.+)'] = "group/archive_group/$1";

$route['join-group'] = "group/join_group_by_group_code"; //join-group by group code
$route['group-invite/(.+)'] = "group/group_public_view/$1";
$route['group/leave_group/(.+)'] = "group/leave_group/$2";
$route['group/cancel_group_request/(.+)'] = "group/cancel_group_request/$2";

$route['group/(.+)'] = "welcome/group_view/$1";
$route['check-front-end-group-type'] = "group/check_front_end_group_type";
$route['fornt-end-group-url-exists'] = "group/fornt_end_group_url_exists";
$route['check-edit-front-end-group-type'] = "group/check_edit_front_end_group_type";
$route['download-fornt-end-assigment-file-authenticate'] = "group/download_fornt_end_assigment_file_authenticate";
$route['download-assignment-file-fornt-end-group/(.+)'] = "group/download_assignment_file_fornt_end_group/$1";
$route['remove-fornt-group-media-file-backend'] = "group/remove_fornt_group_media_file_backend";
$route['check-join-group-code'] = "group/check_join_group_code";
$route['fornt-end-group-video-course-list/(.+)'] = "group/fornt_end_group_video_course_list/$1";
$route['fornt-end-group-course-list/(.+)'] = "group/fornt_end_group_course_list/$1";
$route['fornt-end-group-course-member-details/(.+)/(.+)'] = "group/fornt_end_group_course_member_details/$1/$2";

/*
 * ----------------------------Start Group routes-------------------------------------
 */

/*
 * ----------------------------Start Map routes-------------------------------------
 */

$route['change-current-location'] = "map/change_current_location"; // for adding or changing current location
$route['get-current-location'] = "map/get_current_location"; // for getting current location details
$route['get-travel-location'] = "map/get_travel_location"; // for getting travel location details
$route['add-travel-location'] = "map/add_travel_location"; // for adding new travel location
$route['remove-travel-location'] = "map/remove_travel_location"; // for removing travel location
$route['get-link-location'] = "map/get_link_location";
$route['get-link-suggestion'] = "map/get_link_suggestion";
$route['connect-suggested-user'] = "map/connect_suggested_user";
$route['user-block-link'] = "map/block_person_link";
$route['delete-link'] = "my_link/delete_link";
$route['block-link'] = "my_link/block_link";
$route['accept-link-request'] = "my_link/accept_link_request";
$route['suggested-link'] = "my_link/my_link_suggestion";
$route['get-link-detail'] = "my_link/get_link_detail";

/*
 * ----------------------------End Map routes-------------------------------------
 */




/*
 * ----------------------------Start Message routes-------------------------------------
 */
$route['message-setting'] = "message/message_setting";
$route['save-message-option'] = "message/save_message_option";
$route['view-message/(.+)'] = "message/view_message/$1";
$route['preview-message'] = "message/preview_message";
$route['received-message'] = "message";
$route['receive-message'] = "message/message_recieved";
$route['sent-message'] = "message/sent_message";
$route['draft-message'] = "message/draft_message";
$route['view-received-message/(.+)'] = "message/view_received_message/$1";
$route['preview-receive-message'] = "message/preview_receive_message";
$route['download-authenticate'] = "message/download_authentication";
$route['action-download/(.+)/(.+)'] = "message/action_download/$1/$2";
$route['unread-msg'] = "message/unread_action";
$route['read-msg'] = "message/read_action";
$route['view-draft/(.+)'] = "message/view_draft/$1";
$route['edit-draft-message'] = "message/draft_message_send";
$route['edit-email-draft-message'] = "message/draft_email_id";
$route['edit-message-body-draft-message'] = "message/draft_message_body";
$route['submit-draft-message'] = "message/draft_message_submit";
$route['send-message'] = "message/send_message";
$route['send-download-authenticate'] = "message/download_authentication_for_sent_msg";
$route['cancel-download'] = "message/delete_upload_file";
$route['remove-send-msg'] = "message/remove_sent_msg";
$route['remove-send-selected-msg'] = "message/remove_send_selected_msg";
$route['remove-rcv-selected-msg'] = "message/remove_rcv_selected_msg";
$route['cancel-download-draft'] = "message/delete_upload_file_draft";
$route['existing-cancel-download-draft'] = "message/existing_delete_upload_file_draft";
$route['action-download-send/(.+)/(.+)'] = "message/action_download_send/$1/$2";
$route['reply-message'] = "message/reply_message";
$route['reply-message-sender'] = "message/reply_message_sender";
$route['reply-received-message/(.+)'] = "message/reply_received_message/$1";
$route['reply-received-message-sender/(.+)'] = "message/reply_received_message_sender/$1";
$route['email-id-for-reply'] = "message/email_id_for_reply";
$route['message-body-for-reply'] = "message/message_body_for_reply";
$route['reply-msg-send'] = "message/reply_msg_send";
$route['remove-receive-msg'] = "message/remove_receive_msg";
$route['remove-draft-selected-msg'] = "message/remove_draft_selected_msg";
$route['invitations-received-message'] = "message/invitations_received_message";
$route['invitations-sent-message'] = "message/invitations_sent_message";
$route['view-invitation-sent-message/(.+)'] = "message/view_invitation_sent_message/$1";
$route['view-invitation-rcv-message/(.+)'] = "message/view_invitation_rcv_message/$1";
$route['invitations-message-preview'] = "message/invitations_message_preview";
$route['invitations-message-receive-preview'] = "message/invitations_message_receive_preview";
$route['invitation-unread'] = "message/invitation_unread";
$route['invitation-read'] = "message/invitation_read";
$route['sent-invitation-msg-remove'] = "message/sent_invitation_msg_remove";
$route['sent-invitation-selected-msg-remove'] = "message/sent_invitation_selected_msg_remove";
$route['rcv-invitation-selected-msg-remove'] = "message/rcv_invitation_selected_msg_remove";
$route['rcv-invitation-msg-remove'] = "message/rcv_invitation_msg_remove";
$route['course-received-message'] = "message/course_received_message";
$route['course-sent-message'] = "message/course_sent_message";
$route['group-received-message'] = "message/group_received_message";
$route['group-sent-message'] = "message/group_sent_message";
$route['quiz-received-message'] = "message/quiz_received_message";
$route['quiz-sent-message'] = "message/quiz_sent_message";
$route['user/course-sent-massage'] = "message/course_sent_massage";
$route['user/course-received-massage'] = "message/course_received_massage";
//sent message to linked person
$route['msg/sent'] = "message/sent_mylinked_person_message";
//message attached file controller
$route['msg/file-upload'] = "message/upload_message_file";
$route['msg/send-message-body'] = "message/save_sender_message_body_for_draft";
$route['msg/send-email-id'] = "message/save_email_for_draft";
$route['message/(.+)'] = "$0/$1";
/*
 * ----------------------------End Message routes-------------------------------------
 */

//------------------------route notification by afrin jahan noumin (open time 12.00(10-04-2016))--------------
$route['user/view-notification'] = "notification/view_notification";
$route['user/view-more-notification'] = "notification/view_more_notification";
$route['user/update-view-notification'] = "notification/update_view_notification";
$route['user/mark-all-as-read'] = "notification/mark_all_as_read";
$route['user/view-notification-by-date'] = "notification/view_notification_by_date";
$route['user/view-notification-by-mark'] = "notification/view_notification_by_mark";
//------------------------route notification by afrin jahan noumin (end)--------------


/*
 * ----------------------------Start Payment routes-------------------------------------
 */
$route['user/payment'] = "payment/view_payment";
$route['user/invoice'] = "payment/view_invoices";
$route['user/partial-invoice/(.+)'] = "payment/view_partial_paid_invoices/$1";
$route['student/partial-invoice/(.+)/(.+)'] = "payment/view_user_partial_paid_invoices/$1/$2";
//$route['user/earning-invoice/(.+)'] = "payment/view_earning_invoice/$1";
$route['user/single-payment-invoice'] = "payment/view_single_payment_invoice";
//$route['user/search-earning-invoice'] = "payment/search_earning_invoice";
$route['user/search-invoice'] = "payment/view_invoices_by_search";
$route['user/delete-invoice'] = "payment/delete_invoice";
$route['user/refund-request-invoice'] = "payment/payment_refund_request_invoice";

//------------------Earning Invoice Part----------------------
$route['user/earning'] = "earning/view_earning";
$route['user/view-student-invoice/(.+)'] = "earning/earning_view_student_invoice/$1";
$route['user/view-course-earning/(.+)'] = "earning/earning_view_earning_by_course/$1";
$route['user/view-all-earning-invoice'] = "earning/earning_view_all_invoice";
$route['user/total-earning'] = "earning/total_earning";
$route['user/payment-request/(.+)'] = "earning/earning_payment_request_by_course/$1";
$route['user/view-all-payment-request'] = 'earning/view_users_all_payment_request';
//------------------Earning Invoice Part----------------------

$route['user/payment-method'] = "payment/payment_method";
$route['user/view-bank-branch'] = "payment/view_bank_branch_name";
$route['user/get-all-bank-name'] = "payment/get_all_bank_name";
$route['user/save-check-payment-method'] = "payment/save_check_payment_method";
$route['user/save-bkash-payment-method'] = "payment/save_bkash_payment_method";
$route['user/check-bkash-number'] = "payment/check_bkash_number";
$route['user/get-bkash-payment-info'] = "payment/get_bkash_payment_info";
$route['user/update-bkash-payment-method'] = "payment/update_bkash_payment_method";
$route['user/delete-bkash-payment-method'] = "payment/delete_bkash_payment_method";
$route['user/save-paypal-payment-method'] = "payment/save_paypal_payment_method";
$route['user/get-check-payment-info'] = "payment/get_check_payment_info";
$route['user/update-check-payment-method'] = "payment/update_check_payment_method";
$route['user/check-bank-account-number'] = "payment/check_bank_account_number";
$route['user/get-paypal-payment-info'] = "payment/get_paypal_payment_info";
$route['user/update-paypal-payment-method'] = "payment/update_paypal_payment_method";
$route['user/check-paypal-email'] = "payment/check_paypal_email";
$route['user/delete-paypal-payment-method'] = "payment/delete_paypal_payment_method";
$route['user/delete-check-payment-method'] = "payment/delete_check_payment_method";

$route['payment/(.+)'] = "$0/$1";
/*
 * ----------------------------Start Payment routes-------------------------------------
 */
/*
 * ----------------------------Start Payment Invoice routes-------------------------------------
 */


$route['user/payment/get-info'] = "invoice/get_payment_info";
$route['user/view-invoice/(.+)'] = "invoice/view_single_invoice/$1";
$route['user/pay-now/(.+)'] = "invoice/pay_now/$1";
$route['pay-invoice/(.+)'] = "Ssl_payment/pay_invoice/$1";

$route['user/payment/save-cash'] = "invoice/save_cash_amount";
$route['user/payment/save-cheque'] = "invoice/save_cheque_amount";
$route['user/payment/save-bkash'] = "invoice/save_bkash_amount";
$route['user/get-bank-branch-data'] = "invoice/view_bank_branch_name";
$route['user/course/save-payment/(.+)'] = "invoice/save_course_payment/$1";
/*
 * ----------------------------End Payment Invoice routes-------------------------------------
 */

/*
 * ----------------------------Start Post routes-------------------------------------
 */
$route['upload-assignment'] = "post/upload_assignment_file";
$route['save-assignment/(.+)'] = "post/add_assignment/$1";
$route['upload-Image-vedio'] = "post/upload_Image_vedio";
$route['save-photo-video/(.+)'] = "post/add_photo_or_video/$1";
$route['download-assignment-file/(.+)'] = "post/download_assignment_file/$1";
$route['get-last-post-id/(.+)'] = "post/get_last_post_id/$1";
$route['refrash-post'] = "post/view_refrash_post";
$route['cancel-update-note-alert/(.+)'] = "post/cancel_update_note_alert/$1";
$route['post/(.+)'] = "$0/$1";
/*
 * ----------------------------End Post routes-------------------------------------
 */

/*
 * ----------------------------Start Profile routes-------------------------------------
 */
$route['(.+)/edit-profile'] = "profile/edit_profile/$1";
$route['validate-current-password'] = "profile/validate_current_password";
$route['update-user-password'] = "profile/update_changed_password";

$route['profile-education-pagination'] = "application/profile_education_ajax_view"; //this is a ajax page but need routes
$route['profile-language-pagination'] = "application/profile_language_ajax_view"; //this is a ajax page but need routes
$route['profile-work-experience-pagination'] = "application/profile_work_experience_ajax_view"; //this is a ajax page but need routes
$route['learner_profile_quiz_pagination'] = "application/view_quiz_result_for_profile_ajax_view"; //this is a ajax page but need routes
$route['profile-skill-meter-pagination'] = "application/profile_skill_meter_ajax_view"; 

$route['learner-course-pagination'] = "application/get_profile_learner_course_ajax";
$route['teacher-course-pagination'] = "application/get_profile_teacher_course_ajax";
$route['organization-course-pagination'] = "application/get_profile_organization_course_ajax";

$route['organization-video-course-pagination'] = "application/get_profile_organization_video_course_ajax";
$route['teacher-video-course-pagination'] = "application/get_profile_teacher_video_course_ajax";

$route['profile-url-existance/(.+)'] = "profile/check_profile_url_existance/$1";
$route['update-person-url/(.+)'] = "profile/update_person_url/$1";
$route['work-exprience-form'] = "profile/add_work_experience_ajax_view"; //this is a ajax page but need routes
$route['work-exprience-form/(.+)'] = "profile/add_work_exprience_form/$1";
$route['save-work-experience/(.+)'] = "profile/add_work_experience/$1";
$route['edit-work-experience-form/(.+)'] = "profile/edit_work_experience/$1";
$route['update-work-experience/(.+)'] = "profile/update_work_experience/$1";
$route['cancel-update-work-experience/(.+)'] = "profile/cancel_update_work_experience/$1";
$route['add-education-form/(.+)'] = "profile/add_education_form/$1";
$route['edit-education-form/(.+)'] = "profile/edit_education_form/$1";
$route['save-education/(.+)'] = "profile/add_education/$1";
$route['update-education/(.+)'] = "profile/update_education/$1";
$route['cancel-update-education/(.+)'] = "profile/cancel_update_education/$1";
$route['self-assesment-form/(.+)'] = "profile/edit_self_assesment_form/$1";
$route['update-self-assesment/(.+)'] = "profile/update_self_assesment/$1";
$route['save-profile-image'] = "profile/save_profile_image";

$route['get-available-disk-space'] = "profile/person_available_disk_space";

$route['(.+)/connect'] = "profile/connect_user/$0";
$route['(.+)/connect_suggested_user'] = "profile/connect_suggested_user/$0";
$route['(.+)/connect-connectivity-suggested-user'] = "profile/connect_connectivity_suggested_user/$0";
$route['next_person'] = "profile/next_person";
$route['next-connectivity-suggested-person'] = "profile/connectivity_page_suggestion";

//$route['(.+)/my-link'] = "profile/my_link/$0";
$route['(.+)/load_link_person_by_ajax'] = "profile/load_link_person_by_ajax/$0";
$route['accept-link/(.+)'] = "profile/accept_person_link_request/$1";
$route['cancel-link/(.+)'] = "profile/cancel_person_link_request/$1";
$route['remove-link/(.+)'] = "profile/remove_person_link/$1";
$route['block-link/(.+)'] = "profile/block_person_link/$1";

$route['accept-suggested-link/(.+)'] = "profile/accept_suggested_person_link_request/$1";
$route['cancel-suggested-link/(.+)'] = "profile/cancel_suggested_person_link_request/$1";
$route['block-suggested-link/(.+)'] = "profile/block_link_suggested_person/$1";
$route['block-connectivity-suggested-person/(.+)'] = "profile/block_connectivity_suggested_person/$1";

$route['(.+)/connect-from-profile'] = "profile/connect_user_from_profile/$1";
$route['accept-link-profile/(.+)'] = "profile/accept_person_link_request_from_profile/$1";
$route['cancel-link-profile/(.+)'] = "profile/cancel_person_link_request_from_profile/$1";
$route['remove-link-profile/(.+)'] = "profile/remove_person_link_from_profile/$1";
$route['block-link-profile-from-profile/(.+)'] = "profile/block_person_link_from_profile/$1";
$route['block-link-profile/(.+)'] = "profile/block_person_link/$1";

$route['my-content-library'] = "profile/my_content_library";
$route['my-content-library/(.+)'] = "profile/my_content_library/$1";
$route['my-note-alert'] = "profile/my_note_alert";
$route['my-note-alert/(.+)'] = "profile/my_note_alert/$1";
$route['view-content/(.+)'] = "profile/view_note_alert/$1";
$route['download-content-library/(.+)'] = "profile/download_content_library/$1";
$route['view-content-group/(.+)'] = "profile/view_note_alert/$1";
$route['user/edit-post/(.+)'] = "profile/edit_post/$1";

$route['post-image-album'] = "profile/view_post_image_album";
$route['profile-image-album'] = "profile/view_profile_image_album";
$route['update-user-name'] = "profile/update_user_name";    //added by tania 08-08-2016
$route['profile/(.+)'] = "$0/$1";
/*
 * ----------------------------End Profile routes-------------------------------------
 */



/*
 * ----------------------------Start Publication routes-------------------------------------
 */
$route['add-publication'] = "publication/add_new_publication"; //temp route by suddam hossain
$route['manage-publication'] = "publication/manage_all_publication"; //temp route by suddam hossain
$route['publication-view-details'] = "publication/view_details"; //temp route by suddam hossain
$route['publication/(.+)'] = "$0/$1";
/*
 * ----------------------------End Publication routes-------------------------------------
 */


/*
 * ----------------------------Start Quiz routes-------------------------------------
 */
$route['create-quiz'] = "quiz/create_quiz";     //front-end--- 16-07-2016
$route['check_quiz_public_id/(.+)'] = "quiz/check_quiz_public_id/$1";
$route['check-quiz-topic/(.+)'] = "quiz/check_quiz_topic/$1";
$route['select-quiz-access-user'] = "quiz/select_quiz_access_user";
$route['user/search-quiz-access'] = "quiz/search_quiz_access";
$route['user/more-group-selection'] = "quiz/select_more_group";
$route['user/pervious-selected-value'] = "quiz/pervious_selected_value";

$route['view-test'] = "quiz/view_quiz_test";

//$route['quiz/(.+)/add-grade'] = "quiz/add_grade/$1";
//$route['add_more_grade/(.+)'] = "quiz/add_more_grade/$1";
//$route['delete_grade/(.+)'] = "quiz/delete_grade/$1";
//$route['quiz/view-grade'] = "quiz/view_grade";
//
//$route['quiz/view-learner-grade'] = "quiz/view_learner_grade";
//$route['quiz/view-learner-certificate'] = "quiz/view_learner_certificate";
//$route['quiz/details-quiz-result'] = "quiz/details_quiz_result";
//
//$route['activate-grade/(.+)'] = "quiz/activate_grade/$1";
//$route['inactivate-grade/(.+)'] = "quiz/inactivate_grade/$1";
//$route['archive-grade/(.+)'] = "quiz/archive_grade/$1";
//$route['quiz/(.+)/edit-grade'] = "quiz/edit_grade/$1";
//$route['edit-selected-grade'] = "quiz/edit_selected_grade";
//$route['quiz/(.+)/grade-details'] = "quiz/quiz_grade_details/$1";
//
//$route['create-certificate'] = "quiz/create_certificate";
//$route['save-certificate'] = "quiz/create_certificate";
//$route['assign-certificate/(.+)'] = "quiz/assign_certificate/$1";
//$route['skip-assign-certificate'] = "quiz/skip_assign_certificate";
//
//$route['quizes/certificate'] = "quiz/view_certificate";
//$route['quiz/(.+)/certificate'] = "quiz/certificate_view/$1";
//$route['quiz/(.+)/certificate-holders'] = "quiz/certificate_holders/$1";
//$route['quiz/(.+)/edit-certificate'] = "quiz/edit_certificate/$1";
//$route['activate-certificate/(.+)'] = "quiz/activate_certificate/$1";
//$route['inactivate-certificate/(.+)'] = "quiz/inactivate_certificate/$1";
//$route['archive-certificate/(.+)'] = "quiz/archive_certificate/$1";

//$route['(.+)/manage-certificate'] = "certificate/manage_certificate/$1";
//$route['teacher/manage-certificate'] = "certificate/manage_certificate";
//$route['create-certificate'] = "certificate/create_certificate";
//$route['view-certificate'] = "certificate/view_certificate";

$route['multiple-choice-pagination-link'] = "quiz/multiple_choice_ajax_view";//This is ajx page but need routes
$route['true-false-pagination-link'] = "quiz/true_false_ajax_view";//This is ajx page but need routes
$route['quiz/(.+)/edit-quiz'] = "quiz/edit_quiz/$1";
$route['change-quiz-status/(.+)/(.+)'] = "quiz/change_quiz_status/$1/$2";
$route['activate-quiz/(.+)'] = "quiz/activate_quiz/$1";
$route['inactivate-quiz/(.+)'] = "quiz/inactivate_quiz/$1";
$route['archive-quiz/(.+)'] = "quiz/archive_quiz/$1";
$route['quiz/(.+)/add-quiz-question'] = "quiz/add_quiz_question/$1";
$route['add-question'] = "quiz/add_question";
$route['get-quiz-required-information/(.+)'] = "quiz/get_quiz_required_information/$1";
$route['get-quiz-required-information-edit/(.+)/(.+)'] = "quiz/get_quiz_required_information_edit/$1/$2";
$route['quiz/(.+)/question'] = "quiz/view_question/$1";
$route['activate-question/(.+)'] = "quiz/activate_question/$1";
$route['inactivate-question/(.+)'] = "quiz/inactivate_question/$1";
$route['archive-question/(.+)'] = "quiz/archive_question/$1";
$route['(.+)/edit-multiple-choice-question/(.+)'] = "quiz/edit_multiple_choice_question/$0/$2";
$route['(.+)/edit-true-false-question/(.+)'] = "quiz/edit_true_false_question/$0/$2";
$route['(.+)/edit-descriptive-question/(.+)'] = "quiz/edit_descriptive_question/$0/$2";
$route['(.+)/edit-fill-blank-question/(.+)'] = "quiz/edit_fill_in_the_blank_question/$0/$2";

$route['quizes/learner-quiz-ajax-view'] = "quiz/learner_quiz_ajax_view"; //this is a ajax page but need routes!
$route['quizes/teacher-quiz-ajax-view'] = "quiz/teacher_quiz_ajax_view"; //this is a ajax page but need routes!
$route['quizes/learner'] = "quiz/learner_quiz";
$route['quizes/teacher'] = "quiz/teacher_quiz";
$route['quizes/organization'] = "quiz/organization_quiz";

$route['quiz/change-quiz-result-status/(.+)/(.+)'] = "quiz/change_quiz_result_status/$1/$2";
$route['quiz/change-quiz-result-permission/(.+)/(.+)'] = "quiz/change_quiz_result_permission/$1/$2";

$route['quiz/(.+)/result'] = "quiz/view_quiz_result/$1";   // this  one for user who saved their quiz result // saved result by quiz id (Last attended quiz result)
$route['quiz/(.+)/(.+)/detail-result'] = "super_admin_profile/profile_view_quiz_result/$1/$2"; // displays quiz detail result from profile
$route['quiz/(.+)/(.+)/profile-detail-result'] = "application/view_detail_quiz_result/$1/$2"; // displays quiz detail result from profile
$route['type-wise-quiz/(.+)'] = "quiz/type_wise_quiz/$1";
//$route['quiz/(.+)'] = "$0/$1";
/*
 * ----------------------------End Quiz routes-------------------------------------
 */
/*
 * ----------------------------Start Public Quiz routes-------------------------------------
 */
$route['public_quiz/start_quiz/(.+)'] = "public_quiz/start_quiz/$2";
$route['public_quiz/(.+)'] = "public_quiz/$1";

$route['quiz/(.+)/start-quiz'] = "public_quiz/start_quiz/$1";
$route['public-quiz/(.+)/quiz_marking'] = "public_quiz/quiz_marking/$1";
$route['quiz/(.+)/publish-result'] = "public_quiz/publish_result/$1";
$route['quiz/(.+)/publish-result/(.+)'] = "public_quiz/publish_quiz_result/$1/$2";

$route['quiz/(.+)/(.+)/result'] = "public_quiz/view_quiz_result/$1/$2";
$route['public_quiz/save_quiz_result/(.+)'] = "public_quiz/save_quiz_result/$1";
$route['quiz/(.+)/quiz-result'] = "public_quiz/quiz_public_result/$1";  // this one for first time

$route['all-quiz'] = "public_quiz/all_quiz";
$route['select-more-quiz'] = "public_quiz/select_more_quiz";
$route['select-topic-wise-quiz'] = 'public_quiz/select_topic_wise_quiz';
$route['quiz-pagination'] = "public_quiz/quiz_pagination";

$route['all-quiz/(.+)'] = "public_quiz/all_quiz/$1";
$route['select-latest-quiz'] = "public_quiz/select_latest_quiz";
$route['select-popular-quiz'] = "public_quiz/select_popular_taken_quiz";
$route['start-create-quiz'] = "public_quiz/start_create_quiz";
$route['(.+)/quiz/latest-topic'] = "public_quiz/topic_specific_latest_quiz/$1";
$route['(.+)/quiz/popular-topic'] = "public_quiz/topic_specific_popular_quiz/$1";
$route['quiz/latest-quiz'] = "public_quiz/latest_quiz";
$route['quiz/popular-quiz'] = "public_quiz/popular_quiz";
$route['(.+)/quiz/topic'] = "public_quiz/topic_specific_quiz/$1";
$route['quiz/(.+)'] = "public_quiz/check_public_quiz/$1";

$route['select-category-wise-quiz'] = 'public_quiz/select_category_wise_quiz';
$route['public_quiz/public/active/all/(.+)'] = "public_quiz/check_public_quiz";
$route['view-details-quiz-result/(.+)'] = "public_quiz/view_details_quiz_result/$1"; // tania 03-09-2016
$route['public_quiz/(.+)'] = "$0/$1";
/*
 * ----------------------------End Public Quiz routes-------------------------------------
 */
/*
 * ----------------------------Start Sign IN routes-------------------------------------
 */
$route['sign-in'] = "sign_in";
$route['check-sign-in'] = "sign_in/check_sign_in";
$route['forgot-password'] = "sign_in/email_varify_for_password";
$route['check-email'] = "sign_in/check_email_forgot_password";
$route['recover-password/(.+)'] = "sign_in/password_recover_form/$1";
$route['reset-password'] = "sign_in/reset_password";
/*
 * ----------------------------End Sign IN routes-------------------------------------
 */


/*
 * ----------------------------Start Sign Up routes-------------------------------------
 */
$route['sign-up'] = "sign_up";     //sign_up 1
$route['check-user-email-registration'] = "sign_up/check_user_email_registration";   //sign_up 2
$route['user/check-forbidden'] = "sign_up/check_sign_up_forbidden_exist";   // sign up 3 tania--21/05/2016
//$route['new-captcha'] = "sign_up/new_captcha";  //sign up-4
//$route['check-sign-up-captcha'] = "sign_up/check_sign_up_captcha"; //sign up -5
$route['user/check-org-forbidden'] = "sign_up/check_org_forbidden";   //tania 06-08-2016
$route['active-account/(.+)'] = "sign_up/active_account/$1"; //Active Account Link Routes by Tania
/*
 * ----------------------------Start Sign Up routes-------------------------------------
 */


/*
 * ----------------------------Start User Course routes-------------------------------------
 */
$route['user/add-course'] = "user_course/add_course";
$route['user/edit-course/(.+)'] = "user_course/edit_course/$1";
$route['check-course-url-existance'] = "user_course/check_course_url_existance";
$route['make-course-url'] = "user_course/make_course_url";
$route['user/view-child-topic/(.+)'] = "user_course/view_child_topic/$1";
$route['user/check-topic-name'] = "user_course/check_topic_name";

$route['unassigned-student/(.+)'] = "user_course/unassigned_student_list/$1"; //19-08-2016
$route['assign-unassigned-student/(.+)'] = "user_course/assign_student_from_unassign_student_list/$1"; //21-09-2016
$route['view-unassigned-student'] = "user_course/view_unassign_student"; //search by date
$route['unassigned-student-pagination'] = "user_course/unassigned_student_pagination";   //22-09-2016
$route['not-eligible'] = "user_course/make_not_eligible";
$route['eligible'] = "user_course/make_eligible";
$route['user/not-eligible-list/(.+)'] = "user_course/not_eligible_student_list/$1";
$route['user/not-eligible-pagination'] = "user_course/not_eligible_pagination";
$route['user/not-eligible-search'] = "user_course/not_eligible_by_search";

$route['delete-course/(.+)'] = "user_course/delete_course/$1";
$route['save-as-draft'] = "user_course/save_as_draft";
$route['save-as-draft/(.+)'] = "user_course/save_as_draft/$1";
$route['submit-course'] = "user_course/submit_course";
$route['submit-course/(.+)'] = "user_course/submit_course/$1";
$route['review-and-publish/(.+)'] = "user_course/review_and_publish/$1";
$route['preview-student-view/(.+)'] = "user_course/preview_student_view/$1";

$route['course/organization'] = "user_course/organization_course_list";
$route['course/teacher'] = "user_course/teacher_course_list";
$route['user/course-pagination'] = "user_course/course_pagination"; //@ripon
$route['user/delete-course'] = "user_course/delete_course";
$route['course/learner'] = "user_course/learner_course_list";
$route['course/cancel-learner-registration/(.+)'] = "user_course/cancel_learner_course_registration/$1";
$route['user/learner-course-view'] = "user_course/view_learner_course";

$route['course-page/draft-course/(.+)'] = "user_course/draft_course/$1";
$route['course-page/submission-course/(.+)'] = "user_course/submission_course/$1";
$route['course-page/active-course/(.+)'] = "user_course/active_course/$1";
$route['course-page/organization-draft-course/(.+)'] = "user_course/organization_draft_course/$1";
$route['course-page/organization-submission-course/(.+)'] = "user_course/organization_submission_course/$1";
$route['course-page/organization-active-course/(.+)'] = "user_course/organization_active_course/$1";

// Add Course Work file
$route['user/course/add-work-file/(.+)'] = "user_course/add_course_work_file/$1";
$route['user/course/save-work-file/(.+)'] = "user_course/save_course_work_file/$1";
$route['user/get-more-work-file-view'] = "user_course/get_more_work_file_view";
$route['user/upload-course-work-file'] = "user_course/upload_course_work_file";
$route['user/course/delete-work-file'] = "user_course/delete_work_file";
$route['user/get-work-file-info'] = "user_course/get_work_file_info";
$route['user/course/skip-work-file'] = "user_course/skip_work_file";
$route['user/course/view-work-file/(.+)'] = "user_course/view_work_file/$1";
// Add Course Work file
// View Course Work file
$route['user/course/get-work-file/(.+)'] = "user_course/get_work_file/$1";
$route['user/course/update-file-order/(.+)'] = "user_course/update_file_order/$1";
$route['user/course/delete-view-work-file'] = "user_course/delete_work_file_in_view";
// View Course Work file

$route['(.+)/view-registered-student'] = "user_course/registered_student_list/$0";
$route['user/register-course-student-pagination'] = "user_course/register_course_student_pagination";
$route['user/view-register-course-student'] = "user_course/view_register_course_student";
$route['user/remove-registered-student'] = "user_course/remove_registered_student";
$route['user_course/(.+)'] = "$0/$1";

//Invite Learner
$route['invite-learners/(.+)'] = "user_course/invite_learners/$1";
$route['skip-invite-learners/(.+)'] = "user_course/skip_invite_learners/$1";
/*
 * ----------------------------End User Course routes-------------------------------------
 */

/*
 * ---------------------------- Start Front-End Learner Batch & certificate Route -------------------------------------
 */
$route['learner-batch'] = "batch/view_learner_batch";
$route['verify-certificate/(.+)'] = "application/verify_certificate_by_student_roll/$1";
$route['view-certificate/(.+)'] = "certificate/view_certificate_by_student_roll/$1";
$route['print-certificate/(.+)'] = "certificate/print_certificate/$1";
$route['assign-certificate'] = "certificate/assign_batch_student_certificate";
$route['cancel-certificate'] = "certificate/cancel_batch_student_certificate";

$route['(.+)/create-certificate']="certificate/course_create_certificate/$1";
$route['save-course-certificate']="certificate/save_course_certificate";
$route['(.+)/demo-certificate']="certificate/view_demo_course_certificate/$1";
$route['(.+)/edit-certificate']="certificate/edit_course_certificate/$1";
$route['update-course-certificate']="certificate/update_course_certificate/$1";
$route['remove-temporary-logo']="certificate/remove_temporary_logo";
/*
 * ---------------------------- End Front-End Learner Batch & certificate Route -------------------------------------
 */

/*
 * ----------------------------Start View Public Course-------------------------------------
 */
$route['course/(.+)/registration'] = "course/enroll_course/$1";
$route['course'] = "course/view_course";
$route['view-courses'] = "course/view_all_courses";
$route['save-course-rating'] = "course/save_course_rating";
$route['more-child-topic/(.+)'] = "course/more_child_topic/$1";
$route['course-public-view/(.+)'] = "course/course_public_view/$1";
$route['user/get-upcomming-course'] = "course/get_upcomming_course_for_right_content";
$route['view-search-courses'] = "course/view_course_by_search";
$route['user/download-work-file/(.+)'] = "course/download_work_file/$1";
$route['course/(.+)'] = "$0/$1";
/*
 * ----------------------------Start View Public Course-------------------------------------
 */


/*
 * ----------------------------Start User_video routes-------------------------------------
 */
$route['video-ordering'] = "user_video/video_order"; //temp route by suddam hossain
$route['video-course-registration/(.+)'] = "user_video/video_course_registration/$1";

//$route['video/learner'] = "user_video/learner_video";
$route['video/teacher'] = "user_video/teacher_video";
//$route['video/organization'] = "user_video/organization_video";
$route['my-video'] = "user_video/my_video";
$route['cancel-learner-video-course-registration/(.+)'] = "user_video/cancel_learner_video_course_registration/$1"; //Ripon
$route['user/learner-video-course-pagination'] = "user_video/learner_video_course_pagination"; //Ripon

$route['my-video/(.+)/(.+)'] = "user_video/set_video_id/$1/$2";
$route['my-video/(.+)'] = "user_video/view_video/$1";
$route['play-video/(.+)/(.+)'] = "user_video/play_video/$1/$2";
$route['view-video/(.+)/(.+)'] = "user_video/view_related_video_course/$1/$2";
$route['reload-related-video'] = "user_video/reload_related_video/$1/$2";

$route['select-video-course-access-user'] = "user_video/select_video_course_access_user";
$route['check-access-level'] = "user_video/check_video_course_access_level";
$route['edit-video-management/(.+)'] = "user_video/edit_video_course/$1";
$route['upload-video/(.+)'] = "user_video/upload_video/$1";
$route['edit-uploaded-video/(.+)'] = "user_video/edit_uploaded_video/$1";
$route['save-uploaded-video/(.+)'] = "user_video/save_uploaded_video/$1";

$route['user/add-video-course'] = "user_video/add_video_course";
$route['user/check-video-folder-name'] = "user_video/check_video_folder_name_existance";
$route['user/video-url-existance'] = "user_video/check_video_url_existance";
$route['user/video-category-exixtence'] = "user_video/check_video_category_exixtence";
$route['user/video-course-pagination'] = "user_video/video_course_pagination";
$route['get-person-feature-status'] = "user_video/get_person_feature_status";
$route['get-front-end-group-name'] = "user_video/get_front_end_group_name";
$route['user/special-user-name'] = "user_video/front_end_special_user_name";
$route['skip-video-course-work-file'] = "user_video/skip_video_course_work_file";
$route['skip-edit-video-course-work-file'] = "user_video/skip_edit_video_course_work_file";
$route['user/delete-video-course'] = "user_video/delete_video_course";

$route['check-section-name-exist'] = "user_video/check_section_name_exist";
$route['check-video-file-name-exist'] = "user_video/check_video_file_name_exist";
$route['course-video-file-upload'] = "user_video/uploaded_video_courses_video_file";
$route['course-video-file-size'] = "user_video/uploaded_course_video_file_size";
$route['add-video-work-file-view'] = "user_video/add_video_work_file_view";
$route['remove-video-work-file-view'] = "user_video/remove_video_work_file_view";
$route['check-video-work-file-name-exist'] = "user_video/check_video_work_file_name_exist";
$route['upload-video-course-work-file'] = "user_video/upload_video_course_work_file";
$route['add-single-video-course-area'] = "user_video/upload_single_video_course_work_file";
$route['remove-single-video-course'] = "user_video/delete_single_video_course";
$route['add-video-section-area'] = "user_video/add_video_course_section_area";
$route['remove-video-course-section'] = "user_video/remove_video_course_section_area";

/* Review & Publish */
$route['save-video-course-as-draft'] = "user_video/save_video_course_as_draft";
$route['save-video-course-as-draft/(.+)'] = "user_video/save_video_course_as_draft/$1";
$route['submit-video-course'] = "user_video/submit_video_course";
$route['submit-video-course/(.+)'] = "user_video/submit_video_course/$1";
$route['video-course-preview-student-view/(.+)'] = "user_video/video_course_preview_student_view/$1";
$route['video-course-review-and-publish/(.+)'] = "user_video/video_course_review_and_publish/$1";

$route['load_video'] = "user_video/load_video/";
$route['user_video/(.+)'] = "$0/$1";
/*
 * ----------------------------Start User_video routes-------------------------------------
 */


/*
  ----------------------Start public view video Part (24-03-16)----------------------------------
 */
$route['video-course'] = "video_course/view_video_course";
$route['video-course/(.+)'] = "video_course/view_video_course/$1";
$route['get-video-course-more-technology'] = "video_course/get_video_course_more_technology"; // (complete for public view)
$route['view-more-category-video-courses'] = "video_course/view_more_category_video_courses";
$route['view-category-video-courses'] = "video_course/view_category_video_courses";
$route['view-skill-level-video-course'] = "video_course/view_skill_level_video_course";
$route['view-video-course-priority'] = "video_course/view_video_course_priority";
$route['view-free-video-course'] = "video_course/view_free_video_course";
$route['view-video-course-by-technology'] = "video_course/view_video_course_by_technology";
$route['view-searched-video-courses'] = "video_course/view_searched_video_courses";
$route['video/(.+)/registration'] = "video_course/enroll_video_course/$1";
$route['video_course/(.+)'] = "$0/$1";
/*
  ---------------------------End public view video Part (24-03-16)----------------------------------
 */


/*
 * ----------------------------@@@@Front end (17-10-2016)-------------------------------------
 */





/*
 * -----------------------------------Back end (17-10-2016)----------------------------
 */
//for back End Login
$route['babbamamma'] = "babbamamma";
$route['check-admin-login'] = "babbamamma/check_admin_login";
$route['babbamamma/recover-password'] = "babbamamma/recover_password";
//for dashboard
$route['super-admin'] = "super_admin";
$route['super-admin/logout'] = "super_admin/logout";
$route['super_admin/error'] = "super_admin/manage_error";
$route['super-admin/add-user'] = "super_admin/create_new_user/";
$route['super-admin/edit-user-information/(.+)'] = "super_admin/edit_user_information/$1";

$route['super-admin/all-user'] = "super_admin/user_list";
$route['super-admin/all-user/(.+)'] = "super_admin/user_list/$1";
$route['user-descending'] = "super_admin/user_list/desc";
$route['user-ascending'] = "super_admin/user_list/asc";
$route['get-header-role-value/(.+)'] = "super_admin/get_header_role_value/$1";
$route['get-user-status-value/(.+)'] = "super_admin/get_user_status_value/$1";
$route['get-all-search-value/(.+)'] = "super_admin/get_search_value/$1";
$route['change-header-status/(.+)'] = "super_admin/change_header_status/$1";
$route['change-user-role/(.+)'] = "super_admin/change_user_role/$1";
$route['get-perpage-value/(.+)'] = "super_admin/get_perpage_value/$1";
$route['get-view-upper-button'] = "super_admin/get_view_upper_button";
$route['super-admin-user'] = "super_admin/user_list/role/6";
$route['super-admin-user/(.+)'] = "super_admin/user_list/$1";
$route['admin-user'] = "super_admin/user_list/role/1";
$route['admin-user/(.+)'] = "super_admin/user_list/$1";
$route['account-officer'] = "super_admin/user_list/role/2";
$route['account-officer/(.+)'] = "super_admin/user_list/$1";
$route['individual-teacher'] = "super_admin/user_list/role/3";
$route['individual-teacher/(.+)'] = "super_admin/user_list/$1";
$route['organization'] = "super_admin/user_list/role/4";
$route['organization/(.+)'] = "super_admin/user_list/$1";
$route['learner'] = "super_admin/user_list/role/5";
$route['learner/(.+)'] = "super_admin/user_list/$1";
$route['no-role-user'] = "super_admin/user_list/role/7";
$route['no-role-user/(.+)'] = "super_admin/user_list/$1";
$route['make-user-active/(.+)'] = "super_admin/make_user_active/$1";
$route['make-user-inactive/(.+)'] = "super_admin/make_user_inactive/$1";
$route['make-user-archive/(.+)'] = "super_admin/make_user_archive/$1";
$route['delete-user/(.+)'] = "super_admin/delete_user/$1";
$route['super-admin/view-detail/(.+)'] = "super_admin/view_detail/$1";
$route['super-admin/security-reset-password/(.+)'] = "super_admin/send_email_to_user_for_security_reset_password/$1";
//$route['super-admin/paument-details/(.+)'] = "super_admin/user_payment_details/$1";

//------------------------Admin Payment Method (Start)--------------
$route['admin/view-payment-method/(.+)'] = "admin_payment/view_payment_method/$1";
$route['admin/save-bkash-payment-method'] = "admin_payment/save_bkash_payment_method";
$route['admin/check-payment-bkash-number'] = "admin_payment/check_payment_bkash_number";
$route['admin/get-bkash-payment-info'] = "admin_payment/get_bkash_payment_info";
$route['admin/update-bkash-payment-method'] = "admin_payment/update_bkash_payment_method";
$route['admin/delete-bkash-payment-method'] = "admin_payment/delete_bkash_payment_method";
$route['admin/get-bank-branch'] = "admin_payment/view_bank_branch_name";
$route['admin/check-account-number'] = "admin_payment/check_account_number";
$route['admin/save-check-payment-method'] = "admin_payment/save_check_payment_method";
$route['admin/get-check-payment-info'] = "admin_payment/get_check_payment_info";
$route['admin/update-check-payment-method'] = "admin_payment/update_check_payment_method";
$route['admin/delete-check-payment-method'] = "admin_payment/delete_check_payment_method";
$route['admin/check-paypal-email'] = "admin_payment/check_paypal_email";
$route['admin/save-paypal-payment-method'] = "admin_payment/save_paypal_payment_method";
$route['admin/get-paypal-payment-info'] = "admin_payment/get_paypal_payment_info";
$route['admin/update-paypal-payment-method'] = "admin_payment/update_paypal_payment_method";
$route['admin/delete-paypal-payment-method'] = "admin_payment/delete_paypal_payment_method";
//------------------------Admin Payment Method (End)--------------

$route['super_admin_profile'] = "super_admin_profile";
$route['super-admin-profile/add-education/(.+)'] = "super_admin_profile/add_education/$1";
$route['edit-education/(.+)'] = "super_admin_profile/edit_education_form/$1";
$route['super-admin-profile/add-work-experience/(.+)'] = "super_admin_profile/add_work_experience/$1";
$route['super-admin-profile/user-link/(.+)'] = "super_admin_profile/user_link/$1";
$route['super_admin_profile/(.+)'] = "$0/$1";

//------------------------Admin Notification (Start)--------------
$route['admin/view-course-notification'] = "admin_notification/view_course_notification";
$route['admin/view-payment-notification'] = "admin_notification/view_payment_notification";
$route['admin/view-notification'] = "admin_notification/view_notification";
$route['admin/select-notification-by-date'] = "admin_notification/select_notification_by_date";
$route['admin/update-view-notification'] = "admin_notification/update_view_notification";
$route['admin/mark-all-as-read/(.+)'] = "admin_notification/mark_all_as_read/$1";
//------------------------Admin Notification (End)--------------
//------------------------Admin Student Management (Start)--------------
$route['super-admin-current-student'] = "super_admin_student/current_student";
$route['super-admin-classroom-student'] = "super_admin_student/classroom_student";
$route['super-admin-video-training-student'] = "super_admin_student/video_training_student";
//------------------------Admin Student Management (End)--------------
// --------------------------------- Teporary Course Topic and Category-----------------------
$route['super-admin/add-course-topic'] = "super_admin_video/add_course_topic";
$route['super-admin/manage-course-topic'] = "super_admin_video/manage_course_topic";
$route['delete-course-topic/(.+)'] = "super_admin_video/delete_course_topic/$1";
$route['check-course-topic-name/(.+)'] = "super_admin_video/check_course_topic_name/$1";
$route['search-course-topic'] = "super_admin_video/search_course_topic/";
$route['super-admin/add-course-category'] = "super_admin_video/add_course_category";
$route['super-admin/edit-course-category/(.+)'] = "super_admin_video/edit_course_category/$1";
$route['super-admin/manage-course-category'] = "super_admin_video/manage_course_category";
$route['super-admin/manage-course-category/(.+)'] = "super_admin_video/manage_course_category/$1";
$route['super-admin/manage-course-category-acending'] = "super_admin_video/manage_course_category/asc";
$route['super-admin/manage-course-category-decending'] = "super_admin_video/manage_course_category/desc";
$route['super-admin/category-name-existance/(.+)'] = "super_admin_video/category_name_existance/$1";
$route['super-admin/change-course-category-action/(.+)'] = "super_admin_video/change_course_category_action/$1";
$route['super-admin/check-category-child/(.+)'] = "super_admin_video/check_category_child_id/$1";
$route['super-admin/get-value-by-status/(.+)'] = "super_admin_video/get_course_category_by_status/$1";
$route['check-home-view-status/(.+)'] = "super_admin_video/check_home_view_status/$1";
$route['search-course-category/(.+)'] = "super_admin_video/search_course_category/$1";
$route['manage-course-category-descending'] = "super_admin_video/manage_course_category/desc";
$route['manage-course-category-ascending'] = "super_admin_video/manage_course_category/asc";
$route['check-course-category-id/(.+)'] = "super_admin_video/check_course_by_category_id/$1";
$route['super_admin_video/(.+)'] = "$0/$1";
// ------------------------------------Teporary Course Topic and Category---------------------------------
// ------------------------------Admin menu Routes---------------------------------
$route['super-admin/add-menu'] = "super_admin/add_menu";
$route['super-admin/edit-menu/(.+)'] = "super_admin/edit_menu/$1";
$route['super-admin/manage-menu'] = "super_admin/manage_menu";
$route['super-admin/manage-menu/(.+)'] = "super_admin/manage_menu/$1";
$route['super-admin/change-menu-status/(.+)'] = "super_admin/change_menu_status/$1";
$route['super-admin/get-menu-order/(.+)'] = "super_admin/get_menu_order/$1";
$route['super-admin/manu-name-existance/(.+)'] = "super_admin/check_manu_name_existance/$1";
$route['super-admin/change-menu-order/(.+)'] = "super_admin/change_menu_order/$1";
$route['super-admin/get-parent-menu/(.+)'] = "super_admin/get_parent_menu/$1";
$route['super-admin/get-section-menu/(.+)'] = "super_admin/get_section_menu/$1";
$route['super_admin/(.+)'] = "$0/$1";
// ------------------------------Admin menu Routes---------------------------------
// ------------------------------Admin Topic Routes---------------------------------
$route['admin/add-topic'] = "admin_topic/add_topic";
$route['admin/manage-topic'] = "admin_topic/manage_topic";
$route['admin/edit-topic/(.+)'] = "admin_topic/edit_topic/$1";
$route['admin/check-topic-name/(.+)'] = "admin_topic/check_topic_name/$1";
$route['admin/change-topic-status/(.+)'] = "admin_topic/change_topic_status/$1";
$route['admin_topic/(.+)'] = "$0/$1";
// ------------------------------Admin Topic Routes---------------------------------
// ------------------------------Admin Course Routes---------------------------------
$route['admin/add-course'] = "super_admin_course/add_course";
$route['admin/edit-course/(.+)'] = "super_admin_course/edit_course/$1";
$route['admin/manage-course'] = "super_admin_course/manage_course";
$route['admin/manage-course/(.+)'] = "super_admin_course/manage_course/$1";
$route['admin/chnage-course-upcomming-status/(.+)'] = "super_admin_course/chnage_course_upcomming_status/$1";
$route['admin/chnage-course-permission/(.+)'] = "super_admin_course/chnage_course_permission/$1";
$route['admin/chnage-course-status/(.+)'] = "super_admin_course/change_course_status/$1";
$route['admin/course-value-by-status/(.+)'] = "super_admin_course/course_value_by_status/$1";
$route['admin/search-course'] = "super_admin_course/search_course";
$route['admin/view-child-topic/(.+)'] = "super_admin_course/view_child_topic/$1";
$route['admin/course-register-student/(.+)'] = "super_admin_course/view_course_register_student/$1";
$route['admin/remove-course-student'] = "super_admin_course/remove_course_register_student";
$route['admin/register-course-student-pagination'] = "super_admin_course/register_course_student_pagination";
$route['admin/view-register-course-student'] = "super_admin_course/view_register_course_student_by_date";
$route['super_admin_course/(.+)'] = "$0/$1";
// Start view all course work 
$route['admin/course/add-work-file'] = "super_admin_course/add_work_file";
$route['admin/course/work-file-info'] = "super_admin_course/get_work_file_info";
$route['admin/course/child-topic'] = "super_admin_course/get_child_topic";
$route['admin/course/topic-course'] = "super_admin_course/get_course_by_topic";
$route['admin/course/work-file-view'] = "super_admin_course/get_work_file_view_page";
$route['admin/course/upload-work-file'] = "super_admin_course/upload_work_file";
$route['admin/get-more-work-file-view'] = "super_admin_course/get_more_work_file_view";
$route['admin/course/delete-work-file'] = "super_admin_course/delete_work_file";
$route['admin/course/edit-work-file/(.+)'] = "super_admin_course/edit_work_file/$1";
// Manage Course Work file
$route['admin/course/manage-work-file'] = "super_admin_course/manage_work_file";
$route['admin/course/manage-work-file/(.+)'] = "super_admin_course/manage_work_file/$1";
$route['admin/course/save-work-file'] = "super_admin_course/save_work_file";
// Manage Course Work file
// View Course Work file
$route['admin/course/view-work-file/(.+)'] = "super_admin_course/view_work_file/$1";
$route['admin/course/get-work-file/(.+)'] = "super_admin_course/get_work_file/$1";
$route['admin/course/update-file-order/(.+)'] = "super_admin_course/update_file_order/$1";
$route['admin/course/delete-view-work-file'] = "super_admin_course/delete_work_file_in_view";
$route['admin/course/search-work-file'] = "super_admin_course/search_work_file";
$route['admin/course/delete-all-work-file'] = "super_admin_course/delete_all_work_file";

// ------------------------------Admin Course Routes---------------------------------


/*
 * ---------------------------- Start Map & profile routes for Admin -------------------------------------
 */

$route['admin/change-current-location'] = "admin_map/change_current_location";
$route['admin/get-current-location'] = "admin_map/get_current_location";
$route['admin/get-travel-location'] = "admin_map/get_travel_location";
$route['admin/add-travel-location'] = "admin_map/add_travel_location";
$route['admin/remove-travel-location'] = "admin_map/remove_travel_location";
$route['admin/get-link-location'] = "admin_map/get_link_location";
$route['admin/get-link-suggestion'] = "admin_map/get_link_suggestion";
$route['admin/connect-suggested-user'] = "admin_map/connect_suggested_user";

$route['admin/user-block-link'] = "admin_map/block_person_link";
$route['admin/delete-link'] = "admin_my_link/delete_link";
$route['admin/block-link'] = "admin_my_link/block_link";
$route['admin/accept-link-request'] = "admin_my_link/accept_link_request";
$route['admin/suggested-link'] = "admin_my_link/my_link_suggestion";
$route['admin/get-link-detail'] = "admin_my_link/get_link_detail";

$route['admin/add-education-form/(.+)'] = "super_admin_profile/add_education_form/$1";
$route['admin/select-institute'] = "super_admin_profile/select_institute";
$route['admin/save-education/(.+)'] = "super_admin_profile/add_education/$1";
$route['admin/edit-education-form/(.+)'] = "super_admin_profile/edit_education_form/$1";
$route['admin/cancel-update-education/(.+)'] = "super_admin_profile/cancel_update_education/$1";
$route['admin/update-education/(.+)'] = "super_admin_profile/update_education/$1";
$route['admin/delete-education'] = "super_admin_profile/delete_education";
/*
 * ---------------------------- End Map & profile routes for Admin -------------------------------------
 */

/*
  ------------------------------Admin Video Course Routes----------------------------------
 */
$route['add-video-course'] = "super_admin_video/add_video_course";
$route['manage-video-course'] = "super_admin_video/manage_video_course";
$route['manage-video-course/(.+)'] = "super_admin_video/manage_video_course/$1";
$route['edit-video-course/(.+)'] = "super_admin_video/edit_video_course/$1";
$route['video-course-url-exists'] = "super_admin_video/check_video_course_url_exists";
$route['change-video-course-status'] = "super_admin_video/change_video_course_status_by_id";
$route['video-course-search-value'] = "super_admin_video/get_video_course_by_search_value";
$route['check-folder-name-exists'] = "super_admin_video/check_video_folder_name_exists";
$route['check-edit-folder-name-exists'] = "super_admin_video/check_edit_video_folder_name_exists";

$route['add-video-work-file'] = "super_admin_video/add_video_course_work_file";
$route['manage-video-work-file'] = "super_admin_video/manage_video_course_work_file";
$route['edit-video-work-file/(.+)'] = "super_admin_video/edit_video_course_work_file/$1";
$route['view-video-work-file/(.+)'] = "super_admin_video/view_video_course_work_file/$1";
$route['get-video-course-value'] = "super_admin_video/get_video_course_value_by_category_id";
$route['check-video-section-name'] = "super_admin_video/check_video_section_name_existence";
$route['check-video-name'] = "super_admin_video/check_video_name_existence";
$route['view-video-section'] = "super_admin_video/view_video_section_by_video_course_id";
$route['upload-course-video'] = "super_admin_video/upload_video_for_video_course";
$route['view-video-course-category'] = "super_admin_video/view_course_category_for_video_course";
$route['view-video-course-file-size'] = "super_admin_video/view_video_course_file_size_by_video_course_id";
$route['get-video-work-file'] = "super_admin_video/get_video_course_work_file_view";
$route['check-video-work-file-name'] = "super_admin_video/check_video_course_work_file_name_existence";
$route['upload-video-work-file'] = "super_admin_video/upload_video_course_work_file";
$route['remove-video-course-work-file'] = "super_admin_video/remove_upload_video_course_work_file";
$route['add-single-video-area'] = "super_admin_video/add_single_video_course_area";
$route['remove-video-course'] = "super_admin_video/delete_single_video_course_area";
$route['add-section-area'] = "super_admin_video/add_video_course_section_area";
$route['remove-video-section'] = "super_admin_video/remove_video_course_section_area";
$route['delete-video-file'] = "super_admin_video/delete_video_course_all_video_file";
/*
  ----------------------------------Admin Video Course Routes----------------------------------
 */

/*
  ----------------------------------Admin Batch Routes----------------------------------
 */
$route['super-admin/create-batch'] = "super_admin_batch/create_batch";
$route['super-admin/batch-course-info'] = "super_admin_batch/batch_course_info";
$route['super-admin/manage-batch'] = "super_admin_batch/manage_batch";
$route['super-admin/select-course-type'] = "super_admin_batch/select_course_type";
$route['super-admin/search-course-type'] = "super_admin_batch/search_course_type";
$route['admin/edit-batch/(.+)'] = "super_admin_batch/edit_batch/$1";
$route['admin/cancel-batch'] = "super_admin_batch/cancel_batch";
$route['admin/delete-batch'] = "super_admin_batch/delete_batch";
$route['admin/register-student/(.+)'] = "super_admin_batch/registered_student_list/$1";
$route['admin/view-assigned-student/(.+)'] = "super_admin_batch/view_assigned_student/$1";
$route['admin/not-eligible'] = "super_admin_batch/make_not_eligible";
$route['admin/batch-pagination'] = "super_admin_batch/batch_pagination";
$route['admin/batch-pagination-course-wise'] = "super_admin_batch/batch_pagination_course_wise";
$route['admin/manage-batch-certification/(.+)'] = "super_admin_certificate/manage_batch_certificate/$1";
$route['admin/edit-certificate/(.+)'] = "super_admin_certificate/edit_permanent_certificate/$1";
$route['admin/view-certificate/(.+)'] = "super_admin_certificate/view_permanent_certificate/$1";
$route['admin/update-permanent-certificate/(.+)'] = "super_admin_certificate/update-permanent-certificate/$1";
$route['admin/search-student-certificate'] = "super_admin_certificate/search_student_for_manage_certificate";
$route['admin/assign-certificate'] = "super_admin_certificate/assign_batch_student_certificate";
$route['admin/cancel-certificate'] = "super_admin_certificate/cancel_batch_student_certificate";
$route['admin/manage-certificate'] = "super_admin_certificate/manage_certificate";
$route['super_admin_batch/(.+)'] = "$0/$1";
/*
  ----------------------------------Admin Batch Routes----------------------------------
 */
/*
  ----------------------------------Admin Classroom Routes----------------------------------
 */
$route['schedule-classroom'] = "super_admin_classroom/schedule_classroom";
$route['edit-classroom-schedule/(.+)'] = "super_admin_classroom/edit_schedule_classroom/$1";
$route['get-selected-course-by-category-id'] = "super_admin_classroom/get_selected_course_by_category_id";
$route['check-resource-person-feature-status'] = "super_admin_classroom/check_resource_person_feature_status";
$route['get-course-feature-info'] = "super_admin_classroom/get_course_feature_information";
$route['check-class-start-date'] = "super_admin_classroom/check_classroom_start_date";
$route['check-classroom-start-time'] = "super_admin_classroom/check_classroom_start_time";
$route['check-classroom-duration'] = "super_admin_classroom/check_classroom_duration";
$route['check-backend-classroom-action'] = "super_admin_classroom/check_classroom_action";
$route['classroom-review-and-publish/(.+)'] = "super_admin_classroom/classroom_review_and_publish/$1";
$route['get-classroom-url-form'] = "super_admin_classroom/update_classroom_url_form";
$route['validate-classroom-url'] = "super_admin_classroom/check_classroom_url";
$route['update-classroom-url'] = "super_admin_classroom/save_update_classroom_url";
$route['publish-scheduled_classroom'] = "super_admin_classroom/publish_classroom_schedule";
$route['super-admin/upcoming-class'] = "super_admin_classroom/upcoming_class";
$route['super-admin/current-class'] = "super_admin_classroom/current_class";
$route['super-admin/previous-class'] = "super_admin_classroom/previous_class";
$route['backend-assign-student/(.+)'] = "super_admin_classroom/view_classroom_course_register_student/$1";
$route['backend-assigned-student/(.+)'] = "super_admin_classroom/view_classroom_assigned_student/$1";
$route['change-backend-student-permission'] = "super_admin_classroom/change_student_permission";
$route['check-backend-student-permission'] = "super_admin_classroom/check_student_permission";
$route['super-admin-category-course'] = "super_admin_classroom/select_category_course";
$route['super-admin-check-schedule-availability'] = "super_admin_classroom/check_schedule_availability";
$route['super-admin-check-schedule-availability-for-edit/(.+)'] = "super_admin_classroom/check_schedule_availability_for_edit/$1";
$route['super-admin-check-classroom-feature-status'] = "super_admin_classroom/check_classroom_feature_status";
$route['super-admin-select-feature-information'] = "super_admin_classroom/select_feature_information";
$route['super-admin/check-student-in-multiple-batch'] = "super_admin_classroom/check_student_in_multiple_batch";
$route['super-admin/select-classroom-course-batch'] = "super_admin_classroom/select_classroom_course_batch";
$route['super-admin/classroom-selected-batch-info'] = "super_admin_classroom/classroom_selected_batch_info";
$route['super-admin-check-url-existance'] = "super_admin_classroom/ajax_check_classroom_url_exist";
$route['super-admin/update-classroom-url/(.+)/(.+)'] = "super_admin_classroom/update_classroom_url/$1/$2";
$route['super-admin/delete-schedule-class/(.+)'] = "super_admin_classroom/delete_class_schedule/$1";
$route['super-admin/cancel-schedule-class/(.+)'] = "super_admin_classroom/cancel_class_schedule/$1";
$route['super-admin/assign-student/(.+)'] = "super_admin_classroom/view_classroom_course_register_student/$1";
$route['super-admin/assign/(.+)'] = "super_admin_classroom/assign_student/$1";
$route['super-admin/unassign/(.+)'] = "super_admin_classroom/unassign_student/$1";
$route['super-admin/view-assigned-student/(.+)'] = "super_admin_classroom/view_assigned_student/$1";
$route['super-admin/join-class/(.+)'] = "super_admin_classroom/join_class/$1";
$route['super_admin_classroom/(.+)'] = "$0/$1";
/*
  ------------------------------------Admin Classroom Routes---------------------------------
 */

/*
  ------------------------------------Admin Group Routes---------------------------------
 */
$route['super-admin-group-note/(.+)'] = "super_admin_group/group_note/$1";
$route['super-admin-group-note/(.+)/(.+)'] = "super_admin_group/group_note/$1/$2";
$route['super-admin-group-alert/(.+)'] = "super_admin_group/group_alert/$1";
$route['super-admin-group-assignment/(.+)'] = "super_admin_group/group_assignment/$1";
$route['super-admin-group-assignment/(.+)/(.+)'] = "super_admin_group/group_assignment/$1/$2";
$route['super-admin-group-photo/(.+)'] = "super_admin_group/group_photo/$1";
$route['super-admin-group-photo/(.+)/(.+)'] = "super_admin_group/group_photo/$1/$2";
$route['super-admin-group-video/(.+)'] = "super_admin_group/group_video/$1";
$route['super-admin-create-group-type'] = "super_admin_group/create_group_type";
$route['super-admin-manage-group-type'] = "super_admin_group/manage_group_type";
$route['super-admin-manage-group-type/(.+)'] = "super_admin_group/manage_group_type/$1";
$route['super-admin-manage-group'] = "super_admin_group/manage_group";
$route['super-admin-manage-group/(.+)'] = "super_admin_group/manage_group/$1";
$route['super-admin-group-note-search'] = "super_admin_group/super_admin_group_note_search";
$route['super-admin-group-note-active-inactive'] = "super_admin_group/super_admin_group_note_active_inactive";

$route['super-admin-edit-group-type/(.+)'] = "super_admin_group/edit_group_view/$1";
$route['edit-group-type'] = "super_admin_group/edit_group_type";
$route['edit-group/(.+)'] = "super_admin_group/edit_group/$1";

$route['super-admin-detail-group-list'] = "super_admin_group/detail_group_list";
$route['super-admin-detail-group-list/(.+)'] = "super_admin_group/detail_group_list/$1";
$route['super-admin-group-course/(.+)'] = "super_admin_group/group_course_list/$1";
$route['super-admin-group-video-course/(.+)'] = "super_admin_group/group_video_course_list/$1";
$route['super-admin-group-course-member-details/(.+)/(.+)'] = "super_admin_group/group_course_member_details/$1/$2";
$route['super-admin-group-video-course-member-details/(.+)'] = "super_admin_group/group_video_course_member_details/$1";
$route['delete-group-course-memeber'] = "super_admin_group/delete_group_course_memeber";
$route['super-admin-search-manage-group'] = "super_admin_group/super_admin_search_manage_group";
$route['super-admin-detail-search-manage-group'] = "super_admin_group/super_admin_detail_search_manage_group";
$route['super-admin-search-group_type'] = "super_admin_group/super_admin_search_group_type";
$route['super-admin-group-alert-search'] = "super_admin_group/super_admin_group_alert_search";
$route['super-admin-group-assignment-search'] = "super_admin_group/super_admin_group_assignment_search";
$route['super-admin-group-photo-search'] = "super_admin_group/super_admin_group_photo_search";
$route['super-admin-group-video-search'] = "super_admin_group/super_admin_group_video_search";

$route['add-backend-group-type'] = "super_admin_group/add_backend_group_type";
$route['add-backend-group'] = "super_admin_group/add_backend_group";
$route['edit-backend-group-type'] = "super_admin_group/edit_backend_group_type";
$route['group-url-exists'] = "super_admin_group/check_group_url_exists";
$route['pending-status-change'] = "super_admin_group/pending_status_change";
$route['approved-status-change'] = "super_admin_group/approved_status_change";
$route['active-status-change'] = "super_admin_group/active_status_change";
$route['inactive-status-change'] = "super_admin_group/inactive_status_change";
$route['delete-backend-group-type'] = "super_admin_group/delete_backend_group_type";
$route['check-invite-code'] = "super_admin_group/check_invite_code";
$route['check-edit-invite-code'] = "super_admin_group/check_edit_invite_code";
$route['check-edit-url-code'] = "super_admin_group/check_edit_url_code";
$route['change-status-public'] = "super_admin_group/change_status_public";
$route['change-status-group'] = "super_admin_group/change_status_group";
$route['change-active-value'] = "super_admin_group/change_active_value";
$route['change-inactive-value'] = "super_admin_group/change_inactive_value";
$route['change-archieve-value'] = "super_admin_group/change_archieve_value";
$route['delete-group-backend'] = "super_admin_group/delete_group_backend";
$route['update-group-value'] = "super_admin_group/update_group_value";
$route['member-information/(.+)'] = "super_admin_group/view_group_member_information/$1";
$route['pending-member-information/(.+)'] = "super_admin_group/requested_group_member_details/$1";
$route['change-active-member-value'] = "super_admin_group/change_active_member_value";
$route['change-inactive-member-value'] = "super_admin_group/change_inactive_member_value";
$route['change-block-member-value'] = "super_admin_group/change_block_member_value";
$route['leave-group-member'] = "super_admin_group/leave_group_member";
$route['add-requesting-group-member'] = "super_admin_group/add_requesting_group_member";
$route['remove-requesting-group-member'] = "super_admin_group/remove_requesting_group_member";
$route['block-requesting-group-member'] = "super_admin_group/block_requesting_group_member";
$route['active-block-requesting-group-member'] = "super_admin_group/active_block_requesting_group_member";
$route['individual-group-details/(.+)'] = "super_admin_group/user_group_details/$1";
$route['remove-group-note-backend'] = "super_admin_group/remove_group_note_from_group";
$route['download-assignment-file-group/(.+)'] = "super_admin_group/download_assignment_file_group/$1";
$route['download-assigment-file-authenticate'] = "super_admin_group/download_assigment_file_authenticate";
$route['view-post-group-viedo/(.+)'] = "super_admin_group/view_post_in_group_viedo/$1";
$route['remove-group-media-file-backend'] = "super_admin_group/remove_group_media_file_backend";
$route['super_admin_group/(.+)'] = "$0/$1";
/*
  ------------------------------------Admin Group Routes---------------------------------
 */

/*
  ----------------------------------Admin Coupon Routes----------------------------------
 */
$route['add-coupon'] = "super_admin/add_coupon";
$route['edit-coupon/(.+)'] = "super_admin/edit_coupon/$1";
$route['manage-coupon'] = "super_admin/manage_coupon";
$route['manage-coupon/(.+)'] = "super_admin/manage_coupon/$1";
$route['check-coupon-name'] = "super_admin/check_coupon_name_existence";
$route['check-coupon-code'] = "super_admin/check_coupon_code_existence";
$route['check-coupon-status'] = "super_admin/check_coupon_status_by_coupon_id";
$route['search-coupon'] = "super_admin/search_coupon";
/*
  ----------------------------------Admin Coupon Routes----------------------------------
 */

/*
  ----------------------------------Admin Quiz Routes----------------------------------
 */
$route['super-admin/create-quiz'] = "super_admin_quiz/create_quiz";
$route['super-admin/check-quiz-public-id/(.+)'] = "super_admin_quiz/check_quiz_public_id/$1";
$route['super-admin/check-quiz-url-existance/(.+)'] = "super_admin_quiz/check_url_existance/$1";
$route['super-admin/quiz/(.+)/add-quiz-question'] = "super_admin_quiz/add_quiz_question/$1";
//$route['super-admin/add-quiz-topic'] = "super_admin_quiz/add_quiz_topic";
//$route['super-admin/edit-quiz-topic/(.+)'] = "super_admin_quiz/edit_quiz_topic/$1";
//$route['super-admin/check-topic-name-existance'] = "super_admin_quiz/check_topic_name_existance";
//$route['super-admin/check-topic-url-existance/(.+)'] = "super_admin_quiz/check_url_existance/$1";
//$route['super-admin/manage-topic'] = "super_admin_quiz/manage_topic";
//$route['super-admin/manage-topic/(.+)'] = "super_admin_quiz/topic_pagination/$1";
//$route['super-admin/change-status/(.+)/(.+)'] = "super_admin_quiz/change_status/$1/$2";
//$route['super-admin/delete-topic/(.+)'] = "super_admin_quiz/delete_topic/$1";
//$route['super-admin/search-quiz-topic'] = "super_admin_quiz/search_quiz_topic";
//$route['super-admin/view-topic-quiz/(.+)'] = "super_admin_quiz/view_topic_quiz/$1";
$route['super_admin_quiz/add_question'] = "super_admin_quiz/add_question";

$route['super-admin/select-quiz-access-user'] = "super_admin_quiz/select_quiz_access_user";
$route['super-admin/search-quiz-access'] = "super_admin_quiz/search_quiz_access";
$route['super-admin/more-group-selection'] = "super_admin_quiz/more_group_selection";
$route['super-admin/pervious-selected-value'] = "super_admin_quiz/pervious_selected_value";

$route['super-admin/check-quiz-bind-id'] = "super_admin_quiz/check_quiz_bind_id";
$route['super-admin/view-test'] = "super_admin_quiz/view_quiz_test";
$route['super-admin/manage-quiz'] = "super_admin_quiz/manage_quiz";
$route['super-admin/manage-quiz/(.+)'] = "super_admin_quiz/manage_quiz/$1";
$route['super-admin/search-quiz'] = "super_admin_quiz/search_quiz";

//$route['super-admin/quiz/(.+)/add-grade'] = "super_admin_quiz/add_grade/$1";
//$route['super-admin/quiz/(.+)/update-quiz-grade'] = "super_admin_quiz/add_grade/$1";
//$route['super-admin/add_more_grade/(.+)'] = "super_admin_quiz/add_more_grade/$1";
//$route['super-admin/delete_grade/(.+)'] = "super_admin_quiz/delete_grade/$1";
//$route['super-admin/quiz/view-grade'] = "super_admin_quiz/view_grade";
//
//$route['super-admin/quiz/view-learner-grade'] = "super_admin_quiz/view_learner_grade";
//$route['super-admin/quiz/view-learner-certificate'] = "super_admin_quiz/view_learner_certificate";
//$route['super-admin/quiz/details-quiz-result'] = "super_admin_quiz/details_quiz_result";
//
//$route['super-admin/activate-grade/(.+)'] = "super_admin_quiz/activate_grade/$1";
//$route['super-admin/inactivate-grade/(.+)'] = "super_admin_quiz/inactivate_grade/$1";
//$route['super-admin/archive-grade/(.+)'] = "super_admin_quiz/archive_grade/$1";
//$route['super-admin/quiz/(.+)/edit-grade'] = "super_admin_quiz/edit_grade/$1";
//$route['super-admin/edit-selected-grade'] = "super_admin_quiz/edit_selected_grade";
//$route['super-admin/quiz/(.+)/grade-details'] = "super_admin_quiz/quiz_grade_details/$1";
//
//$route['super-admin/create-certificate'] = "super_admin_quiz/create_certificate";
//$route['super-admin/view-certificate'] = "super_admin_quiz/view_certificate";
//$route['super-admin/save-certificate'] = "super_admin_quiz/create_certificate";
//$route['super-admin/assign-certificate/(.+)'] = "super_admin_quiz/assign_certificate/$1";
//$route['super-admin/skip-assign-certificate'] = "super_admin_quiz/skip_assign_certificate";
//
//$route['super-admin/quizes/certificate'] = "super_admin_quiz/view_certificate";
//$route['super-admin/quiz/(.+)/certificate'] = "super_admin_quiz/certificate_view/$1";
//$route['super-admin/quiz/(.+)/certificate-holders'] = "super_admin_quiz/certificate_holders/$1";
//$route['super-admin/quiz/(.+)/edit-certificate'] = "super_admin_quiz/edit_certificate/$1";
//$route['super-admin/activate-certificate/(.+)'] = "super_admin_quiz/activate_certificate/$1";
//$route['super-admin/inactivate-certificate/(.+)'] = "super_admin_quiz/inactivate_certificate/$1";
//$route['super-admin/archive-certificate/(.+)'] = "super_admin_quiz/archive_certificate/$1";


$route['admin/course-create-certificate/(.+)'] = "super_admin_certificate/course_create_certificate/$1";
$route['admin/remove-temporary-logo'] = "super_admin_certificate/remove_temporary_logo";
//$route['admin/view-certificate-demo'] = "super_admin_certificate/view_certificate";
//$route['admin/upload-certificate-logo'] = "super_admin_certificate/upload_certificate_logo";
$route['admin/save-course-certificate'] = "super_admin_certificate/save_course_certificate";
$route['admin/edit-course-certificate/(.+)'] = "super_admin_certificate/edit_course_certificate/$1";
$route['admin/update-course-certificate'] = "super_admin_certificate/update_course_certificate";
$route['admin/course-demo-certificate/(.+)'] = "super_admin_certificate/view_demo_course_certificate/$1";


$route['super-admin/quiz/(.+)/edit-quiz'] = "super_admin_quiz/edit_quiz/$1";
$route['super-admin/edit-select-quiz-access-user'] = "super_admin_quiz/edit_select_quiz_access_user";
$route['super-admin/change-quiz-status/(.+)/(.+)'] = "super_admin_quiz/change_quiz_status/$1/$2";
$route['super-admin/delete-quiz/(.+)'] = "super_admin_quiz/delete_quiz/$1";

$route['super-admin/add-question'] = "super_admin_quiz/add_question";
$route['super-admin/get-quiz-required-information/(.+)'] = "super_admin_quiz/get_quiz_required_information/$1";
$route['super-admin/get-quiz-required-information-edit/(.+)/(.+)'] = "super_admin_quiz/get_quiz_required_information_edit/$1/$2";
$route['super-admin/quiz/(.+)/question'] = "super_admin_quiz/view_question/$1";
$route['super-admin/activate-question/(.+)'] = "super_admin_quiz/activate_question/$1";
$route['super-admin/inactivate-question/(.+)'] = "super_admin_quiz/inactivate_question/$1";
$route['super-admin/archive-question/(.+)'] = "super_admin_quiz/archive_question/$1";
$route['super-admin/(.+)/edit-quiz-multiple-choice-question/(.+)'] = "super_admin_quiz/edit_multiple_choice_question/$1/$2";
$route['super-admin/(.+)/edit-true-false-question/(.+)'] = "super_admin_quiz/edit_true_false_question/$1/$2";
$route['super-admin/(.+)/edit-descriptive-question/(.+)'] = "super_admin_quiz/edit_descriptive_question/$1/$2";
$route['super-admin/(.+)/edit-fill-blank-question/(.+)'] = "super_admin_quiz/edit_fill_in_the_blank_question/$1/$2";
$route['super_admin_quiz/(.+)'] = "$0/$1";
/*
  ----------------------------------Admin Quiz Routes----------------------------------
 */
/*
  ----------------------------------Admin Feature Price Management Routes----------------------------------
 */
$route['super_admin_virtual_classroom/check'] = "super_admin_virtual_classroom/check";

$route['super_admin_virtual_classroom/select_free_virtual_classroom_feature'] = "super_admin_virtual_classroom/select_free_virtual_classroom_feature";
$route['super_admin_virtual_classroom/select_free_virtual_classroom_feature_for_edit/(.+)'] = "super_admin_virtual_classroom/select_free_virtual_classroom_feature_for_edit/$1";
$route['super_admin_virtual_classroom/add-virtual-classroom-feature'] = "super_admin_virtual_classroom/add_virtual_classroom_feature";
$route['super_admin_virtual_classroom/edit-virtual-classroom-feature-set-id/(.+)'] = "super_admin_virtual_classroom/edit_virtual_classroom_feature_set_id/$1";
$route['super_admin_virtual_classroom/edit-virtual-classroom-feature'] = "super_admin_virtual_classroom/edit_virtual_classroom_feature";
$route['check-resource-person'] = "super_admin_virtual_classroom/check_resource_person_virtual_classroom_feature";
$route['check-paid-feature-combination'] = "super_admin_virtual_classroom/ajax_check_paid_feature_combination";
$route['check-paid-feature-edit-combination'] = "super_admin_virtual_classroom/ajax_check_paid_feature_edit_combination";

$route['super_admin_virtual_classroom/select_free_online_exam_feature'] = "super_admin_virtual_classroom/select_free_online_exam_feature";
$route['super_admin_virtual_classroom/select_free_online_exam_feature_for_edit/(.+)'] = "super_admin_virtual_classroom/select_free_online_exam_feature_for_edit/$1";
$route['super_admin_virtual_classroom/add-online-exam-feature'] = "super_admin_virtual_classroom/add_online_exam_feature";
$route['super_admin_virtual_classroom/edit-online-exam-feature-set-id/(.+)'] = "super_admin_virtual_classroom/edit_online_exam_feature_set_id/$1";
$route['super_admin_virtual_classroom/edit-online-exam-feature'] = "super_admin_virtual_classroom/edit_online_exam_feature";

$route['super_admin_virtual_classroom/select_free_explore_expert_resume_feature'] = "super_admin_virtual_classroom/select_free_explore_expert_resume_feature";
$route['super_admin_virtual_classroom/select_free_explore_expert_resume_feature_for_edit/(.+)'] = "super_admin_virtual_classroom/select_free_explore_expert_resume_feature_for_edit/$1";
$route['super_admin_virtual_classroom/add-explore-expert-resume-feature'] = "super_admin_virtual_classroom/add_explore_expert_resume_feature";
$route['super_admin_virtual_classroom/edit-explore-expert-resume-feature-set-id/(.+)'] = "super_admin_virtual_classroom/edit_explore_expert_resume_feature_set_id/$1";
$route['super_admin_virtual_classroom/edit-explore-expert-resume-feature'] = "super_admin_virtual_classroom/edit_explore_expert_resume_feature";

$route['make-feature-active/(.+)'] = "super_admin_virtual_classroom/active_select_virtual_classroom_feature/$1";
$route['make-feature-inactive/(.+)'] = "super_admin_virtual_classroom/inactive_select_virtual_classroom_feature/$1";
$route['make-feature-archive/(.+)'] = "super_admin_virtual_classroom/archive_select_virtual_classroom_feature/$1";
$route['make-feature-delete/(.+)'] = "super_admin_virtual_classroom/delete_select_virtual_classroom_feature/$1";

$route['super_admin_virtual_classroom/add_online_exam_feature'] = "super_admin_virtual_classroom/add_online_exam_feature";
$route['super_admin_virtual_classroom/add_explore_expert_resume_feature'] = "super_admin_virtual_classroom/add_explore_expert_resume_feature";

$route['feature_price_management'] = "super_admin_virtual_classroom/feature_price_management";
$route['save-virtual-classroom-feature'] = "super_admin_virtual_classroom/save_virtual_classroom_feature";
$route['virtual-classroom-management'] = "super_admin_virtual_classroom/virtual_classroom_management";
$route['inactive-select-virtual-classroom-feature/(.+)'] = "super_admin_virtual_classroom/inactive_select_virtual_classroom_feature/$1";
$route['active-select-virtual-classroom-feature/(.+)'] = "super_admin_virtual_classroom/active_select_virtual_classroom_feature/$1";
$route['archived-select-virtual-classroom-feature/(.+)'] = "super_admin_virtual_classroom/archived_select_virtual_classroom_feature/$1";
/*
  ----------------------------------Admin Feature Price Management Routes----------------------------------
 */
/*
  ----------------------------------Admin Message Routes----------------------------------
 */
//backend_message
$route['super-admin-view-email'] = "super_admin_message/view_email";
$route['super-admin-send-email'] = "super_admin_message/super_admin_send_email";
$route['encypt-data'] = "super_admin_message/encypt_data";
$route['super-admin-send-email-temp/(.+)'] = "super_admin_message/super_admin_send_email_temp/$1";
$route['super-admin-special-send-email'] = "super_admin_message/super_admin_special_send_email";
$route['super-admin-view-user-email'] = "super_admin_message/view_user_email";
$route['super-admin-person-email-address'] = "super_admin_message/view_person_email_address";
$route['super-admin-email-course-info'] = "super_admin_message/view_course_info";
$route['super-admin-email-group-info'] = "super_admin_message/view_group_info";
$route['save-message-file-backend'] = "super_admin_message/save_message_file_backend";
$route['cancel-backened-upload'] = "super_admin_message/cancel_backened_upload";
$route['super_admin_message/(.+)'] = "$0/$1";
/*
  ----------------------------------Admin Message Routes----------------------------------
 */

/*
  ----------------------------------Admin Accounts Routes----------------------------------
 */
$route['admin/course-register-students'] = "super_admin_account/accounts_course_register_students";
$route['admin/course-register-students/(.+)'] = "super_admin_account/accounts_course_register_students/$1";
$route['admin/search-course-register-student'] = "super_admin_account/accounts_search_course_register_students";
$route['admin/assign-course/(.+)'] = "super_admin_account/assign_course/$1";
$route['admin/get-course-by-topic'] = "super_admin_account/get_course_by_topic";
$route['admin/student-accounts-details/(.+)'] = "super_admin_account/accounts_single_student_all_course_details/$1";
$route['admin/delete-student-payment'] = "super_admin_account/accounts_delete_student_payment";

$route['admin/organization-earning'] = "super_admin_account/earn_by_organizaton_account";
$route['admin/teacher-earning'] = "super_admin_account/earn_by_teacher_account";
$route['admin/account/view-course/(.+)'] = "super_admin_account/account_view_course_earning/$1";
$route['admin/account/view-course-earning/(.+)'] = "super_admin_account/earning_view_earning_by_course/$1";
$route['admin/account/view-student-invoice/(.+)'] = "super_admin_account/account_view_student_invoice/$1";
$route['admin/view-all-earning-invoice'] = "super_admin_account/earning_view_all_invoice";
$route['admin/view-all-payment-request'] = "super_admin_account/view_all_payment_request";
$route['admin/confirm-payment-request'] ="super_admin_account/confirm_payment_request";
/*
 * ----------------------------Start Payment Invoice routes-------------------------------------
 */
$route['admin/view-invoice/(.+)'] = "admin_invoice/view_single_invoice/$1";
$route['admin/payment/get-info'] = "admin_invoice/get_payment_info";
$route['admin/payment/save-cash'] = "admin_invoice/save_cash_amount";
$route['admin/payment/save-cheque'] = "admin_invoice/save_cheque_amount";
$route['admin/payment/save-bkash'] = "admin_invoice/save_bkash_amount";
$route['admin/update-payment-status'] = "admin_invoice/update_payment_status";

$route['admin/refund-invoice/(.+)'] = "admin_invoice/invoice_refund_view/$1";
$route['admin/invoice-get-refund-info'] = "admin_invoice/invoice_refund_get_info";
$route['admin/check-cash-receipt-number'] = "admin_invoice/check_cash_receipt_number";
$route['admin/payment/save-refund-cash'] = "admin_invoice/invoice_save_refund_cash";
$route['admin/payment/save-refund-bkash'] = "admin_invoice/invoice_save_refund_bkash";
$route['admin/payment/save-refund-check'] = "admin_invoice/invoice_save_refund_cheque";
/*
 * ----------------------------End Payment Invoice routes-------------------------------------
 */

$route['account-management-payment-details'] = "super_admin_account/payment_details"; // This will be batchwise payment per course
$route['account-management-total-payment-details'] = "super_admin_account/user_total_payment_details";
//$route['admin/larner-course/(.+)'] = "super_admin_account/larner_course/$1";

//$route['account-management-assign-course/(.+)'] = "super_admin_account/assign_course/$1";

$route['super-admin-earn-by-course'] = "super_admin_account/earn_by_course";
$route['super-admin-course-account-view'] = "super_admin_account/course_account_view";
$route['super-admin-total-earn-by-course'] = "super_admin_account/total_earn_by_course";

$route['category-wise-course'] = "super_admin_account/category_wise_course";
$route['course-wise-cupon'] = "super_admin_account/select_cupon_id";
$route['assign-course-to-student'] = "super_admin_account/save_course_to_student";

$route['organization-account-management-payment-details'] = "super_admin_account/organization_payment_details";



$route['super-admin-earn-by-video-course'] = "super_admin_account/earn_by_video_course";
$route['super-admin-total-earn-by-video-course'] = "super_admin_account/total_earn_by_video_course";
$route['super-admin-total-earn-by-feature'] = "super_admin_account/total_earn_by_feature";

$route['super-admin-course-batch-account'] = "super_admin_account/course_batch_account";
$route['super_admin-expense-account-management'] = "super_admin_account/expense_account_management";
$route['super_admin-earning-account-management'] = "super_admin_account/earning_account_management";
$route['video-learners'] = "super_admin_account/video_learners";
$route['super_admin_account_management/video_course_account_management'] = "super_admin_account/video_course_account_management";
//$route['super-admin-earn-organizaton_account'] = "super_admin_account/earn_by_organizaton_account";
$route['super-admin-earn-individual-teacher-account'] = "super_admin_account/earn_by_individual_teacher_account";
//$route['super_admin_account_management/payment_details'] = "super_admin_account/payment_details";
$route['super_admin_account_management/student_account_details'] = "super_admin_account/student_account_details";
$route['super_admin_account_management/invoice'] = "super_admin_account/super_admin_account_management/invoice";
$route['super_admin_account_management/view_course_information'] = "super_admin_account/view_course_information";
$route['super_admin_account_management/selected_course_category_details'] = "super_admin_account/selected_course_category_details";
$route['super_admin_account_management/organization_course_account_details'] = "super_admin_account/organization_course_account_details";
$route['super_admin_account_management/selected_organization_invoice_details'] = "super_admin_account/selected_organization_invoice_details";
//$route['super_admin_account/(.+)'] = "$0/$1";
/*
  ----------------------------------Admin Accounts Routes----------------------------------
 */

/*
  ----------------------------------Admin Supports Routes----------------------------------
 */
$route['add-knowledgebase'] = "super_admin_support/add_knowledgebase"; //tania 27-04-16
$route['manage-knowledgebase'] = "super_admin_support/manage_knowledgebase";
$route['manage-knowledgebase/(.+)'] = "super_admin_support/manage_knowledgebase/$1";
$route['delete-knowledgebase'] = "super_admin_support/delete_knowledgebase_by_id"; //tania
$route['edit-knowledgebase/(.+)'] = "super_admin_support/edit_knowledgebase/$1"; //tania
$route['update-knowledgebase'] = "super_admin_support/update_knowledgebase"; //tania
$route['active-knowledgebase'] = "super_admin_support/active_knowledgebase"; //tania 28
$route['inactive-knowledgebase'] = "super_admin_support/inactive_knowledgebase"; //tania 28
$route['knowledgebase'] = "super_admin_support/knowledgebase";      //rana vai...use tania 27
$route['manage-bug-report'] = "super_admin_support/manage_bug_report";
$route['manage-bug-report/(.+)'] = "super_admin_support/manage_bug_report/$1";    //16-05-2016
$route['delete-bug-report'] = "super_admin_support/delete_bug_report";
$route['active-bug-report'] = "super_admin_support/active_bug_report";
$route['inactive-bug-report'] = "super_admin_support/inactive_bug_report";
$route['view-bug-report/(.+)'] = "super_admin_support/view_support_bug_report/$1";
$route['reply-bug-report/(.+)'] = "super_admin_support/reply_support_bug_report/$1";
$route['edit-bug-report/(.+)'] = "super_admin_support/edit_bug_report/$1";
$route['delete-bug-file'] = "super_admin_support/delete_bug_file";
$route['manage-idea'] = "super_admin_support/manage_idea";        //08-05-2016
$route['manage-idea/(.+)'] = "super_admin_support/manage_idea/$1";
$route['active-idea'] = "super_admin_support/active_idea";
$route['inactive-idea'] = "super_admin_support/inactive_idea";
$route['delete-idea'] = "super_admin_support/delete_idea";
$route['edit-idea/(.+)'] = "super_admin_support/edit_idea/$1";
$route['delete-idea-file'] = "super_admin_support/delete_idea_file";          //10-05-2016
$route['view-idea/(.+)'] = "super_admin_support/view_support_idea/$1";
$route['reply-idea/(.+)'] = "super_admin_support/reply_support_idea/$1";
$route['super_admin_support/(.+)'] = "$0/$1";
/*
  ----------------------------------Admin Supports Routes----------------------------------
 */
/*
  ----------------------------------Admin Forbidden Routes----------------------------------
 */
$route['forbidden'] = "admin_forbidden/forbidden"; //tania
$route['admin/add-forbidden'] = "admin_forbidden/add_forbidden"; // added by tania- forbidden
$route['admin/check-forbidden'] = "admin_forbidden/check_forbidden";
$route['admin/edit-forbidden'] = "admin_forbidden/forbidden_info_by_id"; //tania
$route['admin/update-forbidden'] = "admin_forbidden/update_forbidden"; //tania
$route['admin/update-forbidden-exist'] = "admin_forbidden/update_forbidden_exist"; //tania
$route['admin/delete-forbidden'] = "admin_forbidden/delete_forbidden_by_id"; //tania
$route['admin/forbidden-acending'] = "admin_forbidden/forbidden/asc";
$route['admin/forbidden-decending'] = "admin_forbidden/forbidden/desc";
$route['search-forbidden'] = "admin_forbidden/search_forbidden";      //20-04-2016
$route['get-forbidden-value-by-type'] = "admin_forbidden/get_forbidden_value_by_type"; //20-04-2016
$route['forbidden/(.+)'] = "admin_forbidden/forbidden/$1";
$route['forbidden/edit-manage'] = "admin_forbidden/get_forbidden_edit_manage"; //23
$route['forbidden/(.+)'] = "$0/$1";
/*
  ----------------------------------Admin Forbidden Routes----------------------------------
 */

/*
  ----------------------------------Admin Bank Routes----------------------------------
 */
$route['admin/bank'] = "admin_bank/view_bank"; //Ripon
$route['admin/save-bank-name'] = "admin_bank/save_bank_name"; //Ripon
$route['admin/get-bank-info'] = "admin_bank/get_bank_info"; //Ripon
$route['admin/update-bank-status'] = "admin_bank/update_bank_status"; //Ripon
$route['admin/delete-bank-name'] = "admin_bank/delete_single_bank_name"; //Ripon
$route['admin/view-bank-name'] = "admin_bank/view_bank_name"; //Ripon
$route['admin/update-bank-name'] = "admin_bank/update_bank_name";

$route['admin/bank-branch'] = "admin_bank/view_bank_branch";
$route['admin/bank-branch/(.+)'] = "admin_bank/view_bank_branch/$1";
$route['admin/save-bank-branch'] = "admin_bank/save_bank_branch";
$route['admin/update-bank-branch'] = "admin_bank/update_bank_branch";
$route['admin/update-bank-branch-status'] = "admin_bank/update_bank_branch_status";
$route['admin/delete-bank-branch'] = "admin_bank/delete_bank_branch";
$route['admin/view-bank-branch'] = "admin_bank/view_bank_branch_name";
$route['admin/get-bank-branch-info'] = "admin_bank/get_bank_branch_info";
$route['admin/check-bank-name'] = "admin_bank/check_bank_name";
$route['admin/get-bank-branch-data'] = "admin_bank/get_bank_branch_bank";

$route['admin_bank/(.+)'] = "$0/$1";
/*
  ----------------------------------Admin Bank Routes----------------------------------
 */

/*
  ----------------------------------Education Institute Routes ----------------------------------
 */
$route['admin/education-institute'] = "admin_education_institute/view_eduIns";
$route['admin/save-education-institute'] = "admin_education_institute/save_eduIns";
$route['admin/get-education-institute'] = "admin_education_institute/get_eduIns";
$route['admin/update-education-institute'] = "admin_education_institute/update_eduIns";
$route['admin/delete-education-institute'] = "admin_education_institute/delete_eduIns";
$route['admin/view-eduIns-name'] = "admin_education_institute/view_eduIns_name";
$route['admin/approve-edu-ins'] = "admin_education_institute/approve_edu_ins";

$route['select-institute'] = "profile/select_institute";
$route['delete-education'] = "profile/delete_education";
/*
  ---------------------------------- Admin Education Institute Routes ----------------------------------
 */

//Temporary Grade route
$route['design-add-grade'] = "grade/design_add_grade";
$route['design-edit-grade'] = "grade/design_edit_grade";
$route['design-edit-selected-grade'] = "grade/design_edit_selected_grade";
$route['design-manage-grade'] = "grade/design_manage_grade";
$route['design-more-grade'] = "grade/design_more_grade";
$route['design-design-select-quiz-grade-details'] = "grade/design_select_quiz_grade_details";
$route['design-selected-grade-details'] = "grade/design_selected_grade_details";
$route['design-view-grade'] = "grade/design_view_grade";
$route['design-view-grade-actions'] = "grade/design_view_grade_actions";
$route['design-view-learner-grade'] = "grade/design_view_learner_grade";

/*
 * ----------------------------@@@@Back end (17-10-2016)-------------------------------------
 */

/*
 * --------------------------@Video Course Back End Route Start[19-6-2017] --------------------
 */
$route['super-admin/all-video-course'] = "Video_course_back_end/all_video_course";
$route['super-admin/video-course-detail'] = "Video_course_back_end/video_course_detail";
$route['super-admin/video-course-detail/(.+)'] = "Video_course_back_end/video_course_detail/$1";

/*
 * --------------------------@Video Course Meta[09-09-2017] --------------------
 */



$route['manage_video_course_meta'] = "Manage_video_course_meta/add_video_course_meta";


/*
 * --------------------------@Video Course Meta End[09-09-2017] --------------------
 */




$route['super-admin/add-meta-information'] = "Super_Admin_Meta_Information/add_meta_information_back_end";
$route['super-admin/manage-meta-information'] = "Super_Admin_Meta_Information/manage_meta_information_back_end";
$route['super-admin/edit-meta-information'] = "Super_Admin_Meta_Information/edit_meta_information_back_end";
$route['super-admin/add-video-course-meta-back-end'] = "Video_course_back_end/add_video_course_meta_back_end";
$route['super-admin/view-video-back-end'] = "Video_course_back_end/view_video_back_end";
$route['super-admin/add-video-course-back-end'] = "Video_course_back_end/add_video_course_back_end";
$route['super-admin/manage-video-back-end'] = "Video_course_back_end/manage_video_back_end";
$route['super-admin/edit-video-course-back-end'] = "Video_course_back_end/edit_video_course_back_end";
$route['super-admin/manage-video-course-back-end'] = "video_course_back_end/manage_video_course_back_end";
$route['super-admin/video-course-invite-learners-back-end'] = "video_course_back_end/invite_learner_back_end";
$route['super-admin/add-video-back-end'] = "video_course_back_end/add_video_back_end";
$route['super-admin/(.+)/add-video'] = "video_course_back_end/add_video_in_video_course/$1";
$route['super-admin/edit-video-back-end'] = "video_course_back_end/edit_video_back_end";
$route['super-admin/registered-sutdent-for-paid-course'] = "video_course_back_end/paid_video_course_registered_student_back_end";

$route['super-admin/assign-student-to-course'] = "Video_course_back_end/assign_student_to_video_course";
$route['super-admin/assign-video-to-course'] = "Video_course_back_end/assign_video_to_course";

$route['super-admin/add-video-course-section'] = "video_course_back_end/add_video_course_section_back_end";
$route['super-admin/edit-video-course-section'] = "video_course_back_end/edit_video_course_section_back_end";
$route['super-admin/manage-video-course-section'] = "video_course_back_end/manage_video_course_section_back_end";

$route['super-admin/add-more-video-section_back_end'] = "video_course_back_end/add_more_video_course_section_area_back_end";
$route['super-admin/add-more-single-video_back_end'] = "video_course_back_end/add_more_video_back_end";
$route['super-admin/language-search-information'] = "video_course_back_end/add_video_course_language_search_information_back_end";
$route['super-admin/(.+)/student-invoice-list'] = "video_course_back_end/video_course_registered_student_invoice_list/$1";
$route['super-admin/student-invoice/(.+)'] = "video_course_back_end/video_course_registered_student_single_invoice/$1";

$route['super-admin/add-language'] = "Super_admin_language/add_language";
$route['super-admin/edit-language/(.+)'] = "Super_admin_language/edit_language/$1";
$route['super-admin/manage-language'] = "Super_admin_language/manage_language";

$route['super-admin/manage-rating'] = "Super_admin_rating/manage_rating";

/*
 * --------------------------@Video Course Back End Route End --------------------
 */
/*
 * --------------------------@Video Course Front End Route Start[19-6-2017] --------------------
 */
$route['video-course-registered-student'] = "Video_course_front_end/video_course_registered_student";
$route['learner-view-invoice'] = "Video_course_front_end/learner_video_course_view_invoice";
$route['learner-video-course'] = "Video_course_front_end/learner_video_course_list";
$route['teacher/video-course'] = "Video_course_front_end/teacher_video_course_front_end_list";
$route['user-add-video-course'] = "Video_course_front_end/add_video_course_front_end";

$route['video-course-invite-learners'] = "Video_course_front_end/invite_learners";
$route['view-video'] = "Video_course_front_end/view_video";
$route['add-video'] = "Video_course_front_end/add_video";
$route['view-video-course-section'] = "Video_course_front_end/video_course_section_by_video_course_id";
$route['add-more-video-section'] = "Video_course_front_end/add_more_video_course_section_area";
$route['add-more-single-video'] = "Video_course_front_end/add_more_video";
$route['language-search-information'] = "Video_course_front_end/add_video_course_language_search_information";


/*
 * --------------------------@Video Course Front End Route End --------------------
 */

$route['check-query-result'] = "customize_debug/view_query_result";
// for Database migration-----------------
//$route['make-migration/(.+)'] = "migrate/make_migration/$1";
//$route['migrate-message/(.+)'] = "migrate/message/$1";
//$route['run-migration'] = "migrate/run_migration";
// for Database migration-----------------
$route['(.+)'] = "application/url_function";
//$route['translate_uri_dashes'] = TRUE;




