5) print ' class="cols"'; print ">\n"; foreach (array_reverse($cal) as $title => $versions) { print '
  • '; if ($url = @$versions['html']) { printf('%s', $url, $title); } elseif (implode('', array_keys($versions))) { list ($format, $url) = each($versions); include_once('format.inc.php'); printf('%s (%sB %s)', $title, $url, showsize(filesize($url)), $format ); } else { print $title; } print "\n"; } print "\n\n";