Example #1
0
     break;
 case "markCU":
     $db->updateRecord($type == 1, $id, "set_college", 1);
     break;
 case "markCO":
     $db->updateRecord($type == 1, $id, "set_college", 2);
     break;
 case "markUS":
     $db->updateRecord($type == 1, $id, "set_college", 3);
     break;
 case "markWorld":
     $db->updateRecord($type == 1, $id, "set_college", 4);
     break;
 case "2weeksparticipants":
     $db->updateRecord($type == 1, $id, "sent_2_weeks", 1);
     EmailHelperClass::createAndSendEmail_Reminder2WeeksParticipants($db->getPeopleFromId($type == 1, $id));
     break;
 case "2weeksparticipantsfar":
     $db->updateRecord($type == 1, $id, "sent_2_weeks", 1);
     EmailHelperClass::createAndSendEmail_Reminder2WeeksParticipantsFar($db->getPeopleFromId($type == 1, $id));
     break;
 case "2weeksmentors":
     $db->updateRecord($type == 1, $id, "sent_2_weeks", 1);
     EmailHelperClass::createAndSendEmail_Reminder2WeeksMentors($db->getPeopleFromId($type == 1, $id));
     break;
 case "tomorrowparticipants":
     $db->updateRecord($type == 1, $id, "sent_tomorrow", 1);
     EmailHelperClass::createAndSendEmail_ReminderTomorrowParticipants($db->getPeopleFromId($type == 1, $id));
     break;
 case "tomorrowmentors":
     $db->updateRecord($type == 1, $id, "sent_tomorrow", 1);