getOne( 'SELECT type FROM strip ORDER BY id DESC limit 1' ); $last_strip_id = $mtdb->getOne( 'SELECT MAX(id) FROM strip' ); adminhead('Post Comic'); adminmenu('post-comic.php'); $tomorrow = strtotime('tomorrow'); $post_date = time(); if(isset($_REQUEST['next']) && $_REQUEST['next'] == "yes") { //in general, this is the case that is desired // the next monday, wednesday, or friday that isn't today $post_date = min( strtotime("next Monday +1 hour", $tomorrow), strtotime("next Wednesday +1 hour", $tomorrow), strtotime("next Friday +1 hour", $tomorrow) ); //however, if it is monday, wednesday, or friday AND before 1 AM // then we want to post at 1 AM on this day $today = date("l"); if(($today == "Monday" || $today == "Wednesday" || $today == "Friday") && date("G") == 0) { $post_date = "today +1 hour"; } } ?>

Post New Comic

Comic Type

Post Date

Strip Number

Upload Comic

Book Page Number

-
Title
Transcript