<!--#include file="conn.asp"-->
<%lb=replace(request("lb"),"'","")
id=replace(request("id"),"'","")
%>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<style type="text/css">
<!--
body,td,th {
	font-family: 宋体;
	font-size: 12px;
	color: #000000;
}
body {
	margin-left: 0px;
	margin-top: 00px;
	margin-right: 0px;
	margin-bottom: 0px;
}
-->
</style>
<link href="css.css" rel="stylesheet" type="text/css">
</head>

<body>
<table width="922" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td><!--#include file="top.htm"--></td>
  </tr>
  <tr>
    <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="18%" background="images/l_16.jpg"><!--#include file="l1.htm" --></td>
        <td width="82%" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">

          <tr>
            <td height="38" background="images/index_131.jpg">&nbsp;&nbsp;&nbsp; &nbsp;<span class="qq">&nbsp;<strong><%=lb%></strong></span></td>
          </tr>
          <tr>
            <td height="376" align="center" valign="top"><table width="96%" border="0" cellspacing="0" cellpadding="0">

              <tr>
                <td width="100%" class="wz1"><table width="98%" height="169" border="0" cellpadding="0" cellspacing="1">
                  <tr>
                    <td width="100%" height="169" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="00">
                        <tr>
                          <td height="249" align="center" valign="top" background="images/h1.gif"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                              <% set rs=server.CreateObject("adodb.recordset")
				 rs.open "select * from product where lb='"&lb&"' order by id asc ",conn,1,1
				 if rs.eof or rs.bof then
				 response.Write"<tr><td>暂时没有记录!</tr></td>"
				 else
				 rs.pagesize=12
				 page=request("page")
					   if isempty(page) or page="" or not isnumeric(page) then page=1
				 if cint(page)<1 then page=1
				 if cint(page)>rs.pagecount then page=rs.pagecount
				 rs.absolutepage=cint(page)
				 for i=1 to 3
				  %>
                              <tr>
                                <td align="center" valign="top"><% if not rs.eof then 
						    for j=1 to 4
							%>
                                    <table width="170" border="0" align="left" cellpadding="0" cellspacing="0">
                                      <tr>
                                        <td width="17%" height="140" align="left" valign="top"><table width="127"  border="0" align="center" cellspacing="0">
                                            <tr>
                                              <td width="125" height="100" align="center" valign="bottom"><table width="80%"   border="1" cellpadding="0" cellspacing="0" bordercolor="#eeeeee">
                                                  <tr>
                                                    <td width="176"   align="center" valign="middle"><% if rs("xtp")="" then %>
                                                        <% else %>
                                                        <a href="zmzjdetail.asp?id=<%=rs("id")%>&lb=<%=server.URLEncode(rs("lb"))%>" class="a2"><img src="web/<%=rs("xtp")%>"  width="136" height="150" border="0"></a>
                                                        <% end if %></td>
                                                  </tr>
                                              </table></td>
                                            </tr>
                                            <tr>
                                              <td height="22" align="center" valign="top" class="wz2"><font color="#000000" class="wz1"><%=rs("cpmc")%></font></td>
                                            </tr>
                                        </table></td>
                                        <td width="83%" valign="top"><br></td>
                                      </tr>
                                    </table>
                                  <% rs.movenext
						  if rs.eof then exit for
						  next
						end if
					
						%></td>
                              </tr>
                              <%
next
end if
%>
                            </table>
                              <table width="99%" border="0" align="center" cellpadding="0" cellspacing="0">
                                <form action="product.asp" method="post" >
                                  <tr>
                                    <td width="92" height="35" align="right" class="wz">&nbsp;信息：</td>
                                    <td width="173" class="wz"> 共<font color="#ff0000"><%=rs.pagecount%></font>页&nbsp; 当前第<font color="#ff0000"><%=page%></font>页 </td>
                                    <td width="279" align="left" class="wz">&nbsp;[ <a href="product.asp?page=<%=page-1%>&lb=<%=server.URLEncode(lb)%>" class="a1">上一页</a> <a href="product.asp?page=<%=page+1%>&lb=<%=server.URLEncode(lb)%>" class="a1">下一页</a> <a href="product.asp?lb=<%=server.URLEncode(lb)%>" class="a1">首页</a> <a href="product.asp?page=<%=rs.pagecount%>&lb=<%=server.URLEncode(lb)%>" class="a1">末页</a> ]
                                      &nbsp;&nbsp;
                                                              <input name="page" type="text" class="wz" size="3" maxlength="4">
                                      页 </td>
                                    <td width="155" class="wenben1"><label> &nbsp;
                                          <input type="submit" name="Submit2" value="转到">
                                          <input type="hidden" name="lb" value="<%=lb%>">
                                    </label></td>
                                  </tr>
                                </form>
                              </table></td>
                        </tr>
                    </table></td>
                  </tr>
                </table></td>
              </tr>
            </table></td>
          </tr>

        </table></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td><!--#include file="bot.htm"--></td>
  </tr>
</table>
</body>
</html>
