Breviora can be downloaded via this MCZ web page and BioOne while issues older than 2004 can be found in the Biodiversity Heritage Library.

"; $order = " order by number desc "; // display breviora in descending order by number only. break; case "bullmcz": $publication = "Bulletin of the Museum of Comparative Zoology"; $order = " order by year desc, volume desc, number desc "; // display mcz bulletin by year, volume, number $bhl ="

The MCZ Bulletin can be downloaded via this MCZ web page and BioOne while issues older than 2004 can be found in the Biodiversity Heritage Library.

"; break; case "memoirs": $publication = "Memoirs of the Museum of Comparative Zoology"; $bhl ="

Memoirs of the MCZ can be found in the Biodiversity Heritage Library.

"; break; default; } $mode = "query"; } if (@$_GET['list']!="") { if (@$_GET['list']=="taxa") { $mode = "list_taxa"; } if (@$_GET['list']=="topics") { $mode = "list_topics"; } if (@$_GET['list']=="departments") { $mode = "list_departments"; } } function head($head) { $area = "Publications"; include("main_header.html"); echo "

MCZ Publications$head

"; } function foot() { include("footer.html"); } function do_query($sql,$headbit) { global $showhollis; @$connection=mcz_connect("publications_read"); if ($connection) { $result = mysql_query($sql); echo mysql_error(); $numrows = mysql_num_rows($result); if ($numrows > 0) { echo ""; } echo "

"; } else { echo "Unable to connect to database."; } } $select = "select authors, year, title, journal, volume, number, page, hollis_no, pdf, bhl, supplement "; switch ($mode) { case "list_taxa": // taxonomic groups head(" by Taxon"); @$connection=mcz_connect("publications_read"); if ($connection) { $sql="select count(id), higher_taxon from mczpubs where higher_taxon !='' group by higher_taxon order by higher_taxon"; $result = mysql_query($sql); $numrows = mysql_num_rows($result); echo ""; } foot(); break; case "list_topics": // taxonomic groups head(" by Topic"); @$connection=mcz_connect("publications_read"); if ($connection) { echo ""; } foot(); break; case "list_departments": // taxonomic groups head(" by Department"); @$connection=mcz_connect("publications_read"); if ($connection) { echo ""; } foot(); break; case "query": $and = ""; $headbit = ""; $wherebit = ""; $topic = ""; if ($publication!="") { $headbit .= " $publication"; $wherebit .= " $and journal = '$publication' "; $and = " and "; } if ($higher_taxon!="") { $headbit .= " $higher_taxon"; $topic = $higher_taxon; $wherebit .= " $and higher_taxon = '$higher_taxon' "; $and = " and "; } if ($paleo!="") { $headbit .= " $paleo"; $topic .= $and.$paleo; $wherebit .= " $and paleo = '$paleo' "; $and = " and "; } if ($department!="") { $headbit .= " $department"; $topic .= $and.$department; $wherebit .= " $and department = '$department' "; $and = " and "; } if ($other_subject!="") { $headbit .= " $other_subject"; $topic .= $and.$other_subject; $wherebit .= " $and other_subject = '$other_subject' "; $and = " and "; } if ($term!="") { $headbit .= " $term"; $topic .= $and.$term; $wherebit .= " $and ( citation like '%$term%' or authors like '%$term%' or title like '%$term%' or higher_taxon like '%$term%' or genus like '%$term%' or subject like '%$term%' ) "; $and = " and "; } if ($headbit!="") { if ($publication!="") { $headbit = " in $publication"; if ($topic!="") { $headbit = "$headbit on $topic"; } } else { $headbit = " on $topic"; } } if ($wherebit != "") { $wherebit = " where $wherebit "; } head($headbit); echo "$bhl"; $sql="$select from mczpubs $wherebit $order"; do_query($sql,$headbit); foot(); break; case "form": default: head(" Search"); echo "

Enter the appropriate information from the publication citation (author, year, title) that you wish to find and then click on \"Search Now\".

"; foot(); } ?>