RTC displaying parameter

I am using Arduino mega board , with RTC DS1307 .
I have 8 Relays and 8 combination of programming.

I have display where

Relay 1-8 get displayed

COmb 1-8 get displayed

on-off Led to decide On time and off time

segment display for Display Hr :time min:time

There are 6 keys

Relay_Sw to change value of Relay
Comb_sw to change combination of relay
on_off Sw to change LED ON_oFF
Advance to change display Hr,MIN
Select key to change Hr and Min parameter.

I am looking for sample code which is used to change change these parameter and store in 24LC08 eeprom location with on and off time.

I am asking to write code. I am asking to do this what i need to do and how can simply the code.

because 8 relay and 8 combination = 64 each will On time and off time 256 locations.

how i can minimize code of display

I have used serial in parallel out IC for display

AJITnayak:
I am asking to write code. I am asking to do this what i need to do and how can simply the code.

You might have better luck in the Gigs and Collaboration Sub-forum. Be ready to pay for someone to do your coding.