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

📄 index.asp

📁 一套完整的在线购物系统
💻 ASP
字号:
<!--#include file="inc/config.asp" -->
<!--#include file="inc/conn.asp" -->
<%
dim tit
tit="首 页"
call web_nav()
call web_head()
%>
<table width="798" border="0" cellspacing="0" cellpadding="0" align="center">
  <tr> 
    <td width="1" bgcolor="#a5a5a5" rowspan="2"></td>
    <td width="172" valign="top" style="border-right:1px #bab7b7 solid" rowspan="2"> 
      <table width="170" border="0" cellspacing="0" cellpadding="0" align="center">
        
          <tr> 
            <td align="center"><img src="pic/login_bg.gif" width="168" height="45"></td>
          </tr>
		 <% if session("username")="" then %> 
		  <form action=login.asp method=post name="login_chk">
          <tr> 
            <td align="center" background="pic/left_center.gif" height="30" width="170"> 
              用户名: 
              <input type="text" name="username" size="14">
            </td>
          </tr>
          <tr> 
            <td align="center" background="pic/left_center.gif" height="30" width="170"> 
              密&nbsp;&nbsp;&nbsp;码: 
              <input type="password" name="password" size="14">
            </td>
          </tr>
          <tr> 
            <td align="center" background="pic/left_center.gif" height="38" width="170"> 
              <img style="cursor:hand" SRC="pic/login_bt.gif" width="47" height="36" border="0" onClick="login_chk.submit()">
			  <A HREF="reg.asp"><IMG SRC="pic/login_rg.gif" WIDTH="47" HEIGHT="38" BORDER="0"></A>
			  <A HREF="getpass"><IMG SRC="pic/login_wm.gif" WIDTH="47" HEIGHT="40" BORDER="0"></A>
            </td>
          </tr></form>
          <% else %>
            <tr><td align="center" background="pic/left_center.gif" height="25" width="170">
           <FONT COLOR="red">亲爱的<%=session("username")%>,欢迎您</FONT>
			</td></tr>
			<tr><td background="pic/left_center.gif" height="25" width="170">&nbsp;&nbsp;您的购物车有:<%=cart_count%>种商品
			</td></tr>
			<tr><td background="pic/left_center.gif" height="25" width="170">&nbsp;&nbsp;总计价格¥:<%=cart_sum%>元
			</td></tr>
			<tr><td background="pic/left_center.gif" height="25" width="170">&nbsp;&nbsp;<A HREF="my_cart.asp">查看购物车</A> - <A HREF="user.asp?action=myorder">查询定单</A>
			</td></tr>
          <% end if %>
          <tr> 
            <td align="center"><img src="pic/left_bt.gif" width="168" height="23"></td>
          </tr>
        
      </table>
      <table border=0 width=170 cellspacing=0 cellpadding=0 style="border-right:1px #bab7b7 dotted;border-top:1px #bab7b7 dotted;border-bottom:1px #bab7b7 dotted">
        <tr>
          <td width=169><IMG SRC="pic/cpfl.gif" WIDTH="169" HEIGHT="32" BORDER="0"></td>
        </tr>
        <% call gsort() %>
      </table>
      <p style="margin-top:5"></p>
      <table border=0 width=170 cellspacing=0 cellpadding=0 style="border-right:1px #bab7b7 dotted;border-top:1px #bab7b7 dotted;border-bottom:1px #bab7b7 dotted">
        <tr>
          <td width=169><IMG SRC="pic/cpss.gif" WIDTH="169" HEIGHT="32" BORDER="0"></td>
        </tr>
        <% call search() %>
      </table>
      <p style="margin-top:5"></p>
      <table border=0 width=170 cellspacing=0 cellpadding=0 style="border-right:1px #bab7b7 dotted;border-top:1px #bab7b7 dotted;border-bottom:1px #bab7b7 dotted">
        <tr>
          <td width=169><IMG SRC="pic/hzzd.gif" WIDTH="169" HEIGHT="32" BORDER="0"></td>
        </tr>
        <% call web_link() %>
      </table>
    </td>
    <td width="607" valign="top">
      <table width="605" border="0" cellspacing="0" cellpadding="0" align=right>
        <tr>
          <td width="402">
            <table width="400" border="0" cellspacing="0" cellpadding="0" align="center">
              <tr>
                <td><img src="pic/tjsp.gif" width="400" height="35"></td>
              </tr>
              <tr>
                <td height="120" width="400"><SPAN id=icefable1>
				<% call goods_com() %></span></td>
              </tr>
			  <tr><td height=30 bgcolor=#000000 align=center>
			  <FONT COLOR="#ffffff">商城热力推荐,让您买的放心,用的舒心!</FONT></td></tr>
            </table>
          </td>
          <td width="203">
            <table width="201" border="0" cellspacing="0" cellpadding="0" align="right" style="border-bottom:1px #bab7b7 solid;border-left:1px #bab7b7 solid;border-right:0px #bab7b7 solid">
              <tr align="right">
                <td><img src="pic/wzgg.gif" width="200" height="50"></td>
              </tr>
              <tr>
                 <td height="135" valign=top>
				 <p style="margin-top:3;margin-bottom:3;margin-left:5;margin-right:5;line-height=150%">
				 <% call web_annou() %>
				 </p>
				 </td>
              </tr>
            </table>
          </td>
        </tr>
      </table>
    </td>
    <td width="17" background="pic/right_bg.gif" rowspan="2"></td>
  </tr>
  <tr>
    <td width="607" valign="top" align=center>
      <table width="600" border="0" cellspacing="0" cellpadding="0" align="center">
        <tr>
          <td><img src="pic/xpsj.gif" width="600" height="35"></td>
        </tr>
        <tr>
          <td width=600><% call new_goods() %></td>
        </tr>
      </table>

	  <table width="600" border="0" cellspacing="0" cellpadding="0" align="center">
        <tr>
          <td><img src="pic/cheapness.gif" width="600" height="35"></td>
        </tr>
        <tr>
          <td width=600><% call cheap_goods() %></td>
        </tr>
      </table>
	  <table width="600" border="0" cellspacing="0" cellpadding="0" align="center">
        <tr>
          <td><img src="pic/xsph.gif" width="600" height="35"></td>
        </tr>
        <tr>
           <td width=600><% call goods_ph() %></td>
        </tr>
      </table>

	  <table width="600" border="0" cellspacing="0" cellpadding="0" align="center">
	  <tr><td height=3 background="pic/cbg.jpg"></td></tr>
        <tr><td width=600 height=30 align=center>&nbsp;
		  ◇<A HREF="help.asp">支付方式</A>&nbsp;&nbsp;&nbsp;&nbsp;
		  ◇<A HREF="help.asp">配送问题</A>&nbsp;&nbsp;&nbsp;&nbsp;
		  ◇<A HREF="help.asp">售后服务</A>&nbsp;&nbsp;&nbsp;&nbsp;
		  ◇<A HREF="help.asp">集团采购</A>&nbsp;&nbsp;&nbsp;&nbsp;
		  ◇<A HREF="mailto:webmaster@evangen.com">联系我们</A>&nbsp;&nbsp;&nbsp;&nbsp;
		  ◇<A HREF="admin_index.asp">商城管理</A></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<% call web_foot() %>

⌨️ 快捷键说明

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