checkup.php
来自「极限网络智能办公系统 - Office Automation 2.8 100% 」· PHP 代码 · 共 35 行
PHP
35 行
<?php
include_once( "inc/auth.php" );
include_once( "inc/utility_sms1.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 = "select * from VEHICLE_USAGE where VU_ID='{$VU_ID}'";
$cursor = exequery( $connection, $query );
if ( $ROW = mysql_fetch_array( $cursor ) )
{
$VU_PROPOSER = $ROW['VU_PROPOSER'];
$VU_STATUS1 = $ROW['VU_STATUS'];
}
$query = "update VEHICLE_USAGE set VU_STATUS='{$VU_STATUS}' where VU_ID='{$VU_ID}'";
exequery( $connection, $query );
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 )
{
send_sms( "", $LOGIN_USER_ID, $VU_PROPOSER, 9, $SMS_CONTENT );
}
header( "location: query.php?VU_STATUS={$VU_STATUS1}" );
?>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?