<!--#include file="../checkLogin.asp"-->
<!--#include file="../SQLconn.asp"-->
<html>
<head>
<title>修改学生资料</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">

<link rel="stylesheet" type="text/css" href="../images/<%=request.cookies("imgdir")%>/css/style.css" media="all"/>
</head>


<p></p>
  <%
  
 
 

'检查权限
       tname=request.cookies("tname") 
       Set MyOAASPObj= Server.CreateObject("YFSchoolOApro.YFSchoolDll")
           if MyOAASPObj.QuanXian(tname,"学籍管理")=0 then 
		    response.redirect  "../NoPower.asp"
           end if 
		   set MyOAASPObj=nothing

'检查权限结束
  
  
  
 strID = TRIM( Request( "id" ) )
 Set RS = Conn.Execute("select * from students where  id='"&strID& "'") %>

			<form name="form1" method="post" action="saveModify.asp?id=<%=strID%>">
			<table width="70" border="1" align="center" cellpadding="10" cellspacing="0" bgcolor="#F7FCFF" style="border-collapse:collapse">
			<tr>
			<td><table width="634" align="center" border="0" cellpadding="3"   cellspacing="0"  bordercolor="#6D8DD8">
			<tr>
			  <td class="STYLE1"><div align="right">入学年份</div></td>
			  <td><input name="ruxueyear" class="text" id="ruxueyear" size="21"  readonly="true" value=<%=RS( "入学年份" )%> ></td>
			  <td align="center" class="STYLE1"><div align="right">学籍号</div></td>
			  <td><input name="tongyibianhao" class="text" id="tongyibianhao" size="21"  readonly="true"   value=<%=RS( "tongyibianhao" )%> ></td>
			  </tr>
			<tr>
			<td width="116" class="STYLE1"><div align="right">年级</div></td>
			<td width="218"><input name="selgrade" class="text" id="selgrade" size="21"  readonly="true" value=<%=RS( "grade" )%> >
			<div align="center"></div></td>
			<td width="106" align="center" class="STYLE1"><p align="right">班别</p></td>
			<td width="226"><input name="selclass" class="text" id="selclass" size="21"  readonly="true" value=<%=RS( "class" )%> >          </td>
			</tr>
			<tr>
			<td width="116" class="STYLE1"><div align="right">班中学号</div></td>
			<td><div align="center">
			<div align="left">
			  <input name="Number" class="text" id="Number"  size="10" value=<%=RS( "number" )%>>
			</div>
			</div></td>
			<td class="STYLE1"><div align="right">学生姓名</div></td>
			<td><input name="uname" class="text" id="uname" size="15" maxlength="15" value=<%=RS( "Uname" )%> ></td>
			</tr>
			<tr>
			<td width="116" class="STYLE1"><div align="right">性别</div></td>
			<td width="218"><select name="sex" style="WIDTH: 130px" size="1">
              <option selected><%=RS( "sex" )%></option>
              <option>男</option>
              <option>女</option>
            </select></td>
			<td width="106" align="center" class="STYLE1"><p align="right">身份证号码</p></td>
			<td align="left" width="226"><div align="left">
			  <input name="shengfenzhenghao" class="text" id="shengfenzhenghao" size="15" maxlength="15" value=<%=RS( "身份证号码" )%> >
			</div></td>
			</tr>
			<tr>
			<td width="116" class="STYLE1"><div align="right">学生来源</div>
			<td width="218"><div align="left">
			<select size="1" name="slaiyuan" style="WIDTH: 130px">
			<option selected><%=RS( "xslaiyuan" )%></option>
			<option>招生</option>
			<option>转入</option>
			<option>复学</option>
			<option>其他</option>
			</select>
			</div></td>
			<td width="106" align="center" class="STYLE1"><div align="right">家长姓名</div></td>
			<td align="left" width="226"><div align="left">
			<input name="jiazhangxingming" class="text"  size="21" value=<%=RS( "jiazhangxingming" )%>>
			</div></td>
			</tr>
			<tr>
			  <td class="STYLE1"><div align="right">和家长关系</div></td>
			  <td><input name="jiazhangguanxi" class="text" id="jiazhangguanxi" size="21"  value=<%=RS( "和家长关系" )%>  ></td>
			  <td><div align="right"><span class="STYLE1">家长工作单位</span></div></td>
			  <td><input name="jiazhangdanwei" class="text" id="jiazhangdanwei"   size="21" value=<%=RS( "家长工作单位" )%>></td>
			</tr>
			<tr>
			<td width="116" class="STYLE1"><div align="right">家庭地址</div></td>
			<td colspan="3"><div align="left"> <font size="2" color="#000000">
			<input name="jiatingdizhi" class="text"  size="65" maxlength="60" value=<%=RS( "jiatingdizhi" )%>>
			<span class="STYLE1"> (详细)</span></div></td>
			</tr>
			<tr>
			<td width="116" height="25" class="STYLE1"><div align="right">出生日期</div></td>
			<td width="218" height="25"><div align="left">
			<input name="bdate" class="text"  size="10"  value=<%=RS( "birthday" )%>>
			<span class="STYLE1">(例1995-6-8)</span></div></td>
			<td width="106" height="25" align="center" class="STYLE1"><div align="right">户籍所在地</div></td>
			<td align="left" width="226" height="25"><div align="left">
			<input name="hjszd" class="text"   size="21"   value=<%=RS( "hujiszd" )%>>
			</div></td>
			</tr>
			<tr>
			<td width="116" height="21" class="STYLE1"><div align="right">户籍类型</div></td>
			<td width="218" height="21"><div align="left"> <font size="2" color="#000000">
			<select size="1" name="hjtype" style="WIDTH: 130px">
			<option selected><%=RS( "hujitype" )%></option>
			<option>本镇户口</option>
			<option>外省借读</option>
			<option>外市借读</option>
			<option>外区借读</option>
			<option>外镇借读</option>
			</select>
			</div></td>
			<td width="106" height="21" class="STYLE1"><div align="right">户籍性质</div></td>
			<td width="226" height="21"><div align="left">
			<select size="1" name="huxingzhi" style="WIDTH: 130px">
			<option selected><%=RS( "hujixingzhi" )%></option>
			<option>农业户口</option>
			<option>城镇户口</option>
			</select>
			</div></td>
			</tr>
			<tr>
			  <td height="21" class="STYLE1"><div align="right">专业代码</div></td>
			  <td height="21"><input name="zhuanyedaima" class="text" size="21" maxlength="25" value=<%=RS( "专业代码" )%>></td>
			  <td height="21" class="STYLE1"><div align="right">专业名称</div></td>
			  <td height="21"><input name="zhuanyemingcheng" class="text" size="21" maxlength="20" value=<%=RS( "专业名称" )%>></td>
			  </tr>
			
			<tr class="STYLE1">
			<td colspan="4"><font color="#FF0000" size="2">
			<div align="center">****************************************************</div></td></tr>
			<tr>
			<td width="116" class="STYLE1"><div align="right">入学前学校</div></td>
			<td width="218"><p align="left">
			<input name="oldschool" type="text" class="text"  size="15" maxlength="30" value=<%=RS( "OldSchool" )%>>
			</p></td>
			<td width="106" class="STYLE1"><div align="right">民&nbsp;&nbsp;&nbsp; 族</div></td>
			<td width="226"><div align="left">
			<input name="mingz" type="text" class="text" size="21" maxlength="30" value=<%=RS( "minzu" )%> >
			</div></td>
			</tr>
			<tr>
			<td width="116" align="center" class="STYLE1"><p align="right"> 政治面貌</p></td>
			<td align="left" width="218"><div align="left">
			<input name="zhengzh" type="text" class="text"  size="21" maxlength="30" value=<%=RS( "zhengzhi" )%>>
			</div></td>
			<td width="106" align="center" class="STYLE1"><p align="right"> 是否住校</p></td>
			<td width="226"><div align="left">
			<select size="1" name="stype" style="WIDTH: 130px">
			<option selected><%=RS( "jiudufangshi" )%></option>
			<option>是</option>
			<option>否</option>
			</select>
			</div></td>
			</tr>
			<tr>
			<td width="116" class="STYLE1"><div align="right">健康状况</div></td>
			<td width="218"><div align="left">
			<input name="jiank" class="text" size="21" maxlength="6" value=<%=RS( "jiankang" )%>>
			</div></td>
			<td width="106" align="center" class="STYLE1"><div align="right">是否计分</div></td>
			<td width="226"><div align="left"> <font size="2" color="#000000">
			<select name="jifen" size="1" id="jifen" style="WIDTH: 130px">
			<option selected><%=RS( "jifen" )%></option>
			<option>是</option>
			<option>否</option>
			</select>
			</div></td>
			</tr>
			<td width="116" class="STYLE1"><div align="right">户口所在地</div></td>
			<td colspan="3"><div align="left">
			<input name="hk" class="text"  size="71" maxlength="60" value=<%=RS( "hukou" )%>>
			</div></td>
			<tr>
			<td width="116" class="STYLE1"><div align="right">邮政编码</div></td>
			<td width="218"><div align="left">
			<input name="mail" class="text" size="21" maxlength="6" value=<%=RS( "mailNo" )%>>
			</div></td>
			<td width="106" align="center"><div align="right" class="STYLE1">联系电话</div></td>
			<td width="226"><div align="left">
			<input name="phone" class="text"  size="21" maxlength="30" value=<%=RS( "phoneNo" )%>>
			</div></td>
			</tr>
			<tr>
			<td width="116" class="STYLE1"><div align="right">特&nbsp;&nbsp;&nbsp; 长 </div>
			<td><div align="left">
			<input name="tc" class="text"  size="20" maxlength="60" value=<%=RS( "techang" )%>>
			</div></td>
			<td><div align="right" class="STYLE1">是否华侨</div></td>
			<td><input name="shifouhuaqiao" class="text" id="shifouhuaqiao"  size="21" maxlength="30"  value=<%=RS( "是否华侨" )%> ></td>
			</tr>
			<tr>
			<td width="116" class="STYLE1"><div align="right">备&nbsp; 注 </div>
			<td colspan="3"><div align="left">
			<textarea name="memoa" cols="71" rows="1" class="text"><%=RS( "memo" )%></textarea>
			</div></td>
			</tr>
			<tr>
			  <td class="STYLE1"><div align="right">学生查询密码</div>            
			  <td><input name="password" class="text"  size="20" maxlength="60" value=<%=RS( "password" )%>></td>
			  <td><div align="right" class="STYLE1">学生查询权限</div></td>
			  <td><input name="quanxian" class="text"  size="20" maxlength="60" value=<%=RS( "权限" )%>></td>
			</tr>
			<tr>
			<td colspan="4"><div align="center">&nbsp;
			<input name="button2" type="button" class="topanniu" onClick="location='addbiandong.asp?years=<%=RS( "years" )%>&selgrade=<%=RS( "grade" )%>&selclass=<%=RS( "class" )%>&id=<%=strID%>'" value="学生变动">
			&nbsp;&nbsp;&nbsp;&nbsp;
			<input name="Submit2" type="submit" class="topanniu" value="保存修改">
			&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
			<input name="button" type="button" class="topanniu" onClick="location='student.asp?years=<%=RS( "years" )%>&selgrade=<%=RS( "grade" )%>&selclass=<%=RS( "class" )%>'" value="不保存返回">
			</div>    </tr>
			</table></td>
			</tr>
			</table>
			</form>

</body> 
</html> 
