
<!-- #include file="../conn.asp" -->
<!-- #include file="admin.asp" -->
<%Call Head()
call saycarda("文件修改")%>


<% dim id,lid,idd,name,laiy,title,green,pay,types,very
id=request.QueryString("id")
 lid=request.QueryString("lid")
idd=request.querystring("idd") 
 name=request.form("name")
 laiy=request.form("laiy")  
 title=request.form("title")
 green=request.form("green")
 very=request.form("very")
 pay=request.form("pay")  
 types=request.form("type")
        set rs=server.createobject("adodb.recordset")
	sql="select * from xzfile where id="&id
	rs.open sql,conn,3,3
        if name<>"" then rs("name")=name
        if laiy<>"" then rs("laiy")=laiy
        if title<>"" then rs("title")=title
        if very<>"" then rs("very")=very
        if pay<>"" then rs("pay")=pay
        if types<>"" then rs("type")=types
        if green<>"" then rs("green")=green
        rs("times")=now()
        rs.update
	 rs.close
	 set rs=nothing
         conn.Close
         set conn=Nothing 
        %>
修改文件成功!
<br/>----------<br/>
<a href="wjlist.asp?saytk=<%=saytk%>&amp;sid=<%=sid%>&amp;lid=<%=lid%>&amp;idd=<%=idd%>">[文件列表]</a><br/>
<a href='wjdl.asp?saytk=<%=saytk%>&amp;sid=<%=sid%>&amp;idd=<%=idd%>'>[文件小类]</a><br/>
<a href='wjclass.asp?saytk=<%=saytk%>&amp;sid=<%=sid%>'>[文件大类]</a><br/>
<a href="wzjl.asp?saytk=<%=saytk%>&amp;sid=<%=sid%>">[文件管理]</a><br/>
<a href="../index.asp?saytk=<%=saytk%>&amp;sid=<%=sid%>">[后台管理]</a>
<%call headsay()%>
