call_back.php

来自「极限网络智能办公系统 Office Automation V3.0官方100%源」· PHP 代码 · 共 40 行

PHP
40
字号
<?

  include_once 'inc/auth.php';
  include_once '../prcs_role.php';
  if (!run_role ($RUN_ID, $PRCS_ID))
  {
    exit ();
  }

  echo '
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>

<body class="bodycolor" topmargin="5">

';
  $PRCS_ID_NEXT = $PRCS_ID + 1;
  $query = '' . 'SELECT * from FLOW_RUN_PRCS WHERE RUN_ID=' . $RUN_ID . ' and PRCS_ID=' . $PRCS_ID_NEXT . ' and PRCS_FLAG>=\'2\'';
  $cursor = exequery ($connection, $query);
  if ($ROW = mysql_fetch_array ($cursor))
  {
    message ('提示', '对方已接收,不能收回');
    button_back ();
    exit ();
  }

  $query = '' . 'delete from FLOW_RUN_PRCS WHERE RUN_ID=' . $RUN_ID . ' and PRCS_ID=' . $PRCS_ID_NEXT;
  exequery ($connection, $query);
  $query = '' . 'update FLOW_RUN_PRCS set PRCS_FLAG=\'2\' WHERE RUN_ID=' . $RUN_ID . ' and PRCS_ID=' . $PRCS_ID;
  exequery ($connection, $query);
  header ('' . 'location: index.php?FLOW_ID=' . $FLOW_ID);
  echo '
</body>
</html>
';
?>

⌨️ 快捷键说明

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