';
$location_id = $this->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());
$event_color = $this->get_event_color_dot($event);
$start_time = (isset($event->data->time) ? $event->data->time['start'] : '');
$end_time = (isset($event->data->time) ? $event->data->time['end'] : '');
$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' : '';
// colorful
$colorful_bg_color = ($colorful_flag && isset($event->data->meta['mec_color'])) ? ' style="background: #' . esc_attr($event->data->meta['mec_color']) . '"' : '';
// MEC Schema
do_action('mec_schema', $event);
echo '
';
?>
style == 'modern'): ?>
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->dateify($event, $this->date_format_modern_1 .' '. $this->date_format_modern_2)); ?>
'.$this->icons->display('location-pin'). esc_html($location['name']) . '
' : ''); ?>
display_categories($event)); ?>
display_organizers($event)); ?>
get_label_captions($event)); ?>
main->date_i18n($this->date_format_modern_3, strtotime($event->date['start']['date']))); ?>
main->get_flags($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 ); ?>
localtime) echo MEC_kses::full($this->main->module('local-time.type3', array('event' => $event))); ?>
include_events_times and trim($start_time)) echo MEC_kses::element($this->main->display_time($start_time, $end_time)); ?>
display_cost($event)); ?>
main->date_i18n($this->date_format_classic_1, strtotime($event->date['start']['date']))); ?>
localtime) echo MEC_kses::full($this->main->module('local-time.type3', array('event' => $event))); ?>
include_events_times and trim($start_time)) echo MEC_kses::element($this->main->display_time($start_time, $end_time)); ?>
main->dateify($event, $this->date_format_classic_1)); ?>
localtime) echo MEC_kses::full($this->main->module('local-time.type3', array('event' => $event))); ?>
include_events_times and trim($start_time)) echo MEC_kses::element($this->main->display_time($start_time, $end_time)); ?>
main->get_flags($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 ); ?>
get_label_captions($event)); ?>
display_categories($event)); ?>
display_organizers($event)); ?>
display_cost($event)); ?>
display_link($event)); ?>display_custom_data($event)); ?>main->get_flags($event).$event_color); echo MEC_kses::element($this->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')); ?>
localtime) echo MEC_kses::full($this->main->module('local-time.type2', array('event' => $event))); ?>
include_events_times) echo MEC_kses::element($this->main->display_time($start_time, $end_time)); ?>
'.$this->icons->display('location-pin'). esc_html($location['name']) . '
' : ''); ?>
display_categories($event)); ?>
display_organizers($event)); ?>
display_cost($event)); ?>
booking_button($event)); ?>