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\Announcements; $announcement_obj = new Announcements(); $limit = tutor_utils()->get_option( 'pagination_per_page' ); $page_filter = Input::get( 'paged', 1, Input::TYPE_INT ); $order_filter = Input::get( 'order', 'DESC' ); $search_filter = Input::get( 'search', '' ); $course_id = Input::get( 'course-id', 0, Input::TYPE_INT ); $date_filter = Input::get( 'date', '' ); $year = date( 'Y', strtotime( $date_filter ) ); $month = date( 'm', strtotime( $date_filter ) ); $day = date( 'd', strtotime( $date_filter ) ); $args = array( 'post_type' => 'tutor_announcements', 'post_status' => 'publish', 's' => $search_filter, 'posts_per_page' => sanitize_text_field( $limit ), 'paged' => sanitize_text_field( $page_filter ), 'orderBy' => 'ID', 'order' => sanitize_text_field( $order_filter ), ); if ( $course_id ) { $args['post_parent'] = $course_id; } if ( ! empty( $date_filter ) ) { $args['date_query'] = array( array( 'year' => $year, 'month' => $month, 'day' => $day, ), ); } if ( ! current_user_can( 'administrator' ) ) { $args['author'] = get_current_user_id(); } $the_query = new WP_Query( $args ); /** * Navbar data to make nav menu */ $navbar_data = array( 'page_title' => $announcement_obj->page_title, ); /** * Filters for sorting searching */ $filters = array( 'bulk_action' => $announcement_obj->bulk_action, 'bulk_actions' => $announcement_obj->prepare_bulk_actions(), 'ajax_action' => 'tutor_announcement_bulk_action', 'filters' => true, 'course_filter' => true, ); ?>
path . 'views/elements/filters.php'; $navbar_template = tutor()->path . 'views/elements/navbar.php'; tutor_load_template_from_custom_path( $navbar_template, $navbar_data ); ?>
have_posts() ? $the_query->posts : array(); $announcement_template = tutor()->path . '/views/fragments/announcement-list.php'; tutor_load_template_from_custom_path( $announcement_template, array( 'announcements' => is_array( $announcements ) ? $announcements : array(), 'the_query' => $the_query, 'paged' => $page_filter, ) ); ?>