📄 checkup.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\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" );
?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -