|
<%
set Ts = server.CreateObject("adodb.recordset")
Ts.open "select * from Class where Class_id = "&parent_id&" order by Time desc",conn,1,3
if not Ts.eof then
if Ts.recordcount > 1 then
while not Ts.eof
%>
<% if int(class_id) = Ts("Id") then %>
<% if Ts("Type_id") = 5 then%>
<% set Ps = server.CreateObject("adodb.recordset")
Ps.open "select * from Product_class order by Time desc",conn,1,3
while not Ps.eof %>
|
<% set Cs = server.CreateObject("adodb.recordset")
Cs.open "select * from News where Product_class_id="&Ps("Id")&" order by Time desc",conn,1,3
while not Cs.eof %>
&Id=<%response.Write(Cs("Id"))%>" class="let_menuD"> · <% response.Write(Cs("Title"))%> |
<% Cs.movenext
wend
Cs.close
%>
<% Ps.movenext
wend
Ps.close
%>
<% end if %>
<% else%>
" class="let_menuA"><% response.Write(Ts("Name"))%>
|
<% end if%>
<%
Ts.movenext
wend
end if
end if
Ts.close
%>
|
|
|
<%
if parent_id = 2 and id > 0 then
set Ps = server.CreateObject("adodb.recordset")
Ps.open "select * from News where Parent_id=2 and Class_id="&class_id&" and Id="&id&" order by Time desc",conn,1,3
if not Ps.eof then
if Ps("Product_class_id") > 0 then
set Os = server.CreateObject("adodb.recordset")
Os.open "select * from Product_class where id="&Ps("Product_class_id")&" order by Time desc",conn,1,3
if not Os.eof then
Product_class_name = Os("Name")
end if
end if
end if
Ps.close
end if
%>
|
<% if Product_class_name <> "" then response.Write(Product_class_name) else response.Write(class_name) end if %> |
您现在的位置:首页 >
<% response.Write(Config_array(parent_id))%><% if Config_array(parent_id) <> class_name then%> > <% response.Write(class_name)%><% end if %><%if Product_class_name <> "" then %> ><% response.Write(Product_class_name)%> <% end if%> |
|
<% 'if ((parent_id =2 and product_default = 1) or type_id = 8 or type_id = 5) then%>
<% if ((parent_id =2 and product_default = 1) or type_id = 8 or (type_id = 5 and id = "")) then%>
<% else%>
<%
if is_info = 0 then
%>
<% if type_id = 0 then%>
<% elseif type_id = 1 then%>
<% elseif type_id = 2 then%>
<% elseif type_id = 3 then%>
<% elseif type_id = 4 then%>
<% elseif type_id = 6 then%>
<% end if %>
<%
else
%>
<%
end if
%>
<% end if %>
|
|
|