From cad989367d604ab44d55671f4fdb5df0ffe76b0f Mon Sep 17 00:00:00 2001 From: Jeremy Newman Date: Wed, 1 Dec 2004 22:28:31 +0000 Subject: [PATCH] adding --- appdbStats.php | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 appdbStats.php diff --git a/appdbStats.php b/appdbStats.php new file mode 100644 index 0000000..62b94bb --- /dev/null +++ b/appdbStats.php @@ -0,0 +1,58 @@ +\n\n"; + +/* Display the number of users */ +echo "\n"; +echo " Users:\n"; +echo " ".getNumberOfUsers()."\n"; +echo "\n\n"; + +/* Display the number of comments */ +echo "\n"; +echo " Comments:\n"; +echo " ".getNumberOfComments()."\n"; +echo "\n\n"; + +/* Display the number of application familes */ +echo "\n"; +echo " Application families:\n"; +echo " ".getNumberOfAppFamilies()."\n"; +echo "\n\n"; + +/* Display the number of versions */ +echo "\n"; +echo " Versions:\n"; +echo " ".getNumberOfVersions()."\n"; +echo "\n\n"; + +/* Display the number of images */ +echo "\n"; +echo " Images:\n"; +echo " ".getNumberOfImages()."\n"; +echo "\n\n"; + +/* Display the active users in the last 90 days */ +echo "\n"; +echo " Users active within the last 90 days:\n"; +echo " ".getActiveUsersWithinDays(90)."\n"; +echo "\n\n"; + +echo "\n\n"; +echo html_frame_end(" "); + +echo ""; +apidb_footer(); + + +?>