Пример #1
0
function carrental_get_booking_form()
{
    global $theme_options;
    // Locations + business hours
    $locations = CarRental::get_locations();
    $vehicle_cats = CarRental::get_vehicle_categories();
    $vehicle_names = CarRental::get_vehicle_names();
    wp_register_style('jquery-ui.css', '//ajax.googleapis.com/ajax/libs/jqueryui/1.11.0/themes/smoothness/jquery-ui.css', array());
    wp_enqueue_style('jquery-ui.css');
    include get_file_template_path('booking-form.php');
    include get_file_template_path('booking-javascript.php');
}