From cb63efbfc57bd8c85b76176a6ebcbafd9bc013d5 Mon Sep 17 00:00:00 2001 From: swiergot Date: Fri, 2 Sep 2005 16:25:59 +0000 Subject: added safe packages count in the statistics frame --- web/html/index.php | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'web/html') diff --git a/web/html/index.php b/web/html/index.php index 1d5428f..01c7b2d 100644 --- a/web/html/index.php +++ b/web/html/index.php @@ -209,6 +209,11 @@ $result = db_query($q, $dbh); $row = mysql_fetch_row($result); $update_count = $row[0]; +$q = "SELECT count(*) FROM Packages,PackageLocations WHERE Packages.LocationID = PackageLocations.ID AND PackageLocations.Location = 'unsupported' AND Packages.Safe = 1"; +$result = db_query($q, $dbh); +$row = mysql_fetch_row($result); +$safe_count = $row[0]; + print ""; print ""; @@ -224,6 +229,13 @@ print ""; print ""; print ""; +print ""; +print ""; +print ""; +print ""; + print ""; print "
$unsupported_count
"; +print "".__("Packages in unsupported and flagged as safe").""; +print "$safe_count
"; print "".__("Packages in [community]").""; -- cgit v1.2.3-70-g09d2