$ pwd

/log/img

$ ls -t

$im) { // Loops through each image and echoes it to the page $no = substr($if, 0, strpos($if, ".")); // Filename with extension stripped $mt = date("Y-m-d", $im->date); // File modification date in ISO format $ist = $im->x . "×" . $im->y; // Image size formatted as X×Ypx $dc = false; if($pmt != $mt) { $dc = true; }// date change /*if($pmt != $mt) { $pmt = $mt; $op = "

$mt

".$op; if($pmt != "") { $op = "
".$op; } }*/ if($dc and $pmt) { $op = "

$pmt

".$op; } if($dc) { $op = "
".$op; } $op = "$im->alt$if >> $ist".$op; if($dc) { $pmt = $mt; } } echo "

$pmt

".$op; ?>

$