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 */ use Tutor\Models\CourseModel; /** * Announcement modal * * @since 2.0.0 * * @param string $id modal id. * @param string $title modal title. * @param array $courses courses. * @param object|null $announcement announcement. * * @return void */ function tutor_announcement_modal( $id, $title, $courses, $announcement = null ) { $course_id = $announcement ? $announcement->post_parent : null; $announcment_id = $announcement ? $announcement->ID : null; $announcment_title = $announcement ? $announcement->post_title : ''; $summary = $announcement ? $announcement->post_content : ''; // Assign fallback course id. ( ! $course_id && count( $courses ) ) ? $course_id = $courses[0]->ID : 0; ?>
post_title ); ?>
post_content ); ?>
post_parent ); $date_format = tutor_get_formated_date( get_option( 'date_format' ), $announcement->post_date ); $time_format = tutor_get_formated_date( get_option( 'time_format' ), $announcement->post_date ); $update_modal_id = 'tutor_announcement_' . $announcement->ID; $details_modal_id = $update_modal_id . '_details'; $delete_modal_id = $update_modal_id . '_delete'; $row_id = 'tutor-announcement-tr-' . $announcement->ID; ?>
post_title ); ?>
: post_title : '' ); ?>
post_title ) ? $course->post_title : ''; tutor_announcement_modal( $update_modal_id, __( 'Edit Announcement', 'tutor' ), $courses, $announcement ); tutor_announcement_modal_details( $details_modal_id, $update_modal_id, $delete_modal_id, $announcement, $course_title, $date_format, $time_format ); tutor_announcement_modal_delete( $delete_modal_id, $announcement->ID, $row_id ); ?>
tutor_empty_state( tutor_utils()->not_found_text() ); ?>
get_option( 'pagination_per_page' ); if ( $the_query->found_posts > $limit ) { $pagination_data = array( 'total_items' => $the_query->found_posts, 'per_page' => $limit, 'paged' => $paged, ); $pagination_template = tutor()->path . 'views/elements/pagination.php'; if ( is_admin() ) { tutor_load_template_from_custom_path( $pagination_template, $pagination_data ); } else { $pagination_template_frontend = tutor()->path . 'templates/dashboard/elements/pagination.php'; tutor_load_template_from_custom_path( $pagination_template_frontend, $pagination_data ); } } ?>