|
Hi
I need a script to automaticly figure out wich graphic logo to include into website...
This is usefull now the christmas time is arround, and i would like to have one look at day and one look in the evening hours and a shut down dark kinda look during night time....
The files would be like only in the index file - like:
logoXmasDayTime.jpg
logoXmasEveningTime.jpg
logoXmasNightTime.jpg
if possible i would like to avoid the A.M. and P.M. crap and stick to at 24 hour clock / timer system. So like after 18:00:00 the "logoxmasEveningTime.jpg" is in use.
So we are talking about:
-server time
-3 different layout files, where only one is at use depending on the time of the day.
|