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

📄 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 background="images/bg.gif" leftmargin="0" topmargin="0">
<!--#include File="Top.asp"-->
<table width="760" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr> 
    <td height="4" background="images/i_18.gif"></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%>
<table width="760" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="ffffff">
  <tr> 
    <td width="172" valign="top" background="images/i_58.gif"> 
      <table width="172" 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_87.gif" width="172" height="29"></td>
        </tr>
        <tr> 
          <td background="images/i_90.gif"> 
            <table width="90%" border="0" align="center" cellpadding="0" cellspacing="0">
              <tr> 
                <td> <%=LinkArr%></td>
              </tr>
            </table>
            <table width="90%" 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_94.gif" width="172" height="5"></td>
        </tr>
        <tr> 
          <td>&nbsp;</td>
        </tr>
      </table></td>
    <td width="588" valign="top"> 
      <table width="588" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td>
<%IF Int(Mould_Setup(6)) = 0 Then%>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td width="76"><img src="images/i_21.gif" width="76" height="28"></td>
                <td width="460" background="images/i_22.gif">&nbsp;</td>
                <td width="52" align="right" valign="bottom"><a href="News.asp"><img src="images/i_25.gif" width="52" height="22" border="0"></a></td>
              </tr>
            </table>
            <table width="588" 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>
<%End IF%>
<%IF Int(Mould_Setup(15)) = 0 Then%>
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td width="74" height="28" valign="bottom"><img src="images/i_63.gif" width="74" height="26"></td>
                <td width="462" background="images/i_22.gif">&nbsp;</td>
                <td width="52" align="right" valign="bottom"><a href="Products.asp"><img src="images/i_25.gif" width="52" height="22" border="0"></a></td>
              </tr>
            </table>
            <table width="588" 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>
<%End IF%>
			</td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<!--#include File="End.asp"-->
</body>
</html>

⌨️ 快捷键说明

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