One thing I noticed in functions_statistik.php. You use ereg quite a bit. Such as.
PHP Code:
if(ereg("Opera", $agent)) $c_browser = "Opera";
More efficient would be to use PCRE functions.
PHP Code:
if(preg_match('#Opera#', $agent)) $c_browser = 'Opera';
And since no regular expresions are really needed for this, far more efficient would be.
PHP Code:
if(strpos($agent, 'Opera')) $c_browser = 'Opera';
Anyway, thanks for the hack.