Opening hood.

Hi. I have problem... My car (Civic EG hatch) battery wire wasn't very good and sometimes it just pop away from the battery leaving car without electric. In that case i usually just pop up the hood and press battery cable down and car is ok again... But now somehow car battery again is disconnected, but car is locked up... so i cant get inside or or open trunk or hood. I can only open car with alarm button but it isn't opening because it don't have electricy... so there is any way how to open hood from outside or how to get door or trunk opened from outside?! Please help!
P.S. I cant unlock door with key either, i cannot even get key in....

P.S. I cant unlock door with key either, i cannot even get key in....
