S-ID
" . $OC_sortImg;
$psort='Submission';
$rsort='Reviewer';
$ridsort='R-ID';
$_GET['s'] = 'pid';
} elseif ($_GET['s'] == "paper") {
$q = $pq . " ORDER BY `" . OCC_TABLE_PAPER . "`.`title`, `" . OCC_TABLE_REVIEWER . "`.`reviewerid`";
$sortid = "paper";
$pidsort='S-ID';
$psort="Submission
" . $OC_sortImg;
$rsort='Reviewer';
$ridsort='R-ID';
} elseif ($_GET['s'] == "rid") {
$q = $pq . " ORDER BY `" . OCC_TABLE_REVIEWER . "`.`reviewerid`, `" . OCC_TABLE_PAPER . "`.`paperid`";
$sortid = "reviewer";
$pidsort='S-ID';
$psort='Submission';
$rsort='Reviewer';
$ridsort="R-ID
" . $OC_sortImg;
} elseif ($_GET['s'] == "reviewer") {
$q = $pq . " ORDER BY `" . OCC_TABLE_REVIEWER . "`.`name_last`, `" . OCC_TABLE_REVIEWER . "`.`name_first`, `" . OCC_TABLE_PAPER . "`.`paperid`";
$sortid = "reviewer";
$pidsort='S-ID';
$psort='Submission';
$rsort="Reviewer
" . $OC_sortImg;
$ridsort= 'R-ID';
} else {
err("Unknown sort source");
}
// Display Filter
$aAR = array_keys($OC_acceptanceColorAR);
$aAR[] = 'Pending';
print '
';
$r = ocsql_query($q) or err("Unable to get information");
if (ocsql_num_rows($r) == 0) {
print 'No reviews found.';
} else {
$s = substr($sortid,0,1);
print '
- Links:
';
if ($s == "p") {
print '- R-ID – Show review
';
} else {
print '- S-ID – Show review
';
}
print '
- Reviewer – Show Reviewer info
- Submission – Show Submission info
- Legend:
Review Status: | | Marked as Complete |
| Started |
| Not Yet Saved |
';
if (isset($OC_reviewQuestionsAR['recommendation'])) {
print '
Recommendation: | ';
foreach ($OC_reviewQuestionsAR['recommendation']['values'] as $k => $v) {
print '(' . $k . ') ' . safeHTMLstr(preg_match('/:/', $v) ? substr($v,0,strpos($v,':')) : substr($v,0,30)) . ' ';
}
print '
|
';
}
print '
';
}
printFooter();
?>