Rev 169 | Rev 235 | 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 | { |
||
| 14 | write('<p><a href="album.php?dir=' . $file . '">' . $file . '</a></p>'); |
||
| 15 | } |
||
| 16 | |||
| 169 | tom | 17 | $page->drawFooter(); |
| 18 | |||
| 19 | ?> |
||
| 20 |