📄 oldsc.asp
字号:
%><%if not tbrs3.eof then%>
<%if lcase(tbrs3("type1")) = "gif" then%>
<a target="_blank" href="<%=tbrs3("web")%>"><img border=0 src="../fyfile/<%=tbrs3("picurl")%>" alt="<%=tbrs3("deseriptor")%>" width="500" height="100" style="border: 0px solid #000000"></a>
<%else%>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="500" height="100">
<param name="movie" value="../fyfile/<%=tbrs3("picurl")%>">
<param name="quality" value="high">
<embed src="../fyfile/<%=tbrs3("picurl")%>" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="500" height="100"></embed></object>
<%end if
end if%>
</td>
</tr>
</table>
<TABLE cellSpacing=0 cellPadding=0 border=0>
<TBODY>
<TR></TR>
<TR>
</TR></TBODY></TABLE>
<div align="center">
<TABLE height=30 cellSpacing=0 cellPadding=0 width=500 border=0>
<TBODY>
<TR>
<TD width=5><IMG height=30 src="../img/news1a.gif" width=5></TD>
<TD width=150 background=../img/news4a.gif>
<IMG height=9
src="../img/arr_w2.gif" width=9> <font color="#FFFFFF"><b>
<a href="oldsc.asp"><font color=#FFFFFF>二手市场</font></a></b></font></TD>
<TD width=5><IMG height=30 src="../img/news2a.gif" width=5></TD>
<TD background=../img/news5a.gif>
<p align="right"> <a href="old_add.asp"><u>
<font color="#FF0000">我要发布信息</font></u></a> </TD>
<TD width=5><IMG height=30 src="../img/news3a.gif"
width=5></TD></TR></TBODY></TABLE>
</div>
<TABLE height=3 cellSpacing=0 cellPadding=0 width=75 border=0>
<TBODY>
<TR>
<TD></TD></TR></TBODY></TABLE>
<div align="left">
<TABLE class=out4s_green cellSpacing=0 cellPadding=0 width=500 border=0>
<TBODY>
<TR>
<TD vAlign=top>
<TABLE height=5 cellSpacing=0 cellPadding=0 width=75 border=0>
<TBODY>
<TR>
<TD></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width=500 align=center
border=0><TBODY>
<table width="500" border="0" cellpadding="0" cellspacing="1" bgcolor="#FFFFFF">
<tr bgcolor="#FEFAEE" class="blacktd" height="19">
<td width="124" height="19" align="center" bgcolor="#E7F7E6">
类型</td>
<td width="184" height="19" align="center" bgcolor="#E7F7E6">
物品名称</td>
<td width="171" height="19" align="center" bgcolor="#E7F7E6">
联系电话</td>
<td width="212" height="19" align="center" bgcolor="#E7F7E6">
发布日期</td>
</tr> <%
const numperpage=6
sql="select top 16 * from oldsc order by dateandtime desc "
rs.open sql,conn,1,1
dim count
count=0
do while not rs.eof
%>
<tr bgcolor="#FEFAEE" class="blacktd" height="19">
<td width="124" height="19" align="center" bgcolor="#E7F7E6"> <div align="center" class="black"> <a href=old_detail.asp?id=<%=trim(rs("id"))%>>
[
<%=trim(rs("buyorsell"))%>
]</a></div></td>
<td width="184" height="19" align="center" bgcolor="#E7F7E6">
<div align="center"><A href="javascript:;" class="linkone"><a href=old_detail.asp?id=<%=trim(rs("id"))%>>
<%=left(trim(rs("prname")),48)%></a><%if rs("bimg")<>"" then%><font color="#FF0000">(图)</font><%end if%></div></td>
<td width="171" height="19" align="center" bgcolor="#E7F7E6">
<a href=old_detail.asp?id=<%=trim(rs("id"))%>>
<%=left(trim(rs("telephone")),20)%></a></td>
<td width="212" height="19" align="center" bgcolor="#E7F7E6">
<a href=old_detail.asp?id=<%=trim(rs("id"))%>>
<%=left(trim(rs("dateandtime")),30)%></a></td>
</tr>
<%
rs.movenext
count=count+1
loop
rs.close
%>
<tr class="p12">
<td height="23" align="center" class="black"> </td>
<td height="23" align="center" bgcolor="#FFFFFF" class="black" colspan="3">
<p align="right"><a href="old_view.asp" class="linkone"><font color="#336699">更多信息>>></font></a></td>
</tr>
</table></TR></TBODY></TABLE>
</div>
<TABLE height=5 cellSpacing=0 cellPadding=0 width=75 border=0>
<TBODY>
<TR>
<TD></TD></TR></TBODY></TABLE>
<div align="left">
<TABLE cellSpacing=0 cellPadding=0 width=500
background=../img/bomgreen2.gif border=0>
<TBODY>
<TR>
<TD width=20>
<IMG height=27 src="../img/bomgreen1.gif"
width=13></TD>
<TD align=right>
</TD></TR></TBODY></TABLE></div>
</TD>
<TD vAlign=top width="200">
<table border="0" cellpadding="0" cellspacing="0" width="200" id="table1">
<tr>
<td>
<table width="200" align="center" cellpadding="0" cellspacing="0">
<tr>
<td>
<%
tbsql3 = "select top 1 * from Banner where bz=23 order by linkid desc"
set tbrs3 = conn.execute(tbsql3)
%><%if not tbrs3.eof then%>
<%if lcase(tbrs3("type1")) = "gif" then%>
<a target="_blank" href="<%=tbrs3("web")%>"><img border=0 src="../fyfile/<%=tbrs3("picurl")%>" alt="<%=tbrs3("deseriptor")%>" width="200" height="150" style="border: 0px solid #000000"></a>
<%else%>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="200" height="150">
<param name="movie" value="../fyfile/<%=tbrs3("picurl")%>">
<param name="quality" value="high">
<embed src="../fyfile/<%=tbrs3("picurl")%>" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="200" height="150"></embed></object>
<%end if
end if%>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table width="200" align="center" cellpadding="0" cellspacing="0">
<tr>
<td>
<%
tbsql3 = "select top 1 * from Banner where bz=24 order by linkid desc"
set tbrs3 = conn.execute(tbsql3)
%><%if not tbrs3.eof then%>
<%if lcase(tbrs3("type1")) = "gif" then%>
<a target="_blank" href="<%=tbrs3("web")%>"><img border=0 src="../fyfile/<%=tbrs3("picurl")%>" alt="<%=tbrs3("deseriptor")%>" width="200" height="150" style="border: 0px solid #000000"></a>
<%else%>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="200" height="150">
<param name="movie" value="../fyfile/<%=tbrs3("picurl")%>">
<param name="quality" value="high">
<embed src="../fyfile/<%=tbrs3("picurl")%>" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="200" height="150"></embed></object>
<%end if
end if%>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
</td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td> </td>
</tr>
</table>
</TD>
</TD></TR></TBODY></TABLE>
<!--#include file="../end.asp"-->
</BODY></HTML>
<%
Set Rs=Nothing
CloseDataConn
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -