⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mod_info.asp

📁 职业培训学校学生档案成绩费用管理系统V1.0免费版.rar
💻 ASP
字号:
<!--#include file="conn.asp"-->
<%
if session("user")="" then
	response.write "您无此权限"
	response.end
end if

'------------------------------------------------------------------------------------
'该程序由湖北天门方正电脑学校网站部开发!
'本程序按社会职业培训机构学生管理要求编写,无任何抄袭代码和盗版之嫌,大家可下载随意修改,但请注明出处。
'学校声明:
'本程序是魂之自由自己辛苦写成的,希望大家能给个面子保留著作权信息,:)
'这个是第一个版本,有些地方没有考虑到,请大家在试用后给些意见,我好继续编写改进版
'联系QQ:858377
'网站:www.ok0728.com
'Email:858377@qq.com
'电话:0728-5235516 
'移动电话:13972622522
'------------------------------------------------------------------------------------
%>

<%
dim id
id=trim(request("id"))

set rs=server.createobject("adodb.recordset")
sql="select * from st_info where id="& id
rs.open sql,conn,1,1
dim us(5)
us(0)="在读"
us(1)="休学"
us(2)="毕业"
us(3)="实习"
us(4)="就业"
dim d(3)
d(0)="收费"
d(1)="缓缴"
d(2)="免费"
%>
<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>录入学生信息</title>
<link rel="stylesheet" href="style.css">
</head>

<body>

<div align="center">
  <center>
  <table border="0" width="500" cellspacing="0" cellpadding="0">
    <tr>
      <td width="100%">
        <form method="POST" action="mod_info1.asp">
        <input type="hidden" value=<%=rs("id")%> name="id">
          <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="20%" height="29" align="right">学号:</td>
              <td width="80%" align="left"><input name="user_number" type="text" value="<%=rs("user_number")%>" size="20" onMouseOver="this.select()"></td>
            </tr>
            <tr>
              <td width="20%" align="right">姓名:</td>
              <td width="80%" align="left"><input name="user_name" type="text" value="<%=rs("user_name")%>" size="20" onMouseOver="this.select()"></td>
            </tr>
			 <td width="20%" align="right">状态:</td>
              <td width="80%" align="left">
			  <select name="user_state">
			  <%
			  for i=0 to 4
			  if us(i)=rs("user_state") then
			  %>
			  <option value="<%=us(i)%>" selected><%=us(i)%></option>
			  <%else%>
			  <option value="<%=us(i)%>" ><%=us(i)%></option>
			  <%
			  end if
			  next
			  %>
              </select>
			  </td>
			 </tr>
            <tr>
                <td width="20%" align="right">入学时间:</td>
              <td width="80%" align="left"><input type="text" name="in_time" size="20" value=<%=rs("in_time")%> onMouseOver="this.select()">
                  (原准考证号)</td>
            </tr>
            <tr>
              <td width="20%" align="right">身份证号:</td>
              <td width="80%" align="left"><input name="user_idnumber" type="text" onMouseOver="this.select()" value="<%=rs("user_idnumber")%>" size="20"></td>
            </tr>
            <tr>
              <td width="20%" align="right">性别:</td>
              <td width="80%" align="left"><input type="radio" value="<%=rs("user_sex")%>" checked name="user_sex">
                  <font color="#FF0000"><%=rs("user_sex")%></font> 
                  <input type="radio" value="男" name="user_sex">男 
                <input type="radio" name="user_sex" value="女">女</td>
            </tr>
			
            <tr>
                <td width="20%" height="31" align="right">出生年月:</td>
              <td width="80%" align="left"><input type="text" name="user_time" size="20" value="<%=rs("user_time")%>" onMouseOver="this.select()">
                  格式输入如:1978-05-01</td>
            </tr>
			<tr>
                <td width="20%" align="right">婚姻情况:</td>
              <td width="80%" align="left"><input type="radio" value="<%=rs("marriage")%>" checked name="marriage">
                  <font color="#FF0000"><%=rs("marriage")%></font> 
                  <input name="marriage" type="radio" value="未婚">
                  未婚 
                  <input type="radio" name="marriage" value="已婚">
                  已婚
                  <input type="radio" name="marriage" value="保密">
                  保密 </td>
            </tr>
			<tr>
                <td width="20%" align="right">学历:</td>
               <td width="80%" align="left">
			   <input name="u_diploma" type="radio" value="<%=rs("u_diploma")%>" checked>
                  <font color="#FF0000"><%=rs("u_diploma")%></font> 
                  <input name="u_diploma" type="radio" 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="大学">
                  大学 
				  <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" value="<%=rs("lodging")%>" checked>
                  <font color="#FF0000"><%=rs("lodging")%></font> 
			  <input name="lodging" type="radio" value="走读">
                  走读 
                  <input type="radio" name="lodging" value="住读">
                  住读
				  <input type="radio" name="lodging" value="毕业以后住校">
                  毕业以后住校  
				  </td>
            </tr>
			<tr>
                <td width="20%" align="right">所报专业:</td>
              <td width="80%" align="left"><select size="1" name="user_major">
                <%
        set rs1=server.createobject("adodb.recordset")
        sql1="select * from subject"
        rs1.open sql1,conn,1,3
        %>
                <%do while not rs1.eof
				if rs1("subject")=rs("user_major") then
				%>
				<option value="<%=rs1("subject")%>" selected><%=rs1("subject")%></option>
				<%else%>
                <option value="<%=rs1("subject")%>"><%=rs1("subject")%></option>
				<%end if%>
                <%rs1.movenext%>
                <%loop%>
                <%rs1.close
				set rs1=nothing
				%>
              </select></td>
            </tr>
			<tr>
              <td width="20%" align="right">班级:</td>
              <td width="80%" align="left"><select size="1" name="user_class">
			  <option value="<%=rs("user_class")%>"><%=rs("user_class")%></option>
                    <%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">
			  <%
			  for i=0 to 2
			  if d(i)=rs("user_type")then%>
					<option selected><%=d(i)%></option>
			  <%else%>
					<option><%=d(i)%></option>
			  <%end if
			  next%>
                </select></td>
            </tr>
            <tr>
              <td width="20%" align="right">省市:</td>
              <td width="80%" align="left"><input name="user_city" type="text" value="<%=rs("user_city")%>" size="10" onMouseOver="this.select()"></td>
            </tr>
            <tr>
              <td width="20%" align="right">地县:</td>
              <td width="80%" align="left"><input name="user_area" type="text" onMouseOver="this.select()" value="<%=rs("user_area")%>" size="10"></td>
            </tr>
            <tr>
                <td width="20%" align="right">家庭地址:</td>
              <td width="80%" align="left"><input name="user_address" type="text" onMouseOver="this.select()" value="<%=rs("user_address")%>" size="30"></td>
            </tr>
            <tr>
              <td width="20%" align="right">邮编:</td>
              <td width="80%" align="left"><input name="user_postcode" type="text" onMouseOver="this.select()" value="<%=rs("user_postcode")%>" size="10"></td>
            </tr>
            <tr>
              <td width="20%" align="right">家庭电话:</td>
              <td width="80%" align="left"><input name="user_homephone" type="text" onMouseOver="this.select()" value="<%=rs("user_homephone")%>" size="20"></td>
            </tr>
            <tr>
              <td width="20%" align="right">寝室电话:</td>
              <td width="80%" align="left"><input name="user_bedroomphone" type="text" onMouseOver="this.select()" value="<%=rs("user_bedroomphone")%>" size="20"></td>
            </tr>
            <tr>
              <td width="20%" align="right">移动电话:</td>
              <td width="80%" align="left"><input name="user_mobilephoe" type="text" onMouseOver="this.select()" value="<%=rs("user_mobilephoe")%>" size="20"></td>
            </tr>
			<tr>
                <td width="20%" align="right">电子邮箱:</td>
                <td width="80%" align="left"><input name="user_mail" type="text" onMouseOver="this.select()" value="<%=rs("user_mail")%>" size="20"></td>
            </tr><tr>
                <td width="20%" align="right">QQ号码:</td>
              <td width="80%" align="left"><input name="user_qq" type="text" onMouseOver="this.select()" value="<%=rs("user_qq")%>" size="20"></td>
            </tr>
            
            
			
			<tr>
              <td width="20%" align="right">办证:</td>
                <td width="80%" align="left">
				<input name="certificate" type="radio" value="<%=rs("certificate")%>" checked>
                  <font color="#FF0000"><%=rs("certificate")%></font> 
                  <input name="certificate" type="radio" value="办证">
                  要求办证 
                  <input type="radio" name="certificate" value="不办证">
                  不办证
				  <input type="radio" name="certificate" value="以后办证">
				  以后办证
                  </td>
            </tr>
			<tr>
              <td width="20%" align="right">就业:</td>
                <td width="80%" align="left">
				<input name="employment" type="radio" value="<%=rs("employment")%>" checked>
                  <font color="#FF0000"><%=rs("employment")%></font> 
                  <input name="employment" type="radio" value="就业">
                  一定就业 
                  <input type="radio" name="employment" value="不就业">
                  不就业 
                  <input type="radio" name="employment" value="选择就业">
                  选择就业
				  </td>
            </tr>
            <tr>
                <td width="20%" align="right" valign="top">学费与办证<br>费用说明:</td>
              <td width="80%" align="left"><textarea name="user_collogetestach" cols="30" rows="3" onMouseOver="this.select()"><%=rs("user_collogetestach")%></textarea></td>
            </tr>
            <tr>
                <td width="20%" align="right" valign="top">家长留言:</td>
              <td width="80%" align="left"><textarea name="user_rp" cols="30" rows="3" onMouseOver="this.select()"><%=rs("user_rp")%></textarea></td>
            </tr>
            <tr>
              <td width="20%" align="right" valign="top">备注信息:</td>
              <td width="80%" align="left"><textarea name="user_info" cols="30" rows="3" onMouseOver="this.select()"><%=rs("user_info")%></textarea></td>
            </tr>
            <tr>
              <td colspan="2">
                <p align="center"><input type="submit" value="提交" name="B1"><input type="reset" value="全部重写" name="B2"></td>
            </tr>
          </table>
        </form>
      </td>
    </tr>
  </table>
  </center>
</div>

</body>

</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -