📄 submit.php
字号:
<?
include_once 'inc/auth.php';
include_once 'inc/check_type.php';
include_once 'inc/utility_all.php';
echo '
<html>
<head>
<title>车辆使用信息修改</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body class="bodycolor" topmargin="5">
<table border="0" width="100%" cellspacing="0" cellpadding="3" class="small">
<tr>
<td class="Big"><img src="/images/notify_new.gif" align="absmiddle" width="22" height="18">';
echo '<s';
echo 'pan class="big3"> 车辆使用信息修改</span>
</td>
</tr>
</table>
';
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 != '') AND ($VU_END != '')) AND ($VU_END < $VU_START)))
{
message ('错误', '起始日期不能小于结束日期!');
button_back ();
exit ();
}
if ((($VU_MILEAGE != '') AND !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>
<center>
<input type="button" value="关闭" class="BigButton" onClick="window.close();" title="关闭窗口">
</center>
</body>
</html>';
?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -