<%@ CODEPAGE = "936" %> <% if request.QueryString("typename")<>"" then %> <%=request.QueryString("typename")%> <%else%> 科可派--KRC工业机器人,KRC点胶机,KRC涂覆机,喷涂机,KRC炉温曲线测试仪 <% end if %> <% if request.QueryString("typename")<>"" then %> "/> <%else%> <% end if %>
<% tmptypecontent="" tmptypename="" tmptypeid=cint(request("typeid")) set rs=server.CreateObject("adodb.recordset") sql="select * from producttype order by paixu" rs.open sql,conn,1,1 do while not rs.eof %> <% rs.movenext loop rs.close set rs=nothing %>
&typename=<%=rs("typename")%>" class="left_tit"> <% tmp1typeid=cint(rs("typeid")) if tmp1typeid=tmptypeid then response.write "" & rs("typename") & "" tmptypecontent=rs("typecontent") tmptypename=rs("typename") else response.write rs("typename") if tmptypename="" then tmptypecontent=rs("typecontent") tmptypename=rs("typename") end if end if %>
产品展示  

<% if tmptypeid=0 then dim maxperpage,totalnumber,strfile maxperpage=6 strfile="products.asp" set rs=server.CreateObject("adodb.recordset") sql="select * from producttype where pic<>'' order by paixu" rs.open sql,conn,1,1 totalnumber=rs.recordcount dim text,checkpage text="0123456789" Rs.PageSize=MaxPerPage for i=1 to len(request("page")) checkpage=instr(1,text,mid(request("page"),i,1)) if checkpage=0 then exit for end if next If checkpage<>0 then If NOT IsEmpty(request("page")) Then CurrentPage=Cint(request("page")) If CurrentPage < 1 Then CurrentPage = 1 If CurrentPage > Rs.PageCount Then CurrentPage = Rs.PageCount Else CurrentPage= 1 End If If not Rs.eof Then Rs.AbsolutePage = CurrentPage end if Else CurrentPage=1 End if i=0 do while not rs.eof %>
> width="138" height="84" border="0">
" class="tit"><%=rs("typename")%>
&typename=<%=rs("typename")%>">

<% rs.movenext i=i+1 if i >= MaxPerpage then exit do loop %> <% call showpage(strfile,totalnumber,maxperpage,false,false,"条信息") rs.close set rs=nothing else %>
<%=tmptypename%>
 

<%=tmptypecontent%>

>>点击进入
<% end if %>