HEX
Server: Apache
System: Linux WWW 6.1.0-40-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.153-1 (2025-09-20) x86_64
User: web11 (1011)
PHP: 8.2.29
Disabled: NONE
Upload Files
File: /var/www/intranet.kauko.lt/wp-content/plugins/prevent-direct-access/includes/pda_lite_affiliate.php
<?php
/**
 *
 * Add Affiliate in PDA Lite
 *
 */

// Check Class Exists or Not
if ( ! class_exists('PDA_Lite_Affiliate' ) ){
    // Start Class
    class PDA_Lite_Affiliate {
        
        /**
         * Render UI
         */
        function render_ui() {
            $url = PDA_LITE_BASE_URL . "public/assets/pda-gold-affiliate-banner(1200x480).png";
            ?>
            <div class="wrap">
                <h2><?php esc_html_e( 'Prevent Direct Access Gold: Invite & Earn', 'prevent-direct-access' ); ?></h2>
                <a class="pda-affiliate-program-page" target="_blank" href="http://bit.ly/joinpdaffiliate">
                    <img width="100%" src="<?php echo esc_attr($url) ?> ">
                </a>
            </div>
            <?php
        }
    }
}