".htmlspecialchars($row[$field])."";
}
$family_num=0;
while (($family_row=mysql_fetch_array($families))) {
if ($family_num)
print "
\n";
$family_id=$family_row["family_id"];
$result=db_query("select id,name,Publication,Notes,html from $tb_tree"
." where family_id=\"$family_id\""
." order by family_id,family_order");
$order=0;
while (($row=mysql_fetch_array($result))) {
if ($order==0)
print "";
elseif ($order==1)
print "
";
if ($order>=1)
print "- ";
print(fieldquote("","name","name")
.fieldquote("\n","Publ. Author","author")
.fieldquote("
\n","Publication","publication")
.fieldquote("
\n","Notes","notes")
);
if (isset($row["html"])) {
$import="import: [".$row["id"]."]";
$html=eregi_replace("< */? *a( [^>]*)?>","",$row["html"]);
print("
\n\n".$html."\n
");
}
print("\n");
if ($order==0)
print "";
else
print " ";
print "\n";
$order++;
}
if ($order>=2)
print "
\n";
$family_num++;
}
mysql_free_result($result);
footer(false /* delimit */);
?>