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

📄 index.asp

📁 超市管理系统数据库脚本和数据库备份超市管理系统数据库脚本和数据库备份
💻 ASP
📖 第 1 页 / 共 2 页
字号:
<!--#include file="conn.asp"-->
<!--#include file="webconfig.asp"-->
<html>
<head>
<title><%=webname%>--首页</title>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb2312">
<META NAME="Robots" CONTENT="ALL">
<META NAME="Publisher" CONTENT="Mecoxlane">
<META NAME="Search Engines" CONTENT="Google,AltaVista,AOLNet,Infoseek,Excite,Hotbot,Lycos,Magellan,LookSmart,CNET,Baidu">
<META NAME="keywords" CONTENT="福建商网:福建商网,商网,购物,电子商务,邮购,fjshop,shop,计算机,MP3,健康阳光,家电,小家电,玩具,礼品,饰品,手表,时装表,流行,时尚,女性产品,女性,家庭,居家,精致,生活,现代,包袋,眼镜,健康食品,保健,按摩,厨房,浴室,纯银饰品,包带,布艺,家居,保健品,美容品,化妆品">
<META NAME="description" CONTENT="福建商网:福建商网、商网、购物、电子商务、邮购、fjshop、计算机、MP3、健康阳光、家电、小家电、玩具、礼品、饰品、手表、时装表、流行、时尚、女性产品、女性、家庭、居家、精致、生活、现代、包袋、眼镜、健康食品、保健、按摩、厨房、浴室、纯银饰品、包带、布艺、家居、保健品、美容品、化妆品">
<link href="images/css.css" rel="stylesheet" type="text/css">
</head>
<tr><td><!--#include file="webtop.asp"-->
<tr><td>
<table width="780" border="0" cellspacing="0" cellpadding="0" align="center">
      <tr> 
        <td background="images/bj.gif"> 
          <table cellspacing=0 cellpadding=2 width=748 border=0 align="center">
            <tr> 
              <td align=center height="172"> 
                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                  <tr> 
                    <td width="180" valign="top"> 
                      <table width="180" border="0" cellspacing="0" cellpadding="0" height="56">
                        <tr> 
                          <td background="images/bj_0.gif" height="28"> 
                            <table cellspacing=0 cellpadding=0 width=170 height="20">
                              <tr> 
                                <td width=28> 
                                  <div align="center"><img src="images/index7.gif" width="14" height="10"></div>
                                </td>
                                <td class=hg12 valign=bottom width="123">&nbsp;<b>本站公告</b></td>
                               </tr>
                            </table>
                          </td>
                        </tr>
                        <tr> 
                          <td background="images/bj_1.gif"> 
                            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                              <tr>
                              <td width="94%"> 
                              <%dim i
		  i=0
		  set rs=server.CreateObject("adodb.recordset")
		  rs.open "select top 6 newsname,adddate,newsid from shop_news order by adddate desc",conn,1,1
		  if rs.eof and rs.bof then
		  response.write "目前还没有公告!"
		  else
		  do while not rs.eof
		  i=i+1
		  response.write "·<a href=# onClick=""javascript:window.open('news.asp?id="&rs("newsid")&"','','width=432,height=288,toolbar=no, status=no, menubar=no, resizable=yes, scrollbars=yes');return false;"" title="&year(rs("adddate"))&"年"&month(rs("adddate"))&"月"&day(rs("adddate"))&"日发布>"&trim(rs("newsname"))&"</a><br>"
		  if i>=6 then exit do
		  rs.movenext
		  loop
		  end if
		  rs.close
		  set rs=nothing%>
                                </td>
                              </tr>
                            </table>
                          </td>
                        </tr>
                        <tr> 
                          <td background="images/bj_2.gif" height="10"></td>
                        </tr>
                      </table>
                      <%set rs=server.CreateObject("adodb.recordset")
		  rs.open "select top 10 bookid,bookname,liulancount from shop_books order by liulancount desc",conn,1,1%>
                      <table width="180" border="0" cellspacing="0" cellpadding="0">
                        <tr> 
                          <td background="images/bj_0.gif" height="28"> 
                            <table cellspacing=0 cellpadding=0 width=170 height="20">
                              <tr> 
                                <td width=28> 
                                  <div align="center"><img src="images/index7.gif" width="14" height="10"></div>
                                </td>
                                <td class=hg12 valign=bottom width="83">&nbsp;<b>热点图片</b></td>
                               </tr>
                            </table>
                          </td>
                        </tr>
                        <tr> 
                          <td background="images/bj_1.gif"> 
                            <table width="88%" border="0" cellpadding="0" cellspacing="0" align="center" height="63">
                              <%i=0
			  do while not rs.eof%>
                              <tr> 
                                <td height="23"> 
                                  <%response.write "<a href=book.asp?id="&rs("bookid")&" target=_blank title=此图片已被浏览过"&rs("liulancount")&"次>"
				if len(trim(rs("bookname")))>12 then
				response.write left(trim(rs("bookname")),11)&"..."
				else
				response.write trim(rs("bookname"))
				end if
				response.write "</a>"
				%>
                                </td>
                              </tr>
                              <tr> 
                                <td height="1" background="images/ppb.gif"></td>
                              </tr>
                              <%i=i+1
			  if i>=10 then exit do
			  rs.movenext
			  loop
			  rs.close
			  set rs=nothing%>
                              <tr> 
                                <td height="1" background="images/ppb.gif"></td>
                              </tr>
                            </table>
                          </td>
                        </tr>
                        <tr> 
                          <td background="images/bj_2.gif"> </td>
                        </tr>
                      </table>
<%set rs=server.CreateObject("adodb.recordset")
rs.open "select top 10 bookid,bookname,huiyuanjia from shop_books where bestbook=1 order by adddate desc",conn,1,1
dim icount
icount=rs.recordcount
if rs.eof and rs.bof then
response.write "<center>&nbsp;</center>"
else%><table width="180" border="0" cellspacing="0" cellpadding="0">
                        <tr> 
                          <td background="images/bj_0.gif" height="28"> 
                            <table cellspacing=0 cellpadding=0 width=170 height="20">
                              <tr> 
                                <td width=28> 
                                  <div align="center"><img src="images/index7.gif" width="14" height="10"></div>
                                </td>
                                <td class=hg12 valign=bottom width="123">&nbsp;<b><font color="#990000">推荐图片</font></b></td>
                                <td width=12> </td>
                              </tr>
                            </table>
                          </td>
                        </tr>
                        <tr> 
                          <td background="images/bj_1.gif"> 
                            <table width="92%" border="0" align="center" cellpadding="0" cellspacing="0">
                             <tr> 
                                <td> 
                                  <%
		  i=0
		  do while not rs.eof
		  response.write "·<a href=book.asp?id="&rs("bookid")&" target=_blank>"
		  if len(trim(rs("bookname")))>15 then
		  response.write left(trim(rs("bookname")),15)&"..."
		  else
		  response.write trim(rs("bookname"))
		  end if
		  response.write "</a><br>"
		  i=i+1
		  if i>=5 then exit do
		  rs.movenext
		  loop%>
                                </td>
                              </tr>
                            </table>
                          </td>
                        </tr>
                        <tr> 
                          <td background="images/bj_2.gif"> </td>
                        </tr>
                      </table>
                      <%end if
rs.close
set rs=nothing%>
<table width="180" border="0" cellspacing="0" cellpadding="0">
                        <tr> 
                          <td background="images/bj_0.gif" height="28"> 
                            <table cellspacing=0 cellpadding=0 width=170 height="20">
                              <tr> 
                                <td width=28> 
                                  <div align="center"><img src="images/index7.gif" width="14" height="10"></div>
                                </td>
                                <td class=hg12 valign=bottom width="123">&nbsp;<b>请投一票</b></td>
                                <td width=12> </td>
                              </tr>
                            </table>
                          </td>
                        </tr>
                        <tr> 
                          <td background="images/bj_1.gif"> 
                         <table width="94%" border="0" cellpadding="0" cellspacing="0">
                              <tr> 
                                <td width="100%" align="center" height=50> 
                                  <%
		set rs=conn.execute("SELECT * FROM vote where IsChecked=1 ") 
		if rs.eof then
	  %>
                                  暂无投票 
                                  <%else%>
                                  <table border="0" width="91%" cellspacing="2" cellpadding="2">
                                    <tr> 
                                      <td width=100% align="center"><b><br>
                                        <%=rs("Title")%> </b><br>
                                      </td>
                                    </tr>

⌨️ 快捷键说明

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