main->get_styling(); $settings = $this->main->get_settings(); $current_month_divider = isset($_REQUEST['current_month_divider']) ? sanitize_text_field($_REQUEST['current_month_divider']) : 0; $display_label = $this->skin_options['display_label'] ?? false; $reason_for_cancellation = $this->skin_options['reason_for_cancellation'] ?? false; $event_colorskin = (isset($styling['mec_colorskin']) || isset($styling['color'])) ? 'colorskin-custom' : ''; $map_events = []; ?>
events as $date=>$events): ?> month_divider and $month_id != $current_month_divider): $current_month_divider = $month_id; ?>
main->date_i18n('F Y', strtotime($date))); ?>
main->get_master_location_id($event); $location = ($location_id ? $this->main->get_location_data($location_id) : array()); $organizer_id = $this->main->get_master_organizer_id($event); $organizer = ($organizer_id ? $this->main->get_organizer_data($organizer_id) : array()); $start_time = (isset($event->data->time) ? $event->data->time['start'] : ''); $end_time = (isset($event->data->time) ? $event->data->time['end'] : ''); $event_color = $this->get_event_color_dot($event); $event_start_date = !empty($event->date['start']['date']) ? $event->date['start']['date'] : ''; $mec_data = $this->display_custom_data($event); $custom_data_class = !empty($mec_data) ? 'mec-custom-data' : ''; // MEC Schema do_action('mec_schema', $event); ?>
style == 'modern'): ?>
main->is_multipleday_occurrence($event, true)): ?>
main->date_i18n($this->date_format_modern_1, strtotime($event->date['start']['date']))); ?> - main->date_i18n($this->date_format_modern_1, strtotime($event->date['end']['date']))); ?>
main->date_i18n($this->date_format_modern_2, strtotime($event->date['start']['date']))); ?>
main->date_i18n($this->date_format_modern_3, strtotime($event->date['start']['date']))); ?>
main->is_multipleday_occurrence($event)): ?>
main->date_i18n($this->date_format_modern_1, strtotime($event->date['start']['date']))); ?>
main->date_i18n($this->date_format_modern_2, strtotime($event->date['start']['date']))); ?>
main->date_i18n($this->date_format_modern_3, strtotime($event->date['start']['date']))); ?>
main->date_i18n($this->date_format_modern_1, strtotime($event->date['end']['date']))); ?>
main->date_i18n($this->date_format_modern_2, strtotime($event->date['end']['date']))); ?>
main->date_i18n($this->date_format_modern_3, strtotime($event->date['end']['date']))); ?>
main->date_i18n($this->date_format_modern_1, strtotime($event->date['start']['date']))); ?>
main->date_i18n($this->date_format_modern_2, strtotime($event->date['start']['date']))); ?>
main->date_i18n($this->date_format_modern_3, strtotime($event->date['start']['date']))); ?>
main->get_flags($event); ?>

display_link($event)); ?>main->get_normal_labels($event, $display_label).$this->main->display_cancellation_reason($event, $reason_for_cancellation)); ?>display_custom_data($event)); ?>data->ID); ?>get_label_captions($event,'mec-fc-style')); ?>

localtime) echo MEC_kses::full($this->main->module('local-time.type2', array('event' => $event))); ?>
include_events_times and trim($start_time)) echo MEC_kses::element($this->main->display_time($start_time, $end_time)); ?> display_categories($event)); ?> display_organizers($event)); ?> display_cost($event)); ?>
    main->module('links.list', array('event' => $event))); ?>
booking_button($event, 'icon')); ?> display_link($event, ((is_array($event->data->tickets) and count($event->data->tickets) and !strpos($soldout, '%%soldout%%') and !$this->booking_button and !$this->main->is_expired($event)) ? $this->main->m('register_button', esc_html__('REGISTER', 'modern-events-calendar-lite')) : $this->main->m('view_detail', esc_html__('View Detail', 'modern-events-calendar-lite'))), 'mec-booking-button')); ?>
style == 'classic'): ?>
display_link($event, $event->data->thumbnails['thumbnail'])); ?>
icons->display('calendar'); ?> main->date_i18n($this->date_format_classic_1, strtotime($event->date['start']['date']))); ?>
icons->display('calendar'); ?> main->dateify($event, $this->date_format_classic_1)); ?>
include_events_times and trim($start_time)) { echo $this->icons->display('clock'); echo MEC_kses::element($this->main->display_time($start_time, $end_time)); } ?>
get_label_captions($event)); ?> localtime) echo MEC_kses::full($this->main->module('local-time.type2', array('event' => $event))); ?>

display_link($event)); ?>display_custom_data($event)); ?>main->get_flags($event).$event_color.$this->main->get_normal_labels($event, $display_label).$this->main->display_cancellation_reason($event, $reason_for_cancellation)); ?>data->ID ); ?>

icons->display('map-marker'); ?>
display_categories($event)); ?> display_organizers($event)); ?> display_cost($event)); ?> skin_options); ?> booking_button($event)); ?> style == 'minimal'): ?> get_label_captions($event)); ?>
main->is_multipleday_occurrence($event, true)): ?>
main->date_i18n($this->date_format_minimal_1, strtotime($event->date['start']['date']))); ?> - main->date_i18n($this->date_format_minimal_1, strtotime($event->date['end']['date']))); ?> main->date_i18n($this->date_format_minimal_2, strtotime($event->date['start']['date']))); ?>
main->is_multipleday_occurrence($event)): ?>
main->date_i18n($this->date_format_minimal_1, strtotime($event->date['start']['date']))); ?> main->date_i18n($this->date_format_minimal_2, strtotime($event->date['start']['date']))); ?>
main->date_i18n($this->date_format_minimal_1, strtotime($event->date['end']['date']))); ?> main->date_i18n($this->date_format_minimal_2, strtotime($event->date['end']['date']))); ?>
main->date_i18n($this->date_format_minimal_1, strtotime($event->date['start']['date']))); ?> main->date_i18n($this->date_format_minimal_2, strtotime($event->date['start']['date']))); ?>
include_events_times and trim($start_time)) echo MEC_kses::element($this->main->display_time($start_time, $end_time)); ?>

display_link($event)); ?>display_custom_data($event)); ?>main->get_flags($event).$event_color.$this->main->get_normal_labels($event, $display_label).$this->main->display_cancellation_reason($event, $reason_for_cancellation)); ?>data->ID ); ?>

main->date_i18n($this->date_format_minimal_3, strtotime($event->date['start']['date']))); ?>, ' . esc_html($location['name']) .'' : ''); ?>localtime) echo MEC_kses::full($this->main->module('local-time.type2', array('event' => $event))); ?>
display_categories($event)); ?> display_organizers($event)); ?> display_cost($event)); ?> booking_button($event)); ?>
display_link($event, $this->main->m('event_detail', esc_html__('EVENT DETAIL', 'modern-events-calendar-lite')), 'mec-detail-button')); ?>
style == 'standard'): ?> data->post); // Safe Excerpt for UTF-8 Strings if(!trim($excerpt)) { $ex = explode(' ', strip_tags(strip_shortcodes($event->data->post->post_content))); $words = array_slice($ex, 0, 10); $excerpt = implode(' ', $words); if(trim($excerpt)) $excerpt .= ' […]'; } ?>
data->thumbnails['thumblist'])) : ?>
display_link($event, $event->data->thumbnails['thumblist'], '')); ?>
main->get_flags($event); ?> display_status_bar($event)); ?>

display_link($event)); ?>display_custom_data($event)); ?>main->get_normal_labels($event, $display_label).$this->main->display_cancellation_reason($event, $reason_for_cancellation)); ?>data->ID ); ?>

icons->display('calendar'); ?>main->date_i18n($this->date_format_standard_1, strtotime($event->date['start']['date']))); ?> icons->display('calendar'); ?>main->dateify($event, $this->date_format_standard_1)); ?>
get_label_captions($event)); ?> main->display_time($start_time, $end_time, ['display_svg' => true, 'icon' => ($this->icons->has('clock') ? $this->icons->display('clock') : '')])); ?> localtime) echo MEC_kses::full($this->main->module('local-time.type1', array('event' => $event, 'display_svg' => true ))); ?>
icons->has('location-pin') ? $this->icons->display('location-pin') : ''; ?>
display_categories($event)); ?> display_organizers($event)); ?> display_cost($event)); ?>
style == 'accordion'): ?>
toggle_month_divider == '1'): ?>
main->date_i18n($this->date_format_acc_1, strtotime($event->date['start']['date']))); ?>
main->date_i18n($this->date_format_acc_2, strtotime($event->date['start']['date']))); ?>
main->dateify($event, $this->date_format_acc_1.' '.$this->date_format_acc_2)); ?>
main->display_time($start_time, $end_time)); ?>

data->title), $event, $this ); ?>main->get_flags($event).$event_color); ?>

get_label_captions($event,'mec-fc-style')); ?> main->get_normal_labels($event, $display_label).$this->main->display_cancellation_reason($event, $reason_for_cancellation)); ?>data->ID); ?>
style === 'admin'): ?>
main->is_multipleday_occurrence($event, true)): ?>
main->date_i18n($this->date_format_modern_1, strtotime($event->date['start']['date']))); ?> - main->date_i18n($this->date_format_modern_1, strtotime($event->date['end']['date']))); ?>
main->date_i18n($this->date_format_modern_2, strtotime($event->date['start']['date']))); ?>
main->date_i18n($this->date_format_modern_3, strtotime($event->date['start']['date']))); ?>
main->is_multipleday_occurrence($event)): ?>
main->date_i18n($this->date_format_modern_1, strtotime($event->date['start']['date']))); ?>
main->date_i18n($this->date_format_modern_2, strtotime($event->date['start']['date']))); ?>
main->date_i18n($this->date_format_modern_3, strtotime($event->date['start']['date']))); ?>
main->date_i18n($this->date_format_modern_1, strtotime($event->date['end']['date']))); ?>
main->date_i18n($this->date_format_modern_2, strtotime($event->date['end']['date']))); ?>
main->date_i18n($this->date_format_modern_3, strtotime($event->date['end']['date']))); ?>
main->date_i18n($this->date_format_modern_1, strtotime($event->date['start']['date']))); ?>
main->date_i18n($this->date_format_modern_2, strtotime($event->date['start']['date']))); ?>
main->date_i18n($this->date_format_modern_3, strtotime($event->date['start']['date']))); ?>
main->get_flags($event); ?>

data->title, $event); ?> main->get_normal_labels($event, $display_label).$this->main->display_cancellation_reason($event, $reason_for_cancellation)); ?> data->ID); ?> get_label_captions($event,'mec-fc-style')); ?>

include_events_times and trim($start_time)) echo MEC_kses::element($this->main->display_time($start_time, $end_time)); ?> display_categories($event)); ?> display_organizers($event)); ?> display_cost($event)); ?>
date['start']['timestamp']) && current_user_can(current_user_can('administrator') ? 'manage_options' : 'mec_bookings') && $total_attendees = $this->main->get_total_attendees_by_event_occurrence($event->data->ID, $event->date['start']['timestamp'])): ?> ()
map_on_top) and $this->map_on_top and isset($map_events) and !empty($map_events)) { // Include Map Assets such as JS and CSS libraries $this->main->load_map_assets(); // It changing geolocation focus, because after done filtering, if it doesn't. then the map position will not set correctly. if((isset($_REQUEST['action']) and sanitize_text_field($_REQUEST['action']) == 'mec_list_load_more') and isset($_REQUEST['sf'])) $this->geolocation_focus = true; $map_javascript = ''; $map_javascript = apply_filters('mec_map_load_script', $map_javascript, $this, $settings); // Include javascript code into the page if($this->main->is_ajax()) echo MEC_kses::full($map_javascript); else $this->factory->params('footer', $map_javascript); }