get_names(); if ( $wps_nonce_valid ) { foreach ( $role_list as $role ) { $role_post = 'wps_exclude_' . str_replace( " ", "_", strtolower( $role ) ); if ( array_key_exists( $role_post, $_POST ) ) { $value = $_POST[ $role_post ]; } else { $value = ''; } $new_option = str_replace( "wps_", "", $role_post ); $WP_Statistics->store_option( $new_option, $value ); } if ( array_key_exists( 'wps_create_honeypot', $_POST ) ) { $my_post = array( 'post_type' => 'page', 'post_title' => __( 'WP Statistics Honey Pot Page', 'wp-statistics' ) . ' [' . $WP_Statistics->Current_Date() . ']', 'post_content' => __( 'This is the honey pot for WP Statistics to use, do not delete.', 'wp-statistics' ), 'post_status' => 'publish', 'post_author' => 1, ); $_POST['wps_honeypot_postid'] = wp_insert_post( $my_post ); } $wps_option_list = array_merge( $wps_option_list, array( 'wps_record_exclusions', 'wps_robotlist', 'wps_exclude_ip', 'wps_exclude_loginpage', 'wps_force_robot_update', 'wps_excluded_countries', 'wps_included_countries', 'wps_excluded_hosts', 'wps_robot_threshold', 'wps_use_honeypot', 'wps_honeypot_postid', 'wps_exclude_feeds', 'wps_excluded_urls', 'wps_exclude_404s', 'wps_corrupt_browser_info', 'wps_exclude_ajax', ) ); foreach ( $wps_option_list as $option ) { $new_option = str_replace( "wps_", "", $option ); if ( array_key_exists( $option, $_POST ) ) { $value = $_POST[ $option ]; } else { $value = ''; } $WP_Statistics->store_option( $new_option, $value ); } } ?>

: get_option( 'record_exclusions' ) == true ? "checked='checked'" : ''; ?>>

get_option( $store_name ) == true ? "checked='checked'" : ''; ?>>

:

get_option( 'force_robot_update' ) == true ? "checked='checked'" : ''; ?>>

:

: get_option( 'use_honeypot' ) == true ? "checked='checked'" : ''; ?>>

get_option( 'corrupt_browser_info' ) == true ? "checked='checked'" : ''; ?>>

:

:

:


: get_option( 'exclude_loginpage' ) == true ? "checked='checked'" : ''; ?>>

: get_option( 'exclude_feeds' ) == true ? "checked='checked'" : ''; ?>>

: get_option( 'exclude_404s' ) == true ? "checked='checked'" : ''; ?>>

: get_option( 'exclude_ajax' ) == true ? "checked='checked'" : ''; ?>>

: