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

📄 insert.php

📁 极限网络智能办公系统 - Office Automation 2.8 100% 源码
💻 PHP
字号:
<?php

include_once( "inc/auth.php" );
include_once( "inc/check_type.php" );
include_once( "inc/conn.php" );
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 ( !is_number( $PRCS_ID ) )
{
	message( "错误", "序号应为整数" );
	button_back( );
	exit( );
}
$query = "SELECT * from FLOW_PROCESS where FLOW_ID={$FLOW_ID} order by PRCS_ID";
$cursor = exequery( $connection, $query );
while ( $ROW = mysql_fetch_array( $cursor ) )
{
	$PRCS_ID1 = $ROW['PRCS_ID'];
	$PRCS_TO_STR = "PRCS_TO_".$PRCS_ID1;
	if ( $$PRCS_TO_STR == "on" )
	{
		$PRCS_TO .= $PRCS_ID1.",";
	}
}
if ( $PRCS_TO_END == "on" )
{
	$PRCS_TO .= "0";
}
$query = "insert into FLOW_PROCESS(FLOW_ID,PRCS_ID,PRCS_NAME,PRCS_TO,PLUGIN) values ({$FLOW_ID},{$PRCS_ID},'{$PRCS_NAME}','{$PRCS_TO}','{$PLUGIN}')";
exequery( $connection, $query );
if ( $GRAPH == 1 )
{
	echo "<s";
	echo "cript>parent.opener.location.reload();window.close();</script>\r\n";
}
else
{
	header( "location: index.php?FLOW_ID={$FLOW_ID}" );
}
echo "\r\n</body>\r\n</html>";
?>

⌨️ 快捷键说明

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