 |
|
|
 |
<%
'开始输出分类
strcode=""
for i=1 to Len(SourCode) \ 4
strcode=strcode&" or c_code like '"&left(SourCode,i*4)&"____'"
next
if strcode<>"" then
strcode="(1<>1"&strcode&" or Len(c_code)=4)"
else
strcode=" Len(c_code)=4"
end if
strSQLc="Select * From v_web_product Where mn_id=" & strCurrMenu & strQuery & " Order by p_code,ID Desc"
'response.Write(strsql)
Set rsc=Server.CreateObject("ADODB.RecordSet")
rsc.open strSQLc,conn,1,1
for i=1 to rsc.recordcount
Level=(Len(rsc("c_code"))/4-1)*3
%>
 |
<%
If Len(rsc("c_code"))>4 Then Response.Write "├"
Response.Write String(Level,"-")
%>&mnid=<%=strCurrMenu%>&classname=<%=trim(rsc("c_name"))%>"><%=trim(rsc("c_name"))%> |
<%
rsc.movenext
next
%>
|
|
 |
 |
|
|
|
 |
<%
strSQL="Select * From v_web_product Where id=" & GetVariable("id")
Set rs=Server.CreateObject("ADODB.RecordSet")
rs.open strSQL,conn,1,1
%>
<%
'读取产品展示的属性,以确定显示那个字段
showPrice=GetKey("Price",WebUserID,"product_" & strCurrMenu )
showSize=GetKey("Size",WebUserID,"product_" & strCurrMenu )
showSymbol=GetKey("Symbol",WebUserID,"product_" & strCurrMenu )
showWeight=GetKey("Weight",WebUserID,"product_" & strCurrMenu )
showFace=GetKey("Face",WebUserID,"product_" & strCurrMenu )
showPlace=GetKey("Place",WebUserID,"product_" & strCurrMenu )
showProducer=GetKey("Place",WebUserID,"product_" & strCurrMenu )
showShop=GetKey("showShop",WebUserID,"product_" & strCurrMenu )
%>
" target="_blank"> " alt="Enlarged photo" width="300" hspace="8" vspace="5" border="0" /> |
<%=trim(rs("p_name"))%> |
No.: |
<%
if showSymbol<>"none" then
response.Write trim(rs("p_symbol"))
end if
%> |
Category: |
<%=trim(rs("c_name"))%> |
<%if showPrice<> "none" then%>
<%end if%>
<%if showSize<> "none" then%>
<%end if%>
<%if showFace<> "none" And showFace<>"Null" then%>
<%end if%>
<%if showWeight<> "none" And showWeight<>"Null" then%>
<%end if%>
<%if showPlace<> "none" And showPlace<>"Null" then%>
<%end if%>
<%if showProducer<> "none" then%>
<%end if%>
|
·Product Description |
|
|
<%=trim(rs("p_detail"))%> |
Update :<%=trim(rs("p_createtime"))%> |
|
|
|
|
|
|
|
|