'2005')) * $title is a string, the title of the section */ function search2html($query, $title) { $entries = $this->db->multisearch($query); if (count($entries)>0) { echo "\n".'
'.$title.'
'."\n"; } $display = new NoHeaderDisplay(); $display->setEntries($entries); $display->display(); } function display() { $this->db = createBibDataBase(); $this->db->bibdb = $this->entries; $this->yearIndex = $this->db->yearIndex(); foreach($this->yearIndex as $year) { echo "\n".'
'.$year.'
'."\n"; foreach (_DefaultBibliographySections() as $section) { $this->search2html(array_merge(array(Q_YEAR=>$year), $section['query']),$section['title']); } } } } ?>