<% strCurrMenu="105" ThisPage=request.ServerVariables("URL") strClassName=GetVariable("classname") if strClassName="" then strClassName="所有產品" end if strQuery="" strClass=GetVariable("class") if strClass<>"" then SourCode=conn.execute("Select c_code From web_product_class Where mn_id=" & strCurrMenu & " and id="&strClass)(0) strQuery=strQuery & " And c_code Like '" & SourCode &"%'" end if strKey=GetVariable("key") if strKey<>"" then strQuery=strQuery & " And (p_name Like '%" & strKey & "%' Or p_detail Like '%" & strKey & "%') " strClassName="搜索:" & strKey end if strPrice1=GetVariable("price1") if strPrice1<>"" then strQuery=strQuery & " And p_price>=" & strPrice1 strClassName=strClassName & "  最低價格" & strPrice1 end if strPrice2=GetVariable("price2") if strPrice2<>"" then strQuery=strQuery & " And p_price<=" & strPrice2 strClassName=strClassName & "  最高價格" & strPrice1 end if %> <% '讀取產品展示的屬性,以確定顯示那個字段 showClass=GetKey("showClass",WebUserID,"product_" & strCurrMenu ) showPrice=GetKey("showPrice",WebUserID,"product_" & strCurrMenu ) showSize=GetKey("showSize",WebUserID,"product_" & strCurrMenu ) showSymbol=GetKey("showSymbol",WebUserID,"product_" & strCurrMenu ) showFace=GetKey("showFace",WebUserID,"product_" & strCurrMenu ) showShop=GetKey("showShop",WebUserID,"product_" & strCurrMenu ) showDetail=GetKey("showDetail",WebUserID,"product_" & strCurrMenu ) %> {首页主词}/久艾草国产成人综合在线视频/三级欧美视频/欧美视频日韩专区午夜

在线色站|中国国产足恋footfetish视频|四虎影视永久在线精品免费|国产日韩欧美色视频色在线观看|国产中文字幕在线播放

 
產品展示
產品分類: <% set rr=server.CreateObject("adodb.recordset") sql="select * from web_product_class where mn_id=105 order by c_code asc" rr.open sql,conn,1,1 if rr.eof then %> <% else do while not rr.eof %> &classname=<%=trim(rr("c_name"))%>&mnid=<%=rr("mn_id")%>" class="aBlack"> <%=rr("c_name")%> | <% rr.movenext loop end if %>

類 別:  關鍵字:  

<% strSQL="Select * From v_web_product Where mn_id=" & strCurrMenu & strQuery & " Order by cint(p_code),ID Desc" Set rs=Server.CreateObject("ADODB.RecordSet") rs.open strSQL,conn,1,1 '分頁顯示初始化 page=GetVariable("page") if page="" then page=1 else page=Cint(page) end if Section=GetVariable("section") if Section="" then Section=1 else Section=Cint(Section) end if '變量賦值 intPageSize=9 '每頁顯示記錄數 intSectionSize=5 '多少頁為一段,像GOOGLE一樣 PrevSectionText="7" '上一段的鏈接文字 NextSectionText="8" '下一段的鏈接文字 PrevPageText="3" '上頁的鏈接文字 NextPageText="4" '下頁的鏈接文字 strPageUrl="?class=" & GetVariable("class") & "&key=" & GetVariable("key") & "&price1=" & GetVariable("price1") & "&price2=" & GetVariable("price2") rs.pagesize=intPageSize intCount=rs.RecordCount intPageCount=rs.pagecount intSectionCount=(intPageCount - 1) \ intSectionSize + 1 if intCount>0 then rs.AbsolutePage=page end if '循環輸出 for i=1 to (intPageSize + 1) \ 3 if rs.eof then exit for %> <% for j=1 to 3 if rs.eof then y=j while y=2 or y=3 y=y+1 %> <%wend exit for end if %> <% rs.movenext next %>
  <%if showClass<>"none" then %> <%end if%> <%if showSymbol<>"none" then %> <%end if%>
&mnid=<%=strCurrMenu%>&classname=<%=trim(rs("c_name"))%>" target="_blank">" width="179" height="131" border="0">
<%if showDetail<>"none" then %> &mnid=<%=strCurrMenu%>&classname=公司產品" target="_blank"><%=trim(rs("p_name"))%> <%else%> <%=trim(rs("p_name"))%> <%end if%>
 類別: <%=trim(rs("c_name"))%>
 
<% next %>   共有<%=intCount%>記錄,分<%=intPageCount%>頁,當前頁<%=Page%>,每頁顯示<%=intPageSize%>條記錄 <% '計算每一段的開始頁 intStarPage=(Section-2) * intSectionSize + 1 '前一段 if Section<=1 then response.Write(PrevSectionText & " ") else response.Write("" & PrevSectionText & " ") end if '顯示頁碼列表 response.Write("第") intStarPage=(Section-1) * intSectionSize + 1 for p=intStarPage to intStarPage + intSectionSize - 1 if p > intPageCount then exit for if p=page then response.Write("[" & p & "] ") else response.Write("[" & p & "] ") end if next response.Write("頁") '后一段 intStarPage=(Section) * intSectionSize + 1 if Section>=intSectionCount then response.Write(" " & NextSectionText) else response.Write(" " & NextSectionText & " ") end if %>