".$aktJahr." ";
$num = mysql_num_rows($result);
if ($num > 0)
{
// Schleife für die Ausgabe, damit alle Ergebnisse angezeigt werden - in einer HTML-Tabelle
while ($row = mysql_fetch_array($result))
{
$short_head = $row["short_head"];
$short_head = htmlentities(charsetConvert("$short_head"));
$cite = $row["cite"];
$pdf_file_name = "";
$file2 = false;
if ($cite != "") {
$pdf_file_name = "papers/".$cite.".pdf";
$file2 = file_exists($pdf_file_name);
}
$aut_name = $row["aut_name"];
$aut_name = htmlentities(charsetCOnvert("$aut_name"));
$ed_name = $row["ed_name"];
$ed_name = htmlentities(charsetConvert("$ed_name"));
$year =$row["year"];
// Hier wird die Jahresüberschrift erstellt
if ($year != $jahrflag)
{
$jahrflag = $year;
echo "".$jahrflag." ";
}
// Icon anzeigen, falls Datei existiert
if ($file2 == true)
echo "".
"".
" | \n";
else
echo " | \n";
echo "\n";
// Zeile 1: Autoren, Editoren
// Falls keine Autoren angegeben sind dann werden die Editoren angezeigt
if ($aut_name != "")
echo $aut_name;
else
echo "$ed_name (Eds.)";
echo " \n";
// Zeile 2: Titel
// Wenn Datei existiert erzeuge Link zur Datei
$link = $row["link"];
if ($link != "" && substr($link,0,7) == "http://") $link = substr($link,7);
if ($file2 == true)
echo "".
$short_head."";
elseif ($link != "")
echo "".$short_head."";
else
echo "$short_head";
echo " \n";
// Zeile 3: Titelzusatz, bei Article und Conference, Rest
$article_type = $row["article_type"];
$complete_head = $row["complete_head"];
if ($article_type == "Article" || $article_type == "Conference")
{
if ($complete_head != "")
echo "In ".str_replace("\\","",htmlentities("$complete_head")).", ";
}
if ($article_type == "Tech_Report")
{
echo "Technical Report, ";
}
// Der Editor wird nur ausgegeben, wenn Autoren angegeben waren, da sonst
// die Editoren vorher schon angegeben wurden
if ($article_type == "Conference" || $article_type == "Article" ||
$article_type == "Inbook" || $article_type == "Book")
{
if ($aut_name != "" && $ed_name != "")
echo "$ed_name (Eds.), ";
}
$chapter = $row["chapter"];
$pages = $row["pages"];
if ($chapter != "")
echo "ch. $chapter, ";
if ($pages != "")
echo "pp. $pages, ";
$series = $row["series"];
if ($series !="")
echo htmlentities ("$series").", ";
$volume = $row["volume"];
if ($volume !="")
echo "volume ".htmlentities ("$volume").", ";
$number = $row["number"];
if ($number !="")
echo "number ".htmlentities ("$number").", ";
$publisher = $row["publisher"];
if ($publisher !="")
echo htmlentities ("$publisher").", ";
$year = $row["year"];
if ($year != "")
echo $year;
echo " \n";
// Zeile 4: Metainformationen
$e = $row["PublId"];
$publtype = $article_type;
if ($article_type == "Conference") $publtype = "Conference paper";
elseif ($article_type == "Article") $publtype = "Journal article";
elseif ($article_type == "Book") $publtype = "Book";
elseif ($article_type == "Inbook") $publtype = "Book chapter";
elseif ($article_type == "Tech_Report") $publtype = "Technical Report";
elseif ($article_type == "PHDthesis") $publtype = "Ph.D. Dissertation";
echo "$publtype Details | ";
echo "Bibtex Entry";
if ($link != "") echo " | Link";
echo " | ";
echo " ";
}
mysql_free_result($result);
}
else
{
echo "Keine Publikationen / No Publications";
}
?>
|