others_submit_free.php
来自「通达OA2007SE源代码 非常好的」· PHP 代码 · 共 47 行
PHP
47 行
<?
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">
';
$query = (((((((''.'select * from FLOW_RUN_PRCS where RUN_ID=').$RUN_ID).' and PRCS_ID=').$PRCS_ID).' and USER_ID=\'').$TO_ID).'\'');
$cursor = exequery ($connection, $query);
if ($ROW = mysql_fetch_array ($cursor))
{
message ('提示', '该用户已经是本步骤的经办人,请委托其他用户');
button_back ();
exit ();
}
$query = (((((((((''.'update FLOW_RUN_PRCS set USER_ID=\'').$TO_ID).'\' where RUN_ID=').$RUN_ID).' and PRCS_ID=').$PRCS_ID).' and USER_ID=\'').$LOGIN_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 + -
显示快捷键?