<!--#include file="../SQLconn.asp"-->
<link rel="stylesheet" type="text/css" href="../css/style.css" />



<p>
  <script Language="JavaScript">
 function form_check(){
  if(document.form3.fenshu.value.length<1){window.alert("请输入分数");document.form3.fenshu.focus();return (false);}
   
                  }

  </script>
</p>

<p>&nbsp;</p>
<p>&nbsp;</p>
<p align="center">
  <%
  
  '检查权限
       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

'检查权限结束
  
  
  
   strdate=Request("strdate")
	strtype=Request("strtype")
	StrGrade=Request("StrGrade")
    strId=request("id")
  
  
   set Rsvar= Conn.Execute("select * from banwurizhi  where id ='"&strId&"'")
	 
   %></p>
<p align="center"> 请修改</p>
<form id="form3" name="form3" method="post" action="SavechangePingBi.asp?id=<%=strid%>"  onSubmit="return form_check();">
  <table width="360" border="0" align="center" 
cellspacing="0" bordercolorlight="#11b1ff" bordercolordark="#f0f8ff" class="mtablelan">
    
    <tr align="middle">
      <td width="118" class="STYLE1"><div align="center">年级</div></td>
      <td width="238" height="41" class="STYLE1"><div align="center"><%=Rsvar( "class" )%></div></td>
    </tr>
    <tr align="middle">
      <td class="STYLE1"><div align="center">班别</div></td>
      <td height="41" class="STYLE1"><div align="center"><%=Rsvar( "grade" )%></div></td>
    </tr>
    <tr align="middle">
      <td class="STYLE1"><div align="center">分数</div></td>
      <td height="41" class="STYLE1">
        <div align="center">
          <input name="fenshu" type="text" size="10" maxlength="10" value=<%=Rsvar( "fenshu" )%> />
        </div></td>
    </tr>
    <tr align="middle">
      <td class="STYLE1"><div align="center">说明</div></td>
      <td height="41" class="STYLE1">
        <div align="center">
          <input name="shuoming" type="text" size="30" maxlength="30" value="<%=Rsvar( "shuoming" )%>" />
        </div></td>
    </tr>
    <tr align="middle">
      <td height="41" colspan="2" class="STYLE1"><div align="center"><font size="2">
        <input name="submit" type="submit" class="topanniu" value="保存" />
      </font></div></td>
    </tr>
  </table>
</form>


