<?php//get user usertypeif ( $my->usertype == '' ) { $usertype = eUTF::utf8_strtolower($acl->get_group_name('29'));} else { $usertype = eUTF::utf8_strtolower($my->usertype);}$canUploadImages = $acl->acl_check( 'action', 'upload', 'users', $usertype, 'files', 'images' ); //allowed to upload images$canUploadAvatars =$acl->acl_check( 'action', 'upload', 'users', $usertype, 'files', 'avatars' ); //allowed to upload avatar images$canUploadFiles =$acl->acl_check( 'action', 'upload', 'users', $usertype, 'files', 'all' ); //allowed to upload any file?>