</p> </div> <div class="output"> <p><?php _e('Total', 'bookyourtravel'); ?> </p> <p class="step_1_total_holder"></p> </div> </div> <h3><span>02 </span><?php _e('Submit booking', 'bookyourtravel'); ?> </h3> <div class="error" style="display:none;"><div><p></p></div></div> <div class="row twins"> <div class="f-item"> <label for="first_name"><?php _e('First name', 'bookyourtravel'); ?> </label> <input type="text" id="first_name" name="first_name" data-required /> </div> <div class="f-item"> <label for="last_name"><?php _e('Last name', 'bookyourtravel'); ?> </label> <input type="text" id="last_name" name="last_name" data-required /> </div>
?> <?php $tags = $car_rental_obj->get_tags(); if (count($tags) > 0) { ?> <div class="tags"> <ul> <?php foreach ($tags as $tag) { echo '<li>' . $tag->name . '</li>'; } ?> </ul> </div> <?php } ?> <?php if ($car_rental_obj->get_custom_field('contact_email')) { BYT_Theme_Utils::render_link_button("#", "gradient-button right contact-car_rental", "", __('Send inquiry', 'bookyourtravel')); } ?> </article> </li> <?php wp_reset_postdata(); dynamic_sidebar('right-car_rental'); ?> </ul> </aside><!-- #secondary -->
</article> </section> <!--//location--> <?php } ?> <?php if ($enable_reviews) { ?> <!--reviews--> <section id="reviews" class="tab-content <?php echo $first_display_tab == 'review' ? 'initial' : ''; ?> "> <?php do_action('byt_show_single_accommodation_reviews_before'); get_template_part('includes/parts/review', 'item'); BYT_Theme_Utils::render_tab_extra_fields('accommodation_extra_fields', $accommodation_extra_fields, 'reviews', $accommodation_obj); do_action('byt_show_single_accommodation_reviews_after'); ?> </section> <!--//reviews--> <?php } // if ($enable_reviews) ?> <?php if ($accommodation_location != null) { ?> <!--things to do--> <section id="things-to-do" class="tab-content <?php
?> </p> <div class="row"> <div class="f-item"> <label for="your_name"><?php _e('Your name', 'bookyourtravel'); ?> </label> <input type="text" name="your_name" id="your_name" /> </div> </div> <div class="row"> <div class="f-item"> <label for="your_email"><?php _e('Your email', 'bookyourtravel'); ?> </label> <input type="email" name="your_email" id="your_email" /> </div> </div> <div class="row"> <div class="f-item"> <label for="your_phone"><?php _e('Your phone', 'bookyourtravel'); ?> </label> <input type="text" name="your_phone" id="your_phone" /> </div> </div> <h3><?php _e('What would you like to inquire about?', 'bookyourtravel');
?> ; </script> <table class="breakdown tablesorter responsive"> <thead></thead> <tfoot></tfoot> <tbody></tbody> </table> </div> </div> </div> <?php echo '<div class="booking-commands">'; BYT_Theme_Utils::render_link_button("#", "gradient-button book-tour-reset", "book-tour-rest", __('Reset', 'bookyourtravel')); BYT_Theme_Utils::render_link_button("#", "clearfix gradient-button book-tour-proceed", "book-tour", __('Proceed', 'bookyourtravel')); echo '</div>'; } else { echo __('Unfortunately, no places are available on this tour at the moment', 'bookyourtravel'); } ?> </div> </form> <?php BYT_Theme_Utils::render_tab_extra_fields('tour_extra_fields', $tour_extra_fields, 'availability', $tour_obj); ?> <?php do_action('byt_show_single_tour_availability_after'); ?> </article> </section>
<?php BYT_Theme_Utils::render_field("min_age", "", __('Minimum driver age', 'bookyourtravel'), $car_rental_obj->get_custom_field('min_age'), '', false, true); ?> <?php BYT_Theme_Utils::render_field("transmission", "", __('Transmission', 'bookyourtravel'), $car_rental_obj->get_custom_field('transmission_type') == 'manual' ? __('Manual', 'bookyourtravel') : __('Automatic', 'bookyourtravel'), '', false, true); ?> <?php BYT_Theme_Utils::render_field("air_conditioned", "", __('Air-conditioned?', 'bookyourtravel'), $car_rental_obj->get_custom_field('is_air_conditioned') ? __('Yes', 'bookyourtravel') : __('No', 'bookyourtravel'), '', false, true); ?> <?php BYT_Theme_Utils::render_field("unlimited_mileage", "", __('Unlimited mileage?', 'bookyourtravel'), $car_rental_obj->get_custom_field('is_unlimited_mileage') ? __('Yes', 'bookyourtravel') : __('No', 'bookyourtravel'), '', false, true); ?> </div> <?php echo "<div class='actions'>"; BYT_Theme_Utils::render_link_button($car_rental_obj->get_permalink(), "gradient-button", "", __('Book now', 'bookyourtravel')); echo "</div>"; ?> </div> </div> </article> <!--//car rental item--> <?php } else { ?> <li> <a href="<?php echo esc_url($car_rental_obj->get_permalink()); ?> "> <h3><?php
echo esc_attr($location_obj->get_title()); ?> "> <img src="<?php echo esc_url($location_image); ?> " alt="<?php echo esc_attr($location_obj->get_title()); ?> " /> </a> </figure> <div class="details"> <?php echo "<div class='actions'>"; BYT_Theme_Utils::render_link_button($location_obj->get_permalink(), "gradient-button", "", __('View all', 'bookyourtravel')); echo "</div>"; ?> <h3><?php echo $location_obj->get_title(); ?> </h3> <?php // display hotel and self-catered counts if ($enable_accommodations) { if ($show_hotel_count_in_location_items) { BYT_Theme_Utils::render_field("", "count", $hotel_count . ' ' . __('Hotels', 'bookyourtravel'), '', '', false); } if ($show_self_catered_count_in_location_items) { BYT_Theme_Utils::render_field("", "count", $self_catered_count . ' ' . __('Self-catered', 'bookyourtravel'), '', '', false);
</span> <?php } ?> </em> </div> <?php } ?> <?php BYT_Theme_Utils::render_field("description clearfix", "", "", $accommodation_description_html, '', false, true); echo "<div class='actions'>"; if (!empty($current_url) && $current_url == $list_user_accommodations_url) { BYT_Theme_Utils::render_link_button($submit_accommodations_url . '?fesid=' . $accommodation_id, "gradient-button clearfix", "", __('Edit', 'bookyourtravel')); } else { BYT_Theme_Utils::render_link_button($accommodation_obj->get_permalink(), "gradient-button clearfix", "", __('Book now', 'bookyourtravel')); } echo "</div>"; ?> </div> </div> </article> <!--//accommodation item--> <?php } else { ?> <li> <a href="<?php echo esc_url($accommodation_obj->get_permalink()); ?> ">
?> </span> <span class="second"> <?php for ($j = 0; $j < $room_type_obj->get_custom_field('max_count'); $j++) { ?> <img src="<?php echo BYT_Theme_Utils::get_file_uri('/images/ico/person.png'); ?> " alt="" /> <?php } ?> </span> <?php BYT_Theme_Utils::render_link_button($submit_room_types_url . "?fesid=" . $post->ID, "gradient-button", "", __('Edit', 'bookyourtravel')); ?> </div> </div> <div class="more-information"> <?php BYT_Theme_Utils::render_field('', '', __('Room facilities:', 'bookyourtravel'), $room_type_obj->get_facilities_string(), '', true, true); ?> <?php echo $room_type_obj->get_description(); ?> <?php BYT_Theme_Utils::render_field('', '', __('Bed size:', 'bookyourtravel'), $room_type_obj->get_custom_field('bed_size'), '', true, true); ?> <?php BYT_Theme_Utils::render_field('', '', __('Room size:', 'bookyourtravel'), $room_type_obj->get_custom_field('room_size'), '', true, true);
?> <?php BYT_Theme_Utils::render_field("transmission", "", __('Transmission', 'bookyourtravel'), $car_rental_obj->get_custom_field('transmission_type') == 'manual' ? __('Manual', 'bookyourtravel') : __('Automatic', 'bookyourtravel'), '', false, true); ?> <?php BYT_Theme_Utils::render_field("air_conditioned", "", __('Air-conditioned?', 'bookyourtravel'), $car_rental_obj->get_custom_field('is_air_conditioned') ? __('Yes', 'bookyourtravel') : __('No', 'bookyourtravel'), '', false, true); ?> <?php BYT_Theme_Utils::render_field("unlimited_mileage", "", __('Unlimited mileage?', 'bookyourtravel'), $car_rental_obj->get_custom_field('is_unlimited_mileage') ? __('Yes', 'bookyourtravel') : __('No', 'bookyourtravel'), '', false, true); ?> <?php BYT_Theme_Utils::render_tab_extra_fields('car_rental_extra_fields', $car_rental_extra_fields, 'description', $car_rental_obj, '', false, true); ?> </div> <?php BYT_Theme_Utils::render_link_button("#", "clearfix gradient-button book_car_rental", "", __('Book now', 'bookyourtravel')); ?> </article> </section> <!--//description--> <?php foreach ($tab_array as $tab) { if (count(BYT_Theme_Utils::custom_array_search($default_car_rental_tabs, 'id', $tab['id'])) == 0) { $all_empty_fields = BYT_Theme_Utils::are_tab_fields_empty('car_rental_extra_fields', $car_rental_extra_fields, $tab['id'], $car_rental_obj); if (!$all_empty_fields) { ?> <section id="<?php echo esc_attr($tab['id']); ?> " class="tab-content <?php
echo $locations_select_options; ?> </select> </div> </div> <div class="row twins"> <div class="f-item"> <label for="car_booking_form_first_name"><?php _e('First name', 'bookyourtravel'); ?> </label> <input type="text" id="car_booking_form_first_name" name="car_booking_form_first_name" data-required /> </div> <div class="f-item"> <label for="car_booking_form_last_name"><?php _e('Last name', 'bookyourtravel'); ?> </label> <input type="text" id="car_booking_form_last_name" name="car_booking_form_last_name" data-required /> </div> </div> <div class="row twins"> <div class="f-item"> <label for="car_booking_form_email"><?php _e('Email address', 'bookyourtravel'); ?> </label> <input type="email" id="car_booking_form_email" name="car_booking_form_email" data-required /> </div> <div class="f-item"> <label for="car_booking_form_confirm_email"><?php