"\n"; $output .= "\n"; $kb = $filesize[$key]/1024; $kbs = split('\.', $kb); $output .= "\n"; $output .= "\n"; $output .= "\n"; } else if ($ext[$key] != "DIR") { $output .= "\n"; $output .= "\n"; $kb = $filesize[$key]/1024; $kbs = split('\.', $kb); $kbs[0] = $kbs[0]." kb"; $output .= "\n"; $output .= "\n"; $output .= "\n"; } } $output .= "\n"; $output .= "
name"; dimensions size date
../
$value/ .date( "m/d/Y", $filedate[$key]).
$value$imageinfox[$key]x$imageinfoy[$key]$kbs[0] kb".date( "m/d/Y", $filedate[$key])."
$value$kbs[0]".date( "m/d/Y", $filedate[$key])."
\n"; } else if (isset($id)) { $output = "\n"; $output .= "
"; $output .= "\n"; $output .= "
\n"; $idback = $id-1; $back=$imgid[$idback]; if ($id>1) {$output .= "prev |\n";} $output .= " index \n"; $idfor = $id+1; $forward = $imgid[$idfor]; if ($id<$imgcnt-1) {$output .= "| next \n";} $output .= "
\n"; $output .= "
"; $output .= "\n"; $output .= "
$files[$img] is $imageinfox[$img]x$imageinfoy[$img]"; $output .= " in $filesize[$img] bytes, created on ".date( "m/d/Y", $filedate[$img])."

"; $output .= "\n"; } echo $output . ""; closedir($filearray); ?>