📄 choose.asp
字号:
<link rel="stylesheet" type="text/css" href="style.css">
<body topmargin="0" leftmargin="0" bgcolor="#dddddd">
<br>
<br>
<br>
<br>
<!--#include file="conn.asp"-->
<%
dim bh
aspname=request("aspname")
action=request("ch_name")
sql="select top 10 * from zjxx order by zjxx_orderno asc"
set choosers=server.createobject("adodb.recordset")
choosers.open sql,conn,1,1
if not choosers.eof then
x=choosers.recordcount-1
action1="n"
else
action1="y"
end if
%>
<%
bh=request("bh1")
xm=request("xm1")
xb=request("xb1")
gj=request("gj1")
zgxw=request("zgxw1")
szbm=request("szbm1")
lxdz=request("lxdz1")
mail=request("mail1")
action2=request("action")
%>
<%action3=request("delete")%>
<%action4=request("add")%>
<%if action1="n" then%>
<%if action="查询基本信息" or action2="查询基本信息" then%>
<table width="100%" height="195" border="0" cellpadding="0" cellspacing="0" bordercolor="#D6CFCE" background=>
<tr>
<td height="28"> <table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><div align="center"><strong>查询基本信息表</strong></div></td>
</tr>
<tr>
<td align="left"> </td>
<td> </td>
<td align="left"></div></td>
<td> </td>
</tr>
<tr>
<td align="left"> </td>
<td> </td>
<td align="left"></div></td>
<td> </td>
</tr>
</table></td>
</tr>
<tr>
<td height="165"> <div align="right">
<form name="form2" class="" method="post" action="chaxun.asp">
<table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="20%" align="left">编号:</td>
<td width="30%"><input name="bh" type=text value="<%=bh%>" id="bh" style="BORDER-RIGHT: #ffffff 1px groove; BORDER-TOP: #ffffff 1px groove; FONT: 12px Verdana,Geneva,sans-serif; BORDER-LEFT: #ffffff 1px groove; WIDTH: 160px; COLOR: #000000; BORDER-BOTTOM: #ffffff 1px groove; HEIGHT: 18px; BACKGROUND-COLOR: #dff1f9" size=12 maxlength=20></td>
<td width="20%" align="left">姓名:</div></td>
<td width="30%"><input name="xm" type=text readonly="" value="<%=xm%>" id="xm" style="BORDER-RIGHT: #ffffff 1px groove; BORDER-TOP: #ffffff 1px groove; FONT: 12px Verdana,Geneva,sans-serif; BORDER-LEFT: #ffffff 1px groove; WIDTH: 160px; COLOR: #000000; BORDER-BOTTOM: #ffffff 1px groove; HEIGHT: 18px; BACKGROUND-COLOR: #C0C0C0" size=12 maxlength=80></td>
</tr>
<tr>
<td align="left"> </td>
<td> </td>
<td align="left"></div></td>
<td> </td>
</tr>
<tr>
<td align="left">性别:</td>
<td><input name="xb" type=text id="xb" style="BORDER-RIGHT: #ffffff 1px groove; BORDER-TOP: #ffffff 1px groove; FONT: 12px Verdana,Geneva,sans-serif; BORDER-LEFT: #ffffff 1px groove; WIDTH: 160px; COLOR: #000000; BORDER-BOTTOM: #ffffff 1px groove; HEIGHT: 18px; BACKGROUND-COLOR: #C0C0C0" readonly="" value="<%=xb%>" size=12 maxlength=20></td>
<td align="left">国籍:</div></td>
<td><input name="gj" type=text id="gj" style="BORDER-RIGHT: #ffffff 1px groove; BORDER-TOP: #ffffff 1px groove; FONT: 12px Verdana,Geneva,sans-serif; BORDER-LEFT: #ffffff 1px groove; WIDTH: 160px; COLOR: #000000; BORDER-BOTTOM: #ffffff 1px groove; HEIGHT: 18px; BACKGROUND-COLOR: #C0C0C0" readonly="" value="<%=gj%>" size=12 maxlength=20></td>
</tr>
<tr>
<td align="left"> </td>
<td> </td>
<td align="left" ></div></td>
<td> </td>
</tr>
<tr>
<td align="left">最高学位:</td>
<td><input name="zgxw" type=text id="zgxw" style="BORDER-RIGHT: #ffffff 1px groove; BORDER-TOP: #ffffff 1px groove; FONT: 12px Verdana,Geneva,sans-serif; BORDER-LEFT: #ffffff 1px groove; WIDTH: 160px; COLOR: #000000; BORDER-BOTTOM: #ffffff 1px groove; HEIGHT: 18px; BACKGROUND-COLOR: #C0C0C0" readonly="" value="<%=zgxw%>" size=12 maxlength=20></td>
<td align="left">所在部门:</div></td>
<td><input name="szbm" type=text id="szbm" style="BORDER-RIGHT: #ffffff 1px groove; BORDER-TOP: #ffffff 1px groove; FONT: 12px Verdana,Geneva,sans-serif; BORDER-LEFT: #ffffff 1px groove; WIDTH: 160px; COLOR: #000000; BORDER-BOTTOM: #ffffff 1px groove; HEIGHT: 18px; BACKGROUND-COLOR: #C0C0C0" readonly="" value="<%=szbm%>" size=12 maxlength=20></td>
</tr>
<tr>
<td align="left"> </td>
<td> </td>
<td align="left"></div></td>
<td> </td>
</tr>
<tr>
<td align="left">联系地址:</td>
<td><input name="lxdz" type=text id="lxdz" style="BORDER-RIGHT: #ffffff 1px groove; BORDER-TOP: #ffffff 1px groove; FONT: 12px Verdana,Geneva,sans-serif; BORDER-LEFT: #ffffff 1px groove; WIDTH: 160px; COLOR: #000000; BORDER-BOTTOM: #ffffff 1px groove; HEIGHT: 18px; BACKGROUND-COLOR: #C0C0C0" readonly="" value="<%=lxdz%>" size=12 maxlength=20></td>
<td align="left">E-mail:</div></td>
<td><input name="mail" type=text id="mail" style="BORDER-RIGHT: #ffffff 1px groove; BORDER-TOP: #ffffff 1px groove; FONT: 12px Verdana,Geneva,sans-serif; BORDER-LEFT: #ffffff 1px groove; WIDTH: 160px; COLOR: #000000; BORDER-BOTTOM: #ffffff 1px groove; HEIGHT: 18px; BACKGROUND-COLOR: #C0C0C0" readonly="" value="<%=mail%>" size=12 maxlength=20></td>
</tr>
<tr>
<td align="left"> </td>
<td> </td>
<td align="left"></div></td>
<td> </td>
</tr>
<tr>
<td align="left"> </td>
<td> </td>
<td></div></td>
<td> </td>
</tr>
<tr>
<td colspan="4"> <div align="center">
<INPUT type="submit" value="查 询" name=Submitx style="background-color: #DDDDDD; background-repeat: repeat; background-attachment: scroll; font-size: 9pt; height: 20; width: 50; border: 1px groove #000000; background-position: 0% 50%">
</div></td>
</tr>
</table>
</form>
</div></td>
</tr>
</table>
<%end if%>
<%if action="删除基本信息" or action3="删除基本信息" then%>
<table width="75%" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#c0c0c0">
<tr>
<td colspan="8"><div align="center"><%=action%></div></td>
</tr>
<tr bgcolor="#C0C0C0">
<td width="10%"><div align="center">编号</div></td>
<td width="10%"><div align="center">姓名</div></td>
<td width="10%"><div align="center">性别</div></td>
<td width="10%"><div align="center">国籍</div></td>
<td width="10%"><div align="center">最高学位</div></td>
<td width="20%"><div align="center">所在部门</div></td>
<td width="10%"><div align="center">联系地址</div></td>
<td width="10%"><div align="center">E-mail</div></td>
</tr>
<%for i=0 to x%>
<tr>
<td width="10%"><div align="center"><%=choosers(0)%></div></td>
<td width="10%"><div align="center"><%=choosers(1)%></div></td>
<td width="10%"><div align="center"><%=choosers(2)%></div></td>
<td width="10%"><div align="center"><%=choosers(3)%></div></td>
<td width="10%"><div align="center"><%=choosers(4)%></div></td>
<td width="20%"><div align="center"><%=choosers(5)%></div></td>
<td width="10%"><div align="center"><%=choosers(6)%></div></td>
<td width="10%"><div align="center"><%=choosers(7)%></div></td>
<td width="10%"><div align="center"><a href="delete.asp?zjxx_orderno=<%=choosers(0)%>"><font color=red>删除</font></a></div></td>
</tr>
<%choosers.movenext
next
%>
<tr>
<td bgcolor="#C0C0C0" colspan="8">
<table align="right" width="50%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="30%"><div align="center">上一页</div></td>
<td width="30%"><div align="center">下一页</div></td>
<td width="40%"><div align="center">最后页</div></td>
</tr>
</table></td>
</tr>
</table>
<%end if%>
<%if action="添加基本信息" or action4="添加基本信息" then%>
<table width="100%" height="195" border="0" cellpadding="0" cellspacing="0" bordercolor="#D6CFCE" background=>
<tr>
<td height="28"> <table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><div align="center"><strong>添加基本信息表</strong></div></td>
</tr>
<tr>
<td align="left"> </td>
<td> </td>
<td align="left"></div></td>
<td> </td>
</tr>
<tr>
<td align="left"> </td>
<td> </td>
<td align="left"></div></td>
<td> </td>
</tr>
</table></td>
</tr>
<tr>
<td height="165"> <div align="right">
<form name="form1" class="" method="post" action="add.asp">
<table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="20%" align="left">编号:</td>
<td width="30%"><input name="bh" type=text value="<%=bh%>" id="bh" style="BORDER-RIGHT: #ffffff 1px groove; BORDER-TOP: #ffffff 1px groove; FONT: 12px Verdana,Geneva,sans-serif; BORDER-LEFT: #ffffff 1px groove; WIDTH: 160px; COLOR: #000000; BORDER-BOTTOM: #ffffff 1px groove; HEIGHT: 18px; BACKGROUND-COLOR: #C0C0C0" size=12 maxlength=20>(*必填)</td>
<td width="20%" align="left">姓名:</div></td>
<td width="30%"><input name="xm" type=text value="<%=xm%>" id="xm" style="BORDER-RIGHT: #ffffff 1px groove; BORDER-TOP: #ffffff 1px groove; FONT: 12px Verdana,Geneva,sans-serif; BORDER-LEFT: #ffffff 1px groove; WIDTH: 160px; COLOR: #000000; BORDER-BOTTOM: #ffffff 1px groove; HEIGHT: 18px; BACKGROUND-COLOR: #dff1f9" size=12 maxlength=80></td>
</tr>
<tr>
<td align="left"> </td>
<td> </td>
<td align="left"></div></td>
<td> </td>
</tr>
<tr>
<td align="left">性别:</td>
<td><input name="xb" type=text id="xb" style="BORDER-RIGHT: #ffffff 1px groove; BORDER-TOP: #ffffff 1px groove; FONT: 12px Verdana,Geneva,sans-serif; BORDER-LEFT: #ffffff 1px groove; WIDTH: 160px; COLOR: #000000; BORDER-BOTTOM: #ffffff 1px groove; HEIGHT: 18px; BACKGROUND-COLOR: #dff1f9" value="<%=xb%>" size=12 maxlength=20></td>
<td align="left">国籍:</div></td>
<td><input name="gj" type=text id="gj" style="BORDER-RIGHT: #ffffff 1px groove; BORDER-TOP: #ffffff 1px groove; FONT: 12px Verdana,Geneva,sans-serif; BORDER-LEFT: #ffffff 1px groove; WIDTH: 160px; COLOR: #000000; BORDER-BOTTOM: #ffffff 1px groove; HEIGHT: 18px; BACKGROUND-COLOR: #dff1f9" value="<%=gj%>" size=12 maxlength=20></td>
</tr>
<tr>
<td align="left"> </td>
<td> </td>
<td align="left" ></div></td>
<td> </td>
</tr>
<tr>
<td align="left">最高学位:</td>
<td><input name="zgxw" type=text id="zgxw" style="BORDER-RIGHT: #ffffff 1px groove; BORDER-TOP: #ffffff 1px groove; FONT: 12px Verdana,Geneva,sans-serif; BORDER-LEFT: #ffffff 1px groove; WIDTH: 160px; COLOR: #000000; BORDER-BOTTOM: #ffffff 1px groove; HEIGHT: 18px; BACKGROUND-COLOR: #dff1f9" value="<%=zgxw%>" size=12 maxlength=20></td>
<td align="left">所在部门:</div></td>
<td><input name="szbm" type=text id="szbm" style="BORDER-RIGHT: #ffffff 1px groove; BORDER-TOP: #ffffff 1px groove; FONT: 12px Verdana,Geneva,sans-serif; BORDER-LEFT: #ffffff 1px groove; WIDTH: 160px; COLOR: #000000; BORDER-BOTTOM: #ffffff 1px groove; HEIGHT: 18px; BACKGROUND-COLOR: #dff1f9" value="<%=szbm%>" size=12 maxlength=20></td>
</tr>
<tr>
<td align="left"> </td>
<td> </td>
<td align="left"></div></td>
<td> </td>
</tr>
<tr>
<td align="left">联系地址:</td>
<td><input name="lxdz" type=text id="lxdz" style="BORDER-RIGHT: #ffffff 1px groove; BORDER-TOP: #ffffff 1px groove; FONT: 12px Verdana,Geneva,sans-serif; BORDER-LEFT: #ffffff 1px groove; WIDTH: 160px; COLOR: #000000; BORDER-BOTTOM: #ffffff 1px groove; HEIGHT: 18px; BACKGROUND-COLOR: #dff1f9" value="<%=lxdz%>" size=12 maxlength=20></td>
<td align="left">E-mail:</div></td>
<td><input name="mail" type=text id="mail" style="BORDER-RIGHT: #ffffff 1px groove; BORDER-TOP: #ffffff 1px groove; FONT: 12px Verdana,Geneva,sans-serif; BORDER-LEFT: #ffffff 1px groove; WIDTH: 160px; COLOR: #000000; BORDER-BOTTOM: #ffffff 1px groove; HEIGHT: 18px; BACKGROUND-COLOR: #dff1f9" value="<%=mail%>" size=12 maxlength=20></td>
</tr>
<tr>
<td align="left"> </td>
<td> </td>
<td align="left"></div></td>
<td> </td>
</tr>
<tr>
<td align="left"> </td>
<td> </td>
<td></div></td>
<td> </td>
</tr>
<tr>
<td colspan="4"> <div align="center">
<INPUT type=submit value=' 提 交 ' name=Submitn style="background-color: #DDDDDD; background-repeat: repeat; background-attachment: scroll; font-size: 9pt; height: 20; width: 50; border: 1px groove #000000; background-position: 0% 50%">
<INPUT name="reset" type=reset style="background-color: #DDDDDD; background-repeat: repeat; background-attachment: scroll; font-size: 9pt; height: 20; width: 50; border: 1px groove #000000; background-position: 0% 50%" value=' 重置 '>
</div></td>
</tr>
</table>
</form>
</div></td>
</tr>
</table>
<%end if%>
<%elseif action1="y" then%>
<script>
alert('请先录入基本信息!');
if(confirm("您想现在就开始录入第一个基本信息吗?"))
window.location="hx_xxlrxm.asp"
</script>
<%end if%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -