UpdateCountry($param); break; case 11: UpdateGovernate($param); break; case 12: UpdateRegion($param); break; case 13: InsertSubject($param); break; case 14: DelSubject($param); break; case 15: UpdateSubject($param); break; case 16: GetSubjects(); break; case 17: InsertLang($param); break; case 18: DelLang($param); break; case 19: UpdateLang($param); break; case 20: GetLangs();
break; case 'mergesubjects': DoMergeSubjects($selectedid, $name, $dob, $gender, $ethnicity1, $ethnicity2, $handedness, $education, $phone1, $email,$maritalstatus,$smokingstatus, $altuid, $guid, $cancontact); break; case 'enroll': EnrollSubject($id, $projectid); DisplaySubject($id); break; case 'confirmupdate': Confirm("update", $id, $encrypt, $lastname, $firstname, $dob, $gender, $ethnicity1, $ethnicity2, $handedness, $education, $phone, $email,$maritalstatus,$smokingstatus, $cancontact, $uid, $altuids, $enrollmentids, $guid); break; case 'confirmadd': Confirm("add", "", $encrypt, $lastname, $firstname, $dob, $gender, $ethnicity1, $ethnicity2, $handedness, $education, $phone, $email,$maritalstatus,$smokingstatus, $cancontact, "", $altuids, $enrollmentids, $guid); break; case 'update': UpdateSubject($id, $lastname, $firstname, $dob, $gender, $ethnicity1, $ethnicity2, $handedness, $education, $phone, $email,$maritalstatus,$smokingstatus, $cancontact, $uid, $altuids, $enrollmentids, $guid); DisplaySubjectList($searchuid, $searchaltuid, $searchname, $searchgender, $searchdob, $searchactive); break; case 'add': AddSubject($lastname, $firstname, $dob, $gender, $ethnicity1, $ethnicity2, $handedness, $education, $phone, $email,$maritalstatus,$smokingstatus, $cancontact, $altuid, $guid); DisplaySubjectList($searchuid, $searchaltuid, $searchname, $searchgender, $searchdob, $searchactive); break; default: if ($id == "") { DisplaySubjectList($searchuid, $searchaltuid, $searchname, $searchgender, $searchdob, $searchactive); } else { DisplaySubject($id); } }