' . safeHTMLstr($sl['title']) . '
' . sprintf(oc_('Submission ID %s'), safeHTMLstr($_GET['pid']));
if (!empty($sl['type'])) {
$subtype = $sl['type'];
print '
(' . safeHTMLstr($subtype) . ')';
} else {
$subtype = '';
}
print '';
if ($OC_configAR['OC_reviewerSeeOtherReviewers'] && $assigned && ($emailList = getPaperReviewersEmail($_GET['pid']))) {
print '' . oc_('Email Reviewers') . '
';
}
// Display reviews
$q = "SELECT `" . OCC_TABLE_PAPERREVIEWER . "`.*, CONCAT_WS(' ',`" . OCC_TABLE_REVIEWER . "`.`name_first`,`" . OCC_TABLE_REVIEWER . "`.`name_last`) as `name` FROM `" . OCC_TABLE_PAPERREVIEWER . "`, `" . OCC_TABLE_REVIEWER . "` WHERE `" . OCC_TABLE_PAPERREVIEWER . "`.`paperid`='" . safeSQLstr($_GET['pid']) . "' AND `" . OCC_TABLE_PAPERREVIEWER . "`.`reviewerid`=`" . OCC_TABLE_REVIEWER . "`.`reviewerid`";
$r = ocsql_query($q) or err("Unable to get information");
if (ocsql_num_rows($r) == 0) {
warn(oc_('No reviews found'));
}
displayReviews($_GET['pid'], $r, $subtype);
printFooter();
?>