require_once('lib/setup.lib'); require_once('lib/contact.lib'); require_once('lib/forms.lib'); echo_header("Project Contacts"); //echo "Related Project Contacts:"; if($orderby == "Name" || !$orderby) $orderby = "last_name, first_name"; if($specialty || $name || $all) $contacts = get_contacts("*",$orderby, $specialty,$name); else echo "
Individuals in Alaska have demonstrated an interest in the effects of roads on habitat quality and connectivity. As the Alaska Department of Transportation & Public Facilities plans future projects, planners may be able to use the database of contacts to identify persons interested in helping inform the planning process. "; /* $specialties = dbgq_all_key_val("select specialty, count(specialty) cnt from contact where specialty is not null group by specialty",'specialty','cnt'); //a($specialties); while(list($key,$val) = each($specialties)) $specialties[$key] = "$key ($val)"; //a($specialties); */ $contacts_keys = @array_keys($contacts[0]); unset($contacts_keys[0]); $contacts_keys[2] = "Name"; unset($contacts_keys[1]); echo "