Hi Support Team,
Since 1 week, here the result on the server :
120 618 ligns and 5,6 Mio
With the modification, it seems to be good :
$q = mysql_query("SELECT * FROM cn_visit_counter WHERE id = $ID", $cn_connection);
while ($a = mysql_fetch_assoc($q)) $news[ $a['accesstime'] ] = $a;
ksort($news);
I've deleted this :
$output = str_replace("{unique-views}", count($unique), $output);
$output = str_replace("{your-views}", $your_views, $output);
$output = str_replace("{online}", count($online), $output);
$output = str_replace("{first-view}", date($config_timestamp_active, $first_view), $output);
And finally I don't use this :
$the_old_time = 60*60*24*3; // 3 day
mysql_query("DELETE FROM cn_visit_counter WHERE id = $ID AND accesstime < UNIX_TIMESTAMP(NOW()) - $the_old_time", $cn_connection);
Regards,