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



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

  </script>
</p>

<p>
  <%
   
  
   strId=request("id")
   tname=request("tname")
   Set rs=Server.CreateObject("Adodb.Recordset")
   sql="select * from varset where     ID='"&strID& "'"
   rs.open sql,conn,1,1

   
   %>
</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<form id="form3" name="form3" method="post" action="saveModifyQiShu.asp?tname=<%=tname%>&id=<%=strid%>" onSubmit="return form_check();">
<table width="609" border="0" align="center" cellspacing="0" bordercolorlight="#11b1ff" bordercolordark="#f0f8ff">
    <tr align="middle">  <td class="STYLE1">&nbsp;</td>
      <td height="41" 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><td>&nbsp;</td> </tr>
      <tr align="middle">
        <td class="STYLE1">&nbsp;</td>
        <td height="41" class="STYLE1"><div align="center">分期名称</div></td>
        <td align="center" valign="middle" class="STYLE1"><div align="left">
          <input name="vmingcheng" type="text" class="text" id="vmingcheng"  value="<%=rs("vname")%>">
        </div></td>
        <td><input name="Submit" type="submit" class="topanniu" value="保存修改" /></td>
      </tr>
      <tr align="middle">
        <td class="STYLE1">&nbsp;</td>
        <td height="41" class="STYLE1"><div align="center">开始日期</div></td>
        <td align="center" valign="middle" class="STYLE1"><div align="left">
          <input name="begindate" type="text" class="text" id="begindate" value="<%=trim(left(rs("shuoming"),12))%>">
        (格式： 2011-9-1)</div></td>
        <td>&nbsp;</td>
      </tr>
      <tr align="middle"> <td width="8" class="STYLE1">&nbsp;</td>
      <td width="79" height="41" class="STYLE1"><div align="center">结束日期</div></td>
      <td width="403" align="center" valign="middle" class="STYLE1"><div align="left">
	  <input name="enddate" type="text" class="text" id="enddate" value="<%=trim(right(rs("shuoming"),12))%>">
        (格式： 2011-9-1)</div> 
        </label></td>
      <td width="111"><input name="button" type="button" class="topanniu" onclick="location='setQiShu.asp?tname=<%=tname%>'" value="返回上页" /></td>
    </tr>
      <tr align="middle">
        <td class="STYLE1">&nbsp;</td>
        <td height="21" class="STYLE1">&nbsp;</td>
        <td align="center" valign="middle" class="STYLE1"><div align="left"></div></td>
        <td>&nbsp;</td>
      </tr>
      </table>
      <div align="center" class="STYLE1"></div>
</form>

    