<td><p><strong>Detailed Comments:<br>
        </strong><?php 
    echo nl2br(stripslashes(get_comment($paperInfo->PaperID, $reviewInfo->MemberName, &$err_message)));
    ?>
</p></td>
  </tr>
  <?php 
    if (stripslashes(get_commentsadmin($paperInfo->PaperID, $reviewInfo->MemberName, &$err_message)) != "") {
        ?>
  <tr>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td><p><strong>Comments for admin:<br>
        </strong><?php 
        echo nl2br(stripslashes(get_commentsadmin($paperInfo->PaperID, $reviewInfo->MemberName, &$err_message)));
        ?>
</p></td>
  </tr>
  <?php 
    }
    ?>
  <tr>
    <td><hr></td>
  </tr>
  <?php 
}
/*end of for loop*/
?>
</table>
<br>
Beispiel #2
0
} else {
    echo nl2br(ereg_replace("  ", "&nbsp;&nbsp;", stripslashes($comment)));
}
?>
</p></td>
  </tr>
  <?php 
if (stripslashes(get_commentsadmin($paperInfo->PaperID, $reviewInfo->MemberName, &$err_message)) != "") {
    ?>
  <tr>
      <td>&nbsp;</td>
    </tr>
    <tr>
      <td><p><strong>Comments for Chair (not sent to authors):<br>
          </strong><?php 
    if (($comment = get_commentsadmin($paperInfo->PaperID, $reviewInfo->MemberName, &$err_message)) === false) {
        $err_message .= "Could not execute \"getSelectedCategoryCommaSeperated\" in \"show_review.php\". <br>\n";
        echo " <font color=\"#FF0000\"> Could not retrieve Comments. Try <a href='show_review.php?paperid=" . $_GET["paperid"] . "'>again</a>?</font>";
    } else {
        echo nl2br(ereg_replace("  ", "&nbsp;&nbsp;", stripslashes($comment)));
    }
    ?>
</p></td>
  </tr>
  <?php 
}
?>
  <tr>
    <td>&nbsp;</td>
  </tr>
</table>