📄 addcar.asp
字号:
<%
if session("pwd")<>"pass" then
response.Redirect "../hcy/login.asp"
response.end
end if
%>
<html>
<head>
<link href="../AppMain.css" rel="stylesheet" type="text/css">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>货车大队在册车辆登记</title>
<style type="text/css">
<!--
.style1 {color: #FFFFFF}
-->
</style>
</head>
<body bgcolor="#e1f4ee">
<table width="379" align="center" class="TOOLBARTABLE">
<tr>
<td width="371" height="50">
<div align="center"><font size="6" face="隶书">货车大队<font color="#000000">在册</font>车辆登记</font></div></td>
</tr>
</table>
<table width="284" align="center">
<tr>
<td width="276"><form name="form1" onSubmit="return CheckForm()" method="post" action="carsave.asp">
<table width="265" border="1" cellpadding="0" cellspacing="0" bordercolorlight="#e1f4ee" bordercolordark="#214654" class="TOOLBARTABLE">
<tr>
<td width="62"><font color="#000000">序 号:</font></td>
<td width="187"><input name="aa" type="text" class="input_plane2" id="aa" onmouseover="this.style.backgroundColor='#e1f4ee'" onmouseout="this.style.backgroundColor='#ffffff'" ></td>
</tr>
<tr>
<td><font color="#000000">经营者:</font></td>
<td><input name="bb" type="text" class="input_plane2" id="bb" onmouseover="this.style.backgroundColor='#e1f4ee'" onmouseout="this.style.backgroundColor='#ffffff'" ></td>
</tr>
<tr>
<td><font color="#000000">车牌号:</font></td>
<td><input name="cc" type="text" class="input_plane2" id="cc" onmouseover="this.style.backgroundColor='#e1f4ee'" onmouseout="this.style.backgroundColor='#ffffff'"></td>
</tr>
<tr>
<td><font color="#000000">吨 位:</font></td>
<td><input name="dd" type="text" class="input_plane2" id="dd" onmouseover="this.style.backgroundColor='#e1f4ee'" onmouseout="this.style.backgroundColor='#ffffff'"></td>
</tr>
<tr>
<td><font color="#000000">上交基数:</font></td>
<td><input name="ee" type="text" class="input_plane2" id="ee" onmouseover="this.style.backgroundColor='#e1f4ee'" onmouseout="this.style.backgroundColor='#ffffff'"></td>
</tr>
<tr>
<td><font color="#000000">合同期限:</font></td>
<td><input name="ff" type="text" class="input_plane2" id="ff" onmouseover="this.style.backgroundColor='#e1f4ee'" onmouseout="this.style.backgroundColor='#ffffff'"></td>
</tr>
<tr>
<td><font color="#000000">车辆属性:</font></td>
<td><select name="hh" id="hh">
<option value="请选择车辆属性" selected>请选择车辆属性</option>
<option value="公营车">公营车</option>
<option value="货运出租车">货运出租车</option>
<option value="挂靠车">挂靠车</option>
<option value="零担车">零担车</option>
<option value="危险品车">危险品车</option>
<option value="短驳车辆">短驳车辆</option>
</select></td>
</tr>
<tr>
<td><font color="#000000">备 注:</font></td>
<td><input name="gg" type="text" class="input_plane2" id="gg" onmouseover="this.style.backgroundColor='#e1f4ee'" onmouseout="this.style.backgroundColor='#ffffff'"></td>
</tr>
<tr>
<td><font color="#e1f4ee"> </font></td>
<td><br><input name="Submit" type="submit" class="button" value="确定登记">
<input name="Submit2" type="reset" class="button" value="重新再来"></td>
</tr>
</table>
</form></td>
</tr>
</table>
</body>
</html>
<script language=javascript>
function CheckForm()
{
if(document.form1.aa.value=="")
{
alert("请输入序号!");
document.form1.aa.focus();
return false;
}
if(document.form1.bb.value == "")
{
alert("请输入经营者!");
document.form1.bb.focus();
return false;
}
if(document.form1.cc.value == "")
{
alert("请输入车牌号!");
document.form1.cc.focus();
return false;
}
if(document.form1.dd.value == "")
{
alert("请输入吨位!");
document.form1.dd.focus();
return false;
}
if(document.form1.hh.value == "请选择车辆属性")
{
alert("请选择车辆属性!");
document.form1.hh.focus();
return false;
}
}
</script>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -