Atachment
{$lang->uploaded_file} '{$oDocument->get('uploaded_count')}' | {$file->source_filename}, {@ $ext = substr($file->source_filename, -4); $ext = strtolower($ext); $ext_img = in_array($ext,array('.jpg','jpeg','.gif','.png')); $ext_video = in_array($ext,array('.mpg','mpeg','.avi','.wmv','.mp4','.mov','.mkv','.swf','.flv','.ogv','webm')); $ext_audio = in_array($ext,array('.mp3','.ogg','.wma','.wav','.ape','flac','.mid')); } {$file->source_filename}, {$file->source_filename}, {$file->source_filename}, {$file->source_filename},