/
/ uploads / '; foreach ($pathParts as $pathPart){ if ($pathPart!=''){ $urlPath.=$pathPart."/"; echo ''.$pathPart.' / '; } } echo "';
$adm = substr($path . $upload['name'] , 16);
if ($returnid!='') {
$returnlink = '&returnid='.$returnid;
} else {
$returnlink='';
}
if ($func!='') {
$funct = '&func='.$func;
} else {
$funct='';
}
echo '![]() | ';
echo '';
$thumbLink = $urlPath.'thumbsm.'.$upload['name'];
if (file_exists('../data/thumbs/'.$thumbLink)) {
$imgSrc=' | ';
# get external thumbnail link
$thumbLinkExternal = 'data/thumbs/'.$urlPath.'thumbnail.'.$upload['name'];
if (file_exists('../'.$thumbLinkExternal)) {
$thumbnailLink = ' – '.i18n_r('THUMBNAIL').'';
}
}
else { continue; }
}
$counter++;
echo '|||
'.htmlspecialchars($upload['name']) .''.$thumbnailLink.' | '; echo ''. $upload['size'] .' | '; // get the file permissions. if ($isUnixHost && isDebug() && function_exists('posix_getpwuid')) { $filePerms = substr(sprintf('%o', fileperms($path.$upload['name'])), -4); $fileOwner = posix_getpwuid(fileowner($path.$upload['name'])); echo ''.$fileOwner['name'].'/'.$filePerms.' | '; } echo ''. shtDate($upload['date']) .' | '; echo '
'. $counter .' '.i18n_r('TOTAL_FILES').' ('. fSize($totalsize) .')
'; ?>