<!--#include file="inc_top.asp" -->
<table width="762" border="0" align="center" cellpadding="0" cellspacing="0" class="pian">
  <tr>
    <td height="22" bgcolor="#F5F5F5"><div align="center"><img src="images/8888.jpg" width="760" height="148"></div></td>
  </tr>
</table>
<table width="762" bgcolor=#f7f7f7 align="center" cellpadding="0" cellspacing="0" class="pian">
</table>
<table width="762" border="0" align="center" cellpadding="0" cellspacing="0" bordercolor="#FF9900" class="ppp">
  <tr>
    <td height="25" colspan="5" bgcolor="#FF9900"><strong><font color="#FFFFFF">　　　聚富街道1　　　　　　　　　　　　　　　　　　　聚富街道２　　　　　　　　　　　　　　　　　　　聚富街道３</font></strong></td>
  </tr>
  <tr><% 
	lbid=nohack(Request("lbid"))
	if lbid="" or isempty("lbid") then
	set rs = conn.execute("select * from user_name where zt=1 order by tui DESC, id DESC")
	else
	lbid=cint(Request("lbid"))
	set rs = conn.execute("select * from user_name where zt=1 and lbid='"&lbid&"' order by tui DESC")
	end if
	if rs.eof then
		response.write "<font color=red>本类暂时没有品牌店</font>"
		rs.close
		set rs=nothing
	else
		rs.pagesize = 20
		if request("page")=""  or isempty(request("page")) then
		page = 1
		else
		page=cint(request("page"))
		end if
		if page>rs.pagecount then
		page=rs.pagecount
		end if
		if not rs.BOF then
		Rs.Move Rs.PageSize*(page-1)
		end if
		i=1
%>
    <td width="141"><table width="141" border="0" cellpadding="0" cellspacing="0">
	  <tr><%	do while not rs.eof and i<=rs.pagesize
%>
        <td><div align="center"><%	if rs("logo")<>"" then
	response.write "<a href=user/index.asp?userid="&rs("id")&" target=_blank><img src=user/"&rs("logo")&" width=120 height=50 border=0></a>"
	else
	response.write "<img src=image/noshoplogo.gif width=120 height=50 border=0>"
	end if
%></div></td>
      </tr>
      <tr>
        <td><div align="center"><a href=user/index.asp?userid=<%=rs("id")%> target=_blank><strong><font color=#ff3300><%=rs("name")%></font></strong></a></div></td>
      </tr>
      <tr>
        <td><div align="center"> <% 	if rs("erji")<>"" then
	response.write "<a href=http://"&rs("erji")&".onshp.com target=_blank><font color=#ff3300>http://"&rs("erji")&".onshp.com</font>"
	else
	response.write "二级域名未开通"
	end if
%></div></td>
      </tr>      <%
	rs.movenext
	i=i+1
	loop
%>
    </table></td>
    <td width="144" background="images/99999.gif">&nbsp;</td>
    <td width="168"><table width="168" border="0" cellpadding="0" cellspacing="0">
      	<% 


		rs.pagesize = 20
		if request("page")=""  or isempty(request("page")) then
		page = 1
		else
		page=cint(request("page"))
		end if
		if page>rs.pagecount then
		page=rs.pagecount
		end if
		if not rs.BOF then
		Rs.Move Rs.PageSize*(page-1)
		end if
		i=1
%>
	  <tr><%	do while not rs.eof and i<=rs.pagesize
%>
        <td width="166"><div align="center"><%	if rs("logo")<>"" then
	response.write "<a href=user/index.asp?userid="&rs("id")&" target=_blank><img src=user/"&rs("logo")&" width=120 height=50 border=0></a>"
	else
	response.write "<img src=image/noshoplogo.gif width=120 height=50 border=0>"
	end if
%></div></td>
      </tr>
      <tr>
        <td><div align="center"><a href=user/index.asp?userid=<%=rs("id")%> target=_blank><strong><font color=#ff3300><%=rs("name")%></font></strong></a></div></td>
      </tr>
      <tr>
        <td><div align="center"> <% 	if rs("erji")<>"" then
	response.write "<a href=http://"&rs("erji")&".00900.net target=_blank><font color=#ff3300>http://"&rs("erji")&".00900.net</font>"
	else
	response.write "二级域名未开通"
	end if
%></div></td>
      </tr>      <%
	rs.movenext
	i=i+1
	loop
%>
    </table></td>
    <td width="151" background="images/9999.gif">&nbsp;</td>
    <td width="146"><table width="141" border="0" cellpadding="0" cellspacing="0">
      	<% 


		rs.pagesize = 20
		if request("page")=""  or isempty(request("page")) then
		page = 1
		else
		page=cint(request("page"))
		end if
		if page>rs.pagecount then
		page=rs.pagecount
		end if
		if not rs.BOF then
		Rs.Move Rs.PageSize*(page-1)
		end if
		i=1
%>
	  <tr><%	do while not rs.eof and i<=rs.pagesize
%>
        <td><div align="center"><%	if rs("logo")<>"" then
	response.write "<a href=user/index.asp?userid="&rs("id")&" target=_blank><img src=user/"&rs("logo")&" width=120 height=50 border=0></a>"
	else
	response.write "<img src=image/noshoplogo.gif width=120 height=50 border=0>"
	end if
%></div></td>
      </tr>
      <tr>
        <td><div align="center"><a href=user/index.asp?userid=<%=rs("id")%> target=_blank><strong><font color=#ff3300><%=rs("name")%></font></strong></a></div></td>
      </tr>
      <tr>
        <td><div align="center"> <% 	if rs("erji")<>"" then
	response.write "<a href=http://"&rs("erji")&".00900.net target=_blank><font color=#ff3300>http://"&rs("erji")&".00900.net</font>"
	else
	response.write "二级域名未开通"
	end if
%></div></td>
      </tr>      <%
	rs.movenext
	i=i+1
	loop
%>
    </table></td>
  </tr>
</table>
<table width="98%" height="30" align="center" cellpadding="0" cellspacing="0">
        <form name=form method=post action=?lbid=<%=request("lbid")%>>
          <tr> 
            <td valign="middle" align="center">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <%
if rs.recordcount<>0 then
if page-1 mod 10=0 then
		p=(page-1) \ 10
	else
		p=(page-1) \ 10
	end if

	response.write " >> 分页："

	if p*10>0 then response.write "<a href='?lbid="&request("lbid")&"&page="&p*10&"' title=上十页>[&lt;&lt;]</a>   "
    uming_i=1
	for ii=p*10+1 to P*10+10
		   if ii=page then
	          response.write "<font color=#ff0000>["+Cstr(ii)+"]</font> "
		   else
		      response.write "<a href='?lbid="&request("lbid")&"&page="&ii&"'>["+Cstr(ii)+"]</a>   "
		   end if
		if ii=rs.pagecount then exit for
		 uming_i=uming_i+1
	next
	if ii<=rs.pagecount and uming_i=11 then response.write "<a href='?lbid="&request("lbid")&"&page="&ii&"' title=下十页>[&gt;&gt;]</a>   "
response.write(" 　跳页：<input type=text name=page size=2 maxlength=3 class=wenbenkuang> <input type=submit name=Submit2 value=Go class=go-wenbenkuang>")
end if
rs.close
set rs=nothing%> </td>
          </tr>
        </form>
</table>
<table width="0" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td>&nbsp;</td>
  </tr><% end if%>
</table>
<!--#include file="inc_end.asp" -->