</a></h5> <?php if ($address = get_post_meta(get_the_ID(), 'address', TRUE)) { ?> <p class="mb0"> <small> <?php echo esc_html($address); ?> </small> </p> <?php } ?> <p class="mb0 text-darken"><span class="text-lg lh1em"><?php echo TravelHelper::format_money(STHotel::get_avg_price()); ?> </span> <small> <?php st_the_language('avg/night'); ?> </small> </p> </div> </div> </div> <?php } ?> </div> <?php
?> </div> <div class="col-xs-5"> <h5 class="booking-item-title"><?php the_title(); ?> </h5> <ul class="icon-group booking-item-rating-stars"> <?php echo TravelHelper::rate_to_string(STReview::get_avg_rate()); ?> </ul> </div> <?php $price = 0; $price = STHotel::get_avg_price(); ?> <div class="col-xs-3"> <span class="booking-item-price-from"><?php _e('price avg', ST_TEXTDOMAIN); ?> </span> <span class="booking-item-price"><?php echo TravelHelper::format_money($price); ?> </span> </div> </div> </div> </a> </li>
<h5 class="thumb-title"><a class="text-darken" href="<?php the_permalink(); ?> "><?php the_title(); ?> </a></h5> <?php $address = get_post_meta(get_the_ID(), 'address', true); ?> <p class="mb0"><small><i class="fa fa-map-marker"></i> <?php echo balanceTags($address); ?> </small> </p> <p class="mb0 text-darken"> <span class="text-lg lh1em text-color"><?php $min_price = STHotel::get_avg_price(get_the_ID()); echo TravelHelper::format_money($min_price); ?> </span><small> <?php _e('avg/night', ST_TEXTDOMAIN); ?> </small> </div> </div> </div> <?php } echo "</div>";
<?php echo STActivity::get_price_html($post_id, false, '<br>', 'booking-item-price'); ?> </div> <?php break; default: ?> <span class="booking-item-price-from"> <?php _e("avg", ST_TEXTDOMAIN); ?> </span> <span class="booking-item-price"> <?php $min_price = STHotel::get_avg_price($post_id); echo TravelHelper::format_money($min_price); ?> </span> <?php break; } ?> </div> </div> </div> </li> <?php } } echo "</ul>";