From f4540923ac776fe5ec585dce605c02f1235f9694 Mon Sep 17 00:00:00 2001 From: Jonathan Ernst Date: Mon, 31 Jan 2005 01:49:56 +0000 Subject: [PATCH] fix appdb stats --- appdbStats.php | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/appdbStats.php b/appdbStats.php index a31f82d..c674f67 100644 --- a/appdbStats.php +++ b/appdbStats.php @@ -4,10 +4,10 @@ /****************************************************************/ include("path.php"); -require(BASE."include/"."incl.php"); -require(BASE."include/"."tableve.php"); -require(BASE."include/"."category.php"); -require(BASE."include/"."maintainer.php"); +require(BASE."include/incl.php"); +require(BASE."include/tableve.php"); +require(BASE."include/category.php"); +require(BASE."include/maintainer.php"); apidb_header("Appdb Statistics"); echo html_frame_start("","60%","",0); @@ -16,31 +16,31 @@ echo "\n\n"; /* Display the number of users */ echo "\n"; echo " \n"; -echo " \n"; +echo " \n"; echo "\n\n"; /* Display the active users in the last 30 days */ echo "\n"; echo " \n"; -echo " \n"; +echo " \n"; echo "\n\n"; /* Display the active users in the last 60 days */ echo "\n"; echo " \n"; -echo " \n"; +echo " \n"; echo "\n\n"; /* Display the active users in the last 90 days */ echo "\n"; echo " \n"; -echo " \n"; +echo " \n"; echo "\n\n"; /* Display the inactive users */ echo "\n"; echo " \n"; -echo " \n"; +echo " \n"; echo "\n\n"; /* Display the number of comments */ @@ -78,6 +78,4 @@ echo html_frame_end(" "); echo ""; apidb_footer(); - - ?>
Users:".getNumberOfUsers()."".get_number_of_users()."
Users active within the last 30 days:".getActiveUsersWithinDays(30)."".get_active_users_within_days(30)."
Users active within the last 60 days:".getActiveUsersWithinDays(60)."".get_active_users_within_days(60)."
Users active within the last 90 days:".getActiveUsersWithinDays(90)."".get_active_users_within_days(90)."
Inactive users (not logged in since six months):".(getNumberOfUsers()-getActiveUsersWithinDays(183))."".(get_number_of_users()-get_active_users_within_days(183))."