<!--#include file="../SQLconn.asp"-->

<html>
<link rel="stylesheet" type="text/css" href="../css/style.css" />
<head>
<title>修改</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<script>
function CheckForm()
{
  

   if(document.form1.vname.value=="")
   { alert("内容不能为空！");
     return (false);
   }

  

   return (true);
}

</script>
</head>

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

<table border="0" width="100%" cellspacing="0" cellpadding="3" class="small">
  <tr>
    <td class="Big">&nbsp;</td>
  </tr>
</table>
<p>
  <%
strId=request("id")
 varname=request("varname")
Set rs=Server.CreateObject("Adodb.Recordset")
sql="select * from varset where     ID='"&strID& "'"
rs.open sql,conn,1,1
%>
</p>
<p>&nbsp;</p>
<form name="form1" method="post" action="SavemodifyTime.asp?varname=<%=varname%>&id=<%=strid%>"  onSubmit="return CheckForm();">
 <table width="239" border="0" align="center" cellspacing="0" bordercolorlight="#11b1ff" bordercolordark="#f0f8ff">
   <tr align="middle">
     <td height="24" class="STYLE1"><div align="center">序号</div></td>
     <td align="center" valign="middle" class="STYLE1"><div align="left">
         <label>
         <input name="vid" type="text" class="text"   id="vid" value=<%=rs("vid")%>>
         </label>
     </div></td>
    </tr>
   <tr align="middle">
     <td height="35" class="STYLE1"><div align="center">节次</div></td>
     <td align="center" valign="middle" class="STYLE1"><b>
       <input name="vname" type="text" class="text" id="vname" value="<%=rs("vname")%>">
     </b></td>
   </tr>
   <tr align="middle">
     <td height="35" class="STYLE1"><div align="center">开始时间</div></td>
     <td align="center" valign="middle" class="STYLE1"><div align="left"><b>
       <input name="vname1" type="text" class="text" id="vname1" value="<%=rs("vname1")%>">
     </b></div></td>
    </tr>
   <tr align="middle">
     <td width="65" height="43" class="STYLE1"><div align="center">结束时间</div></td>
     <td width="170" align="center" valign="middle" class="STYLE1"><div align="left"><b>
       <input name="vname2" type="text" class="text" id="vname2" value="<%=rs("vname2")%>">
     </b></div>
         </label></td>
    </tr>
   <tr align="middle">
     <td height="47" colspan="2" class="STYLE1"><div align="center">
       <input name="Submit" type="submit" class="topanniu" value="保存" />
     </div></td>
    </tr>
   <tr align="middle">
     <td height="142" colspan="2" class="STYLE1"><div align="center"><span class="STYLE3"><b>
       <input name="button" type="button" class="topanniu" onClick="location='setTime.asp?varname=<%=varname%>'" value="返回上页">
     </b></span></div></td>
    </tr>
 </table>
 <p align="center">&nbsp;</p>
</form>
<p>&nbsp;</p>
<p><br>
  
  
</p>
<div align="center"></div>
</body>
</html>