include_once("../config.php"); require_once("researchnetidmaps.php"); $left_menu_array=array( "FACULTY" => "people/faculty/", // "POSTDOCS" => "people/postdocs/", // "STUDENTS" => "people/student/", "ADMINISTRATION" => "people/admin/", ); // pull out the string $person=preg_split("/\/|\./",$_GET['person']); $type=$person[0]; $netid=$person[1]; echo ""; // split into parts $type=$person[0]; $netid=$person[1]; // suck in their data require("people/${type}/${netid}.php"); /* Available fields: "netid" "firstname" "middlepart" "lastname" "title" "surtitle" "degrees" "awards" "publications" "researchareas" "other" */ $navigation_array=array( "People" => "people/", ucfirst($type) => "people/$type/", "$firstname $lastname" => 0 ); $person=array( "netid" => $netid, "firstname" => $firstname, "middlepart" => $middlepart, "lastname" => $lastname, "title" => $title, "surtitle" => $surtitle, "degrees" => $degrees, "awards" => $awards, "publications" => $publications, "researchareas" => $researchareas, "otherinfo" => $otherinfo ); echo ""; $person_string=""; // $person_string = $person['title'] ? $person['title'] . " " : ""; $person_string .= $person['firstname'] . " "; $person_string .= $person['middlepart'] ? $person['middlepart'] . " " : ""; $person_string .= $person['lastname']; // $person_string .= $person['surtitle'] ? ", " . $person['surtitle'] : ""; ?> $person_title=$title; $page_title="$person_string - Faculty, Neuroscience UIUC"; include("includes/html_header.php"); $title=$person_title; ?>