Login   Register  
PHP Classes
elePHPant
Icontem

File: basetypes.inc.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Vagharshak Tozalakyan  >  Resources Manager  >  basetypes.inc.php  >  Download  
File: basetypes.inc.php
Role: Auxiliary script
Content type: text/plain
Description: Basic filetypes
Class: Resources Manager
Manage files in the directory
Author: By
Last change:
Date: 2005-09-26 23:27
Size: 2,686 bytes
 

Contents

Class file image Download
<?php

  
// Images
  
$rm_types['jpg'] = array('JPEG Image''jpeg.gif');
  
$rm_types['jpeg'] = array('JPEG Image''jpeg.gif');
  
$rm_types['jpe'] = array('JPEG Image''jpeg.gif');
  
$rm_types['gif'] = array('GIF Image''gif.gif');
  
$rm_types['png'] = array('PNG Image''png.gif');
  
$rm_types['tiff'] = array('TIFF Image''tiff.gif');
  
$rm_types['tif'] = array('TIFF Image''tiff.gif');
  
$rm_types['bmp'] = array('Windows Bitmap''bmp.gif');

  
// Archives
  
$rm_types['zip'] = array('ZIP Archive''zip.gif');
  
$rm_types['gz'] = array('GZIP Archive''zip.gif');
  
$rm_types['tar'] = array('TAR Archive''rar.gif');
  
$rm_types['rar'] = array('RAR Archive''rar.gif');

  
// Text Files
  
$rm_types['txt'] = array('Plain Text''text.gif');
  
$rm_types['html'] = array('HTML Script''html.gif');
  
$rm_types['htm'] = array('HTML Script''html.gif');
  
$rm_types['php'] = array('PHP Script''php.gif');
  
$rm_types['php3'] = array('PHP Script''php.gif');
  
$rm_types['php4'] = array('PHP Script''php.gif');
  
$rm_types['php5'] = array('PHP Script''php.gif');
  
$rm_types['phtml'] = array('PHP Script''php.gif');

  
// Documents
  
$rm_types['pdf'] = array('PDF Document''pdf.gif');
  
$rm_types['doc'] = array('MS Word Document''word.gif');
  
$rm_types['rtf'] = array('MS RTF Document''word.gif');
  
$rm_types['xls'] = array('MS Excel Document''excel.gif');
  
$rm_types['pps'] = array('MS PowerPoint Document''ppoint.gif');
  
$rm_types['pot'] = array('MS PowerPoint Document''ppoint.gif');
  
$rm_types['ppt'] = array('MS PowerPoint Document''ppoint.gif');
  
$rm_types['ppz'] = array('MS PowerPoint Document''ppoint.gif');

  
// Media
  
$rm_types['mp3'] = array('MP3 Music File''audio.gif');
  
$rm_types['wav'] = array('WAV Audio File''audio.gif');
  
$rm_types['mid'] = array('MIDI Sequence''audio.gif');
  
$rm_types['midi'] = array('MIDI Sequence''audio.gif');
  
$rm_types['rmi'] = array('MIDI Sequence''audio.gif');
  
$rm_types['au'] = array('AU Sound''audio.gif');
  
$rm_types['snd'] = array('AU Sound''audio.gif');
  
$rm_types['mpeg'] = array('MPEG Movie''video.gif');
  
$rm_types['mpg'] = array('MPEG Movie''video.gif');
  
$rm_types['mpe'] = array('MPEG Movie''video.gif');
  
$rm_types['avi'] = array('AVI Movie''video.gif');
  
$rm_types['wmv'] = array('Windows Media File''video.gif');

  
// Binary
  
$rm_types['exe'] = array('Application File''bin.gif');
  
$rm_types['dll'] = array('Application Extension''bin.gif');
  
$rm_types['so'] = array('Binary Library''bin.gif');

  
// Unknown
  
$rm_types['unknown'] = array('Unknown Format''unknown.gif');

?>