get_render_path(); $styling = $this->main->get_styling(); $dark_mode = $styling['dark_mode'] ?? ''; if($dark_mode == 1) $set_dark = 'mec-dark-mode'; else $set_dark = ''; ob_start(); include $render_path; $items_html = ob_get_clean(); if(isset($this->atts['return_items']) and $this->atts['return_items']) { echo json_encode(array('html' => $items_html, 'end_date' => $this->end_date, 'offset' => $this->next_offset, 'count' => $this->found, 'has_more_event' => (int) $this->has_more_events)); exit; } $sed_method = $this->sed_method; if($sed_method == 'new') $sed_method = '0'; // Generating javascript code tpl $javascript = ''; // Include javascript code into the page if($this->main->is_ajax() or $this->main->preview()) echo MEC_kses::full($javascript); else $this->factory->params('footer', $javascript); do_action('mec_start_skin', $this->id); do_action('mec_grid_skin_head'); ?>
sf_status) echo MEC_kses::full($this->sf_search_form()); ?> found): ?> map_on_top == '1'): ?>
settings['default_maps_view'])?$this->settings['default_maps_view']:'google'; do_action('mec_map_inner_element_tools', array('map' => $map)); ?>
main->display_not_found_message(); ?>
main->display_not_found_message(); ?>
get_pagination_bar(); ?>
display_credit_url();