' . oc_('Submission ID') . ': ' . safeHTMLstr($_POST['pid']) . '

' . //T: Submission Title oc_('Title') . ': ' . safeHTMLstr($l['title']) . '

' . //T: Submission Status oc_('Status') . ': ' . (empty($l['accepted']) ? oc_('Pending') : safeHTMLstr(oc_($l['accepted']))) . '

'; if (oc_hookSet('author-status')) { foreach ($GLOBALS['OC_hooksAR']['author-status'] as $v) { require_once $v; } } // display review comments to author if (!empty($l['accepted'])) { $q2 = "SELECT * FROM `" . OCC_TABLE_PAPERREVIEWER . "` WHERE `paperid`='" . safeSQLstr($_POST['pid']) . "' ORDER BY `reviewerid`"; $r2 = ocsql_query($q2) or err('Unable to retrieve review data'); if (ocsql_num_rows($r2) > 0) { // Fields to display $displayFieldAR = array(); foreach ($OC_reviewQuestionsAR as $fid => $far) { if (isset($far['showauthor']) && $far['showauthor']) { $displayFieldAR[] = $fid; } } if (count($displayFieldAR) > 0) { $rcount = 1; while ($l2 = ocsql_fetch_assoc($r2)) { $reviewInfo = ''; foreach ($displayFieldAR as $fid) { if (!empty($l2[$fid])) { $reviewInfo .= '

' . safeHTMLstr(oc_($OC_reviewQuestionsAR[$fid]['short'])) . ': ' . nl2br(safeHTMLstr(oc_getFieldValue($OC_reviewQuestionsAR, $l2, $fid))) . "

\n"; } } if (!empty($reviewInfo)) { print '

' . safeHTMLstr(sprintf(oc_('Reviewer %s'), $rcount++)) . ':

' . $reviewInfo . '
'; } } } } } printFooter(); } else { warn(oc_('Submission ID or password entered is incorrect'), $hdr, $hdrfn); } } else { warn(oc_('Submission ID or password entered is incorrect'), $hdr, $hdrfn); } } else { // not a submission -- display sub id/password form // set author token $_SESSION['atoken'] = oc_idGen(); session_write_close(); printHeader($hdr, $hdrfn); print '
: ( ' . oc_('forgot ID?') . ' )
: ( ' . oc_('forgot password?') . ' )

'; printFooter(); if (oc_hookSet('author-status-bottom')) { foreach ($GLOBALS['OC_hooksAR']['author-status-bottom'] as $hook) { require_once $hook; } } } exit; ?>