Rev 237 |
Go to most recent revision |
Blame |
Compare with Previous |
Last modification |
View Log
| RSS feed
<?php
require '../_taios.php';
$page = new Taios_Page
('Photo Albums', '../');
$page->drawHeader();
$page->drawMiddle();
$dirName = $_GET['dir'];
if (empty($dirName))
{
$page->redirect('index.php');
}
$dir = dir('albums/' . $dirName);
while (($file = $dir->read()) !== false)
{
if ($file[0] != '.')
{
write
('<p><img src=albums/' . $dirName. '/' . $file . '" /></p>');
}
}
$page->drawFooter();
?>