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

📄 102.asp

📁 一套很早的多用户电子商务程序
💻 ASP
📖 第 1 页 / 共 5 页
字号:
<%
sb=request("sb")
set rs=server.createobject("adodb.recordset")
sql="select * from shop where shop_name1='" &shop_name& "'"
rs.open sql,conn,3,3
if rs("LastTime")<now() then
response.write"<script>alert('该网站已过期!假如你是管理员,请与商城联系!');window.location.href='../default.asp'</script>"
response.end()
end if
if rs("logo_type")="tp1" then
logo=rs("logo_name")
else
logo="<img src="&rs("logo_pic")&">"
end if
banner="<img src="&rs("banner")&">"
center_pic="<img src="&rs("center_pic")&">"
shop_name2=rs("shop_name2")
Email=rs("Email")
Phone=rs("Phone")
look_count=rs("look_count")
count_type=rs("count_type")
rs("look_count")=look_count+1
rs.update
rs.close
%>


<html>
<head>
<title><%=shop_name2%></title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style type="text/css">
<!--
BODY {	FONT-SIZE: 9pt }
a:link { color: #000000; text-decoration: none}
a:visited { color:#000000; text-decoration: none}
a:hover { color: #CC0000; text-decoration: underline; position: relative; right: 0px; top: 1px}
td {font-size:9pt;line-height:12pt;}
.box {
	BORDER-RIGHT: gray 1px solid; BORDER-TOP: gray 1px solid; BORDER-LEFT: gray 1px solid; WIDTH: 80px; COLOR: gray; BORDER-BOTTOM: gray 1px solid; HEIGHT: 20px
}
#hint {
	BORDER-RIGHT: green 1px solid; PADDING-RIGHT: 4px; BORDER-TOP: green 1px solid; PADDING-LEFT: 4px; Z-INDEX: 9; BACKGROUND: #d1f9a2; FILTER: Alpha(Opacity=90, FinishOpacity=50, Style=0); PADDING-BOTTOM: 4px; BORDER-LEFT: green 1px solid; WIDTH: 200px; LINE-HEIGHT: 17px; PADDING-TOP: 4px; BORDER-BOTTOM: green 1px solid; POSITION: absolute
}

-->
</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>
<div id=hint style="display:none">&nbsp;</div>
<body leftmargin="0" topmargin="0">
<table width="775" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr> 
    <td width="22%" height="74" align="center"><%=logo%></td>
    <td width="66%" align="center"><%=banner%></td>
    <td width="12%"> <table width="96%" border="0" align="center" cellpadding="0" cellspacing="3">
        <tr> 
          <td><div align="center"><a href="mailto:<%=Email%>">联系我们</a></div></td>
        </tr>
        <tr> 
          <td><div align="center"><a href="" target="_self" class="top-link" onclick="this.style.behavior='url(#default#homepage)';this.setHomePage('http://www.xiagift.com');">设为首页</a></div></td>
        </tr>
        <tr> 
          <td><div align="center"><a href="javascript:window.external.AddFavorite('http://www.xiagift.com','夏氏网')" target="_self" class="top-link">加入收藏</a></div></td>
        </tr>
      </table></td>
  </tr>
</table>
<table width="775" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFDDEE">
  <tr> 
    <td height="1"> </td>
  </tr>
</table>
<table width="770" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr> 
    <td height="38" align="center"><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="775" height="45">
        <param name="movie" value="../IMAGES/mod102/top.swf">
        <param name="quality" value="high">
        <embed src="../IMAGES/mod102/top.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="775" height="45"></embed></object></td>
  </tr>
</table>
<table width="775" border="1" align="center" cellpadding="0" cellspacing="0" bordercolorlight="#feccda" bordercolordark="#FFFFFF">
  <tr>
    <td> 
      <TABLE width=771 border=0 cellPadding=0 cellSpacing=0>
        <TBODY>
          <TR> 
            <TD width=167 height=323 vAlign=top bgcolor="#feccda"> 
              <table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr> 
                  <td bgcolor="#FFFFFF"><TABLE cellSpacing=0 cellPadding=0 width=159 align=center bgColor=#fdd9e4 
      border=0>
                      <form action=../user/ReLoginCheck.asp?refe=<%=shop_name%> method=post onSubmit="return isok(this)">
                        <TBODY>
                          <TR> 
                            <TD><IMG height=27 src="../IMAGES/mod102/main01.gif" width=159></TD>
                          </TR>
                          <TR> 
                            <TD 
          style="BORDER-RIGHT: #ff3757 1px solid; BORDER-LEFT: #ff3757 1px solid" 
          align=middle height=60>用户名: 
                              <INPUT class=box name=uid 
            mustfill="true"> <BR>
                              密 码: 
                              <INPUT class=box type=password name=pwd
            mustfill="true"> </TD>
                          </TR>
                          <TR> 
                            <TD 
          style="BORDER-RIGHT: #ff3757 1px solid; BORDER-LEFT: #ff3757 1px solid" 
          align=middle><INPUT type=image height=19 width=63 
            src="../IMAGES/mod102/login.gif" border=0 name=imageField> <A 
            href="../newuser.asp" target="_blank"><IMG height=19 
            src="../IMAGES/mod102/sign.gif" width=63 border=0></A> </TD>
                          </TR>
                          <TR> 
                            <TD><IMG height=4 src="../IMAGES/mod102/main02.gif" width=159></TD>
                          </TR>
                          <TR> 
                            <TD bgColor=#ffffff height=5></TD>
                          </TR>
                      </FORM>
                    </TABLE></td>
                </tr>
              </table>
              <TABLE cellSpacing=0 cellPadding=0 width="100%" bgColor=#feccda 
        border=0>
                <TBODY>
                  <TR> 
                    <TD><IMG height=9 src="../IMAGES/mod102/main04.gif" width=167></TD>
                  </TR>
                  <TR> 
                    <TD bgColor=#ffffff height=2></TD>
                  </TR>
                  <TR> 
                    <TD vAlign=top align=middle> <TABLE cellSpacing=0 cellPadding=0 width=152 align=center 
              border=0>
                        <TBODY>
                          <TR> 
                            <TD style="BACKGROUND-REPEAT: no-repeat" width=152 background="" 
                height=25><IMG height=28 src="../IMAGES/mod102/main_01.gif" 
                width=152></TD>
                          </TR>
                          <TR> 
                            <TD align=middle> <TABLE borderColor=#ffffff cellSpacing=0 cellPadding=0 
                  width="100%" align=center bgColor=#ffffff border=1>
                                <TBODY>
                                  <TR align=middle> 
                                    <TD class=red 
                      style="BORDER-RIGHT: #dedede 1px solid; BORDER-TOP: #dedede 1px solid; BORDER-LEFT: #dedede 1px solid; BORDER-BOTTOM: #dedede 1px solid; BACKGROUND-REPEAT: no-repeat" 
                      background=../IMAGES/mod102/main06.gif bgColor=#ffffff 
                      height=11></TD>
                                  </TR>
                                  <TR align=middle> 
                                    <TD vAlign=center background=../IMAGES/mod102/bg.gif> 
                                      <TABLE cellSpacing=0 cellPadding=0 width="92%" 
                        align=center border=0>
                                        <TBODY>
                                          <TR> 
                                            <TD width="21%"><IMG height=24 
                              src="../IMAGES/mod102/menu_dot.gif" width=24></TD>
                                            <TD width="79%"><a href="javascript:openbag('../check.asp?shopname=<%=session("shop")%>')">我的购物车</a></TD>
                                          </TR>
                                        </TBODY>
                                      </TABLE></TD>
                                  </TR>
                                  <TR align=middle> 
                                    <TD vAlign=center background=../IMAGES/mod102/bg.gif> 
                                      <TABLE cellSpacing=0 cellPadding=0 width="92%" 
                        align=center border=0>
                                        <TBODY>
                                          <TR> 
                                            <TD width="21%"><IMG height=24 
                              src="../IMAGES/mod102/menu_dot.gif" width=24></TD>
                                            <TD width="79%"><a href="#" onclick="window.open('../user/odrsrchset.asp','','height=400,width=610,scrollbars=yes,resizable=1,top=10, left=15');">我的订单查询</a></TD>
                                          </TR>
                                        </TBODY>
                                      </TABLE></TD>
                                  </TR>
                                  <TR align=middle> 
                                    <TD vAlign=center background=../IMAGES/mod102/bg.gif> 
                                      <TABLE cellSpacing=0 cellPadding=0 width="92%" 
                        align=center border=0>
                                        <TBODY>
                                          <TR> 
                                            <TD width="21%"><IMG height=24 
                              src="../IMAGES/mod102/menu_dot.gif" width=24></TD>
                                            <TD width="79%"><a href="#" onclick="window.open('../user/myinfo.asp','','height=280,width=582,scrollbars=yes,resizable=1,top=10, left=15');">详细统计信息</a></TD>
                                          </TR>
                                        </TBODY>
                                      </TABLE></TD>
                                  </TR>
                                  <TR align=middle> 
                                    <TD vAlign=center background=../IMAGES/mod102/bg.gif> 
                                      <TABLE cellSpacing=0 cellPadding=0 width="92%" 
                        align=center border=0>
                                        <TBODY>
                                          <TR> 
                                            <TD width="21%"><IMG height=24 
                              src="../IMAGES/mod102/menu_dot.gif" width=24></TD>
                                            <TD width="79%"><a href="#" onclick="window.open('../user/Favorites.asp','','height=280,width=600,scrollbars=yes,resizable=1,top=10, left=15');">我的收藏夹</a></TD>
                                          </TR>
                                        </TBODY>
                                      </TABLE></TD>
                                  </TR>
                                  <TR align=middle> 
                                    <TD vAlign=center background=../IMAGES/mod102/bg.gif> 
                                      <TABLE cellSpacing=0 cellPadding=0 width="92%" 
                        align=center border=0>
                                        <TBODY>
                                          <TR> 
                                            <TD width="21%"><IMG height=24 
                              src="../IMAGES/mod102/menu_dot.gif" width=24></TD>
                                            <TD width="79%"><a href="#" onClick="window.open('../user/reg.asp','','height=400,width=582,scrollbars=yes,resizable=1,top=10, left=15');">注册资料修改</a></TD>
                                          </TR>
                                        </TBODY>
                                      </TABLE></TD>
                                  </TR>
                                  <TR align=middle> 
                                    <TD vAlign=center background=../IMAGES/mod102/bg.gif> 
                                      <TABLE cellSpacing=0 cellPadding=0 width="92%" 
                        align=center border=0>
                                        <TBODY>
                                          <TR> 
                                            <TD width="21%"><IMG height=24 
                              src="../IMAGES/mod102/menu_dot.gif" width=24></TD>
                                            <TD width="79%"><a href="../user/loginout.asp?refe=<%=shop_name%>">退出登录</a></TD>
                                          </TR>
                                        </TBODY>
                                      </TABLE></TD>
                                  </TR>
                                </TBODY>
                              </TABLE></TD>
                          </TR>
                        </TBODY>
                      </TABLE>
                      <TABLE cellSpacing=0 cellPadding=0 width=152 align=center 
              border=0>
                        <TBODY>
                          <TR> 
                            <TD><IMG height=28 src="../IMAGES/mod102/main_02.gif" 
width=152></TD>
                          </TR>
                          <TR> 
                            <TD 
                style="BORDER-RIGHT: #dedede 1px solid; PADDING-RIGHT: 2px; BORDER-TOP: #dedede 1px solid; PADDING-LEFT: 2px; PADDING-BOTTOM: 2px; BORDER-LEFT: #dedede 1px solid; PADDING-TOP: 15px; BORDER-BOTTOM: #dedede 1px solid; BACKGROUND-REPEAT: no-repeat" 
                background=../IMAGES/mod102/main06.gif bgColor=#ffffff height=96> 
                              <table width="95%" align=center cellpadding="2" cellspacing="1" bgcolor="#fee5ec">
                                <%
sql="select * from SoftDown_Catalog where sp_name='"&shop_name&"' order by rootid,orders"
set rs=server.createobject("adodb.recordset")
rs.open sql,conn,1,1
do while not rs.eof
%>
                                <tr> 
                                  <td width=35% > 
                                    <%
 if rs("depth") =1 then  Response.Write "&nbsp;&nbsp;"
 if rs("depth") >1 then
 for i=2 to rs("depth")
	Response.Write "&nbsp;&nbsp;"
 next
 Response.Write "&nbsp;&nbsp; "
 end if
 
  if rs("parentid")=0 then Response.Write("<IMG height=17 src=../IMAGES/mod102/plus1.gif width=22><b>")

⌨️ 快捷键说明

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