// display gallery selection echo '
'; foreach($pictures as $key => $value) { echo '
'; } echo '
'; // Layer echo '
X
'; include 'footer.php'; ?>