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

📄 delete.php

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

include_once( "inc/auth.php" );
include_once( "inc/utility_all.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";
$query = "delete from TRAIN_APPLY where APPLY_TID='".$APPLY_TID."' and APPLYER='{$APPLYER}'";
exequery( $connection, $query );
$query = "select * from TRAIN_NEWCOURSE where TRAINING_ID='".$APPLY_TID."'";
$cursor = exequery( $connection, $query );
if ( $ROW = mysql_fetch_array( $cursor ) )
{
	$MUST_LEARNER = $ROW['MUST_LEARNER'];
}
$APPLYER1 = $APPLYER.",";
$MUST_LEARNER = str_replace( $APPLYER1, "", $MUST_LEARNER );
$query = "update TRAIN_NEWCOURSE set MUST_LEARNER='".$MUST_LEARNER."' where TRAINING_ID='{$APPLY_TID}'";
exequery( $connection, $query );
$query = "select * from TRAIN_APPOINT_MUSTER where TRAINING_ID='".$APPLY_TID."' and APPOINT_USER_ID='{$LOGIN_USER_ID}'";
$cursor = exequery( $connection, $query );
$APPOINT_MUSTER = "";
while ( $ROW = mysql_fetch_array( $cursor ) )
{
	$APPOINT_MUSTER .= $ROW['APPOINT_MUSTER'];
}
$APPOINT_MUSTER = str_replace( $APPLYER1, "", $APPOINT_MUSTER );
$query = "update TRAIN_APPOINT_MUSTER set APPOINT_MUSTER='".$APPOINT_MUSTER."' where APPOINT_USER_ID='{$LOGIN_USER_ID}' and TRAINING_ID='{$APPLY_TID}'";
exequery( $connection, $query );
header( "location: query.php?APPLY_STATUS=1" );
echo "\r\n</body>\r\n</html>\r\n";
?>

⌨️ 快捷键说明

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