📄 call_back.php
字号:
<?
include_once 'inc/auth.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">
';
$PRCS_ID_NEXT = $PRCS_ID + 1;
$query = '' . 'SELECT * from FLOW_RUN_PRCS WHERE RUN_ID=' . $RUN_ID . ' and PRCS_ID=' . $PRCS_ID_NEXT . ' and PRCS_FLAG>=\'2\'';
$cursor = exequery ($connection, $query);
if ($ROW = mysql_fetch_array ($cursor))
{
message ('提示', '对方已接收,不能收回');
button_back ();
exit ();
}
$query = '' . 'delete from FLOW_RUN_PRCS WHERE RUN_ID=' . $RUN_ID . ' and PRCS_ID=' . $PRCS_ID_NEXT;
exequery ($connection, $query);
$query = '' . 'update FLOW_RUN_PRCS set PRCS_FLAG=\'2\' WHERE RUN_ID=' . $RUN_ID . ' and PRCS_ID=' . $PRCS_ID;
exequery ($connection, $query);
header ('' . 'location: index.php?FLOW_ID=' . $FLOW_ID);
echo '
</body>
</html>
';
?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -