if (is_array($field_name) and !empty($field_name)) { foreach ($field_name as $k) { echo "<input name='{$k}' type='hidden' value='" . STInput::request($k) . "'>"; } } } if (is_string($field_name)) { echo "<input name='{$field_name}' type='hidden' value='" . STInput::request($field_name) . "'>"; } } } } ?> <?php if (!get_option('permalink_structure')) { echo '<input type="hidden" name="st_cars" value="' . st_get_the_slug() . '">'; } ?> </form> <?php if ($st_is_booking_modal) { ?> <div class="mfp-with-anim mfp-dialog mfp-search-dialog mfp-hide" id="car_booking_<?php the_ID(); ?> "> <?php echo st()->load_template('cars/modal_booking'); ?> </div>
</span> </div> <?php } ?> </div> <div class="package-info-wrapper"> <div class="overlay-form"><i class="fa fa-refresh text-color"></i></div> <form id="form-booking-inpage" method="post" action="" class="activity_booking_form booking_modal_form" data-activity-type="<?php echo esc_attr($type_activity); ?> "> <div class="message_box"></div> <?php if (!get_option('permalink_structure')) { echo '<input type="hidden" name="st_activity" value="' . st_get_the_slug() . '">'; } ?> <input type="hidden" name="action" value="activity_add_to_cart"> <input type="hidden" name="item_id" value="<?php echo get_the_ID(); ?> "> <input name="type_activity" type="hidden" value="<?php echo $type_activity; ?> "> <div class="book_form"> <span style=" display: none;"><?php st_the_language('guests'); ?>