#!/usr/bin/perl
@browser=split(/\//,$ENV{'HTTP_USER_AGENT'});
$string="" if ($browser[0] ne Mozilla);

print "Content-type: text/html\n\n";
print<<"print_tag";
<html> 
<head>
<title>Teilnehmer an der Tagung in Jena</title>
</head>
<h2>Teilnehmer an der Tagung in Jena</h2> 
<body BACKGROUND=/TET/bitmap/combo/saxback3.gif>
<table border=1>
<th align=left colspan=2> Name
<th align=left> Uni
<th align=left> &Uuml;bernachtungen
<th align=left> Anmelde-Datum<tr>
print_tag

#<th align=left> E-Mail

open (LISTE,'<anmeldung/teilnehmer_jena');
while (<LISTE>) {
    chop;
    ($vorname,$name,$uni,$email,$tage,@date)=split(/:/);
    print  "<td>",$vorname;
    print  "<td>",$name;
    print  "<td>",$uni;
#   print  "<td>",$email;
    print  "<td>",$tage;
    print  "<td>",@date,"<tr>";
}
print<<"print_tag"
</table>
<p>


</html>
print_tag
