<!--#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.Tno.value.length<1){window.alert("请输入用户");document.form1.Tno.focus();return (false);}
   if(document.form1.Tname.value.length<1){window.alert("请输入姓名");document.form1.Tname.focus();return (false);}
   if(document.form1.powdername.value.length<1){window.alert("选择权限组");document.form1.powdername.focus();return (false);}
   ;return (false);}
}

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

</head>

   <%
  
   dim strID
  
  
   strId=request("id")
   set rs=server.createobject("adodb.recordset")
   sql="select * from teachers  where tid='"&strId& "'"
   rs.open sql,conn,1,1
%>

<body class="bodycolor" topmargin="5" >
<table border="0" width="100%" cellspacing="0" cellpadding="3" class="small">
  <tr>
    <td class="Big"> <p>修改</p>
    </td>
  </tr>
</table>

<br>
 <table border="0" width="465" cellpadding="2" cellspacing="1" align="center" class="small">
  <form action="SavemodifyPhone.asp"  method="post" name="form1" onSubmit="return CheckForm();">
    <tr>
      <td height="17" nowrap class="STYLE1">&nbsp;</td>
      <td class="STYLE1">&nbsp;</td>
    </tr>
    <tr>
      <td height="25" nowrap class="STYLE1"><div align="right">姓名：</div></td>
      <td class="STYLE1"><%=Rs("Tname")%>
      <input type="hidden" name="id" value='<%=Rs("tid")%>'></td>
    </tr>
    <tr>
      <td width="120" height="38" nowrap class="STYLE1"><div align="right">家庭电话：</div></td>
          <td width="334" class="STYLE1"><!-------------- 时 ------------>
              <label>
              <input name="dianhua" type="text" id="dianhua"  value=<%=Rs("家庭电话")%>>
      </label></td>
    </tr>
        <tr>
          <td height="34" nowrap class="STYLE1"><div align="right">手机：</div></td>
          <td class="STYLE1"><!-------------- 时 ------------>
              <input name="shouji" type="text" id="shouji"  value=<%=Rs("手机")%>></td>
        </tr>
        <tr>
          <td height="37" nowrap class="STYLE1"><div align="right">短号：</div></td>
          <td align="left" class="STYLE1"><input name="duanhao" type="text" id="duanhao"  value=<%=Rs("短号")%>></td>
        </tr>
        <tr>
          <td nowrap class="STYLE1"><div align="right">电子邮箱：</div></td>
          <td align="left" class="STYLE1"><input name="youxiang" type="text" id="youxiang"  value=<%=Rs("电子邮箱")%>></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 type="submit" value="确定" class="topanniu" >  
        &nbsp;&nbsp;
        <input type="button" value="关闭" class="topanniu" onClick="window.close();">      </td>
    </tr></form>
</table>





</body>
</html>