示例#1
0
 case "cancel":
     $db->updateRecord($type == 1, $id, "unregistered", 1);
     break;
 case "activate":
     $db->updateRecord($type == 1, $id, "unregistered", 0);
     break;
 case "reminder1":
     if ($type == 1) {
         $db->updateRecord($type == 1, $id, "reminder_num", 1);
         EmailHelperClass::createAndSendEmail_ReminderToCompleteRegistration1($db->getPeopleFromId($type == 1, $id));
     }
     break;
 case "reminder2":
     if ($type == 1) {
         $db->updateRecord($type == 1, $id, "reminder_num", 2);
         EmailHelperClass::createAndSendEmail_ReminderToCompleteRegistration2($db->getPeopleFromId($type == 1, $id));
     }
     break;
 case "markFemale":
     $db->updateRecord($type == 1, $id, "set_gender", 1);
     break;
 case "markMale":
     $db->updateRecord($type == 1, $id, "set_gender", 2);
     break;
 case "markX":
     $db->updateRecord($type == 1, $id, "set_gender", 3);
     break;
 case "markCU":
     $db->updateRecord($type == 1, $id, "set_college", 1);
     break;
 case "markCO":