exit; } if (isset($_GET["FindInGroup"])) { MEMBERS_SEARCH_USERS(); exit; } if (isset($_POST["groupid"])) { MEMBERS_UPLOAD_FILE(); exit; } if (isset($_POST["DeleteFromGroup"])) { MEMBER_DELETE_FROM_GROUP(); exit; } if (isset($_GET["addgroup"])) { AddGroup(); exit; } if (isset($_GET["GroupPriv"])) { echo GROUP_PRIVILEGES($_GET["GroupPriv"]); exit; } if (isset($_GET["PrivilegesGroup"])) { EditGroup(); exit; } if (isset($_GET["DeleteMember"])) { DeleteMember(); exit; } if (isset($_GET["DeleteNotAffectedUsers"])) {
$grouptype = GetVariable("grouptype"); $owner = GetVariable("owner"); $uids = GetVariable("uids"); $uidids = GetVariable("uidids"); $seriesids = GetVariable("seriesid"); $studyids = GetVariable("studyid"); $modality = GetVariable("modality"); $itemid = GetVariable("itemid"); $measures = GetVariable("measures"); $columns = GetVariable("columns"); $groupmeasures = GetVariable("groupmeasures"); /* determine action */ switch ($action) { case 'add': AddGroup($groupname, $grouptype, $GLOBALS['username']); DisplayGroupList(); break; case 'delete': DeleteGroup($id); break; case 'addsubjectstogroup': AddSubjectsToGroup($subjectgroupid, $uids, $seriesids, $modality); ViewGroup($subjectgroupid, $measures, $columns, $groupmeasures); break; case 'addstudiestogroup': AddStudiesToGroup($studygroupid, $seriesids, $studyids, $modality); ViewGroup($studygroupid, $measures, $columns, $groupmeasures); break; case 'addseriestogroup': AddSeriesToGroup($seriesgroupid, $seriesids, $modality); ViewGroup($seriesgroupid, $measures, $columns, $groupmeasures); break;
//操作日志 insert_dolog("groupid=" . $groupid . "<br>groupname=" . $r[groupname]); printerror("DelGroupSuccess", "ListGroup.php"); } else { printerror("DbError", "history.go(-1)"); } } $enews = $_POST['enews']; if (empty($enews)) { $enews = $_GET['enews']; } //增加用户组 if ($enews == "AddGroup") { $groupname = $_POST['groupname']; $gr = $_POST['gr']; AddGroup($groupname, $gr, $logininid, $loginin); } elseif ($enews == "EditGroup") { $groupid = $_POST['groupid']; $groupname = $_POST['groupname']; $gr = $_POST['gr']; EditGroup($groupid, $groupname, $gr, $logininid, $loginin); } elseif ($enews == "DelGroup") { $groupid = $_GET['groupid']; DelGroup($groupid, $logininid, $loginin); } $sql = $empire->query("select groupid,groupname from {$dbtbpre}enewsgroup order by groupid desc"); $url = "位置:<a href=ListGroup.php>管理用户组</a>"; ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head>
echo "分组已存在"; } else { mysql_query("INSERT INTO {$data} VALUES('','{$content}')"); mysql_close(); echo "添加成功"; } } switch ($level) { case '1': AddGroup("b_category_grade", "grade"); //年级 break; case '2': AddGroup("b_category_college", "college"); //学院 break; case '3': AddGroup("b_category_major", "major"); //专业 break; default: echo "出现错误,请联系管理员。"; break; } } else { if ($certain == 'server') { echo "对不起你没有权限"; } else { echo "cookie保存到期请重新登录"; } }
} header("location:domains.manage.org.index.php?ou={$_GET["ou"]}"); } if(isset($_GET["js"])){js();exit;} if($_GET["tab"]=="groups"){LIST_GROUPS_FROM_OU();exit;} if(isset($_GET["groups-area-search"])){LIST_GROUPS_FROM_OU_search();exit;} if(isset($_GET["FindInGroup"])){MEMBERS_SEARCH_USERS();exit;} if(isset($_POST["groupid"])){MEMBERS_UPLOAD_FILE();exit();} if(isset($_POST["DeleteFromGroup"])){MEMBER_DELETE_FROM_GROUP();exit;} if(isset($_GET["addgroup"])){AddGroup();exit;} if(isset($_GET["GroupPriv"])){echo GROUP_PRIVILEGES($_GET["GroupPriv"]);exit;} if(isset($_GET["PrivilegesGroup"])){EditGroup();exit;} if(isset($_GET["DeleteMember"])){DeleteMember();exit;} if(isset($_GET["DeleteNotAffectedUsers"])){MEMBERS_NOT_AFFECTED_DELETE($_GET["ou"]);exit;} if(isset($_GET["DeleteGroup"])){DeleteGroup();exit;} if(isset($_GET["LoadGroupList"])){echo GROUPS_LIST($_GET["LoadGroupList"]);exit;} if(isset($_GET["MembersList"])){echo MEMBERS_LIST($_GET["MembersList"]);exit;} if(isset($_GET["members-area-search"])){echo MEMBERS_LIST_LIST();exit;} if(isset($_GET["ImportMembersFile"])){MEMBERS_IMPORT_FILE();exit;}