A man has been sentenced to nine months in jail for burglary, theft and resisting arrest after admitting to all charges.