This project has no categorized data.
";
} else {
doc_droplist_count($group_id, $language_id);
print "
";
// get the groupings and display them with their members.
while ($row = db_fetch_array($result)) {
$query = "select description, docid, title, doc_group "
."from doc_data "
."where doc_group = '".$row['doc_group']."' "
."and stateid ='1' "
."and language_id = ".$language_id."";
//state 1 == 'active'
if ($usermem == true) {
$query .= " or stateid = '5' "
." and doc_group = '".$row['doc_group']."' ";
} //state 5 == 'private'
$subresult = db_query($query);
if (!(db_numrows($subresult) < 1)) {
print "".$row['groupname']."\n
\n";
while ($subrow = db_fetch_array($subresult)) {
print "- ".$subrow['title']."".
"
Description: ".$subrow['description'];
}
print "
\n\n";
}
}
}
docman_footer($params);
} else {
exit_no_group();
}
?>