📄 mb_ds.asp
字号:
<!--#include file="conn.asp"-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>::::52CM梦工场::::52CM DREAM Work Place::::网页品点联盟</title>
<style>
a{text-decoration:none}
a{color:#000000}
td{font-size:9pt}
.stedit { background-color:#cccccc;BORDER-BOTTOM: #000000 1px solid; BORDER-LEFT: #000000 1px solid; BORDER-RIGHT: #000000 1px solid; BORDER-TOP: #000000 1px solid; FONT-SIZE: 9pt; border-color: #333333;font-color:#ffffff;}
A:hover {
TEXT-DECORATION: underline}
</style>
<script>
function winpop()
{
window.open("aboutme.htm","","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=0,width=550,height=370,top=0,left=0")
}
</script>
</head>
<body topmargin=0 leftmargin=0 bgcolor=#999999>
<table width=100%>
<%
dim sql
dim rs
dim i
i=1
dim bg '定义背景色
dim note '定义变量note从数据库中取出站点说明
sql="select * from lm,type where lm.pass=false and lm.type=type.type order by lm.id desc"
set rs=conn.execute(sql)'选出lm中最新15个待审站点
if rs.eof and rs.bof then
response.redirect "error.asp?errorid=8"
else
do while not rs.eof
note=rs("note")
if i mod 2=0 then
bg="#aaaaaa" '颜色递变的处理
else
bg="#cccccc"
end if
%>
<TR bgcolor=<%=bg%>>
<TD width=30 align=center height=25><font face=verdana><%=i%>.</font></TD>
<TD width=120 align=center><a href="cview.asp?url=<%=rs("username")%>" target="_blank"><%=rs("pagename")%></a></TD>
<TD width=100 align=center><%=rs("name")%></TD>
<TD width=120 align=center>
<a href="cylb.asp?type=<%=rs("type")%>"><%=rs("typename")%>类</a></TD>
<TD width=100 align=center><font face=verdana><%=rs("hits")%></font> 次点击 </td>
<td> 简介:<a href="cview.asp?url=<%=rs("username")%>" title="<%=note%>" target="_blank"><%=replace(replace(left(trim(note),16),"<","<"),">",">")%>....</td>
<td width=10></td>
</TR>
<%
i=i+1 '这个变量是一个代表顺序的
rs.movenext
loop
end if
rs.close
%>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -