A Gloucestershire man has received a football banning order which prevents him from attending any UK football match for three years.