
<!-- #include file="../conn.asp" -->
<!-- #include file="admin.asp" -->
<%call ling()
Call Head
call saycardd("图片修改")
 id=request("id")
    lid=request("lid")
        set rs = server.createobject("adodb.recordset")
	sql="select * from wjfile where id="&id
	rs.open sql,conn,1,1
	if rs.eof and rs.bof then
	response.write "图片不存在<br/>"
	else
  response.write " 图片详情:  <br/>"
%>
标题: <%=ubb(rs("name"))%><br/>
来源: <%=ubb(rs("laiy"))%><br/>
地址: <%=ubb(rs("URL"))%><br/>
添加日期: <%=ubb(rs("times"))%><br/>
人气: <%=ubb(rs("hit"))%>
<br/>----------<br/>
<%if saytk>1 then
Response.write "<form name=""form"" method=""post"" action=""picpost.asp?sid="&sid&"&amp;id="&id&"&amp;lid="&lid&"&amp;saytk="&saytk&""">"%>
标题:<input name="name" value="<%=ubb(rs("name"))%>"/><br/>
来源:<input name="laiy" value="<%=ubb(rs("laiy"))%>"/><br/>
<input type="submit" name="Submit" value="修改图片"></form><br/>
<%else%>
标题:<input name="name<%=minute(now)%><%=second(now)%>" value="<%=ubb(rs("name"))%>"/><br/>
来源:<input name="laiy<%=minute(now)%><%=second(now)%>" value="<%=ubb(rs("laiy"))%>"/><br/>
<anchor>修改图片
    <go href="picpost.asp?sid=<%=sid%>&amp;id=<%=id%>&amp;lid=<%=lid%>&amp;saytk=<%=saytk%>" method="post" accept-charset="utf-8">
        <postfield name="name" value="$(name<%=minute(now)%><%=second(now)%>)"/>
        <postfield name="laiy" value="$(laiy<%=minute(now)%><%=second(now)%>)"/>
    </go>
</anchor>     
<%end if
end if
rs.close
set rs=nothing
conn.close
set conn=nothing
%>
<br/>----------<br/>
<a href="piclist.asp?sid=<%=sid%>&amp;lid=<%=lid%>&amp;saytk=<%=saytk%>">[图片列表]</a><br/>
<a href='picdl.asp?sid=<%=sid%>&amp;saytk=<%=saytk%>'>[图片类别]</a><br/>
<a href="../index.asp?sid=<%=sid%>&amp;saytk=<%=saytk%>">[后台管理]</a>
<%response.write""
call head1()%>