S-ID
" . $OC_sortImg;
$psort='Submission';
$rsort='Reviewer';
$ridsort='R-ID';
} 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");
}
$r = ocsql_query($q) or err("Unable to get information ".mysql_errno());
if (mysql_num_rows($r) == 0) {
print 'No review assignments have been made yet.
';
} 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 . ') ' . substr($v,0,strpos($v,':')) . ' ';
}
print '
|
';
}
print '
';
}
printFooter();
?>