This event has passed.', 'event_espresso');
break;
case 'REGISTRATION_CLOSED': //only show the event description.
// if todays date is after $reg_end_date
?>
contact us if you would like to know if spaces are still available.', 'event_espresso'); ?>
0 && $meta['attendee_number'] > 1) {
$question_groups = $add_attendee_question_groups;
$meta['additional_attendee_reg_info'] = 9; //this will override the deprecated way of doing the additional attendee questions
$increase_attende_num = true;
}
//echo "additional_attendee_reg_info = ".$meta['additional_attendee_reg_info'];
//echo "Attendee # ".$meta['attendee_number'];
$attendee_number = $meta['attendee_number'];
$price_group_att_counter = 1; //this will keep track of the attendee number inside each event inside each price type
//Outputs the custom form questions.
//This will be the main attendee
//$meta['attendee_number'] = 1;
?>
1) {
//echo 'attendee_quantity = '.$meta['attendee_quantity'];
//If the "Personal Information only" question is selected in the event
//then only show the registration form for the first attendee
if ($event_meta['additional_attendee_reg_info'] == 1) {
echo '';
} else {
//this is a check for events that have been made before additional attendee questions functionality
if (is_array($add_attendee_question_groups)) {
$question_groups = $add_attendee_question_groups;
}
//The offset of 2 since this is attendee 2 and on
//adding 1 since the primary attendee is added
//in the above function call (c.a. line 104)
//Used for "Attendee #" display
for ($i = $attendee_number, $cnt = $meta['attendee_quantity'] + $attendee_number - 1; $i < $cnt; $i++) {
$price_group_att_counter++;
//echo 'price_group_att_counter = '.$price_group_att_counter;
$meta['attendee_number'] = $price_group_att_counter;
?>