<?php /** * @package WordPress * @subpackage Traveler * @since 1.0 * * Cars search form * * Created by ShineTheme * */ $cars = new STCars(); $fields = $cars->get_search_fields_box(); ?> <h3><?php st_the_language('search_for_cars'); ?> </h3> <form method="get" action="<?php the_permalink(); ?> "> <div class="row"> <?php if (!get_option('permalink_structure')) { echo '<input type="hidden" name="page_id" value="' . STInput::request('page_id') . '">'; } ?> <input type="hidden" name="layout" value="<?php echo STInput::get('layout');
/** * @package WordPress * @subpackage Traveler * @since 1.0 * * Cars modal booking * * Created by ShineTheme * */ $car = new STCars(); $paypal_allow = false; if (class_exists('STPaypal')) { $paypal_allow = true; } $field_list = $car->get_search_fields_box(); $field_type = $car->get_search_fields_name(); //Logged in User Info global $firstname, $user_email; get_currentuserinfo(); $paypal_allow = apply_filters('st_checkout_paypal_allow', $paypal_allow); ?> <h3><?php printf(st_get_language('you_are_booking_for_s'), get_the_title()); ?> </h3> <div id="booking_modal_<?php echo get_the_ID(); ?> " class="booking_modal_form">