Hello =$u['firstname']?>
0) {
$pending_actions['c_register_feeder.php'] = "
".count($new_users)." students from feeder fairs have not been sent a registration email, click here to send them";
}
$now = date( 'Y-m-d H:i:s' );
if($now > $config['date_fair_ends']) {
/* Have stats been sent to YSC? */
}
if($config['tours_enable']) {
$users = students_load_all($mysqli);
$num_accepted = 0;
$students_accepted_without_tour = sanity_get_accepted_students_without_tour($mysqli, $users, $num_accepted);
$students_not_accepted_with_tour = sanity_get_not_accepted_students_with_tour($mysqli, $users);
if(count($students_not_accepted_with_tour) > 0 || count($students_accepted_without_tour) > 0) {
$str = '';
if(count($students_not_accepted_with_tour) > 0) {
$str .= "
".count($students_not_accepted_with_tour)." not accepted students are assigned to a tour.";
}
if(count($students_accepted_without_tour) > 0) {
$str .= "
".count($students_accepted_without_tour)." / $num_accepted accepted students have not been assigned a tour";
}
$pending_actions['c_check_tours.php'] = $str;
}
}
if(count($pending_actions) > 0) { ?>
Pending Actions
Closed';
break;
case 1: /* Open */
$str = '
Open';
$str .= ", closes on ".date('F d, Y', strtotime($config['date_'.$type.'_registration_closes']));
break;
case 2: /* Open in prereg, add when it opens for real */
$str = '
Pre-Registration';
$str .= ", opens on ".date('F d, Y', strtotime($config['date_student_registration_opens']));
break;
case -2: /* Not open yet */
$str = '
Not Open Yet';
if($type == 'student' && $config['preregistration_enable']) {
$str .= ", pre-registration opens on ".date('F d, Y', strtotime($config['date_student_preregistration_opens']));
} else {
$str .= ", opens on ".date('F d, Y', strtotime($config['date_'.$type.'_registration_opens']));
}
break;
}
return $str;
}
?>
Sanity Checks
Committee Members