You should create an lcdInit() function, and another function to write that data to the LCD. Why are you reading from the analog pins again? You should be printing the values in val0, val1, val2, and val3.
You have not defined any switch pins, set them to INPUT, enabled any pullup resistors, or read any switch states.
What do the relay pins control? What do the valve pins control? Will the switch pins override the moisture sensors?
When do you plan to learn about arrays? Functions?