PK œqhYî¶J‚ßFßF)nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/ $#$#$#

Dir : /home/trave494/hotebooking.site/wp-content/themes/traveler/inc/admin/views/admin/
Server: Linux ngx353.inmotionhosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64
IP: 209.182.202.254
Choose File :

Url:
Dir : /home/trave494/hotebooking.site/wp-content/themes/traveler/inc/admin/views/admin/html-price.php

<input type="hidden" name="st_custom_price_nonce" value="<?php echo esc_attr( $st_custom_price_nonce ) ?>"/>

<?php $data = self::st_get_all_price( $post_id ); ?>

<div class="data_price">

    <?php if ( !empty( $data ) and is_array( $data ) ): ?>

        <?php foreach ( $data as $k => $v ) {

            $id_rand = rand(); ?>

            <div class="item">

                <div class="data">

                    <div class="form">

                        <label><?php _e( "Price:", 'traveler' ) ?> </label>

                        <input name="st_price[]" value="<?php echo esc_html( $v->price ) ?>" type="text">

                        <label><?php _e( "Priority:", 'traveler' ) ?> </label>

                        <input name="st_priority[]" value="<?php echo esc_html( $v->priority ) ?>" type="text" class="">

                    </div>

                    <div class="form">

                        <label><?php _e( "Start Date:", 'traveler' ) ?> </label>

                        <input dateFormat="yy-mm-dd" id="start_<?php echo esc_attr( $id_rand ) ?>"

                               name="st_start_date[]" value="<?php echo esc_html( $v->start_date ) ?>" type="text"

                               class="st_datepicker_price">

                        <label><?php _e( "End Date:", 'traveler' ) ?></label>

                        <input dateFormat="yy-mm-dd" id="end_<?php echo esc_attr( $id_rand ) ?>" name="st_end_date[]"

                               value="<?php echo esc_html( $v->end_date ) ?>" type="text" class="st_datepicker_price">

                    </div>

                    <div>

                        <input name="st_price_type[]" value="default" type="hidden" class="">

                        <input name="st_status[]" value="1" type="hidden" class="">

                    </div>

                </div>

                <div class="control">

                    <button class="button button-danger btn_del_price"

                            type="button"><?php _e( "Delete", 'traveler' ) ?></button>

                </div>

            </div>

        <?php } ?>

    <?php endif; ?>

</div>

<div class="nav">

    <button class="button button-primary btn_add_price" type="button"><?php _e( "Add Price", 'traveler' ) ?></button>

</div>

<div class="data_price_html">

    <div class="item">

        <div class="data">

            <div class="form">

                <label><?php _e( "Price:", 'traveler' ) ?> </label>

                <input name="st_price[]" value="" type="text">

                <label><?php _e( "Priority:", 'traveler' ) ?> </label>

                <input name="st_priority[]" value="" type="text" class="">

            </div>

            <div class="form">

                <label><?php _e( "Start Date:", 'traveler' ) ?> </label>

                <input id="start" name="st_start_date[]" value="" type="text" class="st_datepicker_price">

                <label><?php _e( "End Date:", 'traveler' ) ?></label>

                <input id="end" name="st_end_date[]" value="" type="text" class="st_datepicker_price">

            </div>

            <div>

                <input name="st_price_type[]" value="default" type="hidden" class="">

                <input name="st_status[]" value="1" type="hidden" class="">

            </div>

        </div>

        <div class="control">

            <button class="button button-danger btn_del_price"

                    type="button"><?php _e( "Delete", 'traveler' ) ?></button>

        </div>

    </div>

</div>