\n

Paid members: Log in to sign up to present!

\n\n\n\n
University ID (Not Including 'N'):
Net ID:
Last Name:
\n
"; ?> iag | presentation signup

iag | presentation signup

Please email iag@stern.nyu.edu for information regarding presentation signup.

\n"; $filled_datelist = 0; $curr_date = getdate(strtotime($HGH_date_start)); $protein_endarray = getdate(strtotime($HGH_date_end)); while ($filled_datelist == 0) { $date2add = Date_Calc::nextDayOfWeek(5,$curr_date['mday'],$curr_date['mon'],$curr_date['year'],"%Y-%m-%d"); $date2add_arr = getdate(strtotime($date2add)); $compdate = Date_Calc::compareDates($date2add_arr['mday'],$date2add_arr['mon'],$date2add_arr['year'],$protein_endarray['mday'],$protein_endarray['mon'],$protein_endarray['year']); // First, check if it's not past our horizon endtime if ($compdate<=0){ // Next, check that we don't have any events or pending signups on this date $evt_counter=0; $query_pending = "SELECT * from presentation_signup WHERE date='".$date2add."'"; $result = mysql_query($query_pending); $evt_counter = mysql_numrows($result); $query_existing = "SELECT * from event_calendar WHERE ( month = ".$date2add_arr['mon']." AND year = ".$date2add_arr['year']." AND day = ".$date2add_arr['mday']." )"; $res2 = mysql_query($query_existing); $evt_counter2 = 0; $evt_counter2 = mysql_numrows($res2); if ($evt_counter < 3 && $evt_counter2 == 0) { // Now we can cook and add this date $d2a_string = "\n"; $collar_dateselect = $collar_dateselect.$d2a_string; } $curr_date = $date2add_arr; } else { $filled_datelist = 1; } } $jagerbomb_signupform = "
\n\n\n". "\n\n
Presenter 1:".$chief_name."
Presenter 2 (if applicable):
Presenter 3 (if applicable):
Company Desired (optional):
Date Desired:".$collar_dateselect."
\n
"; echo $jagerbomb_signupform; } else { echo "

Failed logon attempt. Please retry.

"; echo $loginform; } } else { //echo $loginform; } mysql_close(); ?>