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

📄 default.asp

📁 一套很早的多用户电子商务程序
💻 ASP
📖 第 1 页 / 共 2 页
字号:
<%@ LANGUAGE="VBSCRIPT" %>
<!--#include file="conn.asp" -->
<!--#include file="Function.asp" -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>网上商城</title>
<STYLE>BODY {
	FONT-SIZE: 9pt
}
TD {
	FONT-SIZE: 9pt;
	line-height: 150%;
}
a:link { color: #000000; text-decoration: none}
a:visited { color:#000000; text-decoration: none}
a:hover         { color: #CC0000; text-decoration: none; position: relative; right: 0px; top: 1px }
</STYLE>
<SCRIPT language=JavaScript>
<!--
function openbag(url,name){
		window.open(url,name,"height=200,width=600,left=190,top=0,resizable=yes,scrollbars=yes,status=no,toolbar=no,menubar=no,location=no")}
-->
</SCRIPT>

<SCRIPT language=javascript>
<!--
function isok(theform)
{
	if (theform.uid.value=="")
  {
    alert("会员帐号不能为空!");
    theform.uid.focus();
    return (false);
  }
if (theform.pwd.value=="")
  {
    alert("对不起!密码不能为空!");
    theform.pwd.focus();
    return (false);
  }

return (true);
}
-->
</SCRIPT>
</head>
<body bgcolor="#FFFFFF" background="PIC/bg7.gif" text="#000000" leftmargin="0" topmargin="0">
<!--#include file="top.asp" -->
<%
if open_win="yes"  then
response.Write"<script LANGUAGE=JavaScript>window.open('open_win.asp','','scrollbars=yes,resizable=1, height=220, width=380, left=0, top=0'); </script>"
end if
%>
<table width="778" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td align="center" bgcolor="#FFDF80"> 
      <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="776" height="120">
        <param name="movie" value="IMAGES/banner.swf">
        <param name="quality" value="high">
        <embed src="IMAGES/banner.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="776" height="120"></embed></object>
    </td>
  </tr>
</table>
  
<table width="778" height="1" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr> 
      
    <td height="1" bgcolor="#999999"></td>
    </tr>
  </table>
<table width="778" border="0" align="center" cellpadding="0" cellspacing="0" background="PIC/bg2.gif">
  <tr>
    <td width="171" height="475" valign="top">
<!-- 会员登录入口-->	
<%If Session("LoginSuccess")="" Then%>	
	  <table width="99%" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr> 
          <td width="100%" height="17" valign="bottom" bgcolor="#FFDF80"> 
            <p align="center">会 员 登 录 </td>
        </tr>
        <tr> 
          <td height="1"></td>
        </tr>
        <tr> 
          <td background="PIC/bg-line2.gif" height="1"></td>
        </tr>
        <tr> 
          <td> <div align="center"> 
              <center>
                <table width="95%" border="0" cellpadding="4" cellspacing="3">
                  <form  name="user_form" action="user/ReLoginCheck.asp" method="post" onSubmit="return isok(this)">
                    <tr> 
                      <td> <div align="center"> 用户: 
                          <input type="text" name="uid" size="11">
                          <br>
                        </div></td>
                    </tr>
                    <tr> 
                      <td><div align="center">密码: 
                          <input type="password" name="pwd" size="11">
                        </div></td>
                    </tr>
                    <tr> 
                      <td><div align="center"> 
                 <input name="imageField" type="image" src="images/login_bt_login.gif" width="45" height="19" border="0">
                <a href="newuser.asp"><img src="images/login_bt_zc.gif" width="45" height="19" border="0"></a>
				</div></td>
                    </tr>
                    <tr> 
                      <td><div align="center"><a href="#open" onClick="window.open('Fetchpsw.ASP', '', 'height=150, width=300, top=200, left=450, scrollbars=yes, resizable=1,' );">索取密码</a> 
                          <a href="myshop/login.asp">商家登录</a> </div></td>
                    </tr>
                  </form>
                </table>
              </center>
            </div></td>
        </tr>
      </table>
	  <% else%>
<!-- 会员登录后显示内容-->	  
      <table width="168" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr> 
          <td height="17" valign="bottom" bgcolor="#FFDF80"> <p align="center">会 员 信 息</td>
        </tr>
        <tr> 
          <td height="1"></td>
        </tr>
        <tr> 
          <td background="PIC/bg-line2.gif" height="1"></td>
        </tr>		
        <tr> 
          <td> <div align="center"> 
              <center>
                <table width="100%" border="0" cellpadding="4" cellspacing="4">
                  <tr bgcolor="#CCFFFF"> 
                    <td> 
                      <div align="center"><a href="#" onclick="window.open('user/odrsrchset.asp','','height=400,width=610,scrollbars=yes,resizable=1,top=10, left=15');">我的订单</a></div></td>
                    <td> 
                      <div align="center"><a href="#" onclick="window.open('user/myinfo.asp','','height=280,width=582,scrollbars=yes,resizable=1,top=10, left=15');">统计信息</a></div></td>
                  </tr>
                  <tr bgcolor="#CCFFFF"> 
                    <td> 
                      <div align="center"><a href="#" onclick="window.open('user/Favorites.asp','','height=280,width=600,scrollbars=yes,resizable=1,top=10, left=15');">我的收藏</a></div></td>
                    <td> 
                      <div align="center"><a href="#" onClick="window.open('user/reg.asp','','height=400,width=582,scrollbars=yes,resizable=1,top=10, left=15');">资料修改</a></div></td>
                  </tr>
                  <tr bgcolor="#CCFFFF"> 
                    <td> 
                      <div align="center"><a href="javascript:openbag('check.asp?shopname=<%=session("shop")%>')">购物车</a></div></td>
                    <td> 
                      <div align="center"><a href="user/loginout.asp?refe=<%=shop_name%>">退出登录</a></div></td>
                  </tr>
                </table>
              </center>
            </div></td>
        </tr>
      </table>
	  <%end if%>
      <!-- 会员登录后显示内容结束-->
      <table width="99%" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr> 
          <td background="PIC/bg-line2.gif" height="1"></td>
        </tr>
         <tr> 
          <td height="1"></td>
        </tr>
		<tr> 
          <td height="17" valign="bottom" bgcolor="#FFE28C"> <p align="center"><b>商 品 搜 索</b> 
          </td>
        </tr>
        <tr> 
          <td height="1"></td>
        </tr>
        <tr> 
          <td background="PIC/bg-line2.gif" height="1"></td>
        </tr>
        <tr> 
          <td> <div align="center"> 
              <table width="100%" border="0" cellspacing="0" cellpadding="4">
               <form  name="Search_form" action="ProductSearch.asp" method="post">
			    <tr> 
                  <td> <div align="center">类型: 
                      <select name="up" id="select">
                        <option value="商品名称" selected>商品名称</option>
                        <option value="网店名称">网店名称</option>
                        <option value="商品所在地">商品所在地</option>
                        <option value="商品简介">商品简介</option>
                      </select>
                      <br>
                    </div></td>
                </tr>
                <tr> 
                  <td> <div align="center">关键字: 
                      <input type='text' name='Search' size='10' class='a'>
                      <br>
                    </div></td>
                </tr>
                <tr> 
                  <td> <div align="center">价格: 
                      <select name="jiage" id="jiage">
                          <option value="20">20元以下</option>
                          <option value="30">30元以下</option>
                          <option value="50">50元以下</option>
                          <option value="100" selected>100元以下</option>
						  <option value="300">300元以下</option>
                          <option value="500">500元以下</option>
                          <option value="1000">1000千以下</option>
                          <option value="10000">1万以下</option>
                          <option value="100000">10万元以下</option>
                        </select>
                      <br>
                    </div></td>
                </tr>
                
                  <tr> 
                    <td><div align="center">商品类别: 
                        <select name="Product_Class" size="1" tabindex="0" class="a"  font-size: 9pt>
                          <option  value="所有类别" selected>所有类别</option>
                          <%
set rs_lx=server.CreateObject("adodb.recordset")
sql="select * from Class_1"
rs_lx.open sql,conn,1
if not rs_lx.eof and not rs_lx.bof then
for i=1 to rs_lx.recordcount
%>
                          <option  value=<%=rs_lx("Class_1_Name")%>><%=rs_lx("Class_1_Name")%></option>
                          <%
rs_lx.movenext
next
rs_lx.close
end if
%>
                        </select>
                      </div></td>
                  </tr>
                  <tr> 
                    <td><div align="center"> 
                        <input name="imageField2" type="image" src="IMAGES/Search.gif" width="90" height="19" border="0">
                      </div></td>
                  </tr>
                </form>
              </table>
            </div></td>
        </tr>
      </table> 
      <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr> 
          <td width="21%" background="PIC/bg-line2.gif" height="1"></td>
          <td width="79%" background="PIC/bg-line2.gif" height="1"></td>
        </tr>
        <tr> 
          <td width="21%" height="1"></td>
          <td width="79%" height="1"></td>
        </tr>
        <tr bgcolor="#FFDF80"> 
          <td height="17" colspan="2"> 
            <p align="center"> 分 类 商 品</td>
        </tr>
        <tr> 
          <td width="21%" height="1"></td>
          <td width="79%" height="1"></td>
        </tr>
        <tr> 
          <td width="21%" background="PIC/bg-line2.gif" height="1"></td>
          <td width="79%" background="PIC/bg-line2.gif" height="1"></td>
        </tr>
        <tr> 
          <td colspan="2" valign="top"><!--#include file="left_class.asp" --></td>
        </tr>
      </table></td>
    <td width="435" valign="top">
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td height="3"> </td>
        </tr>
      </table> 
      <TABLE width=430 border=0 align="center" cellPadding=0 cellSpacing=0>
        <TBODY>
          <TR> 
            <TD height="170" align=middle> <div align="center"><a href="<%=center_pic_link%>" target="_blank"><img src="<%=center_pic%>"  border="0"></a></div></TD>
          </TR>
          <TR> 
            <TD vAlign=bottom align=middle height=10> <MARQUEE onmouseover=this.stop() onmouseout=this.start() 
            scrollDelay=200>
              <STRONG>推荐信用店:</STRONG><a href="http://www.16web.net" target="_blank">玉龙网络</a>; 
              <a href="shop/default.asp?shop_name=泰来肽肝药店">泰来肽肝药店</a>; <a href="shop/default.asp?shop_name=戈雷曼丹(美国)医学护肤">戈雷曼丹(美国)医学护肤</a>; 
              </MARQUEE></TD>
          </TR>
        </TBODY>
      </TABLE>
      <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr> 
          <td width="21%" background="PIC/bg-line2.gif" height="1"></td>
          <td width="79%" background="PIC/bg-line2.gif" height="1"></td>
        </tr>
        <tr> 
          <td width="21%" height="1"></td>
          <td width="79%" height="1"></td>
        </tr>
        <tr bgcolor="#FFDF80" valign="bottom"> 
          <td height="19" colspan="2" bgcolor="#FFF8E1"><strong> 热 销 商 品 &gt;&gt;&gt;</strong></td>
        </tr>
        <tr> 
          <td width="21%" height="1"></td>
          <td width="79%" height="1"></td>

⌨️ 快捷键说明

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