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

📄 top.asp

📁 一个功能很全面占用空间的小商城程序,适合个人网上开店使用
💻 ASP
字号:
<!--#include file="conn.asp"-->
<%
'日期函数
sub datetime
dat=int(datediff("d",dateserial(2000,8,27),now) mod 7)
response.write(formatdatetime(now,1))&"&nbsp;"
select case dat
case 0
	response.write "星期天"
case 1
	response.write "星期一"
case 2
	response.write "星期二"
case 3
	response.write "星期三"
case 4
	response.write "星期四"
case 5
	response.write "星期五"
case 6
	response.write "星期六"
end select
end sub
%>
 <%dim rs,sql
   set rs=server.createobject("adodb.recordset")
            sql="select  * from system"
            rs.open sql,conn,3,3
logo=rs("logo")
banner=rs("banner")
banner2=rs("banner2")
title=rs("title") 
rs.close%>
              
<script>
  function openbag(id) { window.open("basket.asp?hw_id="+id,"","width=800,left=0,top=0,resizable=yes,scrollbars=yes,status=yes,toolbar=yes,menubar=yes,location=yes");} 
</script>
<script language="javascript">
function openScript(url, width, height){
	var Win = window.open(url,"openScript",'width=' + width + ',height=' + height + ',resizable=1,scrollbars=yes,menubar=no,status=yes' );
}
</script>
<html>
<head>
<title><%=title%></title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">

<meta name="keywords" content="电子商务,平台,软件,B2C,btoc,免费">
<LINK 
href="image/all.css" rel=stylesheet><LINK 
href="image/menu.css" rel=stylesheet>
</head>

<BODY  bgColor=#ffffff 
leftMargin=0 topMargin=0 marginwidth="0" marginheight="0">

<table align=center background="image/title_back1.gif" 
border=0 cellpadding=0 cellspacing=0 height=100 width=778>
  <tbody> 
  <tr> 
    <td height=10 width=237> 
      <table border=0 cellpadding=0 cellspacing=0 height=97 width=227>
        <tbody> 
        <tr> 
          <td height=67> 
            <div align="center"><img src="<%=logo%>"></div>
          </td>
        </tr>
        <tr> 
          <td> </td>
        </tr>
        </tbody>
      </table>
    </td>
    <td height=10 width=541> 
      <table border=0 cellpadding=0 cellspacing=0 height=98 width="100%">
        <tbody> 
        <tr> 
          <td height=17> 
            <div align=right><a href="reg1.asp"><img align=absMiddle border=0 height=18 
            src="image/top3.gif" width=57></a>&nbsp;&nbsp; <a href="basket.asp"><img align=absMiddle border=0 height=18 
            src="image/top1.gif" width=68></a>&nbsp;&nbsp; <a href="buyhelp.asp"><img 
            align=absMiddle border=0 height=18 
            src="image/top7.gif" 
            width=57></a>&nbsp;&nbsp; </div>
          </td>
        </tr>
        <tr> 
          <td height=50 width="76%"> 
            <div align="center"><img height=60 
            src="<%=banner%>" 
          width=468></div>
          </td>
        </tr>
        <tr> 
          <td> 
            <table align=center border=0 cellpadding=0 cellspacing=0  
            width=100% height="11">
              <tbody> 
              <tr> 
                <td> 
                  <div align="right"><a 
                  href="index.asp"><font 
                  color=#000000> 首页</font></a> <img height=9 
                  src="image/dot1.gif" width=9> <a href=reg2.asp><font 
                  color=#000000></font>申请商店</a>&nbsp;<img height=9 
                  src="image/dot1.gif" width=9> <a href=favlist.asp><font 
                  color=#000000></font>我的收藏</a>&nbsp;<img height=9 
                  src="image/dot1.gif" width=9> <a href=useradmin/><font 
                  color=#000000></font>商店管理</a>&nbsp;<img height=9 
                  src="image/dot1.gif" width=9> <a href=allcom.asp><font 
                  color=#000000></font>所有商店</a>&nbsp;<img height=9 
                  src="image/dot1.gif" width=9> <a href=guestbookAdd.asp><font 
                  color=#000000></font>我要留言</a>&nbsp;<img height=9 
                  src="image/dot1.gif" width=9> <a href=help.asp><font 
                  color=#000000></font>常见问题</a>&nbsp;
<img height=9 
                  src="image/dot1.gif" width=9> <a href="quit.asp">退出</a>&nbsp;
</div>
                </td>
              </tr>
              </tbody> 
            </table>
          </td>
        </tr>
        </tbody> 
      </table>
    </td>
  </tr>
  </tbody>
</table>
<table align=center bgcolor=#ffffff border=0 cellpadding=0 cellspacing=0 
height=8 width=778>
  <tbody> 
  <tr> 
    <td width=156><img height=9 
      src="image/titlebt.gif" width=183></td>
    <td background="image/BG-B.gif" 
  width=614></td>
  </tr>
  </tbody>
</table>
<table align=center border=0 cellpadding=0 cellspacing=0 height=9 width=770>
  <tbody> 
  <tr> 
    <td height=13 width=344> 
      <div align=left>今天是:<font color="#000000"> <%datetime%></font><font color="#FFFFFF"> 
        </font><font color=red><%=title%></font> 欢迎您</div>
    </td>
    <td height=13 width=416> <marquee behavior=alternate 
  scrolldelay=120> <%=title%>质量与信誉的象征</marquee></td>
  </tr>
  </tbody>
</table>
<table align=center bgcolor=#ffffff border=0 cellpadding=0 cellspacing=0 
height=8 width=778>
  <tbody> 
  <tr> 
    <td width=156></td>
    <td background="image/BG-B.gif" 
  width=614></td>
  </tr>
  </tbody>
</table>
           

⌨️ 快捷键说明

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