';
echo '
';
echo '';
}
public function alert_banner() {
// Show the Ad Blocking Advisor bar
$enabled = get_option( 'aba_enabled' );
$show_banner_dismiss_icon = get_option( 'aba_show_banner_dismiss_icon' );
$show_banner_logged_in = get_option( 'aba_show_banner_loggedin' );
if ( $enabled ) {
// If logged in, and show banner is false, return
if ( ( is_user_logged_in() ) && ( !$show_banner_logged_in ) ) {
return;
}
$text = get_option( 'aba_notice_text' );
$background = get_option( 'aba_background_color' );
$font = get_option( 'aba_font_color' );
$fontSize = get_option( 'aba_font_size' );
$cookieAllow = get_option( 'aba_cookie_allow' );
$cookieExpiration = get_option( 'aba_cookie_timeout' );
// Removed in 1.4, but left in for archive
//$timerAllow = get_option( 'aba_timer_allow' );
//$timerTimeout = get_option( 'aba_timer_timeout' );
$divLocation = get_option( 'aba_div_location' );
$html = '
Thank you for using Ad Blocking Advisor!