__( 'Display Slots', 'adx-ad-inserter' ), 'tab-custom-adsense' => __( 'Adsense Ads / Custom', 'adx-ad-inserter' ), 'tab-responsive-ads' => __( 'Responsive Ads', 'adx-ad-inserter' ), 'tab-popup-updated' => __( 'Popup Ads', 'adx-ad-inserter' ), 'tab-flying-carpet' => __( 'Flying Carpet Ads', 'adx-ad-inserter' ), 'tab-side-rail' => __( 'Side Rail Ads', 'adx-ad-inserter' ), 'tab-anchor' => __( 'Anchor Ad', 'adx-ad-inserter' ), 'tab-button-rewarded' => __( 'Button Rewarded Ad', 'adx-ad-inserter' ), 'tab-offerwall' => __( 'Offerwall Ad', 'adx-ad-inserter' ), 'tab-interstitial' => __( 'Interstitial Ad', 'adx-ad-inserter' ), 'tab-global-settings' => __( 'Settings', 'adx-ad-inserter' ), ); // Map Tabs to Template Panels $panels = array( 'tab-display-slot' => 'settings-display.php', 'tab-custom-adsense' => 'settings-custom-adsense.php', 'tab-responsive-ads' => 'settings-responsive.php', 'tab-popup-updated' => 'settings-popup.php', 'tab-flying-carpet' => 'settings-flying-carpet.php', 'tab-side-rail' => 'settings-side-rail.php', 'tab-anchor' => 'settings-anchor.php', 'tab-button-rewarded' => 'settings-button-rewarded.php', 'tab-offerwall' => 'settings-offerwall-onscroll.php', 'tab-interstitial' => 'settings-interstitial.php', 'tab-global-settings' => 'settings-global.php', ); // Slot Status Registry for Sidebar Indicators $status_registry = array( 'Display Slots' => array( 'enabled' => 'adxbyms_slot_enabled', 'type' => 'display' ), 'Adsense / Custom' => array( 'enabled' => 'adxbyms_custom_adsense_enabled', 'type' => 'custom-adsense' ), 'Responsive Ads' => array( 'enabled' => 'adxbyms_responsive_ads_enabled', 'type' => 'responsive' ), 'Popup Ads' => array( 'enabled' => 'adxbyms_popup_enabled', 'code' => 'adxbyms_popup_network_code' ), 'Flying Carpet' => array( 'enabled' => 'adxbyms_flying_carpet_enabled', 'type' => 'flying-carpet' ), 'Side Rail Ads' => array( 'enabled' => 'adxbyms_side_rail_enabled', 'code' => 'adxbyms_side_rail_network_code' ), 'Anchor Ads' => array( 'enabled' => 'adxbyms_anchor_enabled', 'code' => 'adxbyms_anchor_network_code' ), 'Button Rewarded' => array( 'enabled' => 'adxbyms_ad2_enabled', 'code' => 'adxbyms_ad2_network_code' ), 'Offerwall Ad' => array( 'enabled' => 'adxbyms_offerwall_onscroll_enabled', 'code' => 'adxbyms_offerwall_onscroll_network_code' ), 'Interstitial Ad' => array( 'enabled' => 'adxbyms_interstitial_enabled', 'code' => 'adxbyms_interstitial_network_code' ), 'Settings' => array( 'enabled' => 'adxbyms_custom_enabled', 'type' => 'global-settings' ), ); ?>

PRO

'adx_save_top' ) ); ?>
$panel_file ) { // Look in the new templates/settings/ folder $file_path = ADXBYMS_PATH . 'templates/settings/' . $panel_file; if ( file_exists( $file_path ) ) { require $file_path; } else { // Fallback to absolute plugin path templates $fallback_path = ADXBYMS_PATH . 'templates/' . $panel_file; if ( file_exists( $fallback_path ) ) { require $fallback_path; } } } ?>