📄 updatelist.asp
字号:
<!--
版本:草原二手市场V1.1
本程序作者:mysql QQ:54016224 TEL:13036133798
-->
<!--#include file = "include/conn.asp" -->
<!--#include file = "include/function.asp" -->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<LINK
href="css/css.css" rel=stylesheet>
<title>更新列表</title>
</head>
<body bgcolor="#F0F9FB">
<table cellspacing=0 cellpadding=0 width=216 border=0>
<tbody>
<tr>
<td colspan=3><img height=6
src="images/pic_listbox_1s.gif"
width=216></td>
</tr>
<tr>
<td colspan=3><img height=28
src="images/tit_update.gif"
width=216></td>
</tr>
<tr>
<td colspan=3><img height=15
src="images/pic_listbox_4s.gif"
width=216></td>
</tr>
<tr>
<td width=1 bgcolor=#c3c3c3></td>
<td align=middle width=210> <table width="202" border="0" cellpadding="0" cellspacing="1" class="font-12px120-999999">
<!--d-->
<%
sql = "select top 40 * from Info order by InfoID desc"
set rs = server.CreateObject("adodb.recordset")
rs.open sql,conn,1,1
%>
<%
i = 0
do while not rs.eof and not rs.bof
if i mod 2 = 0 then
select case rs("InfoStatus")
case 0
getstatus = "供"
case 1
getstatus = "求"
end select
%>
<tr>
<td background="images/bg_listline_2s.gif"> <table width="202" border="0" cellspacing="0" cellpadding="0" height="20">
<tr>
<td width="36" align="center" height="2"><img src="images/arrow_orange7.gif" width="13" height="11" align="absmiddle"></td>
<td width="166" height="2" valign="bottom" class="font-12px120-999999">
[<font color="#FF0000"><%=getStatus%></font>] <a href=showInfo.asp?InfoID=<%=rs("InfoID")%> target="_parent"><%=rs("InfoName")%></a>
</td>
</tr>
</table></td>
</tr>
<%else%>
<tr>
<td background="images/bg_listline_1s.gif"> <table width="202" border="0" cellspacing="0" cellpadding="0" height="20">
<tr>
<td width="36" align="center" height="2"><img src="images/arrow_orange7.gif" width="13" height="11" align="absmiddle"></td>
<td width="166" height="2" valign="bottom" class="font-12px120-999999">
[<font color="#FF0000"><%=getStatus%></font>] <a href=showInfo.asp?InfoID=<%=rs("InfoID")%> target="_parent"><%=rs("InfoName")%></a>
</td>
</tr>
</table></td>
</tr>
<%end if%>
<%i = i + 1%>
<%rs.movenext%>
<%loop%>
</table></td>
<td width=5 bgcolor=#e9e9eb></td>
</tr>
<tr>
<td colspan=3><img height=6
src="images/pic_listbox_3s.gif"
width=216></td>
</tr>
</tbody>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -