public function test_should_return_false_when_no_match()
 {
     $author = 'Krusty the Clown';
     $author_email = '*****@*****.**';
     $author_url = 'http://example.com';
     $comment = "And we're sending our love down the well.";
     $author_ip = '192.168.0.1';
     $user_agent = '';
     update_option('blacklist_keys', "sideshow\nfoobar");
     $result = wp_blacklist_check($author, $author_email, $author_url, $comment, $author_ip, $user_agent);
     $this->assertFalse($result);
 }
function jw_fuckspam($comment)
{
    if (is_user_logged_in()) {
        return $comment;
    }
    if (wp_blacklist_check($comment['comment_author'], $comment['comment_author_email'], $comment['comment_author_url'], $comment['comment_content'], $comment['comment_author_IP'], $comment['comment_agent'])) {
        header("Content-type: text/html; charset=utf-8");
        wp_die('您评论包含辱骂,过激或者违反法律等言论,或者您的IP已被加入黑名单,如有疑问请联系管理员处理!<a href="javascript:history.go(-1);">返回文章页</a><br> Your Comment is blocked. For any question please contact the administrator.  <a href="javascript:history.go(-1);">Back</a>');
    } else {
        return $comment;
    }
}
Exemplo n.º 3
0
 function is_blacklisted($contact)
 {
     return wp_blacklist_check($contact['name'], $contact['email'], isset($contact['website']) ? $contact['email'] : false, $contact['message'], preg_replace('/[^0-9a-fA-F:., ]/', '', $_SERVER['REMOTE_ADDR']), substr($_SERVER['HTTP_USER_AGENT'], 0, 254));
 }
function wp_allow_comment($commentdata) {
	global $wpdb;
	extract($commentdata);

	$comment_user_domain = apply_filters('pre_comment_user_domain', gethostbyaddr($comment_author_IP) );

	// Simple duplicate check
	$dupe = "SELECT comment_ID FROM $wpdb->comments WHERE comment_post_ID = '$comment_post_ID' AND ( comment_author = '$comment_author' ";
	if ( $comment_author_email )
		$dupe .= "OR comment_author_email = '$comment_author_email' ";
	$dupe .= ") AND comment_content = '$comment_content' LIMIT 1";
	if ( $wpdb->get_var($dupe) )
		die( __('Duplicate comment detected; it looks as though you\'ve already said that!') );

	// Simple flood-protection
	if ( $lasttime = $wpdb->get_var("SELECT comment_date_gmt FROM $wpdb->comments WHERE comment_author_IP = '$comment_author_IP' OR comment_author_email = '$comment_author_email' ORDER BY comment_date DESC LIMIT 1") ) {
		$time_lastcomment = mysql2date('U', $lasttime);
		$time_newcomment  = mysql2date('U', $comment_date_gmt);
		if ( ($time_newcomment - $time_lastcomment) < 15 ) {
			do_action('comment_flood_trigger', $time_lastcomment, $time_newcomment);
			die( __('Sorry, you can only post a new comment once every 15 seconds. Slow down cowboy.') );
		}
	}

	if ( $user_id ) {
		$userdata = get_userdata($user_id);
		$user = new WP_User($user_id);
		$post_author = $wpdb->get_var("SELECT post_author FROM $wpdb->posts WHERE ID = '$comment_post_ID' LIMIT 1");
	}

	// The author and the admins get respect.
	if ( $userdata && ( $user_id == $post_author || $user->has_cap('level_9') ) ) {
		$approved = 1;
	}

	// Everyone else's comments will be checked.
	else {
		if ( check_comment($comment_author, $comment_author_email, $comment_author_url, $comment_content, $comment_author_IP, $comment_agent, $comment_type) )
			$approved = 1;
		else
			$approved = 0;
		if ( wp_blacklist_check($comment_author, $comment_author_email, $comment_author_url, $comment_content, $comment_author_IP, $comment_agent) )
			$approved = 'spam';
	}

	$approved = apply_filters('pre_comment_approved', $approved);
	return $approved;
}
Exemplo n.º 5
0
/**
 * wp_allow_comment() - Validates whether this comment is allowed to be made or not
 *
 * {@internal Missing Long Description}}
 *
 * @since 2.0.0
 * @uses $wpdb
 * @uses apply_filters() Calls 'pre_comment_approved' hook on the type of comment
 * @uses do_action() Calls 'check_comment_flood' hook on $comment_author_IP, $comment_author_email, and $comment_date_gmt
 *
 * @param array $commentdata Contains information on the comment
 * @return mixed Signifies the approval status (0|1|'spam')
 */
function wp_allow_comment($commentdata)
{
    global $wpdb;
    extract($commentdata, EXTR_SKIP);
    // Simple duplicate check
    // expected_slashed ($comment_post_ID, $comment_author, $comment_author_email, $comment_content)
    $dupe = "SELECT comment_ID FROM {$wpdb->comments} WHERE comment_post_ID = '{$comment_post_ID}' AND ( comment_author = '{$comment_author}' ";
    if ($comment_author_email) {
        $dupe .= "OR comment_author_email = '{$comment_author_email}' ";
    }
    $dupe .= ") AND comment_content = '{$comment_content}' LIMIT 1";
    if ($wpdb->get_var($dupe)) {
        wp_die(__('Duplicate comment detected; it looks as though you\'ve already said that!'));
    }
    do_action('check_comment_flood', $comment_author_IP, $comment_author_email, $comment_date_gmt);
    if ($user_id) {
        $userdata = get_userdata($user_id);
        $user = new WP_User($user_id);
        $post_author = $wpdb->get_var($wpdb->prepare("SELECT post_author FROM {$wpdb->posts} WHERE ID = %d LIMIT 1", $comment_post_ID));
    }
    if ($userdata && ($user_id == $post_author || $user->has_cap('level_9'))) {
        // The author and the admins get respect.
        $approved = 1;
    } else {
        // Everyone else's comments will be checked.
        if (check_comment($comment_author, $comment_author_email, $comment_author_url, $comment_content, $comment_author_IP, $comment_agent, $comment_type)) {
            $approved = 1;
        } else {
            $approved = 0;
        }
        if (wp_blacklist_check($comment_author, $comment_author_email, $comment_author_url, $comment_content, $comment_author_IP, $comment_agent)) {
            $approved = 'spam';
        }
    }
    $approved = apply_filters('pre_comment_approved', $approved);
    return $approved;
}
Exemplo n.º 6
0
function xt_allow_comment($commentdata)
{
    global $wpdb;
    extract($commentdata, EXTR_SKIP);
    // Simple duplicate check
    $dupe = "SELECT id FROM " . XT_TABLE_SHARE_COMMENT . " WHERE share_id = '{$share_id}' AND user_id = '{$user_id}' AND content = '{$content}' LIMIT 1";
    if ($wpdb->get_var($dupe)) {
        do_action('xt_comment_duplicate_trigger', $commentdata);
        if (defined('DOING_AJAX')) {
            die('重复评论啦!');
        }
        wp_die('重复评论啦!');
    }
    do_action('xt_check_comment_flood', $ip, $create_date);
    if (isset($user_id) && $user_id) {
        $userdata = get_userdata($user_id);
        $user = new WP_User($user_id);
        $share_author = $wpdb->get_var($wpdb->prepare("SELECT user_id FROM " . XT_TABLE_SHARE . " WHERE ID = %d LIMIT 1", $share_id));
    }
    if (isset($userdata) && ($user_id == $share_author || $user->has_cap('moderate_comments'))) {
        // The author and the admins get respect.
        $approved = 1;
    } else {
        // Everyone else's comments will be checked.
        if (xt_check_comment($user_name, $content, $ip)) {
            $approved = 1;
        } else {
            $approved = 0;
        }
        if (wp_blacklist_check($user_name, '', '', $content, $ip, '')) {
            $approved = 'spam';
        }
    }
    $approved = apply_filters('xt_pre_status', $approved, $commentdata);
    return $approved;
}
Exemplo n.º 7
0
/**
 * Validates whether this comment is allowed to be made.
 *
 * @since 2.0.0
 *
 * @global wpdb $wpdb WordPress database abstraction object.
 *
 * @param array $commentdata Contains information on the comment
 * @return int|string Signifies the approval status (0|1|'spam')
 */
function wp_allow_comment($commentdata)
{
    global $wpdb;
    // Simple duplicate check
    // expected_slashed ($comment_post_ID, $comment_author, $comment_author_email, $comment_content)
    $dupe = $wpdb->prepare("SELECT comment_ID FROM {$wpdb->comments} WHERE comment_post_ID = %d AND comment_parent = %s AND comment_approved != 'trash' AND ( comment_author = %s ", wp_unslash($commentdata['comment_post_ID']), wp_unslash($commentdata['comment_parent']), wp_unslash($commentdata['comment_author']));
    if ($commentdata['comment_author_email']) {
        $dupe .= $wpdb->prepare("OR comment_author_email = %s ", wp_unslash($commentdata['comment_author_email']));
    }
    $dupe .= $wpdb->prepare(") AND comment_content = %s LIMIT 1", wp_unslash($commentdata['comment_content']));
    $dupe_id = $wpdb->get_var($dupe);
    /**
     * Filters the ID, if any, of the duplicate comment found when creating a new comment.
     *
     * Return an empty value from this filter to allow what WP considers a duplicate comment.
     *
     * @since 4.4.0
     *
     * @param int   $dupe_id     ID of the comment identified as a duplicate.
     * @param array $commentdata Data for the comment being created.
     */
    $dupe_id = apply_filters('duplicate_comment_id', $dupe_id, $commentdata);
    if ($dupe_id) {
        /**
         * Fires immediately after a duplicate comment is detected.
         *
         * @since 3.0.0
         *
         * @param array $commentdata Comment data.
         */
        do_action('comment_duplicate_trigger', $commentdata);
        if (defined('DOING_AJAX')) {
            die(__('Duplicate comment detected; it looks as though you&#8217;ve already said that!'));
        }
        wp_die(__('Duplicate comment detected; it looks as though you&#8217;ve already said that!'), 409);
    }
    /**
     * Fires immediately before a comment is marked approved.
     *
     * Allows checking for comment flooding.
     *
     * @since 2.3.0
     *
     * @param string $comment_author_IP    Comment author's IP address.
     * @param string $comment_author_email Comment author's email.
     * @param string $comment_date_gmt     GMT date the comment was posted.
     */
    do_action('check_comment_flood', $commentdata['comment_author_IP'], $commentdata['comment_author_email'], $commentdata['comment_date_gmt']);
    if (!empty($commentdata['user_id'])) {
        $user = get_userdata($commentdata['user_id']);
        $post_author = $wpdb->get_var($wpdb->prepare("SELECT post_author FROM {$wpdb->posts} WHERE ID = %d LIMIT 1", $commentdata['comment_post_ID']));
    }
    if (isset($user) && ($commentdata['user_id'] == $post_author || $user->has_cap('moderate_comments'))) {
        // The author and the admins get respect.
        $approved = 1;
    } else {
        // Everyone else's comments will be checked.
        if (check_comment($commentdata['comment_author'], $commentdata['comment_author_email'], $commentdata['comment_author_url'], $commentdata['comment_content'], $commentdata['comment_author_IP'], $commentdata['comment_agent'], $commentdata['comment_type'])) {
            $approved = 1;
        } else {
            $approved = 0;
        }
        if (wp_blacklist_check($commentdata['comment_author'], $commentdata['comment_author_email'], $commentdata['comment_author_url'], $commentdata['comment_content'], $commentdata['comment_author_IP'], $commentdata['comment_agent'])) {
            $approved = EMPTY_TRASH_DAYS ? 'trash' : 'spam';
        }
    }
    /**
     * Filter a comment's approval status before it is set.
     *
     * @since 2.1.0
     *
     * @param bool|string $approved    The approval status. Accepts 1, 0, or 'spam'.
     * @param array       $commentdata Comment data.
     */
    $approved = apply_filters('pre_comment_approved', $approved, $commentdata);
    return $approved;
}
Exemplo n.º 8
0
function akismet_auto_check_update_meta($id, $comment)
{
    global $akismet_last_comment;
    // failsafe for old WP versions
    if (!function_exists('add_comment_meta')) {
        return false;
    }
    if (!isset($akismet_last_comment['comment_author_email'])) {
        $akismet_last_comment['comment_author_email'] = '';
    }
    // wp_insert_comment() might be called in other contexts, so make sure this is the same comment
    // as was checked by akismet_auto_check_comment
    if (is_object($comment) && !empty($akismet_last_comment) && is_array($akismet_last_comment)) {
        if (isset($akismet_last_comment['comment_post_ID']) && intval($akismet_last_comment['comment_post_ID']) == intval($comment->comment_post_ID) && $akismet_last_comment['comment_author'] == $comment->comment_author && $akismet_last_comment['comment_author_email'] == $comment->comment_author_email) {
            // normal result: true or false
            if ($akismet_last_comment['akismet_result'] == 'true') {
                update_comment_meta($comment->comment_ID, 'akismet_result', 'true');
                akismet_update_comment_history($comment->comment_ID, __('Akismet caught this comment as spam'), 'check-spam');
                if ($comment->comment_approved != 'spam') {
                    akismet_update_comment_history($comment->comment_ID, sprintf(__('Comment status was changed to %s'), $comment->comment_approved), 'status-changed' . $comment->comment_approved);
                }
            } elseif ($akismet_last_comment['akismet_result'] == 'false') {
                update_comment_meta($comment->comment_ID, 'akismet_result', 'false');
                akismet_update_comment_history($comment->comment_ID, __('Akismet cleared this comment'), 'check-ham');
                if ($comment->comment_approved == 'spam') {
                    if (wp_blacklist_check($comment->comment_author, $comment->comment_author_email, $comment->comment_author_url, $comment->comment_content, $comment->comment_author_IP, $comment->comment_agent)) {
                        akismet_update_comment_history($comment->comment_ID, __('Comment was caught by wp_blacklist_check'), 'wp-blacklisted');
                    } else {
                        akismet_update_comment_history($comment->comment_ID, sprintf(__('Comment status was changed to %s'), $comment->comment_approved), 'status-changed-' . $comment->comment_approved);
                    }
                }
                // abnormal result: error
            } else {
                update_comment_meta($comment->comment_ID, 'akismet_error', time());
                akismet_update_comment_history($comment->comment_ID, sprintf(__('Akismet was unable to check this comment (response: %s), will automatically retry again later.'), substr($akismet_last_comment['akismet_result'], 0, 50)), 'check-error');
            }
            // record the complete original data as submitted for checking
            if (isset($akismet_last_comment['comment_as_submitted'])) {
                update_comment_meta($comment->comment_ID, 'akismet_as_submitted', $akismet_last_comment['comment_as_submitted']);
            }
        }
    }
}
Exemplo n.º 9
0
function spamfree_content_filter($commentdata) {
	// Supplementary Defense - Blocking the Obvious to Improve Human/Pingback/Trackback Defense
	// FYI, Certain loops are unrolled because of a weird compatibility issue with certain servers. Works fine on most, but for some unforeseen reason, a few have issues. When I get more time to test, will try to figure it out. for now these have to stay unrolled. Won't require any more server resources, just more lines of code. Overall, still a tiny program for a server to run.

	$spamfree_options = get_option('spamfree_options');
	
	// CONTENT FILTERING :: BEGIN
	$CurrentWordPressVersionMaxCheck = '3.0';
	
	$commentdata_comment_author						= $commentdata['comment_author'];
	$commentdata_comment_author_lc					= strtolower($commentdata_comment_author);
	$commentdata_comment_author_lc_space 			= ' '.$commentdata_comment_author_lc.' ';
	$commentdata_comment_author_email				= $commentdata['comment_author_email'];
	$commentdata_comment_author_email_lc			= strtolower($commentdata_comment_author_email);
	$commentdata_comment_author_url					= $commentdata['comment_author_url'];
	$commentdata_comment_author_url_lc				= strtolower($commentdata_comment_author_url);
	
	$commentdata_comment_content					= $commentdata['comment_content'];
	$commentdata_comment_content_lc					= strtolower($commentdata_comment_content);
	
	$replace_apostrophes							= array('\’','\`','&acute;','&grave;','&#39;','&#96;','&#101;','&#145;','&#146;','&#158;','&#180;','&#207;','&#208;','&#8216;','&#8217;');
	$commentdata_comment_content_lc_norm_apost 		= str_replace($replace_apostrophes,"\'",$commentdata_comment_content_lc);
	
	$commentdata_comment_type						= $commentdata['comment_type'];
	
	// Altered to Accommodate WP 2.5+
	$commentdata_user_agent					= $_SERVER['HTTP_USER_AGENT'];
	$commentdata_user_agent_lc				= strtolower($commentdata_user_agent);
	$commentdata_remote_addr				= $_SERVER['REMOTE_ADDR'];
	$commentdata_remote_addr_lc				= strtolower($commentdata_remote_addr);
	$commentdata_remote_host				= $_SERVER['REMOTE_HOST'];
	$commentdata_remote_host_lc				= strtolower($commentdata_remote_host);
	$commentdata_referrer					= $_SERVER['HTTP_REFERER'];
	$commentdata_referrer_lc				= strtolower($commentdata_referrer);
	$commentdata_blog						= get_option('siteurl');
	$commentdata_blog_lc					= strtolower($commentdata_blog);
	$commentdata_php_self					= $_SERVER['PHP_SELF'];
	$commentdata_php_self_lc				= strtolower($commentdata_php_self);
	
	if ( !$commentdata_remote_host_lc ) {
		$commentdata_remote_host_lc = 'blank';
		}
		
	$BlogServerIP = $_SERVER['SERVER_ADDR'];
	$BlogServerName = $_SERVER['SERVER_NAME'];

	// IP / PROXY INFO :: BEGIN
	$ipBlock=explode('.',$commentdata_remote_addr);
	$ipProxyVIA=$_SERVER['HTTP_VIA'];
	$MaskedIP=$_SERVER['HTTP_X_FORWARDED_FOR']; // Stated Original IP - Can be faked
	$MaskedIPBlock=explode('.',$MaskedIP);
	if (eregi("^([0-9]|[0-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.([0-9]|[0-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.([0-9]|[0-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.([0-9]|[0-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])",$MaskedIP)&&$MaskedIP!=""&&$MaskedIP!="unknown"&&!eregi("^192.168.",$MaskedIP)) {
		$MaskedIPValid=true;
		$MaskedIPCore=rtrim($MaskedIP," unknown;,");
		}
	if ( !$MaskedIP ) { $MaskedIP='[no data]'; }
	$ReverseDNS = gethostbyaddr($commentdata_remote_addr);
	$ReverseDNSIP = gethostbyname($ReverseDNS);
	
	if ( $ReverseDNSIP != $commentdata_remote_addr || $commentdata_remote_addr == $ReverseDNS ) {
		$ReverseDNSAuthenticity = '[Possibly Forged]';
		} 
	else {
		$ReverseDNSAuthenticity = '[Verified]';
		}
	// Detect Use of Proxy
	if ($_SERVER['HTTP_VIA']||$_SERVER['HTTP_X_FORWARDED_FOR']) {
		$ipProxy='PROXY DETECTED';
		$ipProxyShort='PROXY';
		$ipProxyData=$commentdata_remote_addr.' | MASKED IP: '.$MaskedIP;
		$ProxyStatus='TRUE';
		}
	else {
		$ipProxy='No Proxy';
		$ipProxyShort=$ipProxy;
		$ipProxyData=$commentdata_remote_addr;
		$ProxyStatus='FALSE';
		}
	// IP / PROXY INFO :: END

	// Simple Filters
	
	$blacklist_word_combo_total_limit = 10; // you may increase to 30+ if blog's topic is adult in nature
	$blacklist_word_combo_total = 0;
	
	// Filter 1: Number of occurrences of 'http://' in comment_content
	$filter_1_count_http = substr_count($commentdata_comment_content_lc, 'http://');
	$filter_1_count_https = substr_count($commentdata_comment_content_lc, 'https://');
	$filter_1_count = $filter_1_count_http + $filter_1_count_https;
	$filter_1_limit = 4;
	$filter_1_trackback_limit = 1;
	
	// Medical-Related Filters
	
	/*
	// Filter 2: Number of occurrences of 'viagra' in comment_content
	$filter_2_count = substr_count($commentdata_comment_content_lc, 'viagra');
	$filter_2_limit = 2;
	// Filter 3: Number of occurrences of 'v1agra' in comment_content
	$filter_3_count = substr_count($commentdata_comment_content_lc, 'v1agra');
	$filter_3_limit = 1;
	// Filter 4: Number of occurrences of 'cialis' in comment_content
	$filter_4_count = substr_count($commentdata_comment_content_lc, 'cialis');
	$filter_4_limit = 2;
	// Filter 5: Number of occurrences of 'c1alis' in comment_content
	$filter_5_count = substr_count($commentdata_comment_content_lc, 'c1alis');
	$filter_5_limit = 1;
	// Filter 6: Number of occurrences of 'levitra' in comment_content
	$filter_6_count = substr_count($commentdata_comment_content_lc, 'levitra');
	$filter_6_limit = 2;
	// Filter 7: Number of occurrences of 'lev1tra' in comment_content
	$filter_7_count = substr_count($commentdata_comment_content_lc, 'lev1tra');
	$filter_7_limit = 1;
	// Filter 8: Number of occurrences of 'erectile dysfunction ' in comment_content
	$filter_8_count = substr_count($commentdata_comment_content_lc, 'erectile dysfunction ');
	$filter_8_limit = 2;
	// Filter 9: Number of occurrences of 'erection' in comment_content
	$filter_9_count = substr_count($commentdata_comment_content_lc, 'erection');
	$filter_9_limit = 2;
	// Filter 10: Number of occurrences of 'erectile' in comment_content
	$filter_10_count = substr_count($commentdata_comment_content_lc, 'erectile');
	$filter_10_limit = 2;
	// Filter 11: Number of occurrences of 'xanax' in comment_content
	$filter_11_count = substr_count($commentdata_comment_content_lc, 'xanax');
	$filter_11_limit = 5;
	// Filter 12: Number of occurrences of 'valium' in comment_content
	$filter_12_count = substr_count($commentdata_comment_content_lc, 'valium');
	$filter_12_limit = 5;
	*/
	
	// Dev Note: Redo later to use word breaks in php regex
	
	$filter_2_term = 'viagra';
	$filter_2_count = substr_count($commentdata_comment_content_lc, $filter_2_term);
	$filter_2_limit = 2;
	$filter_2_trackback_limit = 1;
	$filter_2_author_count = substr_count($commentdata_comment_author_lc, $filter_2_term);
	$filter_2_author_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_2_count;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_2_author_count;
	// Filter 3: Number of occurrences of 'v1agra' in comment_content
	$filter_3_term = 'v1agra';
	$filter_3_count = substr_count($commentdata_comment_content_lc, $filter_3_term);
	$filter_3_limit = 1;
	$filter_3_trackback_limit = 1;
	$filter_3_author_count = substr_count($commentdata_comment_author_lc, $filter_3_term);
	$filter_3_author_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_3_count;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_3_author_count;
	// Filter 4: Number of occurrences of ' cialis' in comment_content
	$filter_4_term = 'cialis'; 
	// Testing something next 4 lines. Will make more efficient soon.
	$filter_4_term_space = ' '.$filter_4_term; 
	$filter_4_term_slash = '-'.$filter_4_term; 
	$filter_4_term_dash = '/'.$filter_4_term;
	$filter_4_count = substr_count($commentdata_comment_content_lc, $filter_4_term_space)+substr_count($commentdata_comment_content_lc, $filter_4_term_slash)+substr_count($commentdata_comment_content_lc, $filter_4_term_dash);
	//$filter_4_count = substr_count($commentdata_comment_content_lc, $filter_4_term);
	$filter_4_limit = 2;
	$filter_4_trackback_limit = 1;
	$filter_4_author_count = substr_count($commentdata_comment_author_lc, $filter_4_term_space)+substr_count($commentdata_comment_author_lc, $filter_4_term_slash)+substr_count($commentdata_comment_author_lc, $filter_4_term_dash);
	//$filter_4_author_count = substr_count($commentdata_comment_author_lc, $filter_4_term);
	$filter_4_author_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_4_count;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_4_author_count;
	// Filter 5: Number of occurrences of 'c1alis' in comment_content
	$filter_5_term = 'c1alis';
	$filter_5_count = substr_count($commentdata_comment_content_lc, $filter_5_term);
	$filter_5_limit = 1;
	$filter_5_trackback_limit = 1;
	$filter_5_author_count = substr_count($commentdata_comment_author_lc, $filter_5_term);
	$filter_5_author_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_5_count;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_5_author_count;
	// Filter 6: Number of occurrences of 'levitra' in comment_content
	$filter_6_term = 'levitra';
	$filter_6_count = substr_count($commentdata_comment_content_lc, $filter_6_term);
	$filter_6_limit = 2;
	$filter_6_trackback_limit = 1;
	$filter_6_author_count = substr_count($commentdata_comment_author_lc, $filter_6_term);
	$filter_6_author_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_6_count;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_6_author_count;
	// Filter 7: Number of occurrences of 'lev1tra' in comment_content
	$filter_7_term = 'lev1tra';
	$filter_7_count = substr_count($commentdata_comment_content_lc, $filter_7_term);
	$filter_7_limit = 1;
	$filter_7_trackback_limit = 1;
	$filter_7_author_count = substr_count($commentdata_comment_author_lc, $filter_7_term);
	$filter_7_author_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_7_count;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_7_author_count;
	// Filter 8: Number of occurrences of 'erectile dysfunction' in comment_content
	$filter_8_term = 'erectile dysfunction';
	$filter_8_count = substr_count($commentdata_comment_content_lc, $filter_8_term);
	$filter_8_limit = 2;
	$filter_8_trackback_limit = 1;
	$filter_8_author_count = substr_count($commentdata_comment_author_lc, $filter_8_term);
	$filter_8_author_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_8_count;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_8_author_count;
	// Filter 9: Number of occurrences of 'erection' in comment_content
	$filter_9_term = 'erection';
	$filter_9_count = substr_count($commentdata_comment_content_lc, $filter_9_term);
	$filter_9_limit = 3;
	$filter_9_trackback_limit = 1;
	$filter_9_author_count = substr_count($commentdata_comment_author_lc, $filter_9_term);
	$filter_9_author_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_9_count;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_9_author_count;
	// Filter 10: Number of occurrences of 'erectile' in comment_content
	$filter_10_term = 'erectile';
	$filter_10_count = substr_count($commentdata_comment_content_lc, $filter_10_term);
	$filter_10_limit = 2;
	$filter_10_trackback_limit = 1;
	$filter_10_author_count = substr_count($commentdata_comment_author_lc, $filter_10_term);
	$filter_10_author_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_10_count;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_10_author_count;
	// Filter 11: Number of occurrences of 'xanax' in comment_content
	$filter_11_term = 'xanax';
	$filter_11_count = substr_count($commentdata_comment_content_lc, $filter_11_term);
	$filter_11_limit = 3;
	$filter_11_trackback_limit = 2;
	$filter_11_author_count = substr_count($commentdata_comment_author_lc, $filter_11_term);
	$filter_11_author_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_11_count;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_11_author_count;
	// Filter 12: Number of occurrences of 'zithromax' in comment_content
	$filter_12_term = 'zithromax';
	$filter_12_count = substr_count($commentdata_comment_content_lc, $filter_12_term);
	$filter_12_limit = 3;
	$filter_12_trackback_limit = 2;
	$filter_12_author_count = substr_count($commentdata_comment_author_lc, $filter_12_term);
	$filter_12_author_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_12_count;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_12_author_count;
	// Filter 13: Number of occurrences of 'phentermine' in comment_content
	$filter_13_term = 'phentermine';
	$filter_13_count = substr_count($commentdata_comment_content_lc, $filter_13_term);
	$filter_13_limit = 3;
	$filter_13_trackback_limit = 2;
	$filter_13_author_count = substr_count($commentdata_comment_author_lc, $filter_13_term);
	$filter_13_author_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_13_count;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_13_author_count;
	// Filter 14: Number of occurrences of ' soma ' in comment_content
	$filter_14_term = ' soma ';
	$filter_14_count = substr_count($commentdata_comment_content_lc, $filter_14_term);
	$filter_14_limit = 3;
	$filter_14_trackback_limit = 2;
	$filter_14_author_count = substr_count($commentdata_comment_author_lc, $filter_14_term);
	$filter_14_author_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_14_count;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_14_author_count;
	// Filter 15: Number of occurrences of ' soma.' in comment_content
	$filter_15_term = ' soma.';
	$filter_15_count = substr_count($commentdata_comment_content_lc, $filter_15_term);
	$filter_15_limit = 3;
	$filter_15_trackback_limit = 2;
	$filter_15_author_count = substr_count($commentdata_comment_author_lc, $filter_15_term);
	$filter_15_author_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_15_count;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_15_author_count;
	// Filter 16: Number of occurrences of 'prescription' in comment_content
	$filter_16_term = 'prescription';
	$filter_16_count = substr_count($commentdata_comment_content_lc, $filter_16_term);
	$filter_16_limit = 3;
	$filter_16_trackback_limit = 2;
	$filter_16_author_count = substr_count($commentdata_comment_author_lc, $filter_16_term);
	$filter_16_author_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_16_count;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_16_author_count;
	// Filter 17: Number of occurrences of 'tramadol' in comment_content
	$filter_17_term = 'tramadol';
	$filter_17_count = substr_count($commentdata_comment_content_lc, $filter_17_term);
	$filter_17_limit = 3;
	$filter_17_trackback_limit = 2;
	$filter_17_author_count = substr_count($commentdata_comment_author_lc, $filter_17_term);
	$filter_17_author_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_17_count;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_17_author_count;
	// Filter 18: Number of occurrences of 'penis enlargement' in comment_content
	$filter_18_term = 'penis enlargement';
	$filter_18_count = substr_count($commentdata_comment_content_lc, $filter_18_term);
	$filter_18_limit = 2;
	$filter_18_trackback_limit = 1;
	$filter_18_author_count = substr_count($commentdata_comment_author_lc, $filter_18_term);
	$filter_18_author_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_18_count;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_18_author_count;
	// Filter 19: Number of occurrences of 'buy pills' in comment_content
	$filter_19_term = 'buy pills';
	$filter_19_count = substr_count($commentdata_comment_content_lc, $filter_19_term);
	$filter_19_limit = 3;
	$filter_19_trackback_limit = 2;
	$filter_19_author_count = substr_count($commentdata_comment_author_lc, $filter_19_term);
	$filter_19_author_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_19_count;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_19_author_count;
	// Filter 20: Number of occurrences of 'diet pill' in comment_content
	$filter_20_term = 'diet pill';
	$filter_20_count = substr_count($commentdata_comment_content_lc, $filter_20_term);
	$filter_20_limit = 3;
	$filter_20_trackback_limit = 2;
	$filter_20_author_count = substr_count($commentdata_comment_author_lc, $filter_20_term);
	$filter_20_author_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_20_count;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_20_author_count;
	// Filter 21: Number of occurrences of 'weight loss pill' in comment_content
	$filter_21_term = 'weight loss pill';
	$filter_21_count = substr_count($commentdata_comment_content_lc, $filter_21_term);
	$filter_21_limit = 3;
	$filter_21_trackback_limit = 2;
	$filter_21_author_count = substr_count($commentdata_comment_author_lc, $filter_21_term);
	$filter_21_author_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_21_count;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_21_author_count;
	// Filter 22: Number of occurrences of 'pill' in comment_content
	$filter_22_term = 'pill';
	$filter_22_count = substr_count($commentdata_comment_content_lc, $filter_22_term);
	$filter_22_limit = 10;
	$filter_22_trackback_limit = 2;
	$filter_22_author_count = substr_count($commentdata_comment_author_lc, $filter_22_term);
	$filter_22_author_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_22_count;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_22_author_count;
	// Filter 23: Number of occurrences of ' pill,' in comment_content
	$filter_23_term = ' pill,';
	$filter_23_count = substr_count($commentdata_comment_content_lc, $filter_23_term);
	$filter_23_limit = 5;
	$filter_23_trackback_limit = 2;
	$filter_23_author_count = substr_count($commentdata_comment_author_lc, $filter_23_term);
	$filter_23_author_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_23_count;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_23_author_count;
	// Filter 24: Number of occurrences of ' pills,' in comment_content
	$filter_24_term = ' pills,';
	$filter_24_count = substr_count($commentdata_comment_content_lc, $filter_24_term);
	$filter_24_limit = 5;
	$filter_24_trackback_limit = 2;
	$filter_24_author_count = substr_count($commentdata_comment_author_lc, $filter_24_term);
	$filter_24_author_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_24_count;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_24_author_count;
	// Filter 25: Number of occurrences of 'propecia' in comment_content
	$filter_25_term = 'propecia';
	$filter_25_count = substr_count($commentdata_comment_content_lc, $filter_25_term);
	$filter_25_limit = 2;
	$filter_25_trackback_limit = 1;
	$filter_25_author_count = substr_count($commentdata_comment_author_lc, $filter_25_term);
	$filter_25_author_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_25_count;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_25_author_count;
	// Filter 26: Number of occurrences of 'propec1a' in comment_content
	$filter_26_term = 'propec1a';
	$filter_26_count = substr_count($commentdata_comment_content_lc, $filter_26_term);
	$filter_26_limit = 1;
	$filter_26_trackback_limit = 1;
	$filter_26_author_count = substr_count($commentdata_comment_author_lc, $filter_26_term);
	$filter_26_author_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_26_count;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_26_author_count;
	// Filter 27: Number of occurrences of 'online pharmacy' in comment_content
	$filter_27_term = 'online pharmacy';
	$filter_27_count = substr_count($commentdata_comment_content_lc, $filter_27_term);
	$filter_27_limit = 5;
	$filter_27_trackback_limit = 2;
	$filter_27_author_count = substr_count($commentdata_comment_author_lc, $filter_27_term);
	$filter_27_author_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_27_count;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_27_author_count;
	// Filter 28: Number of occurrences of 'medication' in comment_content
	$filter_28_term = 'medication';
	$filter_28_count = substr_count($commentdata_comment_content_lc, $filter_28_term);
	$filter_28_limit = 7;
	$filter_28_trackback_limit = 3;
	$filter_28_author_count = substr_count($commentdata_comment_author_lc, $filter_28_term);
	$filter_28_author_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_28_count;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_28_author_count;
	// Filter 29: Number of occurrences of 'buy now' in comment_content
	$filter_29_term = 'buy now';
	$filter_29_count = substr_count($commentdata_comment_content_lc, $filter_29_term);
	$filter_29_limit = 7;
	$filter_29_trackback_limit = 3;
	$filter_29_author_count = substr_count($commentdata_comment_author_lc, $filter_29_term);
	$filter_29_author_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_29_count;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_29_author_count;
	// Filter 30: Number of occurrences of 'ephedrin' in comment_content
	$filter_30_term = 'ephedrin';
	$filter_30_count = substr_count($commentdata_comment_content_lc, $filter_30_term);
	$filter_30_limit = 3;
	$filter_30_trackback_limit = 2;
	$filter_30_author_count = substr_count($commentdata_comment_author_lc, $filter_30_term);
	$filter_30_author_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_30_count;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_30_author_count;
	// Filter 31: Number of occurrences of 'ephedrin' in comment_content
	$filter_31_term = 'ephedrine';
	$filter_31_count = substr_count($commentdata_comment_content_lc, $filter_31_term);
	$filter_31_limit = 3;
	$filter_31_trackback_limit = 2;
	$filter_31_author_count = substr_count($commentdata_comment_author_lc, $filter_31_term);
	$filter_31_author_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_31_count;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_31_author_count;
	// Filter 32: Number of occurrences of 'ephedrin' in comment_content
	$filter_32_term = 'ephedr1n';
	$filter_32_count = substr_count($commentdata_comment_content_lc, $filter_32_term);
	$filter_32_limit = 1;
	$filter_32_trackback_limit = 1;
	$filter_32_author_count = substr_count($commentdata_comment_author_lc, $filter_32_term);
	$filter_32_author_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_32_count;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_32_author_count;
	// Filter 33: Number of occurrences of 'ephedrin' in comment_content
	$filter_33_term = 'ephedr1ne';
	$filter_33_count = substr_count($commentdata_comment_content_lc, $filter_33_term);
	$filter_33_limit = 1;
	$filter_33_trackback_limit = 1;
	$filter_33_author_count = substr_count($commentdata_comment_author_lc, $filter_33_term);
	$filter_33_author_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_33_count;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_33_author_count;
	// Filter 34: Number of occurrences of 'ephedra' in comment_content
	$filter_34_term = 'ephedra';
	$filter_34_count = substr_count($commentdata_comment_content_lc, $filter_34_term);
	$filter_34_limit = 3;
	$filter_34_trackback_limit = 2;
	$filter_34_author_count = substr_count($commentdata_comment_author_lc, $filter_34_term);
	$filter_34_author_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_34_count;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_34_author_count;
	// Filter 35: Number of occurrences of 'valium' in comment_content
	$filter_35_term = 'valium';
	$filter_35_count = substr_count($commentdata_comment_content_lc, $filter_35_term);
	$filter_35_limit = 3;
	$filter_35_trackback_limit = 2;
	$filter_35_author_count = substr_count($commentdata_comment_author_lc, $filter_35_term);
	$filter_35_author_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_35_count;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_35_author_count;
	// Filter 36: Number of occurrences of 'adipex' in comment_content
	$filter_36_term = 'adipex';
	$filter_36_count = substr_count($commentdata_comment_content_lc, $filter_36_term);
	$filter_36_limit = 3;
	$filter_36_trackback_limit = 2;
	$filter_36_author_count = substr_count($commentdata_comment_author_lc, $filter_36_term);
	$filter_36_author_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_36_count;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_36_author_count;
	// Filter 37: Number of occurrences of 'accutane' in comment_content
	$filter_37_term = 'accutane';
	$filter_37_count = substr_count($commentdata_comment_content_lc, $filter_37_term);
	$filter_37_limit = 3;
	$filter_37_trackback_limit = 2;
	$filter_37_author_count = substr_count($commentdata_comment_author_lc, $filter_37_term);
	$filter_37_author_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_37_count;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_37_author_count;
	// Filter 38: Number of occurrences of 'acomplia' in comment_content
	$filter_38_term = 'acomplia';
	$filter_38_count = substr_count($commentdata_comment_content_lc, $filter_38_term);
	$filter_38_limit = 3;
	$filter_38_trackback_limit = 2;
	$filter_38_author_count = substr_count($commentdata_comment_author_lc, $filter_38_term);
	$filter_38_author_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_38_count;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_38_author_count;
	// Filter 39: Number of occurrences of 'rimonabant' in comment_content
	$filter_39_term = 'rimonabant';
	$filter_39_count = substr_count($commentdata_comment_content_lc, $filter_39_term);
	$filter_39_limit = 3;
	$filter_39_trackback_limit = 2;
	$filter_39_author_count = substr_count($commentdata_comment_author_lc, $filter_39_term);
	$filter_39_author_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_39_count;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_39_author_count;
	// Filter 40: Number of occurrences of 'zimulti' in comment_content
	$filter_40_term = 'zimulti';
	$filter_40_count = substr_count($commentdata_comment_content_lc, $filter_40_term);
	$filter_40_limit = 3;
	$filter_40_trackback_limit = 2;
	$filter_40_author_count = substr_count($commentdata_comment_author_lc, $filter_40_term);
	$filter_40_author_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_40_count;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_40_author_count;
	// Filter 41: Number of occurrences of 'herbalife' in comment_content
	$filter_41_term = 'herbalife';
	$filter_41_count = substr_count($commentdata_comment_content_lc, $filter_41_term);
	$filter_41_limit = 8;
	$filter_41_trackback_limit = 7;
	$filter_41_author_count = substr_count($commentdata_comment_author_lc, $filter_41_term);
	$filter_41_author_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_41_count;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_41_author_count;


	// Non-Medical Author Tests
	// Filter 210: Number of occurrences of 'drassyassut' in comment_content
	$filter_210_term = 'drassyassut'; //DrassyassuT
	$filter_210_count = substr_count($commentdata_comment_content_lc, $filter_210_term);
	$filter_210_limit = 1;
	$filter_210_trackback_limit = 1;
	$filter_210_author_count = substr_count($commentdata_comment_author_lc, $filter_210_term);
	$filter_210_author_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_210_count;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_210_author_count;

	// Sex-Related Filter
	// Filter 104: Number of occurrences of 'p**n' in comment_content
	$filter_104_count = substr_count($commentdata_comment_content_lc, 'p**n');
	$filter_104_limit = 5;
	$filter_104_trackback_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_104_count;
	// Filter 105: Number of occurrences of 'teen p**n' in comment_content
	$filter_105_count = substr_count($commentdata_comment_content_lc, 'teen p**n');
	$filter_105_limit = 1;
	$filter_105_trackback_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_105_count;
	// Filter 106: Number of occurrences of 'rape p**n' in comment_content
	$filter_106_count = substr_count($commentdata_comment_content_lc, 'rape p**n');
	$filter_106_limit = 1;
	$filter_106_trackback_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_106_count;
	// Filter 107: Number of occurrences of 'incest p**n' in comment_content
	$filter_107_count = substr_count($commentdata_comment_content_lc, 'incest p**n');
	$filter_107_limit = 1;
	$filter_107_trackback_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_107_count;
	// Filter 108: Number of occurrences of 'hentai' in comment_content
	$filter_108_count = substr_count($commentdata_comment_content_lc, 'hentai');
	$filter_108_limit = 2;
	$filter_108_trackback_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_108_count;
	// Filter 109: Number of occurrences of 'sex movie' in comment_content
	$filter_109_count = substr_count($commentdata_comment_content_lc, 'sex movie');
	$filter_109_limit = 2;
	$filter_109_trackback_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_109_count;
	// Filter 110: Number of occurrences of 'sex tape' in comment_content
	$filter_110_count = substr_count($commentdata_comment_content_lc, 'sex tape');
	$filter_110_limit = 2;
	$filter_110_trackback_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_110_count;
	// Filter 111: Number of occurrences of 'sex' in comment_content
	$filter_111_count = substr_count($commentdata_comment_content_lc, 'sex');
	$filter_111_limit = 5; // you may increase to 15+ if blog's topic is adult in nature
	$filter_111_trackback_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_111_count;
	// Filter 112: Number of occurrences of 'sex' in comment_content
	$filter_112_count = substr_count($commentdata_comment_content_lc, 'pussy');
	$filter_112_limit = 3;
	$filter_112_trackback_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_112_count;
	// Filter 113: Number of occurrences of 'penis' in comment_content
	$filter_113_count = substr_count($commentdata_comment_content_lc, 'penis');
	$filter_113_limit = 3;
	$filter_113_trackback_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_113_count;
	// Filter 114: Number of occurrences of 'v****a' in comment_content
	$filter_114_count = substr_count($commentdata_comment_content_lc, 'v****a');
	$filter_114_limit = 3;
	$filter_114_trackback_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_114_count;
	// Filter 115: Number of occurrences of 'gay p**n' in comment_content
	$filter_115_count = substr_count($commentdata_comment_content_lc, 'gay p**n');
	$filter_115_limit = 2;
	$filter_115_trackback_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_115_count;
	// Filter 116: Number of occurrences of 'torture p**n' in comment_content
	$filter_116_count = substr_count($commentdata_comment_content_lc, 'torture p**n');
	$filter_116_limit = 1;
	$filter_116_trackback_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_116_count;
	// Filter 117: Number of occurrences of 'masturbation' in comment_content
	$filter_117_count = substr_count($commentdata_comment_content_lc, 'masturbation');
	$filter_117_limit = 3;
	$filter_117_trackback_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_117_count;
	// Filter 118: Number of occurrences of 'masterbation' in comment_content
	$filter_118_count = substr_count($commentdata_comment_content_lc, 'masterbation');
	$filter_118_limit = 2;
	$filter_118_trackback_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_118_count;
	// Filter 119: Number of occurrences of 'm********e' in comment_content
	$filter_119_count = substr_count($commentdata_comment_content_lc, 'm********e');
	$filter_119_limit = 3;
	$filter_119_trackback_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_119_count;
	// Filter 120: Number of occurrences of 'masterbate' in comment_content
	$filter_120_count = substr_count($commentdata_comment_content_lc, 'masterbate');
	$filter_120_limit = 2;
	$filter_120_trackback_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_120_count;
	// Filter 121: Number of occurrences of 'masturbating' in comment_content
	$filter_121_count = substr_count($commentdata_comment_content_lc, 'masturbating');
	$filter_121_limit = 3;
	$filter_121_trackback_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_121_count;
	// Filter 122: Number of occurrences of 'masterbating' in comment_content
	$filter_122_count = substr_count($commentdata_comment_content_lc, 'masterbating');
	$filter_122_limit = 2;
	$filter_122_trackback_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_122_count;
	// Filter 123: Number of occurrences of 'anal sex' in comment_content
	$filter_123_count = substr_count($commentdata_comment_content_lc, 'anal sex');
	$filter_123_limit = 3;
	$filter_123_trackback_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_123_count;
	// Filter 124: Number of occurrences of 'xxx' in comment_content
	$filter_124_count = substr_count($commentdata_comment_content_lc, 'xxx');
	$filter_124_limit = 5;
	$filter_124_trackback_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_124_count;
	// Filter 125: Number of occurrences of 'naked' in comment_content
	$filter_125_count = substr_count($commentdata_comment_content_lc, 'naked');
	$filter_125_limit = 5;
	$filter_125_trackback_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_125_count;
	// Filter 126: Number of occurrences of 'nude' in comment_content
	$filter_126_count = substr_count($commentdata_comment_content_lc, 'nude');
	$filter_126_limit = 5;
	$filter_126_trackback_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_126_count;
	// Filter 127: Number of occurrences of 'f*****g' in comment_content
	$filter_127_count = substr_count($commentdata_comment_content_lc, 'f*****g');
	$filter_127_limit = 5;
	$filter_127_trackback_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_127_count;
	// Filter 128: Number of occurrences of 'o****m' in comment_content
	$filter_128_count = substr_count($commentdata_comment_content_lc, 'o****m');
	$filter_128_limit = 5;
	$filter_128_trackback_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_128_count;
	// Filter 129: Number of occurrences of 'pron' in comment_content
	$filter_129_count = substr_count($commentdata_comment_content_lc, 'pron');
	$filter_129_limit = 5;
	$filter_129_trackback_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_129_count;
	// Filter 130: Number of occurrences of 'bestiality' in comment_content
	$filter_130_count = substr_count($commentdata_comment_content_lc, 'bestiality');
	$filter_130_limit = 2;
	$filter_130_trackback_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_130_count;
	// Filter 131: Number of occurrences of 'animal sex' in comment_content
	$filter_131_count = substr_count($commentdata_comment_content_lc, 'animal sex');
	$filter_131_limit = 2;
	$filter_131_trackback_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_131_count;
	// Filter 132: Number of occurrences of 'd***o' in comment_content
	$filter_132_count = substr_count($commentdata_comment_content_lc, 'd***o');
	$filter_132_limit = 4;
	$filter_132_trackback_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_132_count;
	// Filter 133: Number of occurrences of 'e*******e' in comment_content
	$filter_133_count = substr_count($commentdata_comment_content_lc, 'e*******e');
	$filter_133_limit = 3;
	$filter_133_trackback_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_133_count;
	// Filter 134: Number of occurrences of 'e*********n' in comment_content
	$filter_134_count = substr_count($commentdata_comment_content_lc, 'e*********n');
	$filter_134_limit = 3;
	$filter_134_trackback_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_134_count;
	// Filter 135: Number of occurrences of 'ejaculating' in comment_content
	$filter_135_count = substr_count($commentdata_comment_content_lc, 'ejaculating');
	$filter_135_limit = 3;
	$filter_135_trackback_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_135_count;
	// Filter 136: Number of occurrences of 'lesbian' in comment_content
	$filter_136_count = substr_count($commentdata_comment_content_lc, 'lesbian');
	$filter_136_limit = 7;
	$filter_136_trackback_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_136_count;
	// Filter 137: Number of occurrences of 'sex video' in comment_content
	$filter_137_count = substr_count($commentdata_comment_content_lc, 'sex video');
	$filter_137_limit = 2;
	$filter_137_trackback_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_137_count;
	// Filter 138: Number of occurrences of ' anal ' in comment_content
	$filter_138_count = substr_count($commentdata_comment_content_lc, ' anal ');
	$filter_138_limit = 5;
	$filter_138_trackback_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_138_count;
	// Filter 139: Number of occurrences of '>anal ' in comment_content
	$filter_139_count = substr_count($commentdata_comment_content_lc, '>anal ');
	$filter_139_limit = 5;
	$filter_139_trackback_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_139_count;
	// Filter 140: Number of occurrences of 'desnuda' in comment_content
	$filter_140_count = substr_count($commentdata_comment_content_lc, 'desnuda');
	$filter_140_limit = 5;
	$filter_140_trackback_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_140_count;
	// Filter 141: Number of occurrences of 'cumshots' in comment_content
	$filter_141_count = substr_count($commentdata_comment_content_lc, 'cumshots');
	$filter_141_limit = 2;
	$filter_141_trackback_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_141_count;
	// Filter 142: Number of occurrences of 'porntube' in comment_content
	$filter_142_count = substr_count($commentdata_comment_content_lc, 'porntube');
	$filter_142_limit = 2;
	$filter_142_trackback_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_142_count;
	// Filter 143: Number of occurrences of 'f**k' in comment_content
	$filter_143_count = substr_count($commentdata_comment_content_lc, 'f**k');
	$filter_143_limit = 6;
	$filter_143_trackback_limit = 2;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_143_count;
	// Filter 144: Number of occurrences of 'celebrity' in comment_content
	$filter_144_count = substr_count($commentdata_comment_content_lc, 'celebrity');
	$filter_144_limit = 6;
	$filter_144_trackback_limit = 6;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_144_count;
	// Filter 145: Number of occurrences of 'celebrities' in comment_content
	$filter_145_count = substr_count($commentdata_comment_content_lc, 'celebrities');
	$filter_145_limit = 6;
	$filter_145_trackback_limit = 6;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_145_count;
	// Filter 146: Number of occurrences of 'erotic' in comment_content
	$filter_146_count = substr_count($commentdata_comment_content_lc, 'erotic');
	$filter_146_limit = 6;
	$filter_146_trackback_limit = 4;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_146_count;
	// Filter 147: Number of occurrences of 'gay' in comment_content
	$filter_147_count = substr_count($commentdata_comment_content_lc, 'gay');
	$filter_147_limit = 7;
	$filter_147_trackback_limit = 4;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_147_count;
	// Filter 148: Number of occurrences of 'heterosexual' in comment_content
	$filter_148_count = substr_count($commentdata_comment_content_lc, 'heterosexual');
	$filter_148_limit = 7;
	$filter_148_trackback_limit = 4;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_148_count;
	// Filter 149: Number of occurrences of 'b*****b' in comment_content
	$filter_149_count = substr_count($commentdata_comment_content_lc, 'b*****b');
	$filter_149_limit = 2;
	$filter_149_trackback_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_149_count;
	// Filter 150: Number of occurrences of 'blow job' in comment_content
	$filter_150_count = substr_count($commentdata_comment_content_lc, 'blow job');
	$filter_150_limit = 2;
	$filter_150_trackback_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_150_count;
	// Filter 151: Number of occurrences of 'rape' in comment_content
	$filter_151_count = substr_count($commentdata_comment_content_lc, 'rape');
	$filter_151_limit = 5;
	$filter_151_trackback_limit = 3;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_151_count;
	// Filter 152: Number of occurrences of 'prostitute' in comment_content
	$filter_152_count = substr_count($commentdata_comment_content_lc, 'prostitute');
	$filter_152_limit = 7;
	$filter_152_trackback_limit = 5;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_152_count;
	// Filter 153: Number of occurrences of 'call girl' in comment_content
	$filter_153_count = substr_count($commentdata_comment_content_lc, 'call girl');
	$filter_153_limit = 7;
	$filter_153_trackback_limit = 5;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_153_count;
	// Filter 154: Number of occurrences of 'escort service' in comment_content
	$filter_154_count = substr_count($commentdata_comment_content_lc, 'escort service');
	$filter_154_limit = 7;
	$filter_154_trackback_limit = 5;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_154_count;
	// Filter 155: Number of occurrences of 'sexual service' in comment_content
	$filter_155_count = substr_count($commentdata_comment_content_lc, 'sexual service');
	$filter_155_limit = 7;
	$filter_155_trackback_limit = 5;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_155_count;
	// Filter 156: Number of occurrences of 'adult movie' in comment_content
	$filter_156_count = substr_count($commentdata_comment_content_lc, 'adult movie');
	$filter_156_limit = 4;
	$filter_156_trackback_limit = 2;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_156_count;
	// Filter 157: Number of occurrences of 'adult video' in comment_content
	$filter_157_count = substr_count($commentdata_comment_content_lc, 'adult video');
	$filter_157_limit = 4;
	$filter_157_trackback_limit = 2;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_157_count;
	// Filter 158: Number of occurrences of 'clitoris' in comment_content
	$filter_158_count = substr_count($commentdata_comment_content_lc, 'clitoris');
	$filter_158_limit = 3;
	$filter_158_trackback_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_158_count;
	
	// Pingback/Trackback Filters
	// Filter 200: Pingback: Blank data in comment_content: [...]  [...]
	$filter_200_count = substr_count($commentdata_comment_content_lc, '[...]  [...]');
	$filter_200_limit = 1;
	$filter_200_trackback_limit = 1;

	// Authors Only - Non-Trackback
	// SEO/WebDev/Offshore-Related Filter - 
	// Filter 300: Number of occurrences of 'web development' in comment_author
	$filter_300_term = 'web development'; //'web development'
	$filter_300_count = substr_count($commentdata_comment_content_lc, $filter_300_term);
	$filter_300_limit = 8;
	$filter_300_trackback_limit = 8;
	$filter_300_author_count = substr_count($commentdata_comment_author_lc, $filter_300_term);
	$filter_300_author_limit = 1;
	//$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_300_count;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_300_author_count;
	// Filter 301: Number of occurrences of 'website development' in comment_author
	$filter_301_term = 'website development';
	$filter_301_count = substr_count($commentdata_comment_content_lc, $filter_301_term);
	$filter_301_limit = 8;
	$filter_301_trackback_limit = 8;
	$filter_301_author_count = substr_count($commentdata_comment_author_lc, $filter_301_term);
	$filter_301_author_limit = 1;
	//$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_301_count;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_301_author_count;
	// Filter 302: Number of occurrences of 'web site development' in comment_author
	$filter_302_term = 'web site development';
	$filter_302_count = substr_count($commentdata_comment_content_lc, $filter_302_term);
	$filter_302_limit = 8;
	$filter_302_trackback_limit = 8;
	$filter_302_author_count = substr_count($commentdata_comment_author_lc, $filter_302_term);
	$filter_302_author_limit = 1;
	//$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_302_count;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_302_author_count;
	// Filter 303: Number of occurrences of 'web design' in comment_author
	$filter_303_term = 'web design';
	$filter_303_count = substr_count($commentdata_comment_content_lc, $filter_303_term);
	$filter_303_limit = 8;
	$filter_303_trackback_limit = 8;
	$filter_303_author_count = substr_count($commentdata_comment_author_lc, $filter_303_term);
	$filter_303_author_limit = 1;
	//$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_303_count;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_303_author_count;
	// Filter 304: Number of occurrences of 'website design' in comment_author
	$filter_304_term = 'website design';
	$filter_304_count = substr_count($commentdata_comment_content_lc, $filter_304_term);
	$filter_304_limit = 8;
	$filter_304_trackback_limit = 8;
	$filter_304_author_count = substr_count($commentdata_comment_author_lc, $filter_304_term);
	$filter_304_author_limit = 1;
	//$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_304_count;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_304_author_count;
	// Filter 305: Number of occurrences of 'web site design' in comment_author
	$filter_305_term = 'web site design';
	$filter_305_count = substr_count($commentdata_comment_content_lc, $filter_305_term);
	$filter_305_limit = 8;
	$filter_305_trackback_limit = 8;
	$filter_305_author_count = substr_count($commentdata_comment_author_lc, $filter_305_term);
	$filter_305_author_limit = 1;
	//$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_305_count;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_305_author_count;
	// Filter 306: Number of occurrences of 'search engine optimization' in comment_author
	$filter_306_term = 'search engine optimization';
	$filter_306_count = substr_count($commentdata_comment_content_lc, $filter_306_term);
	$filter_306_limit = 8;
	$filter_306_trackback_limit = 8;
	$filter_306_author_count = substr_count($commentdata_comment_author_lc, $filter_306_term);
	$filter_306_author_limit = 1;
	//$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_306_count;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_306_author_count;
	// Filter 307: Number of occurrences of 'link building' in comment_author
	$filter_307_term = 'link building';
	$filter_307_count = substr_count($commentdata_comment_content_lc, $filter_307_term);
	$filter_307_limit = 8;
	$filter_307_trackback_limit = 8;
	$filter_307_author_count = substr_count($commentdata_comment_author_lc, $filter_307_term);
	$filter_307_author_limit = 1;
	//$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_307_count;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_307_author_count;
	// Filter 308: Number of occurrences of 'india offshore' in comment_author
	$filter_308_term = 'india offshore';
	$filter_308_count = substr_count($commentdata_comment_content_lc, $filter_308_term);
	$filter_308_limit = 8;
	$filter_308_trackback_limit = 8;
	$filter_308_author_count = substr_count($commentdata_comment_author_lc, $filter_308_term);
	$filter_308_author_limit = 1;
	//$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_308_count;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_308_author_count;
	// Filter 309: Number of occurrences of 'offshore india' in comment_author
	$filter_309_term = 'offshore india';
	$filter_309_count = substr_count($commentdata_comment_content_lc, $filter_309_term);
	$filter_309_limit = 8;
	$filter_309_trackback_limit = 8;
	$filter_309_author_count = substr_count($commentdata_comment_author_lc, $filter_309_term);
	$filter_309_author_limit = 1;
	//$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_309_count;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_309_author_count;
	// Filter 310: Number of occurrences of ' seo ' in comment_author & comment_author
	$filter_310_term = ' seo ';
	$filter_310_count = substr_count($commentdata_comment_content_lc, $filter_310_term);
	$filter_310_limit = 8;
	$filter_310_trackback_limit = 8;
	$filter_310_author_count = substr_count($commentdata_comment_author_lc_space, $filter_310_term);
	$filter_310_author_limit = 1;
	//$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_310_count;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_310_author_count;
	// Filter 311: Number of occurrences of 'search engine marketing' in comment_author
	$filter_311_term = 'search engine marketing';
	$filter_311_count = substr_count($commentdata_comment_content_lc, $filter_311_term);
	$filter_311_limit = 8;
	$filter_311_trackback_limit = 8;
	$filter_311_author_count = substr_count($commentdata_comment_author_lc, $filter_311_term);
	$filter_311_author_limit = 1;
	//$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_311_count;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_311_author_count;
	// Filter 312: Number of occurrences of 'internet marketing' in comment_author
	$filter_312_term = 'internet marketing';
	$filter_312_count = substr_count($commentdata_comment_content_lc, $filter_312_term);
	$filter_312_limit = 8;
	$filter_312_trackback_limit = 8;
	$filter_312_author_count = substr_count($commentdata_comment_author_lc, $filter_312_term);
	$filter_312_author_limit = 1;
	//$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_312_count;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_312_author_count;
	// Filter 313: Number of occurrences of 'social media optimization' in comment_author
	$filter_313_term = 'social media optimization';
	$filter_313_count = substr_count($commentdata_comment_content_lc, $filter_313_term);
	$filter_313_limit = 8;
	$filter_313_trackback_limit = 8;
	$filter_313_author_count = substr_count($commentdata_comment_author_lc, $filter_313_term);
	$filter_313_author_limit = 1;
	//$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_313_count;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_313_author_count;
	// Filter 314: Number of occurrences of 'social media marketing' in comment_author
	$filter_314_term = 'social media marketing';
	$filter_314_count = substr_count($commentdata_comment_content_lc, $filter_314_term);
	$filter_314_limit = 8;
	$filter_314_trackback_limit = 8;
	$filter_314_author_count = substr_count($commentdata_comment_author_lc, $filter_314_term);
	$filter_314_author_limit = 1;
	//$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_314_count;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_314_author_count;
	// Filter 315: Number of occurrences of 'web developer' in comment_author
	$filter_315_term = 'web developer'; //'web development'
	$filter_315_count = substr_count($commentdata_comment_content_lc, $filter_315_term);
	$filter_315_limit = 8;
	$filter_315_trackback_limit = 8;
	$filter_315_author_count = substr_count($commentdata_comment_author_lc, $filter_315_term);
	$filter_315_author_limit = 1;
	//$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_315_count;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_315_author_count;
	// Filter 316: Number of occurrences of 'website developer' in comment_author
	$filter_316_term = 'website developer';
	$filter_316_count = substr_count($commentdata_comment_content_lc, $filter_316_term);
	$filter_316_limit = 8;
	$filter_316_trackback_limit = 8;
	$filter_316_author_count = substr_count($commentdata_comment_author_lc, $filter_316_term);
	$filter_316_author_limit = 1;
	//$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_316_count;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_316_author_count;
	// Filter 317: Number of occurrences of 'web site developer' in comment_author
	$filter_317_term = 'web site developer';
	$filter_317_count = substr_count($commentdata_comment_content_lc, $filter_317_term);
	$filter_317_limit = 8;
	$filter_317_trackback_limit = 8;
	$filter_317_author_count = substr_count($commentdata_comment_author_lc, $filter_317_term);
	$filter_317_author_limit = 1;
	//$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_317_count;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_317_author_count;
	// Filter 318: Number of occurrences of 'javascript' in comment_author
	$filter_318_term = 'javascript';
	$filter_318_count = substr_count($commentdata_comment_content_lc, $filter_318_term);
	$filter_318_limit = 8;
	$filter_318_trackback_limit = 8;
	$filter_318_author_count = substr_count($commentdata_comment_author_lc, $filter_318_term);
	$filter_318_author_limit = 1;
	//$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_318_count;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_318_author_count;
	// Filter 319: Number of occurrences of 'search engine optimizer' in comment_author
	$filter_319_term = 'search engine optimizer';
	$filter_319_count = substr_count($commentdata_comment_content_lc, $filter_319_term);
	$filter_319_limit = 8;
	$filter_319_trackback_limit = 8;
	$filter_319_author_count = substr_count($commentdata_comment_author_lc, $filter_319_term);
	$filter_319_author_limit = 1;
	//$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_319_count;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_319_author_count;
	// Filter 320: Number of occurrences of 'link builder' in comment_author
	$filter_320_term = 'link builder';
	$filter_320_count = substr_count($commentdata_comment_content_lc, $filter_320_term);
	$filter_320_limit = 8;
	$filter_320_trackback_limit = 8;
	$filter_320_author_count = substr_count($commentdata_comment_author_lc, $filter_320_term);
	$filter_320_author_limit = 1;
	//$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_320_count;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_320_author_count;
	// Filter 321: Number of occurrences of 'search engine marketer' in comment_author
	$filter_321_term = 'search engine marketer';
	$filter_321_count = substr_count($commentdata_comment_content_lc, $filter_321_term);
	$filter_321_limit = 8;
	$filter_321_trackback_limit = 8;
	$filter_321_author_count = substr_count($commentdata_comment_author_lc, $filter_321_term);
	$filter_321_author_limit = 1;
	//$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_321_count;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_321_author_count;
	// Filter 322: Number of occurrences of 'internet marketer' in comment_author
	$filter_322_term = 'internet marketer';
	$filter_322_count = substr_count($commentdata_comment_content_lc, $filter_322_term);
	$filter_322_limit = 8;
	$filter_322_trackback_limit = 8;
	$filter_322_author_count = substr_count($commentdata_comment_author_lc, $filter_322_term);
	$filter_322_author_limit = 1;
	//$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_322_count;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_322_author_count;
	// Filter 323: Number of occurrences of 'social media optimizer' in comment_author
	$filter_323_term = 'social media optimizer';
	$filter_323_count = substr_count($commentdata_comment_content_lc, $filter_323_term);
	$filter_323_limit = 8;
	$filter_323_trackback_limit = 8;
	$filter_323_author_count = substr_count($commentdata_comment_author_lc, $filter_323_term);
	$filter_323_author_limit = 1;
	//$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_323_count;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_323_author_count;
	// Filter 324: Number of occurrences of 'social media marketer' in comment_author
	$filter_324_term = 'social media marketer';
	$filter_324_count = substr_count($commentdata_comment_content_lc, $filter_324_term);
	$filter_324_limit = 8;
	$filter_324_trackback_limit = 8;
	$filter_324_author_count = substr_count($commentdata_comment_author_lc, $filter_324_term);
	$filter_324_author_limit = 1;
	//$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_324_count;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_324_author_count;
	// Filter 325: Number of occurrences of 'social media consultant' in comment_author
	$filter_325_term = 'social media consultant';
	$filter_325_count = substr_count($commentdata_comment_content_lc, $filter_325_term);
	$filter_325_limit = 8;
	$filter_325_trackback_limit = 8;
	$filter_325_author_count = substr_count($commentdata_comment_author_lc, $filter_325_term);
	$filter_325_author_limit = 1;
	//$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_325_count;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_325_author_count;
	// Filter 326: Number of occurrences of 'social media consulting' in comment_author
	$filter_326_term = 'social media consulting';
	$filter_326_count = substr_count($commentdata_comment_content_lc, $filter_326_term);
	$filter_326_limit = 8;
	$filter_326_trackback_limit = 8;
	$filter_326_author_count = substr_count($commentdata_comment_author_lc, $filter_326_term);
	$filter_326_author_limit = 1;
	//$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_326_count;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_326_author_count;
	// Filter 327: Number of occurrences of 'web promotion' in comment_author
	$filter_327_term = 'web promotion'; 
	$filter_327_count = substr_count($commentdata_comment_content_lc, $filter_327_term);
	$filter_327_limit = 8;
	$filter_327_trackback_limit = 8;
	$filter_327_author_count = substr_count($commentdata_comment_author_lc, $filter_327_term);
	$filter_327_author_limit = 1;
	//$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_327_count;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_327_author_count;
	// Filter 328: Number of occurrences of 'website promotion' in comment_author
	$filter_328_term = 'website promotion';
	$filter_328_count = substr_count($commentdata_comment_content_lc, $filter_328_term);
	$filter_328_limit = 8;
	$filter_328_trackback_limit = 8;
	$filter_328_author_count = substr_count($commentdata_comment_author_lc, $filter_328_term);
	$filter_328_author_limit = 1;
	//$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_328_count;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_328_author_count;
	// Filter 329: Number of occurrences of 'web site promotion' in comment_author
	$filter_329_term = 'web site promotion';
	$filter_329_count = substr_count($commentdata_comment_content_lc, $filter_329_term);
	$filter_329_limit = 8;
	$filter_329_trackback_limit = 8;
	$filter_329_author_count = substr_count($commentdata_comment_author_lc, $filter_329_term);
	$filter_329_author_limit = 1;
	//$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_329_count;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_329_author_count;
	// Filter 330: Number of occurrences of 'search engine ranking' in comment_author
	$filter_330_term = 'search engine ranking';
	$filter_330_count = substr_count($commentdata_comment_content_lc, $filter_330_term);
	$filter_330_limit = 8;
	$filter_330_trackback_limit = 8;
	$filter_330_author_count = substr_count($commentdata_comment_author_lc, $filter_330_term);
	$filter_330_author_limit = 1;
	//$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_330_count;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_330_author_count;
	// Filter 331: Number of occurrences of 'modulesoft' in comment_author
	$filter_331_term = 'modulesoft';
	$filter_331_count = substr_count($commentdata_comment_content_lc, $filter_331_term);
	$filter_331_limit = 8;
	$filter_331_trackback_limit = 8;
	$filter_331_author_count = substr_count($commentdata_comment_author_lc, $filter_331_term);
	$filter_331_author_limit = 1;
	//$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_331_count;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_331_author_count;
	// Filter 332: Number of occurrences of 'zoekmachine optimalisatie' in comment_author
	$filter_332_term = 'zoekmachine optimalisatie';
	$filter_332_count = substr_count($commentdata_comment_content_lc, $filter_332_term);
	$filter_332_limit = 8;
	$filter_332_trackback_limit = 8;
	$filter_332_author_count = substr_count($commentdata_comment_author_lc, $filter_332_term);
	$filter_332_author_limit = 1;
	//$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_332_count;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_332_author_count;
	// Filter 333: Number of occurrences of 'data entry india' in comment_author
	$filter_333_term = 'data entry india';
	$filter_333_count = substr_count($commentdata_comment_content_lc, $filter_333_term);
	$filter_333_limit = 8;
	$filter_333_trackback_limit = 8;
	$filter_333_author_count = substr_count($commentdata_comment_author_lc, $filter_333_term);
	$filter_333_author_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_333_count;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_333_author_count;
	// Filter 334: Number of occurrences of 'webdesigner' in comment_author
	$filter_334_term = 'webdesigner';
	$filter_334_count = substr_count($commentdata_comment_content_lc, $filter_334_term);
	$filter_334_limit = 8;
	$filter_334_trackback_limit = 8;
	$filter_334_author_count = substr_count($commentdata_comment_author_lc, $filter_334_term);
	$filter_334_author_limit = 1;
	//$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_334_count;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_334_author_count;
	// Filter 335: Number of occurrences of 'webdesign' in comment_author
	$filter_335_term = 'webdesign';
	$filter_335_count = substr_count($commentdata_comment_content_lc, $filter_335_term);
	$filter_335_limit = 8;
	$filter_335_trackback_limit = 8;
	$filter_335_author_count = substr_count($commentdata_comment_author_lc, $filter_335_term);
	$filter_335_author_limit = 1;
	//$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_335_count;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_335_author_count;
	// Other
	// Filter 336: Number of occurrences of 'company' in comment_author
	$filter_336_term = 'company';
	$filter_336_count = substr_count($commentdata_comment_content_lc, $filter_336_term);
	$filter_336_limit = 15;
	$filter_336_trackback_limit = 15;
	$filter_336_author_count = substr_count($commentdata_comment_author_lc, $filter_336_term);
	$filter_336_author_limit = 1;
	//$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_336_count;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_336_author_count;
	// Filter 337: Number of occurrences of 'blackjack' in comment_author
	$filter_337_term = 'blackjack';
	$filter_337_count = substr_count($commentdata_comment_content_lc, $filter_337_term);
	$filter_337_limit = 12;
	$filter_337_trackback_limit = 12;
	$filter_337_author_count = substr_count($commentdata_comment_author_lc, $filter_337_term);
	$filter_337_author_limit = 1;
	//$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_337_count;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_337_author_count;
	// Filter 338: Number of occurrences of 'website' in comment_author
	$filter_338_term = 'website';
	$filter_338_count = substr_count($commentdata_comment_content_lc, $filter_338_term);
	$filter_338_limit = 25;
	$filter_338_trackback_limit = 25;
	$filter_338_author_count = substr_count($commentdata_comment_author_lc, $filter_338_term);
	$filter_338_author_limit = 1;
	//$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_338_count;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_338_author_count;
	// Filter 339: Number of occurrences of 'template' in comment_author
	$filter_339_term = 'template';
	$filter_339_count = substr_count($commentdata_comment_content_lc, $filter_339_term);
	$filter_339_limit = 25;
	$filter_339_trackback_limit = 25;
	$filter_339_author_count = substr_count($commentdata_comment_author_lc, $filter_339_term);
	$filter_339_author_limit = 1;
	//$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_339_count;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_339_author_count;
	// Filter 340: Number of occurrences of 'gambling' in comment_author
	$filter_340_term = 'gambling';
	$filter_340_count = substr_count($commentdata_comment_content_lc, $filter_340_term);
	$filter_340_limit = 12;
	$filter_340_trackback_limit = 12;
	$filter_340_author_count = substr_count($commentdata_comment_author_lc, $filter_340_term);
	$filter_340_author_limit = 1;
	//$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_340_count;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_340_author_count;
	// Filter 341: Number of occurrences of 'phpdug' in comment_author
	$filter_341_term = 'phpdug';
	$filter_341_count = substr_count($commentdata_comment_content_lc, $filter_341_term);
	$filter_341_limit = 12;
	$filter_341_trackback_limit = 12;
	$filter_341_author_count = substr_count($commentdata_comment_author_lc, $filter_341_term);
	$filter_341_author_limit = 1;
	//$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_341_count;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_341_author_count;
	// Filter 342: Number of occurrences of 'social poster' in comment_author
	$filter_342_term = 'social poster';
	$filter_342_count = substr_count($commentdata_comment_content_lc, $filter_342_term);
	$filter_342_limit = 12;
	$filter_342_trackback_limit = 12;
	$filter_342_author_count = substr_count($commentdata_comment_author_lc, $filter_342_term);
	$filter_342_author_limit = 1;
	//$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_342_count;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_342_author_count;
	// Filter 343: Number of occurrences of 'submitter' in comment_author
	$filter_343_term = 'submitter';
	$filter_343_count = substr_count($commentdata_comment_content_lc, $filter_343_term);
	$filter_343_limit = 30;
	$filter_343_trackback_limit = 30;
	$filter_343_author_count = substr_count($commentdata_comment_author_lc, $filter_343_term);
	$filter_343_author_limit = 1;
	//$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_343_count;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_343_author_count;
	// Filter 344: Number of occurrences of ' review' in comment_author
	$filter_344_term = ' review';
	$filter_344_count = substr_count($commentdata_comment_content_lc, $filter_344_term);
	$filter_344_limit = 30;
	$filter_344_trackback_limit = 30;
	$filter_344_author_count = substr_count($commentdata_comment_author_lc, $filter_344_term);
	$filter_344_author_limit = 1;
	//$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_344_count;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_344_author_count;
	// Filter 345: Number of occurrences of 'property vault' in comment_author
	$filter_345_term = 'property vault';
	$filter_345_count = substr_count($commentdata_comment_content_lc, $filter_345_term);
	$filter_345_limit = 12;
	$filter_345_trackback_limit = 12;
	$filter_345_author_count = substr_count($commentdata_comment_author_lc, $filter_345_term);
	$filter_345_author_limit = 1;
	//$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_345_count;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_345_author_count;
	// Filter 346: Number of occurrences of ' seminar' in comment_author
	$filter_346_term = ' seminar';
	$filter_346_count = substr_count($commentdata_comment_content_lc, $filter_346_term);
	$filter_346_limit = 25;
	$filter_346_trackback_limit = 25;
	$filter_346_author_count = substr_count($commentdata_comment_author_lc, $filter_346_term);
	$filter_346_author_limit = 1;
	//$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_346_count;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_346_author_count;
	// Filter 347: Number of occurrences of 'foreclosure' in comment_author
	$filter_347_term = 'foreclosure';
	$filter_347_count = substr_count($commentdata_comment_content_lc, $filter_347_term);
	$filter_347_limit = 25;
	$filter_347_trackback_limit = 25;
	$filter_347_author_count = substr_count($commentdata_comment_author_lc, $filter_347_term);
	$filter_347_author_limit = 1;
	//$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_347_count;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_347_author_count;
	// Filter 348: Number of occurrences of 'trackback submitter' in comment_author
	$filter_348_term = 'trackback submitter';
	$filter_348_count = substr_count($commentdata_comment_content_lc, $filter_348_term);
	$filter_348_limit = 12;
	$filter_348_trackback_limit = 12;
	$filter_348_author_count = substr_count($commentdata_comment_author_lc, $filter_348_term);
	$filter_348_author_limit = 1;
	//$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_348_count;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_348_author_count;
	// Filter 349: Number of occurrences of 'earn money' in comment_author
	$filter_349_term = 'earn money';
	$filter_349_count = substr_count($commentdata_comment_content_lc, $filter_349_term);
	$filter_349_limit = 12;
	$filter_349_trackback_limit = 12;
	$filter_349_author_count = substr_count($commentdata_comment_author_lc, $filter_349_term);
	$filter_349_author_limit = 1;
	//$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_349_count;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_349_author_count;
	// Filter 350: Number of occurrences of 'software' in comment_author
	$filter_350_term = 'software';
	$filter_350_count = substr_count($commentdata_comment_content_lc, $filter_350_term);
	$filter_350_limit = 25;
	$filter_350_trackback_limit = 25;
	$filter_350_author_count = substr_count($commentdata_comment_author_lc, $filter_350_term);
	$filter_350_author_limit = 1;
	//$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_350_count;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_350_author_count;
	// Filter 351: Number of occurrences of 'home design' in comment_author
	$filter_351_term = 'home design';
	$filter_351_count = substr_count($commentdata_comment_content_lc, $filter_351_term);
	$filter_351_limit = 25;
	$filter_351_trackback_limit = 25;
	$filter_351_author_count = substr_count($commentdata_comment_author_lc, $filter_351_term);
	$filter_351_author_limit = 1;
	//$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_351_count;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_351_author_count;
	// Filter 352: Number of occurrences of 'webmaster' in comment_author
	$filter_352_term = 'webmaster';
	$filter_352_count = substr_count($commentdata_comment_content_lc, $filter_352_term);
	$filter_352_limit = 25;
	$filter_352_trackback_limit = 25;
	$filter_352_author_count = substr_count($commentdata_comment_author_lc, $filter_352_term);
	$filter_352_author_limit = 1;
	//$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_352_count;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_352_author_count;
	// Filter 353: Number of occurrences of 'learning ' in comment_author
	$filter_353_term = 'learning ';
	$filter_353_count = substr_count($commentdata_comment_content_lc, $filter_353_term);
	$filter_353_limit = 25;
	$filter_353_trackback_limit = 25;
	$filter_353_author_count = substr_count($commentdata_comment_author_lc, $filter_353_term);
	$filter_353_author_limit = 1;
	//$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_353_count;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_353_author_count;
	// Filter 354: Number of occurrences of 'student loans' in comment_author
	$filter_354_term = 'students loans';
	$filter_354_count = substr_count($commentdata_comment_content_lc, $filter_354_term);
	$filter_354_limit = 25;
	$filter_354_trackback_limit = 25;
	$filter_354_author_count = substr_count($commentdata_comment_author_lc, $filter_354_term);
	$filter_354_author_limit = 1;
	//$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_354_count;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_354_author_count;
	// Filter 355: Number of occurrences of 'comments poster' in comment_author
	$filter_355_term = 'comments poster';
	$filter_355_count = substr_count($commentdata_comment_content_lc, $filter_355_term);
	$filter_355_limit = 12;
	$filter_355_trackback_limit = 12;
	$filter_355_author_count = substr_count($commentdata_comment_author_lc, $filter_355_term);
	$filter_355_author_limit = 1;
	//$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_355_count;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_355_author_count;
	// Filter 356: Number of occurrences of 'comment poster' in comment_author
	$filter_356_term = 'comment poster';
	$filter_356_count = substr_count($commentdata_comment_content_lc, $filter_356_term);
	$filter_356_limit = 12;
	$filter_356_trackback_limit = 12;
	$filter_356_author_count = substr_count($commentdata_comment_author_lc, $filter_356_term);
	$filter_356_author_limit = 1;
	//$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_356_count;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_356_author_count;
	// Filter 357: Number of occurrences of 'youtube' in comment_author
	$filter_357_term = 'youtube';
	$filter_357_count = substr_count($commentdata_comment_content_lc, $filter_357_term);
	$filter_357_limit = 25;
	$filter_357_trackback_limit = 25;
	$filter_357_author_count = substr_count($commentdata_comment_author_lc, $filter_357_term);
	$filter_357_author_limit = 1;
	//$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_357_count;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_357_author_count;
	// Filter 358: Number of occurrences of 'united states' in comment_author
	$filter_358_term = 'united states';
	$filter_358_count = substr_count($commentdata_comment_content_lc, $filter_358_term);
	$filter_358_limit = 25;
	$filter_358_trackback_limit = 25;
	$filter_358_author_count = substr_count($commentdata_comment_author_lc, $filter_358_term);
	$filter_358_author_limit = 1;
	//$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_358_count;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_358_author_count;
	// Filter 359: Number of occurrences of 'business' in comment_author
	$filter_359_term = 'business';
	$filter_359_count = substr_count($commentdata_comment_content_lc, $filter_359_term);
	$filter_359_limit = 25;
	$filter_359_trackback_limit = 25;
	$filter_359_author_count = substr_count($commentdata_comment_author_lc, $filter_359_term);
	$filter_359_author_limit = 1;
	//$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_359_count;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_359_author_count;
	// Filter 360: Number of occurrences of 'for sale' in comment_author
	$filter_360_term = 'for sale';
	$filter_360_count = substr_count($commentdata_comment_content_lc, $filter_360_term);
	$filter_360_limit = 25;
	$filter_360_trackback_limit = 25;
	$filter_360_author_count = substr_count($commentdata_comment_author_lc, $filter_360_term);
	$filter_360_author_limit = 1;
	//$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_360_count;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_360_author_count;
	// After this, remove line: //$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_360_count;
	// Filter 361: Number of occurrences of 'buy cheap' in comment_author
	$filter_361_term = 'buy cheap';
	$filter_361_count = substr_count($commentdata_comment_content_lc, $filter_361_term);
	$filter_361_limit = 25;
	$filter_361_trackback_limit = 25;
	$filter_361_author_count = substr_count($commentdata_comment_author_lc, $filter_361_term);
	$filter_361_author_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_361_author_count;
	// Filter 362: Number of occurrences of 'steroid' in comment_author
	$filter_362_term = 'steroid';
	$filter_362_count = substr_count($commentdata_comment_content_lc, $filter_362_term);
	$filter_362_limit = 25;
	$filter_362_trackback_limit = 25;
	$filter_362_author_count = substr_count($commentdata_comment_author_lc, $filter_362_term);
	$filter_362_author_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_362_author_count;
	// Filter 363: Number of occurrences of 'property' in comment_author
	$filter_363_term = 'property';
	$filter_363_count = substr_count($commentdata_comment_content_lc, $filter_363_term);
	$filter_363_limit = 25;
	$filter_363_trackback_limit = 25;
	$filter_363_author_count = substr_count($commentdata_comment_author_lc, $filter_363_term);
	$filter_363_author_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_363_author_count;
	// Filter 364: Number of occurrences of 'logo design' in comment_author
	$filter_364_term = 'logo design';
	$filter_364_count = substr_count($commentdata_comment_content_lc, $filter_364_term);
	$filter_364_limit = 25;
	$filter_364_trackback_limit = 25;
	$filter_364_author_count = substr_count($commentdata_comment_author_lc, $filter_364_term);
	$filter_364_author_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_364_author_count;
	// Filter 365: Number of occurrences of 'injury lawyer' in comment_author
	$filter_365_term = 'injury lawyer';
	$filter_365_count = substr_count($commentdata_comment_content_lc, $filter_365_term);
	$filter_365_limit = 25;
	$filter_365_trackback_limit = 25;
	$filter_365_author_count = substr_count($commentdata_comment_author_lc, $filter_365_term);
	$filter_365_author_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_365_author_count;
	// Filter 366: Number of occurrences of 'internastional' in comment_author
	$filter_366_term = 'internastional';
	$filter_366_count = substr_count($commentdata_comment_content_lc, $filter_366_term);
	$filter_366_limit = 25;
	$filter_366_trackback_limit = 25;
	$filter_366_author_count = substr_count($commentdata_comment_author_lc, $filter_366_term);
	$filter_366_author_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_366_author_count;
	// Filter 367: Number of occurrences of 'information' in comment_author
	$filter_367_term = 'information';
	$filter_367_count = substr_count($commentdata_comment_content_lc, $filter_367_term);
	$filter_367_limit = 25;
	$filter_367_trackback_limit = 25;
	$filter_367_author_count = substr_count($commentdata_comment_author_lc, $filter_367_term);
	$filter_367_author_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_367_author_count;
	// Filter 368: Number of occurrences of 'advertising' in comment_author
	$filter_368_term = 'advertising';
	$filter_368_count = substr_count($commentdata_comment_content_lc, $filter_368_term);
	$filter_368_limit = 25;
	$filter_368_trackback_limit = 25;
	$filter_368_author_count = substr_count($commentdata_comment_author_lc, $filter_368_term);
	$filter_368_author_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_368_author_count;
	// Filter 369: Number of occurrences of 'car rental' in comment_author
	$filter_369_term = 'car rental';
	$filter_369_count = substr_count($commentdata_comment_content_lc, $filter_369_term);
	$filter_369_limit = 25;
	$filter_369_trackback_limit = 25;
	$filter_369_author_count = substr_count($commentdata_comment_author_lc, $filter_369_term);
	$filter_369_author_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_369_author_count;
	// Filter 370: Number of occurrences of 'rent a car' in comment_author
	$filter_370_term = 'rent a car';
	$filter_370_count = substr_count($commentdata_comment_content_lc, $filter_370_term);
	$filter_370_limit = 25;
	$filter_370_trackback_limit = 25;
	$filter_370_author_count = substr_count($commentdata_comment_author_lc, $filter_370_term);
	$filter_370_author_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_370_author_count;
	// Filter 371: Number of occurrences of 'development' in comment_author
	$filter_371_term = 'development';
	$filter_371_count = substr_count($commentdata_comment_content_lc, $filter_371_term);
	$filter_371_limit = 25;
	$filter_371_trackback_limit = 25;
	$filter_371_author_count = substr_count($commentdata_comment_author_lc, $filter_371_term);
	$filter_371_author_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_371_author_count;
	// Filter 372: Number of occurrences of 'technology' in comment_author
	$filter_372_term = 'technology';
	$filter_372_count = substr_count($commentdata_comment_content_lc, $filter_372_term);
	$filter_372_limit = 25;
	$filter_372_trackback_limit = 25;
	$filter_372_author_count = substr_count($commentdata_comment_author_lc, $filter_372_term);
	$filter_372_author_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_372_author_count;
	// Filter 373: Number of occurrences of 'cash advance' in comment_author
	$filter_373_term = 'cash advance';
	$filter_373_count = substr_count($commentdata_comment_content_lc, $filter_373_term);
	$filter_373_limit = 25;
	$filter_373_trackback_limit = 25;
	$filter_373_author_count = substr_count($commentdata_comment_author_lc, $filter_373_term);
	$filter_373_author_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_373_author_count;
	// Filter 374: Number of occurrences of 'forex trading' in comment_author
	$filter_374_term = 'forex trading';
	$filter_374_count = substr_count($commentdata_comment_content_lc, $filter_374_term);
	$filter_374_limit = 25;
	$filter_374_trackback_limit = 25;
	$filter_374_author_count = substr_count($commentdata_comment_author_lc, $filter_374_term);
	$filter_374_author_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_374_author_count;
	// Filter 375: Number of occurrences of 'anonymous' in comment_author
	$filter_375_term = 'anonymous';
	$filter_375_count = substr_count($commentdata_comment_content_lc, $filter_375_term);
	$filter_375_limit = 25;
	$filter_375_trackback_limit = 25;
	$filter_375_author_count = substr_count($commentdata_comment_author_lc, $filter_375_term);
	$filter_375_author_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_375_author_count;
	// Filter 376: Number of occurrences of 'php expert' in comment_author
	$filter_376_term = 'php expert';
	$filter_376_count = substr_count($commentdata_comment_content_lc, $filter_376_term);
	$filter_376_limit = 25;
	$filter_376_trackback_limit = 25;
	$filter_376_author_count = substr_count($commentdata_comment_author_lc, $filter_376_term);
	$filter_376_author_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_376_author_count;
	// Filter 377: Number of occurrences of 'designer handbags' in comment_author
	$filter_377_term = 'designer handbags';
	$filter_377_count = substr_count($commentdata_comment_content_lc, $filter_377_term);
	$filter_377_limit = 25;
	$filter_377_trackback_limit = 25;
	$filter_377_author_count = substr_count($commentdata_comment_author_lc, $filter_377_term);
	$filter_377_author_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_377_author_count;
	// Filter 378: Number of occurrences of 'travel deals' in comment_author
	$filter_378_term = 'travel deals';
	$filter_378_count = substr_count($commentdata_comment_content_lc, $filter_378_term);
	$filter_378_limit = 25;
	$filter_378_trackback_limit = 25;
	$filter_378_author_count = substr_count($commentdata_comment_author_lc, $filter_378_term);
	$filter_378_author_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_378_author_count;
	// Filter 379: Number of occurrences of 'social bookmark' in comment_author
	$filter_379_term = 'social bookmark';
	$filter_379_count = substr_count($commentdata_comment_content_lc, $filter_379_term);
	$filter_379_limit = 25;
	$filter_379_trackback_limit = 25;
	$filter_379_author_count = substr_count($commentdata_comment_author_lc, $filter_379_term);
	$filter_379_author_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_379_author_count;
	// Filter 380: Number of occurrences of 'win now' in comment_author
	$filter_380_term = 'win now';
	$filter_380_count = substr_count($commentdata_comment_content_lc, $filter_380_term);
	$filter_380_limit = 25;
	$filter_380_trackback_limit = 25;
	$filter_380_author_count = substr_count($commentdata_comment_author_lc, $filter_380_term);
	$filter_380_author_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_380_author_count;
	// Filter 381: Number of occurrences of 'poker online' in comment_author
	$filter_381_term = 'poker online';
	$filter_381_count = substr_count($commentdata_comment_content_lc, $filter_381_term);
	$filter_381_limit = 25;
	$filter_381_trackback_limit = 25;
	$filter_381_author_count = substr_count($commentdata_comment_author_lc, $filter_381_term);
	$filter_381_author_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_381_author_count;
	// Filter 382: Number of occurrences of 'online poker' in comment_author
	$filter_382_term = 'online poker';
	$filter_382_count = substr_count($commentdata_comment_content_lc, $filter_382_term);
	$filter_382_limit = 25;
	$filter_382_trackback_limit = 25;
	$filter_382_author_count = substr_count($commentdata_comment_author_lc, $filter_382_term);
	$filter_382_author_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_382_author_count;
	// Filter 383: Number of occurrences of 'college student' in comment_author
	$filter_383_term = 'college student';
	$filter_383_count = substr_count($commentdata_comment_content_lc, $filter_383_term);
	$filter_383_limit = 25;
	$filter_383_trackback_limit = 25;
	$filter_383_author_count = substr_count($commentdata_comment_author_lc, $filter_383_term);
	$filter_383_author_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_383_author_count;
	// Filter 384: Number of occurrences of 'health insurance' in comment_author
	$filter_384_term = 'health insurance';
	$filter_384_count = substr_count($commentdata_comment_content_lc, $filter_384_term);
	$filter_384_limit = 25;
	$filter_384_trackback_limit = 25;
	$filter_384_author_count = substr_count($commentdata_comment_author_lc, $filter_384_term);
	$filter_384_author_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_384_author_count;
	// Filter 385: Number of occurrences of 'click here' in comment_author
	$filter_385_term = 'click here';
	$filter_385_count = substr_count($commentdata_comment_content_lc, $filter_385_term);
	$filter_385_limit = 25;
	$filter_385_trackback_limit = 25;
	$filter_385_author_count = substr_count($commentdata_comment_author_lc, $filter_385_term);
	$filter_385_author_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_385_author_count;
	// Filter 386: Number of occurrences of 'health care' in comment_author
	$filter_386_term = 'health care';
	$filter_386_count = substr_count($commentdata_comment_content_lc, $filter_386_term);
	$filter_386_limit = 25;
	$filter_386_trackback_limit = 25;
	$filter_386_author_count = substr_count($commentdata_comment_author_lc, $filter_386_term);
	$filter_386_author_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_386_author_count;
	// Filter 387: Number of occurrences of 'healthcare' in comment_author
	$filter_387_term = 'healthcare';
	$filter_387_count = substr_count($commentdata_comment_content_lc, $filter_387_term);
	$filter_387_limit = 25;
	$filter_387_trackback_limit = 25;
	$filter_387_author_count = substr_count($commentdata_comment_author_lc, $filter_387_term);
	$filter_387_author_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_387_author_count;
	// Filter 388: Number of occurrences of 'visit now' in comment_author
	$filter_388_term = 'visit now';
	$filter_388_count = substr_count($commentdata_comment_content_lc, $filter_388_term);
	$filter_388_limit = 25;
	$filter_388_trackback_limit = 25;
	$filter_388_author_count = substr_count($commentdata_comment_author_lc, $filter_388_term);
	$filter_388_author_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_388_author_count;
	// Filter 389: Number of occurrences of 'turbo tax' in comment_author
	$filter_389_term = 'turbo tax';
	$filter_389_count = substr_count($commentdata_comment_content_lc, $filter_389_term);
	$filter_389_limit = 25;
	$filter_389_trackback_limit = 25;
	$filter_389_author_count = substr_count($commentdata_comment_author_lc, $filter_389_term);
	$filter_389_author_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_389_author_count;
	// Filter 390: Number of occurrences of 'photoshop' in comment_author
	$filter_390_term = 'photoshop';
	$filter_390_count = substr_count($commentdata_comment_content_lc, $filter_390_term);
	$filter_390_limit = 25;
	$filter_390_trackback_limit = 25;
	$filter_390_author_count = substr_count($commentdata_comment_author_lc, $filter_390_term);
	$filter_390_author_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_390_author_count;
	// Filter 391: Number of occurrences of 'drug rehab' in comment_author
	$filter_391_term = 'drug rehab';
	$filter_391_count = substr_count($commentdata_comment_content_lc, $filter_391_term);
	$filter_391_limit = 25;
	$filter_391_trackback_limit = 25;
	$filter_391_author_count = substr_count($commentdata_comment_author_lc, $filter_391_term);
	$filter_391_author_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_391_author_count;
	// Filter 392: Number of occurrences of 'power kite' in comment_author
	$filter_392_term = 'power kite';
	$filter_392_count = substr_count($commentdata_comment_content_lc, $filter_392_term);
	$filter_392_limit = 25;
	$filter_392_trackback_limit = 25;
	$filter_392_author_count = substr_count($commentdata_comment_author_lc, $filter_392_term);
	$filter_392_author_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_392_author_count;

	// Author Test: for *author names* surrounded by asterisks
	if ( eregi( "^\*", $commentdata_comment_author_lc ) || eregi( "\*$", $commentdata_comment_author_lc ) ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 300001AUTH';
		}

	//Simple Author equals X (==) Tests
	$filter_300400_term = 'business';
	$filter_300401_term = 'marketing';
	$filter_300402_term = 'cialis';
	$filter_300403_term = 'seo';
	$filter_300404_term = 'cheap';
	$filter_300405_term = 'discount';
	$filter_300406_term = 'insurance';
	$filter_300407_term = 'development';
	$filter_300408_term = 'software';
	$filter_300409_term = 'guide';
	$filter_300410_term = 'tips';
	$filter_300411_term = 'reviews';
	$filter_300412_term = 'test';
	

	// General Spam Terms
	// Filter 500: Number of occurrences of ' loan' in comment_content
	$filter_500_count = substr_count($commentdata_comment_content_lc, ' loan');
	$filter_500_limit = 7;
	$filter_500_trackback_limit = 3;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_500_count;
	// Filter 501: Number of occurrences of 'student ' in comment_content
	$filter_501_count = substr_count($commentdata_comment_content_lc, 'student ');
	$filter_501_limit = 11;
	$filter_501_trackback_limit = 6;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_501_count;
	// Filter 502: Number of occurrences of 'loan consolidation' in comment_content
	$filter_502_count = substr_count($commentdata_comment_content_lc, 'loan consolidation');
	$filter_502_limit = 5;
	$filter_502_trackback_limit = 2;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_502_count;
	// Filter 503: Number of occurrences of 'credit card' in comment_content
	$filter_503_count = substr_count($commentdata_comment_content_lc, 'credit card');
	$filter_503_limit = 5;
	$filter_503_trackback_limit = 2;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_503_count;
	// Filter 504: Number of occurrences of 'health insurance' in comment_content
	$filter_504_count = substr_count($commentdata_comment_content_lc, 'health insurance');
	$filter_504_limit = 5;
	$filter_504_trackback_limit = 2;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_504_count;
	// Filter 505: Number of occurrences of 'student loan' in comment_content
	$filter_505_count = substr_count($commentdata_comment_content_lc, 'student loan');
	$filter_505_limit = 4;
	$filter_505_trackback_limit = 2;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_505_count;
	// Filter 506: Number of occurrences of 'student credit card' in comment_content
	$filter_506_count = substr_count($commentdata_comment_content_lc, 'student credit card');
	$filter_506_limit = 4;
	$filter_506_trackback_limit = 2;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_506_count;
	// Filter 507: Number of occurrences of 'consolidation student' in comment_content
	$filter_507_count = substr_count($commentdata_comment_content_lc, 'consolidation student');
	$filter_507_limit = 4;
	$filter_507_trackback_limit = 2;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_507_count;
	// Filter 508: Number of occurrences of 'student health insurance' in comment_content
	$filter_508_count = substr_count($commentdata_comment_content_lc, 'student health insurance');
	$filter_508_limit = 4;
	$filter_508_trackback_limit = 2;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_508_count;
	// Filter 509: Number of occurrences of 'student loan consolidation' in comment_content
	$filter_509_count = substr_count($commentdata_comment_content_lc, 'student loan consolidation');
	$filter_509_limit = 4;
	$filter_509_trackback_limit = 2;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_509_count;
	// Filter 510: Number of occurrences of 'data entry' in comment_content
	$filter_510_count = substr_count($commentdata_comment_content_lc, 'data entry');
	$filter_510_limit = 5;
	$filter_510_trackback_limit = 2;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_510_count;
	// Filter 511: Number of occurrences of 'asdf' in comment_content
	$filter_511_count = substr_count($commentdata_comment_content_lc, 'asdf');
	$filter_511_limit = 6;
	$filter_511_trackback_limit = 2;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_511_count;

	/*
	// Medical-Related Filters
	$filter_set_2 = array(
						'viagra[::wpsf::]2[::wpsf::]2',
						'v1agra[::wpsf::]1[::wpsf::]1',
						'cialis[::wpsf::]2[::wpsf::]2',
						'c1alis[::wpsf::]1[::wpsf::]1',
						'levitra[::wpsf::]2[::wpsf::]2',
						'lev1tra[::wpsf::]1[::wpsf::]1',
						'erectile[::wpsf::]3[::wpsf::]3',
						'erectile dysfuntion[::wpsf::]2[::wpsf::]2',
						'erection[::wpsf::]2[::wpsf::]2',
						'valium[::wpsf::]5[::wpsf::]5',
						'xanax[::wpsf::]5[::wpsf::]5'
						);
	
	// Sex-Related Filters - Common Words occuring in Sex/P**n Spam
	$filter_set_3 = array(
						'p**n[::wpsf::]5[::wpsf::]5',
						'teen p**n[::wpsf::]1[::wpsf::]1',
						'rape p**n[::wpsf::]1[::wpsf::]1',
						'incest p**n[::wpsf::]1[::wpsf::]1',
						'torture p**n[::wpsf::]1[::wpsf::]1',
						'hentai[::wpsf::]2[::wpsf::]2',
						'sex movie[::wpsf::]3[::wpsf::]3',
						'sex tape[::wpsf::]3[::wpsf::]3',
						'sex[::wpsf::]5[::wpsf::]5',
						'xxx[::wpsf::]5[::wpsf::]5',
						'nude[::wpsf::]5[::wpsf::]5',
						'naked[::wpsf::]5[::wpsf::]5',
						'f*****g[::wpsf::]6[::wpsf::]6',
						'pussy[::wpsf::]3[::wpsf::]3',
						'penis[::wpsf::]3[::wpsf::]3',
						'v****a[::wpsf::]3[::wpsf::]3',
						'gay p**n[::wpsf::]3[::wpsf::]3',
						'anal sex[::wpsf::]3[::wpsf::]3',
						'masturbation[::wpsf::]3[::wpsf::]3',
						'masterbation[::wpsf::]2[::wpsf::]2',
						'masturbating[::wpsf::]3[::wpsf::]3',
						'masterbating[::wpsf::]2[::wpsf::]2',
						'm********e[::wpsf::]3[::wpsf::]3',
						'masterbate[::wpsf::]2[::wpsf::]2',
						'bestiality[::wpsf::]2[::wpsf::]2',
						'animal sex[::wpsf::]3[::wpsf::]3',
						'o****m[::wpsf::]5[::wpsf::]5',
						'ejaculating[::wpsf::]3[::wpsf::]3',
						'e*********n[::wpsf::]3[::wpsf::]3',
						'e*******e[::wpsf::]3[::wpsf::]3',
						'd***o[::wpsf::]4[::wpsf::]4'
						);

	// Pingback/Trackback Filters
	$filter_set_4 = array( 
						'[...]  [...][::wpsf::]0[::wpsf::]1'
						);
		
	// Test Filters
	$filter_set_5 = array( 
						'wpsfteststring-3n44j57kkdsmks39248sje83njd839[::wpsf::]1[::wpsf::]1'
						);
	
	$filter_set_master = array_merge( $filter_set_1, $filter_set_2, $filter_set_3, $filter_set_4, $filter_set_5 );
	$filter_set_master_count = count($filter_set_master);
	*/
	
	// Complex Filters
	// Check for Optimized URL's and Keyword Phrases Ocurring in Author Name and Content
	
	// Filter 10001: Number of occurrences of 'this is something special' in comment_content
	$filter_10001_count = substr_count($commentdata_comment_content_lc, 'this is something special');
	$filter_10001_limit = 1;
	$filter_10001_trackback_limit = 1;
	// Filter 10002: Number of occurrences of 'http://groups.google.com/group/' in comment_content
	$filter_10002_count = substr_count($commentdata_comment_content_lc, 'http://groups.google.com/group/');
	$filter_10002_limit = 1;
	$filter_10002_trackback_limit = 1;
	// Filter 10003: Number of occurrences of 'youporn' in comment_content
	$filter_10003_count = substr_count($commentdata_comment_content_lc, 'youporn');
	$filter_10003_limit = 1;
	$filter_10003_trackback_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_10003_count;
	// Filter 10004: Number of occurrences of 'pornotube' in comment_content
	$filter_10004_count = substr_count($commentdata_comment_content_lc, 'pornotube');
	$filter_10004_limit = 1;
	$filter_10004_trackback_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_10004_count;
	// Filter 10005: Number of occurrences of 'porntube' in comment_content
	$filter_10005_count = substr_count($commentdata_comment_content_lc, 'porntube');
	$filter_10005_limit = 1;
	$filter_10005_trackback_limit = 1;
	$blacklist_word_combo_total = $blacklist_word_combo_total + $filter_10005_count;
	// Filter 10006: Number of occurrences of 'http://groups.google.us/group/' in comment_content
	$filter_10006_count = substr_count($commentdata_comment_content_lc, 'http://groups.google.us/group/');
	$filter_10006_limit = 1;
	$filter_10006_trackback_limit = 1;
	
	// Filter 20001: Number of occurrences of 'groups.google.com' in comment_author_url
	$filter_20001_count = substr_count($commentdata_comment_author_url_lc, 'groups.google.com');
	$filter_20001C_count = substr_count($commentdata_comment_content_lc, 'groups.google.com');
	$filter_20001_limit = 1;
	$filter_20001_trackback_limit = 1;
	// Filter 20002: Number of occurrences of 'groups.yahoo.com' in comment_author_url
	$filter_20002_count = substr_count($commentdata_comment_author_url_lc, 'groups.yahoo.com');
	$filter_20002C_count = substr_count($commentdata_comment_content_lc, 'groups.yahoo.com');
	$filter_20002_limit = 1;
	$filter_20002_trackback_limit = 1;
	// Filter 20003: Number of occurrences of '.phpbbserver.com' in comment_author_url
	$filter_20003_count = substr_count($commentdata_comment_author_url_lc, '.phpbbserver.com');
	$filter_20003C_count = substr_count($commentdata_comment_content_lc, '.phpbbserver.com');
	$filter_20003_limit = 1;
	$filter_20003_trackback_limit = 1;
	// Filter 20004: Number of occurrences of '.freehostia.com' in comment_author_url
	$filter_20004_count = substr_count($commentdata_comment_author_url_lc, '.freehostia.com');
	$filter_20004C_count = substr_count($commentdata_comment_content_lc, '.freehostia.com');
	$filter_20004_limit = 1;
	$filter_20004_trackback_limit = 1;
	// Filter 20005: Number of occurrences of 'groups.google.us' in comment_author_url
	$filter_20005_count = substr_count($commentdata_comment_author_url_lc, 'groups.google.us');
	$filter_20005C_count = substr_count($commentdata_comment_content_lc, 'groups.google.us');
	$filter_20005_limit = 1;
	$filter_20005_trackback_limit = 1;
	// Filter 20006: Number of occurrences of 'groups.google.us' in comment_author_url
	$filter_20006_count = substr_count($commentdata_comment_author_url_lc, 'www.google.com/notebook/public/');
	$filter_20006C_count = substr_count($commentdata_comment_content_lc, 'www.google.com/notebook/public/');
	$filter_20006_limit = 1;
	$filter_20006_trackback_limit = 1;
	// Filter 20007: Number of occurrences of 'groups.google.us' in comment_author_url
	$filter_20007_count = substr_count($commentdata_comment_author_url_lc, '.free-site-host.com');
	$filter_20007C_count = substr_count($commentdata_comment_content_lc, '.free-site-host.com');
	$filter_20007_limit = 1;
	$filter_20007_trackback_limit = 1;
	// Filter 20008: Number of occurrences of 'youporn736.vox.com' in comment_author_url
	$filter_20008_count = substr_count($commentdata_comment_author_url_lc, 'youporn736.vox.com');
	$filter_20008C_count = substr_count($commentdata_comment_content_lc, 'youporn736.vox.com');
	$filter_20008_limit = 1;
	$filter_20008_trackback_limit = 1;
	// Filter 20009: Number of occurrences of 'keywordspy.com' in comment_author_url
	$filter_20009_count = substr_count($commentdata_comment_author_url_lc, 'keywordspy.com');
	$filter_20009C_count = substr_count($commentdata_comment_content_lc, 'keywordspy.com');
	$filter_20009_limit = 1;
	$filter_20009_trackback_limit = 1;
	// Filter 20010: Number of occurrences of '.t35.com' in comment_author_url
	$filter_20010_count = substr_count($commentdata_comment_author_url_lc, '.t35.com');
	$filter_20010C_count = substr_count($commentdata_comment_content_lc, '.t35.com');
	$filter_20010_limit = 1;
	$filter_20010_trackback_limit = 1;
	// Filter 20011: Number of occurrences of '.150m.com' in comment_author_url
	$filter_20011_count = substr_count($commentdata_comment_author_url_lc, '.150m.com');
	$filter_20011C_count = substr_count($commentdata_comment_content_lc, '.150m.com');
	$filter_20011_limit = 1;
	$filter_20011_trackback_limit = 1;
	// Filter 20012: Number of occurrences of '.250m.com' in comment_author_url
	$filter_20012_count = substr_count($commentdata_comment_author_url_lc, '.250m.com');
	$filter_20012C_count = substr_count($commentdata_comment_content_lc, '.250m.com');
	$filter_20012_limit = 1;
	$filter_20012_trackback_limit = 1;
	// Filter 20013: Number of occurrences of 'blogs.ign.com' in comment_author_url
	$filter_20013_count = substr_count($commentdata_comment_author_url_lc, 'blogs.ign.com');
	$filter_20013C_count = substr_count($commentdata_comment_content_lc, 'blogs.ign.com');
	$filter_20013_limit = 1;
	$filter_20013_trackback_limit = 1;
	// Filter 20014: Number of occurrences of 'members.lycos.co.uk' in comment_author_url
	$filter_20014_count = substr_count($commentdata_comment_author_url_lc, 'members.lycos.co.uk');
	$filter_20014C_count = substr_count($commentdata_comment_content_lc, 'members.lycos.co.uk');
	$filter_20014_limit = 1;
	$filter_20014_trackback_limit = 1;
	// Filter 20015: Number of occurrences of '/christiantorrents.ru' in comment_author_url
	$filter_20015_count = substr_count($commentdata_comment_author_url_lc, '/christiantorrents.ru');
	$filter_20015C_count = substr_count($commentdata_comment_content_lc, '/christiantorrents.ru');
	$filter_20015_limit = 1;
	$filter_20015_trackback_limit = 1;
	// Filter 20016: Number of occurrences of '.christiantorrents.ru' in comment_author_url
	$filter_20016_count = substr_count($commentdata_comment_author_url_lc, '.christiantorrents.ru');
	$filter_20016C_count = substr_count($commentdata_comment_content_lc, '.christiantorrents.ru');
	$filter_20016_limit = 1;
	$filter_20016_trackback_limit = 1;
	// Filter 20017: Number of occurrences of '/lifecity.tv' in comment_author_url
	$filter_20017_count = substr_count($commentdata_comment_author_url_lc, '/lifecity.tv');
	$filter_20017C_count = substr_count($commentdata_comment_content_lc, '/lifecity.tv');
	$filter_20017_limit = 1;
	$filter_20017_trackback_limit = 1;
	// Filter 20018: Number of occurrences of '.lifecity.tv' in comment_author_url
	$filter_20018_count = substr_count($commentdata_comment_author_url_lc, '.lifecity.tv');
	$filter_20018C_count = substr_count($commentdata_comment_content_lc, '.lifecity.tv');
	$filter_20018_limit = 1;
	$filter_20018_trackback_limit = 1;
	// Filter 20019: Number of occurrences of '/lifecity.info' in comment_author_url
	$filter_20019_count = substr_count($commentdata_comment_author_url_lc, '/lifecity.info');
	$filter_20019C_count = substr_count($commentdata_comment_content_lc, '/lifecity.info');
	$filter_20019_limit = 1;
	$filter_20019_trackback_limit = 1;
	// Filter 20020: Number of occurrences of '.lifecity.info' in comment_author_url
	$filter_20020_count = substr_count($commentdata_comment_author_url_lc, '.lifecity.info');
	$filter_20020C_count = substr_count($commentdata_comment_content_lc, '.lifecity.info');
	$filter_20020_limit = 1;
	$filter_20020_trackback_limit = 1;
	// NEW20000 CODES SETUP
	// Filter 20021: Number of occurrences of 'widecircles.com' in comment_author_url / comment_content
	$filter_20021_domain = 'widecircles.com'; // MASSIVE SPAMMERS
	$filter_20021_domain_http = 'http://'.$filter_20021_domain;
	$filter_20021_domain_dot = '.'.$filter_20021_domain;
	$filter_20021_count = substr_count($commentdata_comment_author_url_lc, $filter_20021_domain_http) + substr_count($commentdata_comment_author_url_lc, $filter_20021_domain_dot);
	$filter_20021C_count = substr_count($commentdata_comment_content_lc, $filter_20021_domain_http) + substr_count($commentdata_comment_content_lc, $filter_20021_domain_dot);
	$filter_20021_limit = 1;
	$filter_20021_trackback_limit = 1;
	// Filter 20022: Number of occurrences of 'netcallidus.com' in comment_author_url / comment_content
	$filter_20022_domain = 'netcallidus.com'; // SPAMMERS
	$filter_20022_domain_http = 'http://'.$filter_20022_domain;
	$filter_20022_domain_dot = '.'.$filter_20022_domain;
	$filter_20022_count = substr_count($commentdata_comment_author_url_lc, $filter_20022_domain_http) + substr_count($commentdata_comment_author_url_lc, $filter_20022_domain_dot);
	$filter_20022C_count = substr_count($commentdata_comment_content_lc, $filter_20022_domain_http) + substr_count($commentdata_comment_content_lc, $filter_20022_domain_dot);
	$filter_20022_limit = 1;
	$filter_20022_trackback_limit = 1;
	// Filter 20023: Number of occurrences of 'webseomasters.com' in comment_author_url / comment_content
	$filter_20023_domain = 'webseomasters.com'; // SPAMMERS
	$filter_20023_domain_http = 'http://'.$filter_20023_domain;
	$filter_20023_domain_dot = '.'.$filter_20023_domain;
	$filter_20023_count = substr_count($commentdata_comment_author_url_lc, $filter_20023_domain_http) + substr_count($commentdata_comment_author_url_lc, $filter_20023_domain_dot);
	$filter_20023C_count = substr_count($commentdata_comment_content_lc, $filter_20023_domain_http) + substr_count($commentdata_comment_content_lc, $filter_20023_domain_dot);
	$filter_20023_limit = 1;
	$filter_20023_trackback_limit = 1;
	// Filter 20024: Number of occurrences of 'mastersofseo.com' in comment_author_url / comment_content
	$filter_20024_domain = 'mastersofseo.com'; // SPAMMERS
	$filter_20024_domain_http = 'http://'.$filter_20024_domain;
	$filter_20024_domain_dot = '.'.$filter_20024_domain;
	$filter_20024_count = substr_count($commentdata_comment_author_url_lc, $filter_20024_domain_http) + substr_count($commentdata_comment_author_url_lc, $filter_20024_domain_dot);
	$filter_20024C_count = substr_count($commentdata_comment_content_lc, $filter_20024_domain_http) + substr_count($commentdata_comment_content_lc, $filter_20024_domain_dot);
	$filter_20024_limit = 1;
	$filter_20024_trackback_limit = 1;
	// Filter 20025: Number of occurrences of 'mysmartseo.com' in comment_author_url / comment_content
	$filter_20025_domain = 'mysmartseo.com'; // SPAMMERS
	$filter_20025_domain_http = 'http://'.$filter_20025_domain;
	$filter_20025_domain_dot = '.'.$filter_20025_domain;
	$filter_20025_count = substr_count($commentdata_comment_author_url_lc, $filter_20025_domain_http) + substr_count($commentdata_comment_author_url_lc, $filter_20025_domain_dot);
	$filter_20025C_count = substr_count($commentdata_comment_content_lc, $filter_20025_domain_http) + substr_count($commentdata_comment_content_lc, $filter_20025_domain_dot);
	$filter_20025_limit = 1;
	$filter_20025_trackback_limit = 1;
	// Filter 20026: Number of occurrences of 'sitemapwriter.com' in comment_author_url / comment_content
	$filter_20026_domain = 'sitemapwriter.com'; // SPAMMERS
	$filter_20026_domain_http = 'http://'.$filter_20026_domain;
	$filter_20026_domain_dot = '.'.$filter_20026_domain;
	$filter_20026_count = substr_count($commentdata_comment_author_url_lc, $filter_20026_domain_http) + substr_count($commentdata_comment_author_url_lc, $filter_20026_domain_dot);
	$filter_20026C_count = substr_count($commentdata_comment_content_lc, $filter_20026_domain_http) + substr_count($commentdata_comment_content_lc, $filter_20026_domain_dot);
	$filter_20026_limit = 1;
	$filter_20026_trackback_limit = 1;
	// Filter 20027: Number of occurrences of 'shredderwarehouse.com' in comment_author_url / comment_content
	$filter_20027_domain = 'shredderwarehouse.com'; // SPAMMERS
	$filter_20027_domain_http = 'http://'.$filter_20027_domain;
	$filter_20027_domain_dot = '.'.$filter_20027_domain;
	$filter_20027_count = substr_count($commentdata_comment_author_url_lc, $filter_20027_domain_http) + substr_count($commentdata_comment_author_url_lc, $filter_20027_domain_dot);
	$filter_20027C_count = substr_count($commentdata_comment_content_lc, $filter_20027_domain_http) + substr_count($commentdata_comment_content_lc, $filter_20027_domain_dot);
	$filter_20027_limit = 1;
	$filter_20027_trackback_limit = 1;
	// Filter 20028: Number of occurrences of 'mmoinn.com' in comment_author_url / comment_content
	$filter_20028_domain = 'mmoinn.com'; // SPAMMERS
	$filter_20028_domain_http = 'http://'.$filter_20028_domain;
	$filter_20028_domain_dot = '.'.$filter_20028_domain;
	$filter_20028_count = substr_count($commentdata_comment_author_url_lc, $filter_20028_domain_http) + substr_count($commentdata_comment_author_url_lc, $filter_20028_domain_dot);
	$filter_20028C_count = substr_count($commentdata_comment_content_lc, $filter_20028_domain_http) + substr_count($commentdata_comment_content_lc, $filter_20028_domain_dot);
	$filter_20028_limit = 1;
	$filter_20028_trackback_limit = 1;
	// Filter 20029: Number of occurrences of 'animatedfavicon.com' in comment_author_url / comment_content
	$filter_20029_domain = 'animatedfavicon.com'; // SPAMMERS
	$filter_20029_domain_http = 'http://'.$filter_20029_domain;
	$filter_20029_domain_dot = '.'.$filter_20029_domain;
	$filter_20029_count = substr_count($commentdata_comment_author_url_lc, $filter_20029_domain_http) + substr_count($commentdata_comment_author_url_lc, $filter_20029_domain_dot);
	$filter_20029C_count = substr_count($commentdata_comment_content_lc, $filter_20029_domain_http) + substr_count($commentdata_comment_content_lc, $filter_20029_domain_dot);
	$filter_20029_limit = 1;
	$filter_20029_trackback_limit = 1;
	// Filter 20030: Number of occurrences of 'cignusweb.com' in comment_author_url / comment_content
	$filter_20030_domain = 'cignusweb.com'; // SPAMMERS
	$filter_20030_domain_http = 'http://'.$filter_20030_domain;
	$filter_20030_domain_dot = '.'.$filter_20030_domain;
	$filter_20030_count = substr_count($commentdata_comment_author_url_lc, $filter_20030_domain_http) + substr_count($commentdata_comment_author_url_lc, $filter_20030_domain_dot);
	$filter_20030C_count = substr_count($commentdata_comment_content_lc, $filter_20030_domain_http) + substr_count($commentdata_comment_content_lc, $filter_20030_domain_dot);
	$filter_20030_limit = 1;
	$filter_20030_trackback_limit = 1;
	// Filter 20031: Number of occurrences of 'rsschannelwriter.com' in comment_author_url / comment_content
	$filter_20031_domain = 'rsschannelwriter.com'; // SPAMMERS
	$filter_20031_domain_http = 'http://'.$filter_20031_domain;
	$filter_20031_domain_dot = '.'.$filter_20031_domain;
	$filter_20031_count = substr_count($commentdata_comment_author_url_lc, $filter_20031_domain_http) + substr_count($commentdata_comment_author_url_lc, $filter_20031_domain_dot);
	$filter_20031C_count = substr_count($commentdata_comment_content_lc, $filter_20031_domain_http) + substr_count($commentdata_comment_content_lc, $filter_20031_domain_dot);
	$filter_20031_limit = 1;
	$filter_20031_trackback_limit = 1;
	// Filter 20032: Number of occurrences of 'clickaudit.com' in comment_author_url / comment_content
	$filter_20032_domain = 'clickaudit.com'; // SPAMMERS
	$filter_20032_domain_http = 'http://'.$filter_20032_domain;
	$filter_20032_domain_dot = '.'.$filter_20032_domain;
	$filter_20032_count = substr_count($commentdata_comment_author_url_lc, $filter_20032_domain_http) + substr_count($commentdata_comment_author_url_lc, $filter_20032_domain_dot);
	$filter_20032C_count = substr_count($commentdata_comment_content_lc, $filter_20032_domain_http) + substr_count($commentdata_comment_content_lc, $filter_20032_domain_dot);
	$filter_20032_limit = 1;
	$filter_20032_trackback_limit = 1;
	// Filter 20033: Number of occurrences of 'choice-direct.com' in comment_author_url / comment_content
	$filter_20033_domain = 'choice-direct.com'; // SPAMMERS
	$filter_20033_domain_http = 'http://'.$filter_20033_domain;
	$filter_20033_domain_dot = '.'.$filter_20033_domain;
	$filter_20033_count = substr_count($commentdata_comment_author_url_lc, $filter_20033_domain_http) + substr_count($commentdata_comment_author_url_lc, $filter_20033_domain_dot);
	$filter_20033C_count = substr_count($commentdata_comment_content_lc, $filter_20033_domain_http) + substr_count($commentdata_comment_content_lc, $filter_20033_domain_dot);
	$filter_20033_limit = 1;
	$filter_20033_trackback_limit = 1;
	// Filter 20034: Number of occurrences of 'experl.com' in comment_author_url / comment_content
	$filter_20034_domain = 'experl.com'; // SPAMMERS
	$filter_20034_domain_http = 'http://'.$filter_20034_domain;
	$filter_20034_domain_dot = '.'.$filter_20034_domain;
	$filter_20034_count = substr_count($commentdata_comment_author_url_lc, $filter_20034_domain_http) + substr_count($commentdata_comment_author_url_lc, $filter_20034_domain_dot);
	$filter_20034C_count = substr_count($commentdata_comment_content_lc, $filter_20034_domain_http) + substr_count($commentdata_comment_content_lc, $filter_20034_domain_dot);
	$filter_20034_limit = 1;
	$filter_20034_trackback_limit = 1;
	// Filter 20035: Number of occurrences of 'registry-error-cleaner.com' in comment_author_url / comment_content
	$filter_20035_domain = 'registry-error-cleaner.com'; // SPAMMERS
	$filter_20035_domain_http = 'http://'.$filter_20035_domain;
	$filter_20035_domain_dot = '.'.$filter_20035_domain;
	$filter_20035_count = substr_count($commentdata_comment_author_url_lc, $filter_20035_domain_http) + substr_count($commentdata_comment_author_url_lc, $filter_20035_domain_dot);
	$filter_20035C_count = substr_count($commentdata_comment_content_lc, $filter_20035_domain_http) + substr_count($commentdata_comment_content_lc, $filter_20035_domain_dot);
	$filter_20035_limit = 1;
	$filter_20035_trackback_limit = 1;
	// Filter 20036: Number of occurrences of 'sunitawedsamit.com' in comment_author_url / comment_content
	$filter_20036_domain = 'sunitawedsamit.com'; // SPAMMERS
	$filter_20036_domain_http = 'http://'.$filter_20036_domain;
	$filter_20036_domain_dot = '.'.$filter_20036_domain;
	$filter_20036_count = substr_count($commentdata_comment_author_url_lc, $filter_20036_domain_http) + substr_count($commentdata_comment_author_url_lc, $filter_20036_domain_dot);
	$filter_20036C_count = substr_count($commentdata_comment_content_lc, $filter_20036_domain_http) + substr_count($commentdata_comment_content_lc, $filter_20036_domain_dot);
	$filter_20036_limit = 1;
	$filter_20036_trackback_limit = 1;
	// Filter 20037: Number of occurrences of 'agriimplements.com' in comment_author_url / comment_content
	$filter_20037_domain = 'agriimplements.com'; // SPAMMERS
	$filter_20037_domain_http = 'http://'.$filter_20037_domain;
	$filter_20037_domain_dot = '.'.$filter_20037_domain;
	$filter_20037_count = substr_count($commentdata_comment_author_url_lc, $filter_20037_domain_http) + substr_count($commentdata_comment_author_url_lc, $filter_20037_domain_dot);
	$filter_20037C_count = substr_count($commentdata_comment_content_lc, $filter_20037_domain_http) + substr_count($commentdata_comment_content_lc, $filter_20037_domain_dot);
	$filter_20037_limit = 1;
	$filter_20037_trackback_limit = 1;
	// Filter 20038: Number of occurrences of 'real-url.org' in comment_author_url / comment_content
	$filter_20038_domain = 'real-url.org'; // SPAMMERS
	$filter_20038_domain_http = 'http://'.$filter_20038_domain;
	$filter_20038_domain_dot = '.'.$filter_20038_domain;
	$filter_20038_count = substr_count($commentdata_comment_author_url_lc, $filter_20038_domain_http) + substr_count($commentdata_comment_author_url_lc, $filter_20038_domain_dot);
	$filter_20038C_count = substr_count($commentdata_comment_content_lc, $filter_20038_domain_http) + substr_count($commentdata_comment_content_lc, $filter_20038_domain_dot);
	$filter_20038_limit = 1;
	$filter_20038_trackback_limit = 1;
	// Filter 20039: Number of occurrences of 'phpdug.net' in comment_author_url / comment_content
	$filter_20039_domain = 'phpdug.net'; // SPAMMERS
	$filter_20039_domain_http = 'http://'.$filter_20039_domain;
	$filter_20039_domain_dot = '.'.$filter_20039_domain;
	$filter_20039_count = substr_count($commentdata_comment_author_url_lc, $filter_20039_domain_http) + substr_count($commentdata_comment_author_url_lc, $filter_20039_domain_dot);
	$filter_20039C_count = substr_count($commentdata_comment_content_lc, $filter_20039_domain_http) + substr_count($commentdata_comment_content_lc, $filter_20039_domain_dot);
	$filter_20039_limit = 1;
	$filter_20039_trackback_limit = 1;
	// Filter 20040: Number of occurrences of 'submit-trackback.com' in comment_author_url / comment_content
	$filter_20040_domain = 'submit-trackback.com'; // SPAMMERS
	$filter_20040_domain_http = 'http://'.$filter_20040_domain;
	$filter_20040_domain_dot = '.'.$filter_20040_domain;
	$filter_20040_count = substr_count($commentdata_comment_author_url_lc, $filter_20040_domain_http) + substr_count($commentdata_comment_author_url_lc, $filter_20040_domain_dot);
	$filter_20040C_count = substr_count($commentdata_comment_content_lc, $filter_20040_domain_http) + substr_count($commentdata_comment_content_lc, $filter_20040_domain_dot);
	$filter_20040_limit = 1;
	$filter_20040_trackback_limit = 1;
	// Filter 20041: Number of occurrences of 'commentposter.com' in comment_author_url / comment_content
	$filter_20041_domain = 'commentposter.com'; // SPAMMERS
	$filter_20041_domain_http = 'http://'.$filter_20041_domain;
	$filter_20041_domain_dot = '.'.$filter_20041_domain;
	$filter_20041_count = substr_count($commentdata_comment_author_url_lc, $filter_20041_domain_http) + substr_count($commentdata_comment_author_url_lc, $filter_20041_domain_dot);
	$filter_20041C_count = substr_count($commentdata_comment_content_lc, $filter_20041_domain_http) + substr_count($commentdata_comment_content_lc, $filter_20041_domain_dot);
	$filter_20041_limit = 1;
	$filter_20041_trackback_limit = 1;
	// Filter 20042: Number of occurrences of 'post-comments.com' in comment_author_url / comment_content
	$filter_20042_domain = 'post-comments.com'; // SPAMMERS
	$filter_20042_domain_http = 'http://'.$filter_20042_domain;
	$filter_20042_domain_dot = '.'.$filter_20042_domain;
	$filter_20042_count = substr_count($commentdata_comment_author_url_lc, $filter_20042_domain_http) + substr_count($commentdata_comment_author_url_lc, $filter_20042_domain_dot);
	$filter_20042C_count = substr_count($commentdata_comment_content_lc, $filter_20042_domain_http) + substr_count($commentdata_comment_content_lc, $filter_20042_domain_dot);
	$filter_20042_limit = 1;
	$filter_20042_trackback_limit = 1;
	// Filter 20043: Number of occurrences of 'submitbookmark.com' in comment_author_url / comment_content
	$filter_20043_domain = 'submitbookmark.com'; // SPAMMERS
	$filter_20043_domain_http = 'http://'.$filter_20043_domain;
	$filter_20043_domain_dot = '.'.$filter_20043_domain;
	$filter_20043_count = substr_count($commentdata_comment_author_url_lc, $filter_20043_domain_http) + substr_count($commentdata_comment_author_url_lc, $filter_20043_domain_dot);
	$filter_20043C_count = substr_count($commentdata_comment_content_lc, $filter_20043_domain_http) + substr_count($commentdata_comment_content_lc, $filter_20043_domain_dot);
	$filter_20043_limit = 1;
	$filter_20043_trackback_limit = 1;
	// Filter 20044: Number of occurrences of 'youtube-poster.com' in comment_author_url / comment_content
	$filter_20044_domain = 'youtube-poster.com'; // SPAMMERS
	$filter_20044_domain_http = 'http://'.$filter_20044_domain;
	$filter_20044_domain_dot = '.'.$filter_20044_domain;
	$filter_20044_count = substr_count($commentdata_comment_author_url_lc, $filter_20044_domain_http) + substr_count($commentdata_comment_author_url_lc, $filter_20044_domain_dot);
	$filter_20044C_count = substr_count($commentdata_comment_content_lc, $filter_20044_domain_http) + substr_count($commentdata_comment_content_lc, $filter_20044_domain_dot);
	$filter_20044_limit = 1;
	$filter_20044_trackback_limit = 1;
	// Filter 20045: Number of occurrences of 'wordpressautocomment.com' in comment_author_url / comment_content
	$filter_20045_domain = 'wordpressautocomment.com'; // SPAMMERS
	$filter_20045_domain_http = 'http://'.$filter_20045_domain;
	$filter_20045_domain_dot = '.'.$filter_20045_domain;
	$filter_20045_count = substr_count($commentdata_comment_author_url_lc, $filter_20045_domain_http) + substr_count($commentdata_comment_author_url_lc, $filter_20045_domain_dot);
	$filter_20045C_count = substr_count($commentdata_comment_content_lc, $filter_20045_domain_http) + substr_count($commentdata_comment_content_lc, $filter_20045_domain_dot);
	$filter_20045_limit = 1;
	$filter_20045_trackback_limit = 1;
	// Filter 20046: Number of occurrences of 'johnbeck.com' in comment_author_url / comment_content
	$filter_20046_domain = 'johnbeck.com'; // SPAMMERS
	$filter_20046_domain_http = 'http://'.$filter_20046_domain;
	$filter_20046_domain_dot = '.'.$filter_20046_domain;
	$filter_20046_count = substr_count($commentdata_comment_author_url_lc, $filter_20046_domain_http) + substr_count($commentdata_comment_author_url_lc, $filter_20046_domain_dot);
	$filter_20046C_count = substr_count($commentdata_comment_content_lc, $filter_20046_domain_http) + substr_count($commentdata_comment_content_lc, $filter_20046_domain_dot);
	$filter_20046_limit = 1;
	$filter_20046_trackback_limit = 1;
	// Filter 20047: Number of occurrences of 'johnbeck.net' in comment_author_url / comment_content
	$filter_20047_domain = 'johnbeck.net'; // SPAMMERS
	$filter_20047_domain_http = 'http://'.$filter_20047_domain;
	$filter_20047_domain_dot = '.'.$filter_20047_domain;
	$filter_20047_count = substr_count($commentdata_comment_author_url_lc, $filter_20047_domain_http) + substr_count($commentdata_comment_author_url_lc, $filter_20047_domain_dot);
	$filter_20047C_count = substr_count($commentdata_comment_content_lc, $filter_20047_domain_http) + substr_count($commentdata_comment_content_lc, $filter_20047_domain_dot);
	$filter_20047_limit = 1;
	$filter_20047_trackback_limit = 1;
	// Filter 20048: Number of occurrences of 'johnbeck.tv' in comment_author_url / comment_content
	$filter_20048_domain = 'johnbeck.tv'; // SPAMMERS
	$filter_20048_domain_http = 'http://'.$filter_20048_domain;
	$filter_20048_domain_dot = '.'.$filter_20048_domain;
	$filter_20048_count = substr_count($commentdata_comment_author_url_lc, $filter_20048_domain_http) + substr_count($commentdata_comment_author_url_lc, $filter_20048_domain_dot);
	$filter_20048C_count = substr_count($commentdata_comment_content_lc, $filter_20048_domain_http) + substr_count($commentdata_comment_content_lc, $filter_20048_domain_dot);
	$filter_20048_limit = 1;
	$filter_20048_trackback_limit = 1;
	// Filter 20049: Number of occurrences of 'johnbeckseminar.com' in comment_author_url / comment_content
	$filter_20049_domain = 'johnbeckseminar.com'; // SPAMMERS
	$filter_20049_domain_http = 'http://'.$filter_20049_domain;
	$filter_20049_domain_dot = '.'.$filter_20049_domain;
	$filter_20049_count = substr_count($commentdata_comment_author_url_lc, $filter_20049_domain_http) + substr_count($commentdata_comment_author_url_lc, $filter_20049_domain_dot);
	$filter_20049C_count = substr_count($commentdata_comment_content_lc, $filter_20049_domain_http) + substr_count($commentdata_comment_content_lc, $filter_20049_domain_dot);
	$filter_20049_limit = 1;
	$filter_20049_trackback_limit = 1;
	// Filter 20050: Number of occurrences of 'johnbeckssuccessstories.com' in comment_author_url / comment_content
	$filter_20050_domain = 'johnbeckssuccessstories.com'; // SPAMMERS
	$filter_20050_domain_http = 'http://'.$filter_20050_domain;
	$filter_20050_domain_dot = '.'.$filter_20050_domain;
	$filter_20050_count = substr_count($commentdata_comment_author_url_lc, $filter_20050_domain_http) + substr_count($commentdata_comment_author_url_lc, $filter_20050_domain_dot);
	$filter_20050C_count = substr_count($commentdata_comment_content_lc, $filter_20050_domain_http) + substr_count($commentdata_comment_content_lc, $filter_20050_domain_dot);
	$filter_20050_limit = 1;
	$filter_20050_trackback_limit = 1;
	// Filter 20051: Number of occurrences of 'grillpartssteak.com' in comment_author_url / comment_content
	$filter_20051_domain = 'grillpartssteak.com'; // SPAMMERS
	$filter_20051_domain_http = 'http://'.$filter_20051_domain;
	$filter_20051_domain_dot = '.'.$filter_20051_domain;
	$filter_20051_count = substr_count($commentdata_comment_author_url_lc, $filter_20051_domain_http) + substr_count($commentdata_comment_author_url_lc, $filter_20051_domain_dot);
	$filter_20051C_count = substr_count($commentdata_comment_content_lc, $filter_20051_domain_http) + substr_count($commentdata_comment_content_lc, $filter_20051_domain_dot);
	$filter_20051_limit = 1;
	$filter_20051_trackback_limit = 1;
	// Filter 20052: Number of occurrences of 'kankamforum.net' in comment_author_url / comment_content
	$filter_20052_domain = 'kankamforum.net'; // SPAMMERS
	$filter_20052_domain_http = 'http://'.$filter_20052_domain;
	$filter_20052_domain_dot = '.'.$filter_20052_domain;
	$filter_20052_count = substr_count($commentdata_comment_author_url_lc, $filter_20052_domain_http) + substr_count($commentdata_comment_author_url_lc, $filter_20052_domain_dot);
	$filter_20052C_count = substr_count($commentdata_comment_content_lc, $filter_20052_domain_http) + substr_count($commentdata_comment_content_lc, $filter_20052_domain_dot);
	$filter_20052_limit = 1;
	$filter_20052_trackback_limit = 1;



	$commentdata_comment_author_lc_spam_strong = '<strong>'.$commentdata_comment_author_lc.'</strong>'; // Trackbacks
	$commentdata_comment_author_lc_spam_strong_dot1 = '...</strong>'; // Trackbacks
	$commentdata_comment_author_lc_spam_strong_dot2 = '...</b>'; // Trackbacks
	$commentdata_comment_author_lc_spam_a1 = $commentdata_comment_author_lc.'</a>'; // Trackbacks/Pingbacks
	$commentdata_comment_author_lc_spam_a2 = $commentdata_comment_author_lc.' </a>'; // Trackbacks/Pingbacks
	
	$WPCommentsPostURL = $commentdata_blog_lc.'/wp-comments-post.php';

	$Domains = array('.aero','.arpa','.asia','.biz','.cat','.com','.coop','.edu','.gov','.info','.int','.jobs','.mil','.mobi','.museum','.name','.net','.org','.pro','.tel','.travel','.ac','.ad','.ae','.af','.ai','.al','.am','.an','.ao','.aq','.ar','.as','.at','.au','.aw','.ax','.az','.ba','.bb','.bd','.be','.bf','.bg','.bh','.bi','.bj','.bl','.bm','.bn','.bo','.br','.bs','.bt','.bv','.bw','.by','.bz','.ca','.cc','.cf','.cg','.ch','.ci','.ck','.cl','.cm','.cn','.co','.cr','.cu','.cv','.cx','.cy','.cz','.de','.dj','.dk','.dm','.do','.dz','.ec','.ee','.eg','.eh','.er','.es','.et','.eu','.fi','.fj','.fk','.fm','.fo','.fr','.ga','.gb','.gd','.ge','.gf','.gg','.gh','.gi','.gl','.gm','.gn','.gp','.gq','.gr','.gs','.gt','.gu','.gw','.gy','.hk','.hm','.hn','.hr','.ht','.hu','.id','.ie','.il','.im','.in','.io','.iq','.ir','.is','.it','.je','.jm','.jo','.jp','.ke','.kg','.kh','.ki','.km','.km','.kp','.kr','.kw','.ky','.kz','.la','.lb','.lc','.li','.lk','.lr','.ls','.lt','.lu','.lv','.ly','.ma','.mc','.mc','.md','.me','.mf','.mg','.mh','.mk','.ml','.mm','.mn','.mo','.mq','.mr','.ms','.mt','.mu','.mv','.mw','.mx','.my','.mz','.na','.nc','.ne','.nf','.ng','.ni','.nl','.no','.np','.nr','.nu','.nz','.om','.pa','.pe','.pf','.pg','.ph','.pk','.pl','.pm','.pn','.pr','.ps','.pt','.pw','.py','.qa','.re','.ro','.rs','.ru','.rw','.sa','.sb','.sc','.sd','.se','.sg','.sh','.si','.sj','.sk','.sl','.sm','.sn','.so','.sr','.st','.su','.sv','.sy','.sz','.tc','.td','.tf','.tg','.th','.tj','.tk','.tl','.tm','.tn','.to','.tp','.tr','.tt','.tv','.tw','.tz','.ua','.ug','.uk','.um','.us','.uy','.uz','.va','.vc','.ve','.vg','.vi','.vn','.vu','.wf','.ws','.ye','.yt','.yu','.za','.zm','.zw');
	// from http://www.iana.org/domains/root/db/
	$ConversionSeparator = '-';
	$ConversionSeparators = array('-','_');
	$FilterElementsPrefix = array('http://www.','http://');
	$FilterElementsPage = array('.php','.asp','.cfm','.jsp','.html','.htm','.shtml');
	$FilterElementsNum = array('1','2','3','4','5','6','7','8','9','0');
	$FilterElementsSlash = array('////','///','//');
	$TempPhrase1 = str_replace($FilterElementsPrefix,'',$commentdata_comment_author_url_lc);
	$TempPhrase2 = str_replace($FilterElementsPage,'',$TempPhrase1);
	$TempPhrase3 = str_replace($Domains,'',$TempPhrase2);
	$TempPhrase4 = str_replace($FilterElementsNum,'',$TempPhrase3);
	$TempPhrase5 = str_replace($FilterElementsSlash,'/',$TempPhrase4);
	$TempPhrase6 = strtolower(str_replace($ConversionSeparators,' ',$TempPhrase5));
	$KeywordURLPhrases = explode('/',$TempPhrase6);
	$KeywordURLPhrasesCount = count($KeywordURLPhrases);
	$KeywordCommentAuthorPhrasePunct = array('\:','\;','\+','\-','\!','\.','\,','\[','\]','\@','\#','\$','\%','\^','\&','\*','\(','\)','\/','\\','\|','\=','\_');
	$KeywordCommentAuthorTempPhrase = str_replace($KeywordCommentAuthorPhrasePunct,'',$commentdata_comment_author_lc);
	$KeywordCommentAuthorPhrase1 = str_replace(' ','',$KeywordCommentAuthorTempPhrase);
	$KeywordCommentAuthorPhrase2 = str_replace(' ','-',$KeywordCommentAuthorTempPhrase);
	$KeywordCommentAuthorPhrase3 = str_replace(' ','_',$KeywordCommentAuthorTempPhrase);
	$KeywordCommentAuthorPhraseURLVariation = $FilterElementsPage;
	$KeywordCommentAuthorPhraseURLVariation[] = '/';
	$KeywordCommentAuthorPhraseURLVariationCount = count($KeywordCommentAuthorPhraseURLVariation);
	
	$SplogTrackbackPhrase1 		= 'an interesting post today.here\'s a quick excerpt';
	$SplogTrackbackPhrase1a 	= 'an interesting post today.here&#8217;s a quick excerpt';
	$SplogTrackbackPhrase2 		= 'an interesting post today. here\'s a quick excerpt';
	$SplogTrackbackPhrase2a 	= 'an interesting post today. here&#8217;s a quick excerpt';
	$SplogTrackbackPhrase3 		= 'an interesting post today onhere\'s a quick excerpt';
	$SplogTrackbackPhrase3a		= 'an interesting post today onhere&#8217;s a quick excerpt';
	$SplogTrackbackPhrase4 		= 'read the rest of this great post here';
	$SplogTrackbackPhrase5 		= 'here to see the original:';
		
	$SplogTrackbackPhrase20a 	= 'an interesting post today on';
	$SplogTrackbackPhrase20b 	= 'here\'s a quick excerpt';
	$SplogTrackbackPhrase20c 	= 'here&#8217;s a quick excerpt';
	
	$blacklist_word_combo_limit = 7;
	$blacklist_word_combo = 0;

	$i = 0;
	
	// Execute Simple Filter Test(s)
	if ( $filter_1_count >= $filter_1_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 1';
		}
	if ( $filter_2_count >= $filter_2_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 2';
		}
	if ( $filter_2_count ) { $blacklist_word_combo++; }
	if ( $filter_3_count >= $filter_3_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 3';
		}
	if ( $filter_3_count ) { $blacklist_word_combo++; }
	if ( $filter_4_count >= $filter_4_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 4';
		}
	if ( $filter_4_count ) { $blacklist_word_combo++; }
	if ( $filter_5_count >= $filter_5_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 5';
		}
	if ( $filter_5_count ) { $blacklist_word_combo++; }
	if ( $filter_6_count >= $filter_6_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 6';
		}
	if ( $filter_6_count ) { $blacklist_word_combo++; }
	if ( $filter_7_count >= $filter_7_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 7';
		}
	if ( $filter_7_count ) { $blacklist_word_combo++; }
	if ( $filter_8_count >= $filter_8_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 8';
		}
	if ( $filter_8_count ) { $blacklist_word_combo++; }
	if ( $filter_9_count >= $filter_9_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 9';
		}
	if ( $filter_9_count ) { $blacklist_word_combo++; }
	if ( $filter_10_count >= $filter_10_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 10';
		}
	if ( $filter_10_count ) { $blacklist_word_combo++; }
	if ( $filter_11_count >= $filter_11_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 11';
		}
	if ( $filter_11_count ) { $blacklist_word_combo++; }
	if ( $filter_12_count >= $filter_12_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 12';
		}
	if ( $filter_12_count ) { $blacklist_word_combo++; }
	if ( $filter_13_count >= $filter_13_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 13';
		}
	if ( $filter_13_count ) { $blacklist_word_combo++; }	
	if ( $filter_14_count >= $filter_14_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 14';
		}
	if ( $filter_14_count ) { $blacklist_word_combo++; }	
	if ( $filter_15_count >= $filter_15_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 15';
		}
	if ( $filter_15_count ) { $blacklist_word_combo++; }	
	if ( $filter_16_count >= $filter_16_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 16';
		}
	if ( $filter_16_count ) { $blacklist_word_combo++; }
	if ( $filter_17_count >= $filter_17_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 17';
		}
	if ( $filter_17_count ) { $blacklist_word_combo++; }
	if ( $filter_18_count >= $filter_18_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 18';
		}
	if ( $filter_18_count ) { $blacklist_word_combo++; }
	if ( $filter_19_count >= $filter_19_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 19';
		}
	if ( $filter_19_count ) { $blacklist_word_combo++; }
	if ( $filter_20_count >= $filter_20_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20';
		}
	if ( $filter_20_count ) { $blacklist_word_combo++; }
	if ( $filter_21_count >= $filter_21_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 21';
		}
	if ( $filter_21_count ) { $blacklist_word_combo++; }
	if ( $filter_22_count >= $filter_22_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 22';
		}
	if ( $filter_22_count ) { $blacklist_word_combo++; }
	if ( $filter_23_count >= $filter_23_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 23';
		}
	if ( $filter_23_count ) { $blacklist_word_combo++; }
	if ( $filter_24_count >= $filter_24_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 24';
		}
	if ( $filter_24_count ) { $blacklist_word_combo++; }
	if ( $filter_25_count >= $filter_25_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 25';
		}
	if ( $filter_25_count ) { $blacklist_word_combo++; }
	if ( $filter_26_count >= $filter_26_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 26';
		}
	if ( $filter_26_count ) { $blacklist_word_combo++; }
	if ( $filter_27_count >= $filter_27_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 27';
		}
	if ( $filter_27_count ) { $blacklist_word_combo++; }
	if ( $filter_28_count >= $filter_28_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 28';
		}
	if ( $filter_28_count ) { $blacklist_word_combo++; }
	if ( $filter_29_count >= $filter_29_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 29';
		}
	if ( $filter_29_count ) { $blacklist_word_combo++; }
	if ( $filter_30_count >= $filter_30_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 30';
		}
	if ( $filter_30_count ) { $blacklist_word_combo++; }
	if ( $filter_31_count >= $filter_31_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 31';
		}
	if ( $filter_31_count ) { $blacklist_word_combo++; }
	if ( $filter_32_count >= $filter_32_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 32';
		}
	if ( $filter_32_count ) { $blacklist_word_combo++; }
	if ( $filter_33_count >= $filter_33_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 33';
		}
	if ( $filter_33_count ) { $blacklist_word_combo++; }
	if ( $filter_34_count >= $filter_34_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 34';
		}
	if ( $filter_34_count ) { $blacklist_word_combo++; }
	if ( $filter_35_count >= $filter_35_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 35';
		}
	if ( $filter_35_count ) { $blacklist_word_combo++; }
	if ( $filter_36_count >= $filter_36_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 36';
		}
	if ( $filter_36_count ) { $blacklist_word_combo++; }
	if ( $filter_37_count >= $filter_37_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 37';
		}
	if ( $filter_37_count ) { $blacklist_word_combo++; }
	if ( $filter_38_count >= $filter_38_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 38';
		}
	if ( $filter_38_count ) { $blacklist_word_combo++; }
	if ( $filter_39_count >= $filter_39_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 39';
		}
	if ( $filter_39_count ) { $blacklist_word_combo++; }
	if ( $filter_40_count >= $filter_40_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 40';
		}
	if ( $filter_40_count ) { $blacklist_word_combo++; }
	if ( $filter_41_count >= $filter_41_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 41';
		}
	if ( $filter_41_count ) { $blacklist_word_combo++; }
		
	if ( $filter_104_count >= $filter_104_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 104';
		}
	if ( $filter_104_count ) { $blacklist_word_combo++; }
	if ( $filter_105_count >= $filter_105_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 105';
		}
	if ( $filter_105_count ) { $blacklist_word_combo++; }
	if ( $filter_106_count >= $filter_106_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 106';
		}
	if ( $filter_106_count ) { $blacklist_word_combo++; }
	if ( $filter_107_count >= $filter_107_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 107';
		}
	if ( $filter_107_count ) { $blacklist_word_combo++; }
	if ( $filter_108_count >= $filter_108_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 108';
		}
	if ( $filter_108_count ) { $blacklist_word_combo++; }
	if ( $filter_109_count >= $filter_109_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 109';
		}
	if ( $filter_109_count ) { $blacklist_word_combo++; }
	if ( $filter_110_count >= $filter_110_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 110';
		}
	if ( $filter_110_count ) { $blacklist_word_combo++; }
	if ( $filter_111_count >= $filter_111_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 111';
		}
	if ( $filter_111_count ) { $blacklist_word_combo++; }
	if ( $filter_112_count >= $filter_112_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 112';
		}
	if ( $filter_112_count ) { $blacklist_word_combo++; }
	if ( $filter_113_count >= $filter_113_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 113';
		}
	if ( $filter_113_count ) { $blacklist_word_combo++; }
	if ( $filter_114_count >= $filter_114_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 114';
		}
	if ( $filter_114_count ) { $blacklist_word_combo++; }
	if ( $filter_115_count >= $filter_115_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 115';
		}
	if ( $filter_115_count ) { $blacklist_word_combo++; }
	if ( $filter_116_count >= $filter_116_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 116';
		}
	if ( $filter_116_count ) { $blacklist_word_combo++; }
	if ( $filter_117_count >= $filter_117_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 117';
		}
	if ( $filter_117_count ) { $blacklist_word_combo++; }
	if ( $filter_118_count >= $filter_118_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 118';
		}
	if ( $filter_118_count ) { $blacklist_word_combo++; }
	if ( $filter_119_count >= $filter_119_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 119';
		}
	if ( $filter_119_count ) { $blacklist_word_combo++; }
	if ( $filter_120_count >= $filter_120_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 120';
		}
	if ( $filter_120_count ) { $blacklist_word_combo++; }
	if ( $filter_121_count >= $filter_121_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 121';
		}
	if ( $filter_121_count ) { $blacklist_word_combo++; }
	if ( $filter_122_count >= $filter_122_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 122';
		}
	if ( $filter_122_count ) { $blacklist_word_combo++; }
	if ( $filter_123_count >= $filter_123_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 123';
		}
	if ( $filter_123_count ) { $blacklist_word_combo++; }
	if ( $filter_124_count >= $filter_124_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 124';
		}
	if ( $filter_124_count ) { $blacklist_word_combo++; }
	if ( $filter_125_count >= $filter_125_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 125';
		}
	if ( $filter_125_count ) { $blacklist_word_combo++; }
	if ( $filter_126_count >= $filter_126_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 126';
		}
	if ( $filter_126_count ) { $blacklist_word_combo++; }
	if ( $filter_127_count >= $filter_127_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 127';
		}
	if ( $filter_127_count ) { $blacklist_word_combo++; }
	if ( $filter_128_count >= $filter_128_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 128';
		}
	if ( $filter_128_count ) { $blacklist_word_combo++; }
	if ( $filter_129_count >= $filter_129_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 129';
		}
	if ( $filter_129_count ) { $blacklist_word_combo++; }
	if ( $filter_130_count >= $filter_130_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 130';
		}
	if ( $filter_130_count ) { $blacklist_word_combo++; }
	if ( $filter_131_count >= $filter_131_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 131';
		}
	if ( $filter_131_count ) { $blacklist_word_combo++; }
	if ( $filter_132_count >= $filter_132_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 132';
		}
	if ( $filter_132_count ) { $blacklist_word_combo++; }
	if ( $filter_133_count >= $filter_133_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 133';
		}
	if ( $filter_133_count ) { $blacklist_word_combo++; }
	if ( $filter_134_count >= $filter_134_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 134';
		}
	if ( $filter_134_count ) { $blacklist_word_combo++; }
	if ( $filter_135_count >= $filter_135_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 135';
		}
	if ( $filter_135_count ) { $blacklist_word_combo++; }
	if ( $filter_136_count >= $filter_136_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 136';
		}
	if ( $filter_136_count ) { $blacklist_word_combo++; }
	if ( $filter_137_count >= $filter_137_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 137';
		}
	if ( $filter_137_count ) { $blacklist_word_combo++; }
	if ( $filter_138_count >= $filter_138_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 138';
		}
	if ( $filter_138_count ) { $blacklist_word_combo++; }
	if ( $filter_139_count >= $filter_139_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 139';
		}
	if ( $filter_139_count ) { $blacklist_word_combo++; }
	if ( $filter_140_count >= $filter_140_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 140';
		}
	if ( $filter_140_count ) { $blacklist_word_combo++; }
	if ( $filter_141_count >= $filter_141_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 141';
		}
	if ( $filter_141_count ) { $blacklist_word_combo++; }
	if ( $filter_142_count >= $filter_142_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 142';
		}
	if ( $filter_142_count ) { $blacklist_word_combo++; }
	if ( $filter_143_count >= $filter_143_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 143';
		}
	if ( $filter_143_count ) { $blacklist_word_combo++; }
	if ( $filter_144_count >= $filter_144_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 144';
		}
	if ( $filter_144_count ) { $blacklist_word_combo++; }
	if ( $filter_145_count >= $filter_145_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 145';
		}
	if ( $filter_145_count ) { $blacklist_word_combo++; }
	if ( $filter_146_count >= $filter_146_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 146';
		}
	if ( $filter_146_count ) { $blacklist_word_combo++; }
	if ( $filter_147_count >= $filter_147_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 147';
		}
	if ( $filter_147_count ) { $blacklist_word_combo++; }
	if ( $filter_148_count >= $filter_148_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 148';
		}
	if ( $filter_148_count ) { $blacklist_word_combo++; }
	if ( $filter_149_count >= $filter_149_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 149';
		}
	if ( $filter_149_count ) { $blacklist_word_combo++; }
	if ( $filter_150_count >= $filter_150_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 150';
		}
	if ( $filter_150_count ) { $blacklist_word_combo++; }
	if ( $filter_151_count >= $filter_151_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 151';
		}
	if ( $filter_151_count ) { $blacklist_word_combo++; }
	if ( $filter_152_count >= $filter_152_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 152';
		}
	if ( $filter_152_count ) { $blacklist_word_combo++; }
	if ( $filter_153_count >= $filter_153_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 153';
		}
	if ( $filter_153_count ) { $blacklist_word_combo++; }
	if ( $filter_154_count >= $filter_154_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 154';
		}
	if ( $filter_154_count ) { $blacklist_word_combo++; }
	if ( $filter_155_count >= $filter_155_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 155';
		}
	if ( $filter_155_count ) { $blacklist_word_combo++; }
	if ( $filter_156_count >= $filter_156_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 156';
		}
	if ( $filter_156_count ) { $blacklist_word_combo++; }
	if ( $filter_157_count >= $filter_157_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 157';
		}
	if ( $filter_157_count ) { $blacklist_word_combo++; }
	if ( $filter_158_count >= $filter_158_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 158';
		}
	if ( $filter_158_count ) { $blacklist_word_combo++; }


	if ( $filter_500_count >= $filter_500_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 500';
		}
	if ( $filter_500_count ) { $blacklist_word_combo++; }
	if ( $filter_501_count >= $filter_501_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 501';
		}
	if ( $filter_501_count ) { $blacklist_word_combo++; }
	if ( $filter_502_count >= $filter_502_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 502';
		}
	if ( $filter_502_count ) { $blacklist_word_combo++; }
	if ( $filter_503_count >= $filter_503_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 503';
		}
	if ( $filter_503_count ) { $blacklist_word_combo++; }
	if ( $filter_504_count >= $filter_504_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 504';
		}
	if ( $filter_504_count ) { $blacklist_word_combo++; }
	if ( $filter_505_count >= $filter_505_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 505';
		}
	if ( $filter_505_count ) { $blacklist_word_combo++; }
	if ( $filter_506_count >= $filter_506_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 506';
		}
	if ( $filter_506_count ) { $blacklist_word_combo++; }
	if ( $filter_507_count >= $filter_507_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 507';
		}
	if ( $filter_507_count ) { $blacklist_word_combo++; }
	if ( $filter_508_count >= $filter_508_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 508';
		}
	if ( $filter_508_count ) { $blacklist_word_combo++; }
	if ( $filter_509_count >= $filter_509_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 509';
		}
	if ( $filter_509_count ) { $blacklist_word_combo++; }
	if ( $filter_510_count >= $filter_510_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 510';
		}
	if ( $filter_510_count ) { $blacklist_word_combo++; }
	if ( $filter_511_count >= $filter_511_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 511';
		}
	if ( $filter_511_count ) { $blacklist_word_combo++; }

	/*
	// Execute Filter Test(s)

	$i = 0;
	while ( $i <= $filter_set_master_count ) {
		$filter_phrase_parameters = explode( '[::wpsf::]', $filter_set_master[$i] );
		$filter_phrase 					= $filter_phrase_parameters[0];
		$filter_phrase_limit 			= $filter_phrase_parameters[1];
		$filter_phrase_trackback_limit 	= $filter_phrase_parameters[2];
		$filter_phrase_count			= substr_count( $commentdata_comment_content_lc, $filter_phrase );
		if ( ( $filter_phrase_limit != 0 && $filter_phrase_count >= $filter_phrase_limit ) || ( $filter_phrase_limit == 1 && eregi( $filter_phrase, $commentdata_comment_author_lc ) ) || ( $commentdata_comment_author_lc == $filter_phrase ) ) {
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			}
		$i++;
		}
	*/
	
	// Regular Expression Tests
	
	if ( eregi( "\<a\ href\=\"http\:\/\/([a-z0-9\.\-]+)\.com/\"\>([a-z0-9\.\-]+)\<\/a\>\,\ \[url\=http\:\/\/([a-z0-9\.\-]+)\.com\/\]([a-z0-9\.\-]+)\[\/url\]\,\ \[link\=http\:\/\/([a-z0-9\.\-]+)\.com\/\]([a-z0-9\.\-]+)\[\/link\]\,\ http\:\/\/([a-z0-9\.\-]+)\.com\/", $commentdata_comment_content_lc ) ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' RE10001';
		}
	if ( eregi( "\<a\ href\=\\\"http\:\/\/([a-z0-9\.\-]+)\.com\/\\\"\>([a-z0-9\.\-]+)\<\/a\>\,\ \[url\=http\:\/\/([a-z0-9\.\-]+)\.com\/\]([a-z0-9\.\-]+)\[\/url\]\,\ \[link\=http\:\/\/([a-z0-9\.\-]+)\.com\/\]([a-z0-9\.\-]+)\[\/link\]\,\ http\:\/\/([a-z0-9\.\-]+)\.com\/", $commentdata_comment_content_lc ) ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' RE10001';
		}
	if ( eregi( "\<a\ href\=\\\"http\:\/\/([a-z0-9\.\-]+)\.com\/\\\"\>([a-z0-9\.\-]+)\<\/a\>\,\ \[url\=http\:\/\/([a-z0-9\.\-]+)\.com\/\]([a-z0-9\.\-]+)\[\/url\]\,\ \[link\=http\:\/\/([a-z0-9\.\-]+)\.\com\/]([a-z0-9\.\-\ ]+)\[\/link\]\,\ http\:\/\/([a-z0-9\.\-]+)\.com\/", $commentdata_comment_content_lc ) ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' RE10002';
		}
	if ( eregi( "\<a\ href\=", $commentdata_comment_content_lc ) && eregi( "\<\/a\>,", $commentdata_comment_content_lc ) && eregi( "\[url\=http\:\/\/", $commentdata_comment_content_lc ) && eregi( "\.com\/\]", $commentdata_comment_content_lc ) && eregi( "\[\/url\]\,", $commentdata_comment_content_lc ) && eregi( "\[link\=http\:\/\/", $commentdata_comment_content_lc )  && eregi( "\[\/link\]\,", $commentdata_comment_content_lc ) && substr_count(  $commentdata_comment_content_lc, "http\:\/\/" ) > 2 ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' RE10003';
		}
	
	// Test Comment Author 
	// Words in Comment Author Repeated in Content - With Keyword Density
	$RepeatedTermsFilters = array('.','-',':');
	$RepeatedTermsTempPhrase = str_replace($RepeatedTermsFilters,'',$commentdata_comment_author_lc);
	$RepeatedTermsTest = explode(' ',$RepeatedTermsTempPhrase);
	$RepeatedTermsTestCount = count($RepeatedTermsTest);
	$CommentContentTotalWords = count( explode( ' ', $commentdata_comment_content_lc ) );
	$i = 0;
	while ( $i <= $RepeatedTermsTestCount ) {
		if ( $RepeatedTermsTest[$i] ) {
			$RepeatedTermsInContentCount = substr_count( $commentdata_comment_content_lc, $RepeatedTermsTest[$i] );
			$RepeatedTermsInContentStrLength = strlen($RepeatedTermsTest[$i]);
			if ( $RepeatedTermsInContentCount > 1 && $CommentContentTotalWords < $RepeatedTermsInContentCount ) {
				$RepeatedTermsInContentCount = 1;
				}
			$RepeatedTermsInContentDensity = ( $RepeatedTermsInContentCount / $CommentContentTotalWords ) * 100;
			//$spamfree_error_code .= ' 9000-'.$i.' KEYWORD: '.$RepeatedTermsTest[$i].' DENSITY: '.$RepeatedTermsInContentDensity.'% TIMES WORD OCCURS: '.$RepeatedTermsInContentCount.' TOTAL WORDS: '.$CommentContentTotalWords;
			if ( $RepeatedTermsInContentCount >= 5 && $RepeatedTermsInContentStrLength >= 4 && $RepeatedTermsInContentDensity > 40 ) {		
				if ( !$content_filter_status ) { $content_filter_status = '1'; }
				$spamfree_error_code .= ' 9000-'.$i;
				}
			}
		$i++;
		}
	// Comment Author and Comment Author URL appearing in Content
	if ( $commentdata_comment_author_url_lc ) {
		$commentdata_comment_author_lc_inhref = '>'.$commentdata_comment_author_lc.'</a>';
		//$commentdata_comment_author_url_lc_insquote = "\\'".$commentdata_comment_author_url_lc."\\'";
		//$commentdata_comment_author_url_lc_indquote = "\\\"".$commentdata_comment_author_url_lc."\\\"";
		
		if ( eregi($commentdata_comment_author_url_lc,$commentdata_comment_content_lc) && eregi($commentdata_comment_author_lc_inhref,$commentdata_comment_content_lc) ) {
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' 9100';
			}
		/* Not working
		if ( eregi( $commentdata_comment_author_url_lc_insquote, $commentdata_comment_content_lc ) ) {
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' 9101';
			}
		if ( eregi( $commentdata_comment_author_url_lc_indquote, $commentdata_comment_content_lc ) ) {
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' 9102';
			}
		*/
		}
	// Emails
	if ( $commentdata_comment_author_email_lc == '*****@*****.**' || $commentdata_comment_author_email_lc == '*****@*****.**' || $commentdata_comment_author_email_lc == '*****@*****.**' || $commentdata_comment_author_email_lc == '*****@*****.**' || $commentdata_comment_author_email_lc == '*****@*****.**' || $commentdata_comment_author_email_lc == '*****@*****.**' || $commentdata_comment_author_email_lc == '*****@*****.**' || $commentdata_comment_author_email_lc == '*****@*****.**' || $commentdata_comment_author_email_lc == '*****@*****.**' || $commentdata_comment_author_email_lc == '*****@*****.**' || $commentdata_comment_author_email_lc == '*****@*****.**' || $commentdata_comment_author_email_lc == '*****@*****.**' || 	$commentdata_comment_author_email_lc == '*****@*****.**' || $commentdata_comment_author_email_lc == '*****@*****.**' || $commentdata_comment_author_email_lc == '*****@*****.**' || $commentdata_comment_author_email_lc == '*****@*****.**' || $commentdata_comment_author_email_lc == '*****@*****.**' || $commentdata_comment_author_email_lc == '*****@*****.**' || $commentdata_comment_author_email_lc == '*****@*****.**' || eregi( '*****@*****.**', $commentdata_comment_author_email_lc ) || eregi( '@keywordspy.com', $commentdata_comment_author_email_lc ) || eregi( '@fuckyou.com', $commentdata_comment_author_email_lc ) || eregi( 'fuckyou@', $commentdata_comment_author_email_lc ) || eregi( 'spammer@', $commentdata_comment_author_email_lc ) || eregi( 'spambot@', $commentdata_comment_author_email_lc ) || eregi( 'spam@', $commentdata_comment_author_email_lc ) || eregi( 'anonymous@', $commentdata_comment_author_email_lc ) || eregi( 'root@', $commentdata_comment_author_email_lc ) ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 9200';
		}
	// Test Referrers
	if ( eregi( $commentdata_php_self_lc, $WPCommentsPostURL ) && $commentdata_referrer_lc == $WPCommentsPostURL ) {
		// Often spammers send the referrer as the URL for the wp-comments-post.php page. Nimrods.
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' REF1000';
		}

	if( $_POST[ 'refJS' ] && $_POST[ 'refJS' ] != '' ) {
		$refJS = addslashes( urldecode( $_POST[ 'refJS' ] ) );
		$refJS = str_replace( '%3A', ':', $refJS );
		if ( eregi( "\.google\.co(m|\.[a-z]{2})", $refJS ) && eregi( "leave a comment", $refJS ) ) { 
			// make test more robust for other versions of google & search query
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' REF1001';
			}
		// add Keyword Script Here
		}

	/*
	// Disabled temp because of IE8 Private Browsing
	//if ( !$commentdata_referrer_lc ) {
	if ( !eregi( $BlogServerName, $commentdata_referrer_lc ) ) {
		// Often spammers send the referrer as blank. Only valid if equal to site domain.
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 1001';
		}
	*/
	
	// Spam Network :: BEGIN

	// Test User-Agents
	if ( !$commentdata_user_agent_lc  ) {
		// There is no reason for a blank UA String, unless it's been altered.
		$content_filter_status = '2';
		$spamfree_error_code .= ' UA1001';
		}
	$commentdata_user_agent_lc_word_count = count( explode( " ", $commentdata_user_agent_lc ) );
	if ( $commentdata_user_agent_lc && $commentdata_user_agent_lc_word_count < 3 ) {
		if ( $commentdata_comment_type != 'trackback' && $commentdata_comment_type != 'pingback' || ( !eregi( 'movabletype', $commentdata_user_agent_lc ) && ( $commentdata_comment_type == 'trackback' || $commentdata_comment_type == 'pingback' ) ) ) {
			// Another test for altered UA's.
			$content_filter_status = '2';
			$spamfree_error_code .= ' UA1001.1-'.$commentdata_user_agent_lc;
			}
		}
	if ( eregi( 'libwww-perl', $commentdata_user_agent_lc ) || eregi( "^(nutch|larbin|jakarta|java)", $commentdata_user_agent_lc ) ) {
		// There is no reason for a human to use one of these UA strings. Commonly used to attack/spam WP.
		$content_filter_status = '2';
		$spamfree_error_code .= ' UA1002';
		}
	if ( eregi( 'iopus-', $commentdata_user_agent_lc ) ) {
		$content_filter_status = '2';
		$spamfree_error_code .= ' UA1003';
		}
	
	if ( $commentdata_comment_type != 'trackback' && $commentdata_comment_type != 'pingback' ) {
	
		//Test HTTP_ACCEPT_LANGUAGE
		$user_http_accept_language = trim($_SERVER['HTTP_ACCEPT_LANGUAGE']);
		if ( !$user_http_accept_language ) {
			$content_filter_status = '2';
			$spamfree_error_code .= ' HAL1001';
			}

		//Test PROXY STATUS if option
		if ( $ipProxy == 'PROXY DETECTED' && !$spamfree_options['allow_proxy_users'] ) {
			$content_filter_status = '10';
			$spamfree_error_code .= ' PROXY1001';
			}
	
		}


	// Test IPs
	//if ( $commentdata_remote_addr_lc == '64.20.49.178' || $commentdata_remote_addr_lc == '206.123.92.245' || $commentdata_remote_addr_lc == '72.249.100.188' || $commentdata_remote_addr_lc == '61.24.158.174' || $commentdata_remote_addr_lc == '77.92.88.27' || $commentdata_remote_addr_lc == '89.113.78.6' || $commentdata_remote_addr_lc == '92.48.65.27' || $commentdata_remote_addr_lc == '92.48.122.2' || $commentdata_remote_addr_lc == '92.241.176.200' || $commentdata_remote_addr_lc == '78.129.202.2' || $commentdata_remote_addr_lc == '78.129.202.15' || eregi( "^78.129.202.", $commentdata_remote_addr_lc ) || eregi( "^123.237.144.", $commentdata_remote_addr_lc ) || eregi( "^123.237.147.", $commentdata_remote_addr_lc ) ) {
	$spamfree_ip_bans = array(
								'66.60.98.1',
								'67.227.135.200',
								'74.86.148.194',
								'77.92.88.13',
								'77.92.88.27',
								'78.129.202.15',
								'78.129.202.2',
								'78.157.143.202',
								'87.106.55.101',
								'91.121.77.168',
								'92.241.176.200',
								'92.48.122.2',
								'92.48.122.3',
								'92.48.65.27',
								'92.241.168.216',
								'115.42.64.19',
								'116.71.33.252',
								'116.71.35.192',
								'116.71.59.69',
								'122.160.70.94',
								'122.162.251.167',
								'123.237.144.189',
								'123.237.144.92',
								'123.237.147.71',
								'193.37.152.242',
								'193.46.236.151',
								'193.46.236.152',
								'193.46.236.234',
								'194.44.97.14',
								);
	if ( in_array( $commentdata_remote_addr, $spamfree_ip_bans ) || eregi( "^78\.129\.202\.", $commentdata_remote_addr_lc ) || eregi( "^123\.237\.144\.", $commentdata_remote_addr_lc ) || eregi( "^123\.237\.147.", $commentdata_remote_addr_lc ) || eregi( "^194\.8\.7([45])\.", $commentdata_remote_addr_lc ) || eregi( "^193\.37\.152.", $commentdata_remote_addr_lc ) || eregi( "^193\.46\.236\.", $commentdata_remote_addr_lc ) || eregi( "^92\.48\.122\.([0-9]|[12][0-9]|3[01])$", $commentdata_remote_addr_lc ) || eregi( "^116\.71\.", $commentdata_remote_addr_lc ) ) {
		// 194.8.74.0 - 194.8.75.255 BAD spam network - BRITISH VIRGIN ISLANDS
		// 193.37.152.0 - 193.37.152.255 SPAM NETWORK - WEB HOST, NOT ISP - GERMANY
		// 193.46.236.0 - 193.46.236.255 SPAM NETWORK - WEB HOST, NOT ISP - LATVIA
		// 92.48.122.0 - 92.48.122.31 SPAM NETWORK - SERVERS, NOT ISP - BELGRADE
		// KeywordSpy.com caught using IP's in the range 123.237.144. and 123.237.147.
		// 91.121.77.168 real-url.org
		
		// 87.106.55.101 SPAM NETWORK - SERVERS, NOT ISP - (.websitehome.co.uk)
		// 74.86.148.194 SPAM NETWORK - WEB HOST, NOT ISP (rover-host.com)
		// 67.227.135.200 SPAM NETWORK - WEB HOST, NOT ISP (host.lotosus.com)
		// 66.60.98.1 SPAM NETWORK - WEB SITE/HOST, NOT ISP - (rdns.softwiseonline.com)
		// 116.71.0.0 - 116.71.255.255 - SPAM NETWORK - PAKISTAN - Ptcl Triple Play Project
		// 194.44.97.14 , arkada.rovno.ua - SPAM NETWORK

		$content_filter_status = '2';
		$spamfree_error_code .= ' IP1002-'.$commentdata_remote_addr_lc;
		}
	if ( eregi( "^192\.168\.", $commentdata_remote_addr_lc ) && !eregi( "^192\.168\.", $BlogServerIP ) && !eregi( 'localhost', $BlogServerName ) ) {
		$content_filter_status = '2';
		$spamfree_error_code .= ' IP1003-'.$commentdata_remote_addr_lc;
		}
	// Test Remote Hosts
	if ( eregi( 'keywordspy.com', $commentdata_remote_host_lc ) ) {
		$content_filter_status = '2';
		$spamfree_error_code .= ' RH1003-'.$commentdata_remote_host_lc;
		}
	if ( eregi( "clients\.your\-server\.de$", $commentdata_remote_host_lc ) ) {
		$content_filter_status = '2';
		$spamfree_error_code .= ' RH1004-'.$commentdata_remote_host_lc;
		}
	if ( eregi( "^rover\-host\.com$", $commentdata_remote_host_lc ) ) {
		$content_filter_status = '2';
		$spamfree_error_code .= ' RH1005-'.$commentdata_remote_host_lc;
		}
	if ( eregi( "^host\.lotosus\.com$", $commentdata_remote_host_lc ) ) {
		$content_filter_status = '2';
		$spamfree_error_code .= ' RH1006-'.$commentdata_remote_host_lc;
		}
	if ( eregi( "^rdns\.softwiseonline\.com$", $commentdata_remote_host_lc ) ) {
		$content_filter_status = '2';
		$spamfree_error_code .= ' RH1007-'.$commentdata_remote_host_lc;
		}
	if ( eregi( "s([a-z0-9]+)\.websitehome\.co\.uk$", $commentdata_remote_host_lc ) ) {
		$content_filter_status = '2';
		$spamfree_error_code .= ' RH1008-'.$commentdata_remote_host_lc;
		}
	if ( eregi( "\.opentransfer\.com$", $commentdata_remote_host_lc ) ) {
		$content_filter_status = '2';
		$spamfree_error_code .= ' RH1009-'.$commentdata_remote_host_lc;
		}
	if ( eregi( "arkada\.rovno\.ua$", $commentdata_remote_host_lc ) ) {
		$content_filter_status = '2';
		$spamfree_error_code .= ' RH1010-'.$commentdata_remote_host_lc;
		}

		
	/*	
	if ( eregi( "^host\.", $commentdata_remote_host_lc ) ) {
		$content_filter_status = '2';
		$spamfree_error_code .= ' RH1009-'.$commentdata_remote_host_lc;
		}
	*/

	/*
	// Following is causing errors on some systems. - 06/17/08
	if ( $commentdata_remote_host_lc == 'blank' && $commentdata_comment_type != 'trackback' && $commentdata_comment_type != 'pingback' ) {
		$content_filter_status = '2';
		$spamfree_error_code .= ' 1004';
		}
	*/
	// Test Reverse DNS Hosts
	if ( eregi( 'keywordspy.com', $ReverseDNS ) ) {
		$content_filter_status = '2';
		$spamfree_error_code .= ' REVD1023-'.$ReverseDNS;
		}
	if ( eregi( "clients\.your\-server\.de$", $ReverseDNS ) ) {
		$content_filter_status = '2';
		$spamfree_error_code .= ' REVD1024-'.$ReverseDNS;
		}
	if ( eregi( "^rover\-host\.com$", $ReverseDNS ) ) {
		$content_filter_status = '2';
		$spamfree_error_code .= ' REVD1025-'.$ReverseDNS;
		}
	if ( eregi( "^host\.lotosus\.com$", $ReverseDNS ) ) {
		$content_filter_status = '2';
		$spamfree_error_code .= ' REVD1026-'.$ReverseDNS;
		}
	if ( eregi( "^rdns\.softwiseonline\.com$", $ReverseDNS ) ) {
		$content_filter_status = '2';
		$spamfree_error_code .= ' REVD1027-'.$ReverseDNS;
		}
	if ( eregi( "^s([a-z0-9]+)\.websitehome\.co\.uk$", $ReverseDNS ) ) {
		$content_filter_status = '2';
		$spamfree_error_code .= ' REVD1028-'.$ReverseDNS;
		}
	if ( eregi( "\.opentransfer\.com$", $ReverseDNS ) ) {
		$content_filter_status = '2';
		$spamfree_error_code .= ' REVD1029-'.$ReverseDNS;
		}
	if ( eregi( "arkada\.rovno\.ua$", $ReverseDNS ) ) {
		$content_filter_status = '2';
		$spamfree_error_code .= ' REVD1030-'.$ReverseDNS;
		}		
		
	/*	
	if ( eregi( "^host\.", $ReverseDNS ) ) {
		$content_filter_status = '2';
		$spamfree_error_code .= ' REVD1029-'.$ReverseDNS;
		}
	*/


	// Test Reverse DNS IP's
	/* 
	// Temporarily disabling to investigate errors - 02/22/09
	// Possibly remove permanently in next version
	// 
	// If faked to Match blog Server IP
	if ( $ReverseDNSIP == $BlogServerIP && $commentdata_comment_type != 'trackback' && $commentdata_comment_type != 'pingback' ) {
		$content_filter_status = '2';
		$spamfree_error_code .= ' 1031';
		}
	// If faked to be single dot
	if ( $ReverseDNSIP == '.' ) {
		$content_filter_status = '2';
		$spamfree_error_code .= ' 1032';
		}
	*/	
	// Spam Network :: END	
	// Test Pingbacks and Trackbacks
	if ( $commentdata_comment_type == 'pingback' || $commentdata_comment_type == 'trackback' ) {
	
		if ( $filter_1_count >= $filter_1_trackback_limit ) {
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' T1';
			}
		if ( $filter_200_count >= $filter_200_trackback_limit ) {
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' T200';
			}
		if ( $filter_200_count ) { $blacklist_word_combo++; }
		if ( $commentdata_comment_type == 'trackback' && eregi( 'WordPress', $commentdata_user_agent_lc ) ) {
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' T3000';
			}
		// Check History of WordPress User-Agents and Keep up to Date
		if ( eregi( 'Incutio XML-RPC -- WordPress/', $commentdata_user_agent_lc ) ) {
			$commentdata_user_agent_lc_explode = explode( '/', $commentdata_user_agent_lc );
			if ( $commentdata_user_agent_lc_explode[1] > $CurrentWordPressVersionMaxCheck && $commentdata_user_agent_lc_explode[1] !='MU' ) {
				if ( !$content_filter_status ) { $content_filter_status = '1'; }
				$spamfree_error_code .= ' T1001';
				}
			}
		if ( eregi( 'The Incutio XML-RPC PHP Library -- WordPress/', $commentdata_user_agent_lc ) ) {
			$commentdata_user_agent_lc_explode = explode( '/', $commentdata_user_agent_lc );
			if ( $commentdata_user_agent_lc_explode[1] > $CurrentWordPressVersionMaxCheck && $commentdata_user_agent_lc_explode[1] !='MU' ) {
				if ( !$content_filter_status ) { $content_filter_status = '1'; }
				$spamfree_error_code .= ' T1002';
				}
			}
		if ( $commentdata_comment_author == $commentdata_comment_author_lc && eregi( "([a-z]+)", $commentdata_comment_author ) ) {
			// Check to see if Comment Author is lowercase. Normal blog pings Authors are properly capitalized. No brainer.
			// Added second test to only run when using standard alphabet.
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' T1010';
			}
		if ( $ipProxy == 'PROXY DETECTED' ) {
			// Check to see if Trackback/Pingback is using proxy. Red flag.
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' T1011';
			}
		if ( $commentdata_comment_content == '[...] read more [...]' ) {
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' T1020';
			}
		if ( eregi( $SplogTrackbackPhrase1, $commentdata_comment_content_lc_norm_apost ) || eregi( $SplogTrackbackPhrase1a, $commentdata_comment_content_lc ) || eregi( $SplogTrackbackPhrase2, $commentdata_comment_content_lc_norm_apost ) || eregi( $SplogTrackbackPhrase2a, $commentdata_comment_content_lc ) || eregi( $SplogTrackbackPhrase3, $commentdata_comment_content_lc_norm_apost ) || eregi( $SplogTrackbackPhrase3a, $commentdata_comment_content_lc ) || eregi( $SplogTrackbackPhrase4, $commentdata_comment_content_lc_norm_apost ) || eregi( $SplogTrackbackPhrase5, $commentdata_comment_content_lc_norm_apost ) || ( eregi( $SplogTrackbackPhrase20a, $commentdata_comment_content_lc_norm_apost ) && ( eregi( $SplogTrackbackPhrase20b, $commentdata_comment_content_lc_norm_apost ) || eregi( $SplogTrackbackPhrase20c, $commentdata_comment_content_lc ) ) ) ) {
			// Check to see if common patterns exist in comment content.
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' T2002';
			}
		if ( eregi( $commentdata_comment_author_lc_spam_strong, $commentdata_comment_content_lc ) ) {
			// Check to see if Comment Author is repeated in content, enclosed in <strong> tags.
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' T2003';
			}
		if ( eregi( $commentdata_comment_author_lc_spam_a1, $commentdata_comment_content_lc ) || eregi( $commentdata_comment_author_lc_spam_a2, $commentdata_comment_content_lc ) ) {
			// Check to see if Comment Author is repeated in content, enclosed in <a> tags.
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' T2004';
			}
		if ( eregi( $commentdata_comment_author_lc_spam_strong_dot1, $commentdata_comment_content_lc ) ) {
			// Check to see if Phrase... in bold is in content
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' T2005';
			}
		if ( eregi( $commentdata_comment_author_lc_spam_strong_dot2, $commentdata_comment_content_lc ) ) {
			// Check to see if Phrase... in bold is in content
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' T2006';
			}
		// Check to see if keyword phrases in url match Comment Author - spammers do this to get links with desired keyword anchor text.
		// Start with url and convert to text phrase for matching against author.
		$i = 0;
		while ( $i <= $KeywordURLPhrasesCount ) {
			if ( $KeywordURLPhrases[$i] == $commentdata_comment_author_lc ) {
				if ( !$content_filter_status ) { $content_filter_status = '1'; }
				$spamfree_error_code .= ' T3001';
				}
			if ( $KeywordURLPhrases[$i] == $commentdata_comment_content_lc ) {
				if ( !$content_filter_status ) { $content_filter_status = '1'; }
				$spamfree_error_code .= ' T3002';
				}
			$i++;
			}
		// Reverse check to see if keyword phrases in url match Comment Author. Start with author and convert to url phrases.
		$i = 0;
		while ( $i <= $KeywordCommentAuthorPhraseURLVariationCount ) {
			$KeywordCommentAuthorPhrase1Version = '/'.$KeywordCommentAuthorPhrase1.$KeywordCommentAuthorPhraseURLVariation[$i];
			$KeywordCommentAuthorPhrase2Version = '/'.$KeywordCommentAuthorPhrase2.$KeywordCommentAuthorPhraseURLVariation[$i];
			$KeywordCommentAuthorPhrase3Version = '/'.$KeywordCommentAuthorPhrase3.$KeywordCommentAuthorPhraseURLVariation[$i];
			$KeywordCommentAuthorPhrase1SubStrCount = substr_count($commentdata_comment_author_url_lc, $KeywordCommentAuthorPhrase1Version);
			$KeywordCommentAuthorPhrase2SubStrCount = substr_count($commentdata_comment_author_url_lc, $KeywordCommentAuthorPhrase2Version);
			$KeywordCommentAuthorPhrase3SubStrCount = substr_count($commentdata_comment_author_url_lc, $KeywordCommentAuthorPhrase3Version);
			if ( $KeywordCommentAuthorPhrase1SubStrCount >= 1 ) {
				if ( !$content_filter_status ) { $content_filter_status = '1'; }
				$spamfree_error_code .= ' T3003-1-'.$KeywordCommentAuthorPhrase1Version;
				}
			else if ( $KeywordCommentAuthorPhrase2SubStrCount >= 1 ) {
				if ( !$content_filter_status ) { $content_filter_status = '1'; }
				$spamfree_error_code .= ' T3003-2-'.$KeywordCommentAuthorPhrase2Version;
				}
			else if ( $KeywordCommentAuthorPhrase3SubStrCount >= 1 ) {
				if ( !$content_filter_status ) { $content_filter_status = '1'; }
				$spamfree_error_code .= ' T3003-3-'.$KeywordCommentAuthorPhrase3Version;
				}
			$i++;
			}
		/*
		$i = 0;
		while ( $i <= $filter_set_master_count ) {
			$filter_phrase_parameters = explode( '[::wpsf::]', $filter_set_master[$i] );
			$filter_phrase 					= $filter_phrase_parameters[0];
			$filter_phrase_limit 			= $filter_phrase_parameters[1];
			$filter_phrase_trackback_limit 	= $filter_phrase_parameters[2];
			$filter_phrase_count			= substr_count( $commentdata_comment_content_lc, $filter_phrase );
			if ( $filter_phrase_count >= $filter_phrase_trackback_limit ) {
				if ( !$content_filter_status ) { $content_filter_status = '1'; }
				}
			$i++;
			}
		*/

		// Test Comment Author 
		// Words in Comment Author Repeated in Content		
		$RepeatedTermsFilters = array('.','-',':');
		$RepeatedTermsTempPhrase = str_replace($RepeatedTermsFilters,'',$commentdata_comment_author_lc);
		$RepeatedTermsTest = explode(' ',$RepeatedTermsTempPhrase);
		$RepeatedTermsTestCount = count($RepeatedTermsTest);
		$i = 0;
		while ( $i <= $RepeatedTermsTestCount ) {
			$RepeatedTermsInContentCount = substr_count( $commentdata_comment_content_lc, $RepeatedTermsTest[$i] );
			$RepeatedTermsInContentStrLength = strlen($RepeatedTermsTest[$i]);
			if ( $RepeatedTermsInContentCount >= 6 && $RepeatedTermsInContentStrLength >= 4 ) {		
				if ( !$content_filter_status ) { $content_filter_status = '1'; }
				$spamfree_error_code .= ' T9000-'.$i;
				}
			$i++;
			}
		}
	// Miscellaneous
	if ( $commentdata_comment_content == '[...]  [...]' ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 5000';
		}
	if ( $commentdata_comment_content == '<new comment>' ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 5001';
		}
	if ( eregi( 'blastogranitic atremata antiviral unteacherlike choruser coccygalgia corynebacterium reason', $commentdata_comment_content ) ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 5002';
		}


	// Execute Complex Filter Test(s)
	if ( $filter_10001_count >= $filter_10001_limit && $filter_10002_count >= $filter_10002_limit &&  ( $filter_10003_count >= $filter_10003_limit || $filter_10004_count >= $filter_10004_limit ) ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' CF10000';
		}
	if ( $filter_10003_count ) { $blacklist_word_combo++; }

	// Comment Author URL Tests - Free Websites / Crap Websites
	if ( eregi( 'groups.google.com', $commentdata_comment_author_url_lc ) ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20001';
		}
	if ( $filter_20001_count >= $filter_20001_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20001A';
		}
	if ( $filter_20001C_count >= $filter_20001_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20001C';
		}
	if ( eregi( 'groups.yahoo.com', $commentdata_comment_author_url_lc ) ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20002';
		}
	if ( $filter_20002_count >= $filter_20002_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20002A';
		}
	if ( $filter_20002C_count >= $filter_20002_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20002C';
		}
	if ( eregi( ".?phpbbserver\.com", $commentdata_comment_author_url_lc ) ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20003';
		}
	if ( $filter_20003_count >= $filter_20003_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20003A';
		}
	if ( $filter_20003C_count >= $filter_20003_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20003C';
		}
	if ( eregi( '.freehostia.com', $commentdata_comment_author_url_lc ) ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20004';
		}
	if ( $filter_20004_count >= $filter_20004_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20004A';
		}
	if ( $filter_20004C_count >= $filter_20004_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20004C';
		}
	if ( eregi( 'groups.google.us', $commentdata_comment_author_url_lc ) ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20005';
		}
	if ( $filter_20005_count >= $filter_20005_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20005A';
		}
	if ( $filter_20005C_count >= $filter_20005_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20005C';
		}
	if ( eregi( 'www.google.com/notebook/public/', $commentdata_comment_author_url_lc ) ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20006';
		}
	if ( $filter_20006_count >= $filter_20006_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20006A';
		}
	if ( $filter_20006C_count >= $filter_20006_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20006C';
		}
	if ( eregi( '.free-site-host.com', $commentdata_comment_author_url_lc ) ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20007';
		}
	if ( $filter_20007_count >= $filter_20007_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20007A';
		}
	if ( $filter_20007C_count >= $filter_20007_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20007C';
		}
	if ( eregi( 'youporn736.vox.com', $commentdata_comment_author_url_lc ) ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20008';
		}
	if ( $filter_20008_count >= $filter_20008_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20008A';
		}
	if ( $filter_20008C_count >= $filter_20008_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20008C';
		}
	if ( eregi( 'keywordspy.com', $commentdata_comment_author_url_lc ) ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20009';
		}
	if ( $filter_20009_count >= $filter_20009_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20009A';
		}
	if ( $filter_20009C_count >= $filter_20009_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20009C';
		}
	if ( eregi( '.t35.com', $commentdata_comment_author_url_lc ) ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20010';
		}
	if ( $filter_20010_count >= $filter_20010_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20010A';
		}
	if ( $filter_20010C_count >= $filter_20010_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20010C';
		}
	if ( eregi( '.150m.com', $commentdata_comment_author_url_lc ) ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20011';
		}
	if ( $filter_20011_count >= $filter_20011_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20011A';
		}
	if ( $filter_20011C_count >= $filter_20011_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20011C';
		}
	if ( eregi( '.250m.com', $commentdata_comment_author_url_lc ) ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20012';
		}
	if ( $filter_20012_count >= $filter_20012_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20012A';
		}
	if ( $filter_20012C_count >= $filter_20012_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20012C';
		}
	if ( eregi( 'blogs.ign.com', $commentdata_comment_author_url_lc ) ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20013';
		}
	if ( $filter_20013_count >= $filter_20013_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20013A';
		}
	if ( $filter_20013C_count >= $filter_20013_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20013C';
		}
	if ( eregi( 'members.lycos.co.uk', $commentdata_comment_author_url_lc ) ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20014';
		}
	if ( $filter_20014_count >= $filter_20014_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20014A';
		}
	if ( $filter_20014C_count >= $filter_20014_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20014C';
		}
	if ( eregi( '/christiantorrents.ru', $commentdata_comment_author_url_lc ) ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20015';
		}
	if ( $filter_20015_count >= $filter_20015_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20015A';
		}
	if ( $filter_20015C_count >= $filter_20015_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20015C';
		}
	if ( eregi( '.christiantorrents.ru', $commentdata_comment_author_url_lc ) ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20016';
		}
	if ( $filter_20016_count >= $filter_20016_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20016A';
		}
	if ( $filter_20016C_count >= $filter_20016_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20016C';
		}
	if ( eregi( '/lifecity.tv', $commentdata_comment_author_url_lc ) ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20017';
		}
	if ( $filter_20017_count >= $filter_20017_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20017A';
		}
	if ( $filter_20017C_count >= $filter_20017_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20017C';
		}
	if ( eregi( '.lifecity.tv', $commentdata_comment_author_url_lc ) ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20018';
		}
	if ( $filter_20018_count >= $filter_20018_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20018A';
		}
	if ( $filter_20018C_count >= $filter_20018_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20018C';
		}
	if ( eregi( '/lifecity.info', $commentdata_comment_author_url_lc ) ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20019';
		}
	if ( $filter_20019_count >= $filter_20019_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20019A';
		}
	if ( $filter_20019C_count >= $filter_20019_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20019C';
		}
	if ( eregi( '.lifecity.info', $commentdata_comment_author_url_lc ) ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20020';
		}
	if ( $filter_20020_count >= $filter_20020_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20020A';
		}
	if ( $filter_20020C_count >= $filter_20020_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20020C';
		}
	// NEW20000 CODES SETUP
	if ( $filter_20021_count >= $filter_20021_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20021A';
		}
	if ( $filter_20021C_count >= $filter_20021_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20021C';
		}	
	if ( $filter_20022_count >= $filter_20022_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20022A';
		}
	if ( $filter_20022C_count >= $filter_20022_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20022C';
		}	
	if ( $filter_20023_count >= $filter_20023_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20023A';
		}
	if ( $filter_20023C_count >= $filter_20023_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20023C';
		}	
	if ( $filter_20024_count >= $filter_20024_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20024A';
		}
	if ( $filter_20024C_count >= $filter_20024_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20024C';
		}	
	if ( $filter_20025_count >= $filter_20025_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20025A';
		}
	if ( $filter_20025C_count >= $filter_20025_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20025C';
		}	
	if ( $filter_20026_count >= $filter_20026_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20026A';
		}
	if ( $filter_20026C_count >= $filter_20026_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20026C';
		}	
	if ( $filter_20027_count >= $filter_20027_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20027A';
		}
	if ( $filter_20027C_count >= $filter_20027_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20027C';
		}	
	if ( $filter_20028_count >= $filter_20028_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20028A';
		}
	if ( $filter_20028C_count >= $filter_20028_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20028C';
		}	
	if ( $filter_20029_count >= $filter_20029_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20029A';
		}
	if ( $filter_20029C_count >= $filter_20029_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20029C';
		}	
	if ( $filter_20030_count >= $filter_20030_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20030A';
		}
	if ( $filter_20030C_count >= $filter_20030_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20030C';
		}	
	if ( $filter_20031_count >= $filter_20031_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20031A';
		}
	if ( $filter_20031C_count >= $filter_20031_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20031C';
		}	
	if ( $filter_20032_count >= $filter_20032_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20032A';
		}
	if ( $filter_20032C_count >= $filter_20032_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20032C';
		}	
	if ( $filter_20033_count >= $filter_20033_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20033A';
		}
	if ( $filter_20033C_count >= $filter_20033_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20033C';
		}	
	if ( $filter_20034_count >= $filter_20034_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20034A';
		}
	if ( $filter_20034C_count >= $filter_20034_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20034C';
		}	
	if ( $filter_20035_count >= $filter_20035_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20035A';
		}
	if ( $filter_20035C_count >= $filter_20035_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20035C';
		}	
	if ( $filter_20036_count >= $filter_20036_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20036A';
		}
	if ( $filter_20036C_count >= $filter_20036_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20036C';
		}	
	if ( $filter_20037_count >= $filter_20037_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20037A';
		}
	if ( $filter_20037C_count >= $filter_20037_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20037C';
		}
	if ( $filter_20038_count >= $filter_20038_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20038A';
		}
	if ( $filter_20038C_count >= $filter_20038_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20038C';
		}
	if ( $filter_20039_count >= $filter_20039_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20039A';
		}
	if ( $filter_20039C_count >= $filter_20039_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20039C';
		}
	if ( $filter_20040_count >= $filter_20040_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20040A';
		}
	if ( $filter_20040C_count >= $filter_20040_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20040C';
		}
	if ( $filter_20041_count >= $filter_20041_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20041A';
		}
	if ( $filter_20041C_count >= $filter_20041_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20041C';
		}
	if ( $filter_20042_count >= $filter_20042_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20042A';
		}
	if ( $filter_20042C_count >= $filter_20042_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20042C';
		}
	if ( $filter_20043_count >= $filter_20043_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20043A';
		}
	if ( $filter_20043C_count >= $filter_20043_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20043C';
		}
	if ( $filter_20044_count >= $filter_20044_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20044A';
		}
	if ( $filter_20044C_count >= $filter_20044_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20044C';
		}
	if ( $filter_20045_count >= $filter_20045_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20045A';
		}
	if ( $filter_20045C_count >= $filter_20045_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20045C';
		}
	if ( $filter_20046_count >= $filter_20046_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20046A';
		}
	if ( $filter_20046C_count >= $filter_20046_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20046C';
		}
	if ( $filter_20047_count >= $filter_20047_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20047A';
		}
	if ( $filter_20047C_count >= $filter_20047_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20047C';
		}
	if ( $filter_20048_count >= $filter_20048_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20048A';
		}
	if ( $filter_20048C_count >= $filter_20048_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20048C';
		}
	if ( $filter_20049_count >= $filter_20049_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20049A';
		}
	if ( $filter_20049C_count >= $filter_20049_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20049C';
		}
	if ( $filter_20050_count >= $filter_20050_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20050A';
		}
	if ( $filter_20050C_count >= $filter_20050_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20050C';
		}
	if ( $filter_20051_count >= $filter_20051_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20051A';
		}
	if ( $filter_20051C_count >= $filter_20051_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20051C';
		}
	if ( $filter_20052_count >= $filter_20052_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20052A';
		}
	if ( $filter_20052C_count >= $filter_20052_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20052C';
		}


	// Comment Author Tests
	if ( $filter_2_author_count >= 1 ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 2AUTH';
		}
	if ( $filter_2_count ) { $blacklist_word_combo++; }
	if ( $filter_3_author_count >= 1 ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 3AUTH';
		}
	if ( $filter_3_count ) { $blacklist_word_combo++; }
	if ( $filter_4_author_count >= 1 ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 4AUTH';
		}
	if ( $filter_4_count ) { $blacklist_word_combo++; }
	if ( $filter_5_author_count >= 1 ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 5AUTH';
		}
	if ( $filter_5_count ) { $blacklist_word_combo++; }
	if ( $filter_6_author_count >= 1 ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 6AUTH';
		}
	if ( $filter_6_count ) { $blacklist_word_combo++; }
	if ( $filter_7_author_count >= 1 ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 7AUTH';
		}
	if ( $filter_7_count ) { $blacklist_word_combo++; }
	if ( $filter_8_author_count >= 1 ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 8AUTH';
		}
	if ( $filter_8_count ) { $blacklist_word_combo++; }
	if ( $filter_9_author_count >= 1 ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 9AUTH';
		}
	if ( $filter_9_count ) { $blacklist_word_combo++; }
	if ( $filter_10_author_count >= 1 ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 10AUTH';
		}
	if ( $filter_10_count ) { $blacklist_word_combo++; }
	if ( $filter_11_author_count >= 1 ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 11AUTH';
		}
	if ( $filter_11_count ) { $blacklist_word_combo++; }
	if ( $filter_12_author_count >= 1 ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 12AUTH';
		}
	if ( $filter_12_count ) { $blacklist_word_combo++; }
	if ( $filter_13_author_count >= 1 ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 13AUTH';
		}
	if ( $filter_13_count ) { $blacklist_word_combo++; }	
	if ( $filter_14_author_count >= 1 ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 14AUTH';
		}
	if ( $filter_14_count ) { $blacklist_word_combo++; }	
	if ( $filter_15_author_count >= 1 ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 15AUTH';
		}
	if ( $filter_15_count ) { $blacklist_word_combo++; }
	if ( $filter_16_author_count >= 1 ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 16AUTH';
		}
	if ( $filter_16_count ) { $blacklist_word_combo++; }	
	if ( $filter_17_author_count >= 1 ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 17AUTH';
		}
	if ( $filter_17_count ) { $blacklist_word_combo++; }
	if ( $filter_18_author_count >= 1 ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 18AUTH';
		}
	if ( $filter_18_count ) { $blacklist_word_combo++; }
	if ( $filter_19_author_count >= 1 ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 19AUTH';
		}
	if ( $filter_19_count ) { $blacklist_word_combo++; }
	if ( $filter_20_author_count >= 1 ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 20AUTH';
		}
	if ( $filter_20_count ) { $blacklist_word_combo++; }
	if ( $filter_21_author_count >= 1 ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 21AUTH';
		}
	if ( $filter_21_count ) { $blacklist_word_combo++; }
	if ( $filter_22_author_count >= 1 ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 22AUTH';
		}
	if ( $filter_22_count ) { $blacklist_word_combo++; }
	if ( $filter_23_author_count >= 1 ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 23AUTH';
		}
	if ( $filter_23_count ) { $blacklist_word_combo++; }
	if ( $filter_24_author_count >= 1 ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 24AUTH';
		}
	if ( $filter_24_count ) { $blacklist_word_combo++; }
	if ( $filter_25_author_count >= 1 ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 25AUTH';
		}
	if ( $filter_25_count ) { $blacklist_word_combo++; }
	if ( $filter_26_author_count >= 1 ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 26AUTH';
		}
	if ( $filter_26_count ) { $blacklist_word_combo++; }
	if ( $filter_27_author_count >= 1 ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 27AUTH';
		}
	if ( $filter_27_count ) { $blacklist_word_combo++; }
	if ( $filter_28_author_count >= 1 ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 28AUTH';
		}
	if ( $filter_28_count ) { $blacklist_word_combo++; }
	if ( $filter_29_author_count >= 1 ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 29AUTH';
		}
	if ( $filter_29_count ) { $blacklist_word_combo++; }
	if ( $filter_30_author_count >= 1 ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 30AUTH';
		}
	if ( $filter_30_count ) { $blacklist_word_combo++; }
	if ( $filter_31_author_count >= 1 ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 31AUTH';
		}
	if ( $filter_31_count ) { $blacklist_word_combo++; }
	if ( $filter_32_author_count >= 1 ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 32AUTH';
		}
	if ( $filter_32_count ) { $blacklist_word_combo++; }
	if ( $filter_33_author_count >= 1 ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 33AUTH';
		}
	if ( $filter_33_count ) { $blacklist_word_combo++; }
	if ( $filter_34_author_count >= 1 ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 34AUTH';
		}
	if ( $filter_34_count ) { $blacklist_word_combo++; }

	if ( eregi( 'buy', $commentdata_comment_author_lc ) && ( eregi( 'online', $commentdata_comment_author_lc ) || eregi( 'pill', $commentdata_comment_author_lc ) ) ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 200AUTH';
		$blacklist_word_combo++;
		}

	// Non-Medical Author Tests
	if ( $filter_210_author_count >= 1 ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' 210AUTH';
		}
	if ( $filter_210_count ) { $blacklist_word_combo++; }
	
	// Comment Author Tests - Non-Trackback - SEO/WebDev/Offshore + Other
	if ( $commentdata_comment_type != 'trackback' && $commentdata_comment_type != 'pingback' ) {
		if ( $filter_300_author_count >= 1 ) {
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' 300AUTH';
			}
		if ( $filter_301_author_count >= 1 ) {
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' 301AUTH';
			}
		if ( $filter_302_author_count >= 1 ) {
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' 302AUTH';
			}
		if ( $filter_303_author_count >= 1 ) {
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' 303AUTH';
			}
		if ( $filter_304_author_count >= 1 ) {
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' 304AUTH';
			}
		if ( $filter_305_author_count >= 1 ) {
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' 305AUTH';
			}
		if ( $filter_306_author_count >= 1 ) {
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' 306AUTH';
			}
		if ( $filter_307_author_count >= 1 ) {
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' 307AUTH';
			}
		if ( $filter_308_author_count >= 1 ) {
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' 308AUTH';
			}
		if ( $filter_309_author_count >= 1 ) {
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' 309AUTH';
			}
		if ( $filter_310_author_count >= 1 ) {
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' 310AUTH';
			}
		if ( $filter_311_author_count >= 1 ) {
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' 311AUTH';
			}
		if ( $filter_312_author_count >= 1 ) {
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' 312AUTH';
			}
		if ( $filter_313_author_count >= 1 ) {
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' 313AUTH';
			}
		if ( $filter_314_author_count >= 1 ) {
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' 314AUTH';
			}
		if ( $filter_315_author_count >= 1 ) {
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' 315AUTH';
			}
		if ( $filter_316_author_count >= 1 ) {
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' 316AUTH';
			}
		if ( $filter_317_author_count >= 1 ) {
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' 317AUTH';
			}
		if ( $filter_318_author_count >= 1 ) {
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' 318AUTH';
			}
		if ( $filter_319_author_count >= 1 ) {
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' 319AUTH';
			}
		if ( $filter_320_author_count >= 1 ) {
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' 320AUTH';
			}
		if ( $filter_321_author_count >= 1 ) {
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' 321AUTH';
			}
		if ( $filter_322_author_count >= 1 ) {
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' 322AUTH';
			}
		if ( $filter_323_author_count >= 1 ) {
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' 323AUTH';
			}
		if ( $filter_324_author_count >= 1 ) {
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' 324AUTH';
			}
		if ( $filter_325_author_count >= 1 ) {
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' 325AUTH';
			}
		if ( $filter_326_author_count >= 1 ) {
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' 326AUTH';
			}
		if ( $filter_327_author_count >= 1 ) {
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' 327AUTH';
			}
		if ( $filter_328_author_count >= 1 ) {
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' 328AUTH';
			}
		if ( $filter_329_author_count >= 1 ) {
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' 329AUTH';
			}
		if ( $filter_330_author_count >= 1 ) {
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' 330AUTH';
			}
		if ( $filter_331_author_count >= 1 ) {
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' 331AUTH';
			}
		if ( $filter_332_author_count >= 1 ) {
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' 332AUTH';
			}
		if ( $filter_333_author_count >= 1 ) {
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' 333AUTH';
			}
		if ( $filter_334_author_count >= 1 ) {
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' 334AUTH';
			}
		if ( $filter_335_author_count >= 1 ) {
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' 335AUTH';
			}
		if ( $filter_336_author_count >= 1 ) {
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' 336AUTH';
			}
		if ( $filter_337_author_count >= 1 ) {
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' 337AUTH';
			}
		if ( $filter_338_author_count >= 1 ) {
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' 338AUTH';
			}
		if ( $filter_339_author_count >= 1 ) {
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' 339AUTH';
			}
		if ( $filter_340_author_count >= 1 ) {
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' 340AUTH';
			}
		if ( $filter_341_author_count >= 1 ) {
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' 341AUTH';
			}
		if ( $filter_342_author_count >= 1 ) {
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' 342AUTH';
			}
		if ( $filter_343_author_count >= 1 ) {
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' 343AUTH';
			}
		if ( $filter_344_author_count >= 1 ) {
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' 344AUTH';
			}
		if ( $filter_345_author_count >= 1 ) {
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' 345AUTH';
			}
		if ( $filter_346_author_count >= 1 ) {
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' 346AUTH';
			}
		if ( $filter_347_author_count >= 1 ) {
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' 347AUTH';
			}
		if ( $filter_348_author_count >= 1 ) {
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' 348AUTH';
			}
		if ( $filter_349_author_count >= 1 ) {
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' 349AUTH';
			}
		if ( $filter_350_author_count >= 1 ) {
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' 350AUTH';
			}
		if ( $filter_351_author_count >= 1 ) {
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' 351AUTH';
			}
		if ( $filter_352_author_count >= 1 ) {
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' 352AUTH';
			}
		if ( $filter_353_author_count >= 1 ) {
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' 353AUTH';
			}
		if ( $filter_354_author_count >= 1 ) {
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' 354AUTH';
			}
		if ( $filter_355_author_count >= 1 ) {
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' 355AUTH';
			}
		if ( $filter_356_author_count >= 1 ) {
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' 356AUTH';
			}
		if ( $filter_357_author_count >= 1 ) {
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' 357AUTH';
			}
		if ( $filter_358_author_count >= 1 ) {
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' 358AUTH';
			}
		if ( $filter_359_author_count >= 1 ) {
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' 359AUTH';
			}
		if ( $filter_360_author_count >= 1 ) {
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' 360AUTH';
			}
		if ( $filter_361_author_count >= 1 ) {
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' 361AUTH';
			}
		if ( $filter_362_author_count >= 1 ) {
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' 362AUTH';
			}
		if ( $filter_363_author_count >= 1 ) {
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' 363AUTH';
			}
		if ( $filter_364_author_count >= 1 ) {
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' 364AUTH';
			}
		if ( $filter_365_author_count >= 1 ) {
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' 365AUTH';
			}
		if ( $filter_366_author_count >= 1 ) {
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' 366AUTH';
			}
		if ( $filter_367_author_count >= 1 ) {
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' 367AUTH';
			}
		if ( $filter_368_author_count >= 1 ) {
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' 368AUTH';
			}
		if ( $filter_369_author_count >= 1 ) {
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' 369AUTH';
			}
		if ( $filter_370_author_count >= 1 ) {
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' 370AUTH';
			}
		if ( $filter_371_author_count >= 1 ) {
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' 371AUTH';
			}
		if ( $filter_372_author_count >= 1 ) {
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' 372AUTH';
			}
		if ( $filter_373_author_count >= 1 ) {
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' 373AUTH';
			}
		if ( $filter_374_author_count >= 1 ) {
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' 374AUTH';
			}
		if ( $filter_375_author_count >= 1 ) {
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' 375AUTH';
			}
		if ( $filter_376_author_count >= 1 ) {
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' 376AUTH';
			}
		if ( $filter_377_author_count >= 1 ) {
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' 377AUTH';
			}
		if ( $filter_378_author_count >= 1 ) {
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' 378AUTH';
			}
		if ( $filter_379_author_count >= 1 ) {
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' 379AUTH';
			}
		if ( $filter_380_author_count >= 1 ) {
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' 380AUTH';
			}
		if ( $filter_381_author_count >= 1 ) {
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' 381AUTH';
			}
		if ( $filter_382_author_count >= 1 ) {
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' 382AUTH';
			}
		if ( $filter_383_author_count >= 1 ) {
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' 383AUTH';
			}
		if ( $filter_384_author_count >= 1 ) {
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' 384AUTH';
			}
		if ( $filter_385_author_count >= 1 ) {
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' 385AUTH';
			}
		if ( $filter_386_author_count >= 1 ) {
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' 386AUTH';
			}
		if ( $filter_387_author_count >= 1 ) {
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' 387AUTH';
			}
		if ( $filter_388_author_count >= 1 ) {
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' 388AUTH';
			}
		if ( $filter_389_author_count >= 1 ) {
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' 389AUTH';
			}
		if ( $filter_390_author_count >= 1 ) {
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' 390AUTH';
			}
		if ( $filter_391_author_count >= 1 ) {
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' 391AUTH';
			}
		if ( $filter_392_author_count >= 1 ) {
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' 392AUTH';
			}

	
		// Simple Author='' Tests - Non-Trackback/Non-Pingback
		if ( $commentdata_comment_author_lc == $filter_300400_term ) {
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' 300400AUTH';
			}
		if ( $commentdata_comment_author_lc == $filter_300401_term ) {
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' 300401AUTH';
			}
		if ( $commentdata_comment_author_lc == $filter_300402_term ) {
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' 300402AUTH';
			}
		if ( $commentdata_comment_author_lc == $filter_300403_term ) {
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' 300403AUTH';
			}
		if ( $commentdata_comment_author_lc == $filter_300404_term ) {
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' 300404AUTH';
			}
		if ( $commentdata_comment_author_lc == $filter_300405_term ) {
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' 300405AUTH';
			}
		if ( $commentdata_comment_author_lc == $filter_300406_term ) {
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' 300406AUTH';
			}
		if ( $commentdata_comment_author_lc == $filter_300407_term ) {
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' 300407AUTH';
			}
		if ( $commentdata_comment_author_lc == $filter_300408_term ) {
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' 300408AUTH';
			}
		if ( $commentdata_comment_author_lc == $filter_300409_term ) {
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' 300409AUTH';
			}
		if ( $commentdata_comment_author_lc == $filter_300410_term ) {
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' 300410AUTH';
			}
		if ( $commentdata_comment_author_lc == $filter_300411_term ) {
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' 300411AUTH';
			}
		if ( $commentdata_comment_author_lc == $filter_300412_term ) {
			if ( !$content_filter_status ) { $content_filter_status = '1'; }
			$spamfree_error_code .= ' 300412AUTH';
			}
		}
	
	// Blacklist Word Combinations
	if ( $blacklist_word_combo >= $blacklist_word_combo_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' BLC1000';
		}
	if ( $blacklist_word_combo_total >= $blacklist_word_combo_total_limit ) {
		if ( !$content_filter_status ) { $content_filter_status = '1'; }
		$spamfree_error_code .= ' BLC1010';
		}


	// WP Blacklist Check :: BEGIN
	
	// Test WP Blacklist if option set
	
	// Before long make own blacklist function - WP's is flawed with IP's
	if ( $spamfree_options['enhanced_comment_blacklist'] && !$content_filter_status ) {
		if ( wp_blacklist_check($commentdata_comment_author, $commentdata_comment_author_email, $commentdata_comment_author_url, $commentdata_comment_content, $commentdata_remote_addr, $commentdata_user_agent) ) {
			if ( !$content_filter_status ) { $content_filter_status = '100'; }
			$spamfree_error_code .= ' WP-BLACKLIST';
			}
		}
	// WP Blacklist Check :: END
	
	if ( !$spamfree_error_code ) {
		$spamfree_error_code = 'No Error';
		}
	else {
		$spamfree_error_code = ltrim($spamfree_error_code);
		if ( $spamfree_options['comment_logging'] ) {
			spamfree_log_data( $commentdata, $spamfree_error_code );
			}
		}

	$spamfree_error_data = array( $spamfree_error_code, $blacklist_word_combo, $blacklist_word_combo_total );
	
	return $content_filter_status;
	// CONTENT FILTERING :: END
	}
Exemplo n.º 10
0
/**
 * Validates whether this comment is allowed to be made.
 *
 * @since 2.0.0
 * @uses $wpdb
 *
 * @param array $commentdata Contains information on the comment
 * @return mixed Signifies the approval status (0|1|'spam')
 */
function wp_allow_comment($commentdata)
{
    global $wpdb;
    extract($commentdata, EXTR_SKIP);
    // Simple duplicate check
    // expected_slashed ($comment_post_ID, $comment_author, $comment_author_email, $comment_content)
    $dupe = $wpdb->prepare("SELECT comment_ID FROM {$wpdb->comments} WHERE comment_post_ID = %d AND comment_parent = %s AND comment_approved != 'trash' AND ( comment_author = %s ", wp_unslash($comment_post_ID), wp_unslash($comment_parent), wp_unslash($comment_author));
    if ($comment_author_email) {
        $dupe .= $wpdb->prepare("OR comment_author_email = %s ", wp_unslash($comment_author_email));
    }
    $dupe .= $wpdb->prepare(") AND comment_content = %s LIMIT 1", wp_unslash($comment_content));
    if ($wpdb->get_var($dupe)) {
        /**
         * Fires immediately after a duplicate comment is detected.
         *
         * @since 3.0.0
         *
         * @param array $commentdata Comment data.
         */
        do_action('comment_duplicate_trigger', $commentdata);
        if (defined('DOING_AJAX')) {
            die(__('Duplicate comment detected; it looks as though you&#8217;ve already said that!'));
        }
        wp_die(__('Duplicate comment detected; it looks as though you&#8217;ve already said that!'));
    }
    /**
     * Fires immediately before a comment is marked approved.
     *
     * Allows checking for comment flooding.
     *
     * @since 2.3.0
     *
     * @param string $comment_author_IP    Comment author's IP address.
     * @param string $comment_author_email Comment author's email.
     * @param string $comment_date_gmt     GMT date the comment was posted.
     */
    do_action('check_comment_flood', $comment_author_IP, $comment_author_email, $comment_date_gmt);
    if (!empty($user_id)) {
        $user = get_userdata($user_id);
        $post_author = $wpdb->get_var($wpdb->prepare("SELECT post_author FROM {$wpdb->posts} WHERE ID = %d LIMIT 1", $comment_post_ID));
    }
    if (isset($user) && ($user_id == $post_author || $user->has_cap('moderate_comments'))) {
        // The author and the admins get respect.
        $approved = 1;
    } else {
        // Everyone else's comments will be checked.
        if (check_comment($comment_author, $comment_author_email, $comment_author_url, $comment_content, $comment_author_IP, $comment_agent, $comment_type)) {
            $approved = 1;
        } else {
            $approved = 0;
        }
        if (wp_blacklist_check($comment_author, $comment_author_email, $comment_author_url, $comment_content, $comment_author_IP, $comment_agent)) {
            $approved = 'spam';
        }
    }
    /**
     * Filter a comment's approval status before it is set.
     *
     * @since 2.1.0
     *
     * @param bool|string $approved    The approval status. Accepts 1, 0, or 'spam'.
     * @param array       $commentdata Comment data.
     */
    $approved = apply_filters('pre_comment_approved', $approved, $commentdata);
    return $approved;
}
Exemplo n.º 11
0
function wp_allow_comment($commentdata)
{
    global $wpdb;
    extract($commentdata);
    // Simple duplicate check
    $dupe = "SELECT comment_ID FROM {$wpdb->comments} WHERE comment_post_ID = '{$comment_post_ID}' AND ( comment_author = '{$comment_author}' ";
    if ($comment_author_email) {
        $dupe .= "OR comment_author_email = '{$comment_author_email}' ";
    }
    $dupe .= ") AND comment_content = '{$comment_content}' LIMIT 1";
    if ($wpdb->get_var($dupe)) {
        wp_die(__('Duplicate comment detected; it looks as though you\'ve already said that!'));
    }
    // Simple flood-protection
    if ($lasttime = $wpdb->get_var("SELECT comment_date_gmt FROM {$wpdb->comments} WHERE comment_author_IP = '{$comment_author_IP}' OR comment_author_email = '{$comment_author_email}' ORDER BY comment_date DESC LIMIT 1")) {
        $time_lastcomment = mysql2date('U', $lasttime);
        $time_newcomment = mysql2date('U', $comment_date_gmt);
        $flood_die = apply_filters('comment_flood_filter', false, $time_lastcomment, $time_newcomment);
        if ($flood_die) {
            do_action('comment_flood_trigger', $time_lastcomment, $time_newcomment);
            wp_die(__('You are posting comments too quickly.  Slow down.'));
        }
    }
    if ($user_id) {
        $userdata = get_userdata($user_id);
        $user = new WP_User($user_id);
        $post_author = $wpdb->get_var("SELECT post_author FROM {$wpdb->posts} WHERE ID = '{$comment_post_ID}' LIMIT 1");
    }
    if ($userdata && ($user_id == $post_author || $user->has_cap('level_9'))) {
        // The author and the admins get respect.
        $approved = 1;
    } else {
        // Everyone else's comments will be checked.
        if (check_comment($comment_author, $comment_author_email, $comment_author_url, $comment_content, $comment_author_IP, $comment_agent, $comment_type)) {
            $approved = 1;
        } else {
            $approved = 0;
        }
        if (wp_blacklist_check($comment_author, $comment_author_email, $comment_author_url, $comment_content, $comment_author_IP, $comment_agent)) {
            $approved = 'spam';
        }
    }
    $approved = apply_filters('pre_comment_approved', $approved);
    return $approved;
}
function wp_new_comment($commentdata, $spam = false)
{
    global $wpdb;
    $commentdata = apply_filters('preprocess_comment', $commentdata);
    extract($commentdata);
    $comment_post_ID = (int) $comment_post_ID;
    $user_id = apply_filters('pre_user_id', $user_ID);
    $author = apply_filters('pre_comment_author_name', $comment_author);
    $email = apply_filters('pre_comment_author_email', $comment_author_email);
    $url = apply_filters('pre_comment_author_url', $comment_author_url);
    $comment = apply_filters('pre_comment_content', $comment_content);
    $comment = apply_filters('post_comment_text', $comment);
    // Deprecated
    $comment = apply_filters('comment_content_presave', $comment);
    // Deprecated
    $user_ip = apply_filters('pre_comment_user_ip', $_SERVER['REMOTE_ADDR']);
    $user_domain = apply_filters('pre_comment_user_domain', gethostbyaddr($user_ip));
    $user_agent = apply_filters('pre_comment_user_agent', $_SERVER['HTTP_USER_AGENT']);
    $now = current_time('mysql');
    $now_gmt = current_time('mysql', 1);
    if ($user_id) {
        $userdata = get_userdata($user_id);
        $post_author = $wpdb->get_var("SELECT post_author FROM {$wpdb->posts} WHERE ID = '{$comment_post_ID}' LIMIT 1");
    }
    // Simple duplicate check
    $dupe = "SELECT comment_ID FROM {$wpdb->comments} WHERE comment_post_ID = '{$comment_post_ID}' AND ( comment_author = '{$author}' ";
    if ($email) {
        $dupe .= "OR comment_author_email = '{$email}' ";
    }
    $dupe .= ") AND comment_content = '{$comment}' LIMIT 1";
    if ($wpdb->get_var($dupe)) {
        die(__('Duplicate comment detected; it looks as though you\'ve already said that!'));
    }
    // Simple flood-protection
    if ($lasttime = $wpdb->get_var("SELECT comment_date_gmt FROM {$wpdb->comments} WHERE comment_author_IP = '{$user_ip}' OR comment_author_email = '{$email}' ORDER BY comment_date DESC LIMIT 1")) {
        $time_lastcomment = mysql2date('U', $lasttime);
        $time_newcomment = mysql2date('U', $now_gmt);
        if ($time_newcomment - $time_lastcomment < 15) {
            do_action('comment_flood_trigger', $time_lastcomment, $time_newcomment);
            die(__('Sorry, you can only post a new comment once every 15 seconds. Slow down cowboy.'));
        }
    }
    if ($userdata && ($user_id == $post_author || $userdata->user_level >= 9)) {
        $approved = 1;
    } else {
        if (check_comment($author, $email, $url, $comment, $user_ip, $user_agent, $comment_type)) {
            $approved = 1;
        } else {
            $approved = 0;
        }
        if (wp_blacklist_check($author, $email, $url, $comment, $user_ip, $user_agent)) {
            $approved = 'spam';
        }
    }
    $approved = apply_filters('pre_comment_approved', $approved);
    $result = $wpdb->query("INSERT INTO {$wpdb->comments}\n\t(comment_post_ID, comment_author, comment_author_email, comment_author_url, comment_author_IP, comment_date, comment_date_gmt, comment_content, comment_approved, comment_agent, comment_type, user_id)\n\tVALUES\n\t('{$comment_post_ID}', '{$author}', '{$email}', '{$url}', '{$user_ip}', '{$now}', '{$now_gmt}', '{$comment}', '{$approved}', '{$user_agent}', '{$comment_type}', '{$user_id}')\n\t");
    $comment_id = $wpdb->insert_id;
    do_action('comment_post', $comment_id, $approved);
    if ('spam' !== $approved) {
        // If it's spam save it silently for later crunching
        if ('0' == $approved) {
            wp_notify_moderator($comment_id);
        }
        if (get_settings('comments_notify') && $approved) {
            wp_notify_postauthor($comment_id, $comment_type);
        }
    }
    return $result;
}
Exemplo n.º 13
0
 /**
  * Similar to wp_approve_comment(), but does not check for duplicates or die on failure.
  *
  * @since 1.4.7
  *
  * @param $commentdata
  * @return int 1 for approved, 0 for not approved, 'spam' for spam
  */
 protected function approve_comment($commentdata)
 {
     $user = get_user_by('id', $this->user_id);
     $post = get_post($this->post_id);
     if (isset($user) && ($commentdata['user_id'] == $post->post_author || $user->has_cap('moderate_comments'))) {
         // The author and the admins get respect.
         $approved = 1;
     } else {
         // Everyone else's comments will be checked.
         if (check_comment($commentdata['comment_author'], $commentdata['comment_author_email'], $commentdata['comment_author_url'], $commentdata['comment_content'], $commentdata['comment_author_IP'], $commentdata['comment_agent'], $commentdata['comment_type'])) {
             $approved = 1;
         } else {
             $approved = 0;
         }
         if (wp_blacklist_check($commentdata['comment_author'], $commentdata['comment_author_email'], $commentdata['comment_author_url'], $commentdata['comment_content'], $commentdata['comment_author_IP'], $commentdata['comment_agent'])) {
             $approved = 'spam';
         }
     }
     /**
      * Filter a comment's approval status before it is set.
      *
      * @since 2.1.0
      *
      * @param bool|string $approved The approval status. Accepts 1, 0, or 'spam'.
      * @param array $commentdata Comment data.
      */
     $approved = apply_filters('pre_comment_approved', $approved, $commentdata);
     return $approved;
 }
Exemplo n.º 14
0
function bymt_fuckspam($comment)
{
    if (is_user_logged_in()) {
        return $comment;
    }
    if (!isset($comment['comment_author_IP'])) {
        $comment['comment_author_IP'] = bymt_getIP('Ip');
    }
    if (!isset($comment['comment_agent'])) {
        $comment['comment_agent'] = $_SERVER['HTTP_USER_AGENT'];
    }
    if (wp_blacklist_check($comment['comment_author'], $comment['comment_author_email'], $comment['comment_author_url'], $comment['comment_content'], $comment['comment_author_IP'], $comment['comment_agent'])) {
        err(__('草你麻痹垃圾评论滚粗!'));
    } else {
        return $comment;
    }
}
Exemplo n.º 15
0
/**
 * Validates whether this comment is allowed to be made.
 *
 * @since 2.0.0
 * @uses $wpdb
 * @uses apply_filters() Calls 'pre_comment_approved' hook on the type of comment
 * @uses apply_filters() Calls 'comment_duplicate_trigger' hook on commentdata.
 * @uses do_action() Calls 'check_comment_flood' hook on $comment_author_IP, $comment_author_email, and $comment_date_gmt
 *
 * @param array $commentdata Contains information on the comment
 * @return mixed Signifies the approval status (0|1|'spam')
 */
function wp_allow_comment($commentdata)
{
    global $wpdb;
    extract($commentdata, EXTR_SKIP);
    // Simple duplicate check
    // expected_slashed ($comment_post_ID, $comment_author, $comment_author_email, $comment_content)
    $dupe = $wpdb->prepare("SELECT comment_ID FROM {$wpdb->comments} WHERE comment_post_ID = %d AND comment_parent = %s AND comment_approved != 'trash' AND ( comment_author = %s ", wp_unslash($comment_post_ID), wp_unslash($comment_parent), wp_unslash($comment_author));
    if ($comment_author_email) {
        $dupe .= $wpdb->prepare("OR comment_author_email = %s ", wp_unslash($comment_author_email));
    }
    $dupe .= $wpdb->prepare(") AND comment_content = %s LIMIT 1", wp_unslash($comment_content));
    if ($wpdb->get_var($dupe)) {
        do_action('comment_duplicate_trigger', $commentdata);
        if (defined('DOING_AJAX')) {
            die(__('Duplicate comment detected; it looks as though you&#8217;ve already said that!'));
        }
        wp_die(__('Duplicate comment detected; it looks as though you&#8217;ve already said that!'));
    }
    do_action('check_comment_flood', $comment_author_IP, $comment_author_email, $comment_date_gmt);
    if (!empty($user_id)) {
        $user = get_userdata($user_id);
        $post_author = $wpdb->get_var($wpdb->prepare("SELECT post_author FROM {$wpdb->posts} WHERE ID = %d LIMIT 1", $comment_post_ID));
    }
    if (isset($user) && ($user_id == $post_author || $user->has_cap('moderate_comments'))) {
        // The author and the admins get respect.
        $approved = 1;
    } else {
        // Everyone else's comments will be checked.
        if (check_comment($comment_author, $comment_author_email, $comment_author_url, $comment_content, $comment_author_IP, $comment_agent, $comment_type)) {
            $approved = 1;
        } else {
            $approved = 0;
        }
        if (wp_blacklist_check($comment_author, $comment_author_email, $comment_author_url, $comment_content, $comment_author_IP, $comment_agent)) {
            $approved = 'spam';
        }
    }
    $approved = apply_filters('pre_comment_approved', $approved, $commentdata);
    return $approved;
}
Exemplo n.º 16
0
function wp_allow_comment($commentdata)
{
    global $wpdb;
    extract($commentdata);
    $comment_user_domain = apply_filters('pre_comment_user_domain', gethostbyaddr($comment_author_IP));
    // Simple duplicate check
    $dupe = "SELECT comment_ID FROM {$wpdb->comments} WHERE comment_post_ID = '{$comment_post_ID}' AND ( comment_author = '{$comment_author}' ";
    if ($comment_author_email) {
        $dupe .= "OR comment_author_email = '{$comment_author_email}' ";
    }
    $dupe .= ") AND comment_content = '{$comment_content}' LIMIT 1";
    if ($wpdb->get_var($dupe)) {
        die(__('Duplicate comment detected; it looks as though you\'ve already said that!'));
    }
    // Einbinden der reCaptcha PHP Library
    require_once 'recaptchalib.php';
    $publickey = "6LeHH-MSAAAAAH6RnziEXgeAs-xpvFqJUj6c_y9h";
    // Public Key
    $privatekey = "6LeHH-MSAAAAAJpiVeuhdtuq_jRljlrlivG9y_v5";
    // Private Key
    // Abfrage ob das Captcha ausgefüllt wurde
    if (!$_POST["recaptcha_response_field"]) {
        die(__('Captcha eingeben!'));
    }
    $resp = recaptcha_check_answer($privatekey, $_SERVER["REMOTE_ADDR"], $_POST["recaptcha_challenge_field"], $_POST["recaptcha_response_field"]);
    if (!$resp->is_valid) {
        die(__('Captcha ungültig'));
    }
    // Simple flood-protection
    if ($lasttime = $wpdb->get_var("SELECT comment_date_gmt FROM {$wpdb->comments} WHERE comment_author_IP = '{$comment_author_IP}' OR comment_author_email = '{$comment_author_email}' ORDER BY comment_date DESC LIMIT 1")) {
        $time_lastcomment = mysql2date('U', $lasttime);
        $time_newcomment = mysql2date('U', $comment_date_gmt);
        if ($time_newcomment - $time_lastcomment < 15) {
            do_action('comment_flood_trigger', $time_lastcomment, $time_newcomment);
            die(__('Sorry, you can only post a new comment once every 15 seconds. Slow down cowboy.'));
        }
    }
    if ($user_id) {
        $userdata = get_userdata($user_id);
        $user = new WP_User($user_id);
        $post_author = $wpdb->get_var("SELECT post_author FROM {$wpdb->posts} WHERE ID = '{$comment_post_ID}' LIMIT 1");
    }
    // The author and the admins get respect.
    if ($userdata && ($user_id == $post_author || $user->has_cap('level_9'))) {
        $approved = 1;
    } else {
        if (check_comment($comment_author, $comment_author_email, $comment_author_url, $comment_content, $comment_author_IP, $comment_agent, $comment_type)) {
            $approved = 1;
        } else {
            $approved = 0;
        }
        if (wp_blacklist_check($comment_author, $comment_author_email, $comment_author_url, $comment_content, $comment_author_IP, $comment_agent)) {
            $approved = 'spam';
        }
    }
    $approved = apply_filters('pre_comment_approved', $approved);
    return $approved;
}
Exemplo n.º 17
0
 public static function save_comment($commentID, $postID, $commentarr)
 {
     global $wpdb, $aecomments;
     //Save the old comment and build an undo spot
     $undoComment = $commentarr;
     //Make sure the comment has something in it
     $response = array();
     if ('' == $commentarr['comment_content'] || $commentarr['comment_content'] == "undefined") {
         $response['error'] = $aecomments->get_error('content_empty');
         return $response;
     }
     //Check to see if user can edit
     $message = AECCore::can_edit($commentID, $postID);
     if (is_string($message)) {
         $response['error'] = $aecomments->get_error($message);
         return $response;
     }
     //Sanity checks
     if (!AECCore::is_comment_owner($postID)) {
         //Make sure required fields are filled out
         if (get_option('require_name_email') && (6 > strlen($commentarr['comment_author_email']) && AECCore::can_edit_email($commentID, $postID) || '' == $commentarr['comment_author'] && AECCore::can_edit_name($commentID, $postID))) {
             $response['error'] = $aecomments->get_error('required_fields');
             return $response;
         }
     }
     // end comment_owner check
     //Make sure the e-mail is valid - Skip if pingback or trackback
     if (!($aecomments->admin && empty($commentarr['comment_author_email']))) {
         if (!is_email($commentarr['comment_author_email']) && $commentarr['comment_type'] != "pingback" && $commentarr['comment_type'] != "trackback") {
             if (!get_option('require_name_email') && empty($commentarr['comment_author_email'])) {
             } else {
                 if (AECCore::can_edit_email($commentID, $postID)) {
                     $response['error'] = $aecomments->get_error('invalid_email');
                     return $response;
                 }
             }
         }
     }
     if (strtolower(get_option('blog_charset')) != 'utf-8') {
         @$wpdb->query("SET names 'utf8'");
     }
     //comment out if getting char errors
     //Save the comment
     $commentarr['comment_ID'] = (int) $commentID;
     $commentapproved = $commentarr['comment_approved'];
     //Condition the data for returning
     do_action('wp_ajax_comments_remove_content_filter');
     //Do some comment checks before updating
     if (!AECCore::is_comment_owner($postID)) {
         //Preserve moderation/spam setting.  Only check approved comments
         if ($commentarr['comment_approved'] == 1) {
             // Everyone else's comments will be checked.
             if (check_comment($commentarr['comment_author'], $commentarr['comment_author_email'], $commentarr['comment_author_url'], $commentarr['comment_content'], $commentarr['comment_author_IP'], $commentarr['comment_agent'], $commentarr['comment_type'])) {
                 $commentarr['comment_approved'] = 1;
             } else {
                 $commentarr['comment_approved'] = 0;
             }
         }
         if (wp_blacklist_check($commentarr['comment_author'], $commentarr['comment_author_email'], $commentarr['comment_author_url'], $commentarr['comment_content'], $commentarr['comment_author_IP'], $commentarr['comment_agent'])) {
             $commentarr['comment_approved'] = 'spam';
         }
     }
     //Update the comment
     wp_update_comment($commentarr);
     //If spammed, return error
     if (!$aecomments->admin && $commentarr['comment_approved'] === 'spam') {
         $response['error'] = $aecomments->get_error('comment_marked_spam');
         return $response;
     }
     //If moderated, return error
     if ($commentarr['comment_approved'] == 0 && $commentapproved != 0) {
         $response['error'] = $aecomments->get_error('comment_marked_moderated');
         return $response;
     }
     //Check for spam
     if (!AECCore::is_comment_owner($postID)) {
         if (AECCore::check_spam($commentID, $postID)) {
             $response['error'] = $aecomments->get_error('comment_marked_spam');
             return $response;
         }
     }
     //Do actions after a comment has successfully been edited
     do_action_ref_array('wp_ajax_comments_comment_edited', array(&$commentID, &$postID));
     //Get undo data
     if ($aecomments->admin) {
         $oldComment = $aecomments->get_admin_option('undo');
         $undo = AECUtility::build_undo_url("undoedit", $commentID, $postID, __('Comment successfully saved', 'ajaxEdit'));
     } else {
         $undo = '';
     }
     $approve_count = get_comment_count($postID);
     $comment_count = get_comment_count();
     //For security, get the new comment
     if (isset($GLOBALS['comment'])) {
         unset($GLOBALS['comment']);
     }
     global $comment;
     $comment = get_comment($commentID);
     //Condition the data for returning
     do_action('wp_ajax_comments_remove_content_filter');
     $response = array('content' => stripslashes(apply_filters('comment_text', apply_filters('get_comment_text', AECUtility::encode($comment->comment_content)))), 'comment_author' => stripslashes(apply_filters('comment_author', apply_filters('get_comment_author', AECUtility::encode($comment->comment_author)))), 'comment_author_url' => stripslashes(apply_filters('comment_url', apply_filters('get_comment_author_url', $comment->comment_author_url))), 'comment_date' => get_comment_date('F jS, Y'), 'comment_time' => get_comment_time(), 'comment_approved' => $comment->comment_approved, 'old_comment_approved' => isset($oldComment) ? $oldComment['comment_approved'] : false, 'undo_comment_approved' => isset($undoComment) ? $undoComment['comment_approved'] : false, 'approve_count' => $approve_count['approved'], 'moderation_count' => $comment_count['awaiting_moderation'], 'spam_count' => $comment_count['spam'], 'comment_links' => AECCore::build_admin_links($commentID, $postID), 'undo' => $undo);
     return $response;
 }
Exemplo n.º 18
0
 function import_comment($comment_arr)
 {
     // Parse this comment into an array and insert
     $comment = $this->parse_comment($comment_arr);
     $comment = wp_filter_comment($comment);
     // redo comment approval
     if (check_comment($comment['comment_author'], $comment['comment_author_email'], $comment['comment_author_url'], $comment['comment_content'], $comment['comment_author_IP'], $comment['comment_agent'], $comment['comment_type'])) {
         $approved = 1;
     } else {
         $approved = 0;
     }
     if (wp_blacklist_check($comment['comment_author'], $comment['comment_author_email'], $comment['comment_author_url'], $comment['comment_content'], $comment['comment_author_IP'], $comment['comment_agent'])) {
         $approved = 'spam';
     } elseif ($this->askimet_spam_checker($comment)) {
         $approved = 'spam';
     }
     // auto approve imported comments
     if (get_t3i_options('approve_comments') && $approved !== 'spam') {
         $approved = 1;
     }
     $comment['comment_approved'] = $approved;
     // Simple duplicate check
     $dupe = "\n\t\t\tSELECT comment_ID\n\t\t\tFROM {$this->wpdb->comments}\n\t\t\tWHERE comment_post_ID = '{$comment['comment_post_ID']}'\n\t\t\t\tAND comment_approved != 'trash'\n\t\t\t\tAND comment_author = '{$comment['comment_author']}'\n\t\t\t\tAND comment_author_email = '{$comment['comment_author_email']}'\n\t\t\t\tAND comment_content = '{$comment['comment_content']}'\n\t\t\tLIMIT 1\n\t\t";
     $comment_ID = $this->wpdb->get_var($dupe);
     // echo '<li>';
     if (!$comment_ID) {
         // printf( __( 'Imported comment from <strong>%s</strong>', 'typo3-importer'), stripslashes( $comment['comment_author'] ) );
         $inserted = wp_insert_comment($comment);
     } else {
         // printf( __( 'Comment from <strong>%s</strong> already exists.', 'typo3-importer'), stripslashes( $comment['comment_author'] ) );
         $inserted = false;
     }
     // echo '</li>';
     // ob_flush(); flush();
     return $inserted;
 }
Exemplo n.º 19
0
 /**
  * ajax_save_comment - Saves a comment to the database, returns the updated comment via JSON
  * 
  * Returns a JSON object of the saved comment
  *
  * @since 1.0
  *
  * @param string $_POST[ 'comment_content' ] The comment to save
  * @param int $_POST[ 'comment_id' ] The Comment ID
  * @param int $_POST[ 'post_id' ] The Comment's Post ID
  * @param string $_POST[ 'nonce' ] The nonce to check against
  * @return JSON object 
  */
 public function ajax_save_comment()
 {
     define('DOING_SCE', true);
     $new_comment_content = trim($_POST['comment_content']);
     $comment_id = absint($_POST['comment_id']);
     $post_id = absint($_POST['post_id']);
     $nonce = $_POST['nonce'];
     $return = array();
     $return['errors'] = false;
     $return['remove'] = false;
     //If set to true, removes the editing interface
     //Do a nonce check
     if (!wp_verify_nonce($nonce, 'sce-edit-comment' . $comment_id)) {
         $return['errors'] = true;
         $return['remove'] = true;
         $return['error'] = $this->errors->get_error_message('nonce_fail');
         die(json_encode($return));
     }
     //Check to see if the user can edit the comment
     if (!$this->can_edit($comment_id, $post_id)) {
         $return['errors'] = true;
         $return['remove'] = true;
         $return['error'] = $this->errors->get_error_message('edit_fail');
         die(json_encode($return));
     }
     //Check that the content isn't empty
     if ('' == $new_comment_content || 'undefined' == $new_comment_content) {
         $return['errors'] = true;
         $return['error'] = $this->errors->get_error_message('comment_empty');
         die(json_encode($return));
     }
     //Get original comment
     $comment_to_save = get_comment($comment_id, ARRAY_A);
     //Check the comment
     if ($comment_to_save['comment_approved'] == 1) {
         if (check_comment($comment_to_save['comment_author'], $comment_to_save['comment_author_email'], $comment_to_save['comment_author_url'], $new_comment_content, $comment_to_save['comment_author_IP'], $comment_to_save['comment_agent'], $comment_to_save['comment_type'])) {
             $comment_to_save['comment_approved'] = 1;
         } else {
             $comment_to_save['comment_approved'] = 0;
         }
     }
     //Check comment against blacklist
     if (wp_blacklist_check($comment_to_save['comment_author'], $comment_to_save['comment_author_email'], $comment_to_save['comment_author_url'], $new_comment_content, $comment_to_save['comment_author_IP'], $comment_to_save['comment_agent'])) {
         $comment_to_save['comment_approved'] = 'spam';
     }
     //Update comment content with new content
     $comment_to_save['comment_content'] = $new_comment_content;
     //Before save comment
     /**
      * Filter: sce_comment_check_errors
      *
      * Return a custom error message based on the saved comment
      *
      * @since 1.2.4
      *
      * @param bool  $custom_error Default custom error. Overwrite with a string
      * @param array $comment_to_save Associative array of comment attributes
      */
     $custom_error = apply_filters('sce_comment_check_errors', false, $comment_to_save);
     //Filter expects a string returned - $comment_to_save is an associative array
     if (is_string($custom_error) && !empty($custom_error)) {
         $return['errors'] = true;
         $return['error'] = esc_html($custom_error);
         die(json_encode($return));
     }
     /**
      * Filter: sce_save_before
      *
      * Allow third parties to modify comment
      *
      * @since 1.5.0
      *
      * @param object $comment_to_save The Comment Object
      * @param int $post_id The Post ID
      * @param int $comment_id The Comment ID
      */
     $comment_to_save = apply_filters('sce_save_before', $comment_to_save, $post_id, $comment_id);
     //Save the comment
     wp_update_comment($comment_to_save);
     /**
      * Action: sce_save_after
      *
      * Allow third parties to save content after a comment has been updated
      *
      * @since 1.5.0
      *
      * @param object $comment_to_save The Comment Object
      * @param int $post_id The Post ID
      * @param int $comment_id The Comment ID
      */
     ob_start();
     do_action('sce_save_after', $comment_to_save, $post_id, $comment_id);
     ob_end_clean();
     //If the comment was marked as spam, return an error
     if ($comment_to_save['comment_approved'] === 'spam') {
         $return['errors'] = true;
         $return['remove'] = true;
         $return['error'] = $this->errors->get_error_message('comment_marked_spam');
         $this->remove_comment_cookie($comment_to_save);
         die(json_encode($return));
     }
     //Check the new comment for spam with Akismet
     if (function_exists('akismet_check_db_comment')) {
         if (akismet_verify_key(get_option('wordpress_api_key')) != "failed") {
             //Akismet
             $response = akismet_check_db_comment($comment_id);
             if ($response == "true") {
                 //You have spam
                 wp_set_comment_status($comment_id, 'spam');
                 $return['errors'] = true;
                 $return['remove'] = true;
                 $return['error'] = $this->errors->get_error_message('comment_marked_spam');
                 $this->remove_comment_cookie($comment_to_save);
                 die(json_encode($return));
             }
         }
     }
     $comment_to_return = $this->get_comment($comment_id);
     $comment_content_to_return = $this->get_comment_content($comment_to_return);
     //Ajax response
     $return['comment_text'] = $comment_content_to_return;
     $return['error'] = '';
     die(json_encode($return));
 }
Exemplo n.º 20
0
 public static function auto_check_update_meta($id, $comment)
 {
     // failsafe for old WP versions
     if (!function_exists('add_comment_meta')) {
         return false;
     }
     if (!isset(self::$last_comment['comment_author_email'])) {
         self::$last_comment['comment_author_email'] = '';
     }
     // wp_insert_comment() might be called in other contexts, so make sure this is the same comment
     // as was checked by auto_check_comment
     if (is_object($comment) && !empty(self::$last_comment) && is_array(self::$last_comment)) {
         if (self::matches_last_comment($comment)) {
             load_plugin_textdomain('akismet');
             // normal result: true or false
             if (self::$last_comment['akismet_result'] == 'true') {
                 update_comment_meta($comment->comment_ID, 'akismet_result', 'true');
                 self::update_comment_history($comment->comment_ID, '', 'check-spam');
                 if ($comment->comment_approved != 'spam') {
                     self::update_comment_history($comment->comment_ID, '', 'status-changed-' . $comment->comment_approved);
                 }
             } elseif (self::$last_comment['akismet_result'] == 'false') {
                 update_comment_meta($comment->comment_ID, 'akismet_result', 'false');
                 self::update_comment_history($comment->comment_ID, '', 'check-ham');
                 if ($comment->comment_approved == 'spam') {
                     if (wp_blacklist_check($comment->comment_author, $comment->comment_author_email, $comment->comment_author_url, $comment->comment_content, $comment->comment_author_IP, $comment->comment_agent)) {
                         self::update_comment_history($comment->comment_ID, '', 'wp-blacklisted');
                     } else {
                         self::update_comment_history($comment->comment_ID, '', 'status-changed-' . $comment->comment_approved);
                     }
                 }
             } else {
                 update_comment_meta($comment->comment_ID, 'akismet_error', time());
                 self::update_comment_history($comment->comment_ID, '', 'check-error', array('response' => substr(self::$last_comment['akismet_result'], 0, 50)));
             }
             // record the complete original data as submitted for checking
             if (isset(self::$last_comment['comment_as_submitted'])) {
                 update_comment_meta($comment->comment_ID, 'akismet_as_submitted', self::$last_comment['comment_as_submitted']);
             }
             if (isset(self::$last_comment['akismet_pro_tip'])) {
                 update_comment_meta($comment->comment_ID, 'akismet_pro_tip', self::$last_comment['akismet_pro_tip']);
             }
         }
     }
 }
function nxs_wp_allow_comment($commentdata)
{
    global $wpdb;
    extract($commentdata, EXTR_SKIP);
    // Simple duplicate check // expected_slashed ($comment_post_ID, $comment_author, $comment_author_email, $comment_content)
    $dupe = "SELECT comment_ID FROM {$wpdb->comments} WHERE comment_post_ID = '{$comment_post_ID}' AND comment_parent = '{$comment_parent}' AND comment_approved != 'trash' AND ( comment_author = '{$comment_author}' ";
    if ($comment_author_email) {
        $dupe .= "OR comment_author_email = '{$comment_author_email}' ";
    }
    $dupe .= ") AND comment_content = '{$comment_content}' LIMIT 1";
    $dupeID = $wpdb->get_var($dupe);
    if ($dupeID) {
        do_action('comment_duplicate_trigger', $commentdata);
        return $dupeID;
    }
    do_action('check_comment_flood', $comment_author_IP, $comment_author_email, $comment_date_gmt);
    if (!empty($user_id)) {
        $user = get_userdata($user_id);
        $post_author = $wpdb->get_var($wpdb->prepare("SELECT post_author FROM {$wpdb->posts} WHERE ID = %d LIMIT 1", $comment_post_ID));
    }
    if (isset($user) && ($user_id == $post_author || $user->has_cap('moderate_comments'))) {
        // The author and the admins get respect.
        $approved = 1;
    } else {
        // Everyone else's comments will be checked.
        if (check_comment($comment_author, $comment_author_email, $comment_author_url, $comment_content, $comment_author_IP, $comment_agent, $comment_type)) {
            $approved = 1;
        } else {
            $approved = 0;
        }
        if (wp_blacklist_check($comment_author, $comment_author_email, $comment_author_url, $comment_content, $comment_author_IP, $comment_agent)) {
            $approved = 'spam';
        }
    }
    $approved = apply_filters('pre_comment_approved', $approved, $commentdata);
    return $approved;
}
/**
 * Public filter 'preprocess_comment' - Checks comment by cleantalk server
 * @param 	mixed[] $comment Comment data array
 * @return 	mixed[] New data array of comment
 */
function ct_preprocess_comment($comment)
{
    // this action is called just when WP process POST request (adds new comment)
    // this action is called by wp-comments-post.php
    // after processing WP makes redirect to post page with comment's form by GET request (see above)
    global $wpdb, $current_user, $comment_post_id, $ct_agent_version, $ct_comment_done, $ct_approved_request_id_label, $ct_jp_comments, $ct_options, $ct_data;
    $ct_options = ct_get_options();
    $ct_data = ct_get_data();
    if (ct_is_user_enable() === false || $ct_options['comments_test'] == 0 || $ct_comment_done) {
        return $comment;
    }
    $local_blacklists = wp_blacklist_check($comment['comment_author'], $comment['comment_author_email'], $comment['comment_author_url'], $comment['comment_content'], @$_SERVER['REMOTE_ADDR'], @$_SERVER['HTTP_USER_AGENT']);
    // Go out if author in local blacklists
    if ($local_blacklists === true) {
        return $comment;
    }
    // Skip pingback anti-spam test
    if ($comment['comment_type'] == 'pingback') {
        return $comment;
    }
    $ct_comment_done = true;
    $comment_post_id = $comment['comment_post_ID'];
    $sender_info = array('sender_url' => @$comment['comment_author_url']);
    //
    // JetPack comments logic
    //
    $checkjs = 0;
    if ($ct_jp_comments) {
        $post_info['comment_type'] = 'jetpack_comment';
        $checkjs = js_test('ct_checkjs', $_COOKIE, true);
    } else {
        $post_info['comment_type'] = $comment['comment_type'];
        $checkjs = js_test('ct_checkjs', $_POST, true);
    }
    if ($checkjs == 0) {
        $checkjs = js_test('ct_checkjs', $_POST, true);
    }
    if ($checkjs == 0) {
        $checkjs = js_test('ct_checkjs', $_COOKIE, true);
    }
    $post_info['post_url'] = ct_post_url(null, $comment_post_id);
    $post_info = json_encode($post_info);
    if ($post_info === false) {
        $post_info = '';
    }
    $example = null;
    if ($ct_options['relevance_test']) {
        $post = get_post($comment_post_id);
        if ($post !== null) {
            $example['title'] = $post->post_title;
            $example['body'] = $post->post_content;
            $example['comments'] = null;
            $last_comments = get_comments(array('status' => 'approve', 'number' => 10, 'post_id' => $comment_post_id));
            foreach ($last_comments as $post_comment) {
                $example['comments'] .= "\n\n" . $post_comment->comment_content;
            }
            $example = json_encode($example);
        }
        // Use plain string format if've failed with JSON
        if ($example === false || $example === null) {
            $example = $post->post_title !== null ? $post->post_title : '';
            $example .= $post->post_content !== null ? "\n\n" . $post->post_content : '';
        }
    }
    $ct_base_call_result = ct_base_call(array('message' => $comment['comment_content'], 'example' => $example, 'sender_email' => $comment['comment_author_email'], 'sender_nickname' => $comment['comment_author'], 'post_info' => $post_info, 'checkjs' => $checkjs, 'sender_info' => $sender_info));
    $ct = $ct_base_call_result['ct'];
    $ct_result = $ct_base_call_result['ct_result'];
    if ($ct_result->stop_queue == 1) {
        $err_text = '<center><b style="color: #49C73B;">Clean</b><b style="color: #349ebf;">Talk.</b> ' . __('Spam protection', 'cleantalk') . "</center><br><br>\n" . $ct_result->comment;
        $err_text .= '<script>setTimeout("history.back()", 5000);</script>';
        wp_die($err_text, 'Blacklisted', array('back_link' => true));
        return $comment;
    }
    ct_hash($ct_result->id);
    if ($ct_result->spam == 1) {
        add_filter('pre_comment_approved', 'ct_set_comment_spam');
        global $ct_comment;
        $ct_comment = $ct_result->comment;
        add_action('comment_post', 'ct_die', 12, 2);
        add_action('comment_post', 'ct_set_meta', 10, 2);
        return $comment;
    }
    if (isset($comment['comment_author_email'])) {
        $approved_comments = get_comments(array('status' => 'approve', 'count' => true, 'author_email' => $comment['comment_author_email']));
        // Change comment flow only for new authors
        if ((int) $approved_comments == 0 || $ct_result->stop_words !== null) {
            if ($ct_result->allow == 1 && get_option('comment_moderation') !== '1') {
                add_filter('pre_comment_approved', 'ct_set_approved', 99, 2);
            }
            if ($ct_result->allow == 0) {
                if (isset($ct_result->stop_words)) {
                    global $ct_stop_words;
                    $ct_stop_words = $ct_result->stop_words;
                    add_action('comment_post', 'ct_mark_red', 11, 2);
                }
                add_filter('pre_comment_approved', 'ct_set_not_approved');
            }
            add_action('comment_post', 'ct_set_meta', 10, 2);
        }
    }
    return $comment;
}
Exemplo n.º 23
0
function Googlofuckspam($comment)
{
    if (is_user_logged_in()) {
        return $comment;
    }
    //登录用户无压力...
    if (wp_blacklist_check($comment['comment_author'], $comment['comment_author_email'], $comment['comment_author_url'], $comment['comment_content'], $comment['comment_author_IP'], $comment['comment_agent'])) {
        header("Content-type: text/html; charset=utf-8");
        err(__('不好意思,您的评论违反本站评论规则'));
    } else {
        return $comment;
    }
}