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

<script Language="JavaScript">
function CheckForm()
{
  
   if(document.form1.old.value!=document.form1.mima.value){window.alert("旧密码错误");document.form1.old.focus();return (false);}
   if(document.form1.new1.value.length<1){window.alert("请输入新密码");document.form1.new1.focus();return (false);}
   if(document.form1.new1.value!=document.form1.new2.value){window.alert("新密码和第二次输入新密码不同");document.form1.new1.focus();return (false);}
   
  
  
}

</script>

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

</head>


<body class="bodycolor" topmargin="5">

<table border="0" width="100%" cellspacing="0" cellpadding="3" class="small">
  <tr>
    <td class="Big"><p>&nbsp;</p>
    <p>&nbsp;</p>
    <p>&nbsp;</p>
    <p>&nbsp;</p></td>
  </tr>
</table>
   <%
    tname=request.cookies("tname")
	id=request("id")
   set rs=server.createobject("adodb.recordset")
       sql="select * from students where id='"&id& "'"
       rs.open sql,conn,1,3
	   
%>
<br>
 <table border="0" width="420" cellpadding="2" cellspacing="1" align="center" class="small">
  <form action="savebiandong.asp"  method="post" name="form1" onSubmit="return CheckForm();">
    <tr>
      <td width="120" height="38" nowrap class="STYLE1"><div align="right">变动类型</div></td>
          <td width="289" class="STYLE1"><!-------------- 时 ------------>
              <label>
              <select name="biandongleixing" size="1" id="biandongleixing" style="WIDTH: 130px">
                <option selected value=<%=RS( "biandongleixing" )%>><%=RS( "biandongleixing" )%></option>
                <% Set RSsel = Conn.Execute("select vname from  varset where name='studentquxiang'")
					   While NOT RSsel.EOF %>
                <option value=<%=RSsel( "Vname" )%>><%=RSsel( "vname" )%></option>
                <% RSsel.MoveNext
					  Wend
					  RSsel.Close%>
              </select>
           
              <input name="id" type="hidden" id="id" value=<%=rs("id")%>>
<% rs.close
%>
      </label></td>
    </tr>
        <tr>
          <td height="38" nowrap class="STYLE1"><div align="right">变动时间</div></td>
          <td class="STYLE1"><!-------------- 时 ------------>
              <input name="biandongdate" type="text" class="text" id="biandongdate"></td>
        </tr>
        <tr>
          <td height="33" nowrap class="STYLE1"><div align="right">变动原因</div></td>
          <td align="center" class="STYLE1"><div align="left">
            <input name="biandongyuanyin" type="text" class="text" id="biandongyuanyin">
          </div></td>
        </tr>
        <tr>
          <td height="32" nowrap class="STYLE1"><div align="right">学生去向</div></td>
          <td align="center" class="STYLE1"><div align="left"><a href="file:///E|/YF学校办公系统1.635/user/newuser.asp">
            <input name="xueshengquxiang" type="text" class="text" id="xueshengquxiang">
          </a></div></td>
        </tr>
    <tr>
      <td nowrap class="STYLE1">&nbsp;</td>
      <td align="center" class="STYLE1"><label for="SMS_REMIND"></label></td>
    </tr>
  
    <tr align="center" class="TableControl">
      <td colspan="2" nowrap class="STYLE1">
      
        
      
        <input name="button" type="button" class="topanniu" onClick="location='Modifystudent.asp?id=<%=id%>'" value="不保存返回">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <input type="submit" value="保存" class="topanniu"   >
      &nbsp;&nbsp;</td>
    </tr></form>
</table>





</body>
</html>