Example #1
0
      <?php 
if ($authors = retrieve_authors($id, &$err_message)) {
    echo $authors;
} else {
    echo " <font color=\"#FF0000\"> Could not read author table. Try <a href='view_abstract.php?id={$id}'>again</a>?</font>";
}
?>
    </td>
  </tr>
  <tr> 
    <td>&nbsp;</td>
  </tr>
  <tr> 
    <td><strong>Track:</strong> 
      <?php 
if ($catcomsep = getSelectedTrackText($id, &$err_message)) {
    echo $catcomsep;
} else {
    echo " <font color=\"#FF0000\"> Could not read Paper table. Try <a href='view_abstract.php?id={$id}'>again</a>?</font>";
}
?>
    </td>
  </tr>
<?php 
if (numCategories(&$err_message) > 0) {
    echo '<tr>';
    echo '<td><strong>Topic(s):</strong>';
    if ($catcomsep = getSelectedCategoryCommaSeparated($id, &$err_message)) {
        echo $catcomsep;
    } else {
        echo " <font color=\"#FF0000\"> Could not read Paper Category table. Try <a href='view_abstract.php?id={$id}'>again</a>?</font>";
?>
</div></td>
      <td><table width="100%" border="0" cellspacing="0" cellpadding="2">
          <tr> 
            <td colspan="2"> <strong><?php 
echo stripslashes($paperInfo->Title);
?>
</strong></td>
          </tr>
          <tr> 
            <td colspan="2">
			</td>
          </tr>
          <tr> 
            <td colspan="2">Track: <?php 
echo getSelectedTrackText($paperInfo->PaperID, &$err_message);
?>
</td>
          </tr>
          <tr> 
            <td colspan="2">Category: <?php 
echo getSelectedCategoryCommaSeparated($paperInfo->PaperID, &$err_message);
?>
</td>
          </tr>
          <tr> 
            <td colspan="2">Authors: <?php 
echo retrieve_authors($paperID);
?>
</td>
          </tr>