\n"); ?>
=$MESSAGES[$QUERY_FAILED]?>
| Project | Funding | Timeline | People | Publications | |
| $name | \n"); print("$funding");
if($totalyrs != null){
print(" ($totalyrs years) | \n");
print("$start - $end \n"); print(" ");
print(" \n");
print(" | \n");
} else {
print("\n"); } ?> |
=$startyear AND pu1.pub_type='Journal Article' ";
$sql .= "UNION ";
$sql .= "SELECT pu2.pub_id, pu2.year, pu2.author, pu2.title, pu2.sec_title, pu2.pub_type ";
$sql .= "FROM publications as pu2, projects_pubs as pp2 ";
$sql .= "WHERE pu2.pub_id=pp2.pub_id AND pp2.project_id=$pid AND pu2.year>=$startyear AND pu2.pub_type='Conference Paper' ";
$sql .= "UNION ";
$sql .= "SELECT pu3.pub_id, pu3.year, pu3.author, pu3.title, pu3.sec_title, pu3.pub_type ";
$sql .= "FROM publications as pu3, projects_pubs as pp3 ";
$sql .= "WHERE pu3.pub_id=pp3.pub_id AND pp3.project_id=$pid AND pu3.year>=$startyear AND NOT pu3.pub_type='Journal Article' AND NOT pu3.pub_type='Conference Paper' ";
$sql .= "ORDER by pub_type, year, pub_id;";
$pubslist = pg_query($connection, $sql);
if ($peoplelist)
{
while ($pers = pg_fetch_row($peoplelist)) {
if ($pers[2] == "t") print("");
print("" . utf8_decode($pers[0]));
print(" " . utf8_decode($pers[1]) . "");
if ($pers[2] == "t") print("");
print(" \n"); } } print(" | ");
if ($pubslist)
{
$pubtype = "";
while ($pub = pg_fetch_row($pubslist)) {
if ($pub[5] != $pubtype){
if($pub[5] == "Journal Article" || $pub[5] == "Conference Paper")
print("" . $pub[5] . "s: \n"); else print("Other: \n"); $pubtype = $pub[5]; } $citation = make_citation(utf8_decode($pub[1]), utf8_decode($pub[2])); $ref = make_short_ref($pub[5], utf8_decode($pub[1]), utf8_decode($pub[2]), utf8_decode($pub[3]), utf8_decode($pub[4]), false); print("$citation \n"); } } ?> |