📄 jiashiyuantianjia.asp
字号:
<%xian=session("xian")
ljl_xian=mid(xian,15,1)
if ljl_xian<>1 then%>
<script language=vbscript>
MsgBox "错误:您无权使用本功能模块,如果确实需要操作本模块的权限,请与管理员联系!"
location.href = "../config/txt.asp"
</script>
<%end if%>
<html>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="ljl.css">
<title>oa</title>
<script language="javascript">
function ljl1()
{
if(document.ljl.a1.value.length<1)
{
alert("姓名不能为空!");
return ;
}
if(document.ljl.a1.value.indexOf("|")!=-1)
{
alert("无效姓名,名称中不可以用字符[|]!");
return ;
}
if(document.ljl.a2.value.length<6)
{
alert("请正确输入出生年月,格式为年-月-日!");
return ;
}
if(document.ljl.a12.value.length<10)
{
alert("请正确输入驾照号码!");
return ;
}
if(document.ljl.a4.value.length<1)
{
alert("驾照类型不能为空,没有的请填写[不详]!");
return ;
}
if(document.ljl.a5.value.length<1)
{
alert("照片地址不能为空,没有的请填写[无]!");
return ;
}
if(document.ljl.a6.value.length<8)
{
alert("驾照发放时间不能为空,格式如2004-01-16!");
return ;
}
if(document.ljl.a7.value.length<1)
{
alert("联系电话不能为空,如没有可填写[不详]!");
return ;
}
if(document.ljl.a8.value.length<1)
{
alert("联系地址不能为空,如没有可填写[不详]!");
return ;
}
if(document.ljl.a9.value.length<1)
{
alert("工作简历不能为空,如没有可填写[不详]!");
return ;
}
if(document.ljl.a10.value.length<1)
{
alert("备注信息不能为空,如没有可填写[不详]!");
return ;
}
if(document.ljl.a11.value.length<1)
{
alert("所驾车辆不能为空,如没有可填写[不详]!");
return ;
}
if(document.ljl.a12.value.length<1)
{
alert("驾照号码不能为空,如没有可填写[不详]!");
return ;
}
document.ljl.submit();
}
</script>
</head>
<body>
<div align="center">
<center>
<form name="ljl" method="POST" action="jiashiyuansave.asp?action=22">
<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#C0C0C0" width="487" id="AutoNumber1" height="259">
<tr>
<td height="39" width="485" colspan="4" bgcolor="#EEFFEE">
<p align="center"><font color="#FF0000">驾驶员信息添加 </font></td>
</tr>
<tr>
<td height="27" width="70" align="center" bgcolor="#EEFFEE">姓 名</td>
<td height="27" width="167"> <input type="text" name="a1" size="22"></td>
<td height="27" width="77" align="center" bgcolor="#EEFFEE">出生年月</td>
<td height="27" width="164"> <input type="text" name="a2" size="22"></td>
</tr>
<tr>
<td height="27" width="70" align="center" bgcolor="#EEFFEE">性 别</td>
<td height="27" width="167"> <input type="radio" value="男" checked name="a3">
男 <input type="radio" value="女" name="a3"> 女</td>
<td height="27" width="77" align="center" bgcolor="#EEFFEE">驾照类型</td>
<td height="27" width="164"> <input type="text" name="a4" size="22"></td>
</tr>
<tr>
<td height="27" width="70" align="center" bgcolor="#EEFFEE">照片地址</td>
<td height="27" width="167"> <input type="text" name="a5" size="22"></td>
<td height="27" width="77" align="center" bgcolor="#EEFFEE">驾照时间</td>
<td height="27" width="164"> <input type="text" name="a6" size="22"></td>
</tr>
<tr>
<td height="27" width="70" align="center" bgcolor="#EEFFEE">联系电话</td>
<td height="27" width="167"> <input type="text" name="a7" size="22"></td>
<td height="27" width="77" align="center" bgcolor="#EEFFEE">联系地址</td>
<td height="27" width="164"> <input type="text" name="a8" size="22"></td>
</tr>
<tr>
<td height="27" width="70" align="center" bgcolor="#EEFFEE">工作简历</td>
<td height="27" width="167"> <input type="text" name="a9" size="22"></td>
<td height="27" width="77" align="center" bgcolor="#EEFFEE">所驾车辆</td>
<td height="27" width="164"> <input type="text" name="a11" size="22"></td>
</tr>
<tr>
<td height="28" width="70" align="center" bgcolor="#EEFFEE">备注信息</td>
<td height="28" width="168"> <input type="text" name="a10" size="22" value="无"></td>
<td height="28" width="76" bgcolor="#EEFFEE"> 驾照号码</td>
<td height="28" width="163"> <input type="text" name="a12" size="22"></td>
</tr>
<tr>
<td height="53" width="478" align="center" colspan="4">
<a href="javascript:ljl1()">
<img border="0" src="BUconfirm.gif"></a>
<a href="javascript:document.ljl.reset()">
<img border="0" src="BUReset.gif"></a><span lang="en-us">
<a href="daibanlist.asp?action=4"><img border="0" src="fanhui.gif"></a></span></td>
</tr>
</table>
</form>
</center>
</div>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -