\n"; }
print " ";
if ($vendorid =~ /^Adobe$/i)
{
print " | \n";
print " Adobe | \n";
} elsif ($vendorid =~ /^Microsoft$/i)
{
print "
\n";
print " Microsoft | \n";
} elsif ($vendorid =~ /^Symantec$/i)
{
print "
\n";
print " Symantec | \n";
} elsif ($vendorid =~ /^Linux$/i)
{
print "
\n";
print " Linux | \n";
} elsif ($vendorid =~ /^TrendMicro$/i)
{
print "
\n";
print " Trend Micro | \n";
} elsif ($vendorid =~ /^Apple$/i)
{
print "
\n";
print " Apple | \n";
} elsif ($vendorid =~ /^Avast$/i)
{
print "
\n";
print " Avast | \n";
} elsif ($vendorid =~ /^Avira$/i)
{
print "
\n";
print " Avira | \n";
} elsif ($vendorid =~ /^AVG$/i)
{
print "
\n";
print " AVG | \n";
} elsif ($vendorid =~ /^Ipfire$/i)
{
print "
\n";
print " IPFire | \n";
} else
{
if (-e "/srv/web/ipfire/html/images/updbooster/updxl-src-" . $vendorid . ".gif")
{
print "
\n";
} else {
print "
\n";
}
print " " . ucfirst $vendorid . " | \n";
}
print "";
printf "%5d", $vendorstats{$vendorid."_files"};
print " | \n";
unless ($vendorstats{$vendorid."_filesize"}) { $vendorstats{$vendorid."_filesize"} = '0'; }
1 while $vendorstats{$vendorid."_filesize"} =~ s/^(-?\d+)(\d{3})/$1.$2/;
print "";
printf "%15s", $vendorstats{$vendorid."_filesize"};
print " | \n";
unless ($vendorstats{$vendorid."_cachehits"}) { $vendorstats{$vendorid."_cachehits"} = '0'; }
1 while $vendorstats{$vendorid."_cachehits"} =~ s/^(-?\d+)(\d{3})/$1.$2/;
print "";
printf "%15s", $vendorstats{$vendorid."_cachehits"};
print " | \n";
print "";
printf "%5d", $vendorstats{$vendorid."_1"};
print " | \n";
print "";
printf "%5d", $vendorstats{$vendorid."_3"};
print " | \n";
print "";
printf "%5d", $vendorstats{$vendorid."_2"};
print " | \n";
print "";
printf "%5d", $vendorstats{$vendorid."_0"};
print " | \n";
print " | \n";
print "
\n";
}
print "