📄 adddriver1.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>
</head>
<body bgcolor="#e1f4ee">
<table width="290" align="center" class="TOOLBARTABLE">
<tr>
<td><div align="center"><font color="#000000" size="5" face="隶书">聘用驾驶员信息登记</font></div></td>
</tr>
</table>
<table width="290" align="center" class="TOOLBARTABLE">
<tr>
<td width="306"><form name="form1" method="post" onSubmit="return CheckForm()" action="driver1save.asp">
<table width="276" border="1" align="center" cellpadding="0" cellspacing="0" bordercolorlight="#000000" bordercolordark="#FFFFFF" class="TOOLBARTABLE">
<tr>
<td><font color="#000000">编号:</font></td>
<td><input name="aa1" type="text" class="input_plane2" id="aa1" onmouseover="this.style.backgroundColor='#e1f4ee'" onmouseout="this.style.backgroundColor='#ffffff'"></td>
</tr>
<tr>
<td><font color="#000000">聘用驾驶员名字: </font></td>
<td><input name="aa" type="text" class="input_plane2" id="aa" onmouseover="this.style.backgroundColor='#e1f4ee'" onmouseout="this.style.backgroundColor='#ffffff'"></td>
</tr>
<tr>
<td width="99"><font color="#000000">性 别:</font></td>
<td width="171"><select name="bb" id="bb">
<option value="男性">男性</option>
<option value="女性">女性</option>
</select></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="gg" id="gg">
<option value="请选择驾驶车类" selected>请选择驾驶车类</option>
<option value="A类车">A类车</option>
<option value="B类车">B类车</option>
<option value="C类车">C类车</option>
</select></td>
</tr>
<tr>
<td><font color="#000000">联系号码:</font></td>
<td><input name="hh" type="text" class="input_plane2" id="hh" onmouseover="this.style.backgroundColor='#e1f4ee'" onmouseout="this.style.backgroundColor='#ffffff'"></td>
</tr>
</table>
<p> </p>
<table width="280" align="center">
<tr>
<td width="336"><div align="center">
<input name="Submit" type="submit" class="button" onmouseover="this.style.backgroundColor='#e1f4ee'" onmouseout="this.style.backgroundColor='#cccccc'" value="确定提交">
<input name="Submit2" type="reset" class="button" onmouseover="this.style.backgroundColor='#e1f4ee'" onmouseout="this.style.backgroundColor='#cccccc'" value="重新再来">
</div></td>
</tr>
</table>
</form></td>
</tr>
</table><br>
<table width="290" align="center" cellpadding="0" cellspacing="0" class="TOOLBARTABLE">
<tr>
<td><span class="ShortCutButton"><font color="#FF0000">不需要添加此项目!!</font></span><a href="../user/user.asp">返回到首页面........</a></td>
</tr>
</table>
<p> </p>
</body>
</html>
<script language=javascript>
function CheckForm()
{
if(document.form1.aa.value=="")
{
alert("请输入聘用驾驶员名字!");
document.form1.aa.focus();
return false;
}
if(document.form1.hh.value == "")
{
alert("请输入联系号码!");
document.form1.hh.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.ff.value == "")
{
alert("请输入驾驶证号码!");
document.form1.ff.focus();
return false;
}
}
</script>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -