Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): Failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php on line 107

Warning: Cannot modify header information - headers already sent by (output started at /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php:1) in /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php on line 234

Warning: Cannot modify header information - headers already sent by (output started at /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php:1) in /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php on line 235

Warning: Cannot modify header information - headers already sent by (output started at /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php:1) in /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php on line 236

Warning: Cannot modify header information - headers already sent by (output started at /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php:1) in /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php on line 237

Warning: Cannot modify header information - headers already sent by (output started at /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php:1) in /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php on line 238

Warning: Cannot modify header information - headers already sent by (output started at /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php:1) in /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php on line 239
* @link https://themeum.com * @since 2.0.0 */ if ( ! defined( 'ABSPATH' ) ) { exit; } use TUTOR\Input; use TUTOR\Instructors_List; $allowed_subpage = array(); if ( Input::has( 'sub_page' ) ) { $sub_page = Input::get( 'sub_page' ); if ( in_array( $sub_page, $allowed, true ) ) { include_once tutor()->path . "views/pages/{$sub_page}.php"; return; } } $instructors = new Instructors_List(); /** * Short able params */ $user_id = Input::get( 'user_id', '' ); $course_id = Input::get( 'course-id', '' ); $data_order = Input::get( 'order', 'DESC' ); $date = Input::get( 'date', '' ); $search_term = Input::get( 'search', '' ); /** * Determine active tab */ $active_tab = Input::get( 'data', 'all' ); /** * Pagination data */ $selected_page = Input::get( 'paged', 1, Input::TYPE_INT ); $per_page_data = tutor_utils()->get_option( 'pagination_per_page' ); $offset = ( $per_page_data * $selected_page ) - $per_page_data; // Available status for instructor. $available_status = array( 'pending' => array( __( 'Pending', 'tutor' ), 'select-warning' ), 'approved' => array( __( 'Approved', 'tutor' ), 'select-success' ), 'blocked' => array( __( 'Blocked', 'tutor' ), 'select-danger' ), ); $instructor_status = array( 'approved', 'pending', 'blocked' ); if ( 'pending' === $active_tab ) { $instructor_status = array( 'pending' ); $available_status['reject'] = array( __( 'Reject', 'tutor' ), 'select-danger' ); } elseif ( 'blocked' === $active_tab ) { $instructor_status = array( 'blocked' ); } elseif ( 'approved' === $active_tab ) { $instructor_status = array( 'approved' ); } $instructors_list = Instructors_List::get_instructors( $instructor_status, $offset, $per_page_data, $search_term, $course_id, $date, $data_order ); $total = Instructors_List::count_total_instructors( $instructor_status, $search_term, $course_id, $date ); /** * Navbar data to make nav menu */ $url = get_pagenum_link(); $add_insructor_url = $url . '&sub_page=add_new_instructor'; $navbar_data = array( 'page_title' => $instructors->page_title, 'tabs' => $instructors->tabs_key_value( $search_term, $course_id, $date ), 'active' => $active_tab, 'add_button' => true, 'button_title' => __( 'Add New', 'tutor' ), 'button_url' => $add_insructor_url, 'modal_target' => 'tutor-instructor-add-new', ); $filters = array( 'bulk_action' => $instructors->bulk_action, 'bulk_actions' => $instructors->prpare_bulk_actions(), 'ajax_action' => 'tutor_instructor_bulk_action', 'filters' => true, 'course_filter' => true, ); ?>
path . 'views/elements/navbar.php'; $filters_template = tutor()->path . 'views/elements/filters.php'; tutor_load_template_from_custom_path( $navbar_template, $navbar_data ); tutor_load_template_from_custom_path( $filters_template, $filters ); ?>
status ? 'warning' : ( 'approved' === $list->status ? 'success' : ( 'blocked' === $list->status ? 'danger' : 'default' ) ) ); $user_data = get_userdata( $list->ID ); ?> ID ); ?>
get_tutor_avatar( $list->ID ), tutor_utils()->allowed_avatar_tags() ); ?> get_user_name( $user_data ) ); ?>
user_email ); ?> ID ); ?>
column_total_course( $list, 'total_course' ) ); ?> get_option( 'earning_instructor_commission' ) . '%'; echo apply_filters( 'tutor_pro_instructor_commission_string', $commision_string, $list->ID ); //phpcs:ignore ?> status ][0] ); ?>
ID, self_admin_url( 'user-edit.php' ) ); ?>
tutor_empty_state( __( 'No instructor found', 'tutor' ) ); ?>
$per_page_data ) { $pagination_data = array( 'total_items' => $total, 'per_page' => $per_page_data, 'paged' => $selected_page, ); $pagination_template = tutor()->path . 'views/elements/pagination.php'; tutor_load_template_from_custom_path( $pagination_template, $pagination_data ); } ?>
get_profile_bio_editor_config( 'tutor_profile_bio' ) ); ?>
instructor_status( $instructor_data->ID, false ); ?>
ID ); ?>
display_name ? $instructor_data->display_name : ( '' !== $instructor_data->user_nicename ? $instructor_data->user_nicename : '' ) ) ); ?>
user_login ); ?>
user_email ); ?>