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

📄 index2.asp

📁 电子商务购物系统
💻 ASP
📖 第 1 页 / 共 2 页
字号:
<!--#include file="conn.asp"-->
<!--#include file="webconfig.asp"-->
<html>
<head>
<title><%=webname%>--首页</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="css.css" rel="stylesheet" type="text/css">
<script language="JavaScript">
<!--
function demo(Page,scrl){
if (false)window.close();
 if  (!window.win || win.closed)  
 {
 win=open(Page,"gouwu","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,top=2,width=450,height=350,scrollbars="+scrl+",resizable=1");
 }
 else{
  win.close();
  win=open(Page,"gouwu","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,top=2,width=450,height=350,scrollbars="+scrl+",resizable=1");
  } 
}
//-->
</script>
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<!-- onMouseOver="window.status='【<%=webname%>】<%=weburl%> 如果您喜欢本站,别忘了把本站介绍给您的好友哦!:)';return true">-->
<%dim dada,dadaurl,xiao1,xiao2,xiao3,xiao1url,xiao2url,xiao3url,tx1,tx1url,tx2,tx2url,tx3,tx3url
set rs=server.CreateObject("adodb.recordset")
rs.open "select * from shop_gg",conn,1,1
dada=trim(rs("458"))
dadaurl=trim(rs("458url"))
xiao1=trim(rs("2541"))
xiao1url=trim(rs("2541url"))
xiao2=trim(rs("2542"))
xiao2url=trim(rs("2542url"))
xiao3=trim(rs("2543"))
xiao3url=trim(rs("2543url"))
tx1=trim(rs("1441"))
tx1url=trim(rs("1441url"))
tx2=trim(rs("1442"))
tx2url=trim(rs("1442url"))
tx3=trim(rs("1443"))
tx3url=trim(rs("1443url"))

rs.close
set rs=nothing
%>
<%dim gg1,gg2,gg3,gg4,gg1url,gg2url,gg3url,gg4url
set rs=server.CreateObject("adodb.recordset")
rs.open "select * from shop_gg",conn,1,1
gg1=trim(rs("1601"))
gg1url=trim(rs("1601url"))
gg2=trim(rs("1602"))
gg2url=trim(rs("1602url"))
gg3=trim(rs("1603"))
gg3url=trim(rs("1603url"))
gg4=trim(rs("1604"))
gg4url=trim(rs("1604url"))
rs.close
set rs=nothing
%>
<!--#include file="webtop.asp"-->
<table width="760" border="0" cellspacing="0" cellpadding="0" align="center"  class="table-zuoyou">
  <tr> 
    <td valign="top" bgcolor="#FFFFFF" bordercolor="#FFFFFF"> 
      <%if request.cookies("snsn")("username")="" then%>
      <!--#include file="userinfo.asp"-->
      <%end if%>
      <!--#include file="searchinfo.asp"-->
      <!--#include file="gouwucheinfo.asp"-->
      <!--#include file="fenleiinfo.asp"-->
      <!--#include file="xiaoshouinfo.asp"-->
      <table width="100%" class="table-shangxia" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td height="23" bgcolor="f1f1f1"> 友情广告</td>
        </tr>
      </table>
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td> <br>
            <table width="100%" border="0" cellspacing="0" cellpadding="0" >
              <tr> 
                <td height="65" width="181"> 
                  <table width="96%" border="0" cellspacing="0" cellpadding="0" align="center">
                    <tr> 
                      <td> 
                        <div align="right"><a href=<%=xiao1url%> target="_blank"><img src=<%=xiao1%> border="0" width="166" height="55"></a></div>
                      </td>
                    </tr>
                  </table>
                </td>
              </tr>
              <tr> 
                <td height="65" width="181"> 
                  <table width="96%" border="0" cellspacing="0" cellpadding="0" align="center">
                    <tr> 
                      <td> 
                        <div align="right"><a href=<%=xiao2url%> target="_blank"><img src=<%=xiao2%>  border="0" width="166" height="55"></a></div>
                      </td>
                    </tr>
                  </table>
                </td>
              </tr>
              <tr> 
                <td height="65" width="181"> 
                  <table width="96%" border="0" cellspacing="0" cellpadding="0" align="center">
                    <tr> 
                      <td> 
                        <div align="right"><a href=<%=dadaurl%> target="_blank"><img src=<%=dada%>  border="0" width="166" height="55"></a></div>
                      </td>
                    </tr>
                  </table>
                </td>
              </tr>
              <tr>
                <td height="65" width="181">
                  <table width="96%" border="0" cellspacing="0" cellpadding="0" align="right">
                    <tr> 
                      <td> 
                        <div align="right"><a href=<%=xiao3url%> target="_blank"><img src=<%=xiao3%>  border="0" width="166" height="55"></a></div>
                      </td>
                    </tr>
                  </table>
                </td>
              </tr>
            </table>
          </td>
        </tr>
      </table>
      <!--#include file="toupiaoinfo.asp"-->
    </td>
    <td valign="top" bgcolor="#FFFFFF" bordercolor="#FFFFFF" width="578"  class="table-zuo"> 
      <div align="center"> 
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr> 
            <td> 
              <table width="100%" class="table-shangxia" border="0" cellspacing="0" cellpadding="0">
                <tr> 
                  <td height="23">  
                    <!--#include file="xinxi.asp"-->
                  </td>
                </tr>
              </table>
              <table width="100%" class="table-xia" border="0" cellspacing="0" cellpadding="0">
                <tr> 
                  <td height="23" bgcolor="f1f1f1"> <b><font color="#993300">推荐特价&gt;&gt;&gt;</font></b></td>
                </tr>
              </table>
              <table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr> 
                  <td height="35"> 
                    <div align="center"> 
                      <table width="100%" border="0" cellspacing="0" cellpadding="3">
                        <tr> </tr>
                        <%set rs=server.createobject("adodb.recordset")
						  rs.open "select Top 3 * from shop_books where tejiabook=1 and bestbook=1 order by bookid,bookname desc",conn,1,1
						  if rs.recordcount=0 then 
						  response.write "<tr><td> 暂无推荐特价</td></tr>"
						  else
						  %>
                        <tr> 
                          <%
						  while not rs.eof%>
                          <td align=center><a href=list.asp?id=<%=rs("bookid")%>> 
                            <%if rs("bookpic")="" then 
	response.write "<div align=center><a href=list.asp?id="&rs("bookid")&"><img src=images/emptybook.gif width=75 height=75 border=0></a></div>"
	else%>
                            </a>
                            <table width="150" border="0" cellspacing="0" cellpadding="0" height="150">
                              <tr> 
                                <td background="images/xt.gif"> 
                                  <div align="center"><a href=list.asp?id=<%=rs("bookid")%>><img src="<%=trim(rs("zhuang"))%>" width=115 border=0 height="115" alt="<%=trim(rs("bookname"))%>"></a></div>
                                </td>
                              </tr>
                            </table>
                            <%end if%>
                          </td>
                          <%
			rs.movenext
		    wend
			%>
                        </tr>
                        <%
		end if
		rs.close
		set rs=nothing
		%>
                      </table>
                    </div>
                  </td>
                </tr>
              </table>
            </td>
          </tr>
        </table>
        <table width="100%" border="0" cellspacing="0" cellpadding="5" align="center" class="table-shang">
          <tr> 
            <td width="50%" valign="top"> 
              <table width="100%" class="table-shangxia" border="0" cellspacing="0" cellpadding="0">
                <tr> 
                  <td height="23" bgcolor="f1f1f1"> <font color="#FF0000">新品上架</font></td>
                </tr>
              </table>
              <table width="100%%" border="0" cellspacing="0" cellpadding="3">
                <%set rs=server.createobject("adodb.recordset")
						  rs.open "select Top 6 * from shop_books where newsbook=1 order by bookid desc",conn,1,1
						  if rs.recordcount=0 then 
						  response.write "<tr><td> 暂无新品</td></tr>"
						  else
						  while not rs.eof
						  %>
                <tr> 
                  <td height="11"> <a href=list.asp?id=<%=rs("bookid")%>> 
                    <%if len(trim(rs("bookname")))>20 then
	response.write left(trim(rs("bookname")),20)&"...."
	else
	response.write trim(rs("bookname"))
	end if%>
                    </a></td>
                </tr>
                <%
						  rs.movenext
						  wend
						  end if
						  rs.close
						  %>
              </table>
            </td>
            <td width="50%" valign="top"> 
              <!--#include file="gonggaoinfo.asp"-->
            </td>
          </tr>
        </table>
        <table width="100%" class="table-shangxia" border="0" cellspacing="0" cellpadding="0">
          <tr> 
            <td height="23" bgcolor="f1f1f1"> 精品热卖 </td>

⌨️ 快捷键说明

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