Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Is this possible in PHP/JavaScript?

Name: Anonymous 2007-12-28 10:56

I am making two pages.  The first one displays a picture depending on the day - so if it's January 10 2008, the displayed pic is 2008-01-10.jpg

Next, I want to make a calendar, with each day linking to the appropriate pic of the day.  However, I want to make it so it's impossible to view pics before their day, either by not making them hyperlinks, or by making it so nothing happens when they are clicked on.  Problem is, I have no clue as to how to approach this problem aside from making 365 if-else blocks.

Any ideas?

Name: Anonymous 2007-12-28 16:10

>>5

I don't care about protecting access to the files themselves - I just don't want to make it obvious.  If somebody wants to spoil the whole year for himself, that's his problem, not mine.  So long as the front end behaves correctly, I'm happy.

Hopefully I'll be able to upgrade on the code and try to make a calendar structure with tables before the new year hits.  I'm starting to have an idea as to how exactly I could place the HTML strategy but I think I'll have to sleep on it before I can make something viable.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List