<% dim typeid,ClassID,RootID,RootID2,classname,classnameroot,page_count,pai typeid=trim(request("typeid")) ClassID=trim(request("ClassID")) RootID=trim(request("RootID")) RootID2=trim(request("RootID2")) classid2=trim(request("classid2")) classname=trim(request("classname")) classnameroot=trim(request("classnameroot")) %> WINSOME---源自韩国 MP3.MP4播放器
 
  <%dim rspclass,sql1 set rspclass=server.CreateObject("adodb.recordset") sql="select * from photoclass where parentID =0 and classid<>9 and classid<>10 order by xunxu asc" rspclass.open sql,conn,1,3 do while not rspclass.eof %> <% dim rspclassroot set rspclassroot=server.createobject("adodb.recordset") sql1="select * from photoclass where parentID=" & rspclass("classID") & " order by classID" rspclassroot.open sql1,conn,1,3 %> <% if rspclassroot.eof then %>
&classname=<%=rspclass("classname")%>" class="red_6_7" style="text-decoration:none;"><%=rspclass("classname")%>
<%else%> <%do while not rspclassroot.eof%> <% rspclassroot.movenext loop %> <% rspclassroot.close set rspclassroot=nothing %>
 &classID2=<%=rspclass("classid")%>&classname=<%=rspclass("classname")%>" class="red_6_7" style="text-decoration:none;"><%=rspclass("classname")%>
&classname=<%=rspclassroot("classname")%>"class="red_6_7"><%=rspclassroot("classname")%>
<%end if%> <% rspclass.movenext loop %> <% rspclass.close set rspclass=nothing %>
 





<% if not isempty(request("page")) then currentPage=cint(request("page")) else currentPage=1 end if MaxPerPage=p_page_count set rs=server.CreateObject("ADODB.RecordSet") if request("RootID")="" and request("classid")="" then rs.open "select * from Photo where deleted=0 order by updatetime desc",conn,1,1 else if request("RootID")="" then rs.open "select * from Photo where ClassID="&ClassID&" and deleted=0 order by updatetime desc",conn,1,1 else rs.open "select * from Photo where RootID="&RootID&" and deleted=0 order by updatetime desc",conn,1,1 end if end if if rs.eof and rs.bof then response.write "

产品在更新中

" else totalPut=rs.recordcount rs.move (currentPage-1)*p_page_count rs.pagesize=MaxPerPage mpage=rs.pagecount %> <%dim i i=0%> <%do while not rs.eof%> <% rs.movenext %> <% On Error Resume Next%> <%if not rs.eof then%> <% rs.movenext %> <% On Error Resume Next%> <%if not rs.eof then%> <% rs.movenext %> <% On Error Resume Next%> <%if not rs.eof then%>
&photoid=<%=rs("photoid")%>&classname=<%=rs("classname")%>"class="red_6_6_1" target="_blank">" alt="点击查看产品详细资料" width="130" height="110" border="0" >&classid=<%=rs("classid")%>" >
&photoid=<%=rs("photoid")%>&classname=<%=rs("classname")%>"class="red_6_6_1" target="_blank">" alt="点击查看产品详细资料" width="130" height="110" border="0" >
<%else%> <%end if%>
&photoid=<%=rs("photoid")%>&classname=<%=rs("classname")%>"class="red_6_6_1" target="_blank">" alt="点击查看产品详细资料" width="130" height="110" border="0" >
<%else%> <%end if%>
&photoid=<%=rs("photoid")%>&classname=<%=rs("classname")%>"class="red_6_6_1" target="_blank">" alt="点击查看产品详细资料" width="130" height="110" border="0" >
<%else%> <%end if%>

<% i=i+4 if i>=MaxPerPage then Exit Do rs.movenext loop rs.close set rs=nothing %>
  <% call page() sub page()%> <%if request("RootID")="" then%> 页次<%=currentPage%>/<%=mpage%>  共有<%=totalPut%>个产品信息 <%=page_count%>/页 <% pageno=currentPage if isempty(pageno) or cint(pageno)<1 or cint(pageno)>mpage then pageno=1 end if %> <%if cint(pageno)>1 then%> class="menu3_left_ch"> <%end if%> 9 <%if cint(pageno)>1 then%> &page=<%=pageno-1%> class="menu3_left_ch"> <%end if%> 7 <% pp=cint(pageno)-3 if pp<1 then pp=1 end if for pno=pp to mpage p=p+1 if pno=cint(pageno) then%> [<%=pno%>] <%else%> &page=<%=pno%>&k=<%=request("k")%>>[<%=pno%>] <%end if%> <% if p>=15 then exit for next%> <%if cint(pageno)< mpage then%> &page=<%=pageno+1%> class="menu3_left_ch"> <%end if%> 8 <%if cint(pageno)< mpage then%> &page=<%=mpage%> class="menu3_left_ch"> <%end if%> : <%else%> 页次<%=currentPage%>/<%=mpage%>  共有<%=totalPut%>个产品信息 <%=page_count%>/页 <% pageno=currentPage if isempty(pageno) or cint(pageno)<1 or cint(pageno)>mpage then pageno=1 end if %> <%if cint(pageno)>1 then%> class="menu3_left_ch"> <%end if%> 9 <%if cint(pageno)>1 then%> &page=<%=pageno-1%> class="menu3_left_ch"> <%end if%> 7 <% pp=cint(pageno)-3 if pp<1 then pp=1 end if for pno=pp to mpage p=p+1 if pno=cint(pageno) then%> <%=pno%> <%else%> &page=<%=pno%>&k=<%=request("k")%>>[<%=pno%>] <%end if%> <% if p>=15 then exit for next%> <%if cint(pageno)< mpage then%> &page=<%=pageno+1%> class="menu3_left_ch"> <%end if%> 8 <%if cint(pageno)< mpage then%> &page=<%=mpage%> class="menu3_left_ch"> <%end if%> : <%end if%> <% end sub%>
<%end if%>