| ID | ' . $_GET['pid'] . ' |
| Submitted | '.$l['submissiondate'].' |
| Last Update | '.$l['lastupdate'].' |
| Title | ' . safeHTMLstr($l['title']) . ' |
| Student | '; if ($l['student'] == "F") { print "No"; } else { print "Yes"; } print " |
| Author(s) | ';
$q = "SELECT * FROM " . OCC_TABLE_AUTHOR . " WHERE paperid='".$_GET['pid']."'";
$r = ocsql_query($q) or err("Unable to get authors ".mysql_errno());
while ($a = mysql_fetch_array($r)) {
print 'Author #'.$a['position'].' Name: ' . safeHTMLstr($a['name_first']) . ' ' . safeHTMLstr($a['name_last']) . ' Org: ' . safeHTMLstr($a['organization']) . ' Country: ' . safeHTMLstr($a['country']) . ' Email: '; if (!empty($a['email'])) { print '' . $a['email'] . ''; } print ' '; } print ' |
| Other Author(s) | ' . safeHTMLstr($l['otherauthors']) . ' |
| Contact Author | Author #'.$l['contactid'].' Alt Email: '; if (!empty($l['contactemail'])) { print '' . $l['contactemail'] . ''; } print ' Telephone: ' . safeHTMLstr($l['contactphone']) . ' |
| Keywords | ' . safeHTMLstr($l['keywords']) . ' |
| Abstract | '.preg_replace("/\n/"," \n",safeHTMLstr($l['abstract'])).' |
| Topics | ';
$q = "SELECT topicname, short FROM " . OCC_TABLE_PAPERTOPIC . ", " . OCC_TABLE_TOPIC . " WHERE paperid='".$_GET['pid']."' AND " . OCC_TABLE_PAPERTOPIC . ".topicid=" . OCC_TABLE_TOPIC . ".topicid";
$r = ocsql_query($q) or err("Unable to get topics ".mysql_errno());
while ($t = mysql_fetch_array($r)) {
print "• " . useTopic($t['short'],$t['topicname']) . " \n"; } print ' |
| Comments | ' . safeHTMLstr($l['comments']) . ' |
| Submission | '; if ($l['format'] && is_file($pfile = $OC_configAR['OC_paperDir'] . $_GET['pid'] . "." . $l['format'])) { print "" . $_GET['pid'] . ".".$l['format']." (" . round((filesize($pfile)/1024)) . "KB)"; } else { print "not uploaded"; } print ' |
| Advocate | ' . safeHTMLstr($l['name']) . ', ' . $l['organization'] . ' |
| Reviewers | ';
while ($l = mysql_fetch_array($r)) {
print '• ' . safeHTMLstr($l['name']) . ', ' . $l['organization'] . ' '; } print ' |
'; printFooter(); ?>