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

📄 submit.php

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

include_once( "inc/auth.php" );
include_once( "inc/check_type.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<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"3\" class=\"small\">\r\n  <tr>\r\n    <td class=\"Big\"><img src=\"/images/notify_new.gif\" align=\"absmiddle\" width=\"22\" height=\"18\"><span class=\"big3\"> 车辆使用信息修改</span>\r\n    </td>\r\n  </tr>\r\n</table>\t\r\n\r\n";
if ( $VU_END != "" )
{
	$TIME_OK = is_date_time( $VU_END );
	if ( !$TIME_OK )
	{
		message( "错误", "结束时间格式不对,应形如 1999-1-2 09:30:00" );
		button_back( );
		exit( );
	}
}
if ( $VU_START != "" && $VU_END != "" && $VU_END < $VU_START )
{
	message( "错误", "起始日期不能小于结束日期!" );
	button_back( );
	exit( );
}
if ( $VU_MILEAGE != "" && !is_numeric( $VU_MILEAGE ) )
{
	message( "错误", "里程应为数字!" );
	button_back( );
	exit( );
}
$query = "update VEHICLE_USAGE set VU_END='".$VU_END."',VU_DESTINATION='{$VU_DESTINATION}',VU_MILEAGE='{$VU_MILEAGE}',VU_REMARK='{$VU_REMARK}' where VU_ID={$VU_ID}";
exequery( $connection, $query );
message( "提示", "修改成功!" );
echo "<br><br>\r\n<center>\r\n        <input type=\"button\" value=\"关闭\" class=\"BigButton\" onClick=\"window.close();\" title=\"关闭窗口\">\r\n</center>\r\n</body>\r\n</html>";
?>

⌨️ 快捷键说明

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