if (@$entry['cite'] && @$entry['annote']) {
        $html .= "<a href='#abstract_" . $counter . "'>[Abstract]</a> ";
    }
    $html .= "<a href='#bibtex_" . $counter . "'>[BibTeX]</a> ";
    $html .= "</span>";
    if (@$entry['url']) {
        if (preg_match("/pdf/", $entry['url'])) {
            $html .= "<a href='" . $entry['url'] . "'>[pdf]</a>";
        } elseif (preg_match("/hal/", $entry['url'])) {
            $html .= "<a href='" . $entry['url'] . "'>[hal]</a>";
        } else {
            $html .= "<a href='" . $entry['url'] . "'>[www]</a>";
        }
    }
    if (@$entry['cite'] && @$entry['annote']) {
        $html .= "<div class='publi-abstract' id='abstract_" . $counter . "' >";
        $html .= "<div class='publi-abstract-title'>Abstract " . $entry['cite'] . "</div>";
        $html .= $entry['annote'];
        $html .= "</div>";
    }
    $html = str_replace("{\\\"a}", "a", $html);
    $html .= "<div class='publi-bibtex' id='bibtex_" . $counter . "'>";
    $html .= "<div class='publi-bibtex-title'>Bibtex</div>";
    $html .= nl2br($bibtex->bibTexEntry($entry));
    $html .= "</div>";
    $html .= "</div>";
    $html .= "</li>";
    echo $html;
    $counter++;
}
echo "</ul>";