\n";
$table .= "\n";
/* site info: id, metal, number of ligands */
$table .= "\n [" . $i .
"]";
$table .= "MDB Site ID: " . $rec["site_id"] . " | \n";
$table .= "Metal: " .
$rec["metal"] . " | \n";
$table .= "Number of ligands: ";
$table .= $rec["num_ligands"] . " | \n
\n";
/* download wrl, pdb or view using java viewer */
$table .= "\n";
$table .= "Download: VRML 2.0 file | \n";
$table .= "Mini-PDB file | \n";
$table .= "";
$table .= "
Interactive 3-D view";
$table .= " | \n";
/* source info: PDB */
$table .= "
\n";
$table .= "Source: PDB | \n";
$table .= "ID: " . strtoupper($rec["source_id"]) . " | ";
/* links to the pages about this protein */
$table .= "";
$table .= "\t";
$table .= " | \n
\n";
/* short description from the PDB headers */
$table .= "\n\n";
$table .= "Description: " .
substr($rec["description"],0,200) . "\n";
$table .= " | \n
\n
\n