0) {
if (isset($_GET['s']) && ($_GET['s'] == 'date')) {
$dsort = 'Last Updated
' . $OC_sortImg;
$fsort = 'File';
arsort($fAR,SORT_NUMERIC);
} else {
$fsort = 'File
' . $OC_sortImg;
$dsort = 'Last Updated';
ksort($fAR,SORT_NUMERIC);
}
print '
' . $fsort . ' | Size | ' . $dsort . ' |
---|---|---|
' . $f . ' | ' . oc_formatNumber(oc_fileSize($dir.$f)) . ' | ' . date("d M Y H:i:s", $d) . " |
No files found
'; } } else { print 'Unable to open files directory
'; } printFooter(); ?>