Originally posted by: CTho9305
Originally posted by: Krye
Heh, that's pretty cool. I tried adding something but I didn't get the password right

I would add the completed option but still leave the data in the database with an option to delete later somehow. Reason being that way you can check what homework you've done in the past.
But seriously, that's pretty funny/cool.
heh, kidna wierd, but since i've started using it, I'm procrastinating less :Q. I guess because I set stuff to begin turning red at 4 days (it gets redder until the due date)
You should make it do this (I don't know php, so this is in some odd pseudocode):
# Find the starting time of hte assignment, in seconds.
$start = time(date assigned);
# Find the ending time of the assignment, in seconds.
$end = time (date due);
# Find the total # of seconds allocated for the assignment.
$total_time = ($end - start);
# Find the number of seconds remaining
$left = $end - time(now);
# Find percent white to use
$percentwhite = $left/$total_time;
# Get the hex value of your white percentage
$color = hex($percentwhite * 255);
# Use the following color for the background of the cell:
"FF" , $color , $color;
This isn't optimized or anything, but I think it's be cooler than white, medium red, and bright red.