others_submit.php

来自「极限网络智能办公系统 - Office Automation 2.8 100% 」· PHP 代码 · 共 34 行

PHP
34
字号
<?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 + =
减小字号Ctrl + -
显示快捷键?