") return($a[$sort_by] > $b[$sort_by]) ? -1:1; else return ($a[$sort_by] < $b[$sort_by]) ? -1:1; } function make_date($time){return date("d.m.Y, H:i",$time);} global $style, $files; $handle=opendir($area); while (false!==($file = readdir($handle))) { if (is_permited_file($file)==0) { list ($file_name, $file_extension) = split_file_name($file); if (!is_file($file)) { $file.="/"; $file_extension = "DIR"; } $files[]=array($file,filemtime($file),filesize($file),$file_name,$file_extension); } } closedir($handle); if (!empty($files)) usort ($files, "compare"); if ($manage == 1) { ?>
CZMSSA
 

Upload file
'; else { ?> '; } ?>
No files ...
'.$sort_order.$sort_order; ?> ":"<" ?>">FILE NAME '.$sort_order.$sort_order; ?> ":"<" ?>">DATE,time '.$sort_order.$sort_order; ?> ":"<" ?>">SIZE '.$sort_order.$sort_order; ?> ":"<" ?>">Type
  • '.$row[3].'
  • '.make_date($row[1]).' '.make_file_size($row[2]).' '.$row[4].'