0) { $sqlstr.=" WHERE subsection=$paper_type ORDER BY author;"; } else { $sqlstr.=' ORDER BY subsection;'; } $result=mysql_query($sqlstr); if ((!($result))||(mysql_num_rows($result)<1)) { print ''; } $mycount=0; while (($result)&&($a_row=mysql_fetch_array($result))) { if ($mycount%2==0) { print ''; } $mycount+=1; } mysql_close($link); if ($mycount%2==1) { print ' '; } ?>
No Papers Have Been Added For This Section

'; } print "Author: " . $a_row['author'] . "
\n"; print "Title: "; //onMouseOver=\"window.status='Click to view'; return true;\" onMouseOut=\"window.status=''; return true;\">"; print stripslashes($a_row['title']) . "
\n"; if ($a_row['subsection']=='1') { print "Type: Math/Encryption
\n"; } else if ($a_row['subsection']=='2') { print "Type: Malware
\n"; } else if ($a_row['subsection']=='3') { print "Type: System
\n"; } else if ($a_row['subsection']=='4') { print "Type: Protections
\n"; } else if ($a_row['subsection']=='5') { print "Type: Misc.
\n"; } else { print "Type: Public Entries
\n"; } print "Submitted: " . $a_row['date'] . "
\n"; if (file_exists($papers_dir.'e'.$a_row['essayid'].'.zip')) { print "Attachments: Click To Download
\n"; } print '
'; if ($mycount%2==0) { print '
'; } else { print '