?> ; window.tourId = <?php echo $tour_obj->get_id(); ?> ; window.tourIsPricePerGroup = <?php echo $tour_obj->get_is_price_per_group(); ?> ; window.tourDateFrom = <?php echo json_encode($tour_date_from); ?> ; window.tourTitle = <?php echo json_encode($tour_obj->get_title()); ?> ; window.currentMonth = <?php echo date('n'); ?> ; window.currentYear = <?php echo date('Y'); ?> ; window.currentDay = <?php echo date('j'); ?> ; window.tourIsReservationOnly = <?php
$tour_location_title = $tour_location->get_title(); } if (empty($display_mode) || $display_mode == 'card') { ?> <!--tour item--> <article class="tour_item <?php echo $tour_class; ?> "> <div> <figure> <a href="<?php echo esc_url($tour_obj->get_permalink()); ?> " title="<?php echo esc_attr($tour_obj->get_title()); ?> "> <img src="<?php echo esc_url($tour_image); ?> " alt="<?php echo esc_attr($tour_obj->get_title()); ?> " /> </a> </figure> <div class="details"> <h2><?php echo $tour_obj->get_title(); ?>