/***************************************************************************
 *
 *   RobotStats
 *
 * Author:   Olivier Duffez, WebRankInfo ( http://www.webrankinfo.com )
 * Version:  1.0
 * Date:     2003-10-11
 * Homepage: http://www.robotstats.com    
 *
 ***************************************************************************/

// ---------------------------------------------------------------------------
// Changes from version GoogleStats 2.02 to RobotStats 1.0
// ---------------------------------------------------------------------------
* Application name changed:
  the new name is 'RobotStats', replacing 'GoogleStats', for respecting the
  Google trade mark. Moreover, this name indicates that all search engines
  robots can be detected and analyzed.
  The new official site of the application has a new domain name:
  www.robotstats.com
  You're invited to update the link toward this site (if you still not have
  put a link, please add it: this is the only thing I ask you for using freely
  RobotStats). See http://www.robotstats.com/en/link.php

* In the Summary section:
  - the number of visits of each robot is displayed right to its name.
  - new graph: a pie plot giving the number of visits in percentage for each
    robot (this indicates the most active robots on your site). The graph may
    take some time for being displayed (you can disable it by modifying the
    $RS_DISPLAY_PIE_PLOT variable).
  - the IP addresses are displayed in 2 columns, along with their occurrence.

* In the Pages section:
  - sub-domains support added
  - visits dates precision increased (second)
  - the day of the last robot visit is added to the hour
  - HTTP return code support added

* In the Graph section:
  - the graph is available for a 2-months date range
  - display time strongly reduced (MySQL requests optimization)

* Calendar support:
  - when you click on previous/next month, the data of the whole month are
    displayed, instead of the same day for the previous/next month.
  - day/month previous/next arrows support enhanced
  - when you click on the month name, the current day cell contains an active
    link. You doesn't have to click on another date any more for activating the
    current day.

* Log MySQL table:
  - 'code' field added for HTTP return code support

* Robots supported by RobotStats:
  - Slurp : 66.196.72 added
  - MicrosoftPrototypeCrawler added (maybe a new Microsoft crawler)

* Bugs fixes:
  - 'nbJours' function fixed (if you select the whole month, the number of
    days must be the number of days since the beginning of the month, not the
    number of days in the month).
  - Full Crawl email alert bug fixed (no more emails sent by hundreds...).
  - some warnings suppressed.

* In the source code:
  - "GoogleStats" replaced by "RobotStats"
  - '&' replaced by '&amp;' in the URLs
  - variables names defined in 'admin/config.php' always begin with "RS_"
    (for "RobotStats")
  - you don't have to include the 'admin/config.php' file anymore before
    including 'googlestats.inc.php' (because 'googlestats.inc.php' includes
    'admin/config.php' itself).

* Other:
  - support for 2 new languages: Dutch (file "lang.nl.php") and italian
    (file "lang.it.php").
  - new JpGraph library version: 1.12.2 (30 May, 2003)


// ---------------------------------------------------------------------------
// Changes from version 2.01 to 2.02
// ---------------------------------------------------------------------------
- support for a new language: spannish (file "lang.es.php").

// ---------------------------------------------------------------------------
// Changes from version 2.0 to 2.01
// ---------------------------------------------------------------------------
- Bugs fixes:
  * no detection of the robots defined by only one IP address
  * in lib.php : "<img src='graph?robot"
    replaced by  "<img src='graph.php?robot"
  * in admin: pb with the inclusion of the file 'calendrier.php' from
    '../lib.php'

- modif of the configuration of the robots:
  * 2nd IP address of GoogleBot = 64.68.8

- New robot: Exabot

- ergonomics:
  * in the admin section, to simplify the robots table, the description column
    has been deleted; the description is displayed when you pass the mouse
    over the name of the robot.

- a german version of GoogleStats is available (without help support).


// ---------------------------------------------------------------------------
// Changes from version 1.1 to 2.0
// ---------------------------------------------------------------------------
- management of many robots:
  * creation of a MySQL table defining the robots to be detected
  * detection by user agent or by the beginning of the IP address
  * the description of each robot is available
  * the robots are managed in the administration section (to add, delete,
    or modify a robot)
- you can test if GoogleStats is correctly installed on your site by recording
  your own visits (using a special robot)
- Full Crawl alert by email (option)
- Email alert on MySQL request errors (option)
- graph:
  * display the data for 1, 3, 6 or 12 months (for only one robot once)
- list of visited pages:
  * IP address and DNS added
  * for the pages being visited more than one time, the displayed date is the
    last robot's visit one (instead of the first)
  * you can sort by any column by clicking on its name. If you click again on
    the same column, the data will be sorted in reverse order.
- use of the last version of the JpGraph Library: version 1.11 (2 feb 2003)
- bug fixes:
  * for some PHP versions, bad detection of GoogleBot
  * new version of the 'setlocale' PHP function interface

