* * Created by ShineTheme * */ $default = array('style' => 'list'); global $wp_query; if (isset($arg)) { extract(wp_parse_args($arg, $default)); } else { extract($default); } if (STInput::get('style')) { $style = STInput::get('style'); } $object = new STRental(); $allOrderby = $object->getOrderby(); ?> <div class="nav-drop booking-sort"> </div> <div class="sort_top"> <div class="row"> <div class="col-md-10 col-sm-9"> <ul class="nav nav-pills"> <?php $active = STInput::request('orderby'); if (!empty($allOrderby) and is_array($allOrderby)) { $i = 0; foreach ($allOrderby as $key => $value) { $i++; $class = '';
$obj = new STHoliday(); $layout_id = st()->get_option('holidays_search_result_page', false); } if ($post_type == 'st_hotel') { $obj = new STHotel(); $layout_id = st()->get_option('hotel_search_result_page', false); } if ($post_type == 'st_activity') { $obj = new STActivity(); $layout_id = st()->get_option('activity_search_result_page', false); } if ($post_type == 'st_rental') { $obj = new STRental(); $layout_id = st()->get_option('rental_search_result_page', false); } $allOrderby = $obj->getOrderby(); ?> <div class="row"> <div class="col-md-12"> <div class="row" style="margin-bottom: 40px"> <div class="col-sm-12"> <hr> </div> <div class="col-md-6"> <p> <small><?php echo __("Total: ", ST_TEXTDOMAIN); ?> </small> <small>