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

📄 edit.php

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

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<script>
function CheckForm()
{
   if(document.form1.GROUP_NAME.value=="")
      alert("组名不能为空!");
   else
      document.form1.submit();
   
}

</script>

<?
$query="select * from ADDRESS_GROUP where GROUP_ID='$GROUP_ID'";
$cursor=exequery($connection,$query);
if($ROW=mysql_fetch_array($cursor))
   $GROUP_NAME=$ROW["GROUP_NAME"];
?>

<body class="bodycolor" topmargin="5"  onload="form1.GROUP_NAME.focus()">

<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>

<table border="0" width="400" cellpadding="2" cellspacing="1" align="center" bgcolor="#000000" class="small">
  <form action="update.php" name="form1">
    <tr>
      <td nowrap class="TableData">分组名称:</td>
      <td class="TableData"><Input type="text" name="GROUP_NAME" size="10" class="BigInput" value="<?=$GROUP_NAME?>"></td>
    </tr>
    <tr>
      <td nowrap class="TableControl" colspan="2" align="center">
          <input type="hidden" name="GROUP_ID" size="10" class="BigInput" value="<?=$GROUP_ID?>">
          <input type="button" value="提交" class="BigButton" title="提交数据" name="button1" OnClick="CheckForm()">&nbsp&nbsp&nbsp&nbsp
          <input type="button" value="返回" class="BigButton" title="返回" name="button2" OnClick="location='index.php'">
      </td>
    </tr>
    </form>
</table>
    
</body>
</html>

⌨️ 快捷键说明

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