Just to be sure I installed this one also:
Total Thread Views
phpinclude:
if (strpos($_SERVER['PHP_SELF'], "index.php") != false)
{
$result = $DB_site->query("SELECT SUM(views) AS totalviews FROM thread");
$totalviews = $DB_site->fetch_array($result);
$totalviews = number_format($totalviews['totalviews']);
}
forumhome
Members: $numbermembers, Threads: $totalthreads ($totalviews views), Posts: $totalposts
I attached a screenshot that shows the result
ThanX again, Maxx (I'm sorry for my bad English)
|