get_var( "SELECT COUNT(*) FROM $wpdb->blogs WHERE public='1' AND archived='0' AND spam='0' AND deleted='0'" ); update_site_option('amazon_master_multi_blog_count', $blog_count); $techgasp_plugin_name = get_site_option('amazon_master_name'); echo '

Active Websites Detected: '.$blog_count.'

'; //CHECK IF IS NETWORK ACTIVE if ( is_plugin_active_for_network( 'amazon-master/amazon-master.php' ) ) { echo '

'.get_option('amazon_master_name').' WARNING. Plugin is Network Active.

Turn off Network Activate on your Network Admin plugin page.
It will cause unexpected Wordpress behaviours and errors.
'; } else{ echo '

'.get_option('amazon_master_name').' OK. Plugin is Network DeActived.

'; } } ?>