need help with code for controlling a hydraulic press mode

MAS3:
Oh no !

Please get rid of the mistakes ans errors before you do a write up of this DIY project, or else you'd better upload it to instructables.
That site is a horrible way of showing how not to do things.

Why all this:
There's no diodes in sight near your relays.
Do not do that.

i know that i didn't do a proper write of this project since the start. that's because i neither hold a degree on electronics nor i had the time needed to straighten the things.

what's the point in saying something it's not correct without showing how is the right way?