require_once 'class.db.use.php';
if($useflag_name) {
$obj = new DBUse($useflag_name);
$description = $obj->description;
$url = $base_uri."categories";
echo "
$useflag_name
";
echo "$description
";
$sql = "SELECT category_name, package_name, description FROM view_package_useflags WHERE useflag_name = ".$db->quote($useflag_name)." ORDER BY category_name, package_name;";
$arr = $db->getAll($sql);
echo "
\n";
echo "\n";
$x = 0;
foreach($arr as $row) {
extract($row);
$class = getRowClass($x++);
$cp = "$category_name/$package_name";
$url = $base_uri.$cp;
echo "\t\n";
echo "\t\t$cp | \n";
echo "\t\t$description | \n";
echo "\t
\n";
}
echo "
\n";
}
?>