goIfInvalid("../index.php"); $Me -> goIfNotAssistant('../index.php'); $Conf -> connect(); ?> header("The Chairs View of Paper #$paperId") ?> errorMsg("No paper was selected for viewing?" ); } else { $query = "SELECT Paper.title, Paper.abstract, Paper.authorInformation, " . " Paper.withdrawn, " . " LENGTH(PaperStorage.paper), PaperStorage.mimetype, " . " ContactInfo.firstName, ContactInfo.lastName, " . " ContactInfo.email, ContactInfo.affiliation " . " FROM Paper, ContactInfo " . " LEFT JOIN PaperStorage ON PaperStorage.paperId=$paperId " . " WHERE Paper.paperId=$paperId AND ContactInfo.contactId=Paper.ContactId" ; $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(DB_FETCHMODE_ASSOC); $title = $Conf->safeHtml($row['title']); $abstract = $Conf->safeHtml($row['abstract']); $authorInfo = $Conf->safeHtml($row['authorInformation']); $contactInfo = $row['firstName'] . " " . $row['lastName'] . " ( " . $row['email'] . " ) "; $length=$row['LENGTH(PaperStorage.paper)']; $mimetype = $Conf->safeHtml($row['mimetype']); print "\n"; print ""; if ( $Me -> isChair ) { print ""; print ""; } print ""; print ""; print ""; print ""; print "
"; print $Conf->textButton("Delete Paper", "../Chair/DeletePaper2.php?paperId=$paperId"); print ""; print $Conf->textButton("Modify Paper", "../Chair/ModifyPaper.php?paperId=$paperId"); print ""; print $Conf->textButton("Return To List of Papers", "../Assistant/AssistantListPapers.php"); print ""; $Conf->toggleButtonUpdate('SeeAuthorInfo'); $Conf->toggleButton('SeeAuthorInfo', "Hide Author Information", "See Author Information", $Conf->mkHiddenVar('paperId', $paperId) ); print ""; print $Conf->textButtonPopup("See Reviews", "../PC/PCAllAnonReviewsForPaper.php?paperId=$paperId"); print "
"; if ($row['withdrawn']) { $Conf->infoMsg("This paper has been WITHDRAWN"); } ?>

Paper # (Download ~ bytes, format)

Title:
Contact:
Author Information:
Abstract:
Indicated Topics qe($query); if ( DB::isError($result) ) { print "
    "; while ($row=$result->fetchRow()) { print "
  • " . $row[0] . "
  • \n"; } print "
"; } ?>
footer() ?>