".sprintf(__('Click-Fraud Monitor %s requires WordPress 3.0 or higher.'), CFMONITOR_VERSION) ." ".sprintf(__('Please upgrade WordPress to a current version.'), 'http://codex.wordpress.org/Upgrading_WordPress'). "

"; } add_action('admin_notices', 'cfmonitor_version_warning'); return; } function cfmonitor_admin_init() { global $wp_version; // all admin functions are disabled in old versions if ( !function_exists('is_multisite') && version_compare( $wp_version, '3.0', '<' ) ) { function cfmonitor_version_warning() { echo "

".sprintf(__('Click-Fraud Monitor %s requires WordPress 3.0 or higher.'), CFMONITOR_VERSION) ." ".sprintf(__('Please upgrade WordPress to a current version.'), 'http://codex.wordpress.org/Upgrading_WordPress'). "

"; } add_action('admin_notices', 'cfmonitor_version_warning'); return; } } add_action('admin_init', 'cfmonitor_admin_init'); add_action( 'admin_enqueue_scripts', 'cfmonitor_load_js_and_css' ); // Make sure when installed WPSEO that sitemap is deactivated - Fixed /*function wpseofix() { if ( defined( 'WPSEO_VERSION' ) ) { echo "

".sprintf(__('Click Fraud Monitor %s needs disabling the XML sitemap feature of WPSEO for proper functionality.'), cfmonitor_VERSION) ."

"; } } add_action('admin_notices', 'wpseofix'); */ function cfmonitor_load_js_and_css() { global $hook_suffix; if ( $hook_suffix == 'plugins_page_cfmonitor-config' ) { wp_register_style( 'cfmonitor.css', CFMONITOR_PLUGIN_URL . 'cfmonitor.css', array(), '1.0.0.1' ); wp_enqueue_style('cfmonitor.css'); wp_enqueue_script( 'jquery' ); wp_enqueue_script('cfmonitor-validate',CFMONITOR_PLUGIN_URL . 'js/jquery.validate_min.js'); wp_enqueue_script('cfmonitor-form',CFMONITOR_PLUGIN_URL . 'js/form_validate_script_min.js'); $clickmonitor = new clickfraudmonitor(); $myip = $clickmonitor->getclientip(); wp_localize_script('cfmonitor-validate', 'cfclientip', $myip); } } function cfmonitor_nonce_field($action = -1) { return wp_nonce_field($action); } $cfmonitor_nonce = 'cfmonitor-update-key'; function cfmonitor_conf() { global $cfmonitor_nonce; if ( isset($_POST['submit']) ) { if ( function_exists('current_user_can') && !current_user_can('manage_options') ) die(__('Cheatin’ uh?')); check_admin_referer( $cfmonitor_nonce ); //$key = preg_replace( '/[^a-h0-9]/i', '', $_POST['key'] ); //$home_url = parse_url( get_bloginfo('url') ); if ( isset( $_POST['clickthreshold'] ) ) update_option( 'cfmonitor_click_threshold', $_POST['clickthreshold'] ); if ( isset( $_POST['cfmonitor_ban_period'] ) ) update_option( 'cfmonitor_ban_period', $_POST['cfmonitor_ban_period'] ); if ( isset( $_POST['cfmonitor_day_span'] ) ) update_option( 'cfmonitor_day_span', $_POST['cfmonitor_day_span'] ); if ( isset( $_POST['cfmonitor_email'] ) ) update_option( 'cfmonitor_email', $_POST['cfmonitor_email'] ); if ( isset( $_POST['cfmonitor_noads'] ) ){ update_option( 'cfmonitor_noads', $_POST['cfmonitor_noads'] ); }else{ update_option( 'cfmonitor_noads', 'false' ); } if ( isset( $_POST['cfmonitor_customclass'] ) ) update_option( 'cfmonitor_customclass', $_POST['cfmonitor_customclass'] ); if ( isset( $_POST['cfmonitor_myip'] ) ) update_option( 'cfmonitor_myip', $_POST['cfmonitor_myip'] ); if ( isset( $_POST['cfmonitor_blockfirst'] ) ){ update_option( 'cfmonitor_blockfirst', $_POST['cfmonitor_blockfirst'] ); }else{ update_option( 'cfmonitor_blockfirst', 'false' ); } if ( isset( $_POST['cfmonitor_disablead'] ) ){ update_option( 'cfmonitor_disablead', $_POST['cfmonitor_disablead'] ); }else{ update_option( 'cfmonitor_disablead', 'false' ); } } ?>

" />
()
" />
()
(It only works in the PREMIUM version! Get it at Clickfraud-Monitoring.com'); ?>)
/>
()

Advanced settings

prepare_items(true); $IPlistTable->display(); ?>

query($strSQL); } } } if (isset($_POST['allclicks'])) { //$ipaddr = $_POST['ipaddress']; //$checkbox = $_POST['checkbox']; if (isset($_POST['ip_address'])){ $checkbox = $_POST['ip_address']; } echo 'I am soory

I am very soory!


This feature is only available in the premium version.

The development of this plugin takes up a lot of time,
but i am willing to integrate as many of your desired features as possible.
Due to my limited time it is only possible to create that special functions
when i find a way to earn a small amount for my work.

Personally i use and love free software and i am sure you also!
So i decided to make new features first for the premium version but
later i integrate all those functions step by step into the free version as well.
So even, when you are out of pocket and not able to pay for the premium version
you can wait until new functions get integrated.
Think this system is fair for everyone.

So if you cannot wait for the latest release and want to support me,
just purchase it.

If you do not have any money just wait.
You´ll get the same features later or sooner
- i promise! -

Thanks for reading all that stuff.

Yours, René

I prefer to wait or  Let me support you - I spent the 12 bucks now'; //Create an instance of our package class... $IPlistTable = new TT_Example_List_Table(); //Fetch, prepare, sort, and filter our data... //$IPlistTable->prepare_items(false); //$IPlistTable->display(); } } ?>