⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 index.php

📁 极限网络智能办公系统 Office Automation V3.0官方100%源代码.
💻 PHP
字号:
<?
include_once("inc/auth.php");
?>

<html>
<head>
<title>用户组管理</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<script>
function delete_group(GROUP_ID)
{

  msg='确认要删除该用户组么?';
  if(window.confirm(msg))
  {
     URL="delete.php?GROUP_ID=" + GROUP_ID;     window.location=URL;
  }
}
</script>
</head>
<body class="bodycolor" topmargin="5">

<table border="0" width="100%" cellspacing="0" cellpadding="3" class="small">
  <tr>
    <td class="Big"><img src="/images/notify_new.gif" align="absmiddle"><span class="big3"> 新建用户组</span><br>
    </td>
  </tr>
</table>

<div align="center">
<input type="button" value="新建用户组" class="BigButton" onClick="location='new.php';" title="创建新的用户组">
</div>

<br>

<table border="0" width="100%" cellspacing="0" cellpadding="3" class="small">
  <tr>
    <td class="Big"><img src="/images/notify_open.gif" align="absmiddle"><span class="big3"> 管理用户组</span>
    </td>
  </tr>
</table>

<br>
<?
 //============================ 管理分组 =======================================
 $query = "SELECT * from USER_GROUP where USER_ID='$LOGIN_USER_ID' order by ORDER_NO";
 $cursor= exequery($connection,$query);
 if(mysql_num_rows($cursor)==0)
 {
    Message("","无定义的用户组");
    exit;
 }
?>
<table border="0" cellspacing="1" class="small" align="center" bgcolor="#000000" cellpadding="3">
   <tr class="TableHeader">
      <td nowrap align="center" width="200">用户组名称</td>
      <td nowrap align="center" width="60">排序号</td>
      <td nowrap align="center" width="120">操作</td>
   </tr>
<?
 //============================ 管理分组 =======================================
 while($ROW=mysql_fetch_array($cursor))
 {
    $GROUP_ID=$ROW["GROUP_ID"];
    $GROUP_NAME=$ROW["GROUP_NAME"];
    $ORDER_NO=$ROW["ORDER_NO"];
?>
    <tr class="TableData">
      <td nowrap align="center"><?=$GROUP_NAME?></td>
      <td nowrap align="center"><?=$ORDER_NO?></td>
      <td nowrap align="center">
          <a href="edit.php?GROUP_ID=<?=$GROUP_ID?>"> 编辑</a>
          <a href="javascript:delete_group(<?=$GROUP_ID?>);"> 删除</a>
          <a href="set_user.php?GROUP_ID=<?=$GROUP_ID?>"> 设置用户</a>
      </td>
    </tr>
<?
 }
?>
</table>
<br>
<div align="center">
  <input type="button" value="返回" class="BigButton" title="返回" name="button2" OnClick="location='../'">
</div>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -