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

📄 index.asp

📁 程序为自主开发ASP+SQL大型购物搜索网站,系统管理、商铺、会员三种会员唯一帐号管理。目前已有数据条商品数据与数万条商铺信息
💻 ASP
字号:
<!--#include File="Conn.asp"-->
<!--#include File="Left.asp"-->
<%
Dim LinkArr

Set Rs = Conn.Execute("Select * From Link Where LinkType = 'text' and ShopNumberID = '"& ShopNumberID &"' Order By  LinkOrder")
	While Not Rs.Eof
	LinkArr = LinkArr & "·<a href="& Rs("LinkURL") &" target=_blank>"& Rs("LinkName") &"</A><br>"
	Rs.MoveNext
	Wend
	Rs.Close
	Set Rs = Nothing
	
	
Dim LinkArr_p

Set Rs = Conn.Execute("Select * From Link Where LinkType = 'pic' and ShopNumberID = '"& ShopNumberID &"' Order By  LinkOrder")
	While Not Rs.Eof
	LinkArr_p = LinkArr_p & "<a href="& Rs("LinkURL") &" target=_blank><img src="& ViewImageFile &"?w=120&h=100&picUrl="& Rs("LinkName") &" border=0></A><br><br>"
	Rs.MoveNext
	Wend
	Rs.Close
	Set Rs = Nothing
	
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>首页-<%=HTMLEncodeNO(ShopName)%>-<%=HTMLEncodeNO(ShopTitle)%>-互联之光大卖场</title>
<meta name="keywords" content="<%=HTMLEncodeNO(ShopKey)%>">
<meta name="description" content="<%=HTMLEncodeNO(ShopContent)%>">
<link href="CSS.CSS" rel="stylesheet" type="text/css">
</head>
<body leftmargin="0" topmargin="0">
<!--#include File="Top.asp"-->
<table width="760" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="ffffff">
  <tr> 
    <td width="224" valign="top" background="images/i_39.gif"> 
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td> 
            <%
		  Call Login() 
		  Call Search() 
		  Call ClassS()
		  %>
          </td>
        </tr>
      </table>
      <table width="172" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td><img src="images/i_53.gif" width="224" height="23"></td>
        </tr>
        <tr> 
          <td background="images/i_44.gif"> <table width="80%" border="0" align="center" cellpadding="0" cellspacing="0">
              <tr> 
                <td> <%=LinkArr%></td>
              </tr>
            </table>
            <table width="80%" border="0" align="center" cellpadding="0" cellspacing="0">
              <tr> 
                <td align="center"> <%=LinkArr_p%></td>
              </tr>
            </table> </td>
        </tr>
        <tr> 
          <td><img src="images/i_47.gif" width="224" height="6"></td>
        </tr>
        <tr> 
          <td>&nbsp;</td>
        </tr>
      </table> 
    </td>
    <td width="86" valign="top" background="images/i_21.gif"> 
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td><img src="images/i_13.gif" width="47" height="60"></td>
        </tr>
      </table>
    </td>
    <td width="489" valign="top" background="images/i_27.gif"> 
      <table width="489" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td background="images/i_27.gif"> 
            <table width="100%" height="41" border="0" cellpadding="0" cellspacing="0">
              <tr> 
                <td background="images/i_15.gif">&nbsp;</td>
                <td width="7"><img src="images/i_16.gif" width="7" height="41"></td>
              </tr>
            </table>
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td><img src="images/i_17.gif" width="489" height="3"></td>
              </tr>
            </table>
            <%IF Int(Mould_Setup(6)) = 0 Then%>
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td width="3"><a href="News.asp"> </a></td>
                <td><a href="News.asp"><img src="images/i_19.gif" width="468" height="23" border="0"></a></td>
              </tr>
            </table>
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td><table width="96%" border="0" align="center" cellpadding="0" cellspacing="0">
                    <tr> 
                      <td> 
                        <!--#include File="iNews.asp"-->
                      </td>
                    </tr>
                  </table></td>
              </tr>
            </table>
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td><img src="images/i_30.gif" width="489" height="6"></td>
              </tr>
            </table>
            <%End IF%>
            <%IF Int(Mould_Setup(15)) = 0 Then%>
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td><img src="images/i_17.gif" width="489" height="3"></td>
              </tr>
            </table> 
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
                    <tr> 
                      <td> 
                        <%IF Int(Mould_Setup(13)) = 0 Then%>
                        <!--#include File="iProduct_A.asp"-->
                        <%Else%>
                        <!--#include File="iProduct.asp"-->
                        <%End IF%>
                      </td>
                    </tr>
                  </table></td>
              </tr>
            </table>
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td><img src="images/i_30.gif" width="489" height="6"></td>
              </tr>
            </table>
            <%End IF%>
          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<%IF Int(Mould_Setup(18)) = 0 Then%>
<table width="760" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr> 
    <td> 
      <%
	Set Rs = Conn_s.Execute("Select * From Txt_Setup Where NumberID = 1")
	
		IF Not Rs.eof Then
		
		Response.Write Rs("Body")

		End IF
		
		Rs.Close
		
	Set Rs = Nothing
%>
    </td>
  </tr>
</table>
<%End iF%>
<!--#include File="End.asp"-->
</body>
</html>

⌨️ 快捷键说明

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