
<!--#include file="conn.asp"-->
<!--#include file="chk_logs.asp"-->
<%id=trim(request("id"))
set rs=server.createobject("adodb.recordset")
cpmc=trim(request.Form("cpmc"))
cpbh=trim(request.Form("cpbh"))
jg=trim(request.Form("jg"))
bz=trim(request.Form("bz"))
content=trim(request.Form("content"))
xtp=trim(request.Form("xtp"))
dtp=trim(request.Form("dtp"))
lb=trim(request("lb"))
width=trim(request("picwidth"))
height=trim(request("picheight"))
'response.Write lb
'response.End()
sql="select * from product where id="&id&""
rs.open sql,conn,1,2
if not rs.eof then
if cpmc<>"" then rs("cpmc")=cpmc
if cpbh<>"" then rs("cpbh")=cpbh
if jg<>"" then rs("jg")=jg
if bz<>"" then rs("bz")=bz
if content<>"" then rs("content")=content
if xtp<>"" then rs("xtp")=xtp
if dtp<>"" then rs("dtp")=dtp
if width<>"undefined" then rs("width")=width
if height<>"undefined" then rs("height")=height
end if
rs.update
rs.close
response.Redirect "product.asp?lb="&lb
%>

