checkup.php
来自「极限网络智能办公系统—MYOA26—100%—源程序。」· PHP 代码 · 共 36 行
PHP
36 行
<?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\r\n</body>\r\n</html>\r\n";
$connection = openconnection( );
$query = "update VEHICLE_USAGE set VU_STATUS='{$VU_STATUS}' where VU_ID='{$VU_ID}'";
exequery( $connection, $query );
$query = "select * from VEHICLE_USAGE where VU_ID='{$VU_ID}'";
$cursor = exequery( $connection, $query );
if ( $ROW = mysql_fetch_array( $cursor ) )
{
$VU_PROPOSER = $ROW['VU_PROPOSER'];
}
$SEND_TIME = date( "Y-m-d H:i:s", time( ) );
if ( $VU_STATUS == 0 )
{
$SMS_CONTENT = "您的车辆申请已被撤销!";
}
else if ( $VU_STATUS == 1 )
{
$SMS_CONTENT = "您的车辆申请已被批准!";
}
if ( $VU_STATUS == 3 )
{
$SMS_CONTENT = "您的车辆申请未被批准!";
}
if ( $VU_STATUS == 0 || $VU_STATUS == 1 || $VU_STATUS == 3 )
{
$query1 = "insert into SMS(FROM_ID,TO_ID,SMS_TYPE,CONTENT,SEND_TIME,REMIND_FLAG) values ('{$LOGIN_USER_ID}','{$VU_PROPOSER}','9','{$SMS_CONTENT}','{$SEND_TIME}','1')";
exequery( $connection, $query1 );
}
header( "location: index.php" );
echo "\r\n";
?>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?