'; echo ''; echo ''; // PRO user banner if ( $is_pro ) { echo '
'; echo '⭐'; echo '
'; echo '' . esc_html__( 'You are a PRO User!', 'ai-cyberguard' ) . ''; echo '

' . esc_html__( 'All premium features are unlocked. Thank you for your support!', 'ai-cyberguard' ) . '

'; echo '
'; echo '🛡️'; echo '
'; } else { // FREE user - show upgrade banner $upgrade_url = admin_url( 'admin.php?page=guardpress-upgrade' ); echo '
'; echo '
🚀
'; echo '
'; echo '' . esc_html__( 'Unlock Full Protection with AI CyberGuard PRO', 'ai-cyberguard' ) . ''; echo '

' . esc_html__( 'Get Advanced WAF, Full 2FA, Cloud Backup, SMS Alerts, 500 AI analyses/year & more!', 'ai-cyberguard' ) . '

'; echo '
'; echo ''; echo esc_html__( 'Upgrade to PRO', 'ai-cyberguard' ) . ' →'; echo ''; echo '
'; echo ''; } echo '

'; if ( ! empty( $icon ) ) { echo ''; } echo esc_html( $title ); // Status badge if ( ! empty( $status_badge ) ) { $badge_class = isset( $status_badge['class'] ) ? $status_badge['class'] : 'gp-status-secure'; $badge_icon = isset( $status_badge['icon'] ) ? $status_badge['icon'] : 'yes-alt'; $badge_text = isset( $status_badge['text'] ) ? $status_badge['text'] : ''; echo ''; echo ' '; echo esc_html( $badge_text ); echo ''; } echo '

'; // Move external notices above our content self::render_notice_mover(); } /** * Render back button */ public static function render_back_button( $url, $text = '' ) { if ( empty( $text ) ) { $text = __( 'Back to Scanner', 'ai-cyberguard' ); } echo ''; } /** * Render page footer */ public static function render_footer() { echo ''; } /** * Render privacy note */ public static function render_privacy_note() { echo '
'; echo ''; echo esc_html__( 'Privacy: Most scan work runs on your own server. Integrity checks may contact the official WordPress.org APIs; the Threat Feed, AI Analysis, GeoIP, breached-password and CAPTCHA features use external services only when you enable or trigger them — see Settings → Privacy & External Requests.', 'ai-cyberguard' ); echo '
'; } /** * Render progress overlay (should be at end of page) */ public static function render_progress_overlay() { echo '
'; echo '
'; echo '
'; echo '
' . esc_html__( 'Scanning in progress...', 'ai-cyberguard' ) . '
'; echo '
' . esc_html__( 'Analyzing your files for changes', 'ai-cyberguard' ) . '
'; echo '
'; echo '
' . esc_html__( 'Please keep this tab open', 'ai-cyberguard' ) . '
'; echo '
'; } }