\n";
echo "
\n";
echo "Ratescans including patch rates for all ratescans of the night ".date("Y/m/d", strtotime($date)).":
\n";
if (is_dir($path))
{
echo "\n";
if (!$handle=opendir($path))
{
printf("sorry, path %s cannot be opened", $path);
return;
}
while (false !== ($dir = readdir($handle)))
{
if(ereg(".png$", $dir))
printf("\n | \n
\n", $path, $dir);
}
echo "
\n";
}
else
echo "No files available for ".$date.".\n";
echo "
\n";
echo "Blue: Rate vs threshold
\n";
echo "Black: Patch rates vs threshold
\n";
echo "Gray: Ratescan with good conditions (1.1.2014, id=1388617563)
\n";
echo "