📄 index.asp
字号:
<!--#include file="conn.asp"-->
<!--#include file="webconfig.asp"-->
<html>
<head>
<title>Asp源码交易频道--首页</title>
<meta name="Keywords" content="Asp源码交易频道,Asp,源码,sp源码,Asp源码交易,源码交易,交易">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="images/css.css" rel="stylesheet" type="text/css">
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->
</script>
<style>
td{font-size:9pt;line-height:120%;color:#353535}
body{
font-size:9pt;
line-height:120%;
background-image: url(images/bj.jpg);
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
a:link { color: #000000; text-decoration: none }
a:visited { color: #000000; text-decoration: none }
a:active { color: #000000; text-decoration: none }
a:hover { color: #336699; text-decoration: none; position: relative; right: 0px; top: 1px }
.style1 {font-weight: bold}
</style>
</head>
<body onMouseOver="window.status='【<%=webname%>】<%=weburl%> 如果您喜欢本站,别忘了把本站介绍给您QQ上的好友哦!:)';return true">
<%dim dada,dadaurl,xiao1,xiao2,xiao3,xiao1url,xiao2url,xiao3url,tx1,tx1url,tx2,tx2url,tx3,tx3url
set rs=server.CreateObject("adodb.recordset")
rs.open "select * from shop_gg",conn,1,1
dada=trim(rs("458"))
dadaurl=trim(rs("458url"))
xiao1=trim(rs("2541"))
xiao1url=trim(rs("2541url"))
xiao2=trim(rs("2542"))
xiao2url=trim(rs("2542url"))
xiao3=trim(rs("2543"))
xiao3url=trim(rs("2543url"))
tx1=trim(rs("1441"))
tx1url=trim(rs("1441url"))
tx2=trim(rs("1442"))
tx2url=trim(rs("1442url"))
tx3=trim(rs("1443"))
tx3url=trim(rs("1443url"))
rs.close
set rs=nothing
%>
<tr>
<td >
<!--#include file="webtop.asp"-->
<tr>
<td >
<table width="780" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td><div align="center"></div>
<table cellspacing=0 cellpadding=2 width=748 border=0 align="center">
<tr>
<td align=center height="172">
<div align="center"></div>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="180" valign="top">
<!--#include file="userinfo.asp"-->
<table width="180" border="0" cellspacing="0" cellpadding="0" height="56">
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="6%"> </td>
<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 height="10"><div align="center"><img src="images/g1.gif" width="199" height="106"></div></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%>
<%set rs=server.CreateObject("adodb.recordset")
rs.open "select top 10 bookid,bookname,chengjiaocount from shop_books order by chengjiaocount desc",conn,1,1%>
</td>
<td width="1" valign="top" background="images/bj_x.gif"></td>
<td width="563" valign="top">
<table width="312" height="643" border="0" align="center" cellpadding="0" cellspacing="0" background="images/dsa.gif">
<tr>
<td width="478" height="643" valign="top" background="images/dsa.gif"><table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td height="29"><table cellspacing=0 cellpadding=0 width=100% height="33">
<tr>
<td width=13 height="31"> </td>
<td width=67><div align="left">∷最新商品</div></td>
<td width="217" align="right" class=hg12>0898stu.com </td>
<td width=13> </td>
</tr>
</table></td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td><%set rs=server.CreateObject("adodb.recordset")
rs.open "select top 14 mch,pp,pingpai,jj,bookname,bookid,bookchuban,bookpic,shichangjia,huiyuanjia,dazhe,bookzz from shop_books order by adddate desc",conn,1,1
if rs.eof and rs.bof then
response.write "<center><br><font color=red size=2>对不起,请您先到后台添加商品!</font></font>"
'response.End
else
%>
<table width="80%" border=0 align="center" cellpadding=0 cellspacing=0>
<%
dim i_1,i_count
i_1=int((rs.recordcount+1)/2)
if i_1>3 then
i_1=3
end if
'response.write i_1
for i_count=1 to i_1%>
<tr>
<td valign=top width="50%"><table cellspacing=0 cellpadding=0 width="100%">
<tr>
<td valign=top style="PADDING-LEFT: 6px"><div align="center"><img height=100 hspace=5
src="images/bg_book.gif" width=120 vspace=5 border=0> </div>
<p align="center" style="MARGIN-TOP: -112px"><a
href=book.asp?id=<%=rs("bookid")%> target=_blank><img
height=100 alt=商品样品 hspace=5
src=<%if trim(rs("bookpic"))<>"" then
response.write trim(rs("bookpic"))
else
response.write "images/emptybook.gif"
end if%> width=120 vspace=3
border=0></a> </td>
</tr>
<tr>
<td valign=top style="PADDING-LEFT: 6px"><a class=a4
href=book.asp?id=<%=rs("bookid")%> target=_blank><font color=#FF6600><%=trim(rs("bookname"))%></font></a><br>
市场价:<%=formatnumber(rs("shichangjia"),2)&"元"%><br>
会员价:<font color=#FF6600><%=formatnumber(rs("huiyuanjia"),2)&"元"%></font><br>
<table align="center" cellpadding=0 cellspacing=0>
<tbody>
<tr>
<td align=middle width=55 height=22><input onClick="javascript:window.open('shopping.asp?id=<%=rs("bookid")%> ','','width=632,height=388,toolbar=no, status=no, menubar=no, resizable=yes, scrollbars=yes');return false;" type="image" border="0" name="submit23" src="images/gm.gif" width="46" height="19">
</td>
<td width=57 height=22><input onClick="javascript:window.open('shoucang.asp?id=<%=rs("bookid")%>&action=add ','','width=632,height=388,toolbar=no, status=no, menubar=no, resizable=yes, scrollbars=yes');return false;" type="image" border="0" name="submit222" src="images/shc.gif" width="46" height="19">
<%rs.movenext%>
</td>
</tr>
</tbody>
</table></td>
</tr>
</table></td>
<td valign=top width="50%"><%if rs.eof then%>
<%else%>
<table cellspacing=0 cellpadding=0 width="100%">
<tr>
<td valign=top style="PADDING-LEFT: 6px"><div align="center"><img height=100 hspace=5
src="images/bg_book.gif" width=120 vspace=5 border=0> </div>
<p align="center" style="MARGIN-TOP: -112px"><a
href=book.asp?id=<%=rs("bookid")%> target=_blank><img
height=100 alt=商品样品 hspace=5
src=<%if trim(rs("bookpic"))<>"" then
response.write trim(rs("bookpic"))
else
response.write "images/emptybook.gif"
end if%> width=120 vspace=3
border=0></a><a class=a4
href=book.asp?id=<%=rs("bookid")%> target=_blank><font color=#FF6600><br>
</font></a></td>
</tr>
<tr>
<td valign=top style="PADDING-LEFT: 6px"><a class=a4
href=book.asp?id=<%=rs("bookid")%> target=_blank><font color=#FF6600><%=trim(rs("bookname"))%></font></a><br>
市场价:<%=formatnumber(rs("shichangjia"),2)&"元"%><br>
会员价:<font color=#FF6600><%=formatnumber(rs("huiyuanjia"),2)&"元"%></font><br>
<table align="center" cellpadding=0 cellspacing=0>
<tbody>
<tr>
<td align=middle width=55 height=22><input onClick="javascript:window.open('shopping.asp?id=<%=rs("bookid")%> ','','width=632,height=388,toolbar=no, status=no, menubar=no, resizable=yes, scrollbars=yes');return false;" type="image" border="0" name="submit23" src="images/gm.gif" width="46" height="19">
</td>
<td width=57 height=22><input onClick="javascript:window.open('shoucang.asp?id=<%=rs("bookid")%>&action=add ','','width=632,height=388,toolbar=no, status=no, menubar=no, resizable=yes, scrollbars=yes');return false;" type="image" border="0" name="submit222" src="images/shc.gif" width="46" height="19">
<%rs.movenext%>
</td>
</tr>
</tbody>
</table></td>
</tr>
</table>
<%end if%>
</td>
</tr>
<%next%>
<%if rs.recordcount>6 then
rs.absoluteposition=7
i=0
do while not rs.eof%>
<%rs.movenext%>
<%if i>=4 then exit do
loop
end if
rs.close
set rs=nothing%>
</table>
<%end if%>
</td>
</tr>
</table></td>
</tr>
</table>
<div align="center"></div>
</td>
<td width="1" valign="top" background="images/bj_x.gif"></td>
<td width="182" valign="top">
<table width="199" height="64" border="0" cellpadding="0" cellspacing="0" background="images/gg.gif">
<tr>
<td height="30" valign="top"> </td>
</tr>
<tr>
<td height="20"><table width="94%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="6%"> </td>
<td width="94%"><marquee direction="up" width="100%" height="85" scrollamount="2" id=info onMouseOver=info.stop() onMouseOut=info.start() >
<%=gonggao%>
</marquee></td>
</tr>
</table></td>
</tr>
<tr>
<td height="33"> </td>
</tr>
</table>
<table width="100%" border="0">
<tr>
<td> </td>
</tr>
</table>
<table width="156" height="200" border="0" cellpadding="0" cellspacing="0" background="images/sdf.gif">
<tr>
<td height="30" valign="top"> </td>
</tr>
<tr>
<td height="20"><div align="center"><img src="1.jpg" width="114" height="139"></div></td>
</tr>
<tr>
<td height="33"> </td>
</tr>
</table></td>
</tr>
</table>
</td>
</tr>
</table>
<!--#include file="service.asp"-->
<div id=floater
style="Z-INDEX: 20; WIDTH: 130px; POSITION: absolute; TOP: 342px; overflow: visible;; left: 2px">
</div>
<script language=javascript
src="floater.js"></script>
</td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -