if($permissions['imghost'] & $vbulletin->bf_ugp_genericpermissions['can_upload_img']){ echo "welcome admin"; }else{ print_no_permission(); }