new Mustache_Loader_FilesystemLoader($includesBaseDir.'services/webteam/Views/')
));
$db = new DataSources\StafflistDatabase();
$conn = $db->getConnection();
$pgrDisplay = new \PgrStudents\PgrsDisplay($mustache, '');
$pgrMapper = new \Mappers\PGRSMapper($conn);
$guid = '2691865L';
if(!$guid){
trigger_error('pgr profilem with no guid: file'.__FILE__, E_USER_WARNING);
exit();
}
$student = $pgrMapper->getPGRStudent($guid);
if($student){
$gdprOverride = '';
$t4ContentMain['content_id'] = <<Ph.D project
Yuxiao's Ph.D research focuses on exploring the development of rental housing in the neighborhoods in urban China. Her work examines the socio-spatial dynamics of neighbourhoods experiencing rental growth, the interplay between informality and formality in rental policies and practices, and the social impacts of these developments.
Research interests
- Housing and neighbourhood
- Urban redevelopment and gentrification
- Urban transformation and socio-spatial inequality
- Urban informality
EOT;
$supervisors = $student->getSupervisorsAssoc();
if(!empty($supervisors)){
$t4ContentMain['supervisors']['content'] = $supervisors;
}
$exSupervisors = <<Email: y.li.21@research.gla.ac.uk
Adress: Urban Big Data Centre, 7 Lilybank Gardens, University of Glasgow, Glasgow, G12 8RZ
EOT;
$t4ContentMain['orcid'] = <<render('Profiles/staffProfilePublications', $ePublications);
}
$t4ContentMain['show_impact'] = << $impactEntry['activity'],
'list' => array()
);
}
$dateSplit = explode('-', $impactEntry['date']);
$impactDisplay[$impactEntry['activity']]['list'][] = array(
'record' => $impactEntry['record'],
'short_description' => $impactEntry['short_description'],
'date' => $impactEntry['date'],
'start_date' => $dateSplit[0],
'nature' => $impactEntry['nature']
);
}
$impactDisplay = array_values($impactDisplay);
$impact = $mustache->render('staffProfileImpact', $impactDisplay);
}
$researchData = '';
$researchData = \Mappers\EnlightenMapper::loadResearch($ePrintId);
if(!isset($publications)){
$publications = <<getPgrFullName();
$t4ContentMain['researchTitle'] = $student->getPlanTitle();
echo $pgrDisplay->displayPGRProfile($t4ContentMain);
}else{
header("HTTP/1.0 404 Not Found");
echo $mustache->render('404');
}
?>