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\Ecommerce\CouponController; use Tutor\Ecommerce\OptionKeys; use Tutor\Ecommerce\Settings; use TUTOR\Input; /** * Determine active tab */ $active_tab = Input::get( 'data', 'all' ); /** * Pagination data */ $paged_filter = Input::get( 'paged', 1, Input::TYPE_INT ); $limit = (int) tutor_utils()->get_option( 'pagination_per_page', 10 ); $offset = ( $limit * $paged_filter ) - $limit; $coupon_controller = new CouponController(); $get_coupons = $coupon_controller->get_coupons( $limit, $offset ); $coupons = $get_coupons['results']; $total_items = $get_coupons['total_count']; /** * Navbar data to make nav menu */ $page_slug = $coupon_controller::PAGE_SLUG; $coupon_page_url = $coupon_controller::get_coupon_page_url(); $navbar_data = array( 'page_title' => $coupon_controller->page_title, 'tabs' => $coupon_controller->tabs_key_value(), 'active' => $active_tab, 'add_button' => true, 'button_title' => __( 'Add New', 'tutor' ), 'button_url' => $coupon_controller::get_coupon_page_url() . '&action=add_new', ); /** * Bulk action & filters */ $filters = array( 'bulk_action' => $coupon_controller->bulk_action, 'bulk_actions' => $coupon_controller->prepare_bulk_actions(), 'ajax_action' => 'tutor_coupon_bulk_action', 'filters' => 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 ); $currency_symbol = Settings::get_currency_symbol_by_code( tutor_utils()->get_option( OptionKeys::CURRENCY_CODE, 'USD' ) ); ?>
$coupon ) : ?>
coupon_title ); ?>
discount_type ? $currency_symbol . $coupon->discount_amount : $coupon->discount_amount . '%' ); ?>
discount_type ? __( 'Amount', 'tutor' ) : __( 'Percent', 'tutor' ) ); ?>
coupon_type ? __( 'Automatic', 'tutor' ) : $coupon->coupon_code ); ?>
translate_dynamic_text( $coupon->coupon_status, true ) ); ?> usage_count ); ?>
tutor_empty_state( tutor_utils()->not_found_text() ); ?>
$limit ) { $pagination_data = array( 'total_items' => $total_items, 'per_page' => $limit, 'paged' => $paged_filter, ); $pagination_template = tutor()->path . 'views/elements/pagination.php'; tutor_load_template_from_custom_path( $pagination_template, $pagination_data ); } ?>
path . 'views/elements/common-confirm-popup.php', array( 'message' => __( 'Deletion of the course will erase all its topics, lessons, quizzes, events, and other information. Please confirm your choice.', 'tutor' ), ) );