Файловый менеджер - Редактировать - /home/tuudkjt/globeasy/wp-includes/ID3/ova-events.zip
Назад
PK �-]bȈZ Z templates/loop/excerpt.phpnu ��� <?php if ( !defined( 'ABSPATH' ) ) exit(); if( isset( $args['id'] ) ){ $id = $args['id']; }else{ $id = get_the_id(); } $excerpt = get_the_excerpt($id); $excerpt = wp_trim_words($excerpt,10); ?> <?php if($excerpt && !empty($excerpt)) : ?> <p class="event-excerpt"> <?php echo esc_html($excerpt);?> </p> <?php endif; ?>PK �-]�Ŕ�> > # templates/loop/highlight_date_1.phpnu ��� <?php if ( !defined( 'ABSPATH' ) ) exit(); if( isset( $args['id'] ) ){ $id = $args['id']; }else{ $id = get_the_id(); } $ovaev_start_date = get_post_meta( $id, 'ovaev_start_date_time', true ); $date_event = $ovaev_start_date != '' ? date_i18n('d', $ovaev_start_date ) : ''; $month_event_M = $ovaev_start_date != '' ? date_i18n('M', $ovaev_start_date ) : ''; if( $ovaev_start_date != '' ){ ?> <div class="date-event"> <span class="date"><?php echo esc_html($date_event);?></span> <span class="month"><?php echo esc_html($month_event_M);?></span> </div> <?php } ?>PK �-]YX(. . templates/loop/thumbnail.phpnu ��� <?php if ( !defined( 'ABSPATH' ) ) exit(); if( isset( $args['id'] ) ){ $id = $args['id']; }else{ $id = get_the_id(); } ?> <div class="event-thumbnail-v2"> <a href="<?php echo get_the_permalink( $id ); ?>"> <?php echo get_the_post_thumbnail( $id, 'ovaev_event_thumbnail' ); ?> </a> </div>PK �-]�#�_+ + ! templates/loop/thumbnail_grid.phpnu ��� <?php if ( !defined( 'ABSPATH' ) ) exit(); if( isset( $args['id'] ) ){ $id = $args['id']; }else{ $id = get_the_id(); } ?> <div class="event-thumbnail"> <a href="<?php echo get_the_permalink( $id ); ?>"> <?php echo get_the_post_thumbnail( $id, 'ovaev_event_thumbnail' ); ?> </a> </div>PK �-]+a�� � ! templates/loop/thumbnail_list.phpnu ��� <?php if ( !defined( 'ABSPATH' ) ) exit(); if( isset( $args['id'] ) ){ $id = $args['id']; }else{ $id = get_the_id(); } $url_img = get_the_post_thumbnail_url( $id, 'post-thumbnail' ); ?> <div class="event-thumbnail" style="background-image: url(<?php echo esc_url($url_img);?>);"> <a href="<?php echo the_permalink();?>"> <?php echo get_the_post_thumbnail( $id, 'ovaev_event_thumbnail' ); ?> </a> </div>PK �-]�{��* * # templates/loop/highlight_date_2.phpnu ��� <?php if ( !defined( 'ABSPATH' ) ) exit(); if( isset( $args['id'] ) ){ $id = $args['id']; }else{ $id = get_the_id(); } $ovaev_start_date = get_post_meta( $id, 'ovaev_start_date_time', true ); $date_event = $ovaev_start_date != '' ? date_i18n('d', $ovaev_start_date ) : ''; $month_event_M = $ovaev_start_date != '' ? date_i18n('M', $ovaev_start_date ) : ''; $year_event = $ovaev_start_date != '' ? date_i18n('Y', $ovaev_start_date ) : ''; if( $ovaev_start_date != '' ){ ?> <div class="date-event"> <span class="date second_font"> <?php echo esc_html($date_event);?> </span> <span class="month-year second_font"> <span class="month"> <?php echo esc_html($month_event_M);?> </span> <span class="year"> <?php echo esc_html($year_event);?> </span> </span> </div> <?php } ?>PK �-]�� templates/loop/date_event.phpnu ��� <?php if ( !defined( 'ABSPATH' ) ) exit(); if ( isset( $args['id'] ) ) { $id = $args['id']; } else { $id = get_the_id(); } // Date format $date_format = apply_filters( 'ovaev_date_event_format', get_option('date_format') ); // Time format $time_format = OVAEV_Settings::archive_event_format_time(); // Start date $ovaev_start_date = get_post_meta( $id, 'ovaev_start_date_time', true ); $start_date = $ovaev_start_date != '' ? date_i18n( $date_format, $ovaev_start_date ) : ''; // Start time $ovaev_start_time = get_post_meta( $id, 'ovaev_start_time', true ); $start_time = $ovaev_start_time ? date( $time_format, strtotime($ovaev_start_time) ) : ''; // End date $ovaev_end_date = get_post_meta( $id, 'ovaev_end_date_time', true ); $end_date = $ovaev_end_date != '' ? date_i18n( $date_format, $ovaev_end_date) : ''; // End time $ovaev_end_time = get_post_meta( $id, 'ovaev_end_time', true ); $end_time = $ovaev_end_time ? date( $time_format, strtotime($ovaev_end_time) ) : ''; ?> <div class="time equal-date"> <i class="icomoon icomoon-clock"></i> <?php if( $start_date == $end_date && $start_date != '' ){ ?> <span class="time-date-child"> <span class="date-child"> <?php echo esc_html( $start_time ).' - '.$end_time; ?> </span> </span> <?php }else{ ?> <span class="time-date-child"> <span class="date-child"> <?php echo esc_html( $start_date ) .' '. esc_html__( '@', 'ovaev' ); ?> </span> <span> <?php echo esc_html( $start_time ); ?></span> <?php if( apply_filters( 'ovaev_show_more_date_text', true ) ){ ?> <a href="<?php the_permalink() ?> " class="more_date_text" data-id="<?php echo get_the_id(); ?>"> <span><?php esc_html_e( ', more', 'ovaev' ); ?></span> </a> <?php } ?> </span> <?php } ?> </div> PK �-]��� templates/loop/title.phpnu ��� <?php if ( !defined( 'ABSPATH' ) ) exit(); if( isset( $args['id'] ) ){ $id = $args['id']; }else{ $id = get_the_id(); } ?> <a href="<?php echo get_the_permalink( $id );?>"> <h2 class="second_font event_title"> <?php echo get_the_title( $id ); ?> </h2> </a>PK �-]�U��s s templates/loop/readmore.phpnu ��� <?php if ( !defined( 'ABSPATH' ) ) exit(); if( isset( $args['id'] ) ){ $id = $args['id']; }else{ $id = get_the_id(); } ?> <div class="event-readmore"> <a href="<?php echo get_the_permalink( $id ) ?>" class="readmore second_font"> <?php echo esc_html_e( 'Event details', 'ovaev' ) ?> <i aria-hidden="true" class="icomoon icomoon-arrow-right"></i> </a> </div>PK �-]U�?/ # templates/loop/highlight_date_3.phpnu ��� <?php if ( !defined( 'ABSPATH' ) ) exit(); if( isset( $args['id'] ) ){ $id = $args['id']; }else{ $id = get_the_id(); } $ovaev_start_date = get_post_meta( $id, 'ovaev_start_date_time', true ); $date_event = $ovaev_start_date != '' ? date_i18n('d', $ovaev_start_date ) : ''; $month_event_F = $ovaev_start_date != '' ? date_i18n('F', $ovaev_start_date ) : ''; $week_day = $ovaev_start_date != '' ? date_i18n('l', $ovaev_start_date ) : ''; if( $ovaev_start_date != '' ){ ?> <div class="date-event"> <span class="date-month second_font"> <?php echo esc_html($date_event);?> <span class="month second_font"><?php echo esc_html($month_event_F);?></span> </span> <span class="weekday second_font"><?php echo esc_html($week_day);?></span> </div> <?php } ?>PK �-]Pn7j2 2 templates/loop/type.phpnu ��� <?php if ( !defined( 'ABSPATH' ) ) exit(); if( isset( $args['id'] ) ){ $id = $args['id']; }else{ $id = get_the_id(); } $event_type = get_the_terms( $id, 'event_category') ? get_the_terms( $id, 'event_category') : '' ; $value_event_type = array(); if ( $event_type != '' ) { foreach ( $event_type as $value ) { $value_event_type[] = '<a class="event_type" href="'.get_term_link($value->term_id).'">' .$value->name. '</a>' ; } } if( $value_event_type ){ ?> <div class="post_cat"> <?php echo implode(', ', $value_event_type); ?> </div> <?php } ?>PK �-]3騏 � templates/loop/venue.phpnu ��� <?php if ( !defined( 'ABSPATH' ) ) exit(); if( isset( $args['id'] ) ){ $id = $args['id']; }else{ $id = get_the_id(); } $ovaev_venue = get_post_meta( $id, 'ovaev_venue', true ); ?> <?php if( ! empty( $ovaev_venue ) ) { ?> <div class="venue"> <i class="icomoon icomoon-location"></i> <span class="number"> <?php echo esc_html( $ovaev_venue ); ?> </span> </div> <?php } ?>PK �-]�� / / templates/loop/readmore2.phpnu ��� <?php if ( !defined( 'ABSPATH' ) ) exit(); if( isset( $args['id'] ) ){ $id = $args['id']; }else{ $id = get_the_id(); } ?> <div class="button_event"> <a class="view_detail second_font" href="<?php echo get_the_permalink( $id ); ?>"> <?php esc_html_e( 'Event details', 'ovaev' );?> </a> </div>PK �-]v��> > templates/archive-event.phpnu ��� <?php if ( !defined( 'ABSPATH' ) ) exit(); get_header(); $event_type_temp = isset( $_GET['event_type_temp'] ) ? $_GET['event_type_temp'] : OVAEV_Settings::archive_event_type(); $event_col = isset( $_GET['col'] ) ? $_GET['col'] : OVAEV_Settings::archive_event_col(); ?> <div class="container-event"> <div class="content-event archive-event-page"> <!-- search form --> <?php do_action( 'ovaev_search_form' ); ?> <!-- end search form --> <div class="archive_event <?php echo $event_col; ?>"> <?php if( have_posts() ) : while ( have_posts() ) : the_post(); ?> <?php ovaev_get_template( 'event-templates/event-'.$event_type_temp.'.php' ); ?> <?php endwhile; else: ?> <div class="search_not_found"> <?php esc_html_e( 'Not Found Events', 'ovaev' ); ?> </div> <?php endif; wp_reset_postdata(); ?> </div> <?php global $wp_query; if ( $wp_query->max_num_pages > 1 ) { ?> <div class="search-ajax-pagination events_pagination"> <?php echo paginate_links( apply_filters( 'el_pagination_args', array( 'base' => esc_url_raw( str_replace( 999999999, '%#%', get_pagenum_link( 999999999, false ) ) ), 'format' => '', 'add_args' => '', 'current' => max( 1, get_query_var( 'paged' ) ), 'total' => $wp_query->max_num_pages, 'prev_text' => __( 'Previous', 'ovaev' ), 'next_text' => __( 'Next', 'ovaev' ), 'type' => 'list', 'end_size' => 3, 'mid_size' => 3 ) ) ); ?> </div> <?php } ?> </div> </div> <?php get_footer();PK �-]l��RF F templates/single-event.phpnu ��� <?php if ( !defined( 'ABSPATH' ) ) exit(); get_header( ); $id = get_the_ID(); $date_format = OVAEV_Settings::archive_event_format_date(); $time = OVAEV_Settings::archive_event_format_time(); $event_template = get_post_meta( $id, 'event_template', true ) ? get_post_meta( $id, 'event_template', true ) : 'global' ; $template = OVAEV_Settings::ovaev_get_template_single(); $gallery = get_post_meta( $id, 'ovaev_gallery_id', true); // Basic $start_date = get_post_meta( $id, 'ovaev_start_date', true ); $location = get_post_meta( $id, 'ovaev_venue', true ); $booking_links = get_post_meta( $id, 'ovaev_booking_links', true ) ? get_post_meta( $id, 'ovaev_booking_links', true ) : '' ; // Contact Infomation $name = get_post_meta( $id, 'ovaev_organizer', true); $phone = get_post_meta( $id, 'ovaev_phone', true); $email = get_post_meta( $id, 'ovaev_email', true); $website = get_post_meta( $id, 'ovaev_website', true); ?> <?php if ( 'default' != $template ): ?> <?php if ( 'global' != $event_template ): ?> <?php echo Elementor\Plugin::instance()->frontend->get_builder_content_for_display( $event_template ); ?> <?php else: ?> <?php echo Elementor\Plugin::instance()->frontend->get_builder_content_for_display( $template ); ?> <?php endif; ?> <?php else: ?> <?php if ( 'global' != $event_template ): ?> <?php echo Elementor\Plugin::instance()->frontend->get_builder_content_for_display( $event_template ); ?> <?php else: ?> <div class="single_event"> <div class="container-event"> <div class="content-event"> <div class="event_intro"> <div class="wrap-info"> <?php /** * action oavev_single_time_loc * Hooked oavev_single_time_loc_date_time * Hooked oavev_single_time_loc_location */ do_action( 'oavev_single_time_loc' ); do_action( 'oavev_single_type' ); ?> </div> <?php do_action( 'ovaev_single_title' ); ?> <?php do_action( 'oavev_single_thumbnail' ); ?> <!-- Content --> <div class="content"> <?php if( have_posts() ) : while( have_posts() ) : the_post(); the_content(); ?> <?php endwhile; endif; wp_reset_postdata(); ?> </div> <div class="event_tags_share"> <?php do_action( 'oavev_single_tags' ); ?> </div> <?php if( comments_open( get_the_ID() ) ) { comments_template(); } ?> </div> <?php if($booking_links != '' || $location != '' || $start_date || $name != '' || $phone != '' || $email != '' || $website != '' || $gallery != '' ) : ?> <div class="intro_bar"> <?php if( $booking_links != '' || $location != '' || $start_date != '' || $name != '' || $phone != '' || $email != '' || $website != '' ) : ?> <div class="event_bar has-background"> <h3 class="bar-title"> <?php esc_html_e('Event Information','ovaev');?> </h3> <ul class="info-contact"> <?php if ( $start_date != '' ): ?> <li> <span><?php esc_html_e('Start date:','ovaev'); ?></span> <span class="info"><?php echo esc_html( $start_date ); ?></span> </li> <?php endif; ?> <?php if ( $location != '' ): ?> <li> <span><?php esc_html_e('Location:','ovaev'); ?></span> <span class="info"><?php echo esc_html( $location ); ?></span> </li> <?php endif; ?> <?php if ( $name != '' ): ?> <li> <span><?php esc_html_e('Organizer Name:','ovaev'); ?></span> <span class="info"><?php echo esc_html( $name ); ?></span> </li> <?php endif; ?> <?php if ( $phone != ''): ?> <li> <span><?php esc_html_e('Phone:','ovaev'); ?></span> <a href="tel:<?php echo esc_attr( $phone ); ?>" class="info"><?php echo esc_html( $phone ); ?></a> </li> <?php endif; ?> <?php if ( $email != ''): ?> <li> <span><?php esc_html_e('Email:','ovaev'); ?></span> <a href="mailto:<?php echo esc_attr( $email ); ?>" class="info"><?php echo esc_html( $email ); ?></a> </li> <?php endif; ?> <?php if ( $website != ''): ?> <li> <span><?php esc_html_e('Website:','ovaev'); ?></span> <a href="<?php echo esc_url( $website ); ?>" class="info" target="_blank"><?php echo esc_html( $website ); ?></a> </li> <?php endif; ?> <?php if ( $booking_links != ''): ?> <a href="<?php echo esc_html( $booking_links ); ?>" target="_blank" class="single-event-button"> <?php esc_html_e('Booking Now','ovaev'); ?> </a> <?php endif; ?> </ul> </div> <?php endif; ?> <?php if ( $gallery != '' ): ?> <div class="event_bar"> <h3 class="bar-title"> <?php esc_html_e('Gallery','ovaev');?> </h3> <div class="event_col-3"> <?php foreach ( $gallery as $items ): ?> <div class="gallery-items"> <?php $img_url = wp_get_attachment_image_url( $items, 'large' );?> <a href="<?php echo esc_url( $img_url ); ?>" data-gal="prettyPhoto[gal]"> <img src="<?php echo esc_url( $img_url ); ?>" alt="<?php echo get_the_title(); ?>" /> <span class="overlay"> <i aria-hidden="true" class="icomoon icomoon-plus"></i> </span> </a> </div> <?php endforeach; ?> </div> </div> <?php endif; ?> </div> <?php endif; ?> </div> </div> <!-- Related --> <div class="event-related-container"> <h2 class="related-event-title"> <?php esc_html_e( 'Explore Related Events', 'ovaev' ) ?> </h2> <?php do_action( 'oavev_single_related' ); ?> </div> </div> <?php endif; ?> <?php endif; ?> <?php get_footer();PK �-]���� � 0 templates/elements/ovaev_events_ajax_content.phpnu ��� <?php //data event $data_event = $args['data_posts']; $data_carousel = $args['data_carousel']; $settings = $args['settings']; $layout = $settings['layout'] ? $settings['layout'] : 1; ?> <?php if( !empty($data_event) ): ?> <div class="ovapo_project_grid full_width"> <?php if ($settings['show_filter'] == 'yes') { ?> <div class="button-filter container"> <?php if ($settings['show_all'] == 'yes') { ?> <button data-filter="<?php echo esc_attr( 'all' ); ?>" data-order="<?php echo esc_attr($settings['order_post']); ?>" data-orderby="<?php echo esc_attr($settings['orderby_post']); ?>" data-first_term="<?php echo esc_attr($settings['first_term']); ?>" data-term_id_filter_string="<?php echo esc_attr($settings['term_id_filter_string']); ?>" data-number_post="<?php echo esc_attr($settings['number_post']); ?>" data-layout='<?php echo esc_attr($layout); ?>' data-show_featured="<?php echo esc_attr($settings['show_featured']); ?>" class="second_font" > <?php esc_html_e( 'All', 'ovaev' ); ?> </button> <?php } ?> <?php if ( count( $settings['terms'] ) > 0 ){ foreach ( $settings['terms'] as $term ) { ?> <button data-filter="<?php echo esc_attr($term->term_id); ?>" data-order="<?php echo esc_attr($settings['order_post']); ?>" data-orderby="<?php echo esc_attr($settings['orderby_post']); ?>" data-first_term="<?php echo esc_attr($settings['first_term']); ?>" data-term_id_filter_string="<?php echo esc_attr($settings['term_id_filter_string']); ?>" data-number_post="<?php echo esc_attr($settings['number_post']); ?>" data-layout='<?php echo esc_attr($layout); ?>' data-show_featured="<?php echo esc_attr($settings['show_featured']); ?>" class="second_font"> <?php esc_html_e( $term->name, 'ovaev' ); ?> </button> <?php } } ?> </div> <?php } ?> <div class="content ovapo_project_slide"> <div class="items grid owl-carousel" data-owl="<?php echo esc_attr(json_encode( $data_carousel )); ?>"> <?php if( $data_event->have_posts() ) : while( $data_event->have_posts() ) : $data_event->the_post(); $id = get_the_ID(); $ovapo_cat = get_the_terms( $id, 'event_category' ); $cat_name = array(); if ($ovapo_cat != '') { foreach ($ovapo_cat as $key => $value) { $cat_name[] = $value->name; } } $category_name = join(', ', $cat_name); switch ($layout) { case '1': ovaev_get_template( 'event-templates/event-type1.php' ); break; case '2': ovaev_get_template( 'event-templates/event-type3.php' ); break; default: ovaev_get_template( 'event-templates/event-type1.php' ); } ?> <?php endwhile; endif; wp_reset_postdata(); ?> </div> <div class="title-readmore"> <?php if( $settings['show_read_more'] == 'yes' ){ ?> <div class="btn_grid" > <a href="<?php echo get_post_type_archive_link('event') ?>" class="read-more second_font btn_grid_event"> <?php echo esc_html( $settings['text_read_more'] ) ?> </a> </div> <?php } ?> </div> <div class="wrap_loader"> <svg class="loader" width="50" height="50"> <circle cx="25" cy="25" r="10" stroke="#a1a1a1"/> <circle cx="25" cy="25" r="20" stroke="#a1a1a1"/> </svg> </div> </div> </div> <?php else : ?> <div class="search_not_found"> <?php esc_html_e( 'Not Found Event', 'ovaev' ); ?> </div> <?php endif;PK �-]����� � ) templates/elements/ovaev_ajax_content.phpnu ��� <?php if ( !defined( 'ABSPATH' ) ) exit(); $id = get_the_id(); ?> <div class="ovaev-content"> <div class="item"> <!-- Display Highlight Date 2 --> <?php do_action( 'ovaev_loop_highlight_date_1', $id ); ?> <div class="desc"> <!-- Thumbnail --> <?php do_action( 'ovaev_loop_thumbnail_list', $id ); ?> <div class="event_post"> <!-- Tille --> <?php do_action( 'ovaev_loop_title', $id ); ?> <div class="time-event"> <!-- Date --> <?php do_action( 'ovaev_loop_date_event', $id ); ?> <!-- Tille --> <?php do_action( 'ovaev_loop_venue', $id ); ?> </div> </div> </div> </div> </div>PK �-](% ) ) ) templates/elements/ovaev_events_slide.phpnu ��� <?php $data_options['items'] = (int)$args['item_number']; $data_options['slideBy'] = (int)$args['slides_to_scroll']; $data_options['margin'] = (int)$args['margin_items']; $data_options['autoplayHoverPause'] = $args['pause_on_hover'] === 'yes' ? true : false; $data_options['loop'] = $args['infinite'] === 'yes' ? true : false; $data_options['autoplay'] = $args['autoplay'] === 'yes' ? true : false; $data_options['autoplayTimeout'] = (int)$args['autoplay_speed']; $data_options['smartSpeed'] = (int)$args['smartspeed']; $data_options['dots'] = $args['dot_control'] === 'yes' ? true : false; $data_options['nav'] = $args['nav_control'] === 'yes' ? true : false; $term = get_term_by('name', $args['category'], 'event_category'); $term_link = get_term_link( $term ); $layout = $args['layout']; $events = ovaev_get_events_elements( $args ); ?> <div class="ovaev-event-element ovaev-event-slide" > <div class="wp-content ovaev-slide owl-carousel" data-options="<?php echo esc_attr(json_encode($data_options)) ?>"> <?php if( $events->have_posts() ) : while( $events->have_posts() ) : $events->the_post(); switch ($layout) { case '1': ovaev_get_template( 'event-templates/event-type1.php' ); break; case '2': ovaev_get_template( 'event-templates/event-type3.php' ); break; default: ovaev_get_template( 'event-templates/event-type1.php' ); } endwhile; endif; wp_reset_postdata(); ?> </div> </div>PK �-]č�� # templates/elements/ovaev_events.phpnu ��� <?php $version = $args['version']; $column = $args['column']; $column_temp = $args['column_template']; $type_event = $args['type_event']; $term = get_term_by('name', $args['category'], 'event_category'); $term_link = get_term_link( $term ); $events = ovaev_get_events_elements( $args ); ?> <div class="ovaev-event-element <?php echo esc_attr( $version ) ?>" > <?php if ( $version == 'version_1' ) { if( $events->have_posts() ) : while( $events->have_posts() ) : $events->the_post(); echo ovaev_get_template( 'elements/__content_list.php' ); endwhile; endif; wp_reset_postdata(); } elseif( $version == 'version_2' ) { ?> <div class="wp-content <?php echo esc_attr( $column ); ?>"> <?php if( $events->have_posts() ) : while( $events->have_posts() ) : $events->the_post(); ovaev_get_template( 'event-templates/event-type2.php' ); endwhile; endif; wp_reset_postdata(); ?> </div> <?php } else { ?> <div class="container-event"> <div id="main-event" class="content-event"> <div class="archive_event <?php echo esc_attr( $column_temp ); ?>"> <?php if( $events->have_posts() ) : while( $events->have_posts() ) : $events->the_post(); ?> <?php ovaev_get_template( 'event-templates/event-'.$type_event.'.php' ); ?> <?php endwhile; else: ?> <div class="search_not_found"> <?php esc_html_e( 'Not Found Events', 'ovaev' ); ?> </div> <?php endif; wp_reset_postdata(); ?> </div> </div> </div> <?php } ?> </div>PK �-]bY� � ) templates/elements/ovaev_event_button.phpnu ��� <?php if ( !defined( 'ABSPATH' ) ) exit(); $id = get_the_id(); $target = $args['target'] ? ' target="_blank"' : ''; $booking_url = get_post_meta( $id, 'ovaev_booking_links', true ); ?> <?php if ( $booking_url ): ?> <div class="ovaev-booking-btn"> <a href="<?php echo esc_url( $booking_url ); ?>"<?php echo esc_attr( $target ); ?>> <?php esc_html_e( 'Booking Now', 'ovaev' ); ?> </a> </div> <?php endif; ?>PK �-]x�� � / templates/elements/ovaev_events_search_ajax.phpnu ��� <?php if ( !defined( 'ABSPATH' ) ) exit(); $lang = OVAEV_Settings::archive_format_date_lang(); $date_format = OVAEV_Settings::archive_event_format_date(); $time_format = OVAEV_Settings::archive_event_format_time(); $settings = $args['settings']; $events = $args['events']; $layout = $settings['layout']; $column = $settings['column']; $posts_per_page = $settings['posts_per_page']; $order = $settings['order']; $orderby = $settings['order_by']; $category_slug = $settings['category']; $time_event = $settings['time_event']; $total_pages = $events->max_num_pages; $current = 1; $first_day = apply_filters( 'ovaev_calendar_first_day' , get_option( 'start_of_week' ) ); ?> <div class="ovaev-wrapper-search-ajax"> <!-- Search Form --> <div class="ovaev-search-ajax-form search_archive_event"> <form action="<?php echo esc_url(get_post_type_archive_link( 'event' )); ?>" method="POST" name="search_ajax_event" autocomplete="off"> <div class="start_date"> <input type="text" id="ovaev_start_date_search" class="ovaev_start_date_search" data-lang="<?php echo esc_attr($lang); ?>" data-date="<?php echo esc_attr($date_format); ?>" data-time="<?php echo esc_attr($time_format); ?>" data-first-day="<?php echo esc_attr( $first_day ); ?>" placeholder="<?php echo esc_attr__( 'Choose Date', 'ovaev' ); ?>" name="ovaev_start_date_search" value="" /> <i class="far fa-calendar-alt"></i> </div> <div class="end_date"> <input type="text" id="ovaev_end_date_search" class="ovaev_end_date_search" data-lang="<?php echo esc_attr($lang); ?>" data-date="<?php echo esc_attr($date_format); ?>" data-first-day="<?php echo esc_attr( $first_day ); ?>" placeholder="<?php echo esc_attr__( 'Choose Date', 'ovaev' ); ?>" name="ovaev_end_date_search" value="" /> <i class="far fa-calendar-alt"></i> </div> <div class="ovaev_cat_search"> <?php $dropdown = apply_filters( 'OVAEV_event_type', '' ); ?> <i class="arrow_carrot-down "></i> </div> </form> </div> <!-- End Search Form --> <!-- Events --> <div class="ovaev-search-ajax-container"> <div class="search-ajax-content"> <div class="archive_event ovaev-search-ajax-events<?php echo ' '.esc_attr( $column );?>"> <?php if( $events->have_posts() ) : while( $events->have_posts() ) : $events->the_post(); switch ($layout) { case '1': ovaev_get_template( 'event-templates/event-type1.php' ); break; case '2': ovaev_get_template( 'event-templates/event-type2.php' ); break; case '3': ovaev_get_template( 'event-templates/event-type3.php' ); break; case '4': ovaev_get_template( 'event-templates/event-type4.php' ); break; case '5': ovaev_get_template( 'event-templates/event-type5.php' ); break; case '6': ovaev_get_template( 'event-templates/event-type6.php' ); break; default: ovaev_get_template( 'event-templates/event-type1.php' ); } ?> <?php endwhile; else: wp_reset_postdata(); ?> <div class="search_not_found"> <?php esc_html_e( 'Not Found Events', 'ovaev' ); ?> </div> <?php endif; wp_reset_postdata(); ?> </div> <div class="data-events" data-layout="<?php echo esc_attr( $layout ); ?>" data-column="<?php echo esc_attr( $column ); ?>" data-per-page="<?php echo esc_attr( $posts_per_page ); ?>" data-order="<?php echo esc_attr( $order ); ?>" data-orderby="<?php echo esc_attr( $orderby ); ?>" data-category-slug="<?php echo esc_attr( $category_slug ); ?>" data-time-event="<?php echo esc_attr( $time_event ); ?>"> </div> </div> <!-- Loader --> <div class="wrap_loader"> <svg class="loader" width="50" height="50"> <circle cx="25" cy="25" r="10" stroke="#a1a1a1"/> <circle cx="25" cy="25" r="20" stroke="#a1a1a1"/> </svg> </div> <!-- End Loader --> </div> <!-- End Events --> <!-- Pagination --> <div class="search-ajax-pagination-wrapper"> <?php if ( $total_pages > 1 ): ?> <div class="search-ajax-pagination" data-total-page="<?php echo esc_attr( $total_pages ); ?>"> <ul> <?php for ( $i = 1; $i <= $total_pages; $i++ ): ?> <?php if ( $i == 1 ): ?> <li> <span class="prev page-numbers" data-paged="<?php echo esc_attr( $current - 1 ); ?>"> <?php esc_html_e( 'Previous', 'ovaev' ); ?> </span> </li> <li> <span class="page-numbers current" data-paged="<?php echo esc_attr( $i ); ?>"> <?php echo esc_attr( $i ); ?> </span> </li> <?php elseif ( $i == $total_pages ): ?> <li> <span class="page-numbers" data-paged="<?php echo esc_attr( $i ); ?>"> <?php echo esc_attr( $i ); ?> </span> </li> <li> <span class="next page-numbers" data-paged="<?php echo esc_attr( $current + 1 ); ?>"> <?php esc_html_e( 'Next', 'ovaev' ); ?> </span> </li> <?php else: ?> <li> <span class="page-numbers" data-paged="<?php echo esc_attr( $i ); ?>"> <?php echo esc_attr( $i ); ?> </span> </li> <?php endif; ?> <?php endfor; ?> </ul> </div> <?php endif; ?> <!-- End Pagination --> </div> </div> PK �-]��P� 3 templates/elements/ovaev_events_simple_calendar.phpnu ��� <?php if ( ! defined( 'ABSPATH' ) ) exit(); if( isset( $args['id'] ) && $args['id'] ) { $pid = $args['id']; } else { $pid = get_the_id(); } $category = $args['category']; $filter_event = $args['filter_event'] ? $args['filter_event'] : 'all'; $events = OVAEV_get_data::get_events_simple_calendar( $category, $filter_event ); $days_of_the_week = $args['days_of_the_week']; if ( $days_of_the_week ) { $days_of_the_week = explode( '|', $days_of_the_week ); if ( ! empty( $days_of_the_week ) && is_array( $days_of_the_week ) ) { $days_of_the_week = json_encode( $days_of_the_week ); } } ?> <div class="ovaev_simple_calendar" data-days-of-the-week='<?php echo $days_of_the_week; ?>' events='<?php echo $events; ?>'> <div class="ovaev_events_simple_calendar cal1"></div> </div> PK �-]`&� � % templates/elements/__content_list.phpnu ��� <?php $id = get_the_ID(); $ovaev_start_date = get_post_meta( $id, 'ovaev_start_date_time', true ); $ovaev_end_date = get_post_meta( $id, 'ovaev_end_date_time', true ); $date_start = $ovaev_start_date != '' ? date_i18n( get_option( 'date_format' ), $ovaev_start_date ) : ''; $time_start = $ovaev_start_date != '' ? date_i18n( get_option( 'time_format' ), $ovaev_start_date ) : ''; $date_end = $ovaev_end_date != '' ? date_i18n( get_option( 'date_format' ), $ovaev_end_date ) : ''; $time_end = $ovaev_end_date != '' ? date_i18n( get_option( 'time_format' ), $ovaev_end_date ) : ''; ?> <div class="item"> <h3 class="title"> <a class="second_font" href="<?php echo get_the_permalink( $id ) ?>"> <?php echo get_the_title( $id ) ?> </a> </h3> <div class="time-event"> <?php if( $date_start === $date_end && $date_end != '' && $date_start != '' ){ ?> <div class="time"> <span><?php echo esc_html($date_start);?> @ <?php echo esc_html($time_start); ?> - <?php echo esc_html($time_end); ?></span> </div> <?php } elseif( $date_start != $date_end && $date_end && $date_start != '' ){ ?> <div class="time"> <span><?php echo esc_html($date_start);?> - <?php echo esc_html($date_end);?></span> </div> <?php } ?> </div> </div>PK �-]'���� � 4 templates/elements/ovaev_events_calendar_content.phpnu ��� <?php if ( ! defined( 'ABSPATH' ) ) exit(); if( isset( $args['id'] ) && $args['id'] ){ $pid = $args['id']; }else{ $pid = get_the_id(); } $show_filter = $args['show_filter'] ? $args['show_filter'] : 'no'; $filter_event = $args['filter_event'] ? $args['filter_event'] : 'all'; $category = $args['category']; $lang = OVAEV_Settings::archive_format_date_lang(); $button_text = apply_filters( 'ovaev_calendar_button_text', array( "today" => "today", "month" => "month", "week" => "week", "day" => "day", "list" => "list" )); $all_day_text = apply_filters( 'ovaev_calendar_all_day_text', esc_html__('all-day', 'ovaev' ) ); $no_events_text = apply_filters( 'ovaev_calendar_no_events_text', esc_html__('No events to display', 'ovaev' ) ); $first_day = apply_filters( 'ovaev_calendar_first_day' , get_option( 'start_of_week' ) ); $events = OVAEV_get_data::get_events_calendar( $category, $filter_event ); ?> <div class="ovaev_fullcalendar" full_events='<?php echo $events; ?>' data-lang='<?php echo esc_attr( $lang ); ?>' data-button-text='<?php echo json_encode( $button_text ); ?>' data-no-events-text='<?php echo esc_attr( $no_events_text ); ?>' data-all-day-text='<?php echo esc_attr( $all_day_text ); ?>' data-first-day='<?php echo esc_attr( $first_day ); ?>'> <?php if ( $show_filter == 'yes' ): ?> <div class="calendar_filter_event"> <label for="calendar_filter_event"><?php echo esc_html__( 'Filter Event', 'ovaev' ); ?></label> <select class="form-control" id="calendar_filter_event"> <option value="all"><?php echo esc_html__( 'All', 'ovaev' ); ?></option> <option value="past_event"><?php echo esc_html__( 'Past Event', 'ovaev' ); ?></option> <option value="upcoming_event"><?php echo esc_html__( 'Upcoming Event', 'ovaev' ); ?></option> <option value="special_event"><?php echo esc_html__( 'Special Event', 'ovaev' ); ?></option> </select> </div> <?php endif; ?> <div class="ovaev_events_fullcalendar"></div> </div> PK �-]�!Wpv v &