|
|
|
|
// print $datetaken . " (" . $course . ")"; ?>
print $datetaken; ?>
|
|
|
|
|
BaanThai Cookery School: Web photo gallery
// print "folder = " . $thumb . "
";
$curdir = getcwd();
chdir ($thumb);
$d = opendir (".");
//list the files in the dir
while ($file = readdir ($d)) {
if ($file != ".." && $file != "." && $file != "background.jpg" && $file != "home.gif" && $file != "previous.gif" && $file != "next.gif" && $file != "Thumbs.db")
$pfiles[] = $file;
}
$i=0;
$cols=6;
print "";
foreach($pfiles as $pf) {
// print $pf;
if(($i%$cols)==0)
print "";
print " | ";
if(($i%$cols)==($cols-1))
print " ";
//
$i++;
}
if(($i%$cols)!=($cols-1))
print "";
print " ";
// print "total $i files";
chdir($curdir);
?>
|
|