include "recursive_directory_scan.php";
$game2 = array();
$game2 = scan_directory_recursively('MIDIs/Game');
foreach($game2 as $info => $list)
{
$sorted2[$list['modified']] = $info;
}
krsort($sorted2);
reset($sorted2);
for ($i=0; $i<3; $i++)
{
$length = strlen($game2[current($sorted2)]['name']);
$games2[$i] = array($game2[current($sorted2)]['path'], substr($game2[current($sorted2)]['name'], '0', ($length-4)) );
next($sorted2);
}
?>
Three Latest Midis
$row = false;
for ($i=0; $i<3; $i++)
{
echo '
';
}
?>