PluginProbe
WP Visitor Statistics (Real Time Traffic) / 2.4
WP Visitor Statistics (Real Time Traffic) v2.4
trunk 2.4 2.5 2.7 3.14 4.2 4.3 4.5 4.6 4.7 4.8 4.9 5.1 5.2 5.3 5.4 5.5 5.6 5.7 5.8 5.9 6.1 6.2 6.3 6.4 All 52 releases
wp-stats-manager / wp-stats-manager.php

wp-stats-manager.php in WP Visitor Statistics (Real Time Traffic) 2.4, at wp-stats-manager.php

39 lines 1.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Plugin Name: Real Time Visitor Statistics
4 * Plugin URI: http://plugins-market.com/contact-us
5 * Description: This plugin will track the web analytics for each page and show various analytics report in admin panel as well as in front end.
6 * Version: 2.4
7 * Author: osamaesh
8 * Author URI: http://plugins-market.com/
9 * Developer: Prism I.T. Systems
10 * Developer URI: http://www.prismitsystems.com
11 * Text Domain: wp-stats-manager
12 * Domain Path: /languages
13 * Copyright: � 2009-2017 PRISM IT SYSTEMS.
14 * License: GNU General Public License v3.0
15 * License URI: http://www.gnu.org/licenses/gpl-3.0.html
16 **/
17 if ( ! defined( 'ABSPATH' ) ) {
18 die( 'Access denied.' );
19 }
20 require_once( ABSPATH. 'wp-includes/pluggable.php');
21 //error_reporting(E_ALL ^ E_NOTICE);
22
23
24 define( 'WSM_PREFIX','wsm' );
25 define( 'WSM_NAME',__('Visitor Statistics (Free)') );
26 define( 'WSM_DIR', plugin_dir_path( __FILE__ ) );
27 define( 'WSM_URL', plugin_dir_url( __FILE__ ) );
28 define( 'WSM_FILE', __FILE__ );
29 define( 'WSM_ONLINE_SESSION',15 ); //DEFINE ONLINE SESSION TIME IN MINUTES
30 define( 'WSM_PAGE_LIMIT',10 ); //DEFINE ONLINE SESSION TIME IN MINUTES
31 global $wsmAdminColors,$wsmAdminJavaScript,$wsmAdminPageHooks,$wsmRequestArray,$arrCashedStats;
32 $wsmAdminJavaScript='';
33 $wsmAdminPageHooks=array();
34 $wsmRequestArray=array();
35 if(isset($_REQUEST) && is_array($_REQUEST)){
36 $wsmRequestArray=$_REQUEST;
37 }
38 include_once(WSM_DIR .'includes/'. WSM_PREFIX."_init.php");
39 wsmInitPlugin::initWsm();