$title"; echo ""; echo ""; echo "

$title

"; echo "
$tagline
"; $f = $_GET['f']; if (empty($f)) { $dir=$basedir; } else { $dir=$basedir.$f."/"; } $files = glob($dir.'*.jpg', GLOB_BRACE); $fileCount = count(glob($dir.'*.jpg')); for ($i=($fileCount-1); $i>=0; $i--) { $exif = exif_read_data($files[$i], 0, true); $filepath = pathinfo($files[$i]); echo "

".$filepath['filename']."

"; echo "

"; include $dir.$filepath['filename'].'.php'; echo "

"; echo ''; $Fnumber = explode("/", $exif['EXIF']['FNumber']); $Fnumber = $Fnumber[0] / $Fnumber[1]; echo "

Aperture: f/".$Fnumber." Shutter speed: " .$exif['EXIF']['ExposureTime']. " ISO: ".$exif['EXIF']['ISOSpeedRatings']. " Date: ".$exif['EXIF']['DateTimeOriginal']."

"; } echo ""; ?>