others_submit.php

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

PHP
49
字号
<?
  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,PRCS_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, 'workflow/list');
  }
  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 + =
减小字号Ctrl + -
显示快捷键?