restore.php

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

PHP
21
字号
<?
  include_once 'inc/auth.php';
  include_once 'inc/utility_all.php';
  include_once '../prcs_role.php';
  if (!run_role ($RUN_ID, 1))
  {
    continue;
  }

  $query = '' . 'SELECT MAX(PRCS_ID) from FLOW_RUN_PRCS WHERE RUN_ID=' . $RUN_ID;
  $PRCS_MAX = 0;
  $cursor = exequery ($connection, $query);
  if ($ROW = mysql_fetch_array ($cursor))
  {
    $PRCS_MAX = $ROW[0];
  }

  $query = '' . 'update FLOW_RUN_PRCS set PRCS_FLAG=\'2\' where RUN_ID=' . $RUN_ID . ' and PRCS_ID=' . $PRCS_MAX . ' and OP_FLAG=\'1\'';
  exequery ($connection, $query);
  header ('' . 'location: query.php?FLOW_ID=' . $FLOW_ID);
?>

⌨️ 快捷键说明

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