Edit poll"); else { // Warn if current poll is less than 3 days old $res = do_mysql_query("SELECT question,added,UNIX_TIMESTAMP(added) as utadded FROM polls ORDER BY added DESC LIMIT 1") or sqlerr(); $arr = mysql_fetch_assoc($res); if ($arr) { $hours = floor((gmtime() - $arr["utadded"]) / 3600); $days = floor($hours / 24); if ($days < 3) { $hours -= $days * 24; if ($days) $t = "$days day" . ($days > 1 ? "s" : ""); else $t = "$hours hour" . ($hours > 1 ? "s" : ""); print("

Note: The current poll (" . $arr["question"] . ") is only $t old.

"); } } print("

Make poll

"); } ?>
Question *
Option 1 *
Option 2 *
Option 3
Option 4
Option 5
Option 6
Option 7
Option 8
Option 9
Option 10
Option 11
Option 12
Option 13
Option 14
Option 15
Option 16
Option 17
Option 18
Option 19
Option 20
Sort >Yes > No
style='height: 20pt'>

* required

> >