?? index.asp
字號:
<!--#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"> <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"> <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> </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"> <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"> <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 + -