Errors in executing irrigation system program

Yes I did !!!!
I solved most of the error just one is left which is:

In function 'void loop()':
irrigation:27:6: error: expected '(' before 'else'
   if else (z == 1) //forward
      ^~~~
exit status 1
expected '(' before 'else'