'); echo('
Publications
RSS Feed
'); echo('
'); if (!$publication) { echo('
'); if ($specifiedCategory) { $result = mysql_query("SELECT * FROM Publications WHERE categoryID=\"".$specifiedCategory["id"]."\" AND interest>=0 ORDER BY date DESC",$db); if ($publication = mysql_fetch_array($result)) { echo('
'.$specifiedCategory["description"].'
'); do { writePublication($publication, $db); } while ($publication = mysql_fetch_array($result)); echo('
'); } } else if ($specifiedPerson) { $match = cleanName($specifiedPerson["lastName"]) . " " . $specifiedPerson["initials"]; $result = mysql_query("SELECT * FROM Publications WHERE LOCATE(\"$match\", authors) AND interest>=0 ORDER BY date DESC",$db); if ($publication = mysql_fetch_array($result)) { echo('
'); do { writePublication($publication, $db); } while ($publication = mysql_fetch_array($result)); echo('
'); } } else { $result = mysql_query("SELECT * FROM Categories",$db); if ($category = mysql_fetch_array($result)) { do { $result2 = mysql_query("SELECT * FROM Publications WHERE categoryID=\"".$category["id"]."\" AND interest>=0 ORDER BY date DESC LIMIT 10",$db); if ($publication = mysql_fetch_array($result2)) { echo('
'); do { writePublication($publication, $db); } while ($publication = mysql_fetch_array($result2)); echo('
'); } } while ($category = mysql_fetch_array($result)); } else { echo '
  • No categories posted
  • '; } } echo('
    '); writeFooter(Array("publications")); } else { echo('
    '); if ($publication["interest"] >= 0) { echo('

    '.$publication["title"].'

    '); echo('

    '.writePublicationAuthors($publication, $db).'

    '); if ($publication["pages"]) { printf("

    (%s) %s %s, %s.

    \n", $publication["year"], $publication["journal"], $publication["volume"], $publication["pages"]); } else { printf("

    (%s) %s %s\n", $publication["year"], $publication["journal"], $publication["volume"]); } echo('

    '.$publication["abstract"].'

    '); if ($publication["pdfLink"]) { echo('
    Download PDF
    '); } if ($publication["doi"]) { echo('
    doi:'.$publication["doi"].'
    '); echo('
    '); } else if ($publication["pubmed"]) { echo('
    '); } } else { echo('

    This paper is not yet available.

    '); } echo('
    '); writeFooter(Array("publications", $publication["id"])); } finishPage(); ?>