📄 add_info.asp
字号:
<!--#include file="conn.asp"-->
<%
if session("user")="" then
response.write "您无此权限"
response.end
end if
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>录入学生信息</title>
<link rel="stylesheet" href="style.css">
</head>
<body topmargin="0">
<!--#include file="top.asp"-->
<div align="center">
<center>
<table width="738" height="35" cellspacing="0" cellpadding="0">
<td background="images/top_1.jpg"> <a href="info_manager.asp">学生信息列表</a>
| <a href="add_info.asp">录入学生信息</a> | <a href="search_st.asp">查询学生信息</a></table>
</center>
</div>
<div align="center">
<center>
<table border="0" width="500" cellspacing="0" cellpadding="0">
<tr>
<td width="100%">
<form method="POST" action="add_info1.asp">
<table border="1" width="100%" bordercolorlight="#000000" cellspacing="0" cellpadding="5" bordercolordark="#FFFFFF">
<tr>
<td colspan="2">
<p align="center">添加学生信息</td>
</tr>
<tr>
<td width="23%" align="right">姓名:</td>
<td width="77%" align="left"><input name="user_name" type="text" tabindex="2" size="20"></td>
</tr>
<tr>
<td width="23%" align="right">状态:</td>
<td width="77%" align="left">
<select name="user_state" tabindex="3">
<option value="在读" selected>在读</option>
<option value="休学" >休学</option>
<option value="毕业" >毕业</option>
<option value="实习" >实习</option>
<option value="就业" >就业</option>
</select>
</td>
</tr>
<tr>
<td width="23%" align="right">入学时间:</td>
<td width="77%" align="left"><input name="in_time" type="text" tabindex="4" onMouseOver="this.select()" value=<%=cstr(date())%> size="20">
(原准考证号)</td>
</tr>
<tr>
<td width="23%" align="right">身份证号:</td>
<td width="77%" align="left"><input name="user_idnumber" type="text" tabindex="5" onClick="this.select()" onMouseOver="this.select()" value="429006" size="20"></td>
</tr>
<tr>
<td width="23%" align="right">性别:</td>
<td width="77%" align="left"><input name="user_sex" type="radio" tabindex="6" value="男" checked>男
<input type="radio" name="user_sex" value="女">女</td>
</tr>
<tr>
<td width="23%" height="31" align="right">出生年月:</td>
<td width="77%" align="left"><input name="user_time" type="text" tabindex="7" onMouseOver="this.select()" value="19" size="20">
格式输入如:19780501</td>
</tr>
<tr>
<td width="23%" align="right">婚姻情况:</td>
<td width="77%" align="left"><input name="marriage" type="radio" tabindex="8" value="未婚" checked>
未婚
<input type="radio" name="marriage" value="已婚">
已婚
<input type="radio" name="marriage" value="保密">
保密 </td>
</tr>
<tr>
<td width="23%" align="right">学历:</td>
<td width="77%" align="left">
<input name="u_diploma" type="radio" tabindex="9" value="初中" checked>
初中
<input type="radio" name="u_diploma" value="高中">
高中
<input type="radio" name="u_diploma" value="中专">
中专
<input type="radio" name="u_diploma" value="大专">
大专
<input type="radio" name="u_diploma" value="大学">
大学
<input type="radio" name="u_diploma" value="小学">
小学</td>
</tr>
<tr>
<td width="23%" align="right">是否住宿:</td>
<td width="77%" align="left"><input name="lodging" type="radio" tabindex="10" value="走读" checked>
走读
<input type="radio" name="lodging" value="住读">
住读
<input type="radio" name="lodging" value="毕业以后住校">
停止住校
</td>
</tr>
<tr>
<td width="23%" align="right">所报专业:</td>
<td width="77%" align="left"><select size="1" name="user_major">
<%
set rs1=server.createobject("adodb.recordset")
sql1="select * from subject"
rs1.open sql1,conn,1,1
%>
<%do while not rs1.eof%>
<option value="<%=rs1("subject")%>"><%=rs1("subject")%></option>
<%rs1.movenext%>
<%loop%>
<%rs1.close
set rs1=nothing
%>
</select></td>
</tr>
<tr>
<td width="23%" align="right">班级:</td>
<td width="77%" align="left"><select name="user_class" size="1" tabindex="12">
<%set rs1=server.createobject("adodb.recordset")%>
<%sql1="select * from class"%>
<%rs1.open sql1,conn,3,3%>
<%do while not rs1.eof%>
<option value="<%=rs1("stclass")%>"><%=rs1("stclass")%></option>
<%rs1.movenext%>
<%loop%>
<%rs1.close%>
</select></td>
</tr>
<tr>
<td width="23%" align="right">类型:</td>
<td width="77%" align="left">
<select name="user_type" size="1" tabindex="12">
<option>收费</option>
<option>缓交</option>
<option>免费</option>
</select></td>
</tr>
<tr>
<td width="23%" align="right">省份:</td>
<td width="77%" align="left"><input name="user_city" type="text" tabindex="13" onMouseOver="this.select()" value="湖北" size="10"></td>
</tr>
<tr>
<td width="23%" align="right">市(县):</td>
<td width="77%" align="left"><input name="user_area" type="text" tabindex="14" onMouseOver="this.select()" value="天门" size="10"></td>
</tr>
<tr>
<td width="23%" align="right">家庭地址:</td>
<td width="77%" align="left"><input name="user_address" type="text" tabindex="15" onMouseOver="this.select()" value="湖北天门" size="30"></td>
</tr>
<tr>
<td width="23%" align="right">邮编:</td>
<td width="77%" align="left"><input name="user_postcode" type="text" tabindex="16" onMouseOver="this.select()" value="431700" size="10"></td>
</tr>
<tr>
<td width="23%" align="right">家庭电话:</td>
<td width="77%" align="left"><input name="user_homephone" type="text" tabindex="17" onMouseOver="this.select()" value="0728-" size="20"></td>
</tr>
<tr>
<td width="23%" align="right">寝室电话:</td>
<td width="77%" align="left"><input name="user_bedroomphone" type="text" tabindex="18" onMouseOver="this.select()" value="0728-" size="20"></td>
</tr>
<tr>
<td width="23%" align="right">移动电话:</td>
<td width="77%" align="left"><input name="user_mobilephoe" type="text" tabindex="19" onMouseOver="this.select()" value="13" size="20"> </td>
</tr>
<tr>
<td width="23%" align="right">电子邮箱:</td>
<td width="77%" align="left"><input name="user_mail" type="text" tabindex="20" onMouseOver="this.select()" value="@" size="20"></td>
</tr><tr>
<td width="23%" align="right">QQ号码:</td>
<td width="77%" align="left"><input name="user_qq" type="text" tabindex="21" onMouseOver="this.select()" value="无" size="20"></td>
</tr>
<tr>
<td width="23%" align="right">办证:</td>
<td width="77%" align="left">
<input name="certificate" type="radio" tabindex="22" value="办证" checked>
要求办证
<input type="radio" name="certificate" value="不办证">
不办证
<input type="radio" name="certificate" value="以后办证">
以后办证
</td>
</tr>
<tr>
<td width="23%" align="right">就业:</td>
<td width="77%" align="left">
<input name="employment" type="radio" tabindex="23" value="就业" checked>
一定就业
<input type="radio" name="employment" value="不就业">
不就业
<input type="radio" name="employment" value="选择就业">
选择就业
</td>
</tr>
<tr>
<td width="23%" align="right" valign="top">学费与办证<br>费用说明:</td>
<td width="77%" align="left"><textarea name="user_collogetestach" cols="30" rows="3" tabindex="24" onMouseOver="this.select()">无</textarea></td>
</tr>
<tr>
<td width="23%" align="right" valign="top">家长留言:</td>
<td width="77%" align="left"><textarea name="user_rp" cols="30" rows="3" tabindex="25" onMouseOver="this.select()">无</textarea></td>
</tr>
<tr>
<td width="23%" align="right" valign="top">备注信息:</td>
<td width="77%" align="left"><textarea name="user_info" cols="30" rows="3" tabindex="26" onMouseOver="this.select()">无</textarea></td>
</tr>
<tr>
<td colspan="2">
<p align="center"><input name="B1" type="submit" tabindex="27" value="提交"><input name="B2" type="reset" tabindex="28" value="全部重写"></td>
</tr>
</table>
</form>
</td>
</tr>
</table>
</center>
</div>
<!--#include file="down.asp"-->
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -