*/?> "); $col[1]="#FFFFFF"; $col[2]="#EBEBEB"; $col[3]="#FFFFFF"; $col[4]="#E6E6E6"; $col[5]="#D6D6D6"; $col[6]="#E6E6E6"; $col_max=6; $col_index=1; $dir=opendir("."); $align=0; unset($f); while($entry=readdir($dir)) if(substr($entry,-4)==".jpg" && substr($entry,-8)!=".tmb.jpg") { $f[]=$entry; } sort($f,SORT_NUMERIC); foreach($f as $entry) { printf("


- full size -


\n"); $col_index++; $align++; if($col_index>$col_max) $col_index=1; if($align>=3) { $align=0; printf(""); } } closedir($dir); $pos=strrpos(posix_getcwd(),"/"); $path=substr(posix_getcwd(),$pos+1); printf(""); } table_images(); ?>