// Bring in list of all active GROUP records
$group_list = db_exec_sql("SELECT * FROM groups WHERE approval = '1' and year = '2006/2007' ORDER BY name, year","webdb");
$groupcount = mysql_num_rows($group_list);
if($groupcount){
while($list = mysql_fetch_object($group_list)){
if($id != $list->id){
$link = '?id='.$list->id;
}
else {$img = '-o';}
?>