0) { $size = $bytes / 1024; } else { $size = 0; } if($size < 1024) { $size = number_format($size, 2); $size .= ' KB'; } else { if($size / 1024 < 1024) { $size = number_format($size / 1024, 2); $size .= ' MB'; } else if ($size / 1024 / 1024 < 1024) { $size = number_format($size / 1024 / 1024, 2); $size .= ' GB'; } } return $size; } ?> ELENCO Contenuto web
echo ' '; } else { //echo ' echo ' '; } } elseif ($tel != 1){ //list($width, $height, $type, $attr) = getimagesize($photo); //$height=50/($width/$height); $width='50'; if ($height > 75){ $width=75/($height/$width); $height='75'; } if ($type==1){ $type="gif"; } if ($type==2){ $type="jpg"; } if ($type==3){ $type="png"; } if (file_exists($photo)) { if (/*$file != '.' && $file != '..'*/ eregi(".JPG$", $photo) or eregi(".jpg$", $photo) or eregi(".jpeg$", $photo) or eregi(".JPEG$", $photo) or eregi(".gif$", $photo) or eregi(".GIF$", $photo) or eregi(".png$", $photo) or eregi(".PNG$", $photo) or eregi(".bmp$", $photo) or eregi(".BMP$", $photo)) { //echo ' echo ' '; } elseif (filetype($photo)=='dir') { //echo ' echo ' '; } else { $desoort = substr(strrchr($photo, '.'), 1); switch ($desoort){ case 'fla': $source="flash.gif"; $tiepe="Flash"; break; case 'FLA': $source="flash.gif"; $tiepe="Flash"; break; case 'swf': $source="flash.gif"; $tiepe="Flash"; break; case 'SWF': $source="flash.gif"; $tiepe="Flash"; break; case 'html': $source="html.png"; $tiepe="HTML"; break; case 'htm': $source="html.png"; $tiepe="HTML"; break; case 'HTML': $source="html.png"; $tiepe="HTML"; break; case 'HTM': $source="html.png"; $tiepe="HTML"; break; case 'pdf': $source="pdf.png"; $tiepe="PDF"; break; case 'PDF': $source="PDF.png"; $tiepe="PDF"; break; case 'txt': $source="txt.png"; $tiepe="TXT"; break; case 'TXT': $source="txt.png"; $tiepe="TXT"; break; case 'php': $source="source_php.png"; $tiepe="PHP"; break; case 'PHP': $source="source_php.png"; $tiepe="PHP"; break; case 'zip': $source="zip.gif"; $tiepe="ZIP"; break; case 'ZIP': $source="zip.gif"; $tiepe="ZIP"; break; case 'rar': $source="zip.gif"; $tiepe="RAR"; break; case 'RAR': $source="zip.gif"; $tiepe="RAR"; break; case '7z': $source="zip.gif"; $tiepe="7Z"; break; case '7Z': $source="zip.gif"; $tiepe="7Z"; break; default: $source="src.gif"; $tiepe="Unknown"; break; } //echo ' echo ' '; } } } } ?>
FolderNome File TipoDimensioneUltima ModificaProprieta
Cartella' . CARTELLA_PRECEDENTE . 'folder' . ByteSize(filesize($photo)) . '' . gmdate("M d Y",fileatime($photo)) . '
Cartella' . CARTELLA_PRECEDENTE . 'folder' . ByteSize(filesize($photo)) . '' . '
Cartella' . CARTELLA_PRECEDENTE . '' . ByteSize(filesize($photo)) . '' . gmdate("M d Y",fileatime($photo)) . '
Cartella' . CARTELLA_PRECEDENTE . '' . ByteSize(filesize($photo)) . '' . '
Image' . rfe(basename($photo)) . '' . $type . '' . ByteSize(filesize($photo)) . '' . gmdate("M d Y",fileatime($photo)) . 'Properties
Image' . rfe(basename($photo)) . '' . $type . '' . ByteSize(filesize($photo)) . '' . 'Properties
Folder' . basename($photo) . 'folder' . ByteSize(filesize($photo)) . '' . gmdate("M d Y",fileatime($photo)) . '
Folder' . basename($photo) . 'folder' . ByteSize(filesize($photo)) . '' . '
' . $tiepe . '' . rfe(basename($photo)) . '' . $desoort . '' . ByteSize(filesize($photo)) . '' . gmdate("M d Y",fileatime($photo)) . 'Properties
' . $tiepe . '' . rfe(basename($photo)) . '' . $desoort . '' . ByteSize(filesize($photo)) . '' . 'Properties
FolderNome File TipoDimensioneUltima ModificaProperties