index.php

来自「通达OA2007SE源代码 非常好的」· PHP 代码 · 共 69 行

PHP
69
字号
<?
  include_once 'inc/auth.php';
  echo '
<html>
<head>
<title>角色克隆</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
';
  echo '<S';
  echo 'CRIPT language=javascript>
function check_form()
{
   if(document.form1.PRIV_NO.value=="")
   { alert("角色序号不能为空!");
     return (false);
   }
   if(document.form1.PRIV_NAME.value=="")
   { alert("角色称谓不能为空!");
     return (false);
   }
  return true;
}
</SCRIPT>
</head>
<body class="bodycolor" topmargin="5" onload="document.form1.PRIV_NO.focus();">
<table borde';
  echo 'r="0" width="100%" cellspacing="0" cellpadding="3" class="small">
  <tr>
    <td class="Big"><img src="/images/edit.gif" WIDTH="22" HEIGHT="20" align="absmiddle">';
  echo '<s';
  echo 'pan class="big3"> 角色克隆</span><br>
    </td>
  </tr>
</table>
<br>
<table border="0" width="450" cellpadding="2" cellspacing="1" align="center" bgcolor="#000000" class="small">
  <form action="submit.php" method="post" name="form1" onSubmit="return check_form();">
   <tr>
    <td nowrap class="TableData">角色排序号:</td>
    <td nowrap class="TableData">
        <input type="text" name="PRIV_';
  echo 'NO" class="BigInput" size="3" maxlength="3" value="';
  echo $PRIV_NO;
  echo '">&nbsp;
    </td>
   </tr>
   <tr>
    <td nowrap class="TableData">角色名称:</td>
    <td nowrap class="TableData">
        <input type="text" name="PRIV_NAME" class="BigInput" size="25" maxlength="100" value="';
  echo $PRIV_NAME;
  echo '">&nbsp;
    </td>
   </tr>
    <tr align="center" class="TableControl">
      <td colspan="2" nowrap>
        <input type=\'hidden\' value="';
  echo $USER_PRIV;
  echo '" name="USER_PRIV">
        <input type="submit"  value="保存" class="BigButton" name="submit">&nbsp;&nbsp;
        <input type="button"  value="返回" class="BigButton" name="back" onClick="history.back();">
      </td>
    </tr>
  </form>
</table>
</body>
</html>';
?>

⌨️ 快捷键说明

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