get_render_path(); // Generate Events ob_start(); include $render_path; $date_events = ob_get_clean(); // Return the data if called by AJAX if(isset($this->atts['return_items']) and $this->atts['return_items']) { echo json_encode(array( 'date_events' => $date_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); $styling = $this->main->get_styling(); $event_colorskin = (isset($styling['mec_colorskin']) || isset($styling['color'])) ? 'colorskin-custom' : ''; ?>
sf_status) echo MEC_kses::full($this->sf_search_form()); ?>