⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 fenleichanpin.asp

📁 asp商城之王
💻 ASP
字号:
<table width="100%" height="136"  border="0" cellpadding="0" cellspacing="0">
   <tr> 
													<%i=0
          do while not rs.eof and (i<rs.pagesize)
          i=i+1
 								%>
                                                      <td width="25%" height="134" align="left" bgcolor="#FFFFFF">
														<div align="center">
	<table width="260" cellpadding=0 cellspacing=0 >
      <tr>
        <td width="20%" height="113" align="center">
          <TABLE onmouseover="this.style.backgroundColor='#FF6600'" onmouseout="this.style.backgroundColor=''" width=98 height=90 cellSpacing=1 cellPadding=2 bgColor=#e1e1e1 border=0>
            <TBODY>
              <TR>
                <TD width=92 height=90 bgColor=#ffffff align=center>
                  <%if rs("bookpic")="" then 
	response.write "<div align=center><a href=list.asp?id="&rs("bookid")&" ><img src=images/emptybook.gif width=90 height=90 border=0></a></div>"
	else%>
                  <a href=list.asp?id=<%=rs("bookid")%> target="_blank"> <img src="<%=trim(rs("bookpic"))%>" width=90 height=90 border=0 align=absmiddle></a>
                  <%end if%>
                </TD>
              </TR>
            </TBODY>
        </TABLE></td>
        <td width="80%">
          <table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td><img src="images/ring01.gif" width="9" height="9">
                  <%response.write "<a class=a4 href=list.asp?id="&rs("bookid")&" ><font color=#FF6600>"
			if len(trim(rs("bookname")))>12 then
			response.write left(trim(rs("bookname")),10)&".."
			else
			response.write trim(rs("bookname"))
			end if
			response.write "</font></a>"
			%>
              </td>
            </tr>
            <tr>
              <td><font color="#999999">
                <%if len(trim(rs("bookcontent")))>25 then
	response.write left(trim(rs("bookcontent")),25)&"..."
	else
	response.write trim(rs("bookcontent"))
	end if%>
              </font></td>
            </tr>
          </table>
          市场价:<s><%=formatnumber(rs("shichangjia"),2)&"元"%></s><br>
      会员价:<font color=#FF3300><%=formatnumber(rs("huiyuanjia"),2)&"元"%></font><br>
        </td>
      </tr>
    </table></div>
													</td>
														          <%
		if (i mod 2=0) and i>=2 then
%>
  </tr>
													<tr>
													          <%
	end if
rs.movenext
loop
rs.close
%>
  </tr>
                                                  </table>

                      </td>
                    </tr>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -