%ClassID=request("ClassID")%>
<%pid=request("ArticleID")
set rec=conn.execute("select * from product where productnumberid='"&pid&"'")
if not rec.eof then
producttype=left(rec("Class"),6)
producttype2=right(rec("Class"),3)
pt=rec("Class")
productname=rec("productname")
productpic=rec("productpic")
Content=rec("Content")
Content1=rec("Content1")
Brand=rec("Brand")
Goods_key=rec("Goods_key")
EditTime=rec("EditTime")
set rs=conn.execute("select * from Class where NumberID='"&producttype&"'")
if not rs.eof then
NumberID=rs("NumberID")
PartID=rs("PartID")
rc1=rs("shuoming")
rc=rs("Class")
%>
<%
ProductPic_ = ProductPic
if ProductPic_ <> "" then
set fso = CreateObject("Scripting.FileSystemObject")
ProductPicFile = Server.MapPath("./") &"\"& Trim(ProductPic_)
If not Fso.FileExists(ProductPicFile) then
ProductPic_ = false
end if
Set fso = Nothing
else
ProductPic_ = false
end if
if ProductPic_ = false then
%>
<%
else
%>