'.PrintSubGroupName($_REQUEST['sub']).'
'; $sgDesc = PrintSubGroupDescription($_REQUEST['sub']); if($sgDesc){ print '
'.$sgDesc.'

'; } $topRow = GetTopGroupIDFromSubgroup($_REQUEST['sub']); $top_id = $topRow['topgroup_id']; $resItems = GetItemListForSubGroup($_REQUEST['sub']); if(db_num_rows($resItems)){ while($row = db_fetch_array($resItems)){ print PrintFormattedSubActivity($row, $sub, $top_id).'
'; } } else { print '
Sorry, no Adventures have been found for '.PrintSubGroupName($_REQUEST['sub']).'
'; } } else { if($_REQUEST['id']){ print '
General Information about "'.PrintTopGroupName($_REQUEST['id']).'"
  '; } } ?>