A Havant man has been sentenced to 10 weeks imprisonment after pleading guilty to 24 shoplifting charges.