#!/usr/bin/perl
#
# $Id$
#
# use strict;

sub N { @_ }

print <<"EOF";
<html>
<head>
  <meta http-equiv="content-type"content="text/html; charset=ISO-8859-1">
  <title>PLF INSTALLER</title>
</head>
<body>
<h1 style="text-align: center;">PLF Installer</h1>
<table align="center" border="1">
EOF

my $dir=opendir (DIR , ".") or die "Can't open dir";
foreach (sort readdir(DIR)) {
 (! m/png$/ ) && next;
 print "<tr><td align=\"center\">\n<h3>$_</b></h3>";
 print "<img src=\"$_\"><br>\n";
 $pl= $_; 
 $pl =~ s/png$/pl/;
 if ( -f $pl ) {
		 do $pl;
		 
		 foreach my $i (@data) {
			local $_;
		 	print @{$i}[0]."<br>\n";
		 }
 }
 print "</td></tr>\n";
}

print <<"EOF";
</table>
</body>
</html>
EOF

