示例#1
0
?>
</div>
                    <div class="booking-item-raiting-list-bar">
                        <div style="width:<?php 
echo TravelHelper::cal_rate($rate_poor, $total);
?>
%;"></div>
                    </div>
                    <div class="booking-item-raiting-list-number"><?php 
echo esc_html($rate_poor);
?>
</div>
                </li>

                <?php 
$rate_terible = STReview::count_review_by_rate(null, 1);
?>
                <li>
                    <div class="booking-item-raiting-list-title"><?php 
st_the_language('terrible');
?>
</div>
                    <div class="booking-item-raiting-list-bar">
                        <div style="width:<?php 
echo TravelHelper::cal_rate($rate_terible, $total);
?>
%;"></div>
                    </div>
                    <div class="booking-item-raiting-list-number"><?php 
echo esc_html($rate_terible);
?>