コード例 #1
0
                        <?php 
    echo date_i18n(TravelHelper::getDateFormat(), strtotime($check_in));
    ?>
                        <i class="fa fa-arrow-right "></i>
                        <?php 
    echo date_i18n(TravelHelper::getDateFormat(), strtotime($check_out));
    ?>
                        <br />
                        <button id="getInfoPriceLink" type="button" class="btn btn-primary btn-xs pull-right" style="margin-bottom: 1px;" aria-expanded="false" aria-controls="getInfoPrice" data-toggle="collapse" data-target="#getInfoPrice"><?php 
    echo __('Details', ST_TEXTDOMAIN);
    ?>
</button>    
                    </p>
                    <div class="collapse" id="getInfoPrice" style="width:100%; height:200px; overflow-y:scroll;">
                        <?php 
    echo STPrice::showRoomPriceInfo($room_id, strtotime($check_in), strtotime($check_out));
    ?>
                    </div>
                </li>
                <li>
                    <p class="booking-item-payment-price-title">
                    <?php 
    echo __('Number of Night', ST_TEXTDOMAIN);
    ?>
                    </p>
                    <p class="booking-item-payment-price-amount">
                    <?php 
    if ($date_diff > 1) {
        printf(st_get_language('d_night'), $date_diff);
    } else {
        printf(st_get_language('1_night'), $date_diff);