<?
include('../Code/confConfigReview.inc');
?>
<html>

<? $Conf->header("Submit or Update A Review For Paper #$paperId") ?>

<body>
<?
if ( ! $Me->iCanReview($paperId, $Conf) ) {
  $Conf->errorMsg("You aren't supposed to be able to review paper #$paperId. "
		  . "If you think this is in error, contact the program chair. ");
} else {
  $Review = ReviewFactory($Conf, $Me->contactId, $paperId);
  $Review -> printAnonReviewHeader($Conf);
  print "<hr>\n";
  print "<div align=\"center\">\n";
  print "<center>\n";
  $Review -> printViewable();
  print "</center>";
  print "</div>";
}
?>
</body>
<? $Conf->footer() ?>
</html>
