📄 others_submit.php
字号:
<?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 "\r\n<html>\r\n<head>\r\n<title></title>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\">\r\n</head>\r\n\r\n<body class=\"bodycolor\" topmargin=\"5\">\r\n\r\n";
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 );
}
header( "location: ../work_list.php" );
echo "\r\n</body>\r\n</html>";
?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -