<li>
<?php echo "<b><i><font size=4 color=#F07080>".$title."</font></i></b><br>" ?>
<?php echo "<b><font size=4 color=#708090>".$author."</font></b><br>" ?>
<table>
<tr>
<td>
<?php echo "<font size=4 color=blue>".$refs."</font>" ?>
</td>
</tr>

<?php 
     if ( (!empty($doi) && !empty($showdoi)) || (!empty($preprint) && !empty($showarxiv))) {
     echo "<tr>" ;
     echo "<td>" ;
     if (!empty($showdoi) && !empty($doi)) echo "doi: <a href=\"http://dx.doi.org/".$doi."\" target=\"_blank\"><u>".$doi."</u></a>" ;
     echo "</td>" ;
     echo "<td class='right'>" ;
     if (!empty($showarxiv) && !empty($preprint)) echo "preprint: <a href=\"http://arxiv.org/abs/".str_ireplace("","arxiv:",$preprint)."\" target=\"_blank\"><em>".$preprint."</em></a>" ;
     echo "</td>" ;
     echo "</tr>" ; 
   }
?>

<?php
    if (!empty($oldfile)) {
      echo "</tr><td>" ;
      echo "local pdf: <a href=\"LOTGLASSY/".$oldfile."\">";
      echo "<img src=\"LOTGLASSY/_images/application-pdf-2.png\" alt=\"printable file\" align=\"top\" width=\"24\" height=\"24\" />";
      echo "</a> &nbsp;" ;
      echo "</tr></td>" ;
    }
?>

<?php if (!empty($showlabel)) { 
      echo "</tr><td>" ;
if(!empty($cripherasy)) {
      echo "(".$codenum.")<br>" ; 
}
else {
      echo "<form enctype=\"multipart/form-data\" action=\"fill.php\" method=\"POST\" target=\"_blank\" >" ;
      echo "<input type=\"hidden\" name=\"codenum\" value=".$codenum." />" ; 
      echo "<input type=\"hidden\" name=\"retrieve\" value=\"retrieve\" />" ;
      echo "<input type=\"SUBMIT\" value=\"MODIFY RECORD ".$codenum."\" />";
      echo "</form>" ;
}
      echo "</tr></td>" ;

} ?>

</table>

</li>

