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

<html>
<link rel="stylesheet" type="text/css" href="../images/<%=request.cookies("imgdir")%>/css/style.css" media="all"/>
<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>
  <%
leibie=request("leibie")  
strId=request("id")
Set rs=Server.CreateObject("Adodb.Recordset")
sql="select * from ZiChanMingCheng where  ID='"&strID& "'"
rs.open sql,conn,1,1
%>
</p>
<p>&nbsp;</p>
<form name="form1" method="post" action="saveModifyMingCheng.asp?leibie=<%=leibie%>&id=<%=strid%>"  onSubmit="return CheckForm();">
 <table width="442" border="0" align="center" cellspacing="0" bordercolorlight="#11b1ff" bordercolordark="#f0f8ff">
   
   <tr align="middle">
     <td height="35" class="STYLE1"><div align="right">校产类型</div></td>
     <td align="center" valign="middle" class="STYLE1"><div align="left">
  <select name="xiaochanleixing" id="xiaochanleixing">
  <option  selected="selected" value="<%=rs("校产类型")%>"><%=rs("校产类型")%></option>
    <option value="固定资产">固定资产</option>
    <option value="消耗物品">消耗物品</option>
  </select>
       固定资产借出需要归还。消耗物品领用不用归还
      ！</div></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="bianhao" type="text" class="text" id="bianhao" value="<%=rs("编号")%>">
     </b></div></td>
    </tr>
   <tr align="middle">
     <td width="65" height="43" class="STYLE1"><div align="center">名称</div></td>
     <td width="360" align="center" valign="middle" class="STYLE1"><div align="left"><b>
       <input name="mingcheng" type="text" class="text" id="mingcheng" value="<%=rs("名称")%>">
     </b></div>
      </label></td>
    </tr>
   <tr align="middle">
     <td height="43" class="STYLE1"><div align="center">单位</div></td>
     <td align="center" valign="middle" class="STYLE1"><div align="left">
       <input name="danwei" type="text" class="text" id="danwei"   value="<%=rs("单位")%>">
     </div></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='MingChengGuanLi.asp?leibie=<%=leibie%>'" 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>