goIfInvalid("../index.php"); $Me -> goIfNotAuthor("../index.php"); $Conf -> connect(); ?> header("The Authors View of Paper #$paperId") ?> errorMsg("No paper was selected for finalization?" ); } else { $query = "SELECT Paper.title, Paper.abstract, Paper.authorInformation, " . " PaperStorage.mimetype, Paper.withdrawn " . " FROM Paper,PaperStorage WHERE " . " (Paper.contactId='$Me->contactId' " . " AND Paper.paperId=$paperId " . " AND PaperStorage.paperId=$paperId" . " )"; $result = $Conf->qe($query); if ( DB::isError($result) ) { $Conf->errorMsg("That's odd - paper #$paperId isn't suitable for finalizing. " . $result->getMessage()); } else { $row = $result->fetchRow(); $i = 0; $title = $Conf->safeHtml($row[$i++]); $abstract = $Conf->safeHtml($row[$i++]); $authorInfo = $Conf->safeHtml($row[$i++]); $mimetype = $row[$i++]; $withdrawn = $row[$i++]; if ($withdrawn) { $Conf->infoMsg("This paper has been WITHDRAWN"); } $Conf->textButton("Click here to go to the paper list", "../Author/PaperActions.php"); ?>
Paper # (Download paper of type )
Title:
Author Information:
Abstract:
Indicated Topics qe($query); if ( ! DB::isError($result) ) { print "
    "; while ($row=$result->fetchRow()) { print "
  • " . $row[0] . "
  • \n"; } print "
"; } ?>
footer() ?>