Subversion Repositories taios

Rev

Rev 234 | Rev 334 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
169 tom 1
<?php
2
 
3
require '../_taios.php';
4
 
234 tom 5
$page = new Taios_Page('Photo Albums', '../');
169 tom 6
$page->drawHeader();
7
$page->drawMiddle();
8
 
234 tom 9
write('<p>Here we have all sorts of photos from Tim32.</p><br />');
169 tom 10
 
234 tom 11
$dir = dir('albums/');
12
while (($file = $dir->read()) !== false)
13
{
235 tom 14
    if ($file[0] != '.')
15
    {
16
        write('<p><a href="album.php?dir=' . $file . '">' . $file . '</a></p>');
17
    }
234 tom 18
}
19
 
169 tom 20
$page->drawFooter();
21
 
22
?>
23