$page = str_replace("/","",str_replace(".php","",$_SERVER['PHP_SELF'])); $p = str_replace("/","", str_replace(".php","",$_SERVER['PHP_SELF'])); $slide = glob("slideshow/$p/*.jpg"); $images = array(); if($slide[0]){ $info = getimagesize($slide[0]); } foreach($slide as $i){ $images[$i] = $i; } ksort($images); $slide = array(); foreach($images as $i){ $slide[] = "'".$i."'"; } $slides = implode(",",$slide); ?> if($slide[0] != ""){ ?> } ?>
![]() |
Amagansett |
![]() |
Hampton Bays |
![]() |
Noyac |
![]() |
Southampton |
---|---|---|---|---|---|---|---|
![]() |
Bridgehampton |
![]() |
Montauk |
![]() |
Sag Harbor | ![]() |
Wainscott |
![]() |
East Hampton |
![]() |
North Haven |
![]() |
Sagaponack | ![]() |
Water Mill |