Media Manager
Create Directory
Image/URL Code
Directory Up File Upload [ Max = ]       
No Images Found
Configuration Problem: "" does not exist.
70 ) || ( $info[0] > 70 ) ) { $img_dimensions = HTML_Media::imageResize($info[0], $info[1], 80); } else { $img_dimensions = 'width="'. $info[0] .'" height="'. $info[1] .'"'; } $overlib = ''; $overlib .= ''; $overlib .= ''; $overlib .= ''; $overlib .= ''; $overlib .= ''; $overlib .= ''; $overlib .= ''; $overlib .= ''; $overlib .= ''; $overlib .= ''; $overlib .= ''; $overlib .= ''; $overlib .= '
'; $overlib .= 'Width:'; $overlib .= ''; $overlib .= $info[0].' px'; $overlib .= '
'; $overlib .= 'Height:'; $overlib .= ''; $overlib .= $info[1] .' px'; $overlib .= '
'; $overlib .= 'Filesize:'; $overlib .= ''; $overlib .= $filesize; $overlib .= '
'; $overlib .= '
*Click to Enlarge*'; $overlib .= '
*Click for Image Code*'; ?>
10 ? '...' : ''), ENT_QUOTES ); ?>
'; $overlib .= ''; $overlib .= ''; $overlib .= 'Files:'; $overlib .= ''; $overlib .= ''; $overlib .= $num_files; $overlib .= ''; $overlib .= ''; $overlib .= ''; $overlib .= ''; $overlib .= 'Folders:'; $overlib .= ''; $overlib .= ''; $overlib .= $num_dir; $overlib .= ''; $overlib .= ''; $overlib .= ''; $overlib .= '
*Click to Open*'; ?>
10 ? '...' : ''); ?>

*Click for URL*'; ?>
= 1024 && $size < 1024*1024) { return sprintf('%01.2f',$size/1024.0).' Kb'; } else { return sprintf('%01.2f',$size/(1024.0*1024)).' Mb'; } } function imageResize($width, $height, $target) { //takes the larger size of the width and height and applies the //formula accordingly...this is so this script will work //dynamically with any size image if ($width > $height) { $percentage = ($target / $width); } else { $percentage = ($target / $height); } //gets the new value and applies the percentage, then rounds the value $width = round($width * $percentage); $height = round($height * $percentage); //returns the new sizes in html image tag format...this is so you //can plug this function inside an image tag and just get the return "width=\"$width\" height=\"$height\""; } function num_files($dir) { $total_file = 0; $total_dir = 0; if(is_dir($dir)) { $d = dir($dir); while ( false !== ($entry = $d->read()) ) { if ( substr($entry,0,1) != '.' && is_file($dir . DIRECTORY_SEPARATOR . $entry) && strpos( $entry, '.html' ) === false && strpos( $entry, '.php' ) === false ) { $total_file++; } if ( substr($entry,0,1) != '.' && is_dir($dir . DIRECTORY_SEPARATOR . $entry) ) { $total_dir++; } } $d->close(); } return array( $total_file, $total_dir ); } function imageStyle($listdir) { ?>