📄 default5526.asp
字号:
<!--#include file="conn.asp"-->
<!--#include file="webconfig.asp"-->
<!--#include file="Ubb.asp"-->
<html>
<head>
<title><%=webname%>--首页</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<!--#include file="webtop.asp" -->
<div align="center">
<table width="777" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="180" height="0" valign="top">
<!--#include file="info_user2.asp" -->
<!--#include file="info_class2.asp" -->
<!--#include file="sousuo.asp" -->
<!--#include file="info_brand.asp" -->
<!--#include file="info_vote.asp"--> </td>
<td width="1" valign="top" background="images/bj_x.gif"></td>
<td width="590" valign="top">
<table width="590" height="124" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="456"><table width="406" height="98" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="55" valign="top"><table width="100%" height="29" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="50%"><a href=<%=xiao1url%> ><img src=<%=xiao1%> border="0"></a></td>
<td width="50%"><a href=<%=xiao1url%> ><img src=<%=xiao2%> border="0"></a></td>
</tr>
</table></td>
</tr>
<tr>
<td><img src="images/yemian/TOP.gif" width="406" height="44"></td>
</tr>
</table>
<table width="407" height="101" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="407" height="68"><table width="100%" height="100" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<%set rs=server.CreateObject("adodb.recordset")
rs.open "select top 4 * from sh_chanpin where bestbook=1 order by adddate desc ",conn,1,1
if rs.recordcount=0 then
response.write "<td align=center><font color=red size=2>对不起,暂无新品!</font></td>"
'response.End
else
%>
<%
if not rs.eof then
i=1
do while not rs.eof%>
<td width="240" height="100" align="center" valign="top"><table width="96" height="99" border="0"lign="center" cellPadding=2 cellSpacing=1 bgColor=#CCCCCC>
<tr>
<td width="88" height="73" bgColor=#ffffff align=center >
<div align="center">
<%if rs("bookpic")="" then
response.write "<div align=center><a href=list.asp?id="&rs("bookid")&"><img src=images/emptybook.gif width=75 height=75 border=0></a></div>"
else
%>
<a href=list.asp?id=<%=rs("bookid")%>><img src="<%=trim(rs("bookpic"))%>" width=75 border=0 height="75" alt="<%=trim(rs("bookname"))%>"></a>
<%end if%>
</div></td>
</tr>
<tr>
<td height="43%" background="images/yemian/lg_b.gif"><div align="center"><a href=list.asp?id=<%=rs("bookid")%>><font color="#FF0000">
<%if len(trim(rs("bookname")))>5 then
response.write left(trim(rs("bookname")),5)&""
else
response.write trim(rs("bookname"))
end if
%></font>
</a></div></td>
</tr>
</table></td>
<%if i mod 8 = 0 then%>
</tr>
<%end if
rs.movenext
i=i+1
loop
rs.close
end if
end if
%>
</table>
</td>
</tr>
</table></td>
<td width="134"><table width="182" height="202" border="0" align="right" cellpadding="0" cellspacing="0">
<tr>
<td valign="bottom" background="images/yemian/new.gif">
<table width="174" height="172" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="172" align="center" valign="top"><!--#include file="info_newshou.asp" --></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<td height="158"><!--#include file="info_newly.asp" -->
</td>
</table>
<table width="100%" height="162" border="0" cellpadding="0" cellspacing="0">
<tr>
<td><table width="588" height="3" border="0" cellpadding="0" cellspacing="0">
<tr>
<td background="images/main/th_bg.gif"></td>
</tr>
</table>
<!--#include file="info_wyou.asp" --> </td>
</tr>
</table>
<table width="100%" height="176" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="176"><!--#include file="info_prime.asp"--></td>
</tr>
</table></td>
</tr>
</table>
</div>
<!--#include file="webfoot.asp"-->
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -