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

📄 shop_info.asp

📁 soft.studa.com大家一起加油啊,好痛苦啊,呵呵
💻 ASP
字号:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="conn.asp"-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>欢迎光临《<%=Conn.ExeCute("select shop_name from user_info where user_id="&Request("user_id")&"")(0)%>》</title>
<LINK href="style.css" type=text/css rel=stylesheet>
</head>
<body topmargin="0">
<TABLE cellSpacing=0 cellPadding=0 width=760 align=center border=0>
  <TBODY>
    <TR> 
      <TD height="27" align=middle background=images/t1.gif> <TABLE class=header width="100%" border=0 cellPadding=0 cellSpacing=0>
          <TBODY>
            <TR> 
              <TD align="center"><a href="index.asp">本站首页</a>&nbsp;</TD>
              <TD><IMG height=27 src="images/t2.gif" width=5></TD>
              <TD align="center"><a href="news_list.asp">本站新闻</a></TD>
              <TD><IMG height=27 src="images/t2.gif" width=5></TD>
              <TD align="center"><a href="shop_list.asp">店铺列表</a></TD>
              <TD><IMG height=27 src="images/t2.gif" width=5></TD>
              <TD align="center"><a href="goods_list.asp">商品列表</a></TD>
              <TD><IMG height=27 src="images/t2.gif" width=5></TD>
              <TD align="center"><a href="ssearch.asp">高级搜索</a></TD>
              <TD><IMG height=27 src="images/t2.gif" width=5></TD>
              <TD align="center"><a href="top10.asp">排行榜</a></TD>
              <TD align="center"><IMG height=27 src="images/t2.gif" width=5></TD>
              <TD align="center">留言板</TD>
            </TR>
          </TBODY>
        </TABLE></TD>
      <TD background=images/t3.gif> <TABLE class=header width="100%" border=0 cellPadding=0 cellSpacing=0>
          <TBODY>
            <TR> 
              <TD align="center">&nbsp;<a href="http://bbs.smallstick.com" target="_blank">Web 
                Designer BBS</a></TD>
            </TR>
          </TBODY>
        </TABLE></TD>
    </TR>
  </TBODY>
</TABLE>
<TABLE width=760 height="50" border=0 align=center cellPadding=0 cellSpacing=0>
  <TBODY>
    <TR bgColor=#f2f6ff> 
      <TD>&nbsp;</TD>
      <TD>&nbsp;</TD>
      <TD width="100"> <table width="100%" border="0">
          <tr> 
            <td align="center"><SCRIPT language=JavaScript>
function bookmarkit(){window.external.addFavorite('http://www.smallstick.com/','小棍儿设计')}
if (document.all)document.write('<a href="#" onClick="bookmarkit()" target="_self">收藏本站</a>')
</SCRIPT></td>
          </tr>
          <tr> 
            <td align="center"><a href="help.asp" target="_blank">帮助信息</a></td>
          </tr>
          <tr> 
            <td align="center"><a href="mailto:<%=email%>">联系我们</a></td>
          </tr>
        </table></TD>
    </TR>
  </TBODY>
</TABLE>
<TABLE cellSpacing=0 cellPadding=0 width=760 align=center border=0>
  <TBODY>
    <TR bgColor=#d3e1fd> 
      <TD width="69" height=25 bgColor=#d3e1fd>&nbsp;<IMG height=16 src="images/gg.gif" width=16> 
        公告:</TD>
      <TD bgColor=#d3e1fd> <marquee border="0" align="top" scrollamount="2"  scrolldelay="60" behavior="scroll" onmouseover="this.stop()" onmouseout="this.start()" width="100%">
        <%=gg%> </marquee></TD>
      <TD width="10" bgColor=#d3e1fd>&nbsp;</TD>
    </TR>
    <TR bgColor=#003bc1> 
      <TD height=3 colspan="3"></TD>
    </TR>
  </TBODY>
</TABLE>
<TABLE width="760" height=5 border=0 align="center" cellPadding=0 cellSpacing=0>
  <TBODY>
    <TR> 
      <TD></TD>
    </TR>
  </TBODY>
</TABLE>
<TABLE width=760 border=0 align=center cellpadding="4">
  <TBODY>
    <TR> 
      <TD align="center" vAlign=top>
<%
set rs=server.createobject("adodb.recordset")
sql="select * from goods_info where user_id="&request("user_id")&""
rs.open sql,conn,1,3
conn.execute("update user_info set shop_hits=shop_hits+1 where user_id="&request("user_id")&"")
if rs.eof or rs.bof then
%>
        <TABLE cellSpacing=0 cellPadding=0 width="550" border=0>
          <TBODY>
            <TR> 
              <TD width=11 height=11><IMG height=11 src="images/kuai06.gif" 
            width=11></TD>
              <TD background=images/kuai10.gif><IMG height=11 
            src="images/kuai10.gif" width=1></TD>
              <TD width=11 height=11><IMG height=11 src="images/kuai07.gif" 
      width=11></TD>
            </TR>
          </TBODY>
        </TABLE>
        <TABLE cellSpacing=0 cellPadding=0 width="550" border=0>
          <TBODY>
            <TR> 
              <TD width=8 background=images/kuai12.gif>&nbsp;</TD>
              <TD bgColor=#d3e1fd height=21> <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
                  <TBODY>
                    <TR> 
                      <TD align=middle width=25><IMG height=15 
                  src="images/y1.gif" width=13></TD>
                      <TD><%=Conn.ExeCute("select shop_name from user_info where user_id="&Request("user_id")&"")(0)%></TD>
                      <TD align="right">该店铺已被访问 <font color="#FF0000"><%=Conn.Execute("SELECT shop_hits from user_info where user_id="&request("user_id")&"")(0)%></font> 次</TD>
                    </TR>
                  </TBODY>
                </TABLE></TD>
              <TD width=8 background=images/kuai11.gif>&nbsp;</TD>
            </TR>
            <TR> 
              <TD width=8 background=images/kuai12.gif>&nbsp;</TD>
              <TD align="center">还没有任何商品! </TD>
              <TD width=8 background=images/kuai11.gif>&nbsp;</TD>
            </TR>
          </TBODY>
        </TABLE>
        <TABLE cellSpacing=0 cellPadding=0 width="550" border=0>
          <TBODY>
            <TR> 
              <TD width=11 height=11><IMG height=11 src="images/kuai08.gif" 
            width=11></TD>
              <TD background=images/kuai13.gif><IMG height=11 
            src="images/kuai10.gif" width=1></TD>
              <TD width=11 height=11><IMG height=11 src="images/kuai09.gif" 
            width=11></TD>
            </TR>
          </TBODY>
        </TABLE>
        <%else%>
        <TABLE cellSpacing=0 cellPadding=0 width="550" border=0>
          <TBODY>
            <TR> 
              <TD width=11 height=11><IMG height=11 src="images/kuai06.gif" 
            width=11></TD>
              <TD background=images/kuai10.gif><IMG height=11 
            src="images/kuai10.gif" width=1></TD>
              <TD width=11 height=11><IMG height=11 src="images/kuai07.gif" 
      width=11></TD>
            </TR>
          </TBODY>
        </TABLE>
        <TABLE cellSpacing=0 cellPadding=0 width="550" border=0>
          <TBODY>
            <TR> 
              <TD width=8 background=images/kuai12.gif>&nbsp;</TD>
              <TD bgColor=#d3e1fd height=21> <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
                  <TBODY>
                    <TR> 
                      <TD align=middle width=25><IMG height=15 
                  src="images/y1.gif" width=13></TD>
                      <TD><%=Conn.ExeCute("select shop_name from user_info where user_id="&Request("user_id")&"")(0)%></TD>
                      <TD align="right">该店铺已被访问 <font color="#FF0000"><%=Conn.Execute("SELECT shop_hits from user_info where user_id="&request("user_id")&"")(0)%></font> 次</TD>
                    </TR>
                  </TBODY>
                </TABLE></TD>
              <TD width=8 background=images/kuai11.gif>&nbsp;</TD>
            </TR>
            <TR> 
              <TD width=8 background=images/kuai12.gif>&nbsp;</TD>
              <TD align="center"> 
                <table width="98%" border="0">
                  <tr align="center"> 
                    <td width="20%">商品名称</td>
                    <td>商品描述</td>
                    <td width="12%">商品价格</td>
                    <td width="12%">商品数量</td>
                    <td width="12%">有效期</td>
                    <td width="22%">上架时间</td>
                  </tr>
                  <%do while not rs.eof %>
                  <tr align="center"> 
                    <td><a href="goods_info.asp?goods_id=<%=rs("goods_id")%>" target="_blank"><%=rs("goods_name")%></a></td>
                    <td><%=left(rs("goods_content"),30)%></td>
                    <td><%=rs("goods_price")%>元</td>
                    <td><%=rs("goods_amount")%>个</td>
                    <td><%=rs("goods_long")%>天</td>
                    <td><%=rs("goods_date")%></td>
                    <%
rs.MoveNext
Loop
rs.close
set rs=nothing
%>
                  </tr>
                </table>
                 </TD>
              <TD width=8 background=images/kuai11.gif>&nbsp;</TD>
            </TR>
          </TBODY>
        </TABLE>
<TABLE cellSpacing=0 cellPadding=0 width="550" border=0>
          <TBODY>
            <TR> 
              <TD width=11 height=11><IMG height=11 src="images/kuai08.gif" 
            width=11></TD>
              <TD background=images/kuai13.gif><IMG height=11 
            src="images/kuai10.gif" width=1></TD>
              <TD width=11 height=11><IMG height=11 src="images/kuai09.gif" 
            width=11></TD>
            </TR>
          </TBODY>
        </TABLE>
        <%end if%>
      </TD>
      <TD align="center" vAlign=top>
        <%
set rs=conn.execute("select * from user_info where user_id="&request("user_id")&"")
%>
        <table cellspacing=0 cellpadding=0 align=center border=0>
          <tbody>
            <tr> 
              <td width=779 valign=top> <table cellspacing=0 cellpadding=0 width="100%" border=0>
                  <tbody>
                    <tr> 
                      <td><img height=11 src="images/kuai20.gif" 
        width=190></td>
                    </tr>
                  </tbody>
                </table>
                <table width=100% border=0 cellpadding=0 cellspacing=0>
                  <tbody>
                    <tr> 
                      <td width="8" rowspan="2" background=images/kuai12.gif>&nbsp;</td>
                      <td bgcolor=#fff3d0 height=21> <table cellspacing=0 cellpadding=0 width="100%" border=0>
                          <tbody>
                            <tr> 
                              <td align=middle width=25><img height=15 
                  src="images/y2.gif" width=13></td>
                              <td>店铺资料</td>
                            </tr>
                          </tbody>
                        </table></td>
                      <td width="8" rowspan="2" background=images/kuai11.gif>&nbsp;</td>
                    </tr>
                    <tr> 
                      <td valign=top align=middle><table width="100%" border="0">
                          <tr> 
                            <td align="center"> <img src="<%=rs("shop_img")%>" width="160" height="120" 
                  border=1></td>
                          </tr>
                          <tr> 
                            <td>店铺名称:<%=rs("shop_name")%></td>
                          </tr>
                          <tr> 
                            <td>店长:<%=rs("user_realname")%></td>
                          </tr>
                          <tr> 
                            <td>店铺地址:<%=rs("shop_address")%></td>
                          </tr>
                          <tr> 
                            <td>联系电话:<%=rs("shop_phone")%></td>
                          </tr>
                          <tr> 
                            <td>店铺简介:<%=rs("shop_content")%></td>
                          </tr>
                        </table></td>
                    </tr>
                  </tbody>
                </table>
                <table cellspacing=0 cellpadding=0 width="100%" border=0>
                  <tbody>
                    <tr> 
                      <td><img height=11 src="images/kuai21.gif" 
        width=190></td>
                    </tr>
                  </tbody>
                </table></td>
            </tr>
          </tbody>
        </table> </TD>
    </TR>
  </TBODY>
</TABLE>
<TABLE height=5 cellSpacing=0 cellPadding=0 width="760" border=0>
  <TBODY>
    <TR> 
      <TD></TD>
    </TR>
  </TBODY>
</TABLE>
<TABLE cellSpacing=0 cellPadding=0 width=760 align=center border=0>
  <TBODY>
    <TR bgColor=#d3e1fd> 
      <TD height="50" align="center" bgcolor="#d3e1fd">关于我们 | 广告服务 | 招聘信息 | 联系方式 
        | 网站地图 | 会员注册 | 内容合作 | 友情链接<BR>
        Copyright &copy; 2000 - 2003 ShangHai LIERO Networks CO.,LTD 上海零度网络科技有限公司 
        All Rights Reserved </TD>
    </TR>
    <TR bgColor=#003bc1> 
      <TD height=3></TD>
    </TR>
  </TBODY>
</TABLE>
</body>
</html>

⌨️ 快捷键说明

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