Omar Ltd and Omar Automation Ltd | Level sensing | Pressure transducer | Flowmeter | Flow Controlling | Pressure Switch | Other brand
<%=the_refuse_str%>
<%
if request("s")="" then
the_title="产品展示"
show_type=1
else
the_title="购物商城"
end if
if request("new")="1" then
the_title="新品促销"
end if
%>
Home> Products
<%
type1=request("type1")
type2=request("type2")
type3=request("type3")
'lang_type_show="_e"
if show_type=1 and request("type1")<>"" and lang_type_show="_e" then '英文版做类别查询
if request("type3")<>"" then
sqlstr="select * from M_info_type_3 where type1='"&type1&"' and type2='"&type2&"' and typename='"&type3&"' "
is_type=3
elseif request("type2")<>"" then
sqlstr="select * from M_info_type_2 where type1='"&type1&"' and typename='"&type2&"' "
is_type=2
elseif request("type1")<>"" then
sqlstr="select * from M_info_type_1 where typename='"&type1&"' "
is_type=1
end if
'response.write sqlstr&" "
set rs=server.createobject("adodb.recordset")
rs.open sqlstr,conn,1,1
if not rs.eof then
if is_type=3 then
str_title=rs("type1"&lang_type_show)&" > "&rs("type2"&lang_type_show)&" > "&rs("typename"&lang_type_show)
elseif is_type=2 then
str_title=rs("type1"&lang_type_show)&" > "&rs("typename"&lang_type_show)
else
str_title=rs("typename"&lang_type_show)
end if
end if
elseif show_type=1 and request("type1")<>"" then
'str_title=" > "
str_title=str_title&type1
if request("type2")<>"" then
str_title=str_title&" > "&request("type2")
end if
if request("type3")<>"" then
str_title=str_title&" > "&request("type3")
end if
end if
response.write str_title
%>