$price_sale = $price - $price * ($count_sale / 100); $price = $price_sale; $price_sale = $x; } break; case 'st_activity': $icon_type = '<i class="fa fa-bolt"></i>'; $price_type = st_get_language("activity"); $price = STActivity::get_price_person($data['id']); $price_sale = $price['adult_new']; $price = $price['adult']; break; case 'st_tours': $icon_type = '<i class="fa fa-bolt"></i>'; $price_type = st_get_language("tour"); $price = STTour::get_price_person($data['id']); $price_sale = $price['adult_new']; $price = $price['adult']; break; case 'st_holidays': $icon_type = '<i class="fa fa-bolt"></i>'; $price_type = st_get_language("holiday"); $price = STHoliday::get_price_person($data['id']); $price_sale = $price['adult_new']; $price = $price['adult']; break; case 'st_cars': $icon_type = '<i class="fa fa-car"></i>'; $price_type = st_get_language('user_person'); $price = get_post_meta($data['id'], 'cars_price', true); $count_sale = get_post_meta($data['id'], 'discount', true);
/** * @package WordPress * @subpackage Traveler * @since 1.0 * * Tours info * * Created by ShineTheme * */ //check is booking with modal $st_is_booking_modal = apply_filters('st_is_booking_modal', false); $type_price = get_post_meta(get_the_ID(), 'type_price', true); $type_tour = get_post_meta(get_the_ID(), 'type_tour', true); if ($type_price == 'people_price') { $info_price = STTour::get_price_person(get_the_ID()); } else { $info_price = STTour::get_info_price(get_the_ID()); } echo STTemplate::message(); ?> <div class="package-info-wrapper pull-left" style="width: 100%"> <div class="row"> <div class="col-md-6"> <?php if ($type_tour == 'specific_date') { ?> <div class="package-info"> <i class="fa fa-calendar"></i> <span class="head"><?php st_the_language('tour_duration');