update.php

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

PHP
34
字号
<?
  include_once 'inc/auth.php';
  include_once 'inc/check_type.php';
  echo '
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body class="bodycolor" topmargin="5">
';
  if (!is_number ($PRCS_ID))
  {
    message ('错误', '序号应为整数');
    button_back ();
    exit ();
  }
  $query = ((((((((((((((((((((((''.'update FLOW_PROCESS set PRCS_ID=').$PRCS_ID).',PRCS_NAME=\'').$PRCS_NAME).'\',PRCS_TO=\'').$PRCS_TO).'\',PLUGIN=\'').$PLUGIN).'\',FEEDBACK=\'').$FEEDBACK).'\',AUTO_TYPE=\'').$AUTO_TYPE).'\',AUTO_USER_OP=\'').$AUTO_USER_OP).'\',AUTO_USER=\'').$AUTO_USER).'\',USER_FILTER=\'').$USER_FILTER).'\',TIME_OUT=\'').$TIME_OUT).'\' where ID=').$ID);
  exequery ($connection, $query);
  if (($GRAPH == 1))
  {
    echo '<s';
    echo 'cript>parent.opener.location.reload();window.close();</script>
';
  }
  else
  {
    header (((''.'location: index.php?FLOW_ID=').$FLOW_ID));
  }
  echo '
</body>
</html>';
?>

⌨️ 快捷键说明

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