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

📄 index.asp

📁 佳可商务购物程序v1.0
💻 ASP
📖 第 1 页 / 共 4 页
字号:
	  response.write "<br>目前没有特价商品"
	  else%>
                                          <br>
                                          <table cellspacing=0 cellpadding=2 width="100%" border=0>
                                            <tbody> 
                                            <tr> 
                                              <td width="53%"><br>
                                                <img height=102 hspace=5 src="images/bg_book.gif" 
                  width=71 vspace=5 border=0> 
                                                <p style="MARGIN-TOP: -112px"><a 
                  href=book.asp?id=<%=rs("bookid")%> target=_blank><img 
                  height=96 alt=商品样品 hspace=5 src="<%if trim(rs("bookpic"))="" then
				  response.write "images/emptybook.gif"
				  else
				  response.write trim(rs("bookpic"))
				  end if%>" 
                   width=65 vspace=3 border=0></a> 
                                                <p style="MARGIN-TOP: -50px" align=right>&nbsp; 
                                                </p>
                                              </td>
                                              <td width="47%"><a href=book.asp?id=<%=rs("bookid")%> target=_blank><font  color=#FF6600><%=trim(rs("bookname"))%></font></a> 
                                                <br>
                                                <%if trim(rs("bookcontent"))<>"" then
					  if len(trim(rs("bookcontent")))> 58 then
response.write left(trim(rs("bookcontent")),56)&"..."
else
response.write trim(rs("bookcontent"))
end if
end if%>
                                                <br>
                                                市场价:<%=formatnumber(rs("shichangjia"),2)%>  
                                                会员价:<font color=#FF6600><%=formatnumber(rs("huiyuanjia"),2)%> 
                                                </font> 
                                                <table align="center" cellpadding=0 cellspacing=0>
                                                  <tbody> 
                                                  <tr> 
                                                    <td align=middle width=55 height=22> 
                                                      <input onClick="javascript:window.open('shopping.asp?id=<%=rs("bookid")%> ','','width=632,height=388,toolbar=no, status=no, menubar=no, resizable=yes, scrollbars=yes');return false;" type="image" border="0" name="submit28" src="images/gm.gif" width="46" height="19">
                                                    </td>
                                                    <td width=57 height=22> 
                                                      <input onClick="javascript:window.open('shoucang.asp?id=<%=rs("bookid")%>&action=add ','','width=632,height=388,toolbar=no, status=no, menubar=no, resizable=yes, scrollbars=yes');return false;"  type="image" border="0" name="submit227" src="images/shc.gif" width="46" height="19">
                                                      <%rs.movenext%>
                                                    </td>
                                                  </tr>
                                                  </tbody> 
                                                </table>
                                              </td>
                                            </tr>
                                            </tbody> 
                                          </table>
                                          <%end if%>
                                        </td>
                                        <td valign=top width="50%"> 
                                          <%if rs.eof and rs.bof then
			  response.write "<br>目前没有特价商品"
			  else
			  if rs.recordcount>=2 then
			  rs.movenext
			  else
			  rs.movefirst
			  end if
			  %>
                                          <br>
                                          <table cellspacing=0 cellpadding=2 width="100%" border=0>
                                            <tbody> 
                                            <tr> 
                                              <td width="52%"><br>
                                                <img height=102 hspace=5 src="images/bg_book.gif" 
                  width=71 vspace=5 border=0> 
                                                <p style="MARGIN-TOP: -112px"><a 
                  href=book.asp?id=<%=rs("bookid")%> target=_blank><img 
                  height=96 alt=商品样品 hspace=5 src="<%if trim(rs("bookpic"))="" then
				  response.write "images/emptybook.gif"
				  else
				  response.write trim(rs("bookpic"))
				  end if%>" 
                  width=65 vspace=3 border=0></a> 
                                                <p style="MARGIN-TOP: -50px" align=right>&nbsp; 
                                                </p>
                                              </td>
                                              <td width="48%"><a  
                  href=book.asp?id=<%=rs("bookid")%> target=_blank><font  color=#FF6600><%=trim(rs("bookname"))%></font></a> 
                                                <br>
                                                <%if trim(rs("bookcontent"))<>"" then
					  if len(trim(rs("bookcontent")))> 58 then
response.write left(trim(rs("bookcontent")),56)&"..."
else
response.write trim(rs("bookcontent"))
end if
end if%>
                                                <br>
                                                市场价:<%=formatnumber(rs("shichangjia"),2)%><br>
                                                会员价:<font color=#FF6600><%=formatnumber(rs("huiyuanjia"),2)%></font> 
                                                <table align="center" cellpadding=0 cellspacing=0>
                                                  <tbody> 
                                                  <tr> 
                                                    <td align=middle width=55 height=22> 
                                                      <input onClick="javascript:window.open('shopping.asp?id=<%=rs("bookid")%> ','','width=632,height=388,toolbar=no, status=no, menubar=no, resizable=yes, scrollbars=yes');return false;" type="image" border="0" name="submit29" src="images/gm.gif" width="46" height="19">
                                                    </td>
                                                    <td width=57 height=22> 
                                                      <input onClick="javascript:window.open('shoucang.asp?id=<%=rs("bookid")%>&action=add ','','width=632,height=388,toolbar=no, status=no, menubar=no, resizable=yes, scrollbars=yes');return false;"  type="image" border="0" name="submit228" src="images/shc.gif" width="46" height="19">
                                                      <%rs.movenext%>
                                                    </td>
                                                  </tr>
                                                  </tbody> 
                                                </table>
                                                <br>
                                              </td>
                                            </tr>
                                            </tbody> 
                                            <%rs.close
				set rs=nothing%>
                                          </table>
                                          <%end if%>
                                        </td>
                                      </tr>
                                      </tbody> 
                                    </table>
                                  </td>
                                </tr>
                              </table>
                            </td>
                          </tr>
                        </table>
                        <br>
                        <a href="<%=tx2url%>" target=_blank><img src="<%=tx2%>" width="370" height="65" border="0"></a></div>
                    </td>
                    <td width="1" valign="top" background="images/bj_x.gif"></td>
                    <td width="182" valign="top"> 
                      <table width="180" border="0" cellspacing="0" cellpadding="0">
                        <tr> 
                          <td bgcolor="#F0F0F0" height="28"> 
                            <table cellspacing=0 cellpadding=0 width=170 height="20">
                              <tr> 
                                <td width=5>&nbsp;</td>
                                <td width=28> 
                                  <div align="center"><img src="images/index7.gif" width="14" height="10"></div>
                                </td>
                                <td class=hg12 valign=bottom width="123">&nbsp;<b>最新动态</b></td>
                                <td width=12>&nbsp;</td>
                              </tr>
                            </table>
                          </td>
                        </tr>
                        <tr> 
                          <td> 
                            <table width="94%" border="0" cellspacing="0" cellpadding="0">
                              <tr> 
                                <td width="6%">&nbsp;</td>
                                <td width="94%"><marquee direction="up" width="100%" height="106"  scrollamount="2" id=info onMouseOver=info.stop() onMouseOut=info.start() ><%=gonggao%></marquee></td>
                              </tr>
                            </table>
                          </td>
                        </tr>
                        <tr> 
                          <td height="19">&nbsp;</td>
                        </tr>
                      </table>
                      <table width="178" border="0" cellspacing="0" cellpadding="0" height="68">
                        <tr> 
                          <td height="68"> 
                            <table width="96%" border="0" cellspacing="0" cellpadding="0">
                              <tr> 
                                <td> 
                                  <div align="right"><a href="<%=tx3url%>" target=_blank><img src="<%=tx3%>" width="166" height="55" border="0"></a></div>
                                </td>
                              </tr>
                            </table>
                          </td>
                        </tr>
                      </table>
                      <%set rs=server.CreateObject("adodb.recordset")
rs.open "select top 10 bookid,bookname,huiyuanjia from shop_books where bestbook=1 order by adddate desc",conn,1,1
dim icount
icount=rs.recordcount
if rs.eof and rs.bof then
response.write "<center>&nbsp;</center>"
else%>
                      <table width="180" border="0" cellspacing="0" cellpadding="0">
                        <tr> 
                          <td bgcolor="#F0F0F0" height="28"> 
                            <table cellspacing=0 cellpadding=0 width=170 height="20">
                              <tr> 
                                <td width=5>&nbsp;</td>
                                <td width=28> 
                                  <div align="center"><img src="images/index7.gif" width="14" height="10"></div>
                                </td>
                                <td class=hg12 valign=bottom width="123">&nbsp;<b><font color="#990000">精品推荐</font></b></td>
                                <td width=12>&nbsp;</td>
                              </tr>
                            </table>
                          </td>
                        </tr>
                        <tr> 
                          <td> 
                            <table width="92%" border="0" align="center" cellpadding="0" cellspacing="0">
                              <tr> 
                                <td height="2"></td>
                              </tr>
                              <tr> 
                                <td height="20"> 
                                  <div align="center"> </div>
                                </td>
                              </tr>
                              <tr> 
                                <td> 
                                  <%
		  i=0
		  do while not rs.eof
		  response.write "·<a href=book.asp?id="&rs("bookid")&" target=_blank>"
		  if len(trim(rs("bookname")))>18 then
		  response.write left(trim(rs("bookname")),18)&"..."
		  else
		  response.write trim(rs("bookname"))
		  end if
		  response.write "</a>&nbsp;&nbsp;<font color=#FF6600>"&formatnumber(rs("huiyuanjia"),2)&"元</font><br>"
		  i=i+1
		  if i>=5 then exit do
		  rs.movenext
		  loop
		  		  %>
                                </td>
                              </tr>
                              <tr> 
                                <td height="1"></td>
                              </tr>
                              <tr> 
                                <td height="1" ></td>
                              </tr>
                            </table>
                          </td>
                        </tr>
                        <tr> 
                          <td>&nbsp;</td>
                        </tr>

⌨️ 快捷键说明

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