diff --git a/appdbStats.php b/appdbStats.php new file mode 100644 index 0000000..62b94bb --- /dev/null +++ b/appdbStats.php @@ -0,0 +1,58 @@ + + +/* Code to view all kinds of interesting statistics about appdb */ + +include("path.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); +echo "
| Users: | \n"; +echo "".getNumberOfUsers()." | \n"; +echo "
| Comments: | \n"; +echo "".getNumberOfComments()." | \n"; +echo "
| Application families: | \n"; +echo "".getNumberOfAppFamilies()." | \n"; +echo "
| Versions: | \n"; +echo "".getNumberOfVersions()." | \n"; +echo "
| Images: | \n"; +echo "".getNumberOfImages()." | \n"; +echo "
| Users active within the last 90 days: | \n"; +echo "".getActiveUsersWithinDays(90)." | \n"; +echo "