include('../Code/confHeader.inc'); $Me -> goIfInvalid("../index.php"); $Me -> goIfNotAuthor("../index.php"); $Conf -> connect(); ?> $Conf->header("The Authors View of Paper #$paperId") ?>
if (!IsSet($paperId) || $paperId == 0) { $Conf->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 # echo $paperId ?> (Download paper of type echo $mimetype?> ) | |
---|---|
Title: | echo $title ?> |
Author Information: | echo $authorInfo ?> |
Abstract: | echo $abstract ?> | Indicated Topics |
$query="SELECT topicName from TopicArea, PaperTopic "
. "WHERE PaperTopic.paperId=$paperId "
. "AND PaperTopic.topicId=TopicArea.topicAreaId ";
$result = $Conf->qe($query);
if ( ! DB::isError($result) ) {
print "
|