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

📄 others_submit.php

📁 通达OA3.0源代码
💻 PHP
字号:
<?

  include_once 'inc/auth.php';
  include_once 'inc/utility_sms1.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">

';
  if ($USER_COUNT == 1)
  {
    $query = '' . 'update FLOW_RUN_PRCS set USER_ID=\'' . $USER_ID . '\' where RUN_ID=' . $RUN_ID . ' and PRCS_ID=' . $PRCS_ID;
    exequery ($connection, $query);
  }
  else
  {
    $query = '' . 'update FLOW_RUN_PRCS set OP_FLAG=0 where RUN_ID=' . $RUN_ID . ' and PRCS_ID=' . $PRCS_ID . ' and USER_ID=\'' . $LOGIN_USER_ID . '\'';
    exequery ($connection, $query);
    $query = '' . 'update FLOW_RUN_PRCS set OP_FLAG=1 where RUN_ID=' . $RUN_ID . ' and PRCS_ID=' . $PRCS_ID . ' and USER_ID=\'' . $USER_ID . '\'';
    exequery ($connection, $query);
  }

  if ($SMS_REMIND == 'on')
  {
    send_sms ('', $LOGIN_USER_ID, $USER_ID, 7, $SMS_CONTENT);
  }

  if ($SMS2_REMIND == 'on')
  {
    send_mobile_sms_user ('', $LOGIN_USER_ID, $USER_ID, $SMS_CONTENT, 7);
  }

  if ($MENU_FLAG == '1')
  {
    header ('' . 'location: ../index.php?FLOW_ID=' . $FLOW_ID);
  }
  else
  {
    header ('location: ../index.php');
  }

  echo '
</body>
</html>';
?>

⌨️ 快捷键说明

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