/*********************************************** The following vars are passed to the include used for generating publication listings. See below ***********************************************/ $id = base64_decode($_REQUEST['id']); $pubs = $_REQUEST['pubs']; $unit_id = 173; include_once "DB.php"; define("APP_INC_PATH", "/usr/local/web/common/php/staff/"); include_once APP_INC_PATH."connection/db-connect.php"; include_once APP_INC_PATH."classes/unit.php"; include_once APP_INC_PATH."classes/staff.php"; include_once APP_INC_PATH."classes/sortObject.php"; ?> if (empty($page_var)) { $unit = new unit($unit_id); $unit->get_info(); $unit->get_staff("N2"); $unit->organise_staff_alphabetically(); // Chunk the array into alphabet keyed pieces $sections = array(); foreach ($unit->staff_array as $staff) { $sections[substr( $staff->surname, 0, 1 )] [] = $staff; } ?>
| Name | Telephone | Job Description | |
|---|---|---|---|
| Top | |||
| bgcolor="#EFEFEF" }//if ?>> trim($staff->known_as) == "" ? print $staff->surname.', '.$staff->forename : print $staff->surname.', '.$staff->known_as; ?> | bgcolor="#EFEFEF" }//if ?>> trim($staff->j_phone) != "" ? print $staff->j_phone : print "n/a"; ?> | bgcolor="#EFEFEF" }//if ?>> trim($staff->j_desc) != "" ? print $staff->j_desc : print $staff->j_title; ?> | bgcolor="#EFEFEF" }//if ?>>
|
| Personal Details |
| if ($img_str != null) { ?>
|
trim($staff->j_desc) != "" ?
print $staff->j_desc : print $staff->j_title; ?>
echo "School of $staff->j_school, Faculty of $staff->j_faculty"; ?> Role(s): $i=0; foreach ($staff->roles as $role) { $i > 0 ? print ", ".$role["role_name"] : print $role["role_name"]; $i++; }//foreach ?> |
Staff listing | |
| Contact | |||
|
if (trim($staff->j_address_room) != "") echo "Room $staff->j_address_room ";
if (trim($staff->j_address_bldg) != "") echo "$staff->j_address_bldg "; if (trim($staff->j_address_campus) != "") echo "$staff->j_address_campus "; if (trim($staff->j_address_postcode) != "") echo "$staff->j_address_postcode"; ?> if (trim($staff->j_phone) != "") echo "T: $staff->j_phone "; if (trim($staff->j_fax) != "") echo "F: $staff->j_fax "; ?> if (trim($staff->j_email) != "") { ?> echo $staff->j_email ?> } ?> if ($staff->permit_h_url_ext == "Y" && (trim($staff->h_url) != "")) { ?> echo "h_url}\" target=\"_blank\">Personal homepage"; ?> }//ifurl ?> |
|||
|
trim($staff->j_desc) != "" ?
print $staff->j_desc : print $staff->j_title; ?>
echo "School of $staff->j_school, Faculty of $staff->j_faculty"; ?> Role(s): $i=0; foreach ($staff->roles as $role) { $i > 0 ? print ", ".$role["role_name"] : print $role["role_name"]; $i++; }//foreach ?> |
Staff listing |
| if (trim($staff->j_email) != "" || trim($staff->j_phone) != "" || trim($staff->j_fax) != "") { ?>Contact } ?> | |
|
if (trim($staff->j_address_room) != "") echo "Room $staff->j_address_room ";
if (trim($staff->j_address_bldg) != "") echo "$staff->j_address_bldg "; if (trim($staff->j_address_campus) != "") echo "$staff->j_address_campus "; if (trim($staff->j_address_postcode) != "") echo "$staff->j_address_postcode "; if (trim($staff->j_phone) != "") echo "T: $staff->j_phone "; if (trim($staff->j_fax) != "") echo "F: $staff->j_fax "; ?> if (trim($staff->j_email) != "") { ?> echo $staff->j_email ?> } ?> if ($staff->permit_h_url_ext == "Y" && (trim($staff->h_url) != "")) { ?> echo "h_url}\" target=\"_blank\">Personal homepage"; ?> }//ifurl ?> |
|
Qualifications |
|||
| echo $staff->text_quals ?> | |||
Biography |
|||
| echo $staff->peer_summary; ?> | |||
Past research |
|||
| echo $staff->past_research; ?> | |||
Current research |
|||
| echo $staff->current_research; ?> | |||
Future research |
|||
| echo $staff->future_research; ?> | |||
Expertise summary |
|||
| echo $staff->expertise_summary; ?> | |||
Lay summary |
|||
| echo $staff->lay_summary; ?> | |||
Media summary |
|||
| echo $staff->media_summary; ?> | |||
| Personal Details | Publications |
| Staff listing |
}//if publications ?> include_once APP_INC_PATH."connection/db-close.phtml"; ?>