HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: /var/www/html/shootinschool/wp-content/themes/splash-child/wpuf/subscriptions/pack-details.php
<?php
/**
 * Subscription single pack details template
 *
 * @version 2.8.8
 *
 * @var $pack WP_Post
 * @var $billing_amount
 * @var $details_meta
 * @var $recurring_des
 * @var $trial_des
 * @var $coupon_status
 * @var $current_pack_id
 * @var $button_name
 *
 */
?>
<div class="wpuf-pricing-wrap">
    <h3><?php echo wp_kses_post( $pack->post_title ); ?> </h3>
    <div class="wpuf-sub-amount">

        <?php if ( $billing_amount != '0.00' ) { ?>
            <sup class="wpuf-sub-symbol"><?php echo $details_meta['symbol']; ?></sup>
            <span class="wpuf-sub-cost"><?php echo $billing_amount; ?></span>
        <?php } else { ?>
            <span class="wpuf-sub-cost"><?php _e( 'Free', 'wp-user-frontend' ); ?></span>
        <?php } ?>

        <?php _e( $recurring_des , 'wp-user-frontend' ); ?>

    </div>
    <?php
    if ( $pack->meta_value['recurring_pay'] == 'yes' ) {
        ?>
        <div class="wpuf-sub-body wpuf-nullamount-hide">
            <div class="wpuf-sub-terms"><?php echo $trial_des; ?></div>
        </div>
        <?php
    }
    ?>
</div>
<div class="wpuf-sub-desciption">
    <?php echo wpautop( wp_kses_post( $pack->post_content ) ); ?>
</div>
<?php
if ( isset( $_GET['action'] ) && $_GET['action'] == 'wpuf_pay' || $coupon_status ) {
    return;
}
?>
<div class="wpuf-sub-button">
    <a <?php echo ( $current_pack_id != '' ) ? ' class = "wpuf-disabled-link" ' : '' ;?>  href="<?php echo ( $current_pack_id != '' ) ? 'javascript:' : add_query_arg( $query_args, $query_url ) ?>" onclick="<?php echo esc_attr( $details_meta['onclick'] ); ?>">
        <?php echo $button_name; ?>
    </a>
</div>