tracker.php: fixed difftime
webstats.php: added functions to tracker