A Leigh man has been given a community order for various child sex offences