<META http-equiv=Content-Type content="text/html; charset=gb2312">
<%dim tjsjrs,j
set tjsjrs=server.CreateObject("adodb.recordset")
		  tjsjrs.open "select top 12 id,name,pic,adddate,spic from FOX_xiao where recommend=2 order by adddate desc",conn,1,1
		  if tjsjrs.eof and tjsjrs.bof then
		   tjsjrs.close
		  response.write "<table CELLSPACING=0 CELLPADDING=0 BORDER=0 WIDTH=""100%""><tr><td align=center>对不起，请您先到后台添加商品！</td></tr></table>"
		  else
%> 
            <style type="text/css">
<!--
.style1 {color: #999999}
.style2 {color: #000000}
.unnamed1 {text-decoration: none;
}
-->
            </style>
            <script type="text/JavaScript">
<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
//-->
            </script>
<body topmargin="0">

<div align="center">
<TABLE cellSpacing=0 width="100%" border=0>
              <TBODY>
              <TR>
			  <% 
			  j=0
			  do while not tjsjrs.eof 
			  if j>=3 then exit do
			  %>
                <TD align=center valign="top" border="0">
                  <TABLE cellPadding=2 width="130" border=1 bordercolorlight="#E0DEDE" bordercolordark="#E0DEDE" style="border-collapse: collapse" cellspacing="0">
                  <TBODY>
				  <tr><td height="80" width="120" align="center"> 
				  <A  HREF=shangjiainfo.asp?id=<%=tjsjrs("id")%> TARGET=_blank>
				  <IMG SRC=<%if trim(tjsjrs("spic"))="" then %>
				  images/emptybook.gif
				  <% else %>
				  image\<% = trim(tjsjrs("spic")) %>
				  <% end if%> BORDER=0 width="130" height="80"></A></td>
				  </tr>
                    <TR align="center"> 
                      <TD><table width="100%"  border="0" cellspacing="1" cellpadding="1">
                        <tr>
                          <td align="center" bgcolor="#E0DEDE"><%=trim(tjsjrs("name"))%></td>
                        </tr>
                      </table></TD>
                    </TR>
                  </TBODY>
                </TABLE></TD>
				<% tjsjrs.movenext 
				j=j+1
				if tjsjrs.eof then 
		  exit do
	  end if 
	
	  loop %> </TR>
	  
	  <%
	    tjsjrs.absoluteposition=4
		j=3 %>
		              <TR>
			  <% 
			  do while not tjsjrs.eof 
			  if j>=6 then exit do
			  %>
                <TD align=center valign="top" border="0">
                  <TABLE cellSpacing=0 cellPadding=2 width="130" border=1 bordercolorlight="#E0DEDE" bordercolordark="#E0DEDE" style="border-collapse: collapse">
                  <TBODY>
				  <tr><td height="80" width="120" colspan="2" align="center"> 
				  <A  HREF=shangjiainfo.asp?id=<%=tjsjrs("id")%> TARGET=_blank>
				  <IMG SRC=<%if trim(tjsjrs("spic"))="" then %>
				  images/emptybook.gif
				  <% else %>
				  image\<% = trim(tjsjrs("spic")) %>
				  <% end if%> BORDER=0 width="130" height="80"></A></td>
				  </tr>
                    <TR align="center"> 
                      <TD colSpan=2><table width="100%"  border="0" cellspacing="1" cellpadding="1">
                        <tr>
                          <td align="center" bgcolor="#E0DEDE"><%=trim(tjsjrs("name"))%></td>
                        </tr>
                      </table></TD>
                    </TR>
                    
                  </TBODY>
                </TABLE></TD>
				<% tjsjrs.movenext 
				j=j+1
				if tjsjrs.eof then 
		  exit do
	  end if 
	
	  loop %> </TR>
					  
		<%
	  tjsjrs.close
	   %>
	   <% end if %>
            </TBODY></TABLE>

</div>


