I really don't think you should ride it like it is.
If it was a car, then I might take a chance for a short distance, but not on two wheels.

Do you have a mate with the car?
Could you push the bike to the nearest house and ask a neighbour to look after it, whilst you take the wheels off to get them fixed?