;
close IN;
chomp @sts;
# %pws : key=ID, value=name
foreach $key (@sts) {
($idnum,$user,$first,$last,$session) = split(/:/,$key);
} # end foreach
}
# get input
$newuser = param("newuser");
open (OUT, ">>$stf") || die "can't append to $stf";
print OUT "$newuser\n";
close (OUT);
#Print HTML for Student Log Main Menu
$title = "Study Log Main Menu";
$content ='' . "\n" .
'
' . "\n" .
'' . "\n" .
'' . "\n".
'' . "\n" .'
'.
'Help
';
&pgprint();
sub pgprint {
print header();
print start_html(-title=>$title,
-head =>$css);
print '';
print h1("$title");
print '
';
print '
';
print h2("$subtitle");
print "$content\n";
print '
' . "\n";
print ''. "\n" .
''. "\n" .
'' . "\n";
print end_html();
}