- adds a panel for administrating vendors

- removed corresponding TODO entry
This commit is contained in:
Jonathan Ernst
2004-12-29 03:44:17 +00:00
committed by WineHQ
parent 487bcb9264
commit 844babf8a0
4 changed files with 95 additions and 2 deletions

View File

@@ -265,6 +265,15 @@ function getMaintainerCount()
return $ob->maintainers;
}
/* get the total number of vendors from the vendor table */
function getVendorCount()
{
$qstring = "SELECT count(*) as vendors FROM vendor";
$result = mysql_query($qstring);
$ob = mysql_fetch_object($result);
return $ob->vendors;
}
/* Get the number of users in the database */
function getNumberOfComments()
{